query
stringlengths
7
33.1k
document
stringlengths
7
335k
metadata
dict
negatives
sequencelengths
3
101
negative_scores
sequencelengths
3
101
document_score
stringlengths
3
10
document_rank
stringclasses
102 values
update fields mapping ppd
public FieldsTemplateLibrary templateFieldLibraryUpdate(FieldsTemplateLibrary entity) { FieldsTemplateLibraryDAO dao = new FieldsTemplateLibraryDAO(); return dao.save(entity); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void updateNonDynamicFields() {\n\n\t}", "@Override\r\n\tpublic void update( UserFields oldFields, UserFields newFields ) {\n\t\t\r\n\t}", "protected abstract boolean saveFields(Map changedFields_p) throws Exception;", "@Override\n\tpublic void update(finalDataBean t, String[] fields) throws Exception {\n\t\t\n\t}", "@Override\n public void update(Person p) throws SQLException, ClassNotFoundException\n {\n\n BasicDBObject query = new BasicDBObject();\n query.put(\"Id\", p.getId()); // old data, find key Id\n\n BasicDBObject newDocument = new BasicDBObject();\n\n// newDocument.put(\"Id\", p.getId()); // new data\n newDocument.put(\"FName\", p.getFName()); // new data\n newDocument.put(\"LName\", p.getLName()); // new data\n newDocument.put(\"Age\", p.getAge()); // new data\n System.out.println(newDocument);\n\n BasicDBObject updateObj = new BasicDBObject();\n updateObj.put(\"$set\", newDocument);\n System.out.println(updateObj);\n\n table.update(query, updateObj);\n }", "void setValue4Po(String poFieldName, Object val);", "@Override\n public PaymentOtpMapping updatePaymentOtpMapping(PaymentOtpMapping paymentOtpMapping) {\n String query = properties.getProperty(UPDATE_PAYMENT_OTP_MAPPING);\n LogUtil.log(LOGGER, \"updatePaymentOtpMapping query is = \" + query);\n Assert.notEmpty(properties, LoadPropertyFile.PAYMENT_FILE);\n Assert.notNull(query, ApplicationConstants.QUERY_NOT_NULL);\n BeanPropertySqlParameterSource beanPropertyResourse = new BeanPropertySqlParameterSource(paymentOtpMapping);\n\n jdbcTemplate.update(query, beanPropertyResourse);\n\n return paymentOtpMapping;\n }", "public void setFields(Map fields_p) throws Exception\r\n {\r\n m_fields = fields_p;\r\n\r\n m_clonedfields = createCloneFromFields(fields_p);\r\n }", "protected Map createCloneFromFields(Map fields_p) throws Exception\r\n {\r\n Map result = new HashMap();\r\n Set keys = fields_p.keySet();\r\n for (Iterator iterator = keys.iterator(); iterator.hasNext();)\r\n {\r\n String name = (String) iterator.next();\r\n OwEditField value = (OwEditField) fields_p.get(name);\r\n OwEditField clonedValue = new OwEditField(value.getFieldDefinition(), value.getValue());\r\n result.put(name, clonedValue);\r\n }\r\n return result;\r\n }", "public synchronized static void setFieldMap(String table, Map<String, String> javaToDbFieldMap) {\n ConcurrentHashMap<String, String> java2DbMap = getJava2DBFieldMap(table);\n ConcurrentHashMap<String, String> db2JavaMap = getDB2JavaFieldMap(table);\n if (javaToDbFieldMap != null && !javaToDbFieldMap.isEmpty()) {\n for (Map.Entry<String, String> entry : javaToDbFieldMap.entrySet()) {\n if (isNotBlank(entry.getKey()) && isNotBlank(entry.getValue())) {\n java2DbMap.put(entry.getKey(), entry.getValue());\n db2JavaMap.put(entry.getValue(), entry.getKey());\n }\n }\n }\n }", "public void updatePropertyFields()\n {\n amountLabel .setText(retrieveText(\"AmountLabel\", amountLabel));\n reasonCodeLabel .setText(retrieveText(\"ReasonCodeLabel\", reasonCodeLabel));\n paidToLabel .setText(retrieveText(\"PaidToLabel\", paidToLabel));\n employeeIDLabel .setText(retrieveText(\"EmployeeIDLabel\", employeeIDLabel));\n addressLine1Label.setText(retrieveText(\"AddressLine1Label\", addressLine1Label));\n addressLine2Label.setText(retrieveText(\"AddressLine2Label\", addressLine2Label));\n addressLine3Label.setText(retrieveText(\"AddressLine3Label\", addressLine3Label));\n approvalCodeLabel.setText(retrieveText(\"ApprovalCodeLabel\", approvalCodeLabel));\n commentLabel .setText(retrieveText(\"CommentLabel\", commentLabel));\n\n amountField .setLabel(amountLabel);\n reasonCodeField .setLabel(reasonCodeLabel);\n paidToField .setLabel(paidToLabel);\n employeeIDField .setLabel(employeeIDLabel);\n addressLine1Field.setLabel(addressLine1Label);\n addressLine2Field.setLabel(addressLine2Label);\n addressLine3Field.setLabel(addressLine3Label);\n approvalCodeField.setLabel(approvalCodeLabel);\n commentField .setLabel(commentLabel);\n }", "@Override\r\n protected void setFieldValues (Object ... fields)\r\n {\n \r\n }", "private void updateFields(){\n\n updateTotalPay();\n updateTotalTip();\n updateTotalPayPerPerson();\n }", "void updateParamMap (List<BindParameter> bindParams);", "void updateMap(MapData map);", "public void updateBusinessData(Map<String,Object> params) throws Exception;", "@Override\n public Map<String, String> createFieldToPropertyMapping() {\n final Map<String, String> mapping = super.createFieldToPropertyMapping();\n mapping.put(this.tableName + \".rsres_id\", \"id\");\n mapping.put(this.tableName + \".resource_id\", \"resourceId\");\n mapping.put(this.tableName + \".quantity\", QUANTITY);\n mapping.put(this.tableName + \".cost_rsres\", \"cost\");\n\n return mapping;\n }", "public static void addFieldMap(Map<String, String> javaToDbFieldMap) {\n Map<String, String> java2DbMap = getJava2DbFieldMap();\n Map<String, String> db2JavaMap = getDB2JavaFieldMap();\n if (javaToDbFieldMap != null && !javaToDbFieldMap.isEmpty()) {\n for (Map.Entry<String, String> entry : javaToDbFieldMap.entrySet()) {\n if (isNotBlank(entry.getKey()) && isNotBlank(entry.getValue())) {\n java2DbMap.put(entry.getKey(), entry.getValue());\n db2JavaMap.put(entry.getValue(), entry.getKey());\n }\n }\n }\n }", "public void update(Pessoa p) {\n\t\tdb.save(p);\t\t\n\t}", "@Override\n protected final Map<String, String> createFieldToPropertyMapping() {\n // get super class mapping\n final Map<String, String> mapping = super.createFieldToPropertyMapping();\n \n mapping.put(this.tableName + \".rmres_id\", \"id\");\n mapping.put(this.tableName + \".cost_rmres\", \"cost\");\n mapping.put(this.tableName + \".config_id\", \"configId\");\n mapping.put(this.tableName + \".rm_arrange_type_id\", \"arrangeTypeId\");\n mapping.put(this.tableName + \".guests_external\", \"externalGuests\");\n mapping.put(this.tableName + \".guests_internal\", \"internalGuests\");\n \n return mapping;\n }", "protected void fillAdditionalFields(U user, Map<String, Object> map) {\n\t}", "public void setFields(Map<String,String> fields)\n\t{\n\t\tList<Field> localFields = new ArrayList<Field>();\n\t\tIterator<Map.Entry<String,String>> it = fields.entrySet().iterator();\n\t\twhile(it.hasNext())\n\t\t{\n\t\t\tMap.Entry<String,String> pairs = it.next();\n\t\t\tlocalFields.add(new Field(pairs.getKey(), pairs.getValue()));\n\t\t}\n\n\t\tsetFields(localFields);\n\t}", "public void setFields(Map<String, String> fields) {\n this.fields = fields;\n }", "private void updateFieldValues(){\r\n \tgenChainLengthField.setText(String.valueOf(settings.genChainLength));\r\n \tgenChainLengthFluxField.setText(String.valueOf(settings.genChainLengthFlux));\r\n \tstepGenDistanceField.setText(String.valueOf(settings.stepGenDistance));\r\n \trowsField.setText(String.valueOf(settings.rows));\r\n \tcolsField.setText(String.valueOf(settings.cols));\r\n \tcellWidthField.setText(String.valueOf(settings.cellWidth));\r\n \tstartRowField.setText(String.valueOf(settings.startRow));\r\n \tstartColField.setText(String.valueOf(settings.startCol));\r\n \tendRowField.setText(String.valueOf(settings.endRow));\r\n \tendColField.setText(String.valueOf(settings.endCol));\r\n \tprogRevealRadiusField.setText(String.valueOf(settings.progRevealRadius));\r\n \tprogDrawCB.setSelected(settings.progDraw);\r\n \tprogDrawSpeedField.setText(String.valueOf(settings.progDrawSpeed));\r\n }", "@Override //编辑通知\n\tpublic void editPoInfo(PageData pd) throws Exception {\n\t\tdao.update(\"PoInfoMapper.editPoInfo\", pd);\n\t\t\n\t}", "@Override\n\tpublic void update(Object dto) throws Exception {\n\t\tpropertyConfigMapper.updateByPrimaryKeySelective(dto);\n\t}", "@Override\n protected void updateProperties() {\n }", "public static void updateField() {\r\n\t\tfor (int i = 0; i < ROWS; i++) {\r\n\t\t\tfor (int j = 0; j < COLUMNS; j++) {\r\n\t\t\t\tfield[i][j] = EMPTY;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tfor (int i = 0; i < food.size(); i++) {\r\n\t\t\tfield[food.get(i)[1]][food.get(i)[2]] = food.get(i)[0];\r\n\t\t}\r\n\r\n\t\tfor (int i = 0; i < snake.size(); i++) {\r\n\t\t\tfield[snake.get(i)[0]][snake.get(i)[1]] = SNAKE;\r\n\t\t}\r\n\t}", "@Override\r\n\tpublic void update(Person p) \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void update(Map<String, Object> params)\n\t{\n\t}", "void updateElementProperties(int elementId, Map<String, String> propertiesToUpdate);", "private void prepareFields(Entity entity, boolean usePrimaryKey) \r\n\t\t\tthrows IllegalArgumentException, IllegalAccessException, InvocationTargetException{\r\n\t\tprimaryKeyTos = new ArrayList<FieldTO>();\r\n\t\tfieldTos = new ArrayList<FieldTO>();\r\n\t\tField[] fields = entity.getClass().getDeclaredFields();\t\r\n\t\t\r\n\t\t//trunk entity to persistence\r\n\t\tfor(int i=0; i<fields.length; i++){\r\n\t\t\tField reflectionField = fields[i];\r\n\t\t\tif(reflectionField!=null){\r\n\t\t\t\treflectionField.setAccessible(true);\r\n\t\t\t\tAnnotation annoField = reflectionField.getAnnotation(GPAField.class);\r\n\t\t\t\tAnnotation annoFieldPK = reflectionField.getAnnotation(GPAPrimaryKey.class);\r\n\t\t\t\tAnnotation annoFieldBean = reflectionField.getAnnotation(GPAFieldBean.class);\r\n\t\t\t\t/* \r\n\t\t\t\t ainda falta validar a chave primária do objeto\r\n\t\t\t\t por enquanto so esta prevendo pk usando sequence no banco\r\n\t\t\t\t objeto id sempre é gerado no banco por uma sequence\r\n\t\t\t\t*/\r\n\t\t\t\tif(annoFieldPK!=null && annoFieldPK instanceof GPAPrimaryKey){\r\n\t\t\t\t\tGPAPrimaryKey pk = (GPAPrimaryKey)annoFieldPK;\r\n\t\t\t\t\t//if(pk.ignore() == true){\r\n\t\t\t\t\t//\tcontinue;\r\n\t\t\t\t\t//}else{\r\n\t\t\t\t\tString name = pk.name();\r\n\t\t\t\t\tObject value = reflectionField.get(entity);\r\n\t\t\t\t\tfieldTos.add(new FieldTO(name, value));\r\n\t\t\t\t\tcontinue;\r\n\t\t\t\t\t//}\r\n\t\t\t\t}\r\n\t\t\t\tif(annoField!=null && annoField instanceof GPAField){\r\n\t\t\t\t\tGPAField field = (GPAField)annoField;\r\n\t\t\t\t\tString name = field.name();\r\n\t\t\t\t\tObject value = reflectionField.get(entity);\r\n\t\t\t\t\tfieldTos.add(new FieldTO(name, value));\r\n\t\t\t\t\tcontinue;\r\n\t\t\t\t}\r\n\t\t\t\tif(annoFieldBean!=null && annoFieldBean instanceof GPAFieldBean){\r\n\t\t\t\t\tGPAFieldBean field = (GPAFieldBean)annoFieldBean;\r\n\t\t\t\t\tString name = field.name();\r\n\t\t\t\t\tObject value = reflectionField.get(entity);\r\n\t\t\t\t\tfieldTos.add(new FieldTO(name, value));\r\n\t\t\t\t\tcontinue;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}", "public void update(NominaPuestoPk pk, NominaPuesto dto) throws NominaPuestoDaoException;", "int updateByPrimaryKeySelective(TDictAreas record);", "@Override\n public PaymentOtpMapping createPaymentOtpMapping(PaymentOtpMapping paymentOtpMapping) {\n String query = properties.getProperty(CREATE_PAYMENT_OTP_MAPPING);\n LogUtil.log(LOGGER, \"createPaymentOtpMapping query is = \" + query);\n Assert.notEmpty(properties, LoadPropertyFile.PAYMENT_FILE);\n Assert.notNull(query, ApplicationConstants.QUERY_NOT_NULL);\n BeanPropertySqlParameterSource beanPropertyResourse = new BeanPropertySqlParameterSource(paymentOtpMapping);\n\n KeyHolder keyHolder = new GeneratedKeyHolder();\n jdbcTemplate.update(query, beanPropertyResourse, keyHolder);\n paymentOtpMapping.setId(keyHolder.getKey().longValue());\n\n return paymentOtpMapping;\n }", "private void setNewFields(String[] fields) {\n for (String fieldName : fields) {\n setNewField(fieldName);\n }\n }", "@Override\n\tpublic void update(Factory factory) {\n\t\tmapper.update(factory);\n\t}", "public void update(RutaPk pk, Ruta dto) throws RutaDaoException;", "int updateByPrimaryKeySelective(WfCfgModuleCatalog record);", "private void copyFields(NetcdfRecordInfo src, Set<String> excludedFields) {\n Iterator<String> keyIter = src.beanMap.keyIterator();\n Object val;\n while (keyIter.hasNext()) {\n String key = keyIter.next();\n if (this.beanMap.getWriteMethod(key) != null\n && !excludedFields.contains(key)) {\n val = src.beanMap.get(key);\n if (val != null) {\n this.beanMap.put(key, val);\n }\n }\n }\n }", "int updateByPrimaryKeySelective(organize_infoBean record);", "private void assignFields(HashMap<String, String> map) {\n driver = map.get(\"driver\");\n address = \"jdbc:mysql://\" + map.get(\"address\");\n username = map.get(\"username\");\n password = map.get(\"password\");\n timeOut = map.get(\"timeout\");\n dbName = map.get(\"dbname\");\n }", "@Override\n\tprotected void updateImpl(Connection conn, VtbObject anObject)\n\t\t\tthrows SQLException, MappingException {\n\n\t}", "void setMetaLocal(Map<Integer, String> newMetaTable);", "int updateByPrimaryKeySelective(Ltsprojectpo record);", "@Override\n\tpublic void updateProfile(patient pupdate) {\n\t\t// TODO Auto-generated method stub\n\t\tString query = \" UPDATE pmohan_patient_details SET firstname = ? , lastname = ? , gender = ? , dob = ?, age =? WHERE pid = ?;\";\n\t\ttry(PreparedStatement statement = connection.prepareStatement(query))\n\t\t{ \n\t\t\t statement.setString(1, pupdate.getFirstname());\n\t\t\t statement.setString(2, pupdate.getLastname());\n\t\t\t statement.setString(3, pupdate.getGender());\n\t\t\t statement.setString(4, pupdate.getDob());\n\t\t\t statement.setInt(5, pupdate.getAge());\n\t\t\t statement.setInt(6, pupdate.getPid());\n\t\t\tstatement.executeUpdate();\n\t\t\t System.out.println(\"update done\");\n\t\t}\n\t\tcatch(Exception e){\n\t\t\tSystem.out.println(\"update problem \" + e);\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}", "int updateByPrimaryKey(TDictAreas record);", "private void updateTargetProductGeocoding() {\n }", "public int update(person p){\n\t\t\treturn j.update(\" update person\"+ \" set name=?,location=?,birthdate=?\"+\" where id=? \", new Object[] {p.getName(),p.getLocation(),new Timestamp(p.getDate().getTime()),p.getId()});\r\n\t\t\r\n\t}", "int updateByPrimaryKey(WfCfgModuleCatalog record);", "public void update(SgfensPedidoProductoPk pk, SgfensPedidoProducto dto) throws SgfensPedidoProductoDaoException;", "int updateByPrimaryKeySelective(PdfCodeTemporary record);", "public void updateRelationData(Map<String, Object> oldDynamicData, Map<String, Object> newDynamicData,\n List<CustomFieldsInfoOutDTO> fields, Long recordId) {\n if (oldDynamicData == null) {\n oldDynamicData = new HashMap<>();\n }\n if (newDynamicData == null) {\n newDynamicData = new HashMap<>();\n }\n ObjectMapper mapper = new ObjectMapper();\n Map<Integer, UpdateRelationDataRequest> requestsMap = new HashMap<>();\n List<String> processedField = new ArrayList<>();\n Map<String, CustomFieldsInfoOutDTO> fieldsmap = fields.stream()\n .collect(Collectors.toMap(CustomFieldsInfoOutDTO::getFieldName, f -> f));\n TypeReference<ArrayList<Long>> listTypeReference = new TypeReference<ArrayList<Long>>() {\n };\n for (Map.Entry<String, Object> newData : newDynamicData.entrySet()) {\n CustomFieldsInfoOutDTO fieldInfo = fieldsmap.get(newData.getKey());\n if (fieldInfo == null || !fieldInfo.getFieldName().startsWith(FieldTypeEnum.RELATION.getName())\n || (fieldInfo.getRelationData().getAsSelf() != null\n && fieldInfo.getRelationData().getAsSelf() == 1)) {\n continue;\n }\n processedField.add(fieldInfo.getFieldName());\n List<Long> newIdsList = new ArrayList<>();\n List<Long> oldIdsList = new ArrayList<>();\n List<Long> newRecordIds = new ArrayList<>();\n List<Long> oldRecordIds = new ArrayList<>();\n String newValStr = StringUtil.safeCastToString(newData.getValue());\n if (StringUtils.isNotBlank(newValStr)) {\n try {\n newIdsList = mapper.readValue(newValStr, listTypeReference);\n } catch (IOException e) {\n throw new CustomException(e.getLocalizedMessage());\n }\n }\n String oldValStr = StringUtil.safeCastToString(oldDynamicData.get(newData.getKey()));\n if (StringUtils.isNotBlank(oldValStr)) {\n try {\n oldIdsList = mapper.readValue(oldValStr, listTypeReference);\n } catch (IOException e) {\n throw new CustomException(e.getLocalizedMessage());\n }\n }\n for (int i = 0; i < newIdsList.size(); i++) {\n if (!oldIdsList.contains(newIdsList.get(i))) {\n newRecordIds.add(newIdsList.get(i));\n }\n }\n for (int i = 0; i < oldIdsList.size(); i++) {\n if (!newIdsList.contains(oldIdsList.get(i))) {\n oldRecordIds.add(oldIdsList.get(i));\n }\n }\n if (!newRecordIds.isEmpty() || !oldRecordIds.isEmpty()) {\n RelationDataInfosInDTO relationDataInfos = new RelationDataInfosInDTO();\n relationDataInfos.setFieldId(fieldInfo.getRelationData().getFieldId());\n relationDataInfos.setNewRecordIds(newRecordIds);\n relationDataInfos.setOldRecordIds(oldRecordIds);\n UpdateRelationDataRequest requestBuilder = requestsMap\n .get(fieldInfo.getRelationData().getFieldBelong());\n if (requestBuilder == null) {\n requestBuilder = new UpdateRelationDataRequest();\n requestBuilder.setRecordId(recordId);\n requestsMap.put(fieldInfo.getRelationData().getFieldBelong(), requestBuilder);\n }\n requestBuilder.getRelationDataInfos().add(relationDataInfos);\n }\n }\n\n for (Map.Entry<String, Object> oldData : oldDynamicData.entrySet()) {\n CustomFieldsInfoOutDTO fieldInfo = fieldsmap.get(oldData.getKey());\n if (fieldInfo == null || processedField.contains(oldData.getKey())\n || !fieldInfo.getFieldName().startsWith(FieldTypeEnum.RELATION.getName())\n || (fieldInfo.getRelationData().getAsSelf() != null\n && fieldInfo.getRelationData().getAsSelf() == 1)) {\n continue;\n }\n List<Long> oldRecordIds = new ArrayList<>();\n String oldValStr = StringUtil.safeCastToString(oldData.getValue());\n if (StringUtils.isNotBlank(oldValStr)) {\n try {\n oldRecordIds = mapper.readValue(oldValStr, listTypeReference);\n } catch (IOException e) {\n throw new CustomException(e.getLocalizedMessage());\n }\n }\n if (oldRecordIds != null && !oldRecordIds.isEmpty()) {\n RelationDataInfosInDTO relationDataInfos = new RelationDataInfosInDTO();\n relationDataInfos.setFieldId(fieldInfo.getRelationData().getFieldId());\n relationDataInfos.setOldRecordIds(oldRecordIds);\n UpdateRelationDataRequest requestBuilder = requestsMap\n .get(fieldInfo.getRelationData().getFieldBelong());\n if (requestBuilder == null) {\n requestBuilder = new UpdateRelationDataRequest();\n requestBuilder.setRecordId(recordId);\n requestsMap.put(fieldInfo.getRelationData().getFieldBelong(), requestBuilder);\n }\n requestBuilder.getRelationDataInfos().add(relationDataInfos);\n }\n }\n\n for (Map.Entry<Integer, UpdateRelationDataRequest> request : requestsMap.entrySet()) {\n if (FieldBelongEnum.CUSTOMER.getCode().equals(request.getKey())) {\n this.updateRelationData(request.getValue().getRecordId(), request.getValue().getRelationDataInfos());\n } else {\n UpdateRelationDataResponse relationRes = RelationUtil.callUpdateRelationData(restOperationUtils,\n request.getValue(), request.getKey(), SecurityUtils.getTokenValue().orElse(null),\n jwtTokenUtil.getTenantIdFromToken());\n if (relationRes != null && relationRes.getErrorAttributes() != null\n && !relationRes.getErrorAttributes().isEmpty()) {\n CustomRestException ex = new CustomRestException();\n ex.setExtensions(relationRes.getErrorAttributes());\n throw ex;\n }\n }\n }\n }", "@Override\n public void modifyFieldValues(final Map<String, String> fieldValues) {\n \n boolean multiCampusEnabled = parameterService.getParameterValueAsBoolean(\n Constants.KC_GENERIC_PARAMETER_NAMESPACE, Constants.KC_ALL_PARAMETER_DETAIL_TYPE_CODE, Constants.PARAMETER_MULTI_CAMPUS_ENABLED);\n \n //convert username and kcpersonid to proper naming such the person service can use them\n \n String username = fieldValues.get(\"userName\");\n if (StringUtils.isNotBlank(username)){\n //String userNameSearchValue = fieldValues.get(\"userName\");\n if (multiCampusEnabled) {\n String campusCode = fieldValues.get(\"campusCode\");\n username = this.multiCampusIdentityService.getMultiCampusPrincipalName(username, campusCode);\n }\n fieldValues.put(\"principalName\", username); \n }\n \n String personId = fieldValues.get(\"personId\");\n if (StringUtils.isNotBlank(personId)){\n fieldValues.put(\"principalId\", personId);\n }\n \n String officePhone = fieldValues.get(\"officePhone\");\n if (StringUtils.isNotBlank(officePhone)){\n fieldValues.put(\"phoneNumber\", officePhone);\n }\n \n String orgIdent = fieldValues.get(\"organizationIdentifier\");\n if (StringUtils.isNotBlank(orgIdent)){\n fieldValues.put(\"primaryDepartmentCode\", orgIdent);\n } \n }", "public void update(Gedcomx doc) {\n this.doc = doc;\n sourceDescriptionMap = getSourceDescriptionMap(doc);\n personMap = getPersonMap(doc);\n recordDescriptorMap = getRecordDescriptorMap(doc);\n agentMap = getAgentMap(doc);\n placeMap = getPlaceMap(doc);\n mainSourceDescription = getSourceDescription(doc.getDescriptionRef());\n }", "int updateByPrimaryKeySelective(PmPost record);", "int updateByPrimaryKey(UploadStateRegDTO record);", "public ProductionPowersUpdateData(ProductionPowers pp, String p) {\n this.pp = pp;\n this.p = p;\n }", "int updateByPrimaryKeySelective(UploadStateRegDTO record);", "private void reWriteField(HttpServletRequest request) {\n\t\t// Reesccribir campos\n\t\trequest.setAttribute(\"importe\", importe);\n\t\trequest.setAttribute(\"concepto\", concepto);\n\t\trequest.setAttribute(\"coche\", c);\n\t}", "@Override\n public void updateProperties() {\n // unneeded\n }", "public void setupFields()\n {\n FieldInfo field = null;\n field = new FieldInfo(this, \"ID\", Constants.DEFAULT_FIELD_LENGTH, null, null);\n field.setDataClass(Integer.class);\n field.setHidden(true);\n field = new FieldInfo(this, \"LastChanged\", Constants.DEFAULT_FIELD_LENGTH, null, null);\n field.setDataClass(Date.class);\n field.setHidden(true);\n field = new FieldInfo(this, \"Deleted\", 10, null, new Boolean(false));\n field.setDataClass(Boolean.class);\n field.setHidden(true);\n field = new FieldInfo(this, \"Description\", 25, null, null);\n field = new FieldInfo(this, \"CurrencyCode\", 3, null, null);\n field = new FieldInfo(this, \"LastRate\", 10, null, null);\n field.setDataClass(Double.class);\n field.setScale(-1);\n field = new FieldInfo(this, \"RateChangedDate\", 12, null, null);\n field.setDataClass(Date.class);\n field.setScale(Constants.DATE_ONLY);\n field = new FieldInfo(this, \"RateChangedBy\", 16, null, null);\n field.setDataClass(Integer.class);\n field = new FieldInfo(this, \"CostingRate\", 10, null, null);\n field.setDataClass(Double.class);\n field.setScale(-1);\n field = new FieldInfo(this, \"CostingChangedDate\", 12, null, null);\n field.setDataClass(Date.class);\n field.setScale(Constants.DATE_ONLY);\n field = new FieldInfo(this, \"CostingChangedBy\", 16, null, null);\n field.setDataClass(Integer.class);\n field = new FieldInfo(this, \"RoundAt\", 1, null, null);\n field.setDataClass(Short.class);\n field = new FieldInfo(this, \"IntegerDesc\", 20, null, \"Dollar\");\n field = new FieldInfo(this, \"FractionDesc\", 20, null, null);\n field = new FieldInfo(this, \"FractionAmount\", 10, null, new Integer(100));\n field.setDataClass(Integer.class);\n field = new FieldInfo(this, \"Sign\", 3, null, \"$\");\n field = new FieldInfo(this, \"LanguageID\", Constants.DEFAULT_FIELD_LENGTH, null, null);\n field.setDataClass(Integer.class);\n field = new FieldInfo(this, \"NaturalInteger\", 20, null, null);\n field = new FieldInfo(this, \"NaturalFraction\", 20, null, null);\n }", "D update(D dto);", "@Override\r\n\tpublic void pUpdate(String name, String depict, String type, double price, String img,String phone, int PS2_id,int P_id) {\n\t\tConnection connection = DBUtils.getConnection();\r\n\t\tPreparedStatement preparedStatement = null;\r\n\t\tString sql = \"update product set name=?,depict=?,type=?,price=?,img=?,phone=?,PS2_id=? where P_id=?\";\r\n\t try {\r\n\t \tconnection.setAutoCommit(false);\r\n\t \tpreparedStatement = connection.prepareStatement(sql);\r\n\t\t\tpreparedStatement.setString(1, name);\r\n\t\t\tpreparedStatement.setString(2, depict);\r\n\t\t\tpreparedStatement.setString(3, type);\r\n\t\t\tpreparedStatement.setDouble(4, price);\r\n\t\t\tpreparedStatement.setString(5, img);\r\n\t\t\tpreparedStatement.setString(6, phone);\r\n\t\t\tpreparedStatement.setInt(7, PS2_id);\r\n\t\t\tpreparedStatement.setInt(8,P_id);\r\n\t\t\tpreparedStatement.execute();\r\n\t\t\tconnection.commit();\r\n\t\t} catch (SQLException e) {\r\n\t\t\ttry {\r\n\t\t\t\tconnection.rollback();\r\n\t\t\t} catch (SQLException e1) {\r\n\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\te1.printStackTrace();\r\n\t\t\t}\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t}finally{\r\n\t\t\tDBUtils.release(null, preparedStatement, connection);\r\n\t\t}\r\n\t}", "int updateByPrimaryKey(WdWordDict record);", "public int updateDictData(SysDictData dictData);", "int updateByPrimaryKeySelective(Prueba record);", "@Override\n\tpublic JSONArray updatePinzxx(Map<String, Object> map) {\n\t\tint result = 0;\n\t\ttry{\n\t\t\tresult = pinzDao.updatePinzxx(map);\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t}\n\t\tJSONArray jsonArray = new JSONArray();\n\t\tjsonArray.add(result);\n\t\treturn jsonArray;\n\t}", "public DocumentModel toFields(DocumentModel inDoc,\n HashMap<String, String> inMapping, boolean inSave,\n CoreSession inSession) {\n\n // Parse if needed\n run();\n\n HashMap<String, String> values = toHashMap();\n for (String inXPath : inMapping.keySet()) {\n String value = values.get(inMapping.get(inXPath));\n inDoc.setPropertyValue(inXPath, value);\n }\n\n if (inSave) {\n inDoc = inSession.saveDocument(inDoc);\n }\n\n return inDoc;\n }", "public EsIndexPropertyBuilder setFieldMap(Map<String, AllowableFieldEntry> fieldMap) {\n this.fieldMap = fieldMap;\n return this;\n }", "int updateByPrimaryKey(ProcurementSource record);", "@Override\n\tpublic String update(Map<String, Object> entityMap)\n\t\t\tthrows DataAccessException {\n\t\treturn null;\n\t}", "int updateByPrimaryKeySelective(ProcurementSource record);", "@Override\r\n public Boolean setField(String strTable, String strKeyName, String strKeyContents, String strFieldName, String strFieldContents)\r\n { boolean blnSet = false;\r\n try\r\n {\r\n dbCmdText = dbConn.createStatement();\r\n// goal is = UPDATE customer SET city='SAN DIEGO' WHERE customerID='2100'\r\n\r\n String strSQL = \"UPDATE \" + strTable + \" SET \" + strFieldName + \"='\" + strFieldContents + \"' \" +\r\n \" WHERE \" + strKeyName + \"='\" + strKeyContents + \"' \";\r\n dbCmdText.executeUpdate(strSQL);\r\n status(\"setField set\");\r\n blnSet=true;\r\n } catch (SQLException e)\r\n {\r\n e.printStackTrace();\r\nstatus(\"fieldset fail 9999999999\");\r\n }\r\n return blnSet;\r\n }", "int updateByPrimaryKeySelective(WdWordDict record);", "int updateByPrimaryKeySelective(BasicInfoPrecursorProcessType record);", "public void update(Person p) {\n Session session = getSessionFactory().openSession();\n\n try {\n session.beginTransaction();\n Person person = session.load(Person.class, p.getId());\n person.setGivenName(p.getGivenName());\n person.setFamilyName(p.getFamilyName());\n session.getTransaction().commit();\n LOGGER.log(Level.INFO,\"Successfully updated \" + p.toString());\n }\n catch(Exception e){\n if (session.getTransaction() != null)\n session.getTransaction().rollback();\n LOGGER.log(Level.INFO, \"Upadate on \" + p.toString() + \" failed\");\n }\n finally {\n session.close();\n }\n }", "public <T extends KeyValue> void updateRelationData(Map<String, Object> oldDynamicData,\n List<T> newDynamicDataKeyVal, List<CustomFieldsInfoOutDTO> fields, Long recordId) {\n Map<String, Object> newEmployeeData = new HashMap<>();\n if (newDynamicDataKeyVal != null && !newDynamicDataKeyVal.isEmpty()) {\n newEmployeeData = newDynamicDataKeyVal.stream()\n .collect(Collectors.toMap(KeyValue::getKey, KeyValue::getValue));\n }\n updateRelationData(oldDynamicData, newEmployeeData, fields, recordId);\n }", "public void updateProrrogaResolucion(FecetProrrogaOrden dto) {\n\n StringBuilder query = new StringBuilder();\n query.append(SQL_UPDATE).append(getTableName()).append(SQL_UPDATE_PRORROGA_RESOLUCION);\n\n getJdbcTemplateBase().update(query.toString(), dto.getRutaResolucion(), dto.getIdAuditor(),\n dto.getIdProrrogaOrden());\n\n }", "public static int updateFo(HashMap<String, String> fomap) {\r\n\r\n\t\tStatement st = null;\r\n\t\tint row = 0;\r\n\t\ttry (Connection con = Connect.getConnection();) {\r\n\t\t\tcon.setAutoCommit(false);\r\n\t\t\tString query = \"\";\r\n\t\t\tif (fomap.get(\"imageId1\").equals(\"0\")) {\r\n\t\t\t\tquery = \"UPDATE field_officer SET fo_name = '\"\r\n\t\t\t\t\t\t+ fomap.get(\"firstName\") + \"', fo_priamary_phone = '\"\r\n\t\t\t\t\t\t+ fomap.get(\"phone1\") + \"'\"\r\n\t\t\t\t\t\t+ \", fo_secondary_phone = '\" + fomap.get(\"phone2\")\r\n\t\t\t\t\t\t+ \"', fo_gender = '\" + fomap.get(\"gender\")\r\n\t\t\t\t\t\t+ \"', fo_date_of_birth = '\" + fomap.get(\"dateOfBirth\")\r\n\t\t\t\t\t\t+ \"'\" + \", fo_cnic = '\" + fomap.get(\"cnic\")\r\n\t\t\t\t\t\t+ \"', fo_date_of_joining = '\"\r\n\t\t\t\t\t\t+ fomap.get(\"joiningDate\") + \"'\"\r\n\t\t\t\t\t\t+ \", fo_blood_group = '\" + fomap.get(\"bloodGroup\")\r\n\t\t\t\t\t\t+ \"', fo_marital_status = '\"\r\n\t\t\t\t\t\t+ fomap.get(\"marritalStatus\") + \"', fo_vehical = '\"\r\n\t\t\t\t\t\t+ fomap.get(\"vehicle\") + \"'\" + \", fo_address = '\"\r\n\t\t\t\t\t\t+ fomap.get(\"address\") + \"', fo_educated = '\"\r\n\t\t\t\t\t\t+ fomap.get(\"educated\")\r\n\t\t\t\t\t\t+ \"', fo_college_university = '\" + fomap.get(\"college\")\r\n\t\t\t\t\t\t+ \"'\" + \", fo_certificate = '\" + fomap.get(\"degree\")\r\n\t\t\t\t\t\t+ \"', fo_education_start_date = '\"\r\n\t\t\t\t\t\t+ fomap.get(\"dateOfStart\")\r\n\t\t\t\t\t\t+ \"', fo_education_end_date = '\"\r\n\t\t\t\t\t\t+ fomap.get(\"dateOfEnd\") + \"'\"\r\n\t\t\t\t\t\t+ \", fo_education_percentage = '\"\r\n\t\t\t\t\t\t+ fomap.get(\"percentage\") + \"', fo_base_salary = '\"\r\n\t\t\t\t\t\t+ Double.parseDouble(fomap.get(\"salary\")) + \"'\"\r\n\t\t\t\t\t\t+ \", fo_before_time = '\"\r\n\t\t\t\t\t\t+ Integer.parseInt(fomap.get(\"beforeTime\"))\r\n\t\t\t\t\t\t+ \"', fo_after_time = '\"\r\n\t\t\t\t\t\t+ Integer.parseInt(fomap.get(\"afterTime\")) + \"'\"\r\n\t\t\t\t\t\t+ \", fo_on_time = '\"\r\n\t\t\t\t\t\t+ Integer.parseInt(fomap.get(\"onTime\"))\r\n\t\t\t\t\t\t+ \"', password = \" + fomap.get(\"password\")\r\n\t\t\t\t\t\t+ \", per_sale = '\" + fomap.get(\"percellcomm\")\r\n\t\t\t\t\t\t+ \"', fo_acount_no = \" + fomap.get(\"accnumber\")\r\n\t\t\t\t\t\t+ \" WHERE fo_id = \" + fomap.get(\"foId\") + \"\";\r\n\r\n\t\t\t} else {\r\n\t\t\t\tquery = \"UPDATE field_officer SET fo_name = '\"\r\n\t\t\t\t\t\t+ fomap.get(\"firstName\") + \"', fo_priamary_phone = '\"\r\n\t\t\t\t\t\t+ fomap.get(\"phone1\") + \"'\"\r\n\t\t\t\t\t\t+ \", fo_secondary_phone = '\" + fomap.get(\"phone2\")\r\n\t\t\t\t\t\t+ \"', fo_gender = '\" + fomap.get(\"gender\")\r\n\t\t\t\t\t\t+ \"', fo_date_of_birth = '\" + fomap.get(\"dateOfBirth\")\r\n\t\t\t\t\t\t+ \"'\" + \", fo_cnic = '\" + fomap.get(\"cnic\")\r\n\t\t\t\t\t\t+ \"', fo_date_of_joining = '\"\r\n\t\t\t\t\t\t+ fomap.get(\"joiningDate\") + \"'\"\r\n\t\t\t\t\t\t+ \", fo_blood_group = '\" + fomap.get(\"bloodGroup\")\r\n\t\t\t\t\t\t+ \"', fo_marital_status = '\"\r\n\t\t\t\t\t\t+ fomap.get(\"marritalStatus\") + \"', fo_vehical = '\"\r\n\t\t\t\t\t\t+ fomap.get(\"vehicle\") + \"'\" + \", fo_address = '\"\r\n\t\t\t\t\t\t+ fomap.get(\"address\") + \"', fo_educated = '\"\r\n\t\t\t\t\t\t+ fomap.get(\"educated\")\r\n\t\t\t\t\t\t+ \"', fo_college_university = '\" + fomap.get(\"college\")\r\n\t\t\t\t\t\t+ \"'\" + \", fo_certificate = '\" + fomap.get(\"degree\")\r\n\t\t\t\t\t\t+ \"', fo_education_start_date = '\"\r\n\t\t\t\t\t\t+ fomap.get(\"dateOfStart\")\r\n\t\t\t\t\t\t+ \"', fo_education_end_date = '\"\r\n\t\t\t\t\t\t+ fomap.get(\"dateOfEnd\") + \"'\"\r\n\t\t\t\t\t\t+ \", fo_education_percentage = '\"\r\n\t\t\t\t\t\t+ fomap.get(\"percentage\") + \"', fo_base_salary = '\"\r\n\t\t\t\t\t\t+ Double.parseDouble(fomap.get(\"salary\")) + \"'\"\r\n\t\t\t\t\t\t+ \", fo_before_time = '\"\r\n\t\t\t\t\t\t+ Integer.parseInt(fomap.get(\"beforeTime\"))\r\n\t\t\t\t\t\t+ \"', fo_after_time = \"\r\n\t\t\t\t\t\t+ Integer.parseInt(fomap.get(\"afterTime\")) + \"\"\r\n\t\t\t\t\t\t+ \", fo_on_time = '\"\r\n\t\t\t\t\t\t+ Integer.parseInt(fomap.get(\"onTime\"))\r\n\t\t\t\t\t\t+ \"', password = '\" + fomap.get(\"password\")\r\n\t\t\t\t\t\t+ \"', image_id = \" + fomap.get(\"imageId1\")\r\n\t\t\t\t\t\t+ \", per_sale = '\" + fomap.get(\"percellcomm\")\r\n\t\t\t\t\t\t+ \"', fo_acount_no = \" + fomap.get(\"accnumber\")\r\n\t\t\t\t\t\t+ \" WHERE fo_id = \" + fomap.get(\"foId\") + \"\";\r\n\r\n\t\t\t}\r\n\r\n\t\t\tSystem.out.println(\"Query :\" + query);\r\n\t\t\tst = con.createStatement();\r\n\t\t\trow = st.executeUpdate(query);\r\n\t\t\tcon.commit();\r\n\t\t\treturn row;\r\n\t\t} catch (Exception ex) {\r\n\t\t\tlogger.error(\"\", ex);\r\n\t\t\trow = 0;\r\n\t\t\tSystem.err.println(ex.getMessage());\r\n\t\t\trow = 0;\r\n\r\n\t\t}\r\n\t\treturn row;\r\n\t}", "int updateByPrimaryKey(PmPost record);", "int updateByPrimaryKeySelective(AbiFormsForm record);", "private void upgradeMapViewsToColumns()\r\n {\r\n String sql =\r\n \"insert into mapview_columns(mapviewid, sort_order, dimension) \" +\r\n \"select mapviewid, 0, 'dx' \" +\r\n \"from mapview mv \" +\r\n \"where not exists (\" +\r\n \"select mc.mapviewid \" +\r\n \"from mapview_columns mc \" +\r\n \"where mv.mapviewid = mc.mapviewid)\";\r\n\r\n executeSql( sql );\r\n }", "@Override\r\n\tpublic void updateParamInfoById(ParamInfo info) {\n\t\t\r\n\t\tpm.updateByPrimaryKey(info);\r\n\t\t\r\n\t}", "@Override\n\tpublic void updateArtikUserProfile(HashMap<String, Object> map) {\n\t\tsqlSession.insert(PATH + \"updateArtikUserProfile\", map);\n\t}", "private HashMap<String, Integer> createFieldMap(ObjectDefinition context) {\r\n\r\n\t\tHashMap<String, Integer> map = new HashMap<String, Integer>();\r\n\r\n\t\tArrayList<Field> fields = context.getFields();\r\n\r\n\t\tfor (int i = 0; i < fields.size(); i++) {\r\n\t\t\tmap.put(fields.get(i).getName(), i);\r\n\t\t}\r\n\t\treturn map;\r\n\t}", "int updateByPrimaryKey(PrhFree record);", "@Update({\n \"update soggetto_personale_scolastico\",\n \"set codice_fiscale = #{codiceFiscale,jdbcType=VARCHAR},\",\n \"id_asr = #{idAsr,jdbcType=BIGINT},\",\n \"cognome = #{cognome,jdbcType=VARCHAR},\",\n \"nome = #{nome,jdbcType=VARCHAR},\",\n \"data_nascita_str = #{dataNascitaStr,jdbcType=VARCHAR},\",\n \"comune_residenza_istat = #{comuneResidenzaIstat,jdbcType=VARCHAR},\",\n \"comune_domicilio_istat = #{comuneDomicilioIstat,jdbcType=VARCHAR},\",\n \"indirizzo_domicilio = #{indirizzoDomicilio,jdbcType=VARCHAR},\",\n \"telefono_recapito = #{telefonoRecapito,jdbcType=VARCHAR},\",\n \"data_nascita = #{dataNascita,jdbcType=DATE},\",\n \"asl_residenza = #{aslResidenza,jdbcType=VARCHAR},\",\n \"asl_domicilio = #{aslDomicilio,jdbcType=VARCHAR},\",\n \"email = #{email,jdbcType=VARCHAR},\",\n \"lat = #{lat,jdbcType=NUMERIC},\",\n \"lng = #{lng,jdbcType=NUMERIC},\",\n \"id_tipo_soggetto = #{idTipoSoggetto,jdbcType=INTEGER},\",\n \"utente_operazione = #{utenteOperazione,jdbcType=VARCHAR},\",\n \"data_creazione = #{dataCreazione,jdbcType=TIMESTAMP},\",\n \"data_modifica = #{dataModifica,jdbcType=TIMESTAMP},\",\n \"data_cancellazione = #{dataCancellazione,jdbcType=TIMESTAMP},\",\n \"id_soggetto_fk = #{idSoggettoFk,jdbcType=INTEGER},\",\n \"id_medico = #{idMedico,jdbcType=BIGINT}\",\n \"where id_soggetto = #{idSoggetto,jdbcType=BIGINT}\"\n })\n int updateByPrimaryKey(SoggettoPersonaleScolastico record);", "public void populatePreparedStatementValues(Object bean,\r\n PreparedStatement statement,\r\n OrderedMap mapping) throws DataLayerException {\r\n\r\n int fieldNum = 0;\r\n try {\r\n Class type = bean.getClass();\r\n if (mapping == null)\r\n throw new DataLayerException(\"Error creating Insert SQL. Mapping is null.\");\r\n\r\n if (!(bean instanceof Map || bean instanceof DynaActionForm)) {\r\n // Not a Map. Requires PropertyDescriptors.\r\n PropertyDescriptor[] pds = BeanUtils.getPropertyDescriptors(type, mapping);\r\n if (pds == null || pds.length == 0) {\r\n throw new DataLayerException(\r\n \"Error populating prepared stateent values. Bean Descriptors are missing (className is \" + type.getName() + \").\");\r\n }\r\n \r\n for (int i = 0; i < pds.length; i++) {\r\n // PropertyDescriptor pd = pds[i];\r\n Method method = pds[i].getReadMethod();\r\n Object value = null;\r\n if (method != null) {\r\n\r\n Object[] args = {};\r\n value = method.invoke(bean, args);\r\n }\r\n\r\n String fieldName = pds[i].getName().toLowerCase();\r\n Field fieldDef = (Field) (mapping.get(fieldName));\r\n\r\n if (fieldDef != null && (! fieldDef.getType().toLowerCase().equals(\"key\")) &&\r\n (fieldDef.getPattern() == null || fieldDef.getPattern().trim().equals(\"\"))) {\r\n setPreparedStatementParam(statement, pds[i], value, fieldDef, fieldNum);\r\n fieldNum++;\r\n }\r\n }\r\n } else if (bean instanceof Map) {\r\n Iterator it = mapping.iterator();\r\n Map map = (Map)bean;\r\n while (it.hasNext()) {\r\n Field fieldDef = (Field)it.next();\r\n if (fieldDef != null && (! fieldDef.getType().toLowerCase().equals(\"key\")) &&\r\n (fieldDef.getPattern() == null || fieldDef.getPattern().trim().equals(\"\"))) {\r\n String fieldName = fieldDef.getName();\r\n Object value = map.get(fieldName);\r\n setPreparedStatementParam(statement, null, value, fieldDef, fieldNum);\r\n fieldNum++;\r\n }\r\n }\r\n } else if (bean instanceof DynaActionForm) {\r\n Iterator it = mapping.iterator();\r\n DynaActionForm form = (DynaActionForm)bean;\r\n while (it.hasNext()) {\r\n Field fieldDef = (Field)it.next();\r\n if (fieldDef != null && (! fieldDef.getType().toLowerCase().equals(\"key\")) &&\r\n (fieldDef.getPattern() == null || fieldDef.getPattern().trim().equals(\"\"))) {\r\n String fieldName = fieldDef.getName();\r\n Object value = form.get(fieldName);\r\n setPreparedStatementParam(statement, null, value, fieldDef, fieldNum);\r\n fieldNum++;\r\n }\r\n }\r\n }\r\n log.debug(\"Populated prepared statement values. ParamCount: \" + fieldNum);\r\n } catch (DataLayerException e) {\r\n throw e;\r\n } catch (Exception e) {\r\n throw new DataLayerException(\"Failed in getInsertSql()\", e);\r\n }\r\n }", "int updateByPrimaryKey(PdfCodeTemporary record);", "@Override\n\tpublic void updateDataListMap(List<Map<String, Object>> dataList) {\n\t\t\n\t}", "public void update(RelacionConceptoEmbalajePk pk, RelacionConceptoEmbalaje dto) throws RelacionConceptoEmbalajeDaoException;", "@Override\n\t\tprotected void postUpdate(EspStatusDTO t) throws SQLException {\n\t\t\t\n\t\t}", "int updateByPrimaryKeySelective(PmKeyDbObj record);", "@Mapper\npublic interface SubscribeMapper {\n @Insert(\"insert into mp_subscribe (email,topics,subdate) values (#{sub.email},#{sub.topics},#{sub.subdate})\")\n void addSubscribe(@Param(\"sub\") Subscribe subscribe) throws Exception;\n\n @Select(\"select * from mp_subscribe where email=#{email}\")\n Subscribe selectByEmail(String email) throws Exception;\n\n @Update(\"update mp_subscribe set flag=#{flag} where email=#{email}\")\n void updateFlagByEmail(@Param(\"email\") String email,@Param(\"flag\") Integer flag) throws Exception;\n\n @Update(\"update mp_subscribe set flag=#{sub.flag},topics=#{sub.topics} where email=#{sub.email}\")\n void updateByEmail(@Param(\"sub\") Subscribe subscribe) throws Exception;\n}", "int updateByPrimaryKey(organize_infoBean record);", "protected void createFields()\n {\n createEffectiveLocalDtField();\n createDiscontinueLocalDtField();\n createScanTypeField();\n createContractNumberField();\n createContractTypeField();\n createProductTypeField();\n createStatusIndicatorField();\n createCivilMilitaryIndicatorField();\n createEntryUserIdField();\n createLastUpdateUserIdField();\n createLastUpdateTsField();\n }", "@Override\n\tpublic String update(Set<String> filterField) {\n\t\treturn null;\n\t}", "int updateByPrimaryKey(PmKeyDbObj record);", "public void update(SgfensBancoPk pk, SgfensBanco dto) throws SgfensBancoDaoException;", "int updateByPrimaryKey(DictDoseUnit record);" ]
[ "0.7054353", "0.618109", "0.6167793", "0.60917205", "0.60785925", "0.6011482", "0.59822565", "0.5893844", "0.58928823", "0.583559", "0.5754741", "0.574119", "0.5701175", "0.56790847", "0.5662066", "0.56349003", "0.5626534", "0.55785394", "0.55678546", "0.5523326", "0.55160874", "0.5483741", "0.54498315", "0.54360324", "0.5435545", "0.540237", "0.539866", "0.538394", "0.53693277", "0.53496474", "0.53462833", "0.5334952", "0.53316057", "0.53287", "0.5291477", "0.52862376", "0.52824825", "0.5275243", "0.527353", "0.52648777", "0.52634776", "0.5260735", "0.5255209", "0.52521515", "0.5245016", "0.5239726", "0.52395934", "0.5234292", "0.5227858", "0.5227493", "0.52222836", "0.5218622", "0.52005637", "0.5198395", "0.5175358", "0.5168326", "0.51662254", "0.5165535", "0.5161662", "0.51586896", "0.5155973", "0.5151677", "0.51404077", "0.5123707", "0.51138264", "0.51126176", "0.51123804", "0.5110364", "0.51099044", "0.5104456", "0.5097864", "0.50928634", "0.50901854", "0.5089307", "0.50891435", "0.5088807", "0.50844806", "0.50840557", "0.5078917", "0.5078074", "0.50777686", "0.5075756", "0.50730336", "0.50711364", "0.50516456", "0.50503576", "0.5045485", "0.50445044", "0.5042743", "0.50418645", "0.50403845", "0.5040245", "0.50388247", "0.5037095", "0.5032605", "0.5027338", "0.5023465", "0.5023336", "0.50229776", "0.50199366", "0.50165474" ]
0.0
-1
methods template folders get all entities by Parent
public ArrayList<FolderDTO> templateGetFoldersByParent(Long idParent) { ArrayList<FolderDTO> returnList = new ArrayList<>(); FolderDAO dao = new FolderDAO(); Collection<Folder> folderSub = dao.getByParent(idParent); for(Folder folder:folderSub){ FolderDTO folderDto = new FolderDTO(); folderDto.setId(folder.getId()); folderDto.setTitle(folder.getTitle()); returnList.add(folderDto); } return returnList; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Collection findTemplatesByOwner(Agent owner);", "List<FileEntity> findByParentFile(FileEntity parentFile);", "@Override\r\n public List<Folder> getAllFolder() {\n return folderRepository.findAll();\r\n }", "@Override\r\n public List<EntityPath> getAllEntityPaths(boolean recursive) {\n return null;\r\n }", "List<EmailTemplateSubCategoryMaster> findAll();", "private Response findTemplates(Request request) throws IOException {\n String query = \"select * from per:Page where jcr:path like '/content/%/templates%'\";\n return findAndOutputToWriterAsJSON(request, query);\n }", "@Override\n\tpublic ArrayList<Parent> queryAll() {\n\t\treturn parentDao.queryAll();\n\t}", "@RequestMapping(value = \"/\", method = RequestMethod.GET)\n\t@JsonView(Views.Admin.class)\n\t@Secured(\"ROLE_ADMIN\")\n\tpublic ResponseEntity<?> getAll() throws Exception {\n\t\ttry {\n\t\t\tlogger.info(\"Parent List -- FETCHED by: \" + authenticationFacade.getAuthentication().getName());\n\t\t\treturn new ResponseEntity<Iterable<?>>(parentRepository.findAll(), HttpStatus.OK);\n\t\t} catch (Exception e) {\n\t\t\treturn new ResponseEntity<RESTError>(new RESTError(2, \"Exception: \" + e.getMessage()),\n\t\t\t\t\tHttpStatus.INTERNAL_SERVER_ERROR);\n\t\t}\n\t}", "public Collection findTemplatesByOwner(Agent owner, String siteId);", "@RequestMapping(method=RequestMethod.GET,value=\"/parent/\")\r\n\t@JsonView(Views.Private.class)\r\n\tpublic ResponseEntity<?> getParentFromToken_parent(){\r\n\t\treturn parentDao.getParentFromToken();\r\n\t}", "@Override\r\n public List<? extends DataStoreEntity> getAllEntities(boolean recursive) {\n return null;\r\n }", "List<TemplateRelation> getTemplateRelations() throws AccessDeniedException;", "List<Subdivision> findAll();", "List<TemplateDTO> getAllTemplates() throws GAException;", "public interface IChildrenQuery<C extends SuperVO> {\n\n List<C> queryByParentPk(String parentPk);\n}", "@RequestMapping(method=RequestMethod.GET,value=\"/parent/{id}\")\r\n\t@JsonView(Views.Private.class)\r\n\tpublic ResponseEntity<?> getParentById_parent(@PathVariable String id){\r\n\t\treturn parentDao.getParentById(id);\r\n\t}", "@Override\n @SuppressWarnings(\"unchecked\")\n public Collection<String> getChildEntities(final String parentPath,\n final int start,\n final int count) throws CalFacadeException {\n HibSession sess = getSess();\n\n StringBuilder sb = new StringBuilder(\"select col.name from \");\n sb.append(BwEventObj.class.getName());\n sb.append(\" col where col.colPath=:colPath\");\n\n sess.createQuery(sb.toString());\n\n sess.setString(\"colPath\", parentPath);\n\n sess.setFirstResult(start);\n sess.setMaxResults(count);\n\n List res = sess.getList();\n\n if (Util.isEmpty(res)) {\n return null;\n }\n\n return res;\n }", "public List<Organization> getAllParentOrganization() {\n\t\tArrayList<Organization> result = new ArrayList<Organization>();\n\t\t\n\t\tSQLiteDatabase db = mDbHelper.getReadableDatabase();\n\t\tCursor cursor;\n\t\t\n\t\tOrganization organization;\n\t\t\n\t\tint idInt;\n\t\tString name;\n\t\tString address;\n\t\tint superId;\n\t\t\n\t\tcursor = db.rawQuery(\"SELECT a.id, a.name, a.address, a.super_id FROM organization a WHERE a.super_id == '-1'\", null);\n\t\t\n\t\twhile (cursor.moveToNext()) {\n\t\t\t\n\t\t\torganization = new Organization();\n\t\t\t\n\t\t\tidInt = cursor.getInt(cursor.getColumnIndex(\"id\"));\n\t\t\tname = cursor.getString(cursor.getColumnIndex(\"name\"));\n\t\t\taddress = cursor.getString(cursor.getColumnIndex(\"address\"));\n\t\t\tsuperId = cursor.getInt(cursor.getColumnIndex(\"super_id\"));\n\t\t\t\n\t\t\torganization.setId(idInt);\n\t\t\torganization.setName(name);\n\t\t\torganization.setAddress(address);\n\t\t\torganization.setSuperId(superId);\n\t\t\t\n\t\t\tresult.add(organization);\n\t\t}\n\t\t\n\t\tcursor.close();\n\t\tdb.close();\n\t\t\n\t\treturn result;\n\t}", "@Override\n\tpublic List<T> getAllEntry() {\n\t\treturn this.hibernateTemplate.find(\"from \"+this.classt.getName());\n\t}", "@Override\n public List<Part> findAll() {\n List<Part> resultList = new ArrayList<>();\n repositoryPart.findAll().iterator().forEachRemaining(resultList::add);\n return resultList;\n }", "protected abstract String childFolderPath();", "public List<AbstractFamixEntity> getParentEntities(AbstractFamixEntity entity) {\n List<AbstractFamixEntity> parentEntities = new ArrayList<AbstractFamixEntity>();\n if (entity.getParent() != null) {\n parentEntities.add(entity.getParent());\n parentEntities.addAll(getParentEntities(entity.getParent()));\n }\n\n return parentEntities;\n }", "@RequestMapping(value = \"/coupon-template/template/sdk/all\",\n method = RequestMethod.GET)\n CommonResponse<List<CouponTemplateSDK>> findAllUsableTemplate();", "@Override\n\tpublic List<Resource> queryForTree() throws Exception {\n\t\treturn sResourceJDao.tree(null);\n\t}", "@RequestMapping(value = \"/dashboard/getMyChildren\",\n method = RequestMethod.GET,\n produces = MediaType.APPLICATION_JSON_VALUE)\n @Timed\n public List<Student> getMyChildren() {\n log.debug(\"REST request to get all My Children\");\n User u = userRepository.findOneByLogin(SecurityUtils.getCurrentUser().getUsername()).get();\n IrisUser irisuser = irisUserRepository.findOneByUserId(u.getId()); \n Parent p = parentRepository.findOneByIrisUserId(irisuser.getId());\n List parents = new ArrayList<Parent>();\n parents.add(p);\n return studentRepository.findByParents( parents);\n }", "@Override\n\tpublic List<TemplateBundle> getTemplateBundles() {\n\t\tList<TemplateBundle> templates = new ArrayList<TemplateBundle>();\t\n\t\tif (cache == null){\n\t\t\tcache = new ArrayList<TemplateBundle>();\n\t\t\tEnumeration<?> en = JaspersoftStudioPlugin.getInstance().getBundle().findEntries(\"templates/table\", \"*.jrxml\", false); //Doesn't search in the subdirectories\n\t\t\twhile (en.hasMoreElements()) {\n\t\t\t\tURL templateURL = (URL) en.nextElement();\n\t\t\t\ttry {\n\t\t\t\t\tTemplateBundle bundle = new TableTemplateBunlde(templateURL, JasperReportsConfiguration.getDefaultInstance());\n\t\t\t\t\tif (bundle != null)\n\t\t\t\t\t{\n\t\t\t\t\t\tcache.add(bundle);\n\t\t\t\t\t}\t\n\t\t\t\t} catch (Exception ex) \t{\n\t\t\t\t\t// Log error but continue...\n\t\t\t\t\tJaspersoftStudioPlugin.getInstance().getLog().log(\n\t\t\t\t\t\t\tnew Status(IStatus.ERROR,JaspersoftStudioPlugin.PLUGIN_ID,\n\t\t\t\t\t\t\t\t\tMessageFormat.format(Messages.DefaultTemplateProvider_TemplateLoadingErr,new Object[]{templateURL}), ex));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\ttemplates.addAll(cache);\n\t\tloadAdditionalTemplateBundles(templates);\n\t\treturn templates;\n\t}", "protected List <WebFile> getSourceDirChildFiles()\n{\n // Iterate over source dir and add child packages and files\n List children = new ArrayList();\n for(WebFile child : getFile().getFiles()) {\n if(child.isDir() && child.getType().length()==0)\n addPackageDirFiles(child, children);\n else children.add(child);\n }\n \n return children;\n}", "public List <WebFile> getChildFiles()\n{\n if(_type==FileType.SOURCE_DIR) return getSourceDirChildFiles();\n return _file.getFiles();\n}", "public List<PageContent> getAllPageContent();", "List<PSTemplateSummary> findBaseTemplates(String type);", "@Override\n\tpublic Collection<Tkfl> getTkflRoot() {\n\t\tString sql = \"select ID_,PARENT_ID,TKMC,MS from tkfl where parent_id = 0 order by id_ desc\";\n\t\tList<Tkfl> list = this.jdbcTemplate.query(sql, new RowMapper<Tkfl>() {\n\n\t\t\t@Override\n\t\t\tpublic Tkfl mapRow(ResultSet result, int i) throws SQLException {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\tTkfl tkfl = new Tkfl();\n\t\t\t\ttkfl.setId(result.getInt(\"id_\"));\n\t\t\t\ttkfl.setParentId(result.getInt(\"parent_id\"));\n\t\t\t\ttkfl.setTkmc(result.getString(\"tkmc\"));\n\t\t\t\ttkfl.setMs(result.getString(\"ms\"));\n\t\t\t\treturn tkfl;\n\t\t\t}\n\n\t\t});\n\t\treturn list;\n\t}", "@RequestMapping(method=RequestMethod.GET,value=\"/parent/find_students/\")\r\n\t@JsonView(Views.Private.class)\r\n\tpublic ResponseEntity<?> getStudentsFromParentToken_parent(){\r\n\t\treturn parentDao.getStudentsFromParentToken();\r\n\t}", "public List<Entity> getAll() {\n return entities;\n }", "List<Template> getTemplates() throws AccessDeniedException;", "@Override\r\n\tpublic List<Strumento> getAll() throws StrumentoNotFoundException {\n\t\treturn strumentoRepository.findAll();\r\n\t}", "public List<T> findAll() {\n\t Query q = getEntityManager().createQuery(\"select u from \" + getEntityClass().getSimpleName() + \" u\");\n\t return q.getResultList();\n\t }", "private ArrayList<String> gettemplates(){\n\t\tArrayList<String> result = new ArrayList<String>();\n\t\ttry {\n\t\t String[] cmd = {\n\t\t \t\t\"/bin/sh\",\n\t\t \t\t\"-c\",\n\t\t \t\t\"ls -p | grep -v / | grep -v 'pom.xml' \"\n\t\t \t\t};\n\n\t\t Process p = Runtime.getRuntime().exec(cmd); //Runtime r = Runtime.getRuntime(); Process p = r.exec(cmd);\n\t\t BufferedReader in =\n\t\t new BufferedReader(new InputStreamReader(p.getInputStream()));\n\t\t String inputLine;\n\t\t while ((inputLine = in.readLine()) != null) {\n\t\t result.add(inputLine);\n\t\t }\n\t\t in.close();\n\n\t\t} catch (IOException e) {\n\t\t System.out.println(e);\n\t\t}\n\t\t\n\t\treturn result;\n\t\t}", "public List<ResourceCollection> getCandidateParentResourceCollections() {\n List<ResourceCollection> publicResourceCollections = resourceCollectionService.findPotentialParentCollections(getAuthenticatedUser(),\n getPersistable());\n return publicResourceCollections;\n }", "public HashMap<Integer, List<TemplateRelation>> getRelsByTemplate() {\n if (t_rels == null) {\n t_rels = new HashMap<Integer, List<TemplateRelation>>();\n }\n return t_rels;\n }", "@Override\r\n\tpublic SverResponse<List<ActionParam>> findParentType() {\n\t\treturn SverResponse.createRespBySuccess(actionParamsDao.findChildrenByParentId(0));\r\n\t}", "public abstract List<AbstractRelationshipTemplate> getIngoingRelations();", "@Override\n @Transactional(readOnly = true)\n public List<FileDTO> findAll() {\n log.debug(\"Request to get all Files\");\n return fileRepository.findAll().stream().map(FileMapper::toDto)\n .collect(Collectors.toCollection(LinkedList::new));\n }", "@Cacheable(value = \"codeList\",key = \"#parentId\")\n List<CodeTable> getListByParent(String parentId);", "@Override\n\tpublic List<UPermission> listParent() {\n\t\treturn roleMapper.listParent();\n\t}", "public List<TempTableHeader> getParents() {\r\n\t\t\treturn parents;\r\n\t\t}", "@Test\n public void getGeoObjectsByTypeAndParentAndStartingWith() throws Exception {\n List<GeoObjectBean> geoObjectBeans = geoObjectDao\n .getGeoObjectsByTypeAndParentAndPrefix(GeoObjectTypeCode.STREET,\n null,\n \"Avtozavods'ka vul.\",\n Constants.LOCALE_EN,\n 20);\n assertNotNull(geoObjectBeans);\n assertEquals(1, geoObjectBeans.size());\n GeoObjectBean streetGO = geoObjectBeans.get(0);\n\n //building, search with parent\n geoObjectBeans = geoObjectDao.getGeoObjectsByTypeAndParentAndPrefix(GeoObjectTypeCode.BUILDING,\n streetGO.getId(),\n \"2A\",\n Constants.LOCALE_EN,\n 20);\n assertNotNull(geoObjectBeans);\n assertEquals(1, geoObjectBeans.size());\n }", "public interface CategoryRepository extends JpaRepository<Category, Long> {\n @Query(value = \"select c from Category c where c.parent = null order by c.sortIndex\")\n public List<Category> findAll();\n @Query(value = \"select c from Category c where c.parent.id = ?1 order by c.sortIndex\")\n public List<Category> findByParent(Long id);\n}", "public ISFQuery<SFODataFeed<SFFolderTemplate>> get()\t{\n\n\t\tSFApiQuery<SFODataFeed<SFFolderTemplate>> sfApiQuery = new SFApiQuery<SFODataFeed<SFFolderTemplate>>(this.client);\n\t\tsfApiQuery.setFrom(\"FolderTemplates\");\n\t\tsfApiQuery.setHttpMethod(\"GET\");\n\t\treturn sfApiQuery;\n\t}", "List<UmsMenu> list(Long parentId, Integer pageSize, Integer pageNum);", "@Override\n\tpublic List findAll()\n\t{\n\t\treturn teataskMapper.findAll();\n\t}", "@Override\n\tpublic List<EasyUITreeNode> getContentCategoryByParent(Long parentId) {\n\t\tList<TbContentCategory> list = service.getContentCategoryByParent(parentId);\n List<EasyUITreeNode> result = new ArrayList<>();\n for(TbContentCategory contentCategory : list){\n EasyUITreeNode node = new EasyUITreeNode();\n node.setId(contentCategory.getId());\n node.setText(contentCategory.getName());\n node.setState(contentCategory.getIsParent() ? \"closed\" : \"open\");\n result.add(node);\n }\n return result;\n\t}", "public Map<Folder, Set<Project>> fetchFoldersAndProjects(String parent) {\n\n logger.atInfo().log(\"Fetching resources from \" + parent);\n\n ListFoldersPagedResponse response = foldersClient.listFolders(parent);\n\n Iterable<Folder> folders = response.iterateAll();\n Iterator<Folder> iterableFolders = folders.iterator();\n\n while (iterableFolders.hasNext()) {\n Folder folder = iterableFolders.next();\n fetchFolders(folder);\n }\n return folderProjectMap;\n }", "List<TransportEntity> getAllEntityOfQuery();", "public List<Template> getTemplates() {\r\n\t\treturn templateDao.findAll();\r\n\t}", "public Node getTB(String id,Node parent){\n try{\n HashMap hash= (HashMap)client.execute(\"getResource\", new Object[]{id});\n String path = hash.get(\"path\").toString();\n String name = path.split(\"/\")[path.split(\"/\").length-1];\n byte type = 1;\n if(path.indexOf(\"/\")==-1){\n type = 0;\n }\n Node node = new Node(id,path,name,parent,null,type);\n Object[] children = (Object[])hash.get(\"children\");\n for(Object o:children){\n node.addChild(o.toString(), null);\n }\n HashMap meta = (HashMap)hash.get(\"meta\");\n if(meta!=null&&meta.size()!=0){\n Set keys = meta.keySet();\n Iterator iter = keys.iterator();\n while(iter.hasNext()){\n String n = iter.next().toString();\n if(n.equals(\"_epnames_\"+RunnerRepository.user)){\n node.setEPs(meta.get(n).toString());\n continue;\n }\n node.addProperty(n, meta.get(n).toString());\n }\n }\n return node;\n }catch(Exception e){\n System.out.println(\"requested id: \"+id);\n try{System.out.println(\"server respons: \"+client.execute(\"getResource\", new Object[]{id}));}\n catch(Exception ex){ex.printStackTrace();}\n e.printStackTrace();\n return null;\n }\n }", "public interface TreeNodeService {\n\n /**\n * Gets tree.\n * 根据parent_id 生成tree\n *\n * @param pid the pid\n * @param list the list\n * @return tree tree\n */\n List<TreeNode> getTree(long pid, List<TreeNode> list);\n\n}", "@Test\n public void givenListEntity_whenFindByParentId_thenReturnListEntity() {\n int parentId = 1;\n ThreeEntity entity = new ThreeEntity(1,1,1);\n ThreeEntity entity2 = new ThreeEntity(2,1,1);\n List<ThreeEntity> entities = Arrays.asList(entity, entity2);\n\n given(threeDao.findByParentId(parentId)).willReturn(entities);\n\n List<ThreeEntity> found = threeService.findByParentId(parentId);\n\n assertEquals(2, found.size());\n\n assertEquals(found.get(0).getId(), entity.getId());\n assertEquals(found.get(0).getParentId(), entity.getParentId());\n assertEquals(found.get(0).getValue(), entity.getValue());\n\n assertEquals(found.get(1).getId(), entity2.getId());\n assertEquals(found.get(1).getParentId(), entity2.getParentId());\n assertEquals(found.get(1).getValue(), entity2.getValue());\n\n }", "public SelectItem[] parentFils() {\n if (selected.getEtatCommande().getRang() == 0) {\n\n // i will not use request => i will use the parent son instead\n List<EtatCommande> etatCommandes = new ArrayList<EtatCommande>();\n etatCommandes.addAll(selected.getEtatCommande().getListEtatCommandesFils());\n etatCommandes.add(selected.getEtatCommande());\n return JsfUtil.getSelectItems(etatCommandes, true);\n\n //return JsfUtil.getSelectItems(ejbFacadeEtatCommande.findAllNative(\" where ( o.ECm_Rang = 1 OR o.ECm_Rang = 0 )\" ), true);\n } else if (selected.getEtatCommande().isDernierRang() == true) {\n // int rangFils = selected.getEtatCommande().getRang() - 1;\n List<EtatCommande> etatCommandes = new ArrayList<EtatCommande>();\n\n etatCommandes.add(selected.getEtatCommande());\n etatCommandes.add(selected.getEtatCommande().getParent());\n\n //etatCommandes = ejbFacadeEtatCommande.findAllNative(\" where o.ECm_Rang = \" + rangFils + \" OR o.ECm_Id = \"+selected.getEtatCommande().getId());\n etatCommandes.add(selected.getEtatCommande());\n return JsfUtil.getSelectItems(etatCommandes, true);\n\n } else {\n //int rangParent = selected.getEtatCommande().getRang() + 1;\n //int rangFils = selected.getEtatCommande().getRang() - 1;\n List<EtatCommande> etatCommandes = new ArrayList<EtatCommande>();\n\n etatCommandes.add(selected.getEtatCommande());// RETURN TO PARENT\n etatCommandes.add(selected.getEtatCommande().getParent());// STAY\n etatCommandes.addAll(selected.getEtatCommande().getListEtatCommandesFils()); //GO TO SUN\n\n //etatCommandes = ejbFacadeEtatCommande.findAllNative(\" where ( o.ECm_Rang = \" + rangParent + \" OR o.ECm_Rang = \" + rangFils + \" OR o.ECm_Id = \"+selected.getEtatCommande().getId()+\" )\");\n // etatCommandes.add(selected.getEtatCommande());\n return JsfUtil.getSelectItems(etatCommandes, true);\n\n }\n }", "@Override\n public List<Directory> get()\n {\n return getAllDirectories();\n }", "public void testGetAllChildrenEntities()\r\n\t{\r\n\r\n\t\tEntityManagerInterface entityManagerInterface = EntityManager.getInstance();\r\n\t\tDomainObjectFactory factory = DomainObjectFactory.getInstance();\r\n\r\n\t\ttry\r\n\t\t{\r\n\t\t\t// Step 1\r\n\t\t\tEntityInterface entityA = factory.createEntity();\r\n\t\t\tentityA.setName(\"entityA\");\r\n\r\n\t\t\tEntityInterface entityB = factory.createEntity();\r\n\t\t\tentityB.setName(\"entityB\");\r\n\t\t\tentityB.setParentEntity(entityA);\r\n\r\n\t\t\tEntityInterface entityC = factory.createEntity();\r\n\t\t\tentityC.setName(\"entityC\");\r\n\t\t\tentityC.setParentEntity(entityA);\r\n\r\n\t\t\tEntityInterface entityD = factory.createEntity();\r\n\t\t\tentityD.setName(\"entityD\");\r\n\t\t\tentityD.setParentEntity(entityB);\r\n\r\n\t\t\tEntityInterface entityE = factory.createEntity();\r\n\t\t\tentityE.setName(\"entityE\");\r\n\t\t\tentityE.setParentEntity(entityB);\r\n\r\n\t\t\tEntityInterface entityF = factory.createEntity();\r\n\t\t\tentityF.setName(\"entityF\");\r\n\t\t\tentityF.setParentEntity(entityC);\r\n\r\n\t\t\tEntityInterface entityG = factory.createEntity();\r\n\t\t\tentityG.setName(\"entityG\");\r\n\t\t\tentityG.setParentEntity(entityC);\r\n\r\n\t\t\tEntityInterface entityH = factory.createEntity();\r\n\t\t\tentityH.setName(\"entityH\");\r\n\t\t\tentityH.setParentEntity(entityC);\r\n\r\n\t\t\tentityManagerInterface.persistEntity(entityA);\r\n\t\t\tentityManagerInterface.persistEntity(entityB);\r\n\t\t\tentityC = entityManagerInterface.persistEntity(entityC);\r\n\r\n\t\t\tentityManagerInterface.persistEntity(entityD);\r\n\t\t\tentityManagerInterface.persistEntity(entityE);\r\n\t\t\tentityManagerInterface.persistEntity(entityF);\r\n\t\t\tentityManagerInterface.persistEntity(entityG);\r\n\t\t\tentityManagerInterface.persistEntity(entityH);\r\n\r\n\t\t\tCollection<EntityInterface> cChildren = entityManagerInterface\r\n\t\t\t\t\t.getChildrenEntities(entityC);\r\n\t\t\tassertEquals(3, cChildren.size());\r\n\r\n\t\t\tCollection<EntityInterface> hChildren = entityManagerInterface\r\n\t\t\t\t\t.getChildrenEntities(entityH);\r\n\t\t\tassertEquals(0, hChildren.size());\r\n\r\n\t\t\tentityA = entityManagerInterface.getEntityByIdentifier(entityA.getId().toString());\r\n\t\t\tentityB = entityManagerInterface.getEntityByIdentifier(entityB.getId().toString());\r\n\t\t\tentityC = entityManagerInterface.getEntityByIdentifier(entityC.getId().toString());\r\n\t\t\tentityD = entityManagerInterface.getEntityByIdentifier(entityD.getId().toString());\r\n\t\t\tentityE = entityManagerInterface.getEntityByIdentifier(entityE.getId().toString());\r\n\r\n\t\t\tassertEquals(2, entityManagerInterface.getChildrenEntities(entityA).size());\r\n\t\t\tassertEquals(2, entityManagerInterface.getChildrenEntities(entityB).size());\r\n\t\t\tassertEquals(3, entityManagerInterface.getChildrenEntities(entityC).size());\r\n\t\t\tassertEquals(0, entityManagerInterface.getChildrenEntities(entityD).size());\r\n\t\t\tassertEquals(0, entityManagerInterface.getChildrenEntities(entityE).size());\r\n\r\n\t\t}\r\n\t\tcatch (Exception e)\r\n\t\t{\r\n\t\t\te.printStackTrace();\r\n\t\t\tLogger.out.debug(DynamicExtensionsUtility.getStackTrace(e));\r\n\t\t\tfail();\r\n\t\t}\r\n\t}", "protected abstract EntityPathBase<T> getDslRoot();", "@Override\n public List<Webpage> getRootPages(UUID uuid) {\n String sql = \"SELECT \" + IDENTIFIABLE_COLUMNS\n + \" FROM webpages INNER JOIN website_webpages ww ON uuid = ww.webpage_uuid\"\n + \" WHERE ww.website_uuid = :uuid\"\n + \" ORDER BY ww.sortIndex ASC\";\n\n// String query = \"SELECT ww.webpage_uuid as uuid, i.label as label\"\n// + \" FROM websites ws INNER JOIN website_webpage ww ON ws.uuid=ww.website_uuid INNER JOIN identifiables i ON ww.webpage_uuid=i.uuid\"\n// + \" WHERE ws.uuid = :uuid\"\n// + \" ORDER BY ww.sortIndex ASC\";\n List<WebpageImpl> list = dbi.withHandle(h -> h.createQuery(sql)\n .bind(\"uuid\", uuid)\n .mapToBean(WebpageImpl.class)\n .list());\n\n if (list.isEmpty()) {\n return new ArrayList<>();\n }\n return list.stream().map(WebpageImpl.class::cast).collect(Collectors.toList());\n }", "@Override\n\tpublic ArrayList<Parent> queryAllOrderPage(int begin, int size) {\n\t\treturn parentDao.queryAllOrderPage(begin, size);\n\t}", "@Override\n\tpublic List<ImageEntity> getAll() {\n\t\treturn DatabaseContext.findAll(ImageEntity.class);\n\t}", "List<ConversionTypesEntity> loadFiles(FileTreeRequest fileTreeRequest);", "private Object[] localGetChildren(Object arg0) {\r\n\t\t\tArrayList<Object> returnList = new ArrayList<Object>();\r\n\t\t\tObject[] children = super.getChildren(arg0);\r\n\t\t\tfor (Object child: children) {\r\n\t\t\t\tif (child instanceof IViewSite || \r\n\t\t\t\t\tchild instanceof IWorkspaceRoot || \r\n\t\t\t\t\tchild instanceof IFolder)\r\n\t\t\t\t{\r\n\t\t\t\t\treturnList.add(child);\r\n\t\t\t\t} else if (child instanceof IProject) {\r\n\t\t\t\t\tif (((IProject)child).isOpen()) {\r\n\t\t\t\t\t\treturnList.add(child);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\treturn returnList.toArray(new Object[returnList.size()]);\r\n\t\t}", "@Override\n public List<R> getAll() {\n return onFindForList(getSession().createCriteria(entityClass).list());\n }", "@Transactional\n\n\t@Override\n\tpublic Collection<FileModel> getAll() {\n\t\treturn fm.findAll();\n\t}", "List<WebCrawlerData> retrieveAllEntity();", "@Override\n public List<Person> findAllChildrenOf(String name) {\n return relations.stream()\n .filter(x -> x.getValue0().name.equals(\"John\")\n && x.getValue1() == Relationship.PARENT)\n .map(Triplet::getValue2)\n .collect(Collectors.toList());\n }", "public Set getParents(EntityType arg0, boolean arg1)\n throws EntityPersistenceException {\n return null;\n }", "public Iterable<Content> findAllContent(){\n\n return contentRepository.findAll();\n }", "@Override\n\tpublic ParentEntityNode findEntityRelationTreeByParentEntityId(String entityId) {\n\t\tLosConfigDetails owner = configLookupRepository.findByConfigId(LOSEntityConstants.OWNER);\n\t\tLosConfigDetails owned = configLookupRepository.findByConfigId(LOSEntityConstants.OWNED);\n\t\tLosConfigDetails affilated = configLookupRepository.findByConfigId(LOSEntityConstants.AFFILIATED);\n\t\tLosConfigDetails subsidary = configLookupRepository.findByConfigId(LOSEntityConstants.SUBSIDIARY);\n\t\tString commercialSuffix = LOSEntityConstants.COMMERCIAL_SUFFIX_CODE;\n\t\tLong parentCount = findParentEntityCount(entityId);\n\t\tList<EntityRelationshipType> relationDetails = entityRelationshipTypeRepository\n\t\t\t\t.findByEntityId1AndDeleted(Arrays.asList(entityId));\n\t\tif (!relationDetails.isEmpty()) {\n\t\t\tList<String> iterationChildIds = new ArrayList<>();\n\t\t\tList<EntityRelationshipType> isOwnerRelation = relationDetails.stream().filter(\n\t\t\t\t\tcheckRelationType -> getEntityRelationId(checkRelationType).equals(LOSEntityConstants.OWNER))\n\t\t\t\t\t.collect(Collectors.toList());\n\t\t\tif (!isOwnerRelation.isEmpty()) {\n\t\t\t\tList<String> entityIds = new ArrayList<>();\n\t\t\t\tList<ParentEntityNode> treeData = new ArrayList<>();\n\t\t\t\tList<String> levelTwoChildIds = new ArrayList<>();\n\t\t\t\tfor (EntityRelationshipType eachRelation : relationDetails) {\n\t\t\t\t\tif (getEntityRelationId(eachRelation).equals(LOSEntityConstants.OWNER)\n\t\t\t\t\t\t\t&& eachRelation.getEntityId1().endsWith(commercialSuffix)\n\t\t\t\t\t\t\t&& eachRelation.getEntityId2().endsWith(commercialSuffix)) {\n\t\t\t\t\t\tentityIds.add(eachRelation.getEntityId2());\n\t\t\t\t\t\tList<ParentEntityNode> rootData = parentEntityNodeRepository.findEntityTreeData(entityId);\n\t\t\t\t\t\ttreeData.addAll(rootData);\n\t\t\t\t\t}\n\t\t\t\t\tif (!entityIds.isEmpty()) {\n\t\t\t\t\t\treturn cToCOwnerCheckLeveOneHavingParentOrChildren(entityId, owner, affilated, commercialSuffix, // NOSONAR\n\t\t\t\t\t\t\t\titerationChildIds, entityIds, treeData, levelTwoChildIds);// NOSONAR\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (parentCount == 0) {\n\t\t\tList<ParentEntityNode> treeData = entityParentIsNotPresent(entityId, subsidary, affilated, owner,\n\t\t\t\t\tcommercialSuffix);\n\t\t\treturn entityRelationshipTreeServiceImpl.createTreeFromParent(treeData, entityId);\n\t\t} else if (parentCount > 0) {\n\t\t\tList<ParentEntityNode> treeData = entityParentIsPresent(entityId, owner, owned, affilated, subsidary,\n\t\t\t\t\tcommercialSuffix);\n\t\t\treturn entityRelationshipTreeServiceImpl.createTreeFromParent(treeData, entityId);\n\t\t}\n\t\tList<ParentEntityNode> parentEntityNode = parentEntityNodeRepository.findEntityTreeData(entityId);\n\t\treturn entityRelationshipTreeServiceImpl.createTreeFromParent(parentEntityNode, entityId);\n\t}", "@Override\n\tpublic List<TiposDocumentos> findAllTipoDocumento() {\n\t\treturn documentoLogic.findAll();\n\t}", "@Override\r\n\tpublic List<Menu> menuList() {\n\t\tList<Menu> menuList = menuRepositoryDao.findAll(); //获取所有的菜单集合\r\n\t\t\r\n\t\tMap<Long,String> parentNameMap = new HashMap<>();\r\n\t\tfor(Menu menu : menuList){\r\n\t\t\tparentNameMap.put(menu.getParentId(), menuRepositoryDao.getParentName(menu.getParentId())); //根据父ID获取父菜单\r\n\t\t\tmenu.setParentName(parentNameMap.get(menu.getParentId()));\r\n\t\t}\r\n\t\t\r\n\t\treturn menuList;\r\n\t}", "List<IViewEntity> getEntities();", "protected <K extends Resource> K getFromParent(String uri, Class<K> resourceType) {\n\t\tfor (RepositoryService rs : parent.getRepositoryServices()) {\n\t\t\tif (rs == this)\n\t\t\t\tcontinue;\n\t\t\ttry {\n\t\t\t\tK r = parent.doGetResource(uri, resourceType, rs);\n\t\t\t\tif (r != null)\n\t\t\t\t\treturn r;\n\t\t\t} catch (JRRuntimeException e) {\n\t\t\t}\n\t\t}\n\t\t// System.out.println(\"get from server not found \" + uri);\n\t\treturn null;\n\t}", "@Override\n\tpublic List<UsuariosEntity> findAdmin(){\n\t\treturn (List<UsuariosEntity>) iUsuarios.findAdmin();\n\t}", "@RequestMapping(value = \"/listallentities\", method = RequestMethod.GET)\n\tpublic @ResponseBody String listAllEntities() {\n\t\ttry {\n\t\t\t// System.out.println(\"USER ID FROM SESSION : \" +\n\t\t\t// session.getAttribute(\"userId\"));\n\t\t\tString requestURI = request.getRequestURI();\n\n\t\t\tSystem.out.println(\"Called list entity : \" + requestURI);\n\n\t\t\tString requestFromMethod = \"listAllEntities\";\n\t\t\treturn entityService.listEntities(null, requestFromMethod);\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\n\t}", "@Override\n\tpublic List<File> getAll() {\n\t\t return getSession().\n\t createQuery(\"from File f\", File.class).\n\t getResultList();\n\t}", "public java.util.List<VcmsArticleType> findAll();", "public static List<String> getTemplates() {\n\t\tFile templatesDir = new File(PathUtils.getExtensionsTemplatePath());\n\t\tList<String> templates = Arrays.stream(templatesDir.listFiles(File::isDirectory)).map(File::getName)\n\t\t\t\t.collect(Collectors.toList());\n\t\tIProject[] projects = ResourcesPlugin.getWorkspace().getRoot().getProjects();\n\t\tList<String> customTemplates = Arrays.stream(projects).filter(ExtensionUtils::isTemplate)\n\t\t\t\t.map(IProject::getName).collect(Collectors.toList());\n\t\ttemplates.addAll(customTemplates);\n\t\treturn templates;\n\t}", "@Override\n public List<Page> findAll() {\n Query q = new Query(\"pages\");\n // Use PreparedQuery interface to retrieve results\n PreparedQuery pq = datastore.prepare(q);\n List<Entity> list = pq.asList(FetchOptions.Builder.withDefaults());\n List<Page> result = new ArrayList<>();\n for (Entity entity : list) {\n Page page = new Page();\n page.setId(entity.getKey().getId());\n page.setTitle(entity.getProperty(\"title\").toString());\n page.setDescription(entity.getProperty(\"description\").toString());\n page.setUrl(entity.getProperty(\"url\").toString());\n page.setCrawled((boolean) entity.getProperty(\"crawled\"));\n result.add(page);\n }\n return result;\n }", "public List<GrauParentesco> getListTodos();", "@RequestMapping(\"/web/**\")\n\tpublic String allFolders() {\n\t System.out.println(\"In /web/**\");\n\t return \"success\";\n\t}", "public interface FindMenuTreeService {\n public List<EntityTree> findMenuToTree();\n}", "public List getAll() throws RepositoryException {\n\t\treturn DatanucleusCRUDUtils.getAll(getEntity().getSimpleName());\n\t}", "Page<TenantSuperAdminDTO> findAll(Pageable pageable);", "private void getResourceMap(VMResource parent) {\n editResourceService.getResources(parent.getId(), new AsyncCallback<List<VMResource>>() {\n\n @Override\n public void onSuccess(List<VMResource> result) {\n copyResource(parent, result);\n for (VMResource child : result) {\n getResourceMap(child);\n }\n }\n\n @Override\n public void onFailure(Throwable caught) {\n SC.warn(caught.getMessage());\n }\n });\n }", "public List<Producto> traerTodos () {\n \n return jpaProducto.findProductoEntities();\n \n \n \n }", "public static Iterable<Entity> getAllEntities() {\n\t\treturn Util.listEntities(\"RecetteId\", null, null);\n\t}", "@Override\n\tpublic List<Trainee> getAll() {\n\t\tQuery q=em.createQuery(\"select m from Trainee m\");\n\t\tList<Trainee> l=q.getResultList();\n\t\treturn l;\n\t}", "public void registerParent(){\n \t\tparent = manager.getList(parentName);\n \t}", "@Override\r\n\tprotected List<Object> getParents(String accountWebSafeKey) {\n\t\treturn null;\r\n\t}", "@Override\r\n\tpublic List<SubstageDocument> getAll() throws Exception {\n\t\treturn null;\r\n\t}", "@RequestMapping( method = RequestMethod.GET, value = \"/getByParentDepartment/{parentDepartmentCode}\" )\n public List<DepartmentDTO> getChildDepartments(\n @PathVariable( \"parentDepartmentCode\" ) String parentDepartmentCode) {\n List<Department> departmentList = departmentService.getDepartmentByParentCode(parentDepartmentCode);\n List<DepartmentDTO> departmentDTOList = new ArrayList<>();\n for (Department d: departmentList) {\n departmentDTOList.add(copyFromDepartment(d));\n }\n return departmentDTOList;\n }", "@Repository\npublic interface ChildrenInfoRepository extends JpaRepository<ChildrenInfo,Long>,JpaSpecificationExecutor<ChildrenInfo> {\n\n List<ChildrenInfo> findAllByIdIn(List<Long> id);\n\n List<ChildrenInfo> findAllByParentIdIn(List<Long> id);\n\n ChildrenInfo findOneByParentId(Long id);\n}", "public ArrayList<Template> getTemplates() {\n\t\treturn getPageObjects(Template.class);\n\t}", "public List<TodoItemEntity> findAll(){\n return todoItemRepository.findAll();\n }", "@Override\r\n\tpublic List<Trainee> getAll() {\n\t\treturn dao.getAll();\r\n\t}" ]
[ "0.6001752", "0.59686476", "0.58679163", "0.5840998", "0.5838206", "0.5772609", "0.57361555", "0.56851894", "0.56815344", "0.5666647", "0.5526647", "0.5492345", "0.54694265", "0.5387912", "0.53293246", "0.532303", "0.52316576", "0.5180785", "0.51406544", "0.5134626", "0.51260006", "0.51128024", "0.5103037", "0.5098934", "0.50972766", "0.5076617", "0.5069356", "0.5059197", "0.50542384", "0.50511473", "0.5040403", "0.5035522", "0.50322056", "0.50115615", "0.49807778", "0.49779567", "0.49711323", "0.49632815", "0.49618685", "0.49465477", "0.4946032", "0.4943279", "0.49407282", "0.49337232", "0.49325335", "0.49234274", "0.4920166", "0.4906719", "0.4903505", "0.4895833", "0.4890703", "0.48856026", "0.4884621", "0.48779637", "0.48708117", "0.4868631", "0.4861819", "0.48537537", "0.4853406", "0.48505172", "0.4843169", "0.4836626", "0.4836226", "0.48278508", "0.48254594", "0.48221576", "0.4820937", "0.4812782", "0.48117405", "0.4811702", "0.48046649", "0.48038685", "0.47913343", "0.4790421", "0.47888985", "0.47886518", "0.47873145", "0.47852618", "0.4784203", "0.47783756", "0.47781056", "0.47780353", "0.4772078", "0.47693226", "0.47651947", "0.4764449", "0.47629002", "0.47623017", "0.47613707", "0.47584522", "0.47572452", "0.47568357", "0.47552177", "0.47525832", "0.47509238", "0.47502083", "0.47430056", "0.4742601", "0.474248", "0.47386023" ]
0.6200476
0
methods template folders methods Metadata Insert metadata template
public void templateMetadataInsert(Long idTemplate,Long idFieldLib) { FieldsTemplateLibrary lib = new FieldsTemplateLibrary(); lib.setId(idFieldLib); FieldsMappingMeta metadata = new FieldsMappingMeta(); metadata.setTemplateId(idTemplate); metadata.setFieldsTemplateLibrary(lib); FieldsMappingMetaDAO metaDao = new FieldsMappingMetaDAO(); metaDao.saveNew(metadata); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface CreateInfo {\n\n /**\n * 创建目录容器\n */\n void superContextPath();\n\n}", "public abstract String getImportFromFileTemplate( );", "public abstract String getTemplateName();", "public abstract void mo32008e(TemplateInfo templateInfo);", "public interface IPSTemplateService extends IPSDataService<PSTemplate, PSTemplateSummary, String>\n{\n \n public PSTemplateSummary createNewTemplate(String plainBaseTemplateName, String templateName, String id) throws PSAssemblyException, PSDataServiceException;\n\n \n \n /**\n * The content type name of the page template.\n */\n public static final String TPL_CONTENT_TYPE = \"percPageTemplate\";\n\n\n /**\n * Finds all templates, which includes base and user created templates.\n * \n * @return the templates, never <code>null</code>, but may be empty.\n */\n public List<PSTemplateSummary> findAll() throws IPSGenericDao.LoadException, PSTemplateException;\n \n /**\n * Finds all templates from selected site, which includes base and user created templates.\n * \n * @return the templates, never <code>null</code>, but may be empty.\n * @param siteName accepts the site name from PercSiteTemplatesController.js\n */\n public List<PSTemplateSummary> findAll(String siteName) throws IPSGenericDao.LoadException, PSTemplateException;\n \n /**\n * Finds all user created templates.\n * \n * @return the template summaries, never <code>null</code>, may be empty.\n */\n public List<PSTemplateSummary> findAllUserTemplates() throws PSTemplateException;\n \n /**\n * Loads a list of user template summaries.\n * \n * @param ids a list of IDs of the user templates, not <code>null</code>, but may be empty.\n * \n * @return the loaded template summaries, not <code>null</code>, but may be empty\n */\n public List<PSTemplateSummary> loadUserTemplateSummaries(List<String> ids, String siteName) throws PSTemplateException;\n \n /**\n * Finds all base Templates based on the supplied type.\n * @param type The type of the base templates, may be null or empty. @see IPSTemplateDao for details\n * \n * @return a list of requested Templates. It can never be <code>null</code>,\n * but may be empty. The order of the list is undetermined.\n */\n List<PSTemplateSummary> findBaseTemplates(String type);\n \n /**\n * Creates a template from a name and a specified source template.\n * \n * @param name the name of the created template, may not be blank.\n * @param srcId the ID of the source template, may not be <code>null</code>\n * or empty.\n * \n * @return the ID of the created template, never <code>null</code>.\n * \n * @deprecated use {@link #createTemplate(String, String, String)} instead\n */\n PSTemplateSummary createTemplate(String name, String srcId) throws PSDataServiceException;\n\n /**\n * Save the specified template to the specified site.\n * \n * @param template the to be saved template, not <code>null</code>.\n * @param siteId the ID of the site, it may be <code>null</code> assumed \n * the template has already attached to a site.\n * \n * @return the saved template, never <code>null</code>.\n * \n * @throws PSBeanValidationException if there is any invalid properties in the template.\n * @throws com.percussion.share.service.IPSDataService.DataServiceSaveException if there is any unexpected error.\n */\n public PSTemplate save(PSTemplate template, String siteId) throws PSDataServiceException;\n \n /**\n * Save the specified template to the specified site.\n * \n * @param template the to be saved template, not <code>null</code>.\n * @param siteId the ID of the site, it may be <code>null</code> assumed \n * the template has already attached to a site.\n * @param pageId the ID of a page if the template being saved has been edited with a page and\n * content migration has been executed between the page and template, which requires the page to be \n * validated to exist and to be checked out.\n * \n * @return the saved template, never <code>null</code>.\n * \n * @throws PSBeanValidationException if there is any invalid properties in the template.\n * @throws com.percussion.share.service.IPSDataService.DataServiceSaveException if there is any unexpected error.\n */\n public PSTemplate save(PSTemplate template, String siteId, String pageId) throws PSDataServiceException;\n \n /**\n * Creates a template from a name and a specified source template with no specific type\n * \n * @param name the name of the created template, may not be blank.\n * @param srcId the ID of the source template, may not be <code>null</code>\n * or empty.\n * @param siteId the ID of the site that template belongs to, not blank.\n * \n * @return the ID of the created template, never <code>null</code>.\n */\n PSTemplateSummary createTemplate(String name, String srcId, String siteId) throws PSDataServiceException;\n\n /**\n * Creates a template from a name and a specified source template using an specific type.\n * \n * @param name the name of the created template, may not be blank.\n * @param srcId the ID of the source template, may not be <code>null</code>\n * or empty.\n * @param siteId the ID of the site that template belongs to, not blank.\n * @param type - the type of template to create\n * \n * @return the ID of the created template, never <code>null</code>.\n */\n PSTemplateSummary createTemplate(String name, String srcId, String siteId, PSTemplateTypeEnum type) throws PSDataServiceException;\n\n /**\n * Finds the specified template.\n * \n * @param id the ID of the template item, never <code>null</code>.\n * \n * @return the template item. It may be <code>null</code> if cannot find one.\n */\n PSTemplateSummary find(String id) throws PSDataServiceException;\n \n\n /**\n * Loads the specified template.\n * \n * @param id the ID of the specified template, never <code>null</code>.\n * \n * @return the template with the specified ID, never <code>null</code>.\n */\n PSTemplate load(String id) throws PSDataServiceException;\n \n /**\n * Deletes the specified template if it is not used by any pages.\n * \n * @param id the ID of the specified template, never blank.\n */\n void delete(String id) throws PSDataServiceException, PSNotFoundException;\n \n /**\n * This method is a wrapper to expose as a service the following method:\n * {@link com.percussion.pagemanagement.dao.IPSTemplateDao#getTemplateThumbPath(PSTemplateSummary, String)}\n * \n * For additional information please refer to it.\n * \n */\n public String getTemplateThumbPath(PSTemplateSummary summary, String siteName);\n\n /**\n * Returns PSTemplateMetadata object with the following Data set:\n * additional_head_content\n * code_insert_before_body_close\n * code_insert_after_body_start\n * \n * @param id - long string version of template content id.\n * @return PSTemplateMetadata with the fields from template. Fields may be empty.\n */\n public PSHtmlMetadata loadHtmlMetadata(String id) throws PSDataServiceException;\n \n /**\n * Saves/Replaces The following metadata field of a template\n * additional_head_content\n * code_insert_before_body_close\n * code_insert_after_body_start\n * \n * @param metadata - Object must have id set.\n */\n public void saveHtmlMetadata(PSHtmlMetadata metadata) throws PSDataServiceException;\n \n \n /**\n * Deletes the specified template.\n * \n * @param id the ID of the specified template, never blank.\n * @param force <code>true</code> to delete the template even if it is in use, <code>false</code> otherwise.\n */\n void delete(String id, boolean force) throws PSDataServiceException, PSNotFoundException;\n \n /**\n * Finds the user template with the specified name.\n * \n * @param name never blank.\n * \n * @return the template, never <code>null</code>.\n * @throws DataServiceLoadException if the template cannot be found.\n * \n * @deprecated This is used by unit test only. It cannot be used by production code\n */\n public PSTemplateSummary findUserTemplateByName_UsedByUnitTestOnly(String name) throws PSDataServiceException;\n \n /**\n * Finds the user template for the specified name and site.\n * \n * @param templateName the name of the template in question, not blank.\n * @param siteName the name of the site that template belongs to, not blank.\n * \n * @return the ID of the template. It may be <code>null</code> if such template does not exist.\n */\n public IPSGuid findUserTemplateIdByName(String templateName, String siteName) throws PSValidationException, DataServiceLoadException;\n\n /**\n * Determines if the specified template is currently associated to any pages.\n * \n * @param templateId never blank.\n * \n * @return <code>true</code> if the template is being used by one or more pages, <code>false</code> otherwise.\n */\n public boolean isAssociatedToPages(String templateId) throws PSValidationException;\n\n /**\n * Returns List of ids of pages associated with template.\n *\n * @param templateId never blank.\n *\n * @return List of pageIds if the template is being used by one or more pages.\n */\n public Collection<Integer> getPageIdsForTemplate(String templateId);\n \n /**\n * Returns the template with the specified id and without the content\n * \n * @param id the ID of the site that template belongs to, not blank\n * @param name the name of the template never blank.\n * \n * @return the template, never <code>null</code>.\n * @throws DataServiceLoadException if the template cannot be found.\n */\n public PSTemplate exportTemplate(String id, String name) throws PSValidationException, PSTemplateException;\n \n \n \n \n /**\n * Import the specified template to the specified site.\n * \n * @param template the to be saved template, not <code>null</code>.\n * @param siteId the ID of the site, it may be <code>null</code> assumed \n * the template has already attached to a site.\n * \n * @return the imported template, never <code>null</code>.\n * \n * @throws PSBeanValidationException if there is any invalid properties in the template.\n * @throws com.percussion.share.service.IPSDataService.DataServiceSaveException if there is any unexpected error.\n */\n public PSTemplate importTemplate(PSTemplate template, String siteId) throws PSDataServiceException, IPSPathService.PSPathNotFoundServiceException;\n \n /**\n * (Runtime) Exception is thrown when an unexpected error occurs in this\n * service.\n */\n public static class PSTemplateException extends PSDataServiceException {\n\n /**\n * \n */\n private static final long serialVersionUID = 1L;\n\n /**\n * Default constructor.\n */\n public PSTemplateException() {\n super();\n }\n\n /**\n * Constructs an exception with the specified detail message and the\n * cause.\n * \n * @param message\n * the specified detail message.\n * @param cause\n * the cause of the exception.\n */\n public PSTemplateException(String message, Throwable cause) {\n super(message, cause);\n }\n\n /**\n * Constructs an exception with the specified detail message.\n * \n * @param message\n * the specified detail message.\n */\n public PSTemplateException(String message) {\n super(message);\n }\n\n /**\n * Constructs an exception with the specified cause.\n * \n * @param cause\n * the cause of the exception.\n */\n public PSTemplateException(Throwable cause) {\n super(cause);\n }\n }\n\n}", "protected abstract String getTemplateName();", "protected MetadataUGWD() {/* intentionally empty block */}", "protected abstract IItemMetadata newItemMetadata(Map<String, String> metadata);", "public abstract String getTemplDesc();", "public void createPackageContents() {\r\n\t\tif (isCreated)\r\n\t\t\treturn;\r\n\t\tisCreated = true;\r\n\r\n\t\t// Create classes and their features\r\n\t\tspringProjectEClass = createEClass(SPRING_PROJECT);\r\n\t\tcreateEAttribute(springProjectEClass, SPRING_PROJECT__BASE_PACKAGE);\r\n\t\tcreateEAttribute(springProjectEClass, SPRING_PROJECT__NAME);\r\n\t\tcreateEReference(springProjectEClass, SPRING_PROJECT__DB_SOURCE);\r\n\t\tcreateEReference(springProjectEClass, SPRING_PROJECT__ENTITIES);\r\n\t\tcreateEReference(springProjectEClass, SPRING_PROJECT__CONTROLLERS);\r\n\r\n\t\trestControllerEClass = createEClass(REST_CONTROLLER);\r\n\t\tcreateEAttribute(restControllerEClass, REST_CONTROLLER__NAME);\r\n\t\tcreateEAttribute(restControllerEClass, REST_CONTROLLER__PATH);\r\n\t\tcreateEReference(restControllerEClass, REST_CONTROLLER__USED_ENTITIES);\r\n\t\tcreateEReference(restControllerEClass, REST_CONTROLLER__MAPPINGS);\r\n\r\n\t\trestMappingEClass = createEClass(REST_MAPPING);\r\n\t\tcreateEAttribute(restMappingEClass, REST_MAPPING__PATH);\r\n\t\tcreateEAttribute(restMappingEClass, REST_MAPPING__NAME);\r\n\t\tcreateEReference(restMappingEClass, REST_MAPPING__USED_ENTITY);\r\n\t\tcreateEAttribute(restMappingEClass, REST_MAPPING__BODY);\r\n\r\n\t\tgetMappingEClass = createEClass(GET_MAPPING);\r\n\r\n\t\tpostMappingEClass = createEClass(POST_MAPPING);\r\n\t\tcreateEReference(postMappingEClass, POST_MAPPING__PARAMETERS);\r\n\r\n\t\tentityEClass = createEClass(ENTITY);\r\n\t\tcreateEReference(entityEClass, ENTITY__SUPER_CLASS);\r\n\t\tcreateEAttribute(entityEClass, ENTITY__NAME);\r\n\t\tcreateEAttribute(entityEClass, ENTITY__GENERATE_REPOSITORY);\r\n\t\tcreateEReference(entityEClass, ENTITY__FIELDS);\r\n\t\tcreateEReference(entityEClass, ENTITY__MAPPING);\r\n\r\n\t\tmappingEClass = createEClass(MAPPING);\r\n\t\tcreateEAttribute(mappingEClass, MAPPING__NAME);\r\n\t\tcreateEReference(mappingEClass, MAPPING__ENTITY);\r\n\t\tcreateEAttribute(mappingEClass, MAPPING__IS_LIST);\r\n\t\tcreateEReference(mappingEClass, MAPPING__MAPPING_TYPE);\r\n\r\n\t\tmappingTypeEClass = createEClass(MAPPING_TYPE);\r\n\t\tcreateEAttribute(mappingTypeEClass, MAPPING_TYPE__CASCADE);\r\n\t\tcreateEReference(mappingTypeEClass, MAPPING_TYPE__MAPPED_BY);\r\n\r\n\t\toneToManyEClass = createEClass(ONE_TO_MANY);\r\n\r\n\t\tmanyToOneEClass = createEClass(MANY_TO_ONE);\r\n\r\n\t\tmanyToManyEClass = createEClass(MANY_TO_MANY);\r\n\t\tcreateEAttribute(manyToManyEClass, MANY_TO_MANY__JOIN_TABLE_NAME);\r\n\t\tcreateEAttribute(manyToManyEClass, MANY_TO_MANY__JOIN_COLUMNS);\r\n\t\tcreateEAttribute(manyToManyEClass, MANY_TO_MANY__INVERSE_JOIN_COLUMNS);\r\n\r\n\t\toneToOneEClass = createEClass(ONE_TO_ONE);\r\n\r\n\t\tfieldEClass = createEClass(FIELD);\r\n\t\tcreateEAttribute(fieldEClass, FIELD__IS_ID);\r\n\t\tcreateEAttribute(fieldEClass, FIELD__NAME);\r\n\t\tcreateEAttribute(fieldEClass, FIELD__DATATYPE);\r\n\r\n\t\tdbSourceEClass = createEClass(DB_SOURCE);\r\n\t\tcreateEAttribute(dbSourceEClass, DB_SOURCE__ENABLE_CONSOLE);\r\n\t\tcreateEAttribute(dbSourceEClass, DB_SOURCE__WEB_ALLOW_OOTHERS);\r\n\t\tcreateEAttribute(dbSourceEClass, DB_SOURCE__CONSOLE_PATH);\r\n\t\tcreateEAttribute(dbSourceEClass, DB_SOURCE__URL);\r\n\t\tcreateEAttribute(dbSourceEClass, DB_SOURCE__USER);\r\n\t\tcreateEAttribute(dbSourceEClass, DB_SOURCE__PASSWORD);\r\n\t\tcreateEAttribute(dbSourceEClass, DB_SOURCE__DRIVE_CLASS_NAME);\r\n\t\tcreateEAttribute(dbSourceEClass, DB_SOURCE__SERVER_PORT);\r\n\r\n\t\t// Create enums\r\n\t\tcascadeEEnum = createEEnum(CASCADE);\r\n\t}", "protected void createExtendedMetaDataAnnotations() {\n\t\tString source = \"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\";\t\n\t\taddAnnotation\n\t\t (getJClass_Operations(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"simple\"\n\t\t });\n\t}", "public void createPackageContents() {\n\t\tif (isCreated) return;\n\t\tisCreated = true;\n\n\t\t// Create classes and their features\n\t\tmetadataEClass = createEClass(METADATA);\n\t\tcreateEAttribute(metadataEClass, METADATA__GAMENAME);\n\t\tcreateEAttribute(metadataEClass, METADATA__SHORTNAME);\n\t\tcreateEAttribute(metadataEClass, METADATA__TIMING);\n\t\tcreateEAttribute(metadataEClass, METADATA__ADRESSING);\n\t\tcreateEAttribute(metadataEClass, METADATA__CARTRIDGE_TYPE);\n\t\tcreateEAttribute(metadataEClass, METADATA__ROM_SIZE);\n\t\tcreateEAttribute(metadataEClass, METADATA__RAM_SIZE);\n\t\tcreateEAttribute(metadataEClass, METADATA__LICENSEE);\n\t\tcreateEAttribute(metadataEClass, METADATA__COUNTRY);\n\t\tcreateEAttribute(metadataEClass, METADATA__VIDEOFORMAT);\n\t\tcreateEAttribute(metadataEClass, METADATA__VERSION);\n\t\tcreateEAttribute(metadataEClass, METADATA__IDE_VERSION);\n\t}", "public interface MetadataService extends CrudService<Metadata, Integer>{\n\tMetadata createContentOfMetadata(Metadata metadata);\n}", "protected void createContents() {\n\n\t}", "public void newFileCreated(OpenDefinitionsDocument doc) { }", "public void newFileCreated(OpenDefinitionsDocument doc) { }", "protected void createCommandMetadata(SpaceSystemType spaceSystem) throws CCDDException\n {\n // Set the flag assuming the internal method is used\n boolean useInternal = true;\n\n // Check if an external method is to be used\n if (invocable != null)\n {\n try\n {\n // Execute the external method\n invocable.invokeFunction(\"createCommandMetadata\", factory, spaceSystem);\n\n // Set the flag to indicate the internal method is not used\n useInternal = false;\n }\n catch (NoSuchMethodException nsme)\n {\n // The script method couldn't be located in the script; use the internal method\n // instead\n }\n catch (Exception e)\n {\n throw new CCDDException(\"Error in script function '</b>createCommandMetadata<b>'; cause '</b>\"\n + e.getMessage() + \"<b>'\");\n }\n }\n\n // Check if the internal method is used\n if (useInternal)\n {\n spaceSystem.setCommandMetaData(factory.createCommandMetaDataType());\n spaceSystem.getCommandMetaData().setMetaCommandSet(factory.createCommandMetaDataTypeMetaCommandSet());\n }\n }", "void mo25968e(TemplateInfo templateInfo);", "void mo25969f(TemplateInfo templateInfo);", "private void setTemplateFile() throws IOException, BusinessException, ObjectNotFoundException, JackrabbitException,\n CertitoolsAuthorizationException, BadElementException {\n super.setFolder(folder);\n if (fileTemplate1 != null) {\n String folderPath;\n if (insertFolderFlag) {\n folderPath = folderId + \"/folders/\" + folder.getName();\n } else {\n folderPath = PlanUtils.getParentPath(folderId) + \"/folders/\" + folder.getName();\n }\n\n Template1Diagram template1Diagram = new Template1Diagram(new Resource(\"/\" + fileTemplate1.getFileName(),\n fileTemplate1.getFileName(),\n fileTemplate1.getContentType(), fileTemplate1.getInputStream(),\n \"\" + fileTemplate1.getSize(), true),\n PlanUtils.convertResourceToHTML(folderPath, getContext().getRequest().getContextPath(),\n getModuleTypeFromEnum()));\n if (replaceImageMap == null) {\n replaceImageMap = Boolean.FALSE;\n }\n if (!insertFolderFlag && !replaceImageMap) {\n\n Folder previousVersion =\n planService.findFolder(folderId, true, getUserInSession(), getModuleTypeFromEnum());\n try {\n TemplateWithImage previousTemplate = (TemplateWithImage) previousVersion.getTemplate();\n String htmlContent = template.getImageMap();\n Image newImage = TemplateWithImageUtils.getImage(fileTemplate1.getInputStream());\n Image oldImage = TemplateWithImageUtils.getImage(previousTemplate.getResource().getData());\n\n String unescapedHtml = StringEscapeUtils.unescapeHtml(htmlContent);\n\n String htmlResultContent = TemplateWithImageUtils.resizeImageMap(unescapedHtml, oldImage, newImage);\n\n if(htmlResultContent != null){\n template1Diagram.setImageMap(htmlResultContent);\n }\n } catch (ClassCastException ex) {\n //Do nothing\n }\n }\n super.setTemplateToFolder(template1Diagram);\n\n } else {\n Folder dbFolder = planService.findFolder(folderId, false, getUserInSession(), getModuleTypeFromEnum());\n //User does not changed template\n if (dbFolder.getTemplate().getName().equals(Template.Type.TEMPLATE_DIAGRAM.getName())) {\n Template1Diagram dbTemplate1Diagram = (Template1Diagram) dbFolder.getTemplate();\n //set old resource and update image Map\n super.setTemplateToFolder(\n new Template1Diagram(dbTemplate1Diagram.getResource(), template.getImageMap()));\n } else {\n //User changed template to this one, and do not upload image, so create empty template\n super.setTemplateToFolder(new Template1Diagram());\n }\n }\n }", "public abstract void addCustomPages();", "public void createPackageContents() {\n\t\tif (isCreated) return;\n\t\tisCreated = true;\n\n\t\t// Create classes and their features\n\t\ttextualRepresentationEClass = createEClass(TEXTUAL_REPRESENTATION);\n\t\tcreateEReference(textualRepresentationEClass, TEXTUAL_REPRESENTATION__BASE_COMMENT);\n\t\tcreateEAttribute(textualRepresentationEClass, TEXTUAL_REPRESENTATION__LANGUAGE);\n\t}", "public void setTemplate(MetaData mdTemplate) throws IOException;", "protected void addMetadataFieldsFromParameters() {\n for (Map.Entry<String, String> e: parameters.entrySet()) {\n if (e.getKey().startsWith(\"meta-\")) {\n String fieldName = e.getKey().substring(5);\n String fieldValue = e.getValue();\n currentDoc.addTextualMetadataField(fieldName, fieldValue, getDocWriter().metadataFieldType(false));\n }\n }\n }", "@Override\n public void generateAll(AdviceHook hook) {\n super.generateAll(hook);\n // now the VMA advice templates\n generateStackAdjustTemplates();\n generateShortConstTemplates();\n generateConstTemplates();\n generateLDCTemplates();\n generateLoadTemplates();\n generateStoreTemplates();\n generateIINC();\n generateIfTemplates();\n generateIfCmpTemplates();\n generateGotoTemplates();\n// generateInvokeAfterTemplates();\n }", "protected abstract void instantiateDataForAddNewTemplate (AsyncCallback<DATA> callbackOnSampleCreated) ;", "protected void createExtendedMetaDataAnnotations() {\n\t\tString source = \"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\";\t\t\n\t\taddAnnotation\n\t\t (controlEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"name\", \"control\",\n\t\t\t \"kind\", \"elementOnly\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_Midi(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"element\",\n\t\t\t \"name\", \"midi\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_Background(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"background\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_Centered(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"centered\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_Color(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"color\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_H(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"h\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_Inverted(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"inverted\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_InvertedX(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"inverted_x\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_InvertedY(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"inverted_y\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_LocalOff(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"local_off\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_Name(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"name\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_Number(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"number\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_NumberX(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"number_x\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_NumberY(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"number_y\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_OscCs(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"osc_cs\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_Outline(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"outline\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_Response(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"response\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_Scalef(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"scalef\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_Scalet(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"scalet\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_Seconds(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"seconds\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_Size(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"size\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_Text(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"text\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_Type(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"type\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_W(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"w\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_X(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"x\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_Y(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"y\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (layoutEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"name\", \"layout\",\n\t\t\t \"kind\", \"elementOnly\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getLayout_Tabpage(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"element\",\n\t\t\t \"name\", \"tabpage\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getLayout_Mode(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"mode\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getLayout_Orientation(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"orientation\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getLayout_Version(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"version\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (midiEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"name\", \"midi\",\n\t\t\t \"kind\", \"empty\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getMidi_Channel(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"channel\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getMidi_Data1(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"data1\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getMidi_Data2f(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"data2f\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getMidi_Data2t(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"data2t\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getMidi_Type(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"type\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getMidi_Var(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"var\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (tabpageEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"name\", \"tabpage\",\n\t\t\t \"kind\", \"elementOnly\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getTabpage_Control(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"element\",\n\t\t\t \"name\", \"control\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getTabpage_Name(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"name\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (topEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"name\", \"TOP\",\n\t\t\t \"kind\", \"elementOnly\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getTOP_Layout(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"element\",\n\t\t\t \"name\", \"layout\"\n\t\t });\n\t}", "private void createNameTokensFieldAndMethods() {\n if (!presenterConfigModel.isUsePlace()) {\n return;\n }\n\n PsiClass unitNameTokens = presenterConfigModel.getNameTokenPsiClass();\n if (unitNameTokens == null) {\n logger.info(\"createNameTokensFieldAndMethods: skipping creating nametokens methods.\");\n return;\n }\n\n addMethodsToNameTokens(unitNameTokens);\n }", "public void createPackageContents()\n\t{\n\t\tif (isCreated) return;\n\t\tisCreated = true;\n\n\t\t// Create data types\n\t\tfeatureNotFoundExceptionEDataType = createEDataType(FEATURE_NOT_FOUND_EXCEPTION);\n\t}", "public void createPackageContents()\n {\n if (isCreated) return;\n isCreated = true;\n\n // Create classes and their features\n persistEClass = createEClass(PERSIST);\n createEAttribute(persistEClass, PERSIST__MODEL);\n createEReference(persistEClass, PERSIST__STATEMENTS);\n\n ruleStatementEClass = createEClass(RULE_STATEMENT);\n createEAttribute(ruleStatementEClass, RULE_STATEMENT__ID);\n createEReference(ruleStatementEClass, RULE_STATEMENT__RULES);\n\n forEachStatementEClass = createEClass(FOR_EACH_STATEMENT);\n createEReference(forEachStatementEClass, FOR_EACH_STATEMENT__CLASS);\n createEReference(forEachStatementEClass, FOR_EACH_STATEMENT__CONTENTS);\n createEReference(forEachStatementEClass, FOR_EACH_STATEMENT__CALLS);\n\n createStatementEClass = createEClass(CREATE_STATEMENT);\n createEReference(createStatementEClass, CREATE_STATEMENT__NAME);\n\n createFolderStatementEClass = createEClass(CREATE_FOLDER_STATEMENT);\n createEReference(createFolderStatementEClass, CREATE_FOLDER_STATEMENT__CONTENTS);\n createEReference(createFolderStatementEClass, CREATE_FOLDER_STATEMENT__CALLS);\n\n createFileStatementEClass = createEClass(CREATE_FILE_STATEMENT);\n createEReference(createFileStatementEClass, CREATE_FILE_STATEMENT__INCLUDED_REFERENCING);\n createEReference(createFileStatementEClass, CREATE_FILE_STATEMENT__INCLUDED_ATTRIBUTES);\n\n fileNameEClass = createEClass(FILE_NAME);\n createEAttribute(fileNameEClass, FILE_NAME__PREFIX);\n createEReference(fileNameEClass, FILE_NAME__ATTR);\n createEReference(fileNameEClass, FILE_NAME__RIGHT);\n\n includeStatementEClass = createEClass(INCLUDE_STATEMENT);\n createEReference(includeStatementEClass, INCLUDE_STATEMENT__INCLUDED);\n\n withStatementEClass = createEClass(WITH_STATEMENT);\n createEReference(withStatementEClass, WITH_STATEMENT__INCLUDED);\n\n callStatementEClass = createEClass(CALL_STATEMENT);\n createEAttribute(callStatementEClass, CALL_STATEMENT__RULES);\n\n eClassNameEClass = createEClass(ECLASS_NAME);\n createEAttribute(eClassNameEClass, ECLASS_NAME__BASE);\n createEAttribute(eClassNameEClass, ECLASS_NAME__FIELDS);\n\n eAttributeNameEClass = createEClass(EATTRIBUTE_NAME);\n createEAttribute(eAttributeNameEClass, EATTRIBUTE_NAME__BASE);\n createEAttribute(eAttributeNameEClass, EATTRIBUTE_NAME__FIELDS);\n\n eReferenceNameEClass = createEClass(EREFERENCE_NAME);\n createEAttribute(eReferenceNameEClass, EREFERENCE_NAME__BASE);\n createEAttribute(eReferenceNameEClass, EREFERENCE_NAME__FIELDS);\n }", "public void createPackageContents() {\n\t\tif (isCreated) return;\n\t\tisCreated = true;\n\n\t\t// Create classes and their features\n\t\tinvoiceEClass = createEClass(INVOICE);\n\t\tcreateEAttribute(invoiceEClass, INVOICE__INVOICE_ID);\n\t\tcreateEReference(invoiceEClass, INVOICE__BILLING_ACCOUNT);\n\t\tcreateEReference(invoiceEClass, INVOICE__CONTACT_MECH);\n\t\tcreateEReference(invoiceEClass, INVOICE__CURRENCY_UOM);\n\t\tcreateEAttribute(invoiceEClass, INVOICE__DESCRIPTION);\n\t\tcreateEAttribute(invoiceEClass, INVOICE__DUE_DATE);\n\t\tcreateEReference(invoiceEClass, INVOICE__INVOICE_ATTRIBUTES);\n\t\tcreateEAttribute(invoiceEClass, INVOICE__INVOICE_DATE);\n\t\tcreateEReference(invoiceEClass, INVOICE__INVOICE_ITEMS);\n\t\tcreateEAttribute(invoiceEClass, INVOICE__INVOICE_MESSAGE);\n\t\tcreateEReference(invoiceEClass, INVOICE__INVOICE_NOTES);\n\t\tcreateEReference(invoiceEClass, INVOICE__INVOICE_STATUSES);\n\t\tcreateEReference(invoiceEClass, INVOICE__INVOICE_TYPE);\n\t\tcreateEAttribute(invoiceEClass, INVOICE__PAID_DATE);\n\t\tcreateEReference(invoiceEClass, INVOICE__PARTY);\n\t\tcreateEReference(invoiceEClass, INVOICE__PARTY_ID_FROM);\n\t\tcreateEReference(invoiceEClass, INVOICE__RECURRENCE_INFO);\n\t\tcreateEAttribute(invoiceEClass, INVOICE__REFERENCE_NUMBER);\n\t\tcreateEReference(invoiceEClass, INVOICE__ROLE_TYPE);\n\t\tcreateEReference(invoiceEClass, INVOICE__STATUS);\n\n\t\tinvoiceAttributeEClass = createEClass(INVOICE_ATTRIBUTE);\n\t\tcreateEReference(invoiceAttributeEClass, INVOICE_ATTRIBUTE__INVOICE);\n\t\tcreateEAttribute(invoiceAttributeEClass, INVOICE_ATTRIBUTE__ATTR_NAME);\n\t\tcreateEAttribute(invoiceAttributeEClass, INVOICE_ATTRIBUTE__ATTR_DESCRIPTION);\n\t\tcreateEAttribute(invoiceAttributeEClass, INVOICE_ATTRIBUTE__ATTR_VALUE);\n\n\t\tinvoiceContactMechEClass = createEClass(INVOICE_CONTACT_MECH);\n\t\tcreateEReference(invoiceContactMechEClass, INVOICE_CONTACT_MECH__INVOICE);\n\t\tcreateEReference(invoiceContactMechEClass, INVOICE_CONTACT_MECH__CONTACT_MECH);\n\t\tcreateEReference(invoiceContactMechEClass, INVOICE_CONTACT_MECH__CONTACT_MECH_PURPOSE_TYPE);\n\n\t\tinvoiceContentEClass = createEClass(INVOICE_CONTENT);\n\t\tcreateEReference(invoiceContentEClass, INVOICE_CONTENT__INVOICE);\n\t\tcreateEReference(invoiceContentEClass, INVOICE_CONTENT__CONTENT);\n\t\tcreateEReference(invoiceContentEClass, INVOICE_CONTENT__INVOICE_CONTENT_TYPE);\n\t\tcreateEAttribute(invoiceContentEClass, INVOICE_CONTENT__FROM_DATE);\n\t\tcreateEAttribute(invoiceContentEClass, INVOICE_CONTENT__THRU_DATE);\n\n\t\tinvoiceContentTypeEClass = createEClass(INVOICE_CONTENT_TYPE);\n\t\tcreateEAttribute(invoiceContentTypeEClass, INVOICE_CONTENT_TYPE__INVOICE_CONTENT_TYPE_ID);\n\t\tcreateEAttribute(invoiceContentTypeEClass, INVOICE_CONTENT_TYPE__DESCRIPTION);\n\t\tcreateEAttribute(invoiceContentTypeEClass, INVOICE_CONTENT_TYPE__HAS_TABLE);\n\t\tcreateEReference(invoiceContentTypeEClass, INVOICE_CONTENT_TYPE__PARENT_TYPE);\n\n\t\tinvoiceItemEClass = createEClass(INVOICE_ITEM);\n\t\tcreateEReference(invoiceItemEClass, INVOICE_ITEM__INVOICE);\n\t\tcreateEAttribute(invoiceItemEClass, INVOICE_ITEM__INVOICE_ITEM_SEQ_ID);\n\t\tcreateEAttribute(invoiceItemEClass, INVOICE_ITEM__AMOUNT);\n\t\tcreateEAttribute(invoiceItemEClass, INVOICE_ITEM__DESCRIPTION);\n\t\tcreateEReference(invoiceItemEClass, INVOICE_ITEM__INVENTORY_ITEM);\n\t\tcreateEReference(invoiceItemEClass, INVOICE_ITEM__INVOICE_ITEM_TYPE);\n\t\tcreateEReference(invoiceItemEClass, INVOICE_ITEM__OVERRIDE_GL_ACCOUNT);\n\t\tcreateEReference(invoiceItemEClass, INVOICE_ITEM__OVERRIDE_ORG_PARTY);\n\t\tcreateEAttribute(invoiceItemEClass, INVOICE_ITEM__PARENT_INVOICE_ID);\n\t\tcreateEAttribute(invoiceItemEClass, INVOICE_ITEM__PARENT_INVOICE_ITEM_SEQ_ID);\n\t\tcreateEReference(invoiceItemEClass, INVOICE_ITEM__PRODUCT);\n\t\tcreateEReference(invoiceItemEClass, INVOICE_ITEM__PRODUCT_FEATURE);\n\t\tcreateEAttribute(invoiceItemEClass, INVOICE_ITEM__QUANTITY);\n\t\tcreateEReference(invoiceItemEClass, INVOICE_ITEM__SALES_OPPORTUNITY);\n\t\tcreateEReference(invoiceItemEClass, INVOICE_ITEM__TAX_AUTH_GEO);\n\t\tcreateEReference(invoiceItemEClass, INVOICE_ITEM__TAX_AUTH_PARTY);\n\t\tcreateEReference(invoiceItemEClass, INVOICE_ITEM__TAX_AUTHORITY_RATE_SEQ);\n\t\tcreateEAttribute(invoiceItemEClass, INVOICE_ITEM__TAXABLE_FLAG);\n\t\tcreateEReference(invoiceItemEClass, INVOICE_ITEM__UOM);\n\n\t\tinvoiceItemAssocEClass = createEClass(INVOICE_ITEM_ASSOC);\n\t\tcreateEReference(invoiceItemAssocEClass, INVOICE_ITEM_ASSOC__INVOICE_ITEM_ASSOC_TYPE);\n\t\tcreateEAttribute(invoiceItemAssocEClass, INVOICE_ITEM_ASSOC__FROM_DATE);\n\t\tcreateEAttribute(invoiceItemAssocEClass, INVOICE_ITEM_ASSOC__INVOICE_ID_FROM);\n\t\tcreateEAttribute(invoiceItemAssocEClass, INVOICE_ITEM_ASSOC__INVOICE_ID_TO);\n\t\tcreateEAttribute(invoiceItemAssocEClass, INVOICE_ITEM_ASSOC__INVOICE_ITEM_SEQ_ID_FROM);\n\t\tcreateEAttribute(invoiceItemAssocEClass, INVOICE_ITEM_ASSOC__INVOICE_ITEM_SEQ_ID_TO);\n\t\tcreateEAttribute(invoiceItemAssocEClass, INVOICE_ITEM_ASSOC__AMOUNT);\n\t\tcreateEReference(invoiceItemAssocEClass, INVOICE_ITEM_ASSOC__PARTY_ID_FROM);\n\t\tcreateEReference(invoiceItemAssocEClass, INVOICE_ITEM_ASSOC__PARTY_ID_TO);\n\t\tcreateEAttribute(invoiceItemAssocEClass, INVOICE_ITEM_ASSOC__QUANTITY);\n\t\tcreateEAttribute(invoiceItemAssocEClass, INVOICE_ITEM_ASSOC__THRU_DATE);\n\n\t\tinvoiceItemAssocTypeEClass = createEClass(INVOICE_ITEM_ASSOC_TYPE);\n\t\tcreateEAttribute(invoiceItemAssocTypeEClass, INVOICE_ITEM_ASSOC_TYPE__INVOICE_ITEM_ASSOC_TYPE_ID);\n\t\tcreateEAttribute(invoiceItemAssocTypeEClass, INVOICE_ITEM_ASSOC_TYPE__DESCRIPTION);\n\t\tcreateEAttribute(invoiceItemAssocTypeEClass, INVOICE_ITEM_ASSOC_TYPE__HAS_TABLE);\n\t\tcreateEReference(invoiceItemAssocTypeEClass, INVOICE_ITEM_ASSOC_TYPE__PARENT_TYPE);\n\n\t\tinvoiceItemAttributeEClass = createEClass(INVOICE_ITEM_ATTRIBUTE);\n\t\tcreateEAttribute(invoiceItemAttributeEClass, INVOICE_ITEM_ATTRIBUTE__ATTR_NAME);\n\t\tcreateEAttribute(invoiceItemAttributeEClass, INVOICE_ITEM_ATTRIBUTE__INVOICE_ID);\n\t\tcreateEAttribute(invoiceItemAttributeEClass, INVOICE_ITEM_ATTRIBUTE__INVOICE_ITEM_SEQ_ID);\n\t\tcreateEAttribute(invoiceItemAttributeEClass, INVOICE_ITEM_ATTRIBUTE__ATTR_DESCRIPTION);\n\t\tcreateEAttribute(invoiceItemAttributeEClass, INVOICE_ITEM_ATTRIBUTE__ATTR_VALUE);\n\n\t\tinvoiceItemTypeEClass = createEClass(INVOICE_ITEM_TYPE);\n\t\tcreateEAttribute(invoiceItemTypeEClass, INVOICE_ITEM_TYPE__INVOICE_ITEM_TYPE_ID);\n\t\tcreateEReference(invoiceItemTypeEClass, INVOICE_ITEM_TYPE__DEFAULT_GL_ACCOUNT);\n\t\tcreateEAttribute(invoiceItemTypeEClass, INVOICE_ITEM_TYPE__DESCRIPTION);\n\t\tcreateEAttribute(invoiceItemTypeEClass, INVOICE_ITEM_TYPE__HAS_TABLE);\n\t\tcreateEReference(invoiceItemTypeEClass, INVOICE_ITEM_TYPE__INVOICE_ITEM_TYPE_ATTRS);\n\t\tcreateEReference(invoiceItemTypeEClass, INVOICE_ITEM_TYPE__INVOICE_ITEM_TYPE_GL_ACCOUNTS);\n\t\tcreateEReference(invoiceItemTypeEClass, INVOICE_ITEM_TYPE__PARENT_TYPE);\n\n\t\tinvoiceItemTypeAttrEClass = createEClass(INVOICE_ITEM_TYPE_ATTR);\n\t\tcreateEReference(invoiceItemTypeAttrEClass, INVOICE_ITEM_TYPE_ATTR__INVOICE_ITEM_TYPE);\n\t\tcreateEAttribute(invoiceItemTypeAttrEClass, INVOICE_ITEM_TYPE_ATTR__ATTR_NAME);\n\t\tcreateEAttribute(invoiceItemTypeAttrEClass, INVOICE_ITEM_TYPE_ATTR__DESCRIPTION);\n\n\t\tinvoiceItemTypeGlAccountEClass = createEClass(INVOICE_ITEM_TYPE_GL_ACCOUNT);\n\t\tcreateEReference(invoiceItemTypeGlAccountEClass, INVOICE_ITEM_TYPE_GL_ACCOUNT__INVOICE_ITEM_TYPE);\n\t\tcreateEReference(invoiceItemTypeGlAccountEClass, INVOICE_ITEM_TYPE_GL_ACCOUNT__ORGANIZATION_PARTY);\n\t\tcreateEReference(invoiceItemTypeGlAccountEClass, INVOICE_ITEM_TYPE_GL_ACCOUNT__GL_ACCOUNT);\n\n\t\tinvoiceItemTypeMapEClass = createEClass(INVOICE_ITEM_TYPE_MAP);\n\t\tcreateEReference(invoiceItemTypeMapEClass, INVOICE_ITEM_TYPE_MAP__INVOICE_TYPE);\n\t\tcreateEAttribute(invoiceItemTypeMapEClass, INVOICE_ITEM_TYPE_MAP__INVOICE_ITEM_MAP_KEY);\n\t\tcreateEReference(invoiceItemTypeMapEClass, INVOICE_ITEM_TYPE_MAP__INVOICE_ITEM_TYPE);\n\n\t\tinvoiceNoteEClass = createEClass(INVOICE_NOTE);\n\t\tcreateEReference(invoiceNoteEClass, INVOICE_NOTE__INVOICE);\n\n\t\tinvoiceRoleEClass = createEClass(INVOICE_ROLE);\n\t\tcreateEReference(invoiceRoleEClass, INVOICE_ROLE__INVOICE);\n\t\tcreateEReference(invoiceRoleEClass, INVOICE_ROLE__PARTY);\n\t\tcreateEReference(invoiceRoleEClass, INVOICE_ROLE__ROLE_TYPE);\n\t\tcreateEAttribute(invoiceRoleEClass, INVOICE_ROLE__DATETIME_PERFORMED);\n\t\tcreateEAttribute(invoiceRoleEClass, INVOICE_ROLE__PERCENTAGE);\n\n\t\tinvoiceStatusEClass = createEClass(INVOICE_STATUS);\n\t\tcreateEReference(invoiceStatusEClass, INVOICE_STATUS__STATUS);\n\t\tcreateEReference(invoiceStatusEClass, INVOICE_STATUS__INVOICE);\n\t\tcreateEAttribute(invoiceStatusEClass, INVOICE_STATUS__STATUS_DATE);\n\t\tcreateEReference(invoiceStatusEClass, INVOICE_STATUS__CHANGE_BY_USER_LOGIN);\n\n\t\tinvoiceTermEClass = createEClass(INVOICE_TERM);\n\t\tcreateEAttribute(invoiceTermEClass, INVOICE_TERM__INVOICE_TERM_ID);\n\t\tcreateEAttribute(invoiceTermEClass, INVOICE_TERM__DESCRIPTION);\n\t\tcreateEReference(invoiceTermEClass, INVOICE_TERM__INVOICE);\n\t\tcreateEAttribute(invoiceTermEClass, INVOICE_TERM__INVOICE_ITEM_SEQ_ID);\n\t\tcreateEReference(invoiceTermEClass, INVOICE_TERM__INVOICE_TERM_ATTRIBUTES);\n\t\tcreateEAttribute(invoiceTermEClass, INVOICE_TERM__TERM_DAYS);\n\t\tcreateEReference(invoiceTermEClass, INVOICE_TERM__TERM_TYPE);\n\t\tcreateEAttribute(invoiceTermEClass, INVOICE_TERM__TERM_VALUE);\n\t\tcreateEAttribute(invoiceTermEClass, INVOICE_TERM__TEXT_VALUE);\n\t\tcreateEAttribute(invoiceTermEClass, INVOICE_TERM__UOM_ID);\n\n\t\tinvoiceTermAttributeEClass = createEClass(INVOICE_TERM_ATTRIBUTE);\n\t\tcreateEReference(invoiceTermAttributeEClass, INVOICE_TERM_ATTRIBUTE__INVOICE_TERM);\n\t\tcreateEAttribute(invoiceTermAttributeEClass, INVOICE_TERM_ATTRIBUTE__ATTR_NAME);\n\t\tcreateEAttribute(invoiceTermAttributeEClass, INVOICE_TERM_ATTRIBUTE__ATTR_DESCRIPTION);\n\t\tcreateEAttribute(invoiceTermAttributeEClass, INVOICE_TERM_ATTRIBUTE__ATTR_VALUE);\n\n\t\tinvoiceTypeEClass = createEClass(INVOICE_TYPE);\n\t\tcreateEAttribute(invoiceTypeEClass, INVOICE_TYPE__INVOICE_TYPE_ID);\n\t\tcreateEAttribute(invoiceTypeEClass, INVOICE_TYPE__DESCRIPTION);\n\t\tcreateEAttribute(invoiceTypeEClass, INVOICE_TYPE__HAS_TABLE);\n\t\tcreateEReference(invoiceTypeEClass, INVOICE_TYPE__INVOICE_TYPE_ATTRS);\n\t\tcreateEReference(invoiceTypeEClass, INVOICE_TYPE__PARENT_TYPE);\n\n\t\tinvoiceTypeAttrEClass = createEClass(INVOICE_TYPE_ATTR);\n\t\tcreateEReference(invoiceTypeAttrEClass, INVOICE_TYPE_ATTR__INVOICE_TYPE);\n\t\tcreateEAttribute(invoiceTypeAttrEClass, INVOICE_TYPE_ATTR__ATTR_NAME);\n\t\tcreateEAttribute(invoiceTypeAttrEClass, INVOICE_TYPE_ATTR__DESCRIPTION);\n\t}", "@Override\n public String getServletInfo() {\n return \"Adds document\";\n }", "public interface DataDescriptorSampleGenerator {\n\n /**\n * Whether this sample generator supports given descriptor object.\n *\n * @param descriptor to generate sample for\n *\n * @return true if supports\n */\n boolean supports(Object descriptor);\n\n /**\n * Generate a sample/template import file\n *\n * @param descriptor to generate sample for\n *\n * @return template file name and content (defines aas list as implementation can add supporting files such as\n * readme files of XSD)\n */\n List<Pair<String, byte[]>> generateSample(Object descriptor);\n\n}", "public void addEntityMetadata() throws Exception {\n\n\t\tEntityMetadata entity = new EntityMetadata(entityType, false);\n\t\tentity.setRepositoryInstance(\"OperationalDB\");\n\t\tentity.setProviderType(\"RDBMSDataProvider\");\n\n\t\tMap<String, List<String>> providerParams = new HashMap<String, List<String>>();\n\t\tproviderParams.put(\"table\",\n\t\t\t\tArrays.asList(new String[] { \"APPLICATION_OBJECT\" }));\n\t\tproviderParams.put(\"id_column\", Arrays.asList(new String[] { \"ID\" }));\n\t\tproviderParams.put(\"id_type\", Arrays.asList(new String[] { \"guid\" }));\n\t\tproviderParams.put(\"optimistic_locking\",\n\t\t\t\tArrays.asList(new String[] { \"false\" }));\n\t\tproviderParams.put(\"flex_searchable_string_prefix\",\n\t\t\t\tArrays.asList(new String[] { \"I_VC\" }));\n\t\tproviderParams.put(\"flex_non_searchable_string_prefix\",\n\t\t\t\tArrays.asList(new String[] { \"U_VC\" }));\n\t\tproviderParams.put(\"flex_searchable_date_prefix\",\n\t\t\t\tArrays.asList(new String[] { \"I_DT\" }));\n\t\tproviderParams.put(\"flex_non_searchable_date_prefix\",\n\t\t\t\tArrays.asList(new String[] { \"U_DT\" }));\n\t\tproviderParams.put(\"flex_searchable_number_prefix\",\n\t\t\t\tArrays.asList(new String[] { \"I_NUM\" }));\n\t\tproviderParams.put(\"flex_non_searchable_number_prefix\",\n\t\t\t\tArrays.asList(new String[] { \"U_NUM\" }));\n\t\tproviderParams.put(\"flex_blob_prefix\",\n\t\t\t\tArrays.asList(new String[] { \"U_BLOB\" }));\n\n\t\tentity.setProviderParameters(providerParams);\n\t\tentity.setContainer(false);\n\n\t\tHashMap<String, Map<String, String>> metadataAttachments = new HashMap<String, Map<String, String>>();\n\t\tMap<String, String> prop = new HashMap<String, String>();\n\t\tprop.put(\"isEncrypted\", \"false\");\n\t\tmetadataAttachments.put(\"properties\", prop);\n\t\tAttributeDefinition attrDef = null;\n\t\tFieldDefinition fieldDef = null;\n\n\t\t// parameters: name, type, description, isRequired, isSearchable, isMLS,\n\t\t// defaultValue, groupName, metadataAttachments\n\n\t\tattrDef = new AttributeDefinition(\"givenName\", \"string\", null, true,\n\t\t\t\ttrue, false, null, \"Basic\", metadataAttachments);\n\t\tentity.addAttribute(attrDef);\n\t\t\n\t\tattrDef = new AttributeDefinition(\"lastName\", \"string\", null, true,\n\t\t\t\ttrue, false, null, \"Basic\", metadataAttachments);\n\t\tentity.addAttribute(attrDef);\n\t\t\n\t\tattrDef = new AttributeDefinition(\"email\", \"string\", null, true,\n\t\t\t\ttrue, false, null, \"Basic\", metadataAttachments);\n\t\tentity.addAttribute(attrDef);\n\t\t\n\t\tattrDef = new AttributeDefinition(\"startDate\", \"date\", null, false,\n\t\t\t\ttrue, false, null, \"Basic\", metadataAttachments);\n\t\tentity.addAttribute(attrDef);\n\t\t\n\t\tattrDef = new AttributeDefinition(\"endDate\", \"date\", null, false,\n\t\t\t\ttrue, false, null, \"Basic\", metadataAttachments);\n\t\tentity.addAttribute(attrDef);\n\t\t\n\t\tattrDef = new AttributeDefinition(\"employeeNo\", \"number\", null, true,\n\t\t\t\ttrue, false, null, \"Basic\", metadataAttachments);\n\t\tentity.addAttribute(attrDef);\n\n\n\t\tattrDef = new AttributeDefinition(\"__UID__\", \"string\", null, true,\n\t\t\t\ttrue, false, null, \"Basic\", metadataAttachments);\n\t\tentity.addAttribute(attrDef);\n\t\tfieldDef = new FieldDefinition(\"AO_UID\", \"string\",true);\n\t\tentity.addField(fieldDef);\n\t\tentity.addAttributeMapping(\"__UID__\", \"AO_UID\");\n\t\t\n\t\tattrDef = new AttributeDefinition(\"__NAME__\", \"string\", null, true,\n\t\t\t\ttrue, false, null, \"Basic\", metadataAttachments);\n\t\tentity.addAttribute(attrDef);\n\t\tfieldDef = new FieldDefinition(\"AO_NAME\", \"string\",true);\n\t\tentity.addField(fieldDef);\n\t\tentity.addAttributeMapping(\"__NAME__\", \"AO_NAME\");\n\n\t\t/*\n\t\t * attrDef = new AttributeDefinition(childEntityType, childEntityType,\n\t\t * null, false, true, false, null, \"Basic\", metadataAttachments);\n\t\t * entity.addChildEntityAttribute(attrDef);\n\t\t */\n\n\t\tString xmlString = getStringfromDoc(entity);\n\n\t\ttry {\n\t\t\tmgrConfig.createEntityMetadata(entity);\n\t\t\tSystem.out.println(\"Created entity type: \" + entityType);\n\n\t\t} catch (Exception e) {\n\t\t\t//fail(\"Unexpected exception: \" + getStackTrace(e));\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "public void generate(String rootDir, String helpersDir)\n {\n\t ClassModel classModel = (ClassModel) model.getClassModel();\n if (!GraphUtil.isExternal(model))\n {\n getOrCreateParser(rootDir);\n\n insertLicense(parser);\n\n insertInterfaces();\n\n insertConstants();\n\n insertImports();\n\n insertMethods(rootDir, helpersDir);\n\n if (GraphUtil.isInterface(model) == false)\n {\n insertSuperClass();\n insertPropertyChangeSupport(rootDir);\n \n \tinsertRemoveYouMethod(rootDir);\n \n insertInterfaceMethods(model, rootDir, helpersDir);\n \n\n if (classModel.hasFeature(Feature.SERIALIZATION, model))\n insertInterfaceAttributesInCreatorClass(model, rootDir, helpersDir);\n }\n\n generateAnnotations(rootDir, helpersDir);\n generateAttributes(rootDir, helpersDir, false);\n printFile();\n }\n else\n {\n generateAttributes(rootDir, helpersDir, false);\n }\n\n if (classModel.hasFeature(Feature.SERIALIZATION, model))\n { \n // now generate the corresponding creator class\n if (getRepairClassModel().hasFeature(Feature.SERIALIZATION))\n {\n getOrCreateParserForCreatorClass(helpersDir);\n\n insertClassInCreatorCreatorClass(getModel(), rootDir, creatorParser);\n\n insertRemoveObjectInCreatorClass();\n\n printFile(creatorParser);\n }\n }\n\n // now generate the corresponding ModelSet class\n if (classModel.hasFeature(Feature.SERIALIZATION, model))\n {\n getOrCreateParserForModelSetFile(helpersDir);\n printFile(modelSetParser);\n\n// if (getRepairClassModel().hasFeature(Feature.PATTERNOBJECT))\n// {\n\n // now generate the corresponding PatterObject class\n getOrCreateParserForPatternObjectFile(helpersDir);\n printFile(patternObjectParser);\n\n // now generate the corresponding PatterObjectCreator class\n getOrCreateParserForPatternObjectCreatorFile(helpersDir);\n printFile(patternObjectCreatorParser);\n// }\n }\n }", "@SuppressWarnings(\"unused\")\n private void generateInfo()\n {\n }", "FileContent createFileContent();", "public void createPackageContents() {\n\t\tif (isCreated) return;\n\t\tisCreated = true;\n\n\t\t// Create classes and their features\n\t\troleEClass = createEClass(ROLE);\n\t\tcreateEReference(roleEClass, ROLE__SOCIETY);\n\t\tcreateEReference(roleEClass, ROLE__IS_REALIZED_BY_INDIVIDUAL);\n\t\tcreateEReference(roleEClass, ROLE__PARENT);\n\t\tcreateEReference(roleEClass, ROLE__CHILDREN);\n\t\tcreateEAttribute(roleEClass, ROLE__ID);\n\t\tcreateEAttribute(roleEClass, ROLE__NAME);\n\n\t\tindividualRealizationEClass = createEClass(INDIVIDUAL_REALIZATION);\n\t\tcreateEReference(individualRealizationEClass, INDIVIDUAL_REALIZATION__TARGET);\n\t\tcreateEReference(individualRealizationEClass, INDIVIDUAL_REALIZATION__SOURCE);\n\t\tcreateEReference(individualRealizationEClass, INDIVIDUAL_REALIZATION__SOCIETY);\n\t\tcreateEAttribute(individualRealizationEClass, INDIVIDUAL_REALIZATION__ID);\n\n\t\tsocietyEClass = createEClass(SOCIETY);\n\t\tcreateEReference(societyEClass, SOCIETY__GENERALIZATIONS);\n\t\tcreateEReference(societyEClass, SOCIETY__RELAIZATIONS);\n\t\tcreateEReference(societyEClass, SOCIETY__INDIVIDUALS);\n\t\tcreateEAttribute(societyEClass, SOCIETY__NAME);\n\t\tcreateEReference(societyEClass, SOCIETY__ROLES);\n\n\t\tspecializationEClass = createEClass(SPECIALIZATION);\n\t\tcreateEReference(specializationEClass, SPECIALIZATION__TARGET);\n\t\tcreateEReference(specializationEClass, SPECIALIZATION__SOURCE);\n\t\tcreateEReference(specializationEClass, SPECIALIZATION__SOCIETY);\n\t\tcreateEAttribute(specializationEClass, SPECIALIZATION__ID);\n\n\t\tindividualInstanceEClass = createEClass(INDIVIDUAL_INSTANCE);\n\t\tcreateEReference(individualInstanceEClass, INDIVIDUAL_INSTANCE__REALIZES);\n\t\tcreateEAttribute(individualInstanceEClass, INDIVIDUAL_INSTANCE__ID);\n\t\tcreateEAttribute(individualInstanceEClass, INDIVIDUAL_INSTANCE__NAME);\n\t\tcreateEReference(individualInstanceEClass, INDIVIDUAL_INSTANCE__SOCIETY);\n\n\t\tsocialInstanceEClass = createEClass(SOCIAL_INSTANCE);\n\t\tcreateEOperation(socialInstanceEClass, SOCIAL_INSTANCE___GET_ID);\n\t\tcreateEOperation(socialInstanceEClass, SOCIAL_INSTANCE___GET_NAME);\n\t}", "public void createPackageContents() {\n\t\tif (isCreated) return;\n\t\tisCreated = true;\n\n\t\t// Create classes and their features\n\t\trepositoryEClass = createEClass(REPOSITORY);\n\t\tcreateEAttribute(repositoryEClass, REPOSITORY__NAME);\n\t\tcreateEAttribute(repositoryEClass, REPOSITORY__LOCATION);\n\n\t\trepositoryManagerEClass = createEClass(REPOSITORY_MANAGER);\n\t}", "void generateWriteParam2ContentValues(Builder methodBuilder, SQLiteModelMethod method, String paramName, TypeName paramType, ModelProperty property);", "public List<String> getMetadataTemplate(Long id,Boolean loadNameMetadata){ \n\t\tList<String> metadata = new ArrayList<>();\n\t\tFieldsMappingMetaDAO dao = new FieldsMappingMetaDAO();\n\t\tFieldsTemplateLibraryDAO fieldDao = new FieldsTemplateLibraryDAO();\n\t\tCollection<FieldsMappingMeta>fields = dao.getAllByIdTemplate(id);\n\t\tFieldsTemplateLibrary ftl = new FieldsTemplateLibrary();\n\t\t\n\t\tif(fields!=null && !fields.isEmpty()) {\n\t\t\tfor (FieldsMappingMeta item : fields) \n\t\t\t{\n\t\t\t\tif(loadNameMetadata)\n\t\t\t\t\tmetadata.add(item.getFieldsTemplateLibrary().getNameSource().toString());\n\t\t\t\telse\n\t\t\t\t\tmetadata.add(item.getFieldsTemplateLibrary().getId().toString());\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn metadata;\n\t}", "private void addMetaData() {\r\n\t\tdocument.open();\r\n\t\tdocument.addTitle(\"My first PDF\");\r\n\t\tdocument.addSubject(\"Using iText\");\r\n\t\tdocument.addKeywords(\"Java, PDF, iText\");\r\n\t\tdocument.addAuthor(\"Lars Vogel\");\r\n\t\tdocument.addCreator(\"Lars Vogel\");\r\n\t\tdocument.close();\r\n\t}", "public void createPackageContents() {\n\t\tif (isCreated)\n\t\t\treturn;\n\t\tisCreated = true;\n\n\t\t// Create classes and their features\n\t\tprojectEClass = createEClass(PROJECT);\n\t\tcreateEReference(projectEClass, PROJECT__PLUGINS);\n\t\tcreateEAttribute(projectEClass, PROJECT__NAME);\n\t\tcreateEReference(projectEClass, PROJECT__REPOSITORIES);\n\t\tcreateEReference(projectEClass, PROJECT__DEPENDENCIES);\n\t\tcreateEReference(projectEClass, PROJECT__VIEWS);\n\t\tcreateEReference(projectEClass, PROJECT__PROPERTIES);\n\n\t\tpluginEClass = createEClass(PLUGIN);\n\t\tcreateEReference(pluginEClass, PLUGIN__REPOSITORIES);\n\t\tcreateEReference(pluginEClass, PLUGIN__OUTPUT_PORTS);\n\t\tcreateEReference(pluginEClass, PLUGIN__DISPLAYS);\n\n\t\tportEClass = createEClass(PORT);\n\t\tcreateEAttribute(portEClass, PORT__NAME);\n\t\tcreateEAttribute(portEClass, PORT__EVENT_TYPES);\n\t\tcreateEAttribute(portEClass, PORT__ID);\n\n\t\tinputPortEClass = createEClass(INPUT_PORT);\n\t\tcreateEReference(inputPortEClass, INPUT_PORT__PARENT);\n\n\t\toutputPortEClass = createEClass(OUTPUT_PORT);\n\t\tcreateEReference(outputPortEClass, OUTPUT_PORT__SUBSCRIBERS);\n\t\tcreateEReference(outputPortEClass, OUTPUT_PORT__PARENT);\n\n\t\tpropertyEClass = createEClass(PROPERTY);\n\t\tcreateEAttribute(propertyEClass, PROPERTY__NAME);\n\t\tcreateEAttribute(propertyEClass, PROPERTY__VALUE);\n\n\t\tfilterEClass = createEClass(FILTER);\n\t\tcreateEReference(filterEClass, FILTER__INPUT_PORTS);\n\n\t\treaderEClass = createEClass(READER);\n\n\t\trepositoryEClass = createEClass(REPOSITORY);\n\n\t\tdependencyEClass = createEClass(DEPENDENCY);\n\t\tcreateEAttribute(dependencyEClass, DEPENDENCY__FILE_PATH);\n\n\t\trepositoryConnectorEClass = createEClass(REPOSITORY_CONNECTOR);\n\t\tcreateEAttribute(repositoryConnectorEClass, REPOSITORY_CONNECTOR__NAME);\n\t\tcreateEReference(repositoryConnectorEClass, REPOSITORY_CONNECTOR__REPOSITORY);\n\t\tcreateEAttribute(repositoryConnectorEClass, REPOSITORY_CONNECTOR__ID);\n\n\t\tdisplayEClass = createEClass(DISPLAY);\n\t\tcreateEAttribute(displayEClass, DISPLAY__NAME);\n\t\tcreateEReference(displayEClass, DISPLAY__PARENT);\n\t\tcreateEAttribute(displayEClass, DISPLAY__ID);\n\n\t\tviewEClass = createEClass(VIEW);\n\t\tcreateEAttribute(viewEClass, VIEW__NAME);\n\t\tcreateEAttribute(viewEClass, VIEW__DESCRIPTION);\n\t\tcreateEReference(viewEClass, VIEW__DISPLAY_CONNECTORS);\n\t\tcreateEAttribute(viewEClass, VIEW__ID);\n\n\t\tdisplayConnectorEClass = createEClass(DISPLAY_CONNECTOR);\n\t\tcreateEAttribute(displayConnectorEClass, DISPLAY_CONNECTOR__NAME);\n\t\tcreateEReference(displayConnectorEClass, DISPLAY_CONNECTOR__DISPLAY);\n\t\tcreateEAttribute(displayConnectorEClass, DISPLAY_CONNECTOR__ID);\n\n\t\tanalysisComponentEClass = createEClass(ANALYSIS_COMPONENT);\n\t\tcreateEAttribute(analysisComponentEClass, ANALYSIS_COMPONENT__NAME);\n\t\tcreateEAttribute(analysisComponentEClass, ANALYSIS_COMPONENT__CLASSNAME);\n\t\tcreateEReference(analysisComponentEClass, ANALYSIS_COMPONENT__PROPERTIES);\n\t\tcreateEAttribute(analysisComponentEClass, ANALYSIS_COMPONENT__ID);\n\t}", "private static void createPackageExamples(CmsBean cmsBean) throws Exception {\n }", "@Override\n\tpublic void pathGenerated() {\n\n\t}", "abstract protected Set<Method> createMethods();", "Imports createImports();", "public void createPackageContents() {\n\t\tif (isCreated) return;\n\t\tisCreated = true;\n\n\t\t// Create classes and their features\n\t\tannotationEClass = createEClass(ANNOTATION);\n\t\tcreateEReference(annotationEClass, ANNOTATION__IMPLEMENTATIONS);\n\n\t\timplementationEClass = createEClass(IMPLEMENTATION);\n\t\tcreateEAttribute(implementationEClass, IMPLEMENTATION__CODE);\n\t\tcreateEReference(implementationEClass, IMPLEMENTATION__TECHNOLOGY);\n\t\tcreateEReference(implementationEClass, IMPLEMENTATION__LANGUAGE);\n\n\t\tsemanticsEClass = createEClass(SEMANTICS);\n\t\tcreateEReference(semanticsEClass, SEMANTICS__ANNOTATIONS);\n\t\tcreateEReference(semanticsEClass, SEMANTICS__LANGUAGES);\n\t\tcreateEReference(semanticsEClass, SEMANTICS__TECHNOLOGIES);\n\n\t\ttargetLanguageEClass = createEClass(TARGET_LANGUAGE);\n\n\t\ttechnologyEClass = createEClass(TECHNOLOGY);\n\n\t\tnamedElementEClass = createEClass(NAMED_ELEMENT);\n\t\tcreateEAttribute(namedElementEClass, NAMED_ELEMENT__NAME);\n\t}", "public void createPackageContents() {\n\t\tif (isCreated) return;\n\t\tisCreated = true;\n\n\t\t// Create classes and their features\n\t\tarrayOfStringEClass = createEClass(ARRAY_OF_STRING);\n\t\tcreateEAttribute(arrayOfStringEClass, ARRAY_OF_STRING__VALUES);\n\n\t\tcontainerEClass = createEClass(CONTAINER);\n\t\tcreateEAttribute(containerEClass, CONTAINER__NAME);\n\t\tcreateEAttribute(containerEClass, CONTAINER__CONTAINERID);\n\t\tcreateEAttribute(containerEClass, CONTAINER__IMAGE);\n\t\tcreateEAttribute(containerEClass, CONTAINER__BUILD);\n\t\tcreateEAttribute(containerEClass, CONTAINER__COMMAND);\n\t\tcreateEAttribute(containerEClass, CONTAINER__PORTS);\n\t\tcreateEAttribute(containerEClass, CONTAINER__EXPOSE);\n\t\tcreateEAttribute(containerEClass, CONTAINER__VOLUMES);\n\t\tcreateEAttribute(containerEClass, CONTAINER__ENVIRONMENT);\n\t\tcreateEAttribute(containerEClass, CONTAINER__ENV_FILE);\n\t\tcreateEAttribute(containerEClass, CONTAINER__NET);\n\t\tcreateEAttribute(containerEClass, CONTAINER__DNS);\n\t\tcreateEAttribute(containerEClass, CONTAINER__DNS_SEARCH);\n\t\tcreateEAttribute(containerEClass, CONTAINER__CAP_ADD);\n\t\tcreateEAttribute(containerEClass, CONTAINER__CAP_DROP);\n\t\tcreateEAttribute(containerEClass, CONTAINER__WORKING_DIR);\n\t\tcreateEAttribute(containerEClass, CONTAINER__ENTRYPOINT);\n\t\tcreateEAttribute(containerEClass, CONTAINER__USER);\n\t\tcreateEAttribute(containerEClass, CONTAINER__DOMAIN_NAME);\n\t\tcreateEAttribute(containerEClass, CONTAINER__MEM_LIMIT);\n\t\tcreateEAttribute(containerEClass, CONTAINER__MEMORY_SWAP);\n\t\tcreateEAttribute(containerEClass, CONTAINER__PRIVILEGED);\n\t\tcreateEAttribute(containerEClass, CONTAINER__RESTART);\n\t\tcreateEAttribute(containerEClass, CONTAINER__STDIN_OPEN);\n\t\tcreateEAttribute(containerEClass, CONTAINER__INTERACTIVE);\n\t\tcreateEAttribute(containerEClass, CONTAINER__CPU_SHARES);\n\t\tcreateEAttribute(containerEClass, CONTAINER__PID);\n\t\tcreateEAttribute(containerEClass, CONTAINER__IPC);\n\t\tcreateEAttribute(containerEClass, CONTAINER__ADD_HOST);\n\t\tcreateEAttribute(containerEClass, CONTAINER__MAC_ADDRESS);\n\t\tcreateEAttribute(containerEClass, CONTAINER__RM);\n\t\tcreateEAttribute(containerEClass, CONTAINER__SECURITY_OPT);\n\t\tcreateEAttribute(containerEClass, CONTAINER__DEVICE);\n\t\tcreateEAttribute(containerEClass, CONTAINER__LXC_CONF);\n\t\tcreateEAttribute(containerEClass, CONTAINER__PUBLISH_ALL);\n\t\tcreateEAttribute(containerEClass, CONTAINER__READ_ONLY);\n\t\tcreateEAttribute(containerEClass, CONTAINER__MONITORED);\n\t\tcreateEAttribute(containerEClass, CONTAINER__CPU_USED);\n\t\tcreateEAttribute(containerEClass, CONTAINER__MEMORY_USED);\n\t\tcreateEAttribute(containerEClass, CONTAINER__CPU_PERCENT);\n\t\tcreateEAttribute(containerEClass, CONTAINER__MEMORY_PERCENT);\n\t\tcreateEAttribute(containerEClass, CONTAINER__DISK_USED);\n\t\tcreateEAttribute(containerEClass, CONTAINER__DISK_PERCENT);\n\t\tcreateEAttribute(containerEClass, CONTAINER__BANDWIDTH_USED);\n\t\tcreateEAttribute(containerEClass, CONTAINER__BANDWIDTH_PERCENT);\n\t\tcreateEAttribute(containerEClass, CONTAINER__MONITORING_INTERVAL);\n\t\tcreateEAttribute(containerEClass, CONTAINER__CPU_MAX_VALUE);\n\t\tcreateEAttribute(containerEClass, CONTAINER__MEMORY_MAX_VALUE);\n\t\tcreateEAttribute(containerEClass, CONTAINER__CORE_MAX);\n\t\tcreateEAttribute(containerEClass, CONTAINER__CPU_SET_CPUS);\n\t\tcreateEAttribute(containerEClass, CONTAINER__CPU_SET_MEMS);\n\t\tcreateEAttribute(containerEClass, CONTAINER__TTY);\n\t\tcreateEOperation(containerEClass, CONTAINER___CREATE);\n\t\tcreateEOperation(containerEClass, CONTAINER___STOP);\n\t\tcreateEOperation(containerEClass, CONTAINER___RUN);\n\t\tcreateEOperation(containerEClass, CONTAINER___PAUSE);\n\t\tcreateEOperation(containerEClass, CONTAINER___UNPAUSE);\n\t\tcreateEOperation(containerEClass, CONTAINER___KILL__STRING);\n\n\t\tlinkEClass = createEClass(LINK);\n\t\tcreateEAttribute(linkEClass, LINK__ALIAS);\n\n\t\tnetworklinkEClass = createEClass(NETWORKLINK);\n\n\t\tvolumesfromEClass = createEClass(VOLUMESFROM);\n\t\tcreateEAttribute(volumesfromEClass, VOLUMESFROM__MODE);\n\n\t\tcontainsEClass = createEClass(CONTAINS);\n\n\t\tmachineEClass = createEClass(MACHINE);\n\t\tcreateEAttribute(machineEClass, MACHINE__NAME);\n\t\tcreateEAttribute(machineEClass, MACHINE__ENGINE_INSTALL_URL);\n\t\tcreateEAttribute(machineEClass, MACHINE__ENGINE_OPT);\n\t\tcreateEAttribute(machineEClass, MACHINE__ENGINE_INSECURE_REGISTRY);\n\t\tcreateEAttribute(machineEClass, MACHINE__ENGINE_REGISTRY_MIRROR);\n\t\tcreateEAttribute(machineEClass, MACHINE__ENGINE_LABEL);\n\t\tcreateEAttribute(machineEClass, MACHINE__ENGINE_STORAGE_DRIVER);\n\t\tcreateEAttribute(machineEClass, MACHINE__ENGINE_ENV);\n\t\tcreateEAttribute(machineEClass, MACHINE__SWARM);\n\t\tcreateEAttribute(machineEClass, MACHINE__SWARM_IMAGE);\n\t\tcreateEAttribute(machineEClass, MACHINE__SWARM_MASTER);\n\t\tcreateEAttribute(machineEClass, MACHINE__SWARM_DISCOVERY);\n\t\tcreateEAttribute(machineEClass, MACHINE__SWARM_STRATEGY);\n\t\tcreateEAttribute(machineEClass, MACHINE__SWARM_OPT);\n\t\tcreateEAttribute(machineEClass, MACHINE__SWARM_HOST);\n\t\tcreateEAttribute(machineEClass, MACHINE__SWARM_ADDR);\n\t\tcreateEAttribute(machineEClass, MACHINE__SWARM_EXPERIMENTAL);\n\t\tcreateEAttribute(machineEClass, MACHINE__TLS_SAN);\n\t\tcreateEOperation(machineEClass, MACHINE___STARTALL);\n\n\t\tvolumeEClass = createEClass(VOLUME);\n\t\tcreateEAttribute(volumeEClass, VOLUME__DRIVER);\n\t\tcreateEAttribute(volumeEClass, VOLUME__LABELS);\n\t\tcreateEAttribute(volumeEClass, VOLUME__OPTIONS);\n\t\tcreateEAttribute(volumeEClass, VOLUME__SOURCE);\n\t\tcreateEAttribute(volumeEClass, VOLUME__DESTINATION);\n\t\tcreateEAttribute(volumeEClass, VOLUME__MODE);\n\t\tcreateEAttribute(volumeEClass, VOLUME__RW);\n\t\tcreateEAttribute(volumeEClass, VOLUME__PROPAGATION);\n\t\tcreateEAttribute(volumeEClass, VOLUME__NAME);\n\n\t\tnetworkEClass = createEClass(NETWORK);\n\t\tcreateEAttribute(networkEClass, NETWORK__NETWORK_ID);\n\t\tcreateEAttribute(networkEClass, NETWORK__NAME);\n\t\tcreateEAttribute(networkEClass, NETWORK__AUX_ADDRESS);\n\t\tcreateEAttribute(networkEClass, NETWORK__DRIVER);\n\t\tcreateEAttribute(networkEClass, NETWORK__GATEWAY);\n\t\tcreateEAttribute(networkEClass, NETWORK__INTERNAL);\n\t\tcreateEAttribute(networkEClass, NETWORK__IP_RANGE);\n\t\tcreateEAttribute(networkEClass, NETWORK__IPAM_DRIVER);\n\t\tcreateEAttribute(networkEClass, NETWORK__IPAM_OPT);\n\t\tcreateEAttribute(networkEClass, NETWORK__IPV6);\n\t\tcreateEAttribute(networkEClass, NETWORK__OPT);\n\t\tcreateEAttribute(networkEClass, NETWORK__SUBNET);\n\n\t\tmachinegenericEClass = createEClass(MACHINEGENERIC);\n\t\tcreateEAttribute(machinegenericEClass, MACHINEGENERIC__ENGINE_PORT);\n\t\tcreateEAttribute(machinegenericEClass, MACHINEGENERIC__IP_ADDRESS);\n\t\tcreateEAttribute(machinegenericEClass, MACHINEGENERIC__SSH_KEY);\n\t\tcreateEAttribute(machinegenericEClass, MACHINEGENERIC__SSH_USER);\n\t\tcreateEAttribute(machinegenericEClass, MACHINEGENERIC__SSH_PORT);\n\n\t\tmachineamazonec2EClass = createEClass(MACHINEAMAZONEC2);\n\t\tcreateEAttribute(machineamazonec2EClass, MACHINEAMAZONEC2__ACCESS_KEY);\n\t\tcreateEAttribute(machineamazonec2EClass, MACHINEAMAZONEC2__AMI);\n\t\tcreateEAttribute(machineamazonec2EClass, MACHINEAMAZONEC2__INSTANCE_TYPE);\n\t\tcreateEAttribute(machineamazonec2EClass, MACHINEAMAZONEC2__REGION);\n\t\tcreateEAttribute(machineamazonec2EClass, MACHINEAMAZONEC2__ROOT_SIZE);\n\t\tcreateEAttribute(machineamazonec2EClass, MACHINEAMAZONEC2__SECRET_KEY);\n\t\tcreateEAttribute(machineamazonec2EClass, MACHINEAMAZONEC2__SECURITY_GROUP);\n\t\tcreateEAttribute(machineamazonec2EClass, MACHINEAMAZONEC2__SESSION_TOKEN);\n\t\tcreateEAttribute(machineamazonec2EClass, MACHINEAMAZONEC2__SUBNET_ID);\n\t\tcreateEAttribute(machineamazonec2EClass, MACHINEAMAZONEC2__VPC_ID);\n\t\tcreateEAttribute(machineamazonec2EClass, MACHINEAMAZONEC2__ZONE);\n\n\t\tmachinedigitaloceanEClass = createEClass(MACHINEDIGITALOCEAN);\n\t\tcreateEAttribute(machinedigitaloceanEClass, MACHINEDIGITALOCEAN__ACCESS_TOKEN);\n\t\tcreateEAttribute(machinedigitaloceanEClass, MACHINEDIGITALOCEAN__IMAGE);\n\t\tcreateEAttribute(machinedigitaloceanEClass, MACHINEDIGITALOCEAN__REGION);\n\t\tcreateEAttribute(machinedigitaloceanEClass, MACHINEDIGITALOCEAN__SIZE);\n\n\t\tmachinegooglecomputeengineEClass = createEClass(MACHINEGOOGLECOMPUTEENGINE);\n\t\tcreateEAttribute(machinegooglecomputeengineEClass, MACHINEGOOGLECOMPUTEENGINE__ZONE);\n\t\tcreateEAttribute(machinegooglecomputeengineEClass, MACHINEGOOGLECOMPUTEENGINE__MACHINE_TYPE);\n\t\tcreateEAttribute(machinegooglecomputeengineEClass, MACHINEGOOGLECOMPUTEENGINE__USERNAME);\n\t\tcreateEAttribute(machinegooglecomputeengineEClass, MACHINEGOOGLECOMPUTEENGINE__INSTANCE_NAME);\n\t\tcreateEAttribute(machinegooglecomputeengineEClass, MACHINEGOOGLECOMPUTEENGINE__PROJECT);\n\n\t\tmachineibmsoftlayerEClass = createEClass(MACHINEIBMSOFTLAYER);\n\t\tcreateEAttribute(machineibmsoftlayerEClass, MACHINEIBMSOFTLAYER__API_ENDPOINT);\n\t\tcreateEAttribute(machineibmsoftlayerEClass, MACHINEIBMSOFTLAYER__USER);\n\t\tcreateEAttribute(machineibmsoftlayerEClass, MACHINEIBMSOFTLAYER__API_KEY);\n\t\tcreateEAttribute(machineibmsoftlayerEClass, MACHINEIBMSOFTLAYER__CPU);\n\t\tcreateEAttribute(machineibmsoftlayerEClass, MACHINEIBMSOFTLAYER__DISK_SIZE);\n\t\tcreateEAttribute(machineibmsoftlayerEClass, MACHINEIBMSOFTLAYER__DOMAIN);\n\t\tcreateEAttribute(machineibmsoftlayerEClass, MACHINEIBMSOFTLAYER__HOURLY_BILLING);\n\t\tcreateEAttribute(machineibmsoftlayerEClass, MACHINEIBMSOFTLAYER__IMAGE);\n\t\tcreateEAttribute(machineibmsoftlayerEClass, MACHINEIBMSOFTLAYER__LOCAL_DISK);\n\t\tcreateEAttribute(machineibmsoftlayerEClass, MACHINEIBMSOFTLAYER__PRIVATE_NET_ONLY);\n\t\tcreateEAttribute(machineibmsoftlayerEClass, MACHINEIBMSOFTLAYER__REGION);\n\t\tcreateEAttribute(machineibmsoftlayerEClass, MACHINEIBMSOFTLAYER__PUBLIC_VLAN_ID);\n\t\tcreateEAttribute(machineibmsoftlayerEClass, MACHINEIBMSOFTLAYER__PRIVATE_VLAN_ID);\n\n\t\tmachinemicrosoftazureEClass = createEClass(MACHINEMICROSOFTAZURE);\n\t\tcreateEAttribute(machinemicrosoftazureEClass, MACHINEMICROSOFTAZURE__SUBSCRIPTION_ID);\n\t\tcreateEAttribute(machinemicrosoftazureEClass, MACHINEMICROSOFTAZURE__SUBSCRIPTION_CERT);\n\t\tcreateEAttribute(machinemicrosoftazureEClass, MACHINEMICROSOFTAZURE__ENVIRONMENT);\n\t\tcreateEAttribute(machinemicrosoftazureEClass, MACHINEMICROSOFTAZURE__MACHINE_LOCATION);\n\t\tcreateEAttribute(machinemicrosoftazureEClass, MACHINEMICROSOFTAZURE__RESOURCE_GROUP);\n\t\tcreateEAttribute(machinemicrosoftazureEClass, MACHINEMICROSOFTAZURE__SIZE);\n\t\tcreateEAttribute(machinemicrosoftazureEClass, MACHINEMICROSOFTAZURE__SSH_USER);\n\t\tcreateEAttribute(machinemicrosoftazureEClass, MACHINEMICROSOFTAZURE__VNET);\n\t\tcreateEAttribute(machinemicrosoftazureEClass, MACHINEMICROSOFTAZURE__SUBNET);\n\t\tcreateEAttribute(machinemicrosoftazureEClass, MACHINEMICROSOFTAZURE__SUBNET_PREFIX);\n\t\tcreateEAttribute(machinemicrosoftazureEClass, MACHINEMICROSOFTAZURE__AVAILABILITY_SET);\n\t\tcreateEAttribute(machinemicrosoftazureEClass, MACHINEMICROSOFTAZURE__OPEN_PORT);\n\t\tcreateEAttribute(machinemicrosoftazureEClass, MACHINEMICROSOFTAZURE__PRIVATE_IP_ADDRESS);\n\t\tcreateEAttribute(machinemicrosoftazureEClass, MACHINEMICROSOFTAZURE__NO_PUBLIC_IP);\n\t\tcreateEAttribute(machinemicrosoftazureEClass, MACHINEMICROSOFTAZURE__STATIC_PUBLIC_IP);\n\t\tcreateEAttribute(machinemicrosoftazureEClass, MACHINEMICROSOFTAZURE__DOCKER_PORT);\n\t\tcreateEAttribute(machinemicrosoftazureEClass, MACHINEMICROSOFTAZURE__USE_PRIVATE_IP);\n\t\tcreateEAttribute(machinemicrosoftazureEClass, MACHINEMICROSOFTAZURE__IMAGE);\n\n\t\tmachinemicrosofthypervEClass = createEClass(MACHINEMICROSOFTHYPERV);\n\t\tcreateEAttribute(machinemicrosofthypervEClass, MACHINEMICROSOFTHYPERV__VIRTUAL_SWITCH);\n\t\tcreateEAttribute(machinemicrosofthypervEClass, MACHINEMICROSOFTHYPERV__BOOT2DOCKER_URL);\n\t\tcreateEAttribute(machinemicrosofthypervEClass, MACHINEMICROSOFTHYPERV__DISK_SIZE);\n\t\tcreateEAttribute(machinemicrosofthypervEClass, MACHINEMICROSOFTHYPERV__STATIC_MAC_ADDRESS);\n\t\tcreateEAttribute(machinemicrosofthypervEClass, MACHINEMICROSOFTHYPERV__VLAN_ID);\n\n\t\tmachineopenstackEClass = createEClass(MACHINEOPENSTACK);\n\t\tcreateEAttribute(machineopenstackEClass, MACHINEOPENSTACK__FLAVOR_ID);\n\t\tcreateEAttribute(machineopenstackEClass, MACHINEOPENSTACK__FLAVOR_NAME);\n\t\tcreateEAttribute(machineopenstackEClass, MACHINEOPENSTACK__IMAGE_ID);\n\t\tcreateEAttribute(machineopenstackEClass, MACHINEOPENSTACK__IMAGE_NAME);\n\t\tcreateEAttribute(machineopenstackEClass, MACHINEOPENSTACK__AUTH_URL);\n\t\tcreateEAttribute(machineopenstackEClass, MACHINEOPENSTACK__USERNAME);\n\t\tcreateEAttribute(machineopenstackEClass, MACHINEOPENSTACK__PASSWORD);\n\t\tcreateEAttribute(machineopenstackEClass, MACHINEOPENSTACK__TENANT_NAME);\n\t\tcreateEAttribute(machineopenstackEClass, MACHINEOPENSTACK__TENANT_ID);\n\t\tcreateEAttribute(machineopenstackEClass, MACHINEOPENSTACK__REGION);\n\t\tcreateEAttribute(machineopenstackEClass, MACHINEOPENSTACK__ENDPOINT_TYPE);\n\t\tcreateEAttribute(machineopenstackEClass, MACHINEOPENSTACK__NET_ID);\n\t\tcreateEAttribute(machineopenstackEClass, MACHINEOPENSTACK__NET_NAME);\n\t\tcreateEAttribute(machineopenstackEClass, MACHINEOPENSTACK__SEC_GROUPS);\n\t\tcreateEAttribute(machineopenstackEClass, MACHINEOPENSTACK__FLOATING_IP_POOL);\n\t\tcreateEAttribute(machineopenstackEClass, MACHINEOPENSTACK__ACTIVE_TIME_OUT);\n\t\tcreateEAttribute(machineopenstackEClass, MACHINEOPENSTACK__AVAILABILITY_ZONE);\n\t\tcreateEAttribute(machineopenstackEClass, MACHINEOPENSTACK__DOMAIN_ID);\n\t\tcreateEAttribute(machineopenstackEClass, MACHINEOPENSTACK__DOMAIN_NAME);\n\t\tcreateEAttribute(machineopenstackEClass, MACHINEOPENSTACK__INSECURE);\n\t\tcreateEAttribute(machineopenstackEClass, MACHINEOPENSTACK__IP_VERSION);\n\t\tcreateEAttribute(machineopenstackEClass, MACHINEOPENSTACK__KEYPAIR_NAME);\n\t\tcreateEAttribute(machineopenstackEClass, MACHINEOPENSTACK__PRIVATE_KEY_FILE);\n\t\tcreateEAttribute(machineopenstackEClass, MACHINEOPENSTACK__SSH_PORT);\n\t\tcreateEAttribute(machineopenstackEClass, MACHINEOPENSTACK__SSH_USER);\n\n\t\tmachinerackspaceEClass = createEClass(MACHINERACKSPACE);\n\t\tcreateEAttribute(machinerackspaceEClass, MACHINERACKSPACE__USERNAME);\n\t\tcreateEAttribute(machinerackspaceEClass, MACHINERACKSPACE__API_KEY);\n\t\tcreateEAttribute(machinerackspaceEClass, MACHINERACKSPACE__REGION);\n\t\tcreateEAttribute(machinerackspaceEClass, MACHINERACKSPACE__END_POINT_TYPE);\n\t\tcreateEAttribute(machinerackspaceEClass, MACHINERACKSPACE__IMAGE_ID);\n\t\tcreateEAttribute(machinerackspaceEClass, MACHINERACKSPACE__FLAVOR_ID);\n\t\tcreateEAttribute(machinerackspaceEClass, MACHINERACKSPACE__SSH_USER);\n\t\tcreateEAttribute(machinerackspaceEClass, MACHINERACKSPACE__SSH_PORT);\n\t\tcreateEAttribute(machinerackspaceEClass, MACHINERACKSPACE__DOCKER_INSTALL);\n\n\t\tmachinevirtualboxEClass = createEClass(MACHINEVIRTUALBOX);\n\t\tcreateEAttribute(machinevirtualboxEClass, MACHINEVIRTUALBOX__BOOT2DOCKER_URL);\n\t\tcreateEAttribute(machinevirtualboxEClass, MACHINEVIRTUALBOX__DISK_SIZE);\n\t\tcreateEAttribute(machinevirtualboxEClass, MACHINEVIRTUALBOX__HOST_DNS_RESOLVER);\n\t\tcreateEAttribute(machinevirtualboxEClass, MACHINEVIRTUALBOX__IMPORT_BOOT2_DOCKER_VM);\n\t\tcreateEAttribute(machinevirtualboxEClass, MACHINEVIRTUALBOX__HOST_ONLY_CIDR);\n\t\tcreateEAttribute(machinevirtualboxEClass, MACHINEVIRTUALBOX__HOST_ONLY_NIC_TYPE);\n\t\tcreateEAttribute(machinevirtualboxEClass, MACHINEVIRTUALBOX__HOST_ONLY_NIC_PROMISC);\n\t\tcreateEAttribute(machinevirtualboxEClass, MACHINEVIRTUALBOX__NO_SHARE);\n\t\tcreateEAttribute(machinevirtualboxEClass, MACHINEVIRTUALBOX__NO_DNS_PROXY);\n\t\tcreateEAttribute(machinevirtualboxEClass, MACHINEVIRTUALBOX__NO_VTX_CHECK);\n\t\tcreateEAttribute(machinevirtualboxEClass, MACHINEVIRTUALBOX__SHARE_FOLDER);\n\n\t\tmachinevmwarefusionEClass = createEClass(MACHINEVMWAREFUSION);\n\t\tcreateEAttribute(machinevmwarefusionEClass, MACHINEVMWAREFUSION__BOOT2DOCKER_URL);\n\t\tcreateEAttribute(machinevmwarefusionEClass, MACHINEVMWAREFUSION__DISK_SIZE);\n\t\tcreateEAttribute(machinevmwarefusionEClass, MACHINEVMWAREFUSION__MEMORY_SIZE);\n\t\tcreateEAttribute(machinevmwarefusionEClass, MACHINEVMWAREFUSION__NO_SHARE);\n\n\t\tmachinevmwarevcloudairEClass = createEClass(MACHINEVMWAREVCLOUDAIR);\n\t\tcreateEAttribute(machinevmwarevcloudairEClass, MACHINEVMWAREVCLOUDAIR__USERNAME);\n\t\tcreateEAttribute(machinevmwarevcloudairEClass, MACHINEVMWAREVCLOUDAIR__PASSWORD);\n\t\tcreateEAttribute(machinevmwarevcloudairEClass, MACHINEVMWAREVCLOUDAIR__CATALOG);\n\t\tcreateEAttribute(machinevmwarevcloudairEClass, MACHINEVMWAREVCLOUDAIR__CATALOG_ITEM);\n\t\tcreateEAttribute(machinevmwarevcloudairEClass, MACHINEVMWAREVCLOUDAIR__COMPUTE_ID);\n\t\tcreateEAttribute(machinevmwarevcloudairEClass, MACHINEVMWAREVCLOUDAIR__CPU_COUNT);\n\t\tcreateEAttribute(machinevmwarevcloudairEClass, MACHINEVMWAREVCLOUDAIR__DOCKER_PORT);\n\t\tcreateEAttribute(machinevmwarevcloudairEClass, MACHINEVMWAREVCLOUDAIR__EDGEGATEWAY);\n\t\tcreateEAttribute(machinevmwarevcloudairEClass, MACHINEVMWAREVCLOUDAIR__MEMORY_SIZE);\n\t\tcreateEAttribute(machinevmwarevcloudairEClass, MACHINEVMWAREVCLOUDAIR__VAPP_NAME);\n\t\tcreateEAttribute(machinevmwarevcloudairEClass, MACHINEVMWAREVCLOUDAIR__ORGVDCNETWORK);\n\t\tcreateEAttribute(machinevmwarevcloudairEClass, MACHINEVMWAREVCLOUDAIR__PROVISION);\n\t\tcreateEAttribute(machinevmwarevcloudairEClass, MACHINEVMWAREVCLOUDAIR__PUBLIC_IP);\n\t\tcreateEAttribute(machinevmwarevcloudairEClass, MACHINEVMWAREVCLOUDAIR__SSH_PORT);\n\t\tcreateEAttribute(machinevmwarevcloudairEClass, MACHINEVMWAREVCLOUDAIR__VDC_ID);\n\n\t\tmachinevmwarevsphereEClass = createEClass(MACHINEVMWAREVSPHERE);\n\t\tcreateEAttribute(machinevmwarevsphereEClass, MACHINEVMWAREVSPHERE__USERNAME);\n\t\tcreateEAttribute(machinevmwarevsphereEClass, MACHINEVMWAREVSPHERE__PASSWORD);\n\t\tcreateEAttribute(machinevmwarevsphereEClass, MACHINEVMWAREVSPHERE__BOOT2DOCKER_URL);\n\t\tcreateEAttribute(machinevmwarevsphereEClass, MACHINEVMWAREVSPHERE__COMPUTE_IP);\n\t\tcreateEAttribute(machinevmwarevsphereEClass, MACHINEVMWAREVSPHERE__CPU_COUNT);\n\t\tcreateEAttribute(machinevmwarevsphereEClass, MACHINEVMWAREVSPHERE__DATACENTER);\n\t\tcreateEAttribute(machinevmwarevsphereEClass, MACHINEVMWAREVSPHERE__DATASTORE);\n\t\tcreateEAttribute(machinevmwarevsphereEClass, MACHINEVMWAREVSPHERE__DISK_SIZE);\n\t\tcreateEAttribute(machinevmwarevsphereEClass, MACHINEVMWAREVSPHERE__MEMORY_SIZE);\n\t\tcreateEAttribute(machinevmwarevsphereEClass, MACHINEVMWAREVSPHERE__NETWORK);\n\t\tcreateEAttribute(machinevmwarevsphereEClass, MACHINEVMWAREVSPHERE__POOL);\n\t\tcreateEAttribute(machinevmwarevsphereEClass, MACHINEVMWAREVSPHERE__VCENTER);\n\n\t\tmachineexoscaleEClass = createEClass(MACHINEEXOSCALE);\n\t\tcreateEAttribute(machineexoscaleEClass, MACHINEEXOSCALE__URL);\n\t\tcreateEAttribute(machineexoscaleEClass, MACHINEEXOSCALE__API_KEY);\n\t\tcreateEAttribute(machineexoscaleEClass, MACHINEEXOSCALE__API_SECRET_KEY);\n\t\tcreateEAttribute(machineexoscaleEClass, MACHINEEXOSCALE__INSTANCE_PROFILE);\n\t\tcreateEAttribute(machineexoscaleEClass, MACHINEEXOSCALE__IMAGE);\n\t\tcreateEAttribute(machineexoscaleEClass, MACHINEEXOSCALE__SECURITY_GROUP);\n\t\tcreateEAttribute(machineexoscaleEClass, MACHINEEXOSCALE__AVAILABILITY_ZONE);\n\t\tcreateEAttribute(machineexoscaleEClass, MACHINEEXOSCALE__SSH_USER);\n\t\tcreateEAttribute(machineexoscaleEClass, MACHINEEXOSCALE__USER_DATA);\n\t\tcreateEAttribute(machineexoscaleEClass, MACHINEEXOSCALE__AFFINITY_GROUP);\n\n\t\tmachinegrid5000EClass = createEClass(MACHINEGRID5000);\n\t\tcreateEAttribute(machinegrid5000EClass, MACHINEGRID5000__USERNAME);\n\t\tcreateEAttribute(machinegrid5000EClass, MACHINEGRID5000__PASSWORD);\n\t\tcreateEAttribute(machinegrid5000EClass, MACHINEGRID5000__SITE);\n\t\tcreateEAttribute(machinegrid5000EClass, MACHINEGRID5000__WALLTIME);\n\t\tcreateEAttribute(machinegrid5000EClass, MACHINEGRID5000__SSH_PRIVATE_KEY);\n\t\tcreateEAttribute(machinegrid5000EClass, MACHINEGRID5000__SSH_PUBLIC_KEY);\n\t\tcreateEAttribute(machinegrid5000EClass, MACHINEGRID5000__IMAGE);\n\t\tcreateEAttribute(machinegrid5000EClass, MACHINEGRID5000__RESOURCE_PROPERTIES);\n\t\tcreateEAttribute(machinegrid5000EClass, MACHINEGRID5000__USE_JOB_RESERVATION);\n\t\tcreateEAttribute(machinegrid5000EClass, MACHINEGRID5000__HOST_TO_PROVISION);\n\n\t\tclusterEClass = createEClass(CLUSTER);\n\t\tcreateEAttribute(clusterEClass, CLUSTER__NAME);\n\n\t\t// Create enums\n\t\tmodeEEnum = createEEnum(MODE);\n\t}", "@Override\r\n\tprotected void generateToc() {\r\n\t}", "public void createPackageContents()\n {\n if (isCreated) return;\n isCreated = true;\n\n // Create classes and their features\n ledsCodeDSLEClass = createEClass(LEDS_CODE_DSL);\n createEReference(ledsCodeDSLEClass, LEDS_CODE_DSL__PROJECT);\n\n projectEClass = createEClass(PROJECT);\n createEAttribute(projectEClass, PROJECT__NAME);\n createEReference(projectEClass, PROJECT__INFRASTRUCTURE_BLOCK);\n createEReference(projectEClass, PROJECT__INTERFACE_BLOCK);\n createEReference(projectEClass, PROJECT__APPLICATION_BLOCK);\n createEReference(projectEClass, PROJECT__DOMAIN_BLOCK);\n\n interfaceBlockEClass = createEClass(INTERFACE_BLOCK);\n createEAttribute(interfaceBlockEClass, INTERFACE_BLOCK__NAME);\n createEReference(interfaceBlockEClass, INTERFACE_BLOCK__INTERFACE_APPLICATION);\n\n interfaceApplicationEClass = createEClass(INTERFACE_APPLICATION);\n createEAttribute(interfaceApplicationEClass, INTERFACE_APPLICATION__TYPE);\n createEAttribute(interfaceApplicationEClass, INTERFACE_APPLICATION__NAME);\n createEAttribute(interfaceApplicationEClass, INTERFACE_APPLICATION__NAME_APP);\n\n infrastructureBlockEClass = createEClass(INFRASTRUCTURE_BLOCK);\n createEAttribute(infrastructureBlockEClass, INFRASTRUCTURE_BLOCK__BASE_PACKAGE);\n createEAttribute(infrastructureBlockEClass, INFRASTRUCTURE_BLOCK__PROJECT_VERSION);\n createEReference(infrastructureBlockEClass, INFRASTRUCTURE_BLOCK__LANGUAGE);\n createEReference(infrastructureBlockEClass, INFRASTRUCTURE_BLOCK__FRAMEWORK);\n createEReference(infrastructureBlockEClass, INFRASTRUCTURE_BLOCK__ORM);\n createEReference(infrastructureBlockEClass, INFRASTRUCTURE_BLOCK__DATABASE);\n\n databaseEClass = createEClass(DATABASE);\n createEAttribute(databaseEClass, DATABASE__VERSION_VALUE);\n createEAttribute(databaseEClass, DATABASE__NAME_VALUE);\n createEAttribute(databaseEClass, DATABASE__USER_VALUE);\n createEAttribute(databaseEClass, DATABASE__PASS_VALUE);\n createEAttribute(databaseEClass, DATABASE__HOST_VALUE);\n createEAttribute(databaseEClass, DATABASE__ENV_VALUE);\n\n nameVersionEClass = createEClass(NAME_VERSION);\n createEAttribute(nameVersionEClass, NAME_VERSION__NAME_VALUE);\n createEAttribute(nameVersionEClass, NAME_VERSION__VERSION_VALUE);\n\n applicationBlockEClass = createEClass(APPLICATION_BLOCK);\n createEAttribute(applicationBlockEClass, APPLICATION_BLOCK__NAME);\n createEAttribute(applicationBlockEClass, APPLICATION_BLOCK__APPLICATION_DOMAIN);\n\n domainBlockEClass = createEClass(DOMAIN_BLOCK);\n createEAttribute(domainBlockEClass, DOMAIN_BLOCK__NAME);\n createEReference(domainBlockEClass, DOMAIN_BLOCK__MODULE);\n\n moduleBlockEClass = createEClass(MODULE_BLOCK);\n createEAttribute(moduleBlockEClass, MODULE_BLOCK__NAME);\n createEReference(moduleBlockEClass, MODULE_BLOCK__ENUM_BLOCK);\n createEReference(moduleBlockEClass, MODULE_BLOCK__ENTITY_BLOCK);\n createEReference(moduleBlockEClass, MODULE_BLOCK__SERVICE_BLOCK);\n\n serviceBlockEClass = createEClass(SERVICE_BLOCK);\n createEAttribute(serviceBlockEClass, SERVICE_BLOCK__NAME);\n createEReference(serviceBlockEClass, SERVICE_BLOCK__SERVICE_FIELDS);\n\n serviceMethodEClass = createEClass(SERVICE_METHOD);\n createEAttribute(serviceMethodEClass, SERVICE_METHOD__NAME);\n createEReference(serviceMethodEClass, SERVICE_METHOD__METHOD_ACESS);\n\n entityBlockEClass = createEClass(ENTITY_BLOCK);\n createEAttribute(entityBlockEClass, ENTITY_BLOCK__ACESS_MODIFIER);\n createEAttribute(entityBlockEClass, ENTITY_BLOCK__IS_ABSTRACT);\n createEAttribute(entityBlockEClass, ENTITY_BLOCK__NAME);\n createEReference(entityBlockEClass, ENTITY_BLOCK__CLASS_EXTENDS);\n createEReference(entityBlockEClass, ENTITY_BLOCK__ATTRIBUTES);\n createEReference(entityBlockEClass, ENTITY_BLOCK__REPOSITORY);\n\n attributeEClass = createEClass(ATTRIBUTE);\n createEAttribute(attributeEClass, ATTRIBUTE__ACESS_MODIFIER);\n createEAttribute(attributeEClass, ATTRIBUTE__TYPE);\n createEAttribute(attributeEClass, ATTRIBUTE__NAME);\n createEAttribute(attributeEClass, ATTRIBUTE__PK);\n createEAttribute(attributeEClass, ATTRIBUTE__UNIQUE);\n createEAttribute(attributeEClass, ATTRIBUTE__NULLABLE);\n createEAttribute(attributeEClass, ATTRIBUTE__MIN);\n createEAttribute(attributeEClass, ATTRIBUTE__MAX);\n\n repositoryEClass = createEClass(REPOSITORY);\n createEAttribute(repositoryEClass, REPOSITORY__NAME);\n createEReference(repositoryEClass, REPOSITORY__METHODS);\n\n repositoryFieldsEClass = createEClass(REPOSITORY_FIELDS);\n createEAttribute(repositoryFieldsEClass, REPOSITORY_FIELDS__NAME);\n createEReference(repositoryFieldsEClass, REPOSITORY_FIELDS__METHODS_PARAMETERS);\n createEAttribute(repositoryFieldsEClass, REPOSITORY_FIELDS__RETURN_TYPE);\n\n enumBlockEClass = createEClass(ENUM_BLOCK);\n createEAttribute(enumBlockEClass, ENUM_BLOCK__NAME);\n createEAttribute(enumBlockEClass, ENUM_BLOCK__VALUES);\n\n methodParameterEClass = createEClass(METHOD_PARAMETER);\n createEReference(methodParameterEClass, METHOD_PARAMETER__TYPE_AND_ATTR);\n\n typeAndAttributeEClass = createEClass(TYPE_AND_ATTRIBUTE);\n createEAttribute(typeAndAttributeEClass, TYPE_AND_ATTRIBUTE__TYPE);\n createEAttribute(typeAndAttributeEClass, TYPE_AND_ATTRIBUTE__NAME);\n\n extendBlockEClass = createEClass(EXTEND_BLOCK);\n createEReference(extendBlockEClass, EXTEND_BLOCK__VALUES);\n }", "public void generarDoc(){\n generarDocP();\n }", "public void createPackageContents() {\n\t\tif (isCreated) return;\n\t\tisCreated = true;\n\n\t\t// Create classes and their features\n\t\telementEClass = createEClass(ELEMENT);\n\t\tcreateEOperation(elementEClass, ELEMENT___GET_ONTOLOGY);\n\t\tcreateEOperation(elementEClass, ELEMENT___EXTRA_VALIDATE__DIAGNOSTICCHAIN_MAP);\n\n\t\tannotationEClass = createEClass(ANNOTATION);\n\t\tcreateEReference(annotationEClass, ANNOTATION__PROPERTY);\n\t\tcreateEReference(annotationEClass, ANNOTATION__LITERAL_VALUE);\n\t\tcreateEReference(annotationEClass, ANNOTATION__REFERENCE_VALUE);\n\t\tcreateEReference(annotationEClass, ANNOTATION__OWNING_ELEMENT);\n\t\tcreateEOperation(annotationEClass, ANNOTATION___GET_VALUE);\n\t\tcreateEOperation(annotationEClass, ANNOTATION___GET_ANNOTATED_ELEMENT);\n\n\t\tidentifiedElementEClass = createEClass(IDENTIFIED_ELEMENT);\n\t\tcreateEReference(identifiedElementEClass, IDENTIFIED_ELEMENT__OWNED_ANNOTATIONS);\n\t\tcreateEOperation(identifiedElementEClass, IDENTIFIED_ELEMENT___GET_IRI);\n\n\t\timportEClass = createEClass(IMPORT);\n\t\tcreateEAttribute(importEClass, IMPORT__KIND);\n\t\tcreateEAttribute(importEClass, IMPORT__NAMESPACE);\n\t\tcreateEAttribute(importEClass, IMPORT__PREFIX);\n\t\tcreateEReference(importEClass, IMPORT__OWNING_ONTOLOGY);\n\t\tcreateEOperation(importEClass, IMPORT___GET_IRI);\n\t\tcreateEOperation(importEClass, IMPORT___GET_SEPARATOR);\n\n\t\tinstanceEClass = createEClass(INSTANCE);\n\t\tcreateEReference(instanceEClass, INSTANCE__OWNED_PROPERTY_VALUES);\n\n\t\taxiomEClass = createEClass(AXIOM);\n\t\tcreateEOperation(axiomEClass, AXIOM___GET_CHARACTERIZED_TERM);\n\n\t\tassertionEClass = createEClass(ASSERTION);\n\t\tcreateEOperation(assertionEClass, ASSERTION___GET_SUBJECT);\n\t\tcreateEOperation(assertionEClass, ASSERTION___GET_OBJECT);\n\n\t\tpredicateEClass = createEClass(PREDICATE);\n\t\tcreateEReference(predicateEClass, PREDICATE__ANTECEDENT_RULE);\n\t\tcreateEReference(predicateEClass, PREDICATE__CONSEQUENT_RULE);\n\n\t\targumentEClass = createEClass(ARGUMENT);\n\t\tcreateEAttribute(argumentEClass, ARGUMENT__VARIABLE);\n\t\tcreateEReference(argumentEClass, ARGUMENT__LITERAL);\n\t\tcreateEReference(argumentEClass, ARGUMENT__INSTANCE);\n\n\t\tliteralEClass = createEClass(LITERAL);\n\t\tcreateEOperation(literalEClass, LITERAL___GET_VALUE);\n\t\tcreateEOperation(literalEClass, LITERAL___GET_STRING_VALUE);\n\t\tcreateEOperation(literalEClass, LITERAL___GET_LEXICAL_VALUE);\n\t\tcreateEOperation(literalEClass, LITERAL___GET_TYPE_IRI);\n\n\t\tontologyEClass = createEClass(ONTOLOGY);\n\t\tcreateEAttribute(ontologyEClass, ONTOLOGY__NAMESPACE);\n\t\tcreateEAttribute(ontologyEClass, ONTOLOGY__PREFIX);\n\t\tcreateEReference(ontologyEClass, ONTOLOGY__OWNED_IMPORTS);\n\t\tcreateEOperation(ontologyEClass, ONTOLOGY___GET_IRI);\n\t\tcreateEOperation(ontologyEClass, ONTOLOGY___GET_SEPARATOR);\n\n\t\tmemberEClass = createEClass(MEMBER);\n\t\tcreateEAttribute(memberEClass, MEMBER__NAME);\n\t\tcreateEOperation(memberEClass, MEMBER___GET_REF);\n\t\tcreateEOperation(memberEClass, MEMBER___IS_REF);\n\t\tcreateEOperation(memberEClass, MEMBER___RESOLVE);\n\t\tcreateEOperation(memberEClass, MEMBER___GET_IRI);\n\t\tcreateEOperation(memberEClass, MEMBER___GET_ABBREVIATED_IRI);\n\n\t\tvocabularyBoxEClass = createEClass(VOCABULARY_BOX);\n\n\t\tdescriptionBoxEClass = createEClass(DESCRIPTION_BOX);\n\n\t\tvocabularyEClass = createEClass(VOCABULARY);\n\t\tcreateEReference(vocabularyEClass, VOCABULARY__OWNED_STATEMENTS);\n\n\t\tvocabularyBundleEClass = createEClass(VOCABULARY_BUNDLE);\n\n\t\tdescriptionEClass = createEClass(DESCRIPTION);\n\t\tcreateEReference(descriptionEClass, DESCRIPTION__OWNED_STATEMENTS);\n\n\t\tdescriptionBundleEClass = createEClass(DESCRIPTION_BUNDLE);\n\n\t\tstatementEClass = createEClass(STATEMENT);\n\n\t\tvocabularyMemberEClass = createEClass(VOCABULARY_MEMBER);\n\n\t\tdescriptionMemberEClass = createEClass(DESCRIPTION_MEMBER);\n\n\t\tvocabularyStatementEClass = createEClass(VOCABULARY_STATEMENT);\n\t\tcreateEReference(vocabularyStatementEClass, VOCABULARY_STATEMENT__OWNING_VOCABULARY);\n\n\t\tdescriptionStatementEClass = createEClass(DESCRIPTION_STATEMENT);\n\t\tcreateEReference(descriptionStatementEClass, DESCRIPTION_STATEMENT__OWNING_DESCRIPTION);\n\n\t\ttermEClass = createEClass(TERM);\n\n\t\truleEClass = createEClass(RULE);\n\t\tcreateEReference(ruleEClass, RULE__REF);\n\t\tcreateEReference(ruleEClass, RULE__ANTECEDENT);\n\t\tcreateEReference(ruleEClass, RULE__CONSEQUENT);\n\n\t\tbuiltInEClass = createEClass(BUILT_IN);\n\t\tcreateEReference(builtInEClass, BUILT_IN__REF);\n\n\t\tspecializableTermEClass = createEClass(SPECIALIZABLE_TERM);\n\t\tcreateEReference(specializableTermEClass, SPECIALIZABLE_TERM__OWNED_SPECIALIZATIONS);\n\n\t\tpropertyEClass = createEClass(PROPERTY);\n\n\t\ttypeEClass = createEClass(TYPE);\n\n\t\trelationBaseEClass = createEClass(RELATION_BASE);\n\t\tcreateEReference(relationBaseEClass, RELATION_BASE__SOURCES);\n\t\tcreateEReference(relationBaseEClass, RELATION_BASE__TARGETS);\n\t\tcreateEReference(relationBaseEClass, RELATION_BASE__REVERSE_RELATION);\n\t\tcreateEAttribute(relationBaseEClass, RELATION_BASE__FUNCTIONAL);\n\t\tcreateEAttribute(relationBaseEClass, RELATION_BASE__INVERSE_FUNCTIONAL);\n\t\tcreateEAttribute(relationBaseEClass, RELATION_BASE__SYMMETRIC);\n\t\tcreateEAttribute(relationBaseEClass, RELATION_BASE__ASYMMETRIC);\n\t\tcreateEAttribute(relationBaseEClass, RELATION_BASE__REFLEXIVE);\n\t\tcreateEAttribute(relationBaseEClass, RELATION_BASE__IRREFLEXIVE);\n\t\tcreateEAttribute(relationBaseEClass, RELATION_BASE__TRANSITIVE);\n\n\t\tspecializablePropertyEClass = createEClass(SPECIALIZABLE_PROPERTY);\n\t\tcreateEReference(specializablePropertyEClass, SPECIALIZABLE_PROPERTY__OWNED_EQUIVALENCES);\n\n\t\tclassifierEClass = createEClass(CLASSIFIER);\n\t\tcreateEReference(classifierEClass, CLASSIFIER__OWNED_EQUIVALENCES);\n\t\tcreateEReference(classifierEClass, CLASSIFIER__OWNED_PROPERTY_RESTRICTIONS);\n\n\t\tscalarEClass = createEClass(SCALAR);\n\t\tcreateEReference(scalarEClass, SCALAR__REF);\n\t\tcreateEReference(scalarEClass, SCALAR__OWNED_ENUMERATION);\n\t\tcreateEReference(scalarEClass, SCALAR__OWNED_EQUIVALENCES);\n\n\t\tentityEClass = createEClass(ENTITY);\n\t\tcreateEReference(entityEClass, ENTITY__OWNED_KEYS);\n\n\t\tstructureEClass = createEClass(STRUCTURE);\n\t\tcreateEReference(structureEClass, STRUCTURE__REF);\n\n\t\taspectEClass = createEClass(ASPECT);\n\t\tcreateEReference(aspectEClass, ASPECT__REF);\n\n\t\tconceptEClass = createEClass(CONCEPT);\n\t\tcreateEReference(conceptEClass, CONCEPT__REF);\n\t\tcreateEReference(conceptEClass, CONCEPT__OWNED_ENUMERATION);\n\n\t\trelationEntityEClass = createEClass(RELATION_ENTITY);\n\t\tcreateEReference(relationEntityEClass, RELATION_ENTITY__REF);\n\t\tcreateEReference(relationEntityEClass, RELATION_ENTITY__FORWARD_RELATION);\n\n\t\tannotationPropertyEClass = createEClass(ANNOTATION_PROPERTY);\n\t\tcreateEReference(annotationPropertyEClass, ANNOTATION_PROPERTY__REF);\n\n\t\tsemanticPropertyEClass = createEClass(SEMANTIC_PROPERTY);\n\t\tcreateEOperation(semanticPropertyEClass, SEMANTIC_PROPERTY___IS_FUNCTIONAL);\n\t\tcreateEOperation(semanticPropertyEClass, SEMANTIC_PROPERTY___GET_DOMAIN_LIST);\n\t\tcreateEOperation(semanticPropertyEClass, SEMANTIC_PROPERTY___GET_RANGE_LIST);\n\n\t\tscalarPropertyEClass = createEClass(SCALAR_PROPERTY);\n\t\tcreateEReference(scalarPropertyEClass, SCALAR_PROPERTY__REF);\n\t\tcreateEAttribute(scalarPropertyEClass, SCALAR_PROPERTY__FUNCTIONAL);\n\t\tcreateEReference(scalarPropertyEClass, SCALAR_PROPERTY__DOMAINS);\n\t\tcreateEReference(scalarPropertyEClass, SCALAR_PROPERTY__RANGES);\n\t\tcreateEOperation(scalarPropertyEClass, SCALAR_PROPERTY___GET_DOMAIN_LIST);\n\t\tcreateEOperation(scalarPropertyEClass, SCALAR_PROPERTY___GET_RANGE_LIST);\n\n\t\tstructuredPropertyEClass = createEClass(STRUCTURED_PROPERTY);\n\t\tcreateEReference(structuredPropertyEClass, STRUCTURED_PROPERTY__REF);\n\t\tcreateEAttribute(structuredPropertyEClass, STRUCTURED_PROPERTY__FUNCTIONAL);\n\t\tcreateEReference(structuredPropertyEClass, STRUCTURED_PROPERTY__DOMAINS);\n\t\tcreateEReference(structuredPropertyEClass, STRUCTURED_PROPERTY__RANGES);\n\t\tcreateEOperation(structuredPropertyEClass, STRUCTURED_PROPERTY___GET_DOMAIN_LIST);\n\t\tcreateEOperation(structuredPropertyEClass, STRUCTURED_PROPERTY___GET_RANGE_LIST);\n\n\t\trelationEClass = createEClass(RELATION);\n\t\tcreateEOperation(relationEClass, RELATION___IS_INVERSE_FUNCTIONAL);\n\t\tcreateEOperation(relationEClass, RELATION___IS_SYMMETRIC);\n\t\tcreateEOperation(relationEClass, RELATION___IS_ASYMMETRIC);\n\t\tcreateEOperation(relationEClass, RELATION___IS_REFLEXIVE);\n\t\tcreateEOperation(relationEClass, RELATION___IS_IRREFLEXIVE);\n\t\tcreateEOperation(relationEClass, RELATION___IS_TRANSITIVE);\n\t\tcreateEOperation(relationEClass, RELATION___GET_DOMAINS);\n\t\tcreateEOperation(relationEClass, RELATION___GET_RANGES);\n\t\tcreateEOperation(relationEClass, RELATION___GET_INVERSE);\n\t\tcreateEOperation(relationEClass, RELATION___GET_DOMAIN_LIST);\n\t\tcreateEOperation(relationEClass, RELATION___GET_RANGE_LIST);\n\n\t\tforwardRelationEClass = createEClass(FORWARD_RELATION);\n\t\tcreateEReference(forwardRelationEClass, FORWARD_RELATION__RELATION_ENTITY);\n\t\tcreateEOperation(forwardRelationEClass, FORWARD_RELATION___GET_REF);\n\t\tcreateEOperation(forwardRelationEClass, FORWARD_RELATION___IS_FUNCTIONAL);\n\t\tcreateEOperation(forwardRelationEClass, FORWARD_RELATION___IS_INVERSE_FUNCTIONAL);\n\t\tcreateEOperation(forwardRelationEClass, FORWARD_RELATION___IS_SYMMETRIC);\n\t\tcreateEOperation(forwardRelationEClass, FORWARD_RELATION___IS_ASYMMETRIC);\n\t\tcreateEOperation(forwardRelationEClass, FORWARD_RELATION___IS_REFLEXIVE);\n\t\tcreateEOperation(forwardRelationEClass, FORWARD_RELATION___IS_IRREFLEXIVE);\n\t\tcreateEOperation(forwardRelationEClass, FORWARD_RELATION___IS_TRANSITIVE);\n\t\tcreateEOperation(forwardRelationEClass, FORWARD_RELATION___GET_DOMAINS);\n\t\tcreateEOperation(forwardRelationEClass, FORWARD_RELATION___GET_RANGES);\n\t\tcreateEOperation(forwardRelationEClass, FORWARD_RELATION___GET_INVERSE);\n\n\t\treverseRelationEClass = createEClass(REVERSE_RELATION);\n\t\tcreateEReference(reverseRelationEClass, REVERSE_RELATION__RELATION_BASE);\n\t\tcreateEOperation(reverseRelationEClass, REVERSE_RELATION___GET_REF);\n\t\tcreateEOperation(reverseRelationEClass, REVERSE_RELATION___IS_FUNCTIONAL);\n\t\tcreateEOperation(reverseRelationEClass, REVERSE_RELATION___IS_INVERSE_FUNCTIONAL);\n\t\tcreateEOperation(reverseRelationEClass, REVERSE_RELATION___IS_SYMMETRIC);\n\t\tcreateEOperation(reverseRelationEClass, REVERSE_RELATION___IS_ASYMMETRIC);\n\t\tcreateEOperation(reverseRelationEClass, REVERSE_RELATION___IS_REFLEXIVE);\n\t\tcreateEOperation(reverseRelationEClass, REVERSE_RELATION___IS_IRREFLEXIVE);\n\t\tcreateEOperation(reverseRelationEClass, REVERSE_RELATION___IS_TRANSITIVE);\n\t\tcreateEOperation(reverseRelationEClass, REVERSE_RELATION___GET_DOMAINS);\n\t\tcreateEOperation(reverseRelationEClass, REVERSE_RELATION___GET_RANGES);\n\t\tcreateEOperation(reverseRelationEClass, REVERSE_RELATION___GET_INVERSE);\n\n\t\tunreifiedRelationEClass = createEClass(UNREIFIED_RELATION);\n\t\tcreateEReference(unreifiedRelationEClass, UNREIFIED_RELATION__REF);\n\t\tcreateEOperation(unreifiedRelationEClass, UNREIFIED_RELATION___GET_DOMAINS);\n\t\tcreateEOperation(unreifiedRelationEClass, UNREIFIED_RELATION___GET_RANGES);\n\t\tcreateEOperation(unreifiedRelationEClass, UNREIFIED_RELATION___GET_INVERSE);\n\n\t\tnamedInstanceEClass = createEClass(NAMED_INSTANCE);\n\t\tcreateEReference(namedInstanceEClass, NAMED_INSTANCE__OWNED_TYPES);\n\n\t\tconceptInstanceEClass = createEClass(CONCEPT_INSTANCE);\n\t\tcreateEReference(conceptInstanceEClass, CONCEPT_INSTANCE__REF);\n\n\t\trelationInstanceEClass = createEClass(RELATION_INSTANCE);\n\t\tcreateEReference(relationInstanceEClass, RELATION_INSTANCE__REF);\n\t\tcreateEReference(relationInstanceEClass, RELATION_INSTANCE__SOURCES);\n\t\tcreateEReference(relationInstanceEClass, RELATION_INSTANCE__TARGETS);\n\n\t\tstructureInstanceEClass = createEClass(STRUCTURE_INSTANCE);\n\t\tcreateEReference(structureInstanceEClass, STRUCTURE_INSTANCE__TYPE);\n\t\tcreateEReference(structureInstanceEClass, STRUCTURE_INSTANCE__OWNING_AXIOM);\n\t\tcreateEReference(structureInstanceEClass, STRUCTURE_INSTANCE__OWNING_ASSERTION);\n\n\t\tkeyAxiomEClass = createEClass(KEY_AXIOM);\n\t\tcreateEReference(keyAxiomEClass, KEY_AXIOM__PROPERTIES);\n\t\tcreateEReference(keyAxiomEClass, KEY_AXIOM__OWNING_ENTITY);\n\t\tcreateEOperation(keyAxiomEClass, KEY_AXIOM___GET_KEYED_ENTITY);\n\t\tcreateEOperation(keyAxiomEClass, KEY_AXIOM___GET_CHARACTERIZED_TERM);\n\n\t\tspecializationAxiomEClass = createEClass(SPECIALIZATION_AXIOM);\n\t\tcreateEReference(specializationAxiomEClass, SPECIALIZATION_AXIOM__SUPER_TERM);\n\t\tcreateEReference(specializationAxiomEClass, SPECIALIZATION_AXIOM__OWNING_TERM);\n\t\tcreateEOperation(specializationAxiomEClass, SPECIALIZATION_AXIOM___GET_SUB_TERM);\n\t\tcreateEOperation(specializationAxiomEClass, SPECIALIZATION_AXIOM___GET_CHARACTERIZED_TERM);\n\n\t\tinstanceEnumerationAxiomEClass = createEClass(INSTANCE_ENUMERATION_AXIOM);\n\t\tcreateEReference(instanceEnumerationAxiomEClass, INSTANCE_ENUMERATION_AXIOM__INSTANCES);\n\t\tcreateEReference(instanceEnumerationAxiomEClass, INSTANCE_ENUMERATION_AXIOM__OWNING_CONCEPT);\n\t\tcreateEOperation(instanceEnumerationAxiomEClass, INSTANCE_ENUMERATION_AXIOM___GET_ENUMERATED_CONCEPT);\n\t\tcreateEOperation(instanceEnumerationAxiomEClass, INSTANCE_ENUMERATION_AXIOM___GET_CHARACTERIZED_TERM);\n\n\t\tpropertyRestrictionAxiomEClass = createEClass(PROPERTY_RESTRICTION_AXIOM);\n\t\tcreateEReference(propertyRestrictionAxiomEClass, PROPERTY_RESTRICTION_AXIOM__PROPERTY);\n\t\tcreateEReference(propertyRestrictionAxiomEClass, PROPERTY_RESTRICTION_AXIOM__OWNING_CLASSIFIER);\n\t\tcreateEReference(propertyRestrictionAxiomEClass, PROPERTY_RESTRICTION_AXIOM__OWNING_AXIOM);\n\t\tcreateEOperation(propertyRestrictionAxiomEClass, PROPERTY_RESTRICTION_AXIOM___GET_RESTRICTING_DOMAIN);\n\t\tcreateEOperation(propertyRestrictionAxiomEClass, PROPERTY_RESTRICTION_AXIOM___GET_CHARACTERIZED_TERM);\n\n\t\tliteralEnumerationAxiomEClass = createEClass(LITERAL_ENUMERATION_AXIOM);\n\t\tcreateEReference(literalEnumerationAxiomEClass, LITERAL_ENUMERATION_AXIOM__LITERALS);\n\t\tcreateEReference(literalEnumerationAxiomEClass, LITERAL_ENUMERATION_AXIOM__OWNING_SCALAR);\n\t\tcreateEOperation(literalEnumerationAxiomEClass, LITERAL_ENUMERATION_AXIOM___GET_ENUMERATED_SCALAR);\n\t\tcreateEOperation(literalEnumerationAxiomEClass, LITERAL_ENUMERATION_AXIOM___GET_CHARACTERIZED_TERM);\n\n\t\tclassifierEquivalenceAxiomEClass = createEClass(CLASSIFIER_EQUIVALENCE_AXIOM);\n\t\tcreateEReference(classifierEquivalenceAxiomEClass, CLASSIFIER_EQUIVALENCE_AXIOM__SUPER_CLASSIFIERS);\n\t\tcreateEReference(classifierEquivalenceAxiomEClass, CLASSIFIER_EQUIVALENCE_AXIOM__OWNED_PROPERTY_RESTRICTIONS);\n\t\tcreateEReference(classifierEquivalenceAxiomEClass, CLASSIFIER_EQUIVALENCE_AXIOM__OWNING_CLASSIFIER);\n\t\tcreateEOperation(classifierEquivalenceAxiomEClass, CLASSIFIER_EQUIVALENCE_AXIOM___GET_SUB_CLASSIFIER);\n\t\tcreateEOperation(classifierEquivalenceAxiomEClass, CLASSIFIER_EQUIVALENCE_AXIOM___GET_CHARACTERIZED_TERM);\n\n\t\tscalarEquivalenceAxiomEClass = createEClass(SCALAR_EQUIVALENCE_AXIOM);\n\t\tcreateEReference(scalarEquivalenceAxiomEClass, SCALAR_EQUIVALENCE_AXIOM__SUPER_SCALAR);\n\t\tcreateEReference(scalarEquivalenceAxiomEClass, SCALAR_EQUIVALENCE_AXIOM__OWNING_SCALAR);\n\t\tcreateEAttribute(scalarEquivalenceAxiomEClass, SCALAR_EQUIVALENCE_AXIOM__LENGTH);\n\t\tcreateEAttribute(scalarEquivalenceAxiomEClass, SCALAR_EQUIVALENCE_AXIOM__MIN_LENGTH);\n\t\tcreateEAttribute(scalarEquivalenceAxiomEClass, SCALAR_EQUIVALENCE_AXIOM__MAX_LENGTH);\n\t\tcreateEAttribute(scalarEquivalenceAxiomEClass, SCALAR_EQUIVALENCE_AXIOM__PATTERN);\n\t\tcreateEAttribute(scalarEquivalenceAxiomEClass, SCALAR_EQUIVALENCE_AXIOM__LANGUAGE);\n\t\tcreateEReference(scalarEquivalenceAxiomEClass, SCALAR_EQUIVALENCE_AXIOM__MIN_INCLUSIVE);\n\t\tcreateEReference(scalarEquivalenceAxiomEClass, SCALAR_EQUIVALENCE_AXIOM__MIN_EXCLUSIVE);\n\t\tcreateEReference(scalarEquivalenceAxiomEClass, SCALAR_EQUIVALENCE_AXIOM__MAX_INCLUSIVE);\n\t\tcreateEReference(scalarEquivalenceAxiomEClass, SCALAR_EQUIVALENCE_AXIOM__MAX_EXCLUSIVE);\n\t\tcreateEOperation(scalarEquivalenceAxiomEClass, SCALAR_EQUIVALENCE_AXIOM___GET_SUB_SCALAR);\n\t\tcreateEOperation(scalarEquivalenceAxiomEClass, SCALAR_EQUIVALENCE_AXIOM___GET_CHARACTERIZED_TERM);\n\n\t\tpropertyEquivalenceAxiomEClass = createEClass(PROPERTY_EQUIVALENCE_AXIOM);\n\t\tcreateEReference(propertyEquivalenceAxiomEClass, PROPERTY_EQUIVALENCE_AXIOM__SUPER_PROPERTY);\n\t\tcreateEReference(propertyEquivalenceAxiomEClass, PROPERTY_EQUIVALENCE_AXIOM__OWNING_PROPERTY);\n\t\tcreateEOperation(propertyEquivalenceAxiomEClass, PROPERTY_EQUIVALENCE_AXIOM___GET_SUB_PROPERTY);\n\t\tcreateEOperation(propertyEquivalenceAxiomEClass, PROPERTY_EQUIVALENCE_AXIOM___GET_CHARACTERIZED_TERM);\n\n\t\tpropertyRangeRestrictionAxiomEClass = createEClass(PROPERTY_RANGE_RESTRICTION_AXIOM);\n\t\tcreateEAttribute(propertyRangeRestrictionAxiomEClass, PROPERTY_RANGE_RESTRICTION_AXIOM__KIND);\n\t\tcreateEReference(propertyRangeRestrictionAxiomEClass, PROPERTY_RANGE_RESTRICTION_AXIOM__RANGE);\n\n\t\tpropertyCardinalityRestrictionAxiomEClass = createEClass(PROPERTY_CARDINALITY_RESTRICTION_AXIOM);\n\t\tcreateEAttribute(propertyCardinalityRestrictionAxiomEClass, PROPERTY_CARDINALITY_RESTRICTION_AXIOM__KIND);\n\t\tcreateEAttribute(propertyCardinalityRestrictionAxiomEClass, PROPERTY_CARDINALITY_RESTRICTION_AXIOM__CARDINALITY);\n\t\tcreateEReference(propertyCardinalityRestrictionAxiomEClass, PROPERTY_CARDINALITY_RESTRICTION_AXIOM__RANGE);\n\n\t\tpropertyValueRestrictionAxiomEClass = createEClass(PROPERTY_VALUE_RESTRICTION_AXIOM);\n\t\tcreateEReference(propertyValueRestrictionAxiomEClass, PROPERTY_VALUE_RESTRICTION_AXIOM__LITERAL_VALUE);\n\t\tcreateEReference(propertyValueRestrictionAxiomEClass, PROPERTY_VALUE_RESTRICTION_AXIOM__STRUCTURE_INSTANCE_VALUE);\n\t\tcreateEReference(propertyValueRestrictionAxiomEClass, PROPERTY_VALUE_RESTRICTION_AXIOM__NAMED_INSTANCE_VALUE);\n\t\tcreateEOperation(propertyValueRestrictionAxiomEClass, PROPERTY_VALUE_RESTRICTION_AXIOM___GET_VALUE);\n\n\t\tpropertySelfRestrictionAxiomEClass = createEClass(PROPERTY_SELF_RESTRICTION_AXIOM);\n\n\t\ttypeAssertionEClass = createEClass(TYPE_ASSERTION);\n\t\tcreateEReference(typeAssertionEClass, TYPE_ASSERTION__TYPE);\n\t\tcreateEReference(typeAssertionEClass, TYPE_ASSERTION__OWNING_INSTANCE);\n\t\tcreateEOperation(typeAssertionEClass, TYPE_ASSERTION___GET_SUBJECT);\n\t\tcreateEOperation(typeAssertionEClass, TYPE_ASSERTION___GET_OBJECT);\n\n\t\tpropertyValueAssertionEClass = createEClass(PROPERTY_VALUE_ASSERTION);\n\t\tcreateEReference(propertyValueAssertionEClass, PROPERTY_VALUE_ASSERTION__PROPERTY);\n\t\tcreateEReference(propertyValueAssertionEClass, PROPERTY_VALUE_ASSERTION__LITERAL_VALUE);\n\t\tcreateEReference(propertyValueAssertionEClass, PROPERTY_VALUE_ASSERTION__STRUCTURE_INSTANCE_VALUE);\n\t\tcreateEReference(propertyValueAssertionEClass, PROPERTY_VALUE_ASSERTION__NAMED_INSTANCE_VALUE);\n\t\tcreateEReference(propertyValueAssertionEClass, PROPERTY_VALUE_ASSERTION__OWNING_INSTANCE);\n\t\tcreateEOperation(propertyValueAssertionEClass, PROPERTY_VALUE_ASSERTION___GET_VALUE);\n\t\tcreateEOperation(propertyValueAssertionEClass, PROPERTY_VALUE_ASSERTION___GET_SUBJECT);\n\t\tcreateEOperation(propertyValueAssertionEClass, PROPERTY_VALUE_ASSERTION___GET_OBJECT);\n\n\t\tunaryPredicateEClass = createEClass(UNARY_PREDICATE);\n\t\tcreateEReference(unaryPredicateEClass, UNARY_PREDICATE__ARGUMENT);\n\n\t\tbinaryPredicateEClass = createEClass(BINARY_PREDICATE);\n\t\tcreateEReference(binaryPredicateEClass, BINARY_PREDICATE__ARGUMENT1);\n\t\tcreateEReference(binaryPredicateEClass, BINARY_PREDICATE__ARGUMENT2);\n\n\t\tbuiltInPredicateEClass = createEClass(BUILT_IN_PREDICATE);\n\t\tcreateEReference(builtInPredicateEClass, BUILT_IN_PREDICATE__BUILT_IN);\n\t\tcreateEReference(builtInPredicateEClass, BUILT_IN_PREDICATE__ARGUMENTS);\n\n\t\ttypePredicateEClass = createEClass(TYPE_PREDICATE);\n\t\tcreateEReference(typePredicateEClass, TYPE_PREDICATE__TYPE);\n\n\t\trelationEntityPredicateEClass = createEClass(RELATION_ENTITY_PREDICATE);\n\t\tcreateEReference(relationEntityPredicateEClass, RELATION_ENTITY_PREDICATE__TYPE);\n\n\t\tpropertyPredicateEClass = createEClass(PROPERTY_PREDICATE);\n\t\tcreateEReference(propertyPredicateEClass, PROPERTY_PREDICATE__PROPERTY);\n\n\t\tsameAsPredicateEClass = createEClass(SAME_AS_PREDICATE);\n\n\t\tdifferentFromPredicateEClass = createEClass(DIFFERENT_FROM_PREDICATE);\n\n\t\tquotedLiteralEClass = createEClass(QUOTED_LITERAL);\n\t\tcreateEAttribute(quotedLiteralEClass, QUOTED_LITERAL__VALUE);\n\t\tcreateEAttribute(quotedLiteralEClass, QUOTED_LITERAL__LANG_TAG);\n\t\tcreateEReference(quotedLiteralEClass, QUOTED_LITERAL__TYPE);\n\t\tcreateEOperation(quotedLiteralEClass, QUOTED_LITERAL___GET_LEXICAL_VALUE);\n\t\tcreateEOperation(quotedLiteralEClass, QUOTED_LITERAL___GET_TYPE_IRI);\n\n\t\tintegerLiteralEClass = createEClass(INTEGER_LITERAL);\n\t\tcreateEAttribute(integerLiteralEClass, INTEGER_LITERAL__VALUE);\n\t\tcreateEOperation(integerLiteralEClass, INTEGER_LITERAL___GET_TYPE_IRI);\n\n\t\tdecimalLiteralEClass = createEClass(DECIMAL_LITERAL);\n\t\tcreateEAttribute(decimalLiteralEClass, DECIMAL_LITERAL__VALUE);\n\t\tcreateEOperation(decimalLiteralEClass, DECIMAL_LITERAL___GET_TYPE_IRI);\n\n\t\tdoubleLiteralEClass = createEClass(DOUBLE_LITERAL);\n\t\tcreateEAttribute(doubleLiteralEClass, DOUBLE_LITERAL__VALUE);\n\t\tcreateEOperation(doubleLiteralEClass, DOUBLE_LITERAL___GET_TYPE_IRI);\n\n\t\tbooleanLiteralEClass = createEClass(BOOLEAN_LITERAL);\n\t\tcreateEAttribute(booleanLiteralEClass, BOOLEAN_LITERAL__VALUE);\n\t\tcreateEOperation(booleanLiteralEClass, BOOLEAN_LITERAL___IS_VALUE);\n\t\tcreateEOperation(booleanLiteralEClass, BOOLEAN_LITERAL___GET_TYPE_IRI);\n\n\t\t// Create enums\n\t\tseparatorKindEEnum = createEEnum(SEPARATOR_KIND);\n\t\trangeRestrictionKindEEnum = createEEnum(RANGE_RESTRICTION_KIND);\n\t\tcardinalityRestrictionKindEEnum = createEEnum(CARDINALITY_RESTRICTION_KIND);\n\t\timportKindEEnum = createEEnum(IMPORT_KIND);\n\n\t\t// Create data types\n\t\tunsignedIntEDataType = createEDataType(UNSIGNED_INT);\n\t\tunsignedIntegerEDataType = createEDataType(UNSIGNED_INTEGER);\n\t\tdecimalEDataType = createEDataType(DECIMAL);\n\t\tidEDataType = createEDataType(ID);\n\t\tnamespaceEDataType = createEDataType(NAMESPACE);\n\t}", "protected abstract String getTemplateFilename();", "private void applyMetadataTemplateProjectES_BU_TF() {\n\t\tArrayList<ArtifactType> artifactTypes = new ArrayList<ArtifactType>();\n\t\tArrayList<DependencyType> dependencyTypes = new ArrayList<DependencyType>();\n\t\tArrayList<TaskType> taskTypes = new ArrayList<TaskType>();\n\t\tArrayList<RuleType> ruleTypes = new ArrayList<RuleType>();\n\t\tArrayList<Rule> rules = new ArrayList<Rule>();\n\t\t\n\t\tArrayList<ArtifactType> u = new ArrayList<ArtifactType>();\n\t\tArrayList<ArtifactType> p = new ArrayList<ArtifactType>();\n\t\tArrayList<DependencyType> d = new ArrayList<DependencyType>();\n\t\tString description = \"\";\n\t\t\n\t\tArtifactType ATstart = new ArtifactType(\"Start\",\".start\");\n\t\tArtifactType ATstory = new ArtifactType(\"Story\",\".txt\");\n\t\tArtifactType ATstoryTest = new ArtifactType(\"StoryTest\",\".java\");\n\t\tArtifactType ATinterface = new ArtifactType(\"Interface\",\".java\");\n\t\tArtifactType ATdomainClass = new ArtifactType(\"DomainClass\",\".java\");\n\t\tArtifactType ATdomainTest = new ArtifactType(\"DomainTest\",\".java\");\n\t\tartifactTypes.add(ATstart);\n\t\tartifactTypes.add(ATstory);\n\t\tartifactTypes.add(ATstoryTest);\n\t\tartifactTypes.add(ATinterface);\t\t\n\t\tartifactTypes.add(ATdomainClass);\n\t\tartifactTypes.add(ATdomainTest);\n\n\t\tu.add(ATstart);\n\t\tp.add(ATstory);\n\t\tDependencyType DTstory = new DependencyType(ATstart,ATstory,\"DTstory\");\n\t\td.add(DTstory);\n\t\tdependencyTypes.add(DTstory);\n\t\tdescription = \"Create a story for the project\";\n\t\ttaskTypes.add(new TaskType(new ArrayList<ArtifactType>(u),new ArrayList<ArtifactType>(p),new ArrayList<DependencyType>(d),description));\n\t\tu.clear(); p.clear(); d.clear();\n\t\t\n\t\tu.add(ATstory);\n\t\tp.add(ATdomainTest);\n\t\tDependencyType DTdomainTest = new DependencyType(ATstory,ATdomainTest,\"DTdomainTest\");\n\t\td.add(DTdomainTest);\n\t\tDTdomainTest.setMultiplicity(0);\n\t\tdependencyTypes.add(DTdomainTest);\n\t\tdescription = \"Create a domain test for the story\";\n\t\ttaskTypes.add(new TaskType(new ArrayList<ArtifactType>(u),new ArrayList<ArtifactType>(p),new ArrayList<DependencyType>(d),description));\n\t\tu.clear(); p.clear(); d.clear();\n\t\t\n\t\tu.add(ATdomainTest);\n\t\tp.add(ATdomainClass);\n\t\tDependencyType DTdomainClass = new DependencyType(ATdomainTest,ATdomainClass,\"DTdomainClass\");\n\t\td.add(DTdomainClass);\n\t\tdependencyTypes.add(DTdomainClass);\n\t\tdescription = \"Create a domain class for the domain test\";\n\t\ttaskTypes.add(new TaskType(new ArrayList<ArtifactType>(u),new ArrayList<ArtifactType>(p),new ArrayList<DependencyType>(d),description));\n\t\tu.clear(); p.clear(); d.clear();\n\t\t\n\t\tu.add(ATdomainTest);\n\t\tp.add(ATinterface);\n\t \tDependencyType DTinterface = new DependencyType(ATdomainTest,ATinterface,\"DTinterface\");\n\t\td.add(DTinterface);\n\t\tdependencyTypes.add(DTinterface);\n\t\tdescription = \"Create a interface for the domain test\";\n\t\ttaskTypes.add(new TaskType(new ArrayList<ArtifactType>(u),new ArrayList<ArtifactType>(p),new ArrayList<DependencyType>(d),description));\n\t\tu.clear(); p.clear(); d.clear();\n\t\t\n\t\tu.add(ATinterface);\n\t p.add(ATstoryTest);\n\t\tDependencyType DTstoryTest = new DependencyType(ATinterface,ATstoryTest,\"DTstoryTest\");\n\t\td.add(DTstoryTest);\n\t\tdependencyTypes.add(DTstoryTest);\n\t\tdescription = \"Create a story test for the interface\";\n\t\ttaskTypes.add(new TaskType(new ArrayList<ArtifactType>(u),new ArrayList<ArtifactType>(p),new ArrayList<DependencyType>(d),description));\n\t\tu.clear(); p.clear(); d.clear();\n\t\t\n\t\tstatus.setArtifactTypes(artifactTypes);\n\t\tstatus.setDependencyTypes(dependencyTypes);\n\t\tstatus.setTaskTypes(taskTypes);\t\n\t\tstatus.setRuleTypes(ruleTypes);\n\t\tstatus.setRules(rules);\n\t}", "@Override\n @Experimental\n Optional<GeneratedFile> visitMetaInfFile(String path, Element... originatingElements);", "public void createPackageContents() {\n\t\tif (isCreated)\n\t\t\treturn;\n\t\tisCreated = true;\n\n\t\t// Create classes and their features\n\t\tuserEClass = createEClass(USER);\n\t\tcreateEAttribute(userEClass, USER__NAME);\n\t\tcreateEReference(userEClass, USER__UR);\n\n\t\troleEClass = createEClass(ROLE);\n\t\tcreateEAttribute(roleEClass, ROLE__NAME);\n\t\tcreateEReference(roleEClass, ROLE__RD);\n\t\tcreateEReference(roleEClass, ROLE__SENIORS);\n\t\tcreateEReference(roleEClass, ROLE__JUNIORS);\n\t\tcreateEReference(roleEClass, ROLE__RU);\n\n\t\tpermissionEClass = createEClass(PERMISSION);\n\t\tcreateEAttribute(permissionEClass, PERMISSION__NAME);\n\t\tcreateEReference(permissionEClass, PERMISSION__PD);\n\n\t\tpolicyEClass = createEClass(POLICY);\n\t\tcreateEReference(policyEClass, POLICY__USERS);\n\t\tcreateEReference(policyEClass, POLICY__ROLES);\n\t\tcreateEReference(policyEClass, POLICY__PERMISSIONS);\n\t\tcreateEAttribute(policyEClass, POLICY__NAME);\n\t\tcreateEReference(policyEClass, POLICY__DEMARCATIONS);\n\n\t\tdemarcationEClass = createEClass(DEMARCATION);\n\t\tcreateEAttribute(demarcationEClass, DEMARCATION__NAME);\n\t\tcreateEReference(demarcationEClass, DEMARCATION__DP);\n\t\tcreateEReference(demarcationEClass, DEMARCATION__SUBS);\n\t\tcreateEReference(demarcationEClass, DEMARCATION__SUPS);\n\t\tcreateEReference(demarcationEClass, DEMARCATION__DR);\n\t}", "private void insertRemoveYouMethod(String rootDir)\n {\n\t\tString propChSupport = \"firePropertyChange(\\\"REMOVE_YOU\\\", this, null);\";\n\t\tif (!getRepairClassModel().hasFeature(Feature.PROPERTYCHANGESUPPORT)) {\n\t\t\t// return;\n\t\t\tpropChSupport = \"\";\n\t\t}\n\t\tTemplate template = new Template(Parser.METHOD + \":removeYou()\");\n\t\t// add removeYou method\n\t\tString overrideText = \"\";\n\t\tClazzSet superClazzes = model.getSuperClazzes(true);\n\t\tsuperClazzes.without(model);\n\t\tfor (Clazz clazz : superClazzes) {\n\t\t\tif (GraphUtil.isInterface(clazz)) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tif (!GraphUtil.isExternal(clazz)) {\n\t\t\t\toverrideText = \"@Override\";\n\t\t\t}\n\t\t\tif (getGenerator(clazz).getOrCreateParser(rootDir).indexOf(searchString) >= 0) {\n\t\t\t\toverrideText = \"@Override\";\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\ttemplate.withTemplate(\"\\n \" +\n\t \"\\n //==========================================================================\" +\n\t \"\\n \" +\n\t \"\\n {{Override}}\" +\n\t \"\\n public void removeYou()\" +\n\t \"\\n {\" +\n\t \"\\n \" + propChSupport + \n\t \"\\n }\" +\n\t \"\\n\");\n\t\ttemplate.insert(parser, \"Override\", overrideText);\n }", "public interface Metadata<I extends MetadataInfo> {\n\n /** Metadata types */\n public enum MetadataType {\n /* New types must be added to the end of this list */\n TOPOLOGY() {\n @Override\n public String getKey() { return \"Topology\";}\n },\n TABLE() {\n @Override\n public String getKey() { return \"Table\";}\n },\n SECURITY() {\n @Override\n public String getKey() { return \"Security\";}\n };\n\n /**\n * Gets a unique string for this type. This string may be used as a\n * key into a metadata store.\n *\n * @return a unique string\n */\n abstract public String getKey();\n }\n\n /* The sequence number of an newly created metadata, empty object */\n public static final int EMPTY_SEQUENCE_NUMBER = 0;\n\n /**\n * Gets the type of this metadata object.\n *\n * @return the type of this metadata object\n */\n public MetadataType getType();\n\n /**\n * Gets the highest sequence number of this metadata object.\n * Returns -1 if the metadata has not been initialized.\n *\n * @return the highest sequence number of this metadata object\n */\n public int getSequenceNumber();\n\n /**\n * Gets an information object for this metadata. The returned object will\n * include the changes between this object and the metadata at the\n * specified sequence number. If the metadata object can not supply\n * information based on the sequence number an empty metadata information\n * object is returned.\n *\n * @param startSeqNum the inclusive start of the sequence of\n * changes to be included\n * @return a metadata info object\n */\n public I getChangeInfo(int startSeqNum);\n}", "public interface Template {\n\n}", "public void createPackageContents()\n {\n if (isCreated) return;\n isCreated = true;\n\n // Create classes and their features\n programmeEClass = createEClass(PROGRAMME);\n createEReference(programmeEClass, PROGRAMME__PROCEDURES);\n\n procedureEClass = createEClass(PROCEDURE);\n createEAttribute(procedureEClass, PROCEDURE__NAME);\n createEAttribute(procedureEClass, PROCEDURE__PARAM);\n createEAttribute(procedureEClass, PROCEDURE__PARAMS);\n createEReference(procedureEClass, PROCEDURE__INST);\n\n instructionEClass = createEClass(INSTRUCTION);\n\n openEClass = createEClass(OPEN);\n createEAttribute(openEClass, OPEN__NAME);\n createEAttribute(openEClass, OPEN__VALUE);\n\n gotoEClass = createEClass(GOTO);\n createEAttribute(gotoEClass, GOTO__NAME);\n createEAttribute(gotoEClass, GOTO__VALUE);\n\n clickEClass = createEClass(CLICK);\n createEAttribute(clickEClass, CLICK__NAME);\n createEAttribute(clickEClass, CLICK__TYPE);\n createEReference(clickEClass, CLICK__IDENTIFIER);\n\n fillEClass = createEClass(FILL);\n createEAttribute(fillEClass, FILL__NAME);\n createEAttribute(fillEClass, FILL__FIELD_TYPE);\n createEReference(fillEClass, FILL__IDENTIFIER);\n createEAttribute(fillEClass, FILL__VAR);\n createEAttribute(fillEClass, FILL__VALUE);\n\n checkEClass = createEClass(CHECK);\n createEAttribute(checkEClass, CHECK__NAME);\n createEAttribute(checkEClass, CHECK__ALL);\n createEReference(checkEClass, CHECK__IDENTIFIER);\n\n uncheckEClass = createEClass(UNCHECK);\n createEAttribute(uncheckEClass, UNCHECK__NAME);\n createEAttribute(uncheckEClass, UNCHECK__ALL);\n createEReference(uncheckEClass, UNCHECK__IDENTIFIER);\n\n selectEClass = createEClass(SELECT);\n createEAttribute(selectEClass, SELECT__NAME);\n createEAttribute(selectEClass, SELECT__ELEM);\n createEReference(selectEClass, SELECT__IDENTIFIER);\n\n readEClass = createEClass(READ);\n createEAttribute(readEClass, READ__NAME);\n createEReference(readEClass, READ__IDENTIFIER);\n createEReference(readEClass, READ__SAVE_PATH);\n\n elementidentifierEClass = createEClass(ELEMENTIDENTIFIER);\n createEAttribute(elementidentifierEClass, ELEMENTIDENTIFIER__NAME);\n createEAttribute(elementidentifierEClass, ELEMENTIDENTIFIER__TYPE);\n createEAttribute(elementidentifierEClass, ELEMENTIDENTIFIER__VALUE);\n createEAttribute(elementidentifierEClass, ELEMENTIDENTIFIER__INFO);\n createEAttribute(elementidentifierEClass, ELEMENTIDENTIFIER__VAR);\n\n verifyEClass = createEClass(VERIFY);\n createEAttribute(verifyEClass, VERIFY__VALUE);\n\n verifY_CONTAINSEClass = createEClass(VERIFY_CONTAINS);\n createEAttribute(verifY_CONTAINSEClass, VERIFY_CONTAINS__TYPE);\n createEReference(verifY_CONTAINSEClass, VERIFY_CONTAINS__IDENTIFIER);\n createEReference(verifY_CONTAINSEClass, VERIFY_CONTAINS__CONTAINED_IDENTIFIER);\n createEReference(verifY_CONTAINSEClass, VERIFY_CONTAINS__VARIABLE);\n\n verifY_EQUALSEClass = createEClass(VERIFY_EQUALS);\n createEReference(verifY_EQUALSEClass, VERIFY_EQUALS__OPERATION);\n createEReference(verifY_EQUALSEClass, VERIFY_EQUALS__REGISTERED_VALUE);\n\n registereD_VALUEEClass = createEClass(REGISTERED_VALUE);\n createEAttribute(registereD_VALUEEClass, REGISTERED_VALUE__VAR);\n\n countEClass = createEClass(COUNT);\n createEAttribute(countEClass, COUNT__NAME);\n createEReference(countEClass, COUNT__IDENTIFIER);\n createEReference(countEClass, COUNT__SAVE_VARIABLE);\n\n savevarEClass = createEClass(SAVEVAR);\n createEAttribute(savevarEClass, SAVEVAR__VAR);\n\n playEClass = createEClass(PLAY);\n createEAttribute(playEClass, PLAY__NAME);\n createEAttribute(playEClass, PLAY__PREOCEDURE);\n createEAttribute(playEClass, PLAY__PARAMS);\n }", "public interface MetadataGenerator\n{\n\n /**\n * Prepares the generator to transform artifacts.\n * \n * @param artifacts The artifacts to install/deploy, must not be {@code null}.\n * @return The metadata to process (e.g. merge with existing metadata) before artifact transformations, never\n * {@code null}.\n */\n Collection<? extends Metadata> prepare( Collection<? extends Artifact> artifacts );\n\n /**\n * Enables the metadata generator to transform the specified artifact.\n * \n * @param artifact The artifact to transform, must not be {@code null}.\n * @return The transformed artifact (or just the input artifact), never {@code null}.\n */\n Artifact transformArtifact( Artifact artifact );\n\n /**\n * Allows for metadata generation based on the transformed artifacts.\n * \n * @param artifacts The (transformed) artifacts to install/deploy, must not be {@code null}.\n * @return The additional metadata to process after artifact transformations, never {@code null}.\n */\n Collection<? extends Metadata> finish( Collection<? extends Artifact> artifacts );\n\n}", "Documentation createDocumentation();", "Documentation createDocumentation();", "public void createPackageContents() {\r\n\t\tif (isCreated) return;\r\n\t\tisCreated = true;\r\n\r\n\t\t// Create classes and their features\r\n\t\tannotationModelEClass = createEClass(ANNOTATION_MODEL);\r\n\t\tcreateEAttribute(annotationModelEClass, ANNOTATION_MODEL__NAME);\r\n\t\tcreateEReference(annotationModelEClass, ANNOTATION_MODEL__HAS_ANNOTATED_ELEMENT);\r\n\t\tcreateEReference(annotationModelEClass, ANNOTATION_MODEL__HAS_ANNOTATION);\r\n\r\n\t\tannotationEClass = createEClass(ANNOTATION);\r\n\r\n\t\tauthorizableResourceEClass = createEClass(AUTHORIZABLE_RESOURCE);\r\n\t\tcreateEReference(authorizableResourceEClass, AUTHORIZABLE_RESOURCE__HAS_RESOURCE_ACCESS_POLICY_SET);\r\n\t\tcreateEReference(authorizableResourceEClass, AUTHORIZABLE_RESOURCE__IS_AUTHORIZABLE_RESOURCE);\r\n\t\tcreateEAttribute(authorizableResourceEClass, AUTHORIZABLE_RESOURCE__BTRACK_OWNERSHIP);\r\n\r\n\t\tresourceAccessPolicySetEClass = createEClass(RESOURCE_ACCESS_POLICY_SET);\r\n\t\tcreateEAttribute(resourceAccessPolicySetEClass, RESOURCE_ACCESS_POLICY_SET__NAME);\r\n\t\tcreateEAttribute(resourceAccessPolicySetEClass, RESOURCE_ACCESS_POLICY_SET__POLICY_COMBINING_ALGORITHM);\r\n\t\tcreateEReference(resourceAccessPolicySetEClass, RESOURCE_ACCESS_POLICY_SET__HAS_RESOURCE_ACCESS_POLICY);\r\n\t\tcreateEReference(resourceAccessPolicySetEClass, RESOURCE_ACCESS_POLICY_SET__HAS_RESOURCE_ACCESS_POLICY_SET);\r\n\r\n\t\tannotatedElementEClass = createEClass(ANNOTATED_ELEMENT);\r\n\r\n\t\tannResourceEClass = createEClass(ANN_RESOURCE);\r\n\t\tcreateEReference(annResourceEClass, ANN_RESOURCE__ANNOTATES_RESOURCE);\r\n\r\n\t\tresourceAccessPolicyEClass = createEClass(RESOURCE_ACCESS_POLICY);\r\n\t\tcreateEAttribute(resourceAccessPolicyEClass, RESOURCE_ACCESS_POLICY__NAME);\r\n\t\tcreateEAttribute(resourceAccessPolicyEClass, RESOURCE_ACCESS_POLICY__RULE_COMBINING_ALGORITHM);\r\n\t\tcreateEReference(resourceAccessPolicyEClass, RESOURCE_ACCESS_POLICY__HAS_APPLY_CONDITION);\r\n\t\tcreateEReference(resourceAccessPolicyEClass, RESOURCE_ACCESS_POLICY__HAS_RESOURCE_ACCESS_RULE);\r\n\r\n\t\tconditionEClass = createEClass(CONDITION);\r\n\t\tcreateEAttribute(conditionEClass, CONDITION__OPERATOR);\r\n\t\tcreateEReference(conditionEClass, CONDITION__HAS_LEFT_SIDE_OPERAND);\r\n\t\tcreateEReference(conditionEClass, CONDITION__HAS_RIGHT_SIDE_OPERAND);\r\n\r\n\t\tattributeEClass = createEClass(ATTRIBUTE);\r\n\t\tcreateEAttribute(attributeEClass, ATTRIBUTE__ATTRIBUTE_CATEGORY);\r\n\t\tcreateEReference(attributeEClass, ATTRIBUTE__IS_ATTRIBUTE_EXISTING_PROPERTY);\r\n\t\tcreateEAttribute(attributeEClass, ATTRIBUTE__VALUE);\r\n\t\tcreateEReference(attributeEClass, ATTRIBUTE__IS_ATTRIBUTE_NEW_PROPERTY);\r\n\t\tcreateEReference(attributeEClass, ATTRIBUTE__IS_ATTRIBUTE_RESOURCE);\r\n\r\n\t\tannPropertyEClass = createEClass(ANN_PROPERTY);\r\n\t\tcreateEReference(annPropertyEClass, ANN_PROPERTY__ANNOTATES_PROPERTY);\r\n\r\n\t\tresourceAccessRuleEClass = createEClass(RESOURCE_ACCESS_RULE);\r\n\t\tcreateEReference(resourceAccessRuleEClass, RESOURCE_ACCESS_RULE__HAS_MATCH_CONDITION);\r\n\t\tcreateEAttribute(resourceAccessRuleEClass, RESOURCE_ACCESS_RULE__NAME);\r\n\t\tcreateEAttribute(resourceAccessRuleEClass, RESOURCE_ACCESS_RULE__RULE_TYPE);\r\n\t\tcreateEReference(resourceAccessRuleEClass, RESOURCE_ACCESS_RULE__HAS_ALLOWED_ACTION);\r\n\r\n\t\tauthorizationSubjectEClass = createEClass(AUTHORIZATION_SUBJECT);\r\n\t\tcreateEReference(authorizationSubjectEClass, AUTHORIZATION_SUBJECT__IS_AUTHORIZATION_SUBJECT);\r\n\r\n\t\tannCRUDActivityEClass = createEClass(ANN_CRUD_ACTIVITY);\r\n\t\tcreateEReference(annCRUDActivityEClass, ANN_CRUD_ACTIVITY__ANNOTATES_CRUD_ACTIVITY);\r\n\r\n\t\tallowedActionEClass = createEClass(ALLOWED_ACTION);\r\n\t\tcreateEReference(allowedActionEClass, ALLOWED_ACTION__IS_ALLOWED_ACTION);\r\n\r\n\t\tnewPropertyEClass = createEClass(NEW_PROPERTY);\r\n\t\tcreateEReference(newPropertyEClass, NEW_PROPERTY__BELONGS_TO_RESOURCE);\r\n\t\tcreateEAttribute(newPropertyEClass, NEW_PROPERTY__NAME);\r\n\t\tcreateEAttribute(newPropertyEClass, NEW_PROPERTY__TYPE);\r\n\t\tcreateEAttribute(newPropertyEClass, NEW_PROPERTY__BIS_UNIQUE);\r\n\r\n\t\t// Create enums\r\n\t\tcombiningAlgorithmEEnum = createEEnum(COMBINING_ALGORITHM);\r\n\t\toperatorEEnum = createEEnum(OPERATOR);\r\n\t\tattributeCategoryEEnum = createEEnum(ATTRIBUTE_CATEGORY);\r\n\t\truleTypeEEnum = createEEnum(RULE_TYPE);\r\n\t}", "private static void addMetaData(Document document) {\n document.addTitle(\"Report\");\n //document.addSubject(\"Using iText\");\n //document.addKeywords(\"Java, PDF, iText\");\n document.addAuthor(\"Illya Barziy\");\n //document.addCreator(\"Lars Vogel\");\n }", "public void createPackageContents()\n {\n if (isCreated) return;\n isCreated = true;\n\n // Create classes and their features\n modelEClass = createEClass(MODEL);\n createEReference(modelEClass, MODEL__STMTS);\n\n simpleStatementEClass = createEClass(SIMPLE_STATEMENT);\n\n assignmentEClass = createEClass(ASSIGNMENT);\n createEReference(assignmentEClass, ASSIGNMENT__LEFT_HAND_SIDE);\n createEReference(assignmentEClass, ASSIGNMENT__RIGHT_HAND_SIDE);\n\n expressionEClass = createEClass(EXPRESSION);\n\n unaryMinusExpressionEClass = createEClass(UNARY_MINUS_EXPRESSION);\n createEReference(unaryMinusExpressionEClass, UNARY_MINUS_EXPRESSION__SUB);\n\n unaryPlusExpressionEClass = createEClass(UNARY_PLUS_EXPRESSION);\n createEReference(unaryPlusExpressionEClass, UNARY_PLUS_EXPRESSION__SUB);\n\n logicalNegationExpressionEClass = createEClass(LOGICAL_NEGATION_EXPRESSION);\n createEReference(logicalNegationExpressionEClass, LOGICAL_NEGATION_EXPRESSION__SUB);\n\n bracketExpressionEClass = createEClass(BRACKET_EXPRESSION);\n createEReference(bracketExpressionEClass, BRACKET_EXPRESSION__SUB);\n\n pointerCallEClass = createEClass(POINTER_CALL);\n\n variableCallEClass = createEClass(VARIABLE_CALL);\n createEAttribute(variableCallEClass, VARIABLE_CALL__NAME);\n\n arraySpecifierEClass = createEClass(ARRAY_SPECIFIER);\n\n unarySpecifierEClass = createEClass(UNARY_SPECIFIER);\n createEAttribute(unarySpecifierEClass, UNARY_SPECIFIER__INDEX);\n\n rangeSpecifierEClass = createEClass(RANGE_SPECIFIER);\n createEAttribute(rangeSpecifierEClass, RANGE_SPECIFIER__FROM);\n createEAttribute(rangeSpecifierEClass, RANGE_SPECIFIER__TO);\n\n ioFunctionsEClass = createEClass(IO_FUNCTIONS);\n createEAttribute(ioFunctionsEClass, IO_FUNCTIONS__FILE_NAME);\n\n infoFunctionsEClass = createEClass(INFO_FUNCTIONS);\n\n manipFunctionsEClass = createEClass(MANIP_FUNCTIONS);\n\n arithFunctionsEClass = createEClass(ARITH_FUNCTIONS);\n createEReference(arithFunctionsEClass, ARITH_FUNCTIONS__EXPRESSION);\n createEReference(arithFunctionsEClass, ARITH_FUNCTIONS__FIELD);\n createEReference(arithFunctionsEClass, ARITH_FUNCTIONS__WHERE_EXPRESSION);\n\n loadEClass = createEClass(LOAD);\n\n storeEClass = createEClass(STORE);\n createEReference(storeEClass, STORE__EXPRESSION);\n\n exportEClass = createEClass(EXPORT);\n createEReference(exportEClass, EXPORT__EXPRESSION);\n\n printEClass = createEClass(PRINT);\n createEReference(printEClass, PRINT__EXPRESSION);\n\n depthEClass = createEClass(DEPTH);\n createEReference(depthEClass, DEPTH__EXPRESSION);\n\n fieldInfoEClass = createEClass(FIELD_INFO);\n createEReference(fieldInfoEClass, FIELD_INFO__EXPRESSION);\n\n containsEClass = createEClass(CONTAINS);\n createEReference(containsEClass, CONTAINS__KEYS);\n createEReference(containsEClass, CONTAINS__RIGHT);\n\n selectEClass = createEClass(SELECT);\n createEReference(selectEClass, SELECT__FIELDS);\n createEReference(selectEClass, SELECT__FROM_EXPRESSION);\n createEReference(selectEClass, SELECT__WHERE_EXPRESSION);\n\n lengthEClass = createEClass(LENGTH);\n createEReference(lengthEClass, LENGTH__EXPRESSION);\n\n sumEClass = createEClass(SUM);\n\n productEClass = createEClass(PRODUCT);\n\n constantEClass = createEClass(CONSTANT);\n\n primitiveEClass = createEClass(PRIMITIVE);\n createEAttribute(primitiveEClass, PRIMITIVE__STR);\n createEAttribute(primitiveEClass, PRIMITIVE__INT_NUM);\n createEAttribute(primitiveEClass, PRIMITIVE__FLOAT_NUM);\n createEAttribute(primitiveEClass, PRIMITIVE__BOOL);\n createEAttribute(primitiveEClass, PRIMITIVE__NIL);\n\n arrayEClass = createEClass(ARRAY);\n createEReference(arrayEClass, ARRAY__VALUES);\n\n jSonObjectEClass = createEClass(JSON_OBJECT);\n createEReference(jSonObjectEClass, JSON_OBJECT__FIELDS);\n\n fieldEClass = createEClass(FIELD);\n createEReference(fieldEClass, FIELD__KEY);\n createEReference(fieldEClass, FIELD__VALUE);\n\n disjunctionExpressionEClass = createEClass(DISJUNCTION_EXPRESSION);\n createEReference(disjunctionExpressionEClass, DISJUNCTION_EXPRESSION__LEFT);\n createEReference(disjunctionExpressionEClass, DISJUNCTION_EXPRESSION__RIGHT);\n\n conjunctionExpressionEClass = createEClass(CONJUNCTION_EXPRESSION);\n createEReference(conjunctionExpressionEClass, CONJUNCTION_EXPRESSION__LEFT);\n createEReference(conjunctionExpressionEClass, CONJUNCTION_EXPRESSION__RIGHT);\n\n equalityExpressionEClass = createEClass(EQUALITY_EXPRESSION);\n createEReference(equalityExpressionEClass, EQUALITY_EXPRESSION__LEFT);\n createEReference(equalityExpressionEClass, EQUALITY_EXPRESSION__RIGHT);\n\n inequalityExpressionEClass = createEClass(INEQUALITY_EXPRESSION);\n createEReference(inequalityExpressionEClass, INEQUALITY_EXPRESSION__LEFT);\n createEReference(inequalityExpressionEClass, INEQUALITY_EXPRESSION__RIGHT);\n\n superiorExpressionEClass = createEClass(SUPERIOR_EXPRESSION);\n createEReference(superiorExpressionEClass, SUPERIOR_EXPRESSION__LEFT);\n createEReference(superiorExpressionEClass, SUPERIOR_EXPRESSION__RIGHT);\n\n superiorOrEqualExpressionEClass = createEClass(SUPERIOR_OR_EQUAL_EXPRESSION);\n createEReference(superiorOrEqualExpressionEClass, SUPERIOR_OR_EQUAL_EXPRESSION__LEFT);\n createEReference(superiorOrEqualExpressionEClass, SUPERIOR_OR_EQUAL_EXPRESSION__RIGHT);\n\n inferiorExpressionEClass = createEClass(INFERIOR_EXPRESSION);\n createEReference(inferiorExpressionEClass, INFERIOR_EXPRESSION__LEFT);\n createEReference(inferiorExpressionEClass, INFERIOR_EXPRESSION__RIGHT);\n\n inferiorOrEqualExpressionEClass = createEClass(INFERIOR_OR_EQUAL_EXPRESSION);\n createEReference(inferiorOrEqualExpressionEClass, INFERIOR_OR_EQUAL_EXPRESSION__LEFT);\n createEReference(inferiorOrEqualExpressionEClass, INFERIOR_OR_EQUAL_EXPRESSION__RIGHT);\n\n additionExpressionEClass = createEClass(ADDITION_EXPRESSION);\n createEReference(additionExpressionEClass, ADDITION_EXPRESSION__LEFT);\n createEReference(additionExpressionEClass, ADDITION_EXPRESSION__RIGHT);\n\n substractionExpressionEClass = createEClass(SUBSTRACTION_EXPRESSION);\n createEReference(substractionExpressionEClass, SUBSTRACTION_EXPRESSION__LEFT);\n createEReference(substractionExpressionEClass, SUBSTRACTION_EXPRESSION__RIGHT);\n\n multiplicationExpressionEClass = createEClass(MULTIPLICATION_EXPRESSION);\n createEReference(multiplicationExpressionEClass, MULTIPLICATION_EXPRESSION__LEFT);\n createEReference(multiplicationExpressionEClass, MULTIPLICATION_EXPRESSION__RIGHT);\n\n divisionExpressionEClass = createEClass(DIVISION_EXPRESSION);\n createEReference(divisionExpressionEClass, DIVISION_EXPRESSION__LEFT);\n createEReference(divisionExpressionEClass, DIVISION_EXPRESSION__RIGHT);\n\n moduloExpressionEClass = createEClass(MODULO_EXPRESSION);\n createEReference(moduloExpressionEClass, MODULO_EXPRESSION__LEFT);\n createEReference(moduloExpressionEClass, MODULO_EXPRESSION__RIGHT);\n\n arrayCallEClass = createEClass(ARRAY_CALL);\n createEReference(arrayCallEClass, ARRAY_CALL__CALLEE);\n createEReference(arrayCallEClass, ARRAY_CALL__SPECIFIER);\n\n fieldCallEClass = createEClass(FIELD_CALL);\n createEReference(fieldCallEClass, FIELD_CALL__CALLEE);\n createEAttribute(fieldCallEClass, FIELD_CALL__FIELD);\n }", "public void createPackageContents()\n {\n if (isCreated) return;\n isCreated = true;\n\n // Create classes and their features\n stylesheetEClass = createEClass(STYLESHEET);\n createEAttribute(stylesheetEClass, STYLESHEET__CHAR_SET);\n createEReference(stylesheetEClass, STYLESHEET__IMPORTS);\n createEReference(stylesheetEClass, STYLESHEET__STATEMENTS);\n\n cssTopLevelStatementEClass = createEClass(CSS_TOP_LEVEL_STATEMENT);\n\n cssOtherTopLevelDeclarationEClass = createEClass(CSS_OTHER_TOP_LEVEL_DECLARATION);\n\n importDeclarationEClass = createEClass(IMPORT_DECLARATION);\n createEAttribute(importDeclarationEClass, IMPORT_DECLARATION__IMPORT_URI);\n createEAttribute(importDeclarationEClass, IMPORT_DECLARATION__URL);\n createEAttribute(importDeclarationEClass, IMPORT_DECLARATION__MEDIA);\n\n mediaDeclarationEClass = createEClass(MEDIA_DECLARATION);\n createEReference(mediaDeclarationEClass, MEDIA_DECLARATION__MEDIA_QUERIES);\n createEReference(mediaDeclarationEClass, MEDIA_DECLARATION__MEDIA);\n createEReference(mediaDeclarationEClass, MEDIA_DECLARATION__MEMBERS);\n\n mediaDeclarationMembersEClass = createEClass(MEDIA_DECLARATION_MEMBERS);\n\n mediaQueryEClass = createEClass(MEDIA_QUERY);\n createEAttribute(mediaQueryEClass, MEDIA_QUERY__ONLY);\n createEAttribute(mediaQueryEClass, MEDIA_QUERY__NOT);\n createEAttribute(mediaQueryEClass, MEDIA_QUERY__MEDIA_TYPE);\n createEReference(mediaQueryEClass, MEDIA_QUERY__EXPRESSIONS);\n\n mediaQueryExpressionEClass = createEClass(MEDIA_QUERY_EXPRESSION);\n createEAttribute(mediaQueryExpressionEClass, MEDIA_QUERY_EXPRESSION__FEATURE);\n createEReference(mediaQueryExpressionEClass, MEDIA_QUERY_EXPRESSION__EXPRESSION);\n\n pageDeclarationEClass = createEClass(PAGE_DECLARATION);\n createEAttribute(pageDeclarationEClass, PAGE_DECLARATION__PSEUDO_PAGE);\n createEReference(pageDeclarationEClass, PAGE_DECLARATION__BODY);\n\n namespaceDeclarationEClass = createEClass(NAMESPACE_DECLARATION);\n createEAttribute(namespaceDeclarationEClass, NAMESPACE_DECLARATION__NAME);\n createEAttribute(namespaceDeclarationEClass, NAMESPACE_DECLARATION__URL);\n\n fontFaceDeclarationEClass = createEClass(FONT_FACE_DECLARATION);\n createEReference(fontFaceDeclarationEClass, FONT_FACE_DECLARATION__BODY);\n\n ruleSetEClass = createEClass(RULE_SET);\n createEReference(ruleSetEClass, RULE_SET__SELECTORS);\n createEReference(ruleSetEClass, RULE_SET__BODY);\n\n ruleSetBodyEClass = createEClass(RULE_SET_BODY);\n createEReference(ruleSetBodyEClass, RULE_SET_BODY__DECLARATIONS);\n\n propertyDeclarationEClass = createEClass(PROPERTY_DECLARATION);\n createEReference(propertyDeclarationEClass, PROPERTY_DECLARATION__VALUES_LISTS);\n\n knownPropertyDeclarationEClass = createEClass(KNOWN_PROPERTY_DECLARATION);\n createEAttribute(knownPropertyDeclarationEClass, KNOWN_PROPERTY_DECLARATION__NAME);\n\n unrecognizedPropertyDeclarationEClass = createEClass(UNRECOGNIZED_PROPERTY_DECLARATION);\n createEAttribute(unrecognizedPropertyDeclarationEClass, UNRECOGNIZED_PROPERTY_DECLARATION__NAME);\n\n propertyValuesListsEClass = createEClass(PROPERTY_VALUES_LISTS);\n createEReference(propertyValuesListsEClass, PROPERTY_VALUES_LISTS__LISTS);\n\n propertyValuesListEClass = createEClass(PROPERTY_VALUES_LIST);\n createEReference(propertyValuesListEClass, PROPERTY_VALUES_LIST__VALUES);\n\n propertyValueEClass = createEClass(PROPERTY_VALUE);\n createEReference(propertyValueEClass, PROPERTY_VALUE__VALUE);\n createEAttribute(propertyValueEClass, PROPERTY_VALUE__IMPORTANT);\n\n selectorEClass = createEClass(SELECTOR);\n\n simpleSelectorEClass = createEClass(SIMPLE_SELECTOR);\n\n typeSelectorEClass = createEClass(TYPE_SELECTOR);\n createEReference(typeSelectorEClass, TYPE_SELECTOR__NAMESPACE_PREFIX);\n createEAttribute(typeSelectorEClass, TYPE_SELECTOR__TYPE);\n\n namespacePrefixEClass = createEClass(NAMESPACE_PREFIX);\n createEReference(namespacePrefixEClass, NAMESPACE_PREFIX__NAMESPACE);\n\n universalSelectorEClass = createEClass(UNIVERSAL_SELECTOR);\n createEReference(universalSelectorEClass, UNIVERSAL_SELECTOR__NAMESPACE_PREFIX);\n\n attributeSelectorEClass = createEClass(ATTRIBUTE_SELECTOR);\n createEReference(attributeSelectorEClass, ATTRIBUTE_SELECTOR__ATTRIBUTE);\n createEAttribute(attributeSelectorEClass, ATTRIBUTE_SELECTOR__MATCHER);\n createEReference(attributeSelectorEClass, ATTRIBUTE_SELECTOR__VALUE);\n\n attributeEClass = createEClass(ATTRIBUTE);\n createEReference(attributeEClass, ATTRIBUTE__NAMESPACE_PREFIX);\n createEAttribute(attributeEClass, ATTRIBUTE__NAME);\n\n attributeValueLiteralEClass = createEClass(ATTRIBUTE_VALUE_LITERAL);\n\n idSelectorEClass = createEClass(ID_SELECTOR);\n createEAttribute(idSelectorEClass, ID_SELECTOR__NAME);\n\n classSelectorEClass = createEClass(CLASS_SELECTOR);\n createEAttribute(classSelectorEClass, CLASS_SELECTOR__NAME);\n\n pseudoSelectorEClass = createEClass(PSEUDO_SELECTOR);\n\n noArgsPseudoClassSelectorEClass = createEClass(NO_ARGS_PSEUDO_CLASS_SELECTOR);\n createEAttribute(noArgsPseudoClassSelectorEClass, NO_ARGS_PSEUDO_CLASS_SELECTOR__PSEUDO);\n\n pseudoElementSelectorEClass = createEClass(PSEUDO_ELEMENT_SELECTOR);\n createEAttribute(pseudoElementSelectorEClass, PSEUDO_ELEMENT_SELECTOR__DOUBLE_SEMI_COLON);\n createEAttribute(pseudoElementSelectorEClass, PSEUDO_ELEMENT_SELECTOR__PSEUDO);\n\n languagePseudoClassSelectorEClass = createEClass(LANGUAGE_PSEUDO_CLASS_SELECTOR);\n createEAttribute(languagePseudoClassSelectorEClass, LANGUAGE_PSEUDO_CLASS_SELECTOR__LANGUGAGE_ID);\n\n functionalPseudoClassSelectorEClass = createEClass(FUNCTIONAL_PSEUDO_CLASS_SELECTOR);\n createEAttribute(functionalPseudoClassSelectorEClass, FUNCTIONAL_PSEUDO_CLASS_SELECTOR__PSEUDO);\n createEReference(functionalPseudoClassSelectorEClass, FUNCTIONAL_PSEUDO_CLASS_SELECTOR__ARGUMENT);\n\n typeArgumentEClass = createEClass(TYPE_ARGUMENT);\n\n linearArgumentEClass = createEClass(LINEAR_ARGUMENT);\n createEReference(linearArgumentEClass, LINEAR_ARGUMENT__COEFFICIENT);\n createEAttribute(linearArgumentEClass, LINEAR_ARGUMENT__CONSTANT_SIGN);\n createEAttribute(linearArgumentEClass, LINEAR_ARGUMENT__CONSTANT);\n\n coefficientEClass = createEClass(COEFFICIENT);\n createEAttribute(coefficientEClass, COEFFICIENT__IDENT);\n createEAttribute(coefficientEClass, COEFFICIENT__INT);\n\n constantArgumentEClass = createEClass(CONSTANT_ARGUMENT);\n createEAttribute(constantArgumentEClass, CONSTANT_ARGUMENT__SIGN);\n createEAttribute(constantArgumentEClass, CONSTANT_ARGUMENT__INT);\n\n parityArgumentEClass = createEClass(PARITY_ARGUMENT);\n createEAttribute(parityArgumentEClass, PARITY_ARGUMENT__PARITY);\n\n negationSelectorEClass = createEClass(NEGATION_SELECTOR);\n createEReference(negationSelectorEClass, NEGATION_SELECTOR__SIMPLE_SELECTOR);\n\n valueLiteralEClass = createEClass(VALUE_LITERAL);\n\n numberLiteralEClass = createEClass(NUMBER_LITERAL);\n\n sizeLiteralEClass = createEClass(SIZE_LITERAL);\n\n stringLiteralEClass = createEClass(STRING_LITERAL);\n createEAttribute(stringLiteralEClass, STRING_LITERAL__VALUE);\n\n colorLiteralEClass = createEClass(COLOR_LITERAL);\n\n componentColorLiteralEClass = createEClass(COMPONENT_COLOR_LITERAL);\n\n colorComponentLiteralEClass = createEClass(COLOR_COMPONENT_LITERAL);\n createEReference(colorComponentLiteralEClass, COLOR_COMPONENT_LITERAL__NUMBER);\n createEAttribute(colorComponentLiteralEClass, COLOR_COMPONENT_LITERAL__PERCENTAGE);\n\n urlLiteralEClass = createEClass(URL_LITERAL);\n createEAttribute(urlLiteralEClass, URL_LITERAL__VALUE);\n\n bareWordLiteralEClass = createEClass(BARE_WORD_LITERAL);\n createEAttribute(bareWordLiteralEClass, BARE_WORD_LITERAL__BARE_WORD);\n\n functionCallLiteralEClass = createEClass(FUNCTION_CALL_LITERAL);\n createEAttribute(functionCallLiteralEClass, FUNCTION_CALL_LITERAL__FUNCTION);\n createEReference(functionCallLiteralEClass, FUNCTION_CALL_LITERAL__ARGUMENTS);\n\n descendantCombinatorEClass = createEClass(DESCENDANT_COMBINATOR);\n createEReference(descendantCombinatorEClass, DESCENDANT_COMBINATOR__LEFT);\n createEAttribute(descendantCombinatorEClass, DESCENDANT_COMBINATOR__WS_I);\n createEReference(descendantCombinatorEClass, DESCENDANT_COMBINATOR__RIGHT);\n\n childCombinatorEClass = createEClass(CHILD_COMBINATOR);\n createEReference(childCombinatorEClass, CHILD_COMBINATOR__LEFT);\n createEAttribute(childCombinatorEClass, CHILD_COMBINATOR__WS_L);\n createEAttribute(childCombinatorEClass, CHILD_COMBINATOR__WS_R);\n createEReference(childCombinatorEClass, CHILD_COMBINATOR__RIGHT);\n\n adjacentSiblingCombinatorEClass = createEClass(ADJACENT_SIBLING_COMBINATOR);\n createEReference(adjacentSiblingCombinatorEClass, ADJACENT_SIBLING_COMBINATOR__LEFT);\n createEAttribute(adjacentSiblingCombinatorEClass, ADJACENT_SIBLING_COMBINATOR__WS_L);\n createEAttribute(adjacentSiblingCombinatorEClass, ADJACENT_SIBLING_COMBINATOR__WS_R);\n createEReference(adjacentSiblingCombinatorEClass, ADJACENT_SIBLING_COMBINATOR__RIGHT);\n\n generalSiblingCombinatorEClass = createEClass(GENERAL_SIBLING_COMBINATOR);\n createEReference(generalSiblingCombinatorEClass, GENERAL_SIBLING_COMBINATOR__LEFT);\n createEAttribute(generalSiblingCombinatorEClass, GENERAL_SIBLING_COMBINATOR__WS_L);\n createEAttribute(generalSiblingCombinatorEClass, GENERAL_SIBLING_COMBINATOR__WS_R);\n createEReference(generalSiblingCombinatorEClass, GENERAL_SIBLING_COMBINATOR__RIGHT);\n\n simpleSelectorSequenceEClass = createEClass(SIMPLE_SELECTOR_SEQUENCE);\n createEReference(simpleSelectorSequenceEClass, SIMPLE_SELECTOR_SEQUENCE__HEAD);\n createEReference(simpleSelectorSequenceEClass, SIMPLE_SELECTOR_SEQUENCE__SIMPLE_SELECTORS);\n\n universalNamespacePrefixEClass = createEClass(UNIVERSAL_NAMESPACE_PREFIX);\n\n withoutNamespacePrefixEClass = createEClass(WITHOUT_NAMESPACE_PREFIX);\n\n stringAttributeValueLiteralEClass = createEClass(STRING_ATTRIBUTE_VALUE_LITERAL);\n createEAttribute(stringAttributeValueLiteralEClass, STRING_ATTRIBUTE_VALUE_LITERAL__VALUE);\n\n integerAttributeValueLiteralEClass = createEClass(INTEGER_ATTRIBUTE_VALUE_LITERAL);\n createEAttribute(integerAttributeValueLiteralEClass, INTEGER_ATTRIBUTE_VALUE_LITERAL__VALUE);\n\n decimalAttributeValueLiteralEClass = createEClass(DECIMAL_ATTRIBUTE_VALUE_LITERAL);\n createEAttribute(decimalAttributeValueLiteralEClass, DECIMAL_ATTRIBUTE_VALUE_LITERAL__VALUE);\n\n integerLiteralEClass = createEClass(INTEGER_LITERAL);\n createEAttribute(integerLiteralEClass, INTEGER_LITERAL__INT);\n\n decimalLiteralEClass = createEClass(DECIMAL_LITERAL);\n createEAttribute(decimalLiteralEClass, DECIMAL_LITERAL__DECIMAL);\n\n quantifiedSizeLiteralEClass = createEClass(QUANTIFIED_SIZE_LITERAL);\n createEReference(quantifiedSizeLiteralEClass, QUANTIFIED_SIZE_LITERAL__NUMBER);\n createEAttribute(quantifiedSizeLiteralEClass, QUANTIFIED_SIZE_LITERAL__DIMENSION);\n\n qualifiedSizeLiteralEClass = createEClass(QUALIFIED_SIZE_LITERAL);\n createEAttribute(qualifiedSizeLiteralEClass, QUALIFIED_SIZE_LITERAL__BAREWORD);\n\n fontHeightLiteralEClass = createEClass(FONT_HEIGHT_LITERAL);\n createEReference(fontHeightLiteralEClass, FONT_HEIGHT_LITERAL__FONT_HEIGHT);\n createEReference(fontHeightLiteralEClass, FONT_HEIGHT_LITERAL__LINE_HEIGHT);\n createEAttribute(fontHeightLiteralEClass, FONT_HEIGHT_LITERAL__LINE_HEIGHT_DIMENSION);\n\n rgbColorEClass = createEClass(RGB_COLOR);\n createEAttribute(rgbColorEClass, RGB_COLOR__RGB);\n\n namedColorEClass = createEClass(NAMED_COLOR);\n createEAttribute(namedColorEClass, NAMED_COLOR__COLOR);\n\n componentRGBColorEClass = createEClass(COMPONENT_RGB_COLOR);\n createEReference(componentRGBColorEClass, COMPONENT_RGB_COLOR__RED);\n createEReference(componentRGBColorEClass, COMPONENT_RGB_COLOR__GREEN);\n createEReference(componentRGBColorEClass, COMPONENT_RGB_COLOR__BLUE);\n\n componentRGBAlphaColorEClass = createEClass(COMPONENT_RGB_ALPHA_COLOR);\n createEReference(componentRGBAlphaColorEClass, COMPONENT_RGB_ALPHA_COLOR__RED);\n createEReference(componentRGBAlphaColorEClass, COMPONENT_RGB_ALPHA_COLOR__GREEN);\n createEReference(componentRGBAlphaColorEClass, COMPONENT_RGB_ALPHA_COLOR__BLUE);\n createEReference(componentRGBAlphaColorEClass, COMPONENT_RGB_ALPHA_COLOR__OPACITY);\n\n componentHSLColorEClass = createEClass(COMPONENT_HSL_COLOR);\n createEReference(componentHSLColorEClass, COMPONENT_HSL_COLOR__HUE);\n createEReference(componentHSLColorEClass, COMPONENT_HSL_COLOR__SATURATION);\n createEReference(componentHSLColorEClass, COMPONENT_HSL_COLOR__LIGHTNESS);\n\n componentHSLAlphaColorEClass = createEClass(COMPONENT_HSL_ALPHA_COLOR);\n createEReference(componentHSLAlphaColorEClass, COMPONENT_HSL_ALPHA_COLOR__HUE);\n createEReference(componentHSLAlphaColorEClass, COMPONENT_HSL_ALPHA_COLOR__SATURATION);\n createEReference(componentHSLAlphaColorEClass, COMPONENT_HSL_ALPHA_COLOR__LIGHTNESS);\n createEReference(componentHSLAlphaColorEClass, COMPONENT_HSL_ALPHA_COLOR__OPACITY);\n\n alphaLiteralEClass = createEClass(ALPHA_LITERAL);\n createEReference(alphaLiteralEClass, ALPHA_LITERAL__OPACITY);\n\n // Create enums\n knownPropertiesEEnum = createEEnum(KNOWN_PROPERTIES);\n attributeSelectorMatchersEEnum = createEEnum(ATTRIBUTE_SELECTOR_MATCHERS);\n noArgsPseudosEEnum = createEEnum(NO_ARGS_PSEUDOS);\n pseudoElementsEEnum = createEEnum(PSEUDO_ELEMENTS);\n functionalPseudoClassesEEnum = createEEnum(FUNCTIONAL_PSEUDO_CLASSES);\n paritiesEEnum = createEEnum(PARITIES);\n dimensionsEEnum = createEEnum(DIMENSIONS);\n colorNamesEEnum = createEEnum(COLOR_NAMES);\n }", "String getTemplate();", "CreationData creationData();", "public interface ITemplate {\n\t\n\t/**\n\t * Returns UID of this ITemplate\n\t * \n\t * @return UID as String\n\t */\n\tpublic String getID();\n\t\n\t/**\n\t * Returns name of Template, visible to user\n\t * \n\t * @return name as String\n\t */\n\tpublic String getName();\n\t\n\t/**\n\t * Returns optimal contiguous hours user should work on steps in a template\n\t * \n\t * @return preferred consecutive hours as double\n\t */\n\tpublic double getPreferredConsecutiveHours();\n\t\n\t/**\n\t * Adds a new step to the template. Names of Steps in template must be unique to be successfully added.\n\t * \n\t * @param stepToAdd the new step\n\t * @param stepBefore the step that was before\n\t * @return true if step successfully added\n\t */\n\tpublic boolean addStep(ITemplateStep stepToAdd, ITemplateStep stepBefore);\n\t\n\t/**\n\t * Adds a new step to the template. Names of Steps in template must be unique to be successfully added.\n\t * \n\t * @param step Step to be added\n\t * @return if the step added correctly\n\t */\n\tpublic boolean addStep(ITemplateStep step);\n\t\n\t/**\n\t * Removes a step from the template\n\t * \n\t * @param stepToRemove a step to take out\n\t * @return the step that was removed\n\t */\n\tpublic ITemplateStep removeStep(ITemplateStep stepToRemove);\n\t\n\t/**\n\t * Gives a list of all steps represented in the template\n\t * \n\t * @return a List of all steps\n\t */\n\tpublic List<ITemplateStep> getAllSteps();\n\t\n\t/**\n\t * Searches for a step by name\n\t * \n\t * @param stepName the possible name of the step\n\t * @return a template step if found or null if not\n\t */\n\tpublic ITemplateStep getStepByName(String stepName);\n\t\n\t/**\n\t * Clears all steps\n\t * \n\t * @return the old steps that got cleared\n\t */\n\tpublic List<ITemplateStep> clearSteps();\n\t\n\t/**\n\t * Full String representation of this class\n\t * \n\t * @return String representing all aspects of this class\n\t */\n\tpublic String fullString();\n\t\n\t/**\n\t * Sets a new title for the template\n\t * \n\t * @param titleTemplate the new title\n\t */\n\tpublic void setTitle(String titleTemplate);\n\t\n}", "Map<String, String> getCustomMetadata();", "public interface PCSMetadata {\n\n /* Met Fields */\n String APPLICATION_SUCCESS_FLAG = \"ApplicationSuccessFlag\";\n\n String ON_DISK = \"OnDisk\";\n\n String TAPE_LOCATION = \"TapeLocation\";\n\n String PRODUCTION_LOCATION = \"ProductionLocation\";\n\n String PRODUCTION_LOCATION_CODE = \"ProductionLocationCode\";\n\n String DATA_VERSION = \"DataVersion\";\n\n String DATA_PROVIDER = \"DataProvider\";\n\n String COLLECTION_LABEL = \"CollectionLabel\";\n\n String COMMENTS = \"Comments\";\n\n String EXECUTABLE_PATHNAMES = \"ExecutablePathnames\";\n\n String EXECUTABLE_VERSIONS = \"ExecutableVersions\";\n\n String PROCESSING_LEVEL = \"ProcessingLevel\";\n\n String JOB_ID = \"JobId\";\n\n String TASK_ID = \"TaskId\";\n\n String PRODUCTION_DATE_TIME = \"ProductionDateTime\";\n\n String INPUT_FILES = \"InputFiles\";\n\n String PGE_NAME = \"PGEName\";\n\n String OUTPUT_FILES = \"OutputFiles\";\n \n String TEST_TAG = \"TestTag\";\n\n String SUB_TEST_TAG = \"SubTestTag\";\n\n String TEST_LOCATION = \"TestLocation\";\n\n String TEST_COUNTER = \"TestCounter\";\n\n String TEST_DATE = \"TestDate\";\n \n String START_DATE_TIME = \"StartDateTime\";\n\n String END_DATE_TIME = \"EndDateTime\";\n\n}", "protected void generateMethods(ClassContext classContext, IData data, String bean, SourceWriter sw) {\n }", "protected void createExtendedMetaDataAnnotations() {\n\t\tString source = \"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\";\t\t\t\t\t\n\t\taddAnnotation\n\t\t (analyzerJobEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"name\", \"AnalyzerJob\",\n\t\t\t \"kind\", \"elementOnly\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (getAnalyzerJob_RFSService(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"element\",\n\t\t\t \"name\", \"RFSService\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (componentFailureEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"name\", \"ComponentFailure\",\n\t\t\t \"kind\", \"elementOnly\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (getComponentFailure_ComponentRef(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"element\",\n\t\t\t \"name\", \"ComponentRef\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (componentWorkFlowRunEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"name\", \"ComponentWorkFlowRun\",\n\t\t\t \"kind\", \"elementOnly\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (getComponentWorkFlowRun_FailureRefs(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"element\",\n\t\t\t \"name\", \"FailureRefs\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (expressionFailureEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"name\", \"ExpressionFailure\",\n\t\t\t \"kind\", \"elementOnly\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (getExpressionFailure_ExpressionRef(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"element\",\n\t\t\t \"name\", \"ExpressionRef\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (failureEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"name\", \"Failure\",\n\t\t\t \"kind\", \"elementOnly\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (getFailure_Message(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"element\",\n\t\t\t \"name\", \"Message\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (jobEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"name\", \"Job\",\n\t\t\t \"kind\", \"empty\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getJob_EndTime(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"EndTime\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getJob_Interval(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"Interval\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getJob_JobState(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"JobState\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getJob_Name(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"Name\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getJob_Repeat(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"Repeat\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getJob_StartTime(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"StartTime\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (jobRunContainerEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"name\", \"JobRunContainer\",\n\t\t\t \"kind\", \"elementOnly\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getJobRunContainer_Job(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"element\",\n\t\t\t \"name\", \"Job\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getJobRunContainer_WorkFlowRuns(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"element\",\n\t\t\t \"name\", \"WorkFlowRuns\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (jobRunStateEEnum, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"name\", \"JobRunState\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (jobRunStateObjectEDataType, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"name\", \"JobRunState:Object\",\n\t\t\t \"baseType\", \"JobRunState\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (jobStateEEnum, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"name\", \"JobState\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (jobStateObjectEDataType, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"name\", \"JobState:Object\",\n\t\t\t \"baseType\", \"JobState\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (metricSourceJobEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"name\", \"MetricSourceJob\",\n\t\t\t \"kind\", \"elementOnly\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (getMetricSourceJob_MetricSources(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"element\",\n\t\t\t \"name\", \"MetricSources\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (nodeReporterJobEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"name\", \"NodeReporterJob\",\n\t\t\t \"kind\", \"elementOnly\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (getNodeReporterJob_Node(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"element\",\n\t\t\t \"name\", \"Node\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (nodeTypeReporterJobEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"name\", \"NodeTypeReporterJob\",\n\t\t\t \"kind\", \"elementOnly\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (getNodeTypeReporterJob_NodeType(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"element\",\n\t\t\t \"name\", \"NodeType\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (getNodeTypeReporterJob_ScopeObject(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"element\",\n\t\t\t \"name\", \"ScopeObject\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (operatorReporterJobEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"name\", \"OperatorReporterJob\",\n\t\t\t \"kind\", \"elementOnly\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (getOperatorReporterJob_Operator(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"element\",\n\t\t\t \"name\", \"Operator\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (retentionJobEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"name\", \"RetentionJob\",\n\t\t\t \"kind\", \"empty\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (rfsServiceMonitoringJobEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"name\", \"RFSServiceMonitoringJob\",\n\t\t\t \"kind\", \"elementOnly\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (getRFSServiceMonitoringJob_RFSService(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"element\",\n\t\t\t \"name\", \"RFSService\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (rfsServiceReporterJobEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"name\", \"RFSServiceReporterJob\",\n\t\t\t \"kind\", \"elementOnly\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (getRFSServiceReporterJob_RFSService(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"element\",\n\t\t\t \"name\", \"RFSService\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (serviceUserFailureEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"name\", \"ServiceUserFailure\",\n\t\t\t \"kind\", \"elementOnly\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (getServiceUserFailure_ServiceUserRef(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"element\",\n\t\t\t \"name\", \"ServiceUserRef\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (workFlowRunEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"name\", \"WorkFlowRun\",\n\t\t\t \"kind\", \"empty\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getWorkFlowRun_Ended(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"Ended\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getWorkFlowRun_Log(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"Log\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getWorkFlowRun_Progress(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"Progress\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getWorkFlowRun_ProgressMessage(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"ProgressMessage\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getWorkFlowRun_ProgressTask(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"ProgressTask\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getWorkFlowRun_Started(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"Started\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getWorkFlowRun_State(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"State\"\n\t\t });\n\t}", "private void createDocs() {\n\t\t\n\t\tArrayList<Document> docs=new ArrayList<>();\n\t\tString foldername=\"E:\\\\graduate\\\\cloud\\\\project\\\\data\\\\input\";\n\t\tFile folder=new File(foldername);\n\t\tFile[] listOfFiles = folder.listFiles();\n\t\tfor (File file : listOfFiles) {\n\t\t\ttry {\n\t\t\t\tFileInputStream fisTargetFile = new FileInputStream(new File(foldername+\"\\\\\"+file.getName()));\n\t\t\t\tString fileContents = IOUtils.toString(fisTargetFile, \"UTF-8\");\n\t\t\t\tString[] text=fileContents.split(\"ParseText::\");\n\t\t\t\tif(text.length>1){\n\t\t\t\t\tString snippet=text[1].trim().length()>100 ? text[1].trim().substring(0, 100): text[1].trim();\n\t\t\t\t\tDocument doc=new Document();\n\t\t\t\t\tdoc.setFileName(file.getName().replace(\".txt\", \"\"));\n\t\t\t\t\tdoc.setUrl(text[0].split(\"URL::\")[1].trim());\n\t\t\t\t\tdoc.setText(snippet+\"...\");\n\t\t\t\t\tdocs.add(doc);\n\t\t\t\t}\n\t\t\t}catch(IOException e){\n\t\t\t\te.printStackTrace();\n\t\t\t}\t\n\t\t}\t\n\t\tDBUtil.insertDocs(docs);\n\t}", "public void insert(ProjectFiles record) {\r\n getSqlMapClientTemplate().insert(\"project_files.ibatorgenerated_insert\", record);\r\n }", "public SupervisedTemplates() {\n\t\tsuper();\n\t\tm_analyzer = new InteriorAnalyzer();\n\t\t// Explore the supervised template path\n\t\tString stpath = System.getProperty(STXML_PATH_PROPERTY);\n\t\tif (stpath != null) {\n\t\t\ttraversePath(stpath,\n\t\t\t\tnew DefDocumentProcessor() { \n\t\t\t\t\tpublic void processElement(File documentPath) \n\t\t\t\t\t\tthrows XMLFormatException\n\t\t\t\t\t{ m_analyzer.absorbDefinitions(documentPath); }\n\t\t\t\t}\n\t\t\t);\n\t\t}\n\t}", "private String generateMetadata() {\n ServiceMetadata metadata = new ServiceMetadata();\n\n // Populate metadata using setX() methods\n metadata.setName(this.getClass().getName());\n metadata.setAllow(Discriminators.Uri.ANY);\n metadata.setDescription(\"Mallet Topic Modeling Trainer\");\n metadata.setVersion(\"1.0.0-SNAPSHOT\");\n metadata.setVendor(\"http://www.lappsgrid.org\");\n metadata.setLicense(Discriminators.Uri.APACHE2);\n\n // JSON for input information\n IOSpecification requires = new IOSpecification();\n requires.addFormat(Discriminators.Uri.TEXT); // Plain text (form)\n requires.addLanguage(\"en\"); // Source language\n\n // JSON for output information\n IOSpecification produces = new IOSpecification();\n produces.addFormat(Discriminators.Uri.LAPPS); // LIF (form)\n produces.addLanguage(\"en\"); // Target language\n\n // Embed I/O metadata JSON objects\n metadata.setRequires(requires);\n metadata.setProduces(produces);\n\n // Serialize the metadata into LEDS string and return\n Data<ServiceMetadata> data = new Data<>(Discriminators.Uri.META, metadata);\n return data.asPrettyJson();\n }", "private void addMetaData(Document document) {\n document.addTitle(\"Tasks export\");\n document.addSubject(\"From Ergon\");\n document.addKeywords(\"Java, PDF\");\n document.addAuthor(\"Ergon\");\n }", "public void createPackageContents() {\n\t\tif (isCreated) return;\n\t\tisCreated = true;\n\n\t\t// Create classes and their features\n\t\taudioEClass = createEClass(AUDIO);\n\t\tcreateEAttribute(audioEClass, AUDIO__CONTENT);\n\t\tcreateEAttribute(audioEClass, AUDIO__NAME);\n\t\tcreateEAttribute(audioEClass, AUDIO__TEXT);\n\n\t\taudioManagerEClass = createEClass(AUDIO_MANAGER);\n\n\t\taudioRecorderEClass = createEClass(AUDIO_RECORDER);\n\n\t\taudioPlayerEClass = createEClass(AUDIO_PLAYER);\n\n\t\t// Create enums\n\t\taudioStyleEEnum = createEEnum(AUDIO_STYLE);\n\t}", "@Override\n public void startUpOperations() {\n }", "public abstract void setTemplDesc(String templDesc);", "private ApiInfo metadata() {\n\t\treturn new ApiInfoBuilder().title(\"# Online Home Decor Store #\")\n\t\t\t\t.description(\"Suppliers and Categories operations are present\").build();\t\n\t}", "public void execute() throws MojoExecutionException {\n CodeGeneratorLoggerFactory.setLogger(getLog());\n\n // iff baseFolder is null or empty, reset it to the default value\n baseFolder = StringUtils.defaultIfEmpty(baseFolder, \"GUIData\");\n\n // create the helper with our config\n CodeGeneratorHelper helper = new CodeGeneratorHelper(toCodeGeneratorConfig());\n\n if (CodeGeneratorLoggerFactory.getLogger().isDebugEnabled()) {\n helper.displayProjectInformation();\n }\n\n // register all custom element classes\n helper.registerCustomElements();\n\n // create the generated page details file\n helper.createSeLionPageDetailsFile();\n\n // process the files.\n helper.processFiles();\n }", "com.google.dataflow.v1beta3.TemplateMetadata getMetadata();", "public void createPackageContents() {\n\t\tif (isCreated) return;\n\t\tisCreated = true;\n\n\t\t// Create classes and their features\n\t\tbaseElementEClass = createEClass(BASE_ELEMENT);\n\t\tcreateEReference(baseElementEClass, BASE_ELEMENT__KEY_VALUE_MAPS);\n\t\tcreateEAttribute(baseElementEClass, BASE_ELEMENT__ID);\n\t\tcreateEAttribute(baseElementEClass, BASE_ELEMENT__NAME);\n\t\tcreateEAttribute(baseElementEClass, BASE_ELEMENT__DESCRIPTION);\n\n\t\tkeyValueMapEClass = createEClass(KEY_VALUE_MAP);\n\t\tcreateEAttribute(keyValueMapEClass, KEY_VALUE_MAP__KEY);\n\t\tcreateEReference(keyValueMapEClass, KEY_VALUE_MAP__VALUES);\n\n\t\tvalueEClass = createEClass(VALUE);\n\t\tcreateEAttribute(valueEClass, VALUE__TAG);\n\t\tcreateEAttribute(valueEClass, VALUE__VALUE);\n\n\t\t// Create enums\n\t\ttimeUnitEEnum = createEEnum(TIME_UNIT);\n\t}", "void addMetadata(CellID cid, Metadata metadata){\n db.addMetadata(cid, metadata);\n metadataModification(cid, metadata);\n }", "protected void createDocsAnnotations() {\n\t\tString source = \"http://www.eclipse.org/ecl/docs\";\t\t\n\t\taddAnnotation\n\t\t (readCsvFileEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Parses given csv file. Fails if file is not found or format is invalid.\\nLearn more about <a href = \\\"http://xored.freshdesk.com/solution/articles/78219-assert-the-whole-table\\\">Asserting the whole table contents.</a>\",\n\t\t\t \"returns\", \"<code>Table</code> EMF Object. \",\n\t\t\t \"example\", \"with [get-window Preferences] {\\n\\tget-tree | select \\\"Java/Installed JREs\\\"\\n\\tget-table | get-table-data | eq [read-csv-file \\\"workspace:/assertData/table.csv\\\"] | \\n\\t\\tassert-true \\\"Data in table does not match input file\\\" \\n\\tget-button OK | click\\n}\\n\\n//Let\\'s say we need to write ErrorLog info to csv file \\'table.csv\\'.\\n//ECL script should look like this:\\n \\nget-view \\\"Error Log\\\" | get-tree | expand-all\\nget-view \\\"Error Log\\\" | get-tree | get-table-data | write-csv-file \\\"workspace:/MyProject/AssertData/table.csv\\n \\n//Note: \\n//<a href=\\\"#expand-all\\\">Expand-all</a>command may be useful in case of hierarchical tree - otherwise non-expanded levels won\\'t be written. \\n//You should have MyProject/AssertData on your workspace (you may do it easily with a workspace context) to let you csv file to be created there. \\n \\n//In case you want to specify which columns/rows should be written you may use \\n//<a href=\\\"#select-columns\\\">select-columns</a>/<a href=\\\"#exclude-columns\\\">exclude-columns</a> and <a href=\\\"#select-rows\\\">select-rows</a>/<a href=\\\"#exclude-rows\\\">exclude-rows</a> commands:\\n \\nget-view \\\"Error Log\\\" | get-tree | get-table-data | select-columns \\\"Message\\\" | write-csv-file \\\"workspace:/MyProject/AssertData/table.csv\\\" \\nget-view \\\"Error Log\\\" | get-tree | get-table-data | exclude-columns \\\"Message\\\" \\\"Plug-in\\\" | write-csv-file \\\"workspace:/MyProject/AssertData/table.csv\\\"\\nget-view \\\"Error Log\\\" | get-tree | get-table-data | select-rows -column \\\"Message\\\" -value \\\"Execution of early startup handlers completed.\\\" | write-csv-file \\\"workspace:/MyProject/AssertData/table.csv\\\"\\n \\n//To compare table data to already written csv file you may use <a href=\\\"#read-csv-file\\\">read-csv-file</a> command:\\n \\nget-view \\\"Error Log\\\" | get-tree | get-table-data | select-columns \\\"Plug-in\\\" | eq [read-csv-file \\\"workspace:/MyProject/AssertData/table.csv\\\"] | assert-true \\\"Data in table does not match input file\\\" \"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getReadCsvFile_Uri(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"URI to a file to read. Currently supported schemes are workspace:/ for files in workspace and file:/ for files on local file system\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (printEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Takes a list of objects from input pipe and prints them as a plain-text table into output pipe.\",\n\t\t\t \"returns\", \"Series of string objects\"\n\t\t });\t\t\t\t\n\t\taddAnnotation\n\t\t (writeCsvFileEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Writes given table into csv file. Fails if file is not accessible.\\nLearn more about <a href = \\\"http://xored.freshdesk.com/solution/articles/78219-assert-the-whole-table\\\">Asserting the whole table contents.</a>\",\n\t\t\t \"returns\", \"The value of <code>table</code> argument.\",\n\t\t\t \"example\", \"with [get-window Preferences] {\\n\\tget-tree | select \\\"Java/Installed JREs\\\"\\n\\tget-table | get-table-data | write-csv-file \\\"workspace:/assertData/table.csv\\\"\\n\\tget-button OK | click\\n}\\n\\n//Let\\'s say we need to write ErrorLog info to csv file \\'table.csv\\'.\\n//ECL script should look like this:\\n \\nget-view \\\"Error Log\\\" | get-tree | expand-all\\nget-view \\\"Error Log\\\" | get-tree | get-table-data | write-csv-file \\\"workspace:/MyProject/AssertData/table.csv\\n \\n//Note: \\n//<a href=\\\"#expand-all\\\">Expand-all</a>command may be useful in case of hierarchical tree - otherwise non-expanded levels won\\'t be written. \\n//You should have MyProject/AssertData on your workspace (you may do it easily with a workspace context) to let you csv file to be created there. \\n \\n//In case you want to specify which columns/rows should be written you may use \\n//<a href=\\\"#select-columns\\\">select-columns</a>/<a href=\\\"#exclude-columns\\\">exclude-columns</a> and <a href=\\\"#select-rows\\\">select-rows</a>/<a href=\\\"#exclude-rows\\\">exclude-rows</a> commands:\\n \\nget-view \\\"Error Log\\\" | get-tree | get-table-data | select-columns \\\"Message\\\" | write-csv-file \\\"workspace:/MyProject/AssertData/table.csv\\\" \\nget-view \\\"Error Log\\\" | get-tree | get-table-data | exclude-columns \\\"Message\\\" \\\"Plug-in\\\" | write-csv-file \\\"workspace:/MyProject/AssertData/table.csv\\\"\\nget-view \\\"Error Log\\\" | get-tree | get-table-data | select-rows -column \\\"Message\\\" -value \\\"Execution of early startup handlers completed.\\\" | write-csv-file \\\"workspace:/MyProject/AssertData/table.csv\\\"\\n \\n//To compare table data to already written csv file you may use <a href=\\\"#read-csv-file\\\">read-csv-file</a> command:\\n \\nget-view \\\"Error Log\\\" | get-tree | get-table-data | select-columns \\\"Plug-in\\\" | eq [read-csv-file \\\"workspace:/MyProject/AssertData/table.csv\\\"] | assert-true \\\"Data in table does not match input file\\\" \"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (getWriteCsvFile_Table(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Table to write\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getWriteCsvFile_Uri(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"URI to write CSV data to. Currently supported schemes are workspace:/ for files in workspace and file:/ for files on local file system\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (excludeColumnsEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Takes a table from input and returns the same table which has some columns excluded. \",\n\t\t\t \"returns\", \"Copy of input table object without columns with names listed in <code>columns</code>\",\n\t\t\t \"example\", \"get-view \\\"Error Log\\\" | get-tree | get-table-data | exclude-columns \\\"Message\\\" \\\"Plug-in\\\" | write-csv-file \\\"workspace:/MyProject/AssertData/table.csv\\\"\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (getExcludeColumns_Table(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Table to exclude columns from\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getExcludeColumns_Columns(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Column names to exclude from table. It is OK to pass column names which are not present in table\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (selectColumnsEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Takes a table from input and returns the table containing only columns passed into <code>columns</code> argument.\",\n\t\t\t \"returns\", \"Copy of input table object with only columns with names listed in <code>columns</code>\",\n\t\t\t \"example\", \"get-view \\\"Error Log\\\" | get-tree | get-table-data | select-columns \\\"Message\\\" | write-csv-file \\\"workspace:/MyProject/AssertData/table.csv\\\" \"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (getSelectColumns_Table(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Table to take columns from\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getSelectColumns_Columns(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Column names to take from table. If given column name is not present in input table, command fails\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (assertTablesMatchEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Compares contents of two tables. If contents are not the same, fails with a descriptive message\",\n\t\t\t \"example\", \"assert-tables-match [get-editor \\\"context\\\" | get-section Parameters | get-table | get-table-data ]\\n [get-editor \\\"context2\\\" | get-section Parameters | get-table | get-table-data]\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getAssertTablesMatch_IgnoreColumnOrder(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"When true, column order is not taken into account\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getAssertTablesMatch_IgnoreMissingColumns(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Describes the comparison behaviour in case when one of tables contains a column which is not present in other table:\\n<ul>\\n<li><b>NONE</b> &ndash; all columns must be present in both tables</li>\\n<li><b>LEFT</b> &ndash; columns from right table which are not present in left, are ignored</li>\\n<li><b>RIGHT</b> &ndash; columns from left table which are not present in right, are ignored</li>\\n<li><b>BOTH</b> &ndash; comparison performed only on columns present in both tables</li>\\n<p>Another way to interpret this argument is that it is an answer on question &quot;Which column can have less columns?&quot;</p>\\n<p>The primary reasoning for this argument is to provide smooth migration when presentation is changed \\u2013 consider this scenario: we have a CSV file with table data, and we have UI table. If we add or remove extra columns in the UI, we can keep existing sample data file and just correct the <code>ignoreMissingColumns</code> argument</p>\\n\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (writeLinesEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Reads objects from input pipe and writes them into file line-by-line as strings\",\n\t\t\t \"example\", \"//writes a list of launch configuration into a file line-by-line\\nlist-launch-configurations | write-lines -uri \\\"workspace:/Project/Folder/file.txt\\\"\\n// appends \\\"New line\\\" into a file. \\nstr \\\"New line\\\" | write-lines -uri \\\"workspace:/Project/Folder/file.txt\\\" -append\\n\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getWriteLines_Uri(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"URI to write lines to. Currently supported schemes are workspace:/ for files in workspace and file:/ for files on local file system\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getWriteLines_Append(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Whether to append given lines into file. Default value is false\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (readLinesEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Reads lines from file identified by uri and writes them one-by-one into output pipe\",\n\t\t\t \"example\", \"//Displays alert with lines count\\nshow-alert [concat \\\"The number of lines is \\\"[read-lines -uri \\\"workspace:/Project/Folder/file.txt\\\" | length | str]]\\n\\n\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getReadLines_Uri(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"URI to read lines from. Currently supported schemes are workspace:/ for files in workspace and file:/ for files on local file system\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (selectRowsEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Takes a table from input and returns the table with rows filtered by column and criteria.\",\n\t\t\t \"returns\", \"Copy of input table object with filtered rows.\",\n\t\t\t \"example\", \"select-rows -column \\\"columnName\\\" -value \\\"value\\\" -match exact|glob|regex\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (getSelectRows_Table(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Table to take columns from\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getSelectRows_Column(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Column named to filter rows by.\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getSelectRows_Value(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Pattern to match rows to.\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getSelectRows_Match(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Describes the matching behaviour for rows.\\n<ul>\\n<li><b>glob</b> &ndash; wildcard matching</li>\\n<li><b>exact</b> &ndash; value should be equals to pattern</li>\\n<li><b>regext</b> &ndash; value must match java regular expression</li>\\n</ul>\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (excludeRowsEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Takes a table from input and returns the table with rows filtered by column and criteria.\",\n\t\t\t \"returns\", \"Copy of input table object with filtered rows.\",\n\t\t\t \"example\", \"exclude-rows -column \\\"columnName\\\" -value \\\"value\\\" -match exact|glob|regex\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (getExcludeRows_Table(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Table to take columns from\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getExcludeRows_Column(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Column named to filter rows by.\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getExcludeRows_Value(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Pattern to match rows to.\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getExcludeRows_Match(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Describes the matching behaviour for rows.\\n<ul>\\n<li><b>glob</b> &ndash; wildcard matching</li>\\n<li><b>exact</b> &ndash; value should be equals to pattern</li>\\n<li><b>regext</b> &ndash; value must match java regular expression</li>\\n</ul>\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (asTableDataEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Converts its input to table data format, exactly the same as <code>get-table-data</code> returns.\",\n\t\t\t \"returns\", \"Table data.\",\n\t\t\t \"example\", \"get-log -levels error | as-table-data | write-csv-file \\\"workspace:/Project/file2.csv\\\"\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (getAsTableData_Input(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Object(s) to convert from.\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (readPropertiesEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Parses given .properties file. Fails if file is not found or format is invalid\",\n\t\t\t \"returns\", \"ECL map with values from properties file\",\n\t\t\t \"example\", \"...get-item \\\"General Registers/pc\\\" | get-property \\\"values[\\\\\\'Value\\\\\\']\\\"\\n| matches [format \\\"%s.*\\\" [read-properties -uri \\\"file:/C:/Users/Administrator/Desktop/p.properties\\\" | get myKey]] | verify-true\\n\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getReadProperties_Uri(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"URI to a file to read. Currently supported schemes are workspace:/ for files in workspace and file:/ for files on local file system\"\n\t\t });\n\t}", "public File getTemplateFile();", "public Content createContent();", "public interface IMetaService {\n\n // Get FLV from FLVService\n // grab a reader from FLV\n // Set up CuePoints\n // Set up MetaData\n // Pass CuePoint array into MetaData\n // read in current MetaData if there is MetaData\n // if there isn't MetaData, write new MetaData\n // Call writeMetaData method on MetaService\n // that in turn will write the current metadata\n // and the cuepoint data\n // after that, call writeMetaCue()\n // this will loop through all the tags making\n // sure that the cuepoints are inserted\n\n /**\n * Initiates writing of the MetaData\n *\n * @param meta\n * Metadata\n * @throws IOException\n * I/O exception\n */\n public void write(IMetaData<?, ?> meta) throws IOException;\n\n /**\n * Writes the MetaData\n *\n * @param metaData\n * Metadata\n */\n public void writeMetaData(IMetaData<?, ?> metaData);\n\n /**\n * Writes the Meta Cue Points\n */\n public void writeMetaCue();\n\n /**\n * Read the MetaData\n *\n * @return metaData Metadata\n * @param buffer\n * IoBuffer source\n */\n public MetaData<?, ?> readMetaData(IoBuffer buffer);\n\n /**\n * Read the Meta Cue Points\n *\n * @return Meta cue points\n */\n public IMetaCue[] readMetaCue();\n\n /**\n * Media file to be accessed\n *\n * @param file\n * file\n */\n public void setFile(File file);\n\n /**\n * Returns the file being accessed\n *\n * @return file\n */\n public File getFile();\n\n}", "public void createPackageContents() {\n\t\tif (isCreated) return;\n\t\tisCreated = true;\n\n\t\t// Create classes and their features\n\t\ttableEClass = createEClass(TABLE);\n\t\tcreateEReference(tableEClass, TABLE__DATABASE);\n\t\tcreateEReference(tableEClass, TABLE__COLUMNS);\n\t\tcreateEReference(tableEClass, TABLE__CONSTRAINTS);\n\n\t\ttableConstraintEClass = createEClass(TABLE_CONSTRAINT);\n\t\tcreateEAttribute(tableConstraintEClass, TABLE_CONSTRAINT__NAME);\n\t\tcreateEReference(tableConstraintEClass, TABLE_CONSTRAINT__TABLE);\n\n\t\tprimaryKeyTableConstraintEClass = createEClass(PRIMARY_KEY_TABLE_CONSTRAINT);\n\t\tcreateEReference(primaryKeyTableConstraintEClass, PRIMARY_KEY_TABLE_CONSTRAINT__COLUMNS);\n\n\t\tuniqueTableConstraintEClass = createEClass(UNIQUE_TABLE_CONSTRAINT);\n\t\tcreateEReference(uniqueTableConstraintEClass, UNIQUE_TABLE_CONSTRAINT__COLUMNS);\n\n\t\tcheckTableConstraintEClass = createEClass(CHECK_TABLE_CONSTRAINT);\n\t\tcreateEReference(checkTableConstraintEClass, CHECK_TABLE_CONSTRAINT__EXPRESSION);\n\n\t\tforeignKeyTableConstraintEClass = createEClass(FOREIGN_KEY_TABLE_CONSTRAINT);\n\t\tcreateEReference(foreignKeyTableConstraintEClass, FOREIGN_KEY_TABLE_CONSTRAINT__COLUMNS);\n\t\tcreateEReference(foreignKeyTableConstraintEClass, FOREIGN_KEY_TABLE_CONSTRAINT__FOREIGN_TABLE);\n\t\tcreateEReference(foreignKeyTableConstraintEClass, FOREIGN_KEY_TABLE_CONSTRAINT__FOREIGN_COLUMNS);\n\t}", "@Override\n protected Void call() throws Exception {\n methodNamesList.addAll(MethodDefDAOImpl.getMethodPackageString());\n return null;\n }", "public interface SampleGeneratorTask extends Task {\n DirectoryProperty getTemplatesDir();\n\n DirectoryProperty getSampleDir();\n}", "abstract public Content createContent();", "public void createPackageContents() {\n\t\tif (isCreated) return;\n\t\tisCreated = true;\n\n\t\t// Create classes and their features\n\t\ttreeEClass = createEClass(TREE);\n\t\tcreateEReference(treeEClass, TREE__CHILDREN);\n\n\t\tnodeEClass = createEClass(NODE);\n\t\tcreateEReference(nodeEClass, NODE__CHILDREN);\n\t\tcreateEAttribute(nodeEClass, NODE__NAME);\n\t}", "public void createPackageContents() {\n\t\tif (isCreated) return;\n\t\tisCreated = true;\n\n\t\t// Create classes and their features\n\t\tsutEClass = createEClass(SUT);\n\t\tcreateEAttribute(sutEClass, SUT__HOSTNAME);\n\t\tcreateEAttribute(sutEClass, SUT__IP);\n\t\tcreateEAttribute(sutEClass, SUT__HARDWARE);\n\t\tcreateEReference(sutEClass, SUT__SUT);\n\t\tcreateEReference(sutEClass, SUT__METRICMODEL);\n\t\tcreateEAttribute(sutEClass, SUT__TYPE);\n\n\t\tloadGeneratorEClass = createEClass(LOAD_GENERATOR);\n\t\tcreateEAttribute(loadGeneratorEClass, LOAD_GENERATOR__HOSTNAME);\n\t\tcreateEAttribute(loadGeneratorEClass, LOAD_GENERATOR__IP);\n\t\tcreateEAttribute(loadGeneratorEClass, LOAD_GENERATOR__IS_MONITOR);\n\t\tcreateEReference(loadGeneratorEClass, LOAD_GENERATOR__SUT);\n\t\tcreateEReference(loadGeneratorEClass, LOAD_GENERATOR__METRICMODEL);\n\t\tcreateEAttribute(loadGeneratorEClass, LOAD_GENERATOR__HARDWARE);\n\t\tcreateEReference(loadGeneratorEClass, LOAD_GENERATOR__MONITOR);\n\n\t\tmonitorEClass = createEClass(MONITOR);\n\t\tcreateEAttribute(monitorEClass, MONITOR__HOSTNAME);\n\t\tcreateEAttribute(monitorEClass, MONITOR__IP);\n\t\tcreateEReference(monitorEClass, MONITOR__SUT);\n\t\tcreateEAttribute(monitorEClass, MONITOR__HARDWARE);\n\t\tcreateEAttribute(monitorEClass, MONITOR__DESCRIPTION);\n\n\t\tmetricModelEClass = createEClass(METRIC_MODEL);\n\t\tcreateEAttribute(metricModelEClass, METRIC_MODEL__NAME);\n\t\tcreateEReference(metricModelEClass, METRIC_MODEL__MEMORY);\n\t\tcreateEReference(metricModelEClass, METRIC_MODEL__TRANSACTION);\n\t\tcreateEReference(metricModelEClass, METRIC_MODEL__DISK);\n\t\tcreateEReference(metricModelEClass, METRIC_MODEL__CRITERIA);\n\t\tcreateEReference(metricModelEClass, METRIC_MODEL__THRESHOLD);\n\t\tcreateEReference(metricModelEClass, METRIC_MODEL__ASSOCIATIONCOUNTERCRITERIATHRESHOLD);\n\t\tcreateEReference(metricModelEClass, METRIC_MODEL__DISK_COUNTER);\n\t\tcreateEReference(metricModelEClass, METRIC_MODEL__TRANSACTION_COUNTER);\n\t\tcreateEReference(metricModelEClass, METRIC_MODEL__MEMORY_COUNTER);\n\t\tcreateEReference(metricModelEClass, METRIC_MODEL__COUNTER);\n\t\tcreateEReference(metricModelEClass, METRIC_MODEL__METRIC);\n\n\t\t// Create enums\n\t\tsuT_TYPEEEnum = createEEnum(SUT_TYPE);\n\t\thardwareEEnum = createEEnum(HARDWARE);\n\t}", "public void createPackageContents() {\n\t\tif (isCreated) return;\n\t\tisCreated = true;\n\n\t\t// Create classes and their features\n\t\tcmdEClass = createEClass(CMD);\n\t\tcreateEAttribute(cmdEClass, CMD__PRIORITY);\n\t\tcreateEAttribute(cmdEClass, CMD__STAMP);\n\n\t\tcompoundCmdEClass = createEClass(COMPOUND_CMD);\n\t\tcreateEReference(compoundCmdEClass, COMPOUND_CMD__CHILDREN);\n\n\t\txCmdEClass = createEClass(XCMD);\n\t\tcreateEAttribute(xCmdEClass, XCMD__OBJ);\n\n\t\tbyteCmdEClass = createEClass(BYTE_CMD);\n\t\tcreateEAttribute(byteCmdEClass, BYTE_CMD__MESSAGE);\n\n\t\t// Create enums\n\t\tpriorityEEnum = createEEnum(PRIORITY);\n\t}", "public void createPackageContents() {\n\t\tif (isCreated) return;\n\t\tisCreated = true;\n\n\t\t// Create classes and their features\n\t\tfticBaseEClass = createEClass(FTIC_BASE);\n\n\t\titemEClass = createEClass(ITEM);\n\n\t\thypertextEClass = createEClass(HYPERTEXT);\n\t\tcreateEReference(hypertextEClass, HYPERTEXT__CONTENT);\n\n\t\ttextElementEClass = createEClass(TEXT_ELEMENT);\n\t\tcreateEAttribute(textElementEClass, TEXT_ELEMENT__VISIBLE_CONTENT);\n\n\t\tlinkEClass = createEClass(LINK);\n\t\tcreateEReference(linkEClass, LINK__TARGET);\n\n\t\ttermEClass = createEClass(TERM);\n\n\t\tfactorTableEClass = createEClass(FACTOR_TABLE);\n\t\tcreateEAttribute(factorTableEClass, FACTOR_TABLE__TYPE);\n\t\tcreateEReference(factorTableEClass, FACTOR_TABLE__ENTRIES);\n\n\t\tftEntryEClass = createEClass(FT_ENTRY);\n\t\tcreateEAttribute(ftEntryEClass, FT_ENTRY__NUMBERING);\n\t\tcreateEAttribute(ftEntryEClass, FT_ENTRY__NAME);\n\t\tcreateEReference(ftEntryEClass, FT_ENTRY__CHILDREN);\n\n\t\tfactorCategoryEClass = createEClass(FACTOR_CATEGORY);\n\n\t\tfactorEClass = createEClass(FACTOR);\n\t\tcreateEReference(factorEClass, FACTOR__DESCRIPTION);\n\t\tcreateEReference(factorEClass, FACTOR__FLEXIBILITY);\n\t\tcreateEReference(factorEClass, FACTOR__CHANGEABILITY);\n\t\tcreateEReference(factorEClass, FACTOR__INFLUENCE);\n\t\tcreateEAttribute(factorEClass, FACTOR__PRIORITY);\n\n\t\tissueCardEClass = createEClass(ISSUE_CARD);\n\t\tcreateEAttribute(issueCardEClass, ISSUE_CARD__NAME);\n\t\tcreateEReference(issueCardEClass, ISSUE_CARD__DESCRIPTION);\n\t\tcreateEReference(issueCardEClass, ISSUE_CARD__SOLUTION);\n\t\tcreateEReference(issueCardEClass, ISSUE_CARD__STRATEGIES);\n\t\tcreateEReference(issueCardEClass, ISSUE_CARD__INFLUENCING_FACTORS);\n\t\tcreateEReference(issueCardEClass, ISSUE_CARD__RELATED_ISSUES);\n\n\t\tstrategyEClass = createEClass(STRATEGY);\n\t\tcreateEAttribute(strategyEClass, STRATEGY__NAME);\n\t\tcreateEReference(strategyEClass, STRATEGY__DESCRIPTION);\n\n\t\tinfluencingFactorEClass = createEClass(INFLUENCING_FACTOR);\n\t\tcreateEReference(influencingFactorEClass, INFLUENCING_FACTOR__DESCRIPTION);\n\t\tcreateEReference(influencingFactorEClass, INFLUENCING_FACTOR__FACTOR);\n\n\t\trelatedIssueEClass = createEClass(RELATED_ISSUE);\n\t\tcreateEReference(relatedIssueEClass, RELATED_ISSUE__ISSUE);\n\t\tcreateEReference(relatedIssueEClass, RELATED_ISSUE__DESCRIPTION);\n\n\t\tfticPackageEClass = createEClass(FTIC_PACKAGE);\n\t\tcreateEReference(fticPackageEClass, FTIC_PACKAGE__TABLES);\n\t\tcreateEReference(fticPackageEClass, FTIC_PACKAGE__ISSUE_CARDS);\n\t\tcreateEAttribute(fticPackageEClass, FTIC_PACKAGE__NAME);\n\n\t\t// Create enums\n\t\tcategoryTypeEEnum = createEEnum(CATEGORY_TYPE);\n\t}" ]
[ "0.5581962", "0.55654895", "0.55431056", "0.54977936", "0.54126936", "0.54063636", "0.5382827", "0.5378468", "0.52986604", "0.5289915", "0.5280485", "0.5244584", "0.52299786", "0.5201039", "0.5177456", "0.5177456", "0.51678336", "0.5164087", "0.5140442", "0.5132747", "0.51138675", "0.5109899", "0.5093555", "0.5067923", "0.50597155", "0.5055119", "0.50377417", "0.50361824", "0.5027426", "0.5026866", "0.5024475", "0.50201523", "0.50156397", "0.50147414", "0.50126094", "0.50112617", "0.50027573", "0.49986404", "0.49956286", "0.49817318", "0.49729666", "0.49711117", "0.4970965", "0.49702543", "0.49533787", "0.49427605", "0.49409533", "0.49381346", "0.49273673", "0.49261898", "0.49165502", "0.49109882", "0.49063995", "0.49053162", "0.49033296", "0.48792273", "0.4878947", "0.48787948", "0.48696166", "0.4867465", "0.48674315", "0.48610458", "0.48576313", "0.48576313", "0.485554", "0.4844306", "0.48441246", "0.48415852", "0.48405185", "0.48392525", "0.48349875", "0.4834227", "0.48335764", "0.48288876", "0.48274982", "0.48257756", "0.48255473", "0.48243648", "0.48227265", "0.48215282", "0.48131305", "0.48114693", "0.48107347", "0.48104265", "0.4808497", "0.48078027", "0.48070014", "0.48057917", "0.480383", "0.48014933", "0.47900233", "0.47895426", "0.47879577", "0.47836506", "0.47818345", "0.4781454", "0.47812063", "0.47790852", "0.4777028", "0.47759187" ]
0.5212549
13
Get list Metadata Template
public List<String> getMetadataTemplate(Long id,Boolean loadNameMetadata){ List<String> metadata = new ArrayList<>(); FieldsMappingMetaDAO dao = new FieldsMappingMetaDAO(); FieldsTemplateLibraryDAO fieldDao = new FieldsTemplateLibraryDAO(); Collection<FieldsMappingMeta>fields = dao.getAllByIdTemplate(id); FieldsTemplateLibrary ftl = new FieldsTemplateLibrary(); if(fields!=null && !fields.isEmpty()) { for (FieldsMappingMeta item : fields) { if(loadNameMetadata) metadata.add(item.getFieldsTemplateLibrary().getNameSource().toString()); else metadata.add(item.getFieldsTemplateLibrary().getId().toString()); } } return metadata; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.util.List<java.lang.String>\n getMetadataList();", "java.util.List<java.lang.String>\n getMetadataList();", "com.google.dataflow.v1beta3.TemplateMetadata getMetadata();", "public List<VueMetadataElement> getMetadata() { return dataList; }", "public static ArrayList<Metadata> getMetadata() {\n\t\tmetadata.add(new Metadata(\"id\", \"Numero identificativo del lavoro\", \"long\"));\n\t\tmetadata.add(new Metadata(\"role\", \"Ruolo lavorativo\", \"String\"));\n\t\tmetadata.add(new Metadata(\"cname\", \"Nome dell'azienda\", \"String\"));\n\t\tmetadata.add(new Metadata(\"etype\", \"Tipo di impiego\", \"String\"));\n\t\tmetadata.add(new Metadata(\"location\", \"Luogo\", \"String\"));\n\t\tmetadata.add(new Metadata(\"remote\", \"Lavoro a distanza\", \"Bool\"));\n\t\t\n\n\t\treturn metadata;\n\t}", "java.util.List<io.dstore.engine.MetaInformation> \n getMetaInformationList();", "java.util.List<io.dstore.engine.MetaInformation> \n getMetaInformationList();", "java.util.List<io.dstore.engine.MetaInformation> \n getMetaInformationList();", "java.util.List<io.dstore.engine.MetaInformation> \n getMetaInformationList();", "java.util.List<io.dstore.engine.MetaInformation> \n getMetaInformationList();", "public java.util.List<MetadataEntry> getMetadataList() {\n return metadata_;\n }", "Map<String, Object> getAllMetadata();", "public List<Metadata> getMetadata()\n\t{\n\t\treturn mMetadata;\n\t}", "java.lang.String getMetadata(int index);", "java.lang.String getMetadata(int index);", "com.google.dataflow.v1beta3.TemplateMetadataOrBuilder getMetadataOrBuilder();", "String getTemplate();", "public java.util.List<MetadataEntry> getMetadataList() {\n if (metadataBuilder_ == null) {\n return java.util.Collections.unmodifiableList(metadata_);\n } else {\n return metadataBuilder_.getMessageList();\n }\n }", "private Map<String, Object> getMvcMetadata(ComponentTemplate componentTemplate) {\n\n Map<String, Object> metadata = new HashMap<>();\n Map<String, Field> metadataFields = componentTemplate.getMetadata();\n\n for (Map.Entry<String, Field> entry : metadataFields.entrySet()) {\n String fieldName = entry.getKey();\n if (fieldName.equals(\"view\") ||\n fieldName.equals(\"regionView\") ||\n fieldName.equals(\"controller\") ||\n fieldName.equals(\"action\") ||\n fieldName.equals(\"routeValues\")) {\n continue;\n }\n Field field = entry.getValue();\n if (field.getValues().size() > 0) {\n metadata.put(fieldName, field.getValues().get(0).toString()); // Assume single-value text fields for template metadata\n }\n }\n return metadata;\n }", "Map<String, String> getCustomMetadata();", "@SuppressWarnings(\"unchecked\")\n\tpublic Class[] getTemplate();", "public List<Template> getTemplates() {\n return templates;\n }", "public List<TemplItem> template() {\n List<TemplItem> items = new ArrayList<>();\n int l;\n int n;\n\n boolean done = false;\n while (!done) {\n DNAToken token = parser.step();\n\n switch (token) {\n case CONT:\n break;\n case C:\n items.add(new TemplItem(TemplItem.Type.BASE, 'I'));\n break;\n case F:\n items.add(new TemplItem(TemplItem.Type.BASE, 'C'));\n break;\n case P:\n items.add(new TemplItem(TemplItem.Type.BASE, 'F'));\n break;\n case IC:\n items.add(new TemplItem(TemplItem.Type.BASE, 'P'));\n break;\n case IP:\n case IF:\n l = parser.nat();\n n = parser.nat();\n items.add(new TemplItem(TemplItem.Type.PROT, n, l));\n break;\n case IIP:\n n = parser.nat();\n items.add(new TemplItem(TemplItem.Type.LEN, n));\n break;\n case IIF:\n case IIC:\n done = true;\n break;\n case III:\n rna.concat(dna.substring(0, 7));\n dna.trunc(7);\n break;\n case DONE:\n done = true;\n break;\n default:\n finish();\n }\n }\n\n return items;\n }", "public String getDescTemplate()\n {\n return m_sDescTemplate;\n }", "Metadata getMetaData();", "String[] getMetadataNames();", "public List<AbstractMetadata> getMetadata() {\n\t\treturn Collections.unmodifiableList(this.metadata);\n\t}", "com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata();", "@ApiModelProperty(value = \"Other metadata associated to the Resource Zone.\")\n public List<MetaDataInner> getMetadata() {\n return metadata;\n }", "public List<String> getTemplates() {\r\n\t\treturn this.templates;\r\n\t}", "java.util.List<? extends io.dstore.engine.MetaInformationOrBuilder> \n getMetaInformationOrBuilderList();", "java.util.List<? extends io.dstore.engine.MetaInformationOrBuilder> \n getMetaInformationOrBuilderList();", "java.util.List<? extends io.dstore.engine.MetaInformationOrBuilder> \n getMetaInformationOrBuilderList();", "java.util.List<? extends io.dstore.engine.MetaInformationOrBuilder> \n getMetaInformationOrBuilderList();", "java.util.List<? extends io.dstore.engine.MetaInformationOrBuilder> \n getMetaInformationOrBuilderList();", "private ArrayList<String> gettemplates(){\n\t\tArrayList<String> result = new ArrayList<String>();\n\t\ttry {\n\t\t String[] cmd = {\n\t\t \t\t\"/bin/sh\",\n\t\t \t\t\"-c\",\n\t\t \t\t\"ls -p | grep -v / | grep -v 'pom.xml' \"\n\t\t \t\t};\n\n\t\t Process p = Runtime.getRuntime().exec(cmd); //Runtime r = Runtime.getRuntime(); Process p = r.exec(cmd);\n\t\t BufferedReader in =\n\t\t new BufferedReader(new InputStreamReader(p.getInputStream()));\n\t\t String inputLine;\n\t\t while ((inputLine = in.readLine()) != null) {\n\t\t result.add(inputLine);\n\t\t }\n\t\t in.close();\n\n\t\t} catch (IOException e) {\n\t\t System.out.println(e);\n\t\t}\n\t\t\n\t\treturn result;\n\t\t}", "@NotNull\n\tpublic StringBuilder getMetadata() {\n\t\tStringBuilder metadata = new StringBuilder();\n\t\tif (title != null)\n\t\t\tmetadata.append(title).append(\" \");\n\t\tif (authors != null)\n\t\t\tfor (String author : authors)\n\t\t\t\tmetadata.append(author).append(\" \");\n\t\tif (miscMetadata != null)\n\t\t\tfor (String metadata0 : miscMetadata)\n\t\t\t\tmetadata.append(metadata0).append(\" \");\n\t\treturn metadata;\n\t}", "public ArrayList<Template> getTemplates() {\n\t\treturn getPageObjects(Template.class);\n\t}", "String getTemplateContent(){\r\n \t\tStringBuffer templateBuffer = new StringBuffer();\r\n \t\tfor(String templatePart:templateParts){\r\n \t\t\ttemplateBuffer.append(templatePart);\r\n \t\t}\r\n \t\treturn templateBuffer.toString();\r\n \t}", "public Map<File, TemplatesStoreData> getTemplatesDescriptors() {\n\t\treturn TemplatesStore.getInstance().getData();\n\t}", "public java.util.List<io.dstore.engine.MetaInformation> getMetaInformationList() {\n if (metaInformationBuilder_ == null) {\n return java.util.Collections.unmodifiableList(metaInformation_);\n } else {\n return metaInformationBuilder_.getMessageList();\n }\n }", "public java.util.List<io.dstore.engine.MetaInformation> getMetaInformationList() {\n if (metaInformationBuilder_ == null) {\n return java.util.Collections.unmodifiableList(metaInformation_);\n } else {\n return metaInformationBuilder_.getMessageList();\n }\n }", "public java.util.List<io.dstore.engine.MetaInformation> getMetaInformationList() {\n if (metaInformationBuilder_ == null) {\n return java.util.Collections.unmodifiableList(metaInformation_);\n } else {\n return metaInformationBuilder_.getMessageList();\n }\n }", "public java.util.List<io.dstore.engine.MetaInformation> getMetaInformationList() {\n if (metaInformationBuilder_ == null) {\n return java.util.Collections.unmodifiableList(metaInformation_);\n } else {\n return metaInformationBuilder_.getMessageList();\n }\n }", "public java.util.List<io.dstore.engine.MetaInformation> getMetaInformationList() {\n if (metaInformationBuilder_ == null) {\n return java.util.Collections.unmodifiableList(metaInformation_);\n } else {\n return metaInformationBuilder_.getMessageList();\n }\n }", "public java.util.List<io.dstore.engine.MetaInformation> getMetaInformationList() {\n return metaInformation_;\n }", "public java.util.List<io.dstore.engine.MetaInformation> getMetaInformationList() {\n return metaInformation_;\n }", "public java.util.List<io.dstore.engine.MetaInformation> getMetaInformationList() {\n return metaInformation_;\n }", "public java.util.List<io.dstore.engine.MetaInformation> getMetaInformationList() {\n return metaInformation_;\n }", "public java.util.List<io.dstore.engine.MetaInformation> getMetaInformationList() {\n return metaInformation_;\n }", "public List<String> getListOfTemplatesInGadget(){\r\n\t\tList<String> templates = new ArrayList<String>();\r\n\t\tList<WebElement> ele = driver.findElements(By.xpath(\"//div[contains(@class,'x-gadget')]//div[contains(@class,'helpdesk-newcall')]//div[@class='tplLabel']\"));\r\n\t\tfor(WebElement template : ele)\r\n\t\t\ttemplates.add(template.getText());\r\n\t\treturn templates;\r\n\t}", "java.lang.String getMetadataJson();", "java.lang.String getTemplateId();", "public java.util.List<? extends MetadataEntryOrBuilder> getMetadataOrBuilderList() {\n return metadata_;\n }", "@Override\r\n \tpublic MetaData getMetaData(HttpHeaders headers) {\n \t\ttry {\r\n \t\t\treturn MetaDataUtil.getMetaData(new ViewListeEleve(), new HashMap<String, MetaData>(),new ArrayList<String>());\r\n \t\t} catch (Exception e) {\r\n \t\t\t// TODO Auto-generated catch block\r\n \t\t\tthrow new WebApplicationException(Response.serverError().entity(new String(\"MetaData parse error\")).build());\r\n \t\t} \r\n \t}", "@Override\n\tpublic Collection<Tmly> getTmlyInfo() {\n\t\tString sql = \"select ID_,TITLE,CONTENT,state from tmly\";\n\t\tList<Tmly> list = this.jdbcTemplate.query(sql, new RowMapper<Tmly>() {\n\n\t\t\t@Override\n\t\t\tpublic Tmly mapRow(ResultSet result, int i) throws SQLException {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\tTmly tmly = new Tmly();\n\t\t\t\ttmly.setId(result.getInt(\"id_\"));\n\t\t\t\ttmly.setTitle(result.getString(\"title\"));\n\t\t\t\ttmly.setContent(result.getString(\"content\"));\n\t\t\t\treturn tmly;\n\t\t\t}\n\n\t\t});\n\t\treturn list;\n\t}", "public static List<String> getTemplates() {\n\t\tFile templatesDir = new File(PathUtils.getExtensionsTemplatePath());\n\t\tList<String> templates = Arrays.stream(templatesDir.listFiles(File::isDirectory)).map(File::getName)\n\t\t\t\t.collect(Collectors.toList());\n\t\tIProject[] projects = ResourcesPlugin.getWorkspace().getRoot().getProjects();\n\t\tList<String> customTemplates = Arrays.stream(projects).filter(ExtensionUtils::isTemplate)\n\t\t\t\t.map(IProject::getName).collect(Collectors.toList());\n\t\ttemplates.addAll(customTemplates);\n\t\treturn templates;\n\t}", "public abstract String getTemplDesc();", "@Override\n public String getName() {\n return \"list\";\n }", "List<MediaMetadata> getAll();", "ArrayList<PropertyMetadata> getProperties();", "Map<String, Map<String, String>> getAllDefinedTemplateProperties();", "public List<Pojo.OneWord> getOneWord(){ \n List<Pojo.OneWord> list=new ArrayList<Pojo.OneWord>(); \n list=template.loadAll(Pojo.OneWord.class); \n return list; \n}", "@External(readonly = true)\n\tpublic List<String> get_metadata_fields(){\n\t\t\n\t\treturn this.METADATA_FIELDS;\n\t}", "public ResourceContent getMetadata() throws IOException;", "private native String getTemplate()/*-{\r\n\t\t\t\treturn ['<tpl for=\".\">', \r\n\t\t\t '<div class=\"x-customer-item\">', \r\n\t\t\t\t '<div class=\"name\">{name}</div>', \r\n\t\t\t\t '<div class=\"email\">E-mail:{email}</div>', \r\n\t\t\t\t '<div class=\"purchases\">Purchases:{purchases}</div>', \r\n\t\t\t '</div>', \r\n\t\t\t '</tpl>', \r\n\t\t\t ''].join(\"\");\r\n\t\t\t}-*/;", "java.util.Map<java.lang.String, java.lang.String>\n getMetadataMap();", "java.util.Map<java.lang.String, java.lang.String>\n getMetadataMap();", "@SuppressWarnings({ \"finally\", \"unchecked\" })\n\t@Override \n\tpublic Response getNotifyTemplateList(NotifyTemplate notifyTemplate) {\n\t\tBaseResponse<NotifyTemplate> br = new BaseResponse<NotifyTemplate>();\n\t\ttry \n\t\t{\n\t\tList<NotifyTemplate> templateList; \n\t\tjdbcTemplate.setDataSource(dataSourceProvider.getDataSource(FiinfraConstants.BU_DEFAULT));\n\t\ttemplateList = jdbcTemplate.query(FiinfraConstants.SP_GET_NOTIFYTEMPLATE_LIST,new Object[] {notifyTemplate.getSearchText(),notifyTemplate.getBizunit()},new BeanPropertyRowMapper(NotifyTemplate.class));\n\t\tbr.setResponseListObject(templateList); \n\t\tresponse=FiinfraResponseBuilder.getSuccessResponse(br, null);\n\t\t}\n\t\tcatch (DataAccessException e) { \n\t\t\tresponse=FiinfraResponseBuilder.getErrorResponse(e.getMessage().toString());\n\t\t}\n\t\tfinally \n\t\t{\n\t\t\treturn response; \n\t\t} \n\t}", "public List<Template> getTemplates() {\r\n\t\treturn templateDao.findAll();\r\n\t}", "java.util.List<java.lang.String> getContentsList();", "@Override\n public Iterator<Map.Entry<String, Object>> getMetadata() {\n return new EmptyEntryIterator();\n }", "@Override\r\n\tpublic Map<String, Object> getMetadata() {\n\t\treturn null;\r\n\t}", "com.google.cloud.compute.v1.Metadata getMetadata();", "public MetaData getMetaData();", "List<DocumentationItem> documentation();", "public abstract String getTemplateName();", "public List < MetadataValue > getMetadata ( String metadataKey ) {\n\t\treturn extract ( handle -> handle.getMetadata ( metadataKey ) );\n\t}", "public Collection<Template> getListTemplates()\n\t{\t\t\n\t\tTemplateDAO dao = new TemplateDAO();\n\t\treturn dao.getAll(UtilCodesEnum.CODE_ACTIVE.getCode(),null);\t\t \n\t}", "public abstract List<ColumnSpecification> metadata();", "public Map getMetadata() {\n return metadata;\n }", "@RequestMapping(value = \"/coupon-template/template/sdk/all\",\n method = RequestMethod.GET)\n CommonResponse<List<CouponTemplateSDK>> findAllUsableTemplate();", "com.appscode.api.kubernetes.v1beta2.Meta getMeta();", "private List<MediaFile> listHtml() {\n\t\tList<MediaFile> list = new ArrayList<MediaFile>(32);\n\t\treturn list;\n\t}", "public Collection findTemplatesByOwner(Agent owner);", "TemplateList getAllTemplates(String templateType) throws NotificationClientException;", "public java.util.List<? extends MetadataEntryOrBuilder> getMetadataOrBuilderList() {\n if (metadataBuilder_ != null) {\n return metadataBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(metadata_);\n }\n }", "public java.util.List<? extends io.dstore.engine.MetaInformationOrBuilder> \n getMetaInformationOrBuilderList() {\n return metaInformation_;\n }", "public java.util.List<? extends io.dstore.engine.MetaInformationOrBuilder> \n getMetaInformationOrBuilderList() {\n return metaInformation_;\n }", "public java.util.List<? extends io.dstore.engine.MetaInformationOrBuilder> \n getMetaInformationOrBuilderList() {\n return metaInformation_;\n }", "public java.util.List<? extends io.dstore.engine.MetaInformationOrBuilder> \n getMetaInformationOrBuilderList() {\n return metaInformation_;\n }", "public java.util.List<? extends io.dstore.engine.MetaInformationOrBuilder> \n getMetaInformationOrBuilderList() {\n return metaInformation_;\n }", "public Map<String, String> getMetadata() {\n return metadata;\n }", "public Map<String, String> getMetadata() {\n return metadata;\n }", "public static Map<SOAXSDTemplateSubType, List<SOAConfigTemplate>> getTemplateCategoryFiles() {\r\n\t\ttry {\r\n\t\t\tfinal String organization = GlobalRepositorySystem.instanceOf()\r\n\t\t\t\t\t.getActiveRepositorySystem()\r\n\t\t\t\t\t.getActiveOrganizationProvider().getName();\r\n\t\t\treturn SOAConfigExtensionFactory.getXSDTemplates(organization);\r\n\t\t} catch (SOAConfigAreaCorruptedException e) {\r\n\t\t\tUIUtil.showErrorDialog(e);\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "public ListTemplate() {\n }", "List<Template> getTemplates() throws AccessDeniedException;", "private String getTemplate(){ \r\n\t\t\t StringBuilder sb = new StringBuilder();\r\n\t\t\t sb.append(\"<tpl for=\\\".\\\">\");\r\n\t\t\t\tsb.append(\"<div class=\\\"x-combo-list-item\\\" >\");\r\n\t\t\t\tsb.append(\"<span><b>{name}</b></span>\"); \t\t\t \t\r\n\t\t\t\tsb.append(\"</div>\");\r\n\t\t\t\tsb.append(\"</tpl>\");\r\n\t\t\t return sb.toString();\r\n\t\t\t}", "@NonNull\n JsonMap getMetadata();", "public interface PublicationTemplate {\r\n \r\n /**\r\n * Returns the RecordTemplate of the publication data item.\r\n */\r\n public RecordTemplate getRecordTemplate() throws PublicationTemplateException;\r\n \r\n /**\r\n * Returns the RecordSet of all the records built from this template.\r\n */\r\n public RecordSet getRecordSet() throws PublicationTemplateException;\r\n \r\n /**\r\n * Returns the Form used to create and update the records built from this template.\r\n */\r\n public Form getUpdateForm() throws PublicationTemplateException;\r\n \r\n /**\r\n * Returns the Form used to view the records built from this template.\r\n */\r\n public Form getViewForm() throws PublicationTemplateException;\r\n \r\n /**\r\n * Returns the Form used to search the records built from this template.\r\n */\r\n public Form getSearchForm() throws PublicationTemplateException;\r\n \r\n public void setExternalId(String externalId);\r\n \r\n public Form getEditForm(String name) throws PublicationTemplateException;\r\n \r\n public String getExternalId();\r\n \r\n public String getName();\r\n \r\n public String getDescription();\r\n \r\n public String getThumbnail();\r\n \r\n public String getFileName();\r\n \r\n public boolean isVisible();\r\n \r\n public boolean isSearchable();\r\n }" ]
[ "0.70591384", "0.70591384", "0.69499713", "0.6323503", "0.6304838", "0.62723154", "0.62723154", "0.62723154", "0.62723154", "0.62723154", "0.6250294", "0.60727584", "0.6059256", "0.5971653", "0.5971653", "0.594879", "0.59110695", "0.58765197", "0.58238137", "0.58207256", "0.58090913", "0.57374877", "0.5679874", "0.5665023", "0.56630594", "0.56149423", "0.5614846", "0.56001425", "0.5585571", "0.5557412", "0.55494756", "0.55494756", "0.55494756", "0.55494756", "0.55494756", "0.55487174", "0.5528685", "0.55217314", "0.55182767", "0.5513761", "0.5502871", "0.5502871", "0.5502871", "0.5502871", "0.5502871", "0.5478796", "0.5478796", "0.5478796", "0.5478796", "0.5478796", "0.54716134", "0.54675025", "0.54490066", "0.5448288", "0.5441879", "0.543899", "0.5432692", "0.54180324", "0.54057", "0.5391829", "0.53900313", "0.5381746", "0.53779143", "0.5371127", "0.5352527", "0.53479546", "0.53399724", "0.53399724", "0.5337418", "0.5326873", "0.5305018", "0.5297455", "0.52964586", "0.52944404", "0.5293942", "0.5293393", "0.5282341", "0.5280757", "0.5278608", "0.5278097", "0.52703327", "0.5253455", "0.52512336", "0.52439964", "0.52433115", "0.5234855", "0.52265954", "0.5220964", "0.5220964", "0.5220964", "0.5220964", "0.5220964", "0.5212984", "0.5212984", "0.51982427", "0.51934695", "0.51854825", "0.5183283", "0.5182827", "0.51801413" ]
0.6869153
3
TODO Autogenerated method stub
public static void main(String[] args) { Object a = new ClassObj(); ((A) a).Calling(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.6080161", "0.6077022", "0.6041561", "0.6024072", "0.6020252", "0.59984857", "0.59672105", "0.59672105", "0.5965777", "0.59485507", "0.5940904", "0.59239364", "0.5910017", "0.5902906", "0.58946234", "0.5886006", "0.58839184", "0.58691067", "0.5857751", "0.58503544", "0.5847024", "0.58239377", "0.5810564", "0.5810089", "0.5806823", "0.5806823", "0.5800025", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5790187", "0.5789414", "0.5787092", "0.57844025", "0.57844025", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5761362", "0.57596046", "0.57596046", "0.575025", "0.575025", "0.575025", "0.5747959", "0.57337177", "0.57337177", "0.57337177", "0.5721452", "0.5715831", "0.57142824", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.5711723", "0.57041645", "0.56991017", "0.5696783", "0.56881124", "0.56774884", "0.56734604", "0.56728", "0.56696945", "0.5661323", "0.5657007", "0.5655942", "0.5655942", "0.5655942", "0.56549734", "0.5654792", "0.5652974", "0.5650185" ]
0.0
-1
========================================================= === Redundant code ====================================== ========================================================= === This code's the same in all instruction classes, ==== === But Java lacks the mechanism to allow stuffing it === === in super() where it belongs. ======================== =========================================================
public static Instruction getInstance() { return staticInstance; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void method_6191() {\r\n super.method_6191();\r\n }", "@Override\n\tpublic void processingInstruction() {\n\t\t\n\t}", "public void method_6349() {\r\n super.method_6349();\r\n }", "protected void method_3848() {\r\n super.method_3848();\r\n }", "public /* bridge */ /* synthetic */ void mo55096c() {\n super.mo55096c();\n }", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "public /* bridge */ /* synthetic */ void mo55097d() {\n super.mo55097d();\n }", "public final /* bridge */ /* synthetic */ void mo43571c() {\n super.mo43571c();\n }", "public void method_1449() {\r\n super.method_1449();\r\n }", "public void method_1449() {\r\n super.method_1449();\r\n }", "public void method_1449() {\r\n super.method_1449();\r\n }", "public abstract void mo70713b();", "@Override //function was implemented as abstract in super class\n public void Set(Instruction toCopy){\n Extra temp = (Extra) toCopy; //downcast for valid assignment\n this.Price = temp.Price;\n this.Allergens = temp.Allergens;\n this.Notes = new String(temp.Notes);\n this.Density = temp.Density;\n this.Topping = new String(temp.Topping);\n this.Vegetarian = temp.Vegetarian;\n }", "public final /* bridge */ /* synthetic */ void mo43566a() {\n super.mo43566a();\n }", "public void addInstruction(){\n\n }", "public void c(int paramInt)\r\n/* 101: */ {\r\n/* 102:122 */ this.b = false;\r\n/* 103:123 */ super.c(paramInt);\r\n/* 104: */ }", "public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }", "public abstract void mo27385c();", "@Override\n public void func_104112_b() {\n \n }", "public abstract void mo27386d();", "protected void method_2665() {\r\n super.method_2427(awt.field_4171);\r\n this.method_2440(true);\r\n this.method_2521(class_872.field_4244);\r\n }", "private void m50366E() {\n }", "private void g()\r\n/* 30: */ {\r\n/* 31: 40 */ if (this.n) {\r\n/* 32: 41 */ return;\r\n/* 33: */ }\r\n/* 34: 45 */ if (this.l != null)\r\n/* 35: */ {\r\n/* 36: 47 */ if (this.f != null) {\r\n/* 37: 48 */ c();\r\n/* 38: */ }\r\n/* 39: 51 */ cuj.a(super.b(), this.l);\r\n/* 40: 52 */ this.n = true;\r\n/* 41: */ }\r\n/* 42: */ }", "public Attributes2Impl(org.xml.sax.Attributes r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 0073 in method: org.xml.sax.ext.Attributes2Impl.<init>(org.xml.sax.Attributes):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: org.xml.sax.ext.Attributes2Impl.<init>(org.xml.sax.Attributes):void\");\n }", "@Override\n public boolean isInstruction() {\n return true;\n }", "public final /* bridge */ /* synthetic */ void mo43569b() {\n super.mo43569b();\n }", "public abstract void mo6549b();", "static /* synthetic */ void m204-wrap8(com.mediatek.internal.telephony.worldphone.WorldPhoneOp01 r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 0073 in method: com.mediatek.internal.telephony.worldphone.WorldPhoneOp01.-wrap8(com.mediatek.internal.telephony.worldphone.WorldPhoneOp01):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.mediatek.internal.telephony.worldphone.WorldPhoneOp01.-wrap8(com.mediatek.internal.telephony.worldphone.WorldPhoneOp01):void\");\n }", "public void method_4270() {}", "public final void mo51373a() {\n }", "public abstract void mo30696a();", "public abstract void mo27464a();", "public RunMain0() {\n \n//#line 1\nsuper();\n }", "JsrInstruction() {}", "@Override // g.b.f.i.m\n /* Code decompiled incorrectly, please refer to instructions dump. */\n public boolean i(g.b.f.i.r r10) {\n /*\n // Method dump skipped, instructions count: 121\n */\n throw new UnsupportedOperationException(\"Method not decompiled: g.b.f.i.q.i(g.b.f.i.r):boolean\");\n }", "@Override\n public String[] getInstructions() {\n return null;\n }", "protected Signer() {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 0073 in method: java.security.Signer.<init>():void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: java.security.Signer.<init>():void\");\n }", "public void method_191() {}", "private void addInstructions() {\n for (InstructionWrapper instructionWrapper : this.instructions) {\n if (!(instructionWrapper.instruction instanceof LabelInstruction)) {\n this.code.addInstruction(instructionWrapper.instruction);\n }\n }\n }", "public abstract void m15813a();", "public abstract void mo56925d();", "public abstract void mo42329d();", "AnonymousClass1(com.mediatek.internal.telephony.worldphone.WorldPhoneOp01 r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e8 in method: com.mediatek.internal.telephony.worldphone.WorldPhoneOp01.1.<init>(com.mediatek.internal.telephony.worldphone.WorldPhoneOp01):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.mediatek.internal.telephony.worldphone.WorldPhoneOp01.1.<init>(com.mediatek.internal.telephony.worldphone.WorldPhoneOp01):void\");\n }", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "public final void mo91715d() {\n }", "public void mo21779D() {\n }", "public int b()\r\n/* 45: */ {\r\n/* 46: 58 */ g();\r\n/* 47: */ \r\n/* 48: 60 */ return super.b();\r\n/* 49: */ }", "public void m23075a() {\n }", "void m1864a() {\r\n }", "AnonymousClass2(com.mediatek.internal.telephony.worldphone.WorldPhoneOp01 r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e8 in method: com.mediatek.internal.telephony.worldphone.WorldPhoneOp01.2.<init>(com.mediatek.internal.telephony.worldphone.WorldPhoneOp01):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.mediatek.internal.telephony.worldphone.WorldPhoneOp01.2.<init>(com.mediatek.internal.telephony.worldphone.WorldPhoneOp01):void\");\n }", "void m5771e() throws C0841b;", "public final void mo11687c() {\n }", "void m5768b() throws C0841b;", "protected void forwardNumCodePoints(int r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: android.icu.impl.coll.CollationDataBuilder.DataBuilderCollationIterator.forwardNumCodePoints(int):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.icu.impl.coll.CollationDataBuilder.DataBuilderCollationIterator.forwardNumCodePoints(int):void\");\n }", "void m5770d() throws C0841b;", "Instruction asInstruction();", "static /* synthetic */ void m203-wrap7(java.lang.String r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 0073 in method: com.mediatek.internal.telephony.worldphone.WorldPhoneOp01.-wrap7(java.lang.String):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.mediatek.internal.telephony.worldphone.WorldPhoneOp01.-wrap7(java.lang.String):void\");\n }", "protected void method_2251() {\r\n this.method_2181();\r\n this.field_1823.method_128(this.field_1824, this.field_1850.method_2383().method_8922());\r\n this.field_1826.method_7081();\r\n }", "public void attackEntity(Entity entity)\n/* 79: */ {\n/* 80:71 */ super.attackEntity(entity);\n/* 81: */ }", "@Override\n\tpublic void onStartInstrExecution(Instruction instr) {\n\t\t\n\t}", "@Override // com.tapjoy.internal.gt\n /* Code decompiled incorrectly, please refer to instructions dump. */\n public final void a(android.app.Activity r6) {\n /*\n // Method dump skipped, instructions count: 106\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.tapjoy.internal.fp.a(android.app.Activity):void\");\n }", "public /* bridge */ /* synthetic */ void mo55095b() {\n super.mo55095b();\n }", "AnonymousClass1(java.security.Signer r1, java.security.PublicKey r2) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e8 in method: java.security.Signer.1.<init>(java.security.Signer, java.security.PublicKey):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: java.security.Signer.1.<init>(java.security.Signer, java.security.PublicKey):void\");\n }", "protected void mo6255a() {\n }", "@Override // kotlinx.coroutines.flow.FlowCollector\n /* Code decompiled incorrectly, please refer to instructions dump. */\n public java.lang.Object emit(java.lang.Object r9, kotlin.coroutines.Continuation r10) {\n /*\n r8 = this;\n boolean r0 = r10 instanceof kotlinx.coroutines.flow.FlowKt__TransformKt$onEach$$inlined$unsafeTransform$1.AnonymousClass2.AnonymousClass1\n if (r0 == 0) goto L_0x0013\n r0 = r10\n kotlinx.coroutines.flow.FlowKt__TransformKt$onEach$$inlined$unsafeTransform$1$2$1 r0 = (kotlinx.coroutines.flow.FlowKt__TransformKt$onEach$$inlined$unsafeTransform$1.AnonymousClass2.AnonymousClass1) r0\n int r1 = r0.label\n r2 = -2147483648(0xffffffff80000000, float:-0.0)\n r3 = r1 & r2\n if (r3 == 0) goto L_0x0013\n int r1 = r1 - r2\n r0.label = r1\n goto L_0x0018\n L_0x0013:\n kotlinx.coroutines.flow.FlowKt__TransformKt$onEach$$inlined$unsafeTransform$1$2$1 r0 = new kotlinx.coroutines.flow.FlowKt__TransformKt$onEach$$inlined$unsafeTransform$1$2$1\n r0.<init>(r10)\n L_0x0018:\n java.lang.Object r10 = r0.result\n java.lang.Object r1 = kotlin.coroutines.intrinsics.IntrinsicsKt.getCOROUTINE_SUSPENDED()\n int r2 = r0.label\n r3 = 2\n r4 = 1\n if (r2 == 0) goto L_0x005e\n if (r2 == r4) goto L_0x0044\n if (r2 != r3) goto L_0x003c\n java.lang.Object r8 = r0.L$6\n kotlinx.coroutines.flow.FlowCollector r8 = (kotlinx.coroutines.flow.FlowCollector) r8\n java.lang.Object r8 = r0.L$4\n kotlin.coroutines.Continuation r8 = (kotlin.coroutines.Continuation) r8\n java.lang.Object r8 = r0.L$2\n kotlinx.coroutines.flow.FlowKt__TransformKt$onEach$$inlined$unsafeTransform$1$2$1 r8 = (kotlinx.coroutines.flow.FlowKt__TransformKt$onEach$$inlined$unsafeTransform$1.AnonymousClass2.AnonymousClass1) r8\n java.lang.Object r8 = r0.L$0\n kotlinx.coroutines.flow.FlowKt__TransformKt$onEach$$inlined$unsafeTransform$1$2 r8 = (kotlinx.coroutines.flow.FlowKt__TransformKt$onEach$$inlined$unsafeTransform$1.AnonymousClass2) r8\n kotlin.ResultKt.throwOnFailure(r10)\n goto L_0x009b\n L_0x003c:\n java.lang.IllegalStateException r8 = new java.lang.IllegalStateException\n java.lang.String r9 = \"call to 'resume' before 'invoke' with coroutine\"\n r8.<init>(r9)\n throw r8\n L_0x0044:\n java.lang.Object r8 = r0.L$6\n kotlinx.coroutines.flow.FlowCollector r8 = (kotlinx.coroutines.flow.FlowCollector) r8\n java.lang.Object r9 = r0.L$5\n java.lang.Object r2 = r0.L$4\n kotlin.coroutines.Continuation r2 = (kotlin.coroutines.Continuation) r2\n java.lang.Object r4 = r0.L$3\n java.lang.Object r5 = r0.L$2\n kotlinx.coroutines.flow.FlowKt__TransformKt$onEach$$inlined$unsafeTransform$1$2$1 r5 = (kotlinx.coroutines.flow.FlowKt__TransformKt$onEach$$inlined$unsafeTransform$1.AnonymousClass2.AnonymousClass1) r5\n java.lang.Object r6 = r0.L$1\n java.lang.Object r7 = r0.L$0\n kotlinx.coroutines.flow.FlowKt__TransformKt$onEach$$inlined$unsafeTransform$1$2 r7 = (kotlinx.coroutines.flow.FlowKt__TransformKt$onEach$$inlined$unsafeTransform$1.AnonymousClass2) r7\n kotlin.ResultKt.throwOnFailure(r10)\n goto L_0x0084\n L_0x005e:\n kotlin.ResultKt.throwOnFailure(r10)\n kotlinx.coroutines.flow.FlowCollector r10 = kotlinx.coroutines.flow.FlowCollector.this\n kotlinx.coroutines.flow.FlowKt__TransformKt$onEach$$inlined$unsafeTransform$1 r2 = r2\n kotlin.jvm.functions.Function2 r2 = r2.$action$inlined\n r0.L$0 = r8\n r0.L$1 = r9\n r0.L$2 = r0\n r0.L$3 = r9\n r0.L$4 = r0\n r0.L$5 = r9\n r0.L$6 = r10\n r0.label = r4\n java.lang.Object r2 = r2.invoke(r9, r0)\n if (r2 != r1) goto L_0x007e\n return r1\n L_0x007e:\n r7 = r8\n r4 = r9\n r6 = r4\n r8 = r10\n r2 = r0\n r5 = r2\n L_0x0084:\n r0.L$0 = r7\n r0.L$1 = r6\n r0.L$2 = r5\n r0.L$3 = r4\n r0.L$4 = r2\n r0.L$5 = r9\n r0.L$6 = r8\n r0.label = r3\n java.lang.Object r10 = r8.emit(r9, r0)\n if (r10 != r1) goto L_0x009b\n return r1\n L_0x009b:\n return r10\n */\n throw new UnsupportedOperationException(\"Method not decompiled: kotlinx.coroutines.flow.FlowKt__TransformKt$onEach$$inlined$unsafeTransform$1.AnonymousClass2.emit(java.lang.Object, kotlin.coroutines.Continuation):java.lang.Object\");\n }", "public MyMemory(){\n super();\n this.instruction = new Instruction(); //Only the IR register will use this attribute\n }", "public void swrap() throws NoUnusedObjectExeption;", "public abstract void mo42331g();", "public void n() {\n this.f80658c.a(new f() {\n public void a(Object obj, boolean z) {\n p unused = m.this.f80658c = (p) obj;\n }\n }, \"__ag_of\");\n }", "void m5769c() throws C0841b;", "@Override\n\tpublic void VisitUnaryNode(UnaryOperatorNode Node) {\n\n\t}", "public void mo12628c() {\n }", "public abstract Object mo26777y();", "@Override\n\tpublic void imprimir() {\n\t\t\n\t}", "public interface InstructionCodes {\n\n int NOP = 0;\n int ICONST = 2;\n int FCONST = 3;\n int SCONST = 4;\n int ICONST_0 = 5;\n int ICONST_1 = 6;\n int ICONST_2 = 7;\n int ICONST_3 = 8;\n int ICONST_4 = 9;\n int ICONST_5 = 10;\n int FCONST_0 = 11;\n int FCONST_1 = 12;\n int FCONST_2 = 13;\n int FCONST_3 = 14;\n int FCONST_4 = 15;\n int FCONST_5 = 16;\n int BCONST_0 = 17;\n int BCONST_1 = 18;\n int RCONST_NULL = 19;\n int BICONST = 20;\n int DCONST = 21;\n\n int IMOVE = 22;\n int FMOVE = 23;\n int SMOVE = 24;\n int BMOVE = 25;\n int RMOVE = 26;\n int BIALOAD = 27;\n int IALOAD = 28;\n int FALOAD = 29;\n int SALOAD = 30;\n int BALOAD = 31;\n int RALOAD = 32;\n int JSONALOAD = 33;\n\n int IGLOAD = 34;\n int FGLOAD = 35;\n int SGLOAD = 36;\n int BGLOAD = 37;\n int RGLOAD = 38;\n\n int CHNRECEIVE = 39;\n int CHNSEND = 40;\n\n int MAPLOAD = 41;\n int JSONLOAD = 42;\n\n int COMPENSATE = 43;\n\n int BIASTORE = 44;\n int IASTORE = 45;\n int FASTORE = 46;\n int SASTORE = 47;\n int BASTORE = 48;\n int RASTORE = 49;\n int JSONASTORE = 50;\n\n int BIAND = 51;\n int IAND = 52;\n int BIOR = 53;\n int IOR = 54;\n\n int IGSTORE = 55;\n int FGSTORE = 56;\n int SGSTORE = 57;\n int BGSTORE = 58;\n int RGSTORE = 59;\n\n int IS_LIKE = 60;\n\n int STAMP = 62;\n\n int FREEZE = 63;\n int IS_FROZEN = 64;\n\n int ERROR = 65;\n int PANIC = 66;\n int REASON = 67;\n int DETAIL = 68;\n\n int MAPSTORE = 69;\n int JSONSTORE = 70;\n\n int IADD = 71;\n int FADD = 72;\n int SADD = 73;\n int DADD = 74;\n\n int SCOPE_END = 75;\n int LOOP_COMPENSATE = 76;\n\n int XMLADD = 77;\n int ISUB = 78;\n int FSUB = 79;\n int DSUB = 80;\n int IMUL = 81;\n int FMUL = 82;\n int DMUL = 83;\n int IDIV = 84;\n int FDIV = 85;\n int DDIV = 86;\n int IMOD = 87;\n int FMOD = 88;\n int DMOD = 89;\n int INEG = 90;\n int FNEG = 91;\n int DNEG = 92;\n int BNOT = 93;\n\n int IEQ = 94;\n int FEQ = 95;\n int SEQ = 96;\n int BEQ = 97;\n int DEQ = 98;\n int REQ = 99;\n int REF_EQ = 100;\n\n int INE = 101;\n int FNE = 102;\n int SNE = 103;\n int BNE = 104;\n int DNE = 105;\n int RNE = 106;\n int REF_NEQ = 107;\n\n int IGT = 108;\n int FGT = 109;\n int DGT = 110;\n\n int IGE = 111;\n int FGE = 112;\n int DGE = 113;\n\n int ILT = 114;\n int FLT = 115;\n int DLT = 116;\n\n int ILE = 117;\n int FLE = 118;\n int DLE = 119;\n\n int REQ_NULL = 120;\n int RNE_NULL = 121;\n\n int BR_TRUE = 122;\n int BR_FALSE = 123;\n\n int GOTO = 124;\n int HALT = 125;\n int TR_RETRY = 126;\n int CALL = 127;\n int VCALL = 128;\n int FPCALL = 129;\n int FPLOAD = 130;\n int VFPLOAD = 131;\n\n // Type Conversion related instructions\n int I2F = 132;\n int I2S = 133;\n int I2B = 134;\n int I2D = 135;\n int F2I = 136;\n int F2S = 137;\n int F2B = 138;\n int F2D = 139;\n int S2I = 140;\n int S2F = 141;\n int S2B = 142;\n int S2D = 143;\n int B2I = 144;\n int B2F = 145;\n int B2S = 146;\n int B2D = 147;\n int D2I = 148;\n int D2F = 149;\n int D2S = 150;\n int D2B = 151;\n int DT2JSON = 152;\n int DT2XML = 153;\n int T2MAP = 154;\n int T2JSON = 155;\n int MAP2T = 156;\n int JSON2T = 157;\n int XML2S = 158;\n\n int BILSHIFT = 159;\n int BIRSHIFT = 160;\n int ILSHIFT = 161;\n int IRSHIFT = 162;\n\n // Type cast\n int I2ANY = 163;\n int F2ANY = 164;\n int S2ANY = 165;\n int B2ANY = 166;\n\n int TYPE_ASSERTION = 167;\n\n int ANY2I = 168;\n int ANY2F = 169;\n int ANY2S = 170;\n int ANY2B = 171;\n int ANY2D = 172;\n int ANY2JSON = 173;\n int ANY2XML = 174;\n int ANY2MAP = 175;\n int ANY2STM = 176;\n int ANY2DT = 177;\n int ANY2SCONV = 178;\n int ANY2BI = 179;\n int BI2ANY = 180;\n int ANY2E = 181;\n int ANY2T = 182;\n int ANY2C = 183;\n int CHECKCAST = 184;\n\n int ANY2TYPE = 185;\n\n int LOCK = 186;\n int UNLOCK = 187;\n\n // Transactions\n int TR_BEGIN = 188;\n int TR_END = 189;\n\n int WRKSEND = 190;\n int WRKRECEIVE = 191;\n\n int WORKERSYNCSEND = 192;\n int WAIT = 193;\n\n int MAP2JSON = 194;\n int JSON2MAP = 195;\n\n int IS_ASSIGNABLE = 196;\n int O2JSON = 197;\n\n int ARRAY2JSON = 198;\n int JSON2ARRAY = 199;\n\n int BINEWARRAY = 200;\n int INEWARRAY = 201;\n int FNEWARRAY = 202;\n int SNEWARRAY = 203;\n int BNEWARRAY = 204;\n int RNEWARRAY = 205;\n\n int CLONE = 206;\n\n int FLUSH = 207;\n\n int LENGTHOF = 208;\n int WAITALL = 209;\n\n int NEWSTRUCT = 210;\n int NEWMAP = 212;\n int NEWTABLE = 215;\n int NEWSTREAM = 217;\n \n int CONVERT = 218;\n\n int ITR_NEW = 219;\n int ITR_NEXT = 221;\n int INT_RANGE = 222;\n\n int I2BI = 223;\n int BI2I = 224;\n int BIXOR = 225;\n int IXOR = 226;\n int BACONST = 227;\n int IURSHIFT = 228;\n\n int IRET = 229;\n int FRET = 230;\n int SRET = 231;\n int BRET = 232;\n int DRET = 233;\n int RRET = 234;\n int RET = 235;\n\n int XML2XMLATTRS = 236;\n int XMLATTRS2MAP = 237;\n int XMLATTRLOAD = 238;\n int XMLATTRSTORE = 239;\n int S2QNAME = 240;\n int NEWQNAME = 241;\n int NEWXMLELEMENT = 242;\n int NEWXMLCOMMENT = 243;\n int NEWXMLTEXT = 244;\n int NEWXMLPI = 245;\n int XMLSEQSTORE = 246;\n int XMLSEQLOAD = 247;\n int XMLLOAD = 248;\n int XMLLOADALL = 249;\n int NEWXMLSEQ = 250;\n\n int TYPE_TEST = 251;\n int TYPELOAD = 252;\n\n int TEQ = 253;\n int TNE = 254;\n\n int INSTRUCTION_CODE_COUNT = 255;\n}", "static /* synthetic */ void m205-wrap9(com.mediatek.internal.telephony.worldphone.WorldPhoneOp01 r1, int r2) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 0073 in method: com.mediatek.internal.telephony.worldphone.WorldPhoneOp01.-wrap9(com.mediatek.internal.telephony.worldphone.WorldPhoneOp01, int):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.mediatek.internal.telephony.worldphone.WorldPhoneOp01.-wrap9(com.mediatek.internal.telephony.worldphone.WorldPhoneOp01, int):void\");\n }", "public abstract void mo53562a(C18796a c18796a);", "private final void asx() {\n /*\n r12 = this;\n r0 = r12.cFE;\n if (r0 == 0) goto L_0x0073;\n L_0x0004:\n r1 = r12.cxs;\n if (r1 == 0) goto L_0x0073;\n L_0x0008:\n r1 = r12.ayL;\n if (r1 != 0) goto L_0x000d;\n L_0x000c:\n goto L_0x0073;\n L_0x000d:\n r2 = 0;\n if (r1 == 0) goto L_0x0027;\n L_0x0010:\n r1 = r1.Km();\n if (r1 == 0) goto L_0x0027;\n L_0x0016:\n r1 = r1.aar();\n if (r1 == 0) goto L_0x0027;\n L_0x001c:\n r3 = r0.getName();\n r1 = r1.get(r3);\n r1 = (java.util.ArrayList) r1;\n goto L_0x0028;\n L_0x0027:\n r1 = r2;\n L_0x0028:\n if (r1 == 0) goto L_0x0051;\n L_0x002a:\n r1 = (java.lang.Iterable) r1;\n r1 = kotlin.collections.u.Z(r1);\n if (r1 == 0) goto L_0x0051;\n L_0x0032:\n r3 = new com.iqoption.deposit.light.perform.DepositPerformLightFragment$setPresets$items$1;\n r3.<init>(r12);\n r3 = (kotlin.jvm.a.b) r3;\n r1 = kotlin.sequences.n.b(r1, r3);\n if (r1 == 0) goto L_0x0051;\n L_0x003f:\n r3 = new com.iqoption.deposit.light.perform.DepositPerformLightFragment$setPresets$items$2;\n r3.<init>(r0);\n r3 = (kotlin.jvm.a.b) r3;\n r1 = kotlin.sequences.n.f(r1, r3);\n if (r1 == 0) goto L_0x0051;\n L_0x004c:\n r1 = kotlin.sequences.n.f(r1);\n goto L_0x0052;\n L_0x0051:\n r1 = r2;\n L_0x0052:\n r3 = r12.asr();\n if (r1 == 0) goto L_0x0059;\n L_0x0058:\n goto L_0x005d;\n L_0x0059:\n r1 = kotlin.collections.m.emptyList();\n L_0x005d:\n r4 = r12.bub;\n if (r4 == 0) goto L_0x006d;\n L_0x0061:\n r5 = 0;\n r6 = 0;\n r7 = 1;\n r8 = 0;\n r9 = 0;\n r10 = 19;\n r11 = 0;\n r2 = com.iqoption.core.util.e.a(r4, r5, r6, r7, r8, r9, r10, r11);\n L_0x006d:\n r3.c(r1, r2);\n r12.d(r0);\n L_0x0073:\n return;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.iqoption.deposit.light.perform.c.asx():void\");\n }", "public void o_()\r\n/* 533: */ {\r\n/* 534:539 */ this.e = true;\r\n/* 535: */ }", "static /* synthetic */ void m202-wrap6(com.mediatek.internal.telephony.worldphone.WorldPhoneOp01 r1, int r2) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 0073 in method: com.mediatek.internal.telephony.worldphone.WorldPhoneOp01.-wrap6(com.mediatek.internal.telephony.worldphone.WorldPhoneOp01, int):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.mediatek.internal.telephony.worldphone.WorldPhoneOp01.-wrap6(com.mediatek.internal.telephony.worldphone.WorldPhoneOp01, int):void\");\n }", "_ExtendsNotAbstract() {\n super(\"s\"); // needs this if not default ctor;\n }", "public void mo21782G() {\n }", "public interface Opcodes {\n int T_INT = 10;\n // versions\n // int V1_1 = 3 << 16 | 45;\n // int V1_2 = 0 << 16 | 46;\n // int V1_3 = 0 << 16 | 47;\n // int V1_4 = 0 << 16 | 48;\n int V1_5 = 0 << 16 | 49;\n // int V1_6 = 0 << 16 | 50;\n // int V1_7 = 0 << 16 | 51;\n // access flags\n int ACC_PUBLIC = 0x0001; // class, field, method\n int ACC_SUPER = 0x0020; // class\n // opcodes // visit method (- = idem)\n int ACONST_NULL = 1; // -\n int ICONST_0 = 3; // -\n int ICONST_1 = 4; // -\n int LCONST_0 = 9; // -\n int LCONST_1 = 10; // -\n int FCONST_0 = 11; // -\n int DCONST_0 = 14; // -\n int BIPUSH = 16; // visitIntInsn\n // int SIPUSH = 17; // -\n // int LDC = 18; // visitLdcInsn\n // int LDC_W = 19; // -\n // int LDC2_W = 20; // -\n int ILOAD = 21; // visitVarInsn\n int LLOAD = 22; // -\n int FLOAD = 23; // -\n int DLOAD = 24; // -\n int ALOAD = 25; // -\n int ISTORE = 54; // visitVarInsn\n int LSTORE = 55; // -\n int FSTORE = 56; // -\n int DSTORE = 57; // -\n int ASTORE = 58; // -\n int IASTORE = 79; // visitInsn\n int POP = 87; // -\n // int POP2 = 88; // -\n int DUP = 89; // -\n int IADD = 96; // -\n // int ISUB = 100; // -\n int IAND = 126; // -\n // int LAND = 127; // -\n int IOR = 128; // -\n // int LOR = 129; // -\n // int IXOR = 130; // -\n // int LXOR = 131; // -\n // int IINC = 132; // visitIincInsn\n int LCMP = 148; // -\n int FCMPL = 149; // -\n int DCMPL = 151; // -\n int IFEQ = 153; // visitJumpInsn\n int IFNE = 154; // -\n int IFLE = 158; // -\n int IF_ICMPEQ = 159; // -\n int IF_ICMPNE = 160; // -\n int IF_ICMPLT = 161; // -\n int IF_ICMkgE = 162; // -\n int IF_ICMkgT = 163; // -\n int IF_ACMPEQ = 165; // -\n int IF_ACMPNE = 166; // -\n int GOTO = 167; // -\n int RET = 169; // visitVarInsn\n int ARETURN = 176; // -\n int RETURN = 177; // -\n int GETSTATIC = 178; // visitFieldInsn\n int GETFIELD = 180; // -\n int PUTFIELD = 181; // -\n int INVOKEVIRTUAL = 182; // visitMethodInsn\n int INVOKESPECIAL = 183; // -\n int INVOKESTATIC = 184; // -\n int INVOKEINTERFACE = 185; // -\n // int INVOKEDYNAMIC = 186; // -\n int NEW = 187; // visitTypeInsn\n int NEWARRAY = 188; // visitIntInsn\n // int ANEWARRAY = 189; // visitTypeInsn\n // int ARRAYLENGTH = 190; // visitInsn\n // int ATHROW = 191; // -\n int CHECKCAST = 192; // visitTypeInsn\n int INSTANCEOF = 193;\n int IFNULL = 198; // visitJumpInsn\n int IFNONNULL = 199; // -\n // int GOTO_W = 200; // -\n // int JSR_W = 201; // -\n}", "public void testMethodInfo886() throws Exception {\n\t\tClassInfo var2776 = instantiateClassInfo426();\n\t\tLocalField var2777 = instantiateLocalField425();\n\t\tList<ClassInfo> var2764 = Collections.emptyList();\n\t\tList<ParameterInfo> var2766 = Collections.emptyList();\n\t\tList<LocalVariableInfo> var2767 = Collections.emptyList();\n\t\tList<Operation> var2768 = Collections.emptyList();\n\t\tvar2765.addMethod(new MethodInfo(var2765, \"void setB()\", -1, null,\n\t\t\t\tvar2766, var2767, Visibility.PUBLIC, var2768, false, false,\n\t\t\t\tCollections.<Integer> emptyList()));\n\t\tMethodInfo var2778 = new MethodInfo(var2776, \"void setB()\", -1, null,\n\t\t\t\tvar2766, var2767, Visibility.PUBLIC, var2768, false, false,\n\t\t\t\tCollections.<Integer> emptyList());\n\t\tvar2777.getDescription();\n\t\tvar2777.getDescription();\n\t\tClassInfo var2765 = new ClassInfo(\"super\", false, null, var2764, null);\n\t\tvar2765.addMethod(new MethodInfo(var2765, \"void setB()\", -1, null,\n\t\t\t\tvar2766, var2767, Visibility.PUBLIC, var2768, false, false,\n\t\t\t\tCollections.<Integer> emptyList()));\n\t\tvar2765.addMethod(new MethodInfo(var2765, \"void setA()\", -1, null,\n\t\t\t\tvar2766, var2767, Visibility.PRIVATE, var2768, false, false,\n\t\t\t\tCollections.<Integer> emptyList()));\n\t\tvar2765.addMethod(new MethodInfo(var2765, \"voidX()\", -1, null, var2766,\n\t\t\t\tvar2767, Visibility.PUBLIC, var2768, false, false, Collections\n\t\t\t\t\t\t.<Integer> emptyList()));\n\t\tClassInfo var2771 = new ClassInfo(\"super\", false, var2765, var2764,\n\t\t\t\tnull);\n\t\tvar2771.addMethod(new MethodInfo(var2771, \"void setD()\", -1, null,\n\t\t\t\tvar2766, var2767, Visibility.PUBLIC, var2768, false, false,\n\t\t\t\tCollections.<Integer> emptyList()));\n\t\tvar2776.addMethod(new MethodInfo(var2771, \"void setD()\", -1, null,\n\t\t\t\tvar2766, var2767, Visibility.PUBLIC, var2768, false, false,\n\t\t\t\tCollections.<Integer> emptyList()));\n\t\tvar2765.addMethod(new MethodInfo(var2765, \"void setB()\", -1, null,\n\t\t\t\tvar2766, var2767, Visibility.PUBLIC, var2768, false, false,\n\t\t\t\tCollections.<Integer> emptyList()));\n\t\tvar2765.addMethod(new MethodInfo(var2765, \"void setA()\", -1, null,\n\t\t\t\tvar2766, var2767, Visibility.PRIVATE, var2768, false, false,\n\t\t\t\tCollections.<Integer> emptyList()));\n\t\tvar2765.addMethod(new MethodInfo(var2765, \"voidX()\", -1, null, var2766,\n\t\t\t\tvar2767, Visibility.PUBLIC, var2768, false, false, Collections\n\t\t\t\t\t\t.<Integer> emptyList()));\n\t\tvar2771.addMethod(new MethodInfo(var2771, \"void setD()\", -1, null,\n\t\t\t\tvar2766, var2767, Visibility.PUBLIC, var2768, false, false,\n\t\t\t\tCollections.<Integer> emptyList()));\n\t\tvar2771.addMethod(new MethodInfo(var2771, \"void setC()\", -1, null,\n\t\t\t\tvar2766, var2767, Visibility.PUBLIC, var2768, false, false,\n\t\t\t\tCollections.<Integer> emptyList()));\n\t\tvar2776.addMethod(new MethodInfo(var2771, \"void setC()\", -1, null,\n\t\t\t\tvar2766, var2767, Visibility.PUBLIC, var2768, false, false,\n\t\t\t\tCollections.<Integer> emptyList()));\n\t\tvar2776.getSetters();\n\t\tvar2765.addMethod(new MethodInfo(var2765, \"void setB()\", -1, null,\n\t\t\t\tvar2766, var2767, Visibility.PUBLIC, var2768, false, false,\n\t\t\t\tCollections.<Integer> emptyList()));\n\t\tvar2765.addMethod(new MethodInfo(var2765, \"void setA()\", -1, null,\n\t\t\t\tvar2766, var2767, Visibility.PRIVATE, var2768, false, false,\n\t\t\t\tCollections.<Integer> emptyList()));\n\t\tvar2765.addMethod(new MethodInfo(var2765, \"voidX()\", -1, null, var2766,\n\t\t\t\tvar2767, Visibility.PUBLIC, var2768, false, false, Collections\n\t\t\t\t\t\t.<Integer> emptyList()));\n\t\tvar2771.addMethod(new MethodInfo(var2771, \"void setD()\", -1, null,\n\t\t\t\tvar2766, var2767, Visibility.PUBLIC, var2768, false, false,\n\t\t\t\tCollections.<Integer> emptyList()));\n\t\tvar2776.addMethod(new MethodInfo(var2771, \"void setD()\", -1, null,\n\t\t\t\tvar2766, var2767, Visibility.PUBLIC, var2768, false, false,\n\t\t\t\tCollections.<Integer> emptyList()));\n\t\tvar2765.addMethod(new MethodInfo(var2765, \"void setB()\", -1, null,\n\t\t\t\tvar2766, var2767, Visibility.PUBLIC, var2768, false, false,\n\t\t\t\tCollections.<Integer> emptyList()));\n\t\tvar2765.addMethod(new MethodInfo(var2765, \"void setA()\", -1, null,\n\t\t\t\tvar2766, var2767, Visibility.PRIVATE, var2768, false, false,\n\t\t\t\tCollections.<Integer> emptyList()));\n\t\tvar2765.addMethod(new MethodInfo(var2765, \"voidX()\", -1, null, var2766,\n\t\t\t\tvar2767, Visibility.PUBLIC, var2768, false, false, Collections\n\t\t\t\t\t\t.<Integer> emptyList()));\n\t\tvar2771.addMethod(new MethodInfo(var2771, \"void setD()\", -1, null,\n\t\t\t\tvar2766, var2767, Visibility.PUBLIC, var2768, false, false,\n\t\t\t\tCollections.<Integer> emptyList()));\n\t\tvar2771.addMethod(new MethodInfo(var2771, \"void setC()\", -1, null,\n\t\t\t\tvar2766, var2767, Visibility.PUBLIC, var2768, false, false,\n\t\t\t\tCollections.<Integer> emptyList()));\n\t\tvar2776.addMethod(new MethodInfo(var2771, \"void setC()\", -1, null,\n\t\t\t\tvar2766, var2767, Visibility.PUBLIC, var2768, false, false,\n\t\t\t\tCollections.<Integer> emptyList()));\n\t\tvar2776.getSetters();\n\t\tvar2778.isSetter();\n\t\tvar2778.isSetter();\n\t}", "static /* synthetic */ byte m316-set9(android.location.GpsClock r1, byte r2) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00ec in method: android.location.GpsClock.-set9(android.location.GpsClock, byte):byte, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.location.GpsClock.-set9(android.location.GpsClock, byte):byte\");\n }", "@Override\n public void perish() {\n \n }", "public WorldPhoneOp01() {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e8 in method: com.mediatek.internal.telephony.worldphone.WorldPhoneOp01.<init>():void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.mediatek.internal.telephony.worldphone.WorldPhoneOp01.<init>():void\");\n }", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "public interface NoCopySpan\n/* */ {\n/* */ public static class Concrete\n/* */ implements NoCopySpan\n/* */ {\n/* */ public Concrete() {\n/* 37 */ throw new RuntimeException(\"Stub!\");\n/* */ }\n/* */ }\n/* */ }", "public final void mo91720e() {\n super.mo91720e();\n }", "void suppressContractions(android.icu.text.UnicodeSet r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e9 in method: android.icu.impl.coll.CollationDataBuilder.suppressContractions(android.icu.text.UnicodeSet):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.icu.impl.coll.CollationDataBuilder.suppressContractions(android.icu.text.UnicodeSet):void\");\n }", "protected void method_2241() {\r\n // $FF: Couldn't be decompiled\r\n }", "public LookUpSwitchInstruction() {}", "public Void visit(NasmAddress operand){\n return null;\n }", "AnonymousClass3(com.mediatek.internal.telephony.worldphone.WorldPhoneOp01 r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e8 in method: com.mediatek.internal.telephony.worldphone.WorldPhoneOp01.3.<init>(com.mediatek.internal.telephony.worldphone.WorldPhoneOp01):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.mediatek.internal.telephony.worldphone.WorldPhoneOp01.3.<init>(com.mediatek.internal.telephony.worldphone.WorldPhoneOp01):void\");\n }", "public abstract String mo13682d();", "static /* synthetic */ void m201-wrap5(com.mediatek.internal.telephony.worldphone.WorldPhoneOp01 r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 0073 in method: com.mediatek.internal.telephony.worldphone.WorldPhoneOp01.-wrap5(com.mediatek.internal.telephony.worldphone.WorldPhoneOp01):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.mediatek.internal.telephony.worldphone.WorldPhoneOp01.-wrap5(com.mediatek.internal.telephony.worldphone.WorldPhoneOp01):void\");\n }", "protected void additionalProcessing() {\n\t}", "private void method_2242() {\r\n this.field_1824.method_6863(0);\r\n this.field_1824.method_6861(false);\r\n this.field_1824.method_6859(0);\r\n this.field_1824.method_6857(false);\r\n }", "@Override\n\tpublic void imprime() {\n\t\t\n\t}", "protected final /* synthetic */ java.lang.Object run() {\n /*\n r4 = this;\n r0 = 1;\n r1 = 0;\n r2 = com.tencent.mm.plugin.appbrand.b.c.this;\n r2 = r2.chu();\n r3 = com.tencent.mm.plugin.appbrand.b.c.this;\n r3 = r3.iKh;\n if (r2 != r3) goto L_0x0022;\n L_0x000e:\n r2 = com.tencent.mm.plugin.appbrand.b.c.this;\n r2 = r2.iKh;\n r2 = r2.iKy;\n r2 = r2 & 1;\n if (r2 <= 0) goto L_0x0020;\n L_0x0018:\n r2 = r0;\n L_0x0019:\n if (r2 == 0) goto L_0x0022;\n L_0x001b:\n r0 = java.lang.Boolean.valueOf(r0);\n return r0;\n L_0x0020:\n r2 = r1;\n goto L_0x0019;\n L_0x0022:\n r0 = r1;\n goto L_0x001b;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.tencent.mm.plugin.appbrand.b.c.5.run():java.lang.Object\");\n }" ]
[ "0.6451167", "0.6363185", "0.63262373", "0.6299552", "0.6247741", "0.61594784", "0.61044043", "0.60725284", "0.6010411", "0.6010411", "0.6010411", "0.5944918", "0.5922746", "0.59199125", "0.5918691", "0.5917217", "0.58878136", "0.585011", "0.5836845", "0.58099145", "0.5804624", "0.5785687", "0.57765365", "0.57055444", "0.5690943", "0.5690637", "0.56856644", "0.5685541", "0.5607291", "0.5604718", "0.55900145", "0.55736697", "0.55640095", "0.55603534", "0.5549059", "0.55384237", "0.55360293", "0.55349225", "0.5521333", "0.5517113", "0.55150783", "0.55112904", "0.55088323", "0.5501315", "0.5500143", "0.5494581", "0.54931426", "0.5492923", "0.5492365", "0.5491937", "0.5490784", "0.5485236", "0.54849577", "0.54825497", "0.54777473", "0.5471012", "0.54633576", "0.546182", "0.54609877", "0.54589957", "0.5457941", "0.5456858", "0.54550093", "0.545286", "0.5451828", "0.5450622", "0.54475415", "0.54429543", "0.5433914", "0.54324305", "0.5431161", "0.54288816", "0.54263026", "0.5417856", "0.5417495", "0.5415068", "0.5412456", "0.54095685", "0.54041165", "0.53991324", "0.5399108", "0.539192", "0.5391483", "0.53903496", "0.53838897", "0.5374021", "0.5370815", "0.5369894", "0.536813", "0.5365833", "0.5360933", "0.5359194", "0.53590584", "0.5357551", "0.53514916", "0.5351002", "0.5350749", "0.53497463", "0.5349372", "0.534868", "0.53416604" ]
0.0
-1
Calls the Instance(String,int) constructor to track this instruction.
private USI_ADRC(boolean ignored) { super(opId); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Instance() {\n }", "public TestMe()\r\n/* 11: */ {\r\n/* 12:10 */ this.myNumber = (instanceCounter++);\r\n/* 13: */ }", "Instruction createInstruction();", "public MyMemory(){\n super();\n this.instruction = new Instruction(); //Only the IR register will use this attribute\n }", "private Instantiation(){}", "public void instatnceMethod() {\n System.out.println(\"instatnMethod\");\n System.out.println(\"count = \" + count);\n displayMessage(\"hello from instance methods\");\n }", "public Taginstance() {\n\t\tthis(\"taginstance\", null);\n\t}", "public Instance() {\n super(Routing.NAMESPACE, \"instance\");\n }", "private InfoCommand()\n\t{\n\t\t\n\t\t\n\t}", "public LookUpSwitchInstruction() {}", "public Instance(String name, String gameId) {\n this.identifier = name;\n this.gameId = gameId;\n }", "public Instructions() {\n\n\t\t// String code = codeIn.trim();\n\t\t// code = code.replaceAll(\"\\\\s+\", \"\");\n\t\t// System.out.println(\"Code In:\\n\" + code);\n\t\t//\n\t\t// int len = code.length();\n\t\t// int chunkLength = 2; // the length of each chunk of code\n\t\t// int i = 0;\n\n\t\t// Create new Memory Array\n\t\tMA = new MemoryArray();\n\n\t\t// traverse entered code and split into 2 digit chunks\n\t\t// for (i = 0; i < len; i += chunkLength) {\n\t\t//\n\t\t// String chunk = code.substring(i, Math.min(len, i + chunkLength));\n\t\t// System.out.println(\"code chunk no. \" + (i / 2) + \" \" + chunk);\n\t\t//\n\t\t// opCode(chunk); // TODO - need to call this from the memory class I\n\t\t// think\n\n\t\tmem = new Memory();\n\n\t\tmemDispalyString();\n\n\t\tproc = new ProcessorLoop();\n\n\t\t// set the memory address and OpCode\n\t\t// mem.setAddress(addr);\n\t\t// // convert to decimal\n\t\t// mem.setOpCode(Integer.parseInt(chunk, 16));\n\t\t// System.out.println(\"oc = \" + (Integer.parseInt(chunk, 16)));\n\t\t//\n\t\t// // add the memory object to the memory array\n\t\t// MA.addMemoryObjects(addr, mem);\n\t\t// System.out.println(\"New memory = \" + mem.getAddress() + \" \"\n\t\t// + mem.getOpCode());\n\t\t// addr++;\n\t\t// }\n\n\t}", "Instance createInstance();", "public static Instruction getInstance() {\n \t\treturn staticInstance;\n \t}", "public static Instruction getInstance() {\n \t\treturn staticInstance;\n \t}", "public static Instruction getInstance() {\n \t\treturn staticInstance;\n \t}", "public ControlClass(String expID){\r\n \tinitialize(expID,null,null,null); \t\r\n }", "public Label(int num){\n\t\tresidentVertex = null;\n\t\tpredecessorEdge = null;\n\t\tpredecessorLabel = null;\n\t\tresourceConsumption = new AccumulatedResources();\n\t\tlabelID = num;\n\t}", "public Packet(final long unique) {\r\n\t\ttype = EvidenceType.NONE;\r\n\t\tcommand = EvidenceBuilder.LOG_CREATE;\r\n\t\tid = unique;\r\n\t\tdata = null;\r\n\t}", "public Block(){\n\t\tinstns = new ArrayList<Instruction>();\n\t}", "public ComputeInstanceVersion() {\n }", "public Identity(){\n setLabel(\"I\");\n }", "Reproducible newInstance();", "public LiveRef(int paramInt) {\n/* 74 */ this(new ObjID(), paramInt);\n/* */ }", "private Symbol(String label, int numArgs)\n {\n this.label = label;\n this.numArgs = numArgs;\n }", "public CInstructions(CProcessor cprocessor) { this.m_cprocessor = cprocessor; }", "public Person(){\n instanceCounter++;\n localCounter++;\n }", "protected Image(int instance, String context) {\n\tsuper(instance, context);\n\taddObjectTable(fieldTable, null);\n }", "public Interface()\n {\n this(10); //stats object of size 10\n }", "public InstructionsState(int stateID){\r\n\t\tthis.stateID = stateID;\r\n\t}", "public Interpreter() {\n super();\n instructionsStack.push(new ArrayList<>());\n }", "public void addInstruction(){\n\n }", "Instance(int N,int L){\r\n\t\tthis.x=new ArrayList<Entry>();\r\n\t\tthis.y=new HashSet<Integer>();\r\n\t\tthis.N=N;\r\n\t\tthis.L=L;\r\n\t}", "public ExperimentInfo() { }", "private InstanceUtil() {\n }", "public PotionEffect(int paramInt1, int paramInt2)\r\n/* 16: */ {\r\n/* 17: 28 */ this(paramInt1, paramInt2, 0);\r\n/* 18: */ }", "public abstract Instance duplicate();", "JsrInstruction() {}", "public PotionEffect(int paramInt1, int paramInt2, int paramInt3)\r\n/* 21: */ {\r\n/* 22: 32 */ this(paramInt1, paramInt2, paramInt3, false, true);\r\n/* 23: */ }", "public Instance(int instanceId, double weight){\n\t\tif(instanceId==0)\n\t\t\tthrow new RuntimeException(\"The instance id is \"+instanceId);\n\t\tthis._instanceId = instanceId;\n\t\tthis._weight = weight;\n\t}", "public Counter()\n {\n this(0);\n }", "public void makeInstance() {\n\t\t// Create the attributes, class and text\n\t\tFastVector fvNominalVal = new FastVector(2);\n\t\tfvNominalVal.addElement(\"ad1\");\n\t\tfvNominalVal.addElement(\"ad2\");\n\t\tAttribute attribute1 = new Attribute(\"class\", fvNominalVal);\n\t\tAttribute attribute2 = new Attribute(\"text\",(FastVector) null);\n\t\t// Create list of instances with one element\n\t\tFastVector fvWekaAttributes = new FastVector(2);\n\t\tfvWekaAttributes.addElement(attribute1);\n\t\tfvWekaAttributes.addElement(attribute2);\n\t\tinstances = new Instances(\"Test relation\", fvWekaAttributes, 1); \n\t\t// Set class index\n\t\tinstances.setClassIndex(0);\n\t\t// Create and add the instance\n\t\tInstance instance = new Instance(2);\n\t\tinstance.setValue(attribute2, text);\n\t\t// Another way to do it:\n\t\t// instance.setValue((Attribute)fvWekaAttributes.elementAt(1), text);\n\t\tinstances.add(instance);\n \t\tSystem.out.println(\"===== Instance created with reference dataset =====\");\n\t\tSystem.out.println(instances);\n\t}", "public Person(){\n count++;\n System.out.println(\"Creating an object\");\n }", "@Override\r\n\t\t\tpublic Object construct() {\n\t\t\t\ttextArea_1.setText(\"\\n Now Capturing on Interface \"+index+ \".... \"+\"\\n --------------------------------------------\"+\r\n\t\t\t\t\t\t\"---------------------------------------------\\n\\n \");\r\n\t\t\t\ttry {\r\n\t\t\t\t\tCAP=JpcapCaptor.openDevice(NETWORK_INTERFACES[index], 65535, true, 20);\r\n\t\t\t\t\twhile(captureState)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tCAP.processPacket(1, new PkPirate_packetContents());\r\n\t\t\t\t\t}\r\n\t\t\t\t\tCAP.close();\r\n\t\t\t\t\t\r\n\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\t// TODO: handle exception\r\n\t\t\t\t\tSystem.out.println(e);\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\treturn 0;\r\n\t\t\t}", "public Incident() {\n\t\tsuper();\n\t}", "public ReleaseInstance() { }", "public CardTrackKey(int argTrackId) {\n\ttrackId = argTrackId;\n}", "public Instruction getInstruction(String label) {\n int s1; // Possible operands of the instruction\n int s2;\n String s3;\n int r;\n int x;\n\n if (line.equals(\"\"))\n return null;\n\n //Get the first word as a string\n String ins = scan();\n\n // Generate the instruction classname that corresponds with the label\n String instructionName = ins.substring(0, 1).toUpperCase() + ins.substring(1).toLowerCase() + \"Instruction\" ;\n\n //System.out.println(\"The scanned label is: \" + ins);\n //System.out.println(\"Use instruction class: \" + instructionName);\n\n // Make a list of the remaining words\n List<String> wordList = new ArrayList<>();\n List<Class> paramTypes = new ArrayList<>();\n\n //The first constructor param is always the label string\n wordList.add(label);\n paramTypes.add(String.class);\n\n String nextWord;\n\n /*\n if (!nextWord.equals(\"\")){\n wordList.add(nextWord);\n paramTypes.add(nextWord.getClass());\n }\n */\n\n while (!(nextWord = scan()).equals(\"\")){\n wordList.add(nextWord);\n }\n\n //System.out.println(\"The next word is: \" + instructionName);\n\n Object wordArray [] = wordList.toArray();\n Class<?> paramArray [] = new Class<?> [wordArray.length];\n\n try {\n for (int i = 0; i < wordArray.length; i++){\n String str = wordArray[i].toString();\n\n if (Pattern.matches((\"-?[0-9]+\"), str)){\n paramArray [i] = Integer.TYPE;\n wordArray [i] = Integer.parseInt((String) wordArray[i]);\n } else {\n paramArray [i] = String.class;\n\n }\n }\n\n //System.out.println(\"My word array contains: \" + Arrays.asList(wordArray));\n //System.out.println(\"My parameter array contains: \" + Arrays.asList(paramArray));\n //System.out.println(\"Instruction name is: \" + instructionName);\n\n //Reflect class\n Class reflectionClass = Class.forName(\"sml.\" + instructionName);\n\n //System.out.println(\"My reflection is: \" + reflectionClass);\n\n Constructor con = reflectionClass.getConstructor(paramArray);\n\n // Cast return back to an Instruction\n return ((Instruction)con.newInstance(wordArray));\n\n } catch (ClassNotFoundException e) {\n //e.printStackTrace();\n System.err.println(\"Error\");\n } catch (NoSuchMethodException e) {\n //e.printStackTrace();\n System.err.println(\"Error\");\n } catch (InvocationTargetException e) {\n //e.printStackTrace();\n System.err.println(\"Error\");\n } catch (InstantiationException e) {\n //e.printStackTrace();\n System.err.println(\"Error\");\n } catch (IllegalAccessException e) {\n //e.printStackTrace();\n System.err.println(\"Error\");\n }\n\n/*\n // Commented out switch statement\n\n switch (ins) {\n case \"add\":\n r = scanInt();\n s1 = scanInt();\n s2 = scanInt();\n return new AddInstruction(label, r, s1, s2);\n case \"lin\":\n r = scanInt();\n s1 = scanInt();\n return new LinInstruction(label, r, s1);\n case \"out\":\n r = scanInt();\n return new OutInstruction(label, r);\n case \"sub\":\n r = scanInt();\n s1 = scanInt();\n s2 = scanInt();\n return new SubInstruction(label, r, s1, s2);\n case \"mul\":\n r = scanInt();\n s1 = scanInt();\n s2 = scanInt();\n return new MulInstruction(label, r, s1, s2);\n case \"div\":\n r = scanInt();\n s1 = scanInt();\n s2 = scanInt();\n return new DivInstruction(label, r, s1, s2);\n case \"bnz\":\n r = scanInt();\n s3 = scan();\n return new BnzInstruction(label, r, s3);\n }\n\n // You will have to write code here for the other instructions.\n*/\n\n return null;\n }", "private Symbol(String label)\n {\n this.label = label;\n this.numArgs = 0;\n }", "public CallInfo() {\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "public Instruction(byte c) {\n code = c;\n next = null;\n branches = false;\n calls = false;\n returns = false;\n }", "void setInstId(String instId);", "public ClickCounter() {\n System.out.println(\"Click constructor: \" + count);\n \n }", "public Track(){\n\t\tthis.trk = trackGenerator();\n\n\t}", "public Start() {\n }", "@Override\n\tpublic ModIndexedInstance createNewInstance() {\n\t\tModIndexedInstance newInst = new ModIndexedInstance(); // create the new instance\n\t\tnewInst.setRegComp(this); // set component type of new instance\n\t\taddInstanceOf(newInst); // add instance to list for this comp\n\t\treturn newInst;\n\t}", "public Identity()\n {\n super( Fields.ARGS );\n }", "private static void spawnInstance(){\n\t\tString instanceType = null;\n\t\tString imageId = null; \n\t\tint numInstances = 0;\n\t\t\n\t\tScanner in = new Scanner(System.in);\n\t\t\n\t\tSystem.out.println(\"Name of key to use?\");\n\t\tkeyname = in.next();\n\t\t\n\t\tSystem.out.println(\"Instance type? (use d for default: t2.micro)\");\n\t\tinstanceType = in.next();\n\t\t\n\t\tif(instanceType.equals(\"d\")){\n\t\t\tinstanceType = INSTANCE_TYPE;\n\t\t}\n\t\t\n\t\t\n\t\t\n\t\tSystem.out.println(\"Image id? (use d for default: ami-b5a7ea85, Amazon Linux AMI)\");\n\t\timageId = in.next();\n\t\t\n\t\tif(imageId.equals(\"d\")){\n\t\t\timageId = IMAGE_ID; \n\t\t}\n\t\t\n\t\tSystem.out.println(\"Number of instances?\");\n\t\tnumInstances = in.nextInt();\n\n\t\tin.close();\n\t\n\t\tRunInstancesRequest req = new RunInstancesRequest();\n\t\t\n\t String group = GROUP;\n\t \n\t req.withImageId(imageId)\n\t .withInstanceType(instanceType)\n\t .withMinCount(numInstances)\n\t .withMaxCount(numInstances)\n\t .withKeyName(keyname)\n\t .withSecurityGroups(group);\n\t \n\t RunInstancesResult reqRes = ec2.runInstances(req);\n\t Reservation res = reqRes.getReservation();\n\t System.out.println(\"Reservation number is \" + res.getReservationId());\n\t try {\n \t\tSystem.out.println(\"Just a moment while the instance is spun up...\");\n\t\t\tTimeUnit.SECONDS.sleep(10);\n\t\t} catch (InterruptedException e) {\n\t\t\tSystem.out.println(\"Instantiation failed!\");\n\t\t}\n \t\tString ip = listLiveInstances();\n \t\tSystem.out.println(\"\");\n \t\tSystem.out.println(\"Connect with 'ssh -i \" + keyname + \".pem ec2-user@\" + ip +\"'\");\n \t\tSystem.out.println(\"If connection fails, run with -l option and check status.\");\n \t\tSystem.exit(0);\n\t}", "public Codegen() {\n assembler = new LinkedList<LlvmInstruction>();\n symTab = new SymTab();\n }", "@Override\n\tpublic void initializeState(){\n\t\tSystem.out.println(\"Entered instructionState\");\n\t}", "public DynamicShipClass() {\n\t\tthis.ts = new Long(ts);\n\t}", "public Constructor(){\n\t\t\n\t}", "public TrackStat() {\r\n }", "LWJGLProgramHandler()\r\n {\r\n //instance = this;\r\n }", "public Calculator() {\r\n\t\t/*\r\n\t\t * Constructor - Method name which has the same class name is called a Consatructor\r\n\t\t */\r\n\t\tSystem.out.println(\"Calling constructor\");\r\n\t}", "public Instance(Instance inst){\r\n\t\tthis.isTrain = inst.isTrain;\r\n\t\tthis.numInputAttributes = inst.numInputAttributes;\r\n\t\tthis.numOutputAttributes = inst.numOutputAttributes;\r\n\t\tthis.numUndefinedAttributes = inst.numUndefinedAttributes;\r\n\r\n\t\tthis.anyMissingValue = Arrays.copyOf(inst.anyMissingValue, inst.anyMissingValue.length);\r\n\r\n\t\tthis.nominalValues = new String[inst.nominalValues.length][];\r\n\t\tfor(int i=0;i<nominalValues.length;i++){\r\n\t\t\tthis.nominalValues[i] = Arrays.copyOf(inst.nominalValues[i],inst.nominalValues[i].length);\r\n\t\t}\r\n\r\n\t\tthis.intNominalValues = new int[inst.intNominalValues.length][];\r\n\t\tfor(int i=0;i<nominalValues.length;i++){\r\n\t\t\tthis.intNominalValues[i] = Arrays.copyOf(inst.intNominalValues[i],inst.intNominalValues[i].length);\r\n\t\t}\r\n\r\n\t\tthis.realValues = new double[inst.realValues.length][];\r\n\t\tfor(int i=0;i<realValues.length;i++){\r\n\t\t\tthis.realValues[i] = Arrays.copyOf(inst.realValues[i],inst.realValues[i].length);\r\n\t\t}\r\n\r\n\t\tthis.missingValues = new boolean[inst.missingValues.length][];\r\n\t\tfor(int i=0;i<missingValues.length;i++){\r\n\t\t\tthis.missingValues[i] = Arrays.copyOf(inst.missingValues[i],inst.missingValues[i].length);\r\n\t\t}\r\n\t}", "public Card() { this(12, 3); }", "protected Entity() {\n UID = GEN_COUNT;\n GEN_COUNT++;\n }", "public State(String fromString)\n {\n// Metrics.increment(\"State count\");\n //...\n }", "Instruction asInstruction();", "public Method(String name, String desc) {\n/* 82 */ this.name = name;\n/* 83 */ this.desc = desc;\n/* */ }", "private IndexBitmapObject() {\n\t}", "public void setInstType(Integer instType) {\n this.instType = instType;\n }", "public Assembler() {\r\n // Instantiate internals\r\n instructionMap = new HashMap<String, Method>();\r\n instructionSpec = new HashMap<String, Processor>();\r\n codeSectionList = new LinkedList<Section>();\r\n // Regular expressions\r\n patternInstruction = Pattern.compile(\"\\\\s*(?:(\\\\w+):)?\\\\s*(?:(\\\\w+)(?:\\\\s+(.*))?)?\");\r\n patternSection = Pattern.compile(\"\\\\s*SECTION\\\\s+(\\\\.\\\\w+)\\\\s*\", Pattern.CASE_INSENSITIVE);\r\n patternOpBoolean = Pattern.compile(\"\\\\$true|\\\\$false\", Pattern.CASE_INSENSITIVE);\r\n patternOpString = Pattern.compile(\"\\\"[^\\\"]*\\\"\");\r\n patternOpLabel = Pattern.compile(\"[a-zA-Z_]\\\\w*\");\r\n // Instantiate the code emitter\r\n codeEmitter = new AssemblerIREmitter();\r\n // Populate instruction processors\r\n populateProcessors();\r\n }", "public MyMemory(int size){\n super(size);\n printSize();\n loadMemory(); //loads memory with instructions to be executed during the instruction cycle\n }", "private GetMyInfo()\r\n/* 13: */ {\r\n/* 14:13 */ super(new APITag[] { APITag.INFO }, new String[0]);\r\n/* 15: */ }", "public Vbc(java.lang.Object instance) throws Throwable {\n super(instance);\n if (instance instanceof JCObject) {\n classInstance = (JCObject) instance;\n } else\n throw new Exception(\"Cannot manage object, it is not a JCObject\");\n }", "public TrackCircuit()\n {\n \tfailureMode = 0; //set to Normal Operation\n trackOccupancy = false;\n }", "public Instance(YangString nameValue) throws JNCException {\n super(Routing.NAMESPACE, \"instance\");\n Leaf name = new Leaf(Routing.NAMESPACE, \"name\");\n name.setValue(nameValue);\n insertChild(name, childrenNames());\n }", "public static void main(String[] args) {\n\t\t\n\t\tInstanceVariablesDemo obj=new InstanceVariablesDemo();\n\t\tSystem.out.println(obj.number);\n\t\t\n\n\t}", "public LiveRef(ObjID paramObjID, int paramInt) {\n/* 93 */ this(paramObjID, TCPEndpoint.getLocalEndpoint(paramInt), true);\n/* */ }", "public MyInteger( )\n {\n this( 0 );\n }", "public Self__1() {\n }", "public VMProcess() \n\t{\n\t\tsuper();\n\t}", "public Instance(String nameValue) throws JNCException {\n super(Routing.NAMESPACE, \"instance\");\n Leaf name = new Leaf(Routing.NAMESPACE, \"name\");\n name.setValue(new YangString(nameValue));\n insertChild(name, childrenNames());\n }", "private static int nextInstanceID()\n {\n return baseID.incrementAndGet();\n }", "public Vehicle(){\n System.out.println(\"Parking a unknown model Vehicle\");\n numberOfVehicle++;\n }", "public InstanceOverflowException() {\n\t\tsuper();\n\t}", "public IndividualHolder (GAIndividual i) {\n individual = i;\n }", "private Human() {\n\t\tSystem.out.println(\"Human no args constructor called\");\n\t\thumanCounter++;\n\t}", "public Taginstance(String alias) {\n\t\tthis(alias, TAGINSTANCE);\n\t}", "public PIInfo() {\n }", "public static InfoCommand getInstance(){\n\t return instance;\n\t}", "public void createInstance(String className, String instanceName)\r\n\t{\r\n\t\t\r\n\t\tOntClass c = obtainOntClass(className);\r\n\t\t\r\n\t\tString longName;\r\n\t\tif(instanceName.contains(\"#\"))\r\n\t\t\tlongName = instanceName;\r\n\t\tif(instanceName.contains(\":\"))\r\n\t\t\tlongName= ONT_MODEL.expandPrefix(instanceName);\r\n\t\telse\r\n\t\t\tlongName = BASE_NS + instanceName;\r\n\t\t\r\n\t\tc.createIndividual(longName);\r\n\t}", "protected IPCGCallDetailCreator()\r\n {\r\n // empty\r\n }", "public LaunchInstruction(String agentName) {\n\t\tthis.agentName = agentName;\n\t}", "public Instruction(IMnemonic mnemonic, String operandOffset) {\n this.mnemonic = mnemonic;\n this.operandOffset = operandOffset;\n }", "public Tile(int number) {\n this.number = number;\n }", "Vehicle() \n {\n System.out.println(\"Constructor of the Super class called\");\n noOfTyres = 5;\n accessories = true;\n brand = \"X\";\n counter++;\n }", "public OpDesc() {\n\n }" ]
[ "0.66067994", "0.63238096", "0.61963606", "0.6129345", "0.603348", "0.6019667", "0.59329814", "0.58172446", "0.573974", "0.5704302", "0.56475246", "0.5644165", "0.5636056", "0.56138504", "0.56138504", "0.56138504", "0.5607225", "0.55920583", "0.55873746", "0.5583796", "0.55606365", "0.5548183", "0.5545776", "0.55182797", "0.5516415", "0.5502343", "0.54858994", "0.5484351", "0.5480391", "0.5480015", "0.5466475", "0.5465955", "0.5463707", "0.54377073", "0.5434616", "0.54219985", "0.5416073", "0.5412761", "0.5408972", "0.5408586", "0.5382941", "0.53823084", "0.5381994", "0.53792727", "0.5379259", "0.5363287", "0.53604925", "0.535617", "0.5343543", "0.5337465", "0.53318495", "0.5328617", "0.5327149", "0.5322959", "0.53182", "0.53081274", "0.5307036", "0.53066736", "0.5305632", "0.5290142", "0.52875084", "0.52829283", "0.5272474", "0.5251621", "0.5251024", "0.5246587", "0.5241087", "0.522637", "0.52257496", "0.5220898", "0.5218516", "0.5204224", "0.520409", "0.51928", "0.5192405", "0.5188947", "0.5188096", "0.5186089", "0.51846933", "0.5177102", "0.51697856", "0.51665956", "0.51663744", "0.5161188", "0.5157109", "0.51525706", "0.5140903", "0.51404804", "0.5137618", "0.5130485", "0.51270324", "0.5124466", "0.5124424", "0.5124303", "0.51236343", "0.5123448", "0.51231176", "0.5122606", "0.51170385", "0.511488", "0.5113546" ]
0.0
-1
Default constructor; does nothing.
private USI_ADRC() {}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@SuppressWarnings(\"unused\")\n public NoConstructor() {\n // Empty\n }", "void DefaultConstructor(){}", "defaultConstructor(){}", "private Default()\n {}", "Constructor() {\r\n\t\t \r\n\t }", "private Instantiation(){}", "ConstructorPractice () {\n\t\tSystem.out.println(\"Default Constructor\");\n\t}", "public Generic(){\n\t\tthis(null);\n\t}", "public Basic() {}", "public Constructor(){\n\t\t\n\t}", "public Parser()\n {\n //nothing to do\n }", "public None()\n {\n \n }", "O() { super(null); }", "public GTFTranslator()\r\n {\r\n // do nothing - no variables to instantiate\r\n }", "public AllDifferent()\n {\n this(0);\n }", "public Method() {\n }", "private Node() {\n\n }", "public SgaexpedbultoImpl()\n {\n }", "public Node() {\n\t}", "public Node() {\n }", "private SingleObject()\r\n {\r\n }", "public Node() {\r\n\t}", "public Node() {\r\n\t}", "public CSSTidier() {\n\t}", "@SuppressWarnings(\"unused\")\n public Item() {\n }", "public BasicLineParser() {\n/* 99 */ this(null);\n/* */ }", "private SimpleRepository() {\n \t\t// private ct to disallow external object creation\n \t}", "public Orbiter() {\n }", "public lo() {}", "public Chick() {\n\t}", "@SuppressWarnings(\"unused\")\r\n\tprivate Person() {\r\n\t}", "public no() {}", "private Rekenhulp()\n\t{\n\t}", "private SingleObject(){}", "public CyanSus() {\n\n }", "public Pitonyak_09_02() {\r\n }", "private Sequence() {\n this(\"<Sequence>\", null, null);\n }", "public SpeakerSerivceImpl() {\n\t\tSystem.out.println(\"No args in constructor\");\n\t}", "protected AST_Node() {\r\n\t}", "public Ruby() {}", "public Curso() {\r\n }", "public Data() {}", "protected SAXParser() {\n // Does nothing.\n }", "public Soil()\n\t{\n\n\t}", "public PSRelation()\n {\n }", "public SimOI() {\n super();\n }", "public D() {}", "public Parser()\n{\n //nothing to do\n}", "public TennisCoach () {\n\t\tSystem.out.println(\">> inside default constructor.\");\n\t}", "public God() {}", "public Counter()\n {\n this(0);\n }", "public Car() {\r\n this(\"\", \"\", \"\", 0, Category.EMPTY, 0.00, \"\", 0, \"\", 0.00, \"\", DriveTrain.EMPTY,\r\n Aspiration.EMPTY, 0.00, 0.00, 0.00, 0.00, 0.0, 0.0, 0.0, 0.0, 0.0);\r\n }", "public Node(){}", "private ExampleVersion() {\n throw new UnsupportedOperationException(\"Illegal constructor call.\");\n }", "public Person() {\n\t\t\n\t}", "public Implementor(){}", "public Clade() {}", "protected GraphNode() {\n }", "protected GraphNode() {\n }", "public Stat()\n {\n // empty constructor\n }", "private Example() {\n\t\tthrow new Error(\"no instantiation is permitted\");\n\t}", "public Node() {}", "public Node() {}", "public Node() {}", "public Node() {}", "public Anschrift() {\r\n }", "public Person()\n {\n //intentionally left empty\n }", "protected SimpleMatrix() {}", "public Vector() {\n construct();\n }", "public Mouse() {\n\t\tthis(null);\n\t}", "public Node()\r\n {\r\n initialize(null);\r\n lbl = id;\r\n }", "public Aanbieder() {\r\n\t\t}", "public Demo() {\n\t\t\n\t}", "private WebXmlIo()\n {\n // Voluntarily empty constructor as utility classes should not have a public or default\n // constructor\n }", "public Lanceur() {\n\t}", "public Overview() {\n\t\t// It will work whenever i create object with using no parameter const\n\t\tSystem.out.println(\"This is constructor\");\n\t}", "public Member() {}", "private TMCourse() {\n\t}", "public Mitarbeit() {\r\n }", "public Pasien() {\r\n }", "public Model() {\n\t}", "public Model() {\n\t}", "public TeeWriter() {\r\n ; // nothing to do\r\n }", "private UI()\n {\n this(null, null);\n }", "public Connection() {\n\t\t\n\t}", "public Machine() {\n\t\tsuper();\n\t}", "@SuppressWarnings(\"unused\")\r\n private Rental() {\r\n }", "public DefaultNashRequestImpl() {\n\t\t\n\t}", "public PjxParser()\r\n {\r\n LOG.info(this + \" instantiated\");\r\n }", "private Converter()\n\t{\n\t\tsuper();\n\t}", "public Person() {}", "public Cache() {\n this(null);\n }", "public MyInteger( )\n {\n this( 0 );\n }", "private Ognl() {\n }", "private XMLUtils()\r\n\t{\r\n\t}", "public Pleasure() {\r\n\t\t}", "public Instance() {\n }", "private LanguageInterpreterRegistry() {\r\n\t\t// hides default constructor.\r\n\t}", "private Util()\n {\n // Empty default ctor, defined to override access scope.\n }", "public NameParser()\n {\n this(null);\n }", "@Test\n public void constructorDefault() {\n final CourseType courseType = new CourseType();\n\n assertNull(courseType.getId());\n assertNull(courseType.getName());\n assertNull(courseType.getPicture());\n assertNull(courseType.getPosition());\n assertNull(courseType.getStatus());\n assertNull(courseType.getCourses());\n assertNull(courseType.getAllowedDishes());\n }" ]
[ "0.8228421", "0.78405815", "0.78091526", "0.76478904", "0.73765695", "0.7319655", "0.7294747", "0.729128", "0.7256915", "0.7252719", "0.7107432", "0.70759386", "0.70756143", "0.70189667", "0.6995993", "0.69906056", "0.69902295", "0.69599766", "0.6946805", "0.6942554", "0.6940922", "0.6940289", "0.6940289", "0.69366676", "0.6936282", "0.69265765", "0.69265276", "0.69213176", "0.6919643", "0.6888508", "0.6877867", "0.6865707", "0.6863296", "0.6858012", "0.68490726", "0.6848634", "0.68483037", "0.68398327", "0.6836516", "0.6836499", "0.68197167", "0.6812379", "0.6807815", "0.6805512", "0.679604", "0.67947507", "0.67830443", "0.67743784", "0.6770373", "0.6767225", "0.6764716", "0.6758248", "0.67582035", "0.67571586", "0.674003", "0.6734426", "0.6733473", "0.673275", "0.673275", "0.6728129", "0.67279106", "0.67225224", "0.67225224", "0.67225224", "0.67225224", "0.67218673", "0.6716925", "0.67165166", "0.67078614", "0.670686", "0.6699989", "0.66996247", "0.6697645", "0.6696078", "0.6694439", "0.6693134", "0.6688989", "0.6687477", "0.6687461", "0.66854376", "0.66843814", "0.66843814", "0.6679137", "0.6678044", "0.6677851", "0.6673512", "0.6671923", "0.6668616", "0.6667605", "0.6663847", "0.6663337", "0.66602904", "0.66602474", "0.6659928", "0.6656571", "0.6655842", "0.665565", "0.66530097", "0.66490394", "0.6639428", "0.6635145" ]
0.0
-1
Returns the lower bound of data.
public abstract double[] getLowerBound();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getLowerBound() {\r\n return lowerBound;\r\n }", "public String getLower() {\n return lowerBound;\n }", "public int getLowerBound ();", "public float getLimit_lin_x_lower() throws IOException\n\t{\n\t\tif ((__io__pointersize == 8)) {\n\t\t\treturn __io__block.readFloat(__io__address + 32);\n\t\t} else {\n\t\t\treturn __io__block.readFloat(__io__address + 24);\n\t\t}\n\t}", "public long getLowerTBound() {\n\t\treturn this.lowerTBound;\n\t}", "public V getLowerBound();", "@Override\r\n public Integer minLowerBound() {\r\n return this.getImpl().minLowerBound();\r\n }", "@Override\n\tprotected double getLowerBound() {\n\t\treturn 0;\n\t}", "public int getLowerBound ()\n\t{\n\t\treturn getRelationshipImpl().getLowerBound();\n\t}", "public Point getLowerPoint() {\n return lower;\n }", "public static int lowerBound(int[] arr, int data) {\n int ans = -1, low = 0, high = arr.length - 1;\n while (low <= high) {\n int mid = (low + high) / 2;\n if (arr[mid] == data) {\n ans = mid;\n high = mid - 1;\n } else if (data < arr[mid]) {\n high = mid - 1;\n } else {\n low = mid + 1;\n }\n }\n return ans;\n }", "public int lowerBoundary(){\r\n\t\treturn this.ypoints[0];\r\n\t}", "public Point getXLower()\n {\n return (Point)xLow.clone();\n }", "public double lower()\n\t{\n\t\treturn _dblLower;\n\t}", "public double lowerExtent(int coord) throws IllegalArgumentException { \n double le = measurements[coord].value();\n if ( ! Double.isNaN( measurements[coord].errorMinus() ) )\n le -= measurements[coord].errorMinus();\n\treturn le;\n }", "public float getLimit_lin_y_lower() throws IOException\n\t{\n\t\tif ((__io__pointersize == 8)) {\n\t\t\treturn __io__block.readFloat(__io__address + 40);\n\t\t} else {\n\t\t\treturn __io__block.readFloat(__io__address + 32);\n\t\t}\n\t}", "public double getMinRange() {\n return minRange;\n }", "public double getXRangeMin() {\n return xRangeMin;\n }", "protected abstract D getLower(R range);", "public double getLeft(double min) {\n return min - this.size; \n }", "double getLowerThreshold();", "public int getLowerThreshold() {\n return lowerThreshold;\n }", "public float getLimit_lin_z_lower() throws IOException\n\t{\n\t\tif ((__io__pointersize == 8)) {\n\t\t\treturn __io__block.readFloat(__io__address + 48);\n\t\t} else {\n\t\t\treturn __io__block.readFloat(__io__address + 40);\n\t\t}\n\t}", "public float getLimit_ang_x_lower() throws IOException\n\t{\n\t\tif ((__io__pointersize == 8)) {\n\t\t\treturn __io__block.readFloat(__io__address + 56);\n\t\t} else {\n\t\t\treturn __io__block.readFloat(__io__address + 48);\n\t\t}\n\t}", "public int getMinRange() {\r\n return fMinRange;\r\n }", "public Coords getLowerLeft()\r\n {\r\n return new Coords(x, y + height);\r\n }", "@Basic\n\t@Raw\n\t@Immutable\n\tpublic static double getVelocityLowerBound() {\n\t\treturn VELOCITYLOWERBOUND;\n\t}", "public double getLowerValue() {\n return this.lowerMeasure.getValue();\n }", "public int getMinimumValue() {\n/* 276 */ return -this.s.getMaximumValue();\n/* */ }", "public int getLowerThreshold() {\r\n\t\tint lowerThreshold;\r\n\t\tlowerThreshold=this.lowerThreshold;\r\n\t\treturn lowerThreshold;\r\n\t}", "public double getMinValue() {\n double min = Double.POSITIVE_INFINITY;\n for (int i = 0; i < rows; i++) {\n for (int j = 0; j < cols; j++) {\n if (data[i][j] < min)\n min = data[i][j];\n }\n }\n return min;\n }", "private int getLowerBound(Object problem, int upperbound)\n {\n Graph tsp = (Graph)problem;\n if (weight == null)\n weight = new double[tsp.size()];\n hki = new HeldKarpIterative( tsp, included, includedT, excluded, excludedT, iterations, weight, upperbound);\n hki.compute();\n tour = hki.isTour();\n bound = hki.getBound();\n hasRun = true;\n// System.out.println(hki.debugDump());\n return bound;\n }", "public void setLowerBound (int lowerBound) throws ModelException;", "public double min(){\r\n\t\t//variable for min val\r\n\t\tdouble min = this.data[0];\r\n\t\t\r\n\t\tfor (int i = 1; i < this.data.length; i++){\r\n\t\t\t//if the minimum is more than the current index, change min to that value\r\n\t\t\tif (min > this.data[i]){\r\n\t\t\t\tmin = this.data[i];\r\n\t\t\t}\r\n\t\t}\r\n\t\t//return the minimum val\r\n\t\treturn min;\r\n\t}", "public void setLowerBound(final int lowerBound) {\r\n this.lowerBound = lowerBound;\r\n }", "public static int getMin(ArrayList<QuoteShort> data, int begin, int end) {\n\t\tint min = 999999999;\r\n\t\tint minIndex = -1;\r\n\t\tif (begin<=0) begin = 0;\r\n\t\tfor (int i=begin;i<=end;i++){\r\n\t\t\tif (data.get(i).getHigh5()<=min){\r\n\t\t\t\tmin = data.get(i).getLow5();\r\n\t\t\t\tminIndex = i;\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\treturn minIndex;\r\n\t}", "@Override\n public T minimum() {\n return this.data;\n }", "private Point getLower() {\n int lowerX;\n int lowerY;\n lowerY = (int) (-gameCanvas.getHeight() + mapOffsetY * 2);\n lowerX = (int) (-gameCanvas.getWidth() + mapOffsetX * 2);\n return new Point(lowerX, lowerY);\n }", "public static int lower_bound(long[] a, long key)\n\t{\n\t\tint low = 0, high = a.length - 1;\n\t\tint mid;\n\t\twhile (low < high)\n\t\t{\n\t\t\tmid = low + (high - low)/2;\n\t\t\tif (a[mid] >= key)\n\t\t\t\thigh = mid;\n\t\t\telse\n\t\t\t\tlow = mid - 1;\n\t\t}\n\t\treturn low;\n\t}", "public void setLowerBound(String lower) {\n lowerBound = lower;\n }", "public Point getMin () {\r\n\r\n\treturn getA();\r\n }", "@Basic\n\t@Immutable\n\tpublic abstract double getRadiusLowerBound();", "public float getLimit_ang_y_lower() throws IOException\n\t{\n\t\tif ((__io__pointersize == 8)) {\n\t\t\treturn __io__block.readFloat(__io__address + 64);\n\t\t} else {\n\t\t\treturn __io__block.readFloat(__io__address + 56);\n\t\t}\n\t}", "public int findMin() {\n\t\tint min = (int)data.get(0);\n\t\tfor (int count = 1; count < data.size(); count++)\n\t\t\tif ((int)data.get(count) < min)\n\t\t\t\tmin = (int)data.get(count);\n\t\treturn min;\n\t}", "public Location3D getLowLoc() {\n\t\treturn lowPoint;\n\t}", "public double getLow() {\n return low;\n }", "public double obterXmin() {\n\t\treturn xmin;\n\t}", "public double getLeft(double min) {\n return Math.max(min, Math.max(Math.max(this.left.getLeft(min), this.right.getLeft(min)),\n Math.max(this.right.getLeft(min), this.right.getLeft(min))));\n }", "public int getBound();", "private double getMinThreshold() {\n return minThreshold;\n }", "public double getLowThreshold(){\n return lowThreshold;\n }", "int getXMin();", "public float getLowerLeftX()\n {\n return ((COSNumber)rectArray.get(0)).floatValue();\n }", "public int lowerBound(final List<Integer> a, int target){\n int l = 0, h = a.size()-1;\n while(h - l > 3){\n int mid = (l+h)/2;\n if(a.get(mid) == target)\n h = mid;\n else if(a.get(mid) < target){\n l = mid + 1;\n }\n else if(a.get(mid) > target){\n h = mid - 1;\n }\n }\n for(int i=l; i<=h; ++i){\n if(a.get(i) == target)\n return i;\n }\n return -1;\n }", "public double getMinimumValue() { return this.minimumValue; }", "public double getLow() {return low;}", "double getLeft(double min);", "public InfinitNumber getBound() {\n\t\treturn mBound;\n\t}", "double getMin();", "double getMin();", "Double getMinimumValue();", "@Override\n\tprotected void setLowerBound() {\n\t\t\n\t}", "public float getMinX(){\n return points.get(0).getX();\n }", "public void setLimit_lin_x_lower(float limit_lin_x_lower) throws IOException\n\t{\n\t\tif ((__io__pointersize == 8)) {\n\t\t\t__io__block.writeFloat(__io__address + 32, limit_lin_x_lower);\n\t\t} else {\n\t\t\t__io__block.writeFloat(__io__address + 24, limit_lin_x_lower);\n\t\t}\n\t}", "public Double getMinimumValue () {\r\n\t\treturn (minValue);\r\n\t}", "public double getMinimumX () {\n return minimumX;\n }", "public double getMinDoubleValue();", "public double getMinX() {\n\treturn minX;\n }", "public java.math.BigDecimal getLow() {\n return low;\n }", "public String getLowerLimit() {\n return lowerLimit;\n }", "public float min(Collection<Float> data){\r\n return Collections.min(data);\r\n }", "public int getxMin() {\n\t\treturn xMin;\n\t}", "private Integer minimumData(Node root) {\n Integer min = root.getData();\n while (root.getLeftChild() != null) {\n min = root.getLeftChild().getData();\n root = root.getLeftChild();\n }\n return min;\n }", "public Point getXMin()\n {\n return (Point)xMin.clone();\n }", "public int getMin() {\n\t\treturn getMin(0.0f);\n\t}", "public double minValue() {\n return 0;\r\n }", "public float getLowerLeftY()\n {\n return ((COSNumber)rectArray.get(1)).floatValue();\n }", "public float getLimit_ang_z_lower() throws IOException\n\t{\n\t\tif ((__io__pointersize == 8)) {\n\t\t\treturn __io__block.readFloat(__io__address + 72);\n\t\t} else {\n\t\t\treturn __io__block.readFloat(__io__address + 64);\n\t\t}\n\t}", "public double[] getLowerRight() {\n this.lowerRight = new double[]{minX, minY};\n return lowerRight;\n }", "public synchronized int getLowerSizeLimit() {\n \t\treturn lower;\n \t}", "public int getMinimumValue() {\n return -s.getMaximumValue();\n }", "public double min() {\n/* 305 */ Preconditions.checkState((this.count != 0L));\n/* 306 */ return this.min;\n/* */ }", "public double getMinimumDouble() {\n/* 201 */ return this.min;\n/* */ }", "TrackingToken lowerBound();", "public double getMinValue() {\n\t\tdouble min = Double.POSITIVE_INFINITY;\n\t\tfor (int i = 0; i < dataSheet.getDesignCount(); i++) {\n\t\t\tdouble value = dataSheet.getDesign(i).getDoubleValue(this);\n\t\t\tif (value < min)\n\t\t\t\tmin = value;\n\t\t}\n\t\treturn min;\n\t}", "double getMin() {\n\t\t\treturn value_min;\n\t\t}", "public double confidenceLo() {\n double lowBound = \n sampleMean - 1.96 * sampleStanDevi / Math.sqrt(times);\n return lowBound;\n }", "public double getMinValue() {\r\n\t\treturn minValue;\r\n\t}", "private double getMin() {\n return min;\n }", "public double getLethalRange()\n {\n return this.lethal_range;\n }", "public abstract int getMinimumValue();", "public Measure<?, ?> getLowerMeasure() {\n return this.lowerMeasure;\n }", "public final int getLow() {\n\treturn(this.low);\n }", "Coordinate getMinX();", "public int getLow() {\n\t\t\treturn low;\n\t\t}", "public Long getMinValue() {\n return minValue;\n }", "public int getMin() {\n\t\t\treturn harr[0];\n\t\t}", "public Integer getMin() { \n\t\treturn getMinElement().getValue();\n\t}", "public void setLowerPoint(Point lower) {\n this.lower = lower;\n }", "public int getLow() {\n\t\treturn low;\n\t}" ]
[ "0.79914546", "0.73704106", "0.72783595", "0.72484696", "0.724199", "0.7235916", "0.7164531", "0.7089576", "0.70561755", "0.7016823", "0.69977546", "0.6852932", "0.6848016", "0.67816114", "0.6748891", "0.6744286", "0.6728228", "0.6713928", "0.6686747", "0.6684574", "0.6664732", "0.66331095", "0.6622557", "0.65906274", "0.6582678", "0.65499824", "0.65347123", "0.6506487", "0.6496503", "0.6492352", "0.6488687", "0.6451669", "0.64482975", "0.6431805", "0.64034253", "0.6391326", "0.63868713", "0.6383817", "0.63824266", "0.6353826", "0.63345575", "0.62952673", "0.6281804", "0.62602955", "0.6251069", "0.62440735", "0.6237931", "0.6227248", "0.6219399", "0.62183416", "0.61945057", "0.61865705", "0.61847246", "0.6169652", "0.6152077", "0.6146138", "0.6143847", "0.6142415", "0.6137849", "0.6137849", "0.6127414", "0.6119432", "0.6116835", "0.61056304", "0.61019313", "0.6098991", "0.6064079", "0.6059513", "0.60594904", "0.60559845", "0.6049851", "0.6047518", "0.60423934", "0.60335654", "0.6033534", "0.6025381", "0.60235375", "0.60071325", "0.5996041", "0.598684", "0.5978405", "0.5977383", "0.5976721", "0.5970221", "0.5962594", "0.5961749", "0.5950112", "0.59478194", "0.59328586", "0.5919689", "0.59144145", "0.591327", "0.59121245", "0.59075063", "0.59053147", "0.59049904", "0.5901699", "0.587491", "0.586671", "0.58640045" ]
0.7074913
8
Returns the upper bound of data.
public abstract double[] getUpperBound();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getUpperBound() {\r\n return upperBound;\r\n }", "public int getUpperBound() {\n\t\treturn upperBound;\n\t}", "public int getUpperBound() {\n\t\treturn this.upperBound;\n\t}", "public int upperBound() {\n\t\tif(step > 0)\n\t\t\treturn last;\n\t\telse\n\t\t\treturn first;\n\t}", "public long getUpperTbound() {\n\t\treturn this.upperTBound;\n\t}", "public String getUpper() {\n return upperBound;\n }", "public V getUpperBound();", "public float getUpperBound()\n {\n return fUpperBound;\n }", "@Override\n\tprotected double getUpperBound() {\n\t\treturn 0;\n\t}", "public int getUpperValue() {\n return getValue() + getExtent();\n }", "public int upperBoundary(){\r\n\t\treturn yStart - Constants.FLOOR_HEIGHT;\r\n\t}", "public int getBound();", "public static int upperBound(int[] arr, int data) {\n int ans = -1, low = 0, high = arr.length - 1;\n while (low <= high) {\n int mid = (low + high)/2;\n if (arr[mid] == data) {\n ans = mid;\n low = mid + 1;\n } else if ( data < arr[mid] ) {\n high = mid - 1;\n } else {\n low = mid + 1;\n }\n }\n return ans;\n }", "public synchronized int getUpperSizeLimit() {\n \t\treturn upper;\n \t}", "public int getUpperThreshold() {\r\n\t\tint upperThreshold;\r\n\t\tupperThreshold=this.upperThreshold;\r\n\t\treturn upperThreshold;\r\n\t}", "public float getLimit_lin_y_upper() throws IOException\n\t{\n\t\tif ((__io__pointersize == 8)) {\n\t\t\treturn __io__block.readFloat(__io__address + 44);\n\t\t} else {\n\t\t\treturn __io__block.readFloat(__io__address + 36);\n\t\t}\n\t}", "double getUpperThreshold();", "public Point getUpperPoint() {\n return upper;\n }", "public int getMaxRangeEnd() {\n return maximumViewableRange.getTo();\n }", "public float getLimit_lin_x_upper() throws IOException\n\t{\n\t\tif ((__io__pointersize == 8)) {\n\t\t\treturn __io__block.readFloat(__io__address + 36);\n\t\t} else {\n\t\t\treturn __io__block.readFloat(__io__address + 28);\n\t\t}\n\t}", "@Basic\n\t@Raw\n\t@Immutable\n\tpublic static double getVelocityUpperBound() {\n\t\treturn VELOCITYUPPERBOUND;\n\t}", "private long getAbsMax() {\n return Math.max(Math.abs(Visualizer.getLowerBound().get()),\n Visualizer.getUpperBound().get());\n }", "public InfinitNumber getBound() {\n\t\treturn mBound;\n\t}", "public void setUpperBound(String upper) {\n upperBound = upper;\n }", "private static int upperBound(int[] A, int target) {\n int max = A.length;\n int min = -1;\n while (max - min > 1) {\n int mid = ( max + min ) / 2;\n if(A[mid] <= target) {\n min = mid;\n } else {\n max = mid;\n }\n }\n\n return max;\n\n }", "public void setUpperBound(final int upperBound) {\r\n this.upperBound = upperBound;\r\n }", "public float getLimit_ang_y_upper() throws IOException\n\t{\n\t\tif ((__io__pointersize == 8)) {\n\t\t\treturn __io__block.readFloat(__io__address + 68);\n\t\t} else {\n\t\t\treturn __io__block.readFloat(__io__address + 60);\n\t\t}\n\t}", "public int getLowerBound() {\r\n return lowerBound;\r\n }", "public String getUpperLimit() {\n return upperLimit;\n }", "public int lowerBoundary(){\r\n\t\treturn this.ypoints[0];\r\n\t}", "public double getUpperValue() {\n return this.upperMeasure.getValue();\n }", "public float getLimit_lin_z_upper() throws IOException\n\t{\n\t\tif ((__io__pointersize == 8)) {\n\t\t\treturn __io__block.readFloat(__io__address + 52);\n\t\t} else {\n\t\t\treturn __io__block.readFloat(__io__address + 44);\n\t\t}\n\t}", "public int getEndRange() {\r\n\t\treturn lookupValue(Params.END_RANGE);\r\n\t}", "protected abstract D getUpper(R range);", "public double upperExtent(int coord) throws IllegalArgumentException { \n double ue = measurements[coord].value();\n if ( ! Double.isNaN( measurements[coord].errorPlus() ) )\n ue += measurements[coord].errorPlus();\n\treturn ue;\n }", "public double getMaxRange() {\n return maxRange;\n }", "TrackingToken upperBound();", "public int getRangeEnd() {\n return currentViewableRange.getTo();\n }", "public float getLimit_ang_x_upper() throws IOException\n\t{\n\t\tif ((__io__pointersize == 8)) {\n\t\t\treturn __io__block.readFloat(__io__address + 60);\n\t\t} else {\n\t\t\treturn __io__block.readFloat(__io__address + 52);\n\t\t}\n\t}", "@Override\n\tprotected void setUpperBound() {\n\t\t\n\t}", "public static int getEndIndexForRange(DataSet aDataSet, double aMin, double aMax)\n {\n int pointCount = aDataSet.getPointCount();\n int end = pointCount - 1;\n while (end>0 && !isArrayValueAtIndexInsideOrInsideAdjacent(aDataSet, end, pointCount, aMin, aMax))\n end--;\n return end;\n }", "public double[] getUpperLeft() {\n this.upperLeft = new double[]{minX, maxY};\n return upperLeft;\n }", "public float getLimit_ang_z_upper() throws IOException\n\t{\n\t\tif ((__io__pointersize == 8)) {\n\t\t\treturn __io__block.readFloat(__io__address + 76);\n\t\t} else {\n\t\t\treturn __io__block.readFloat(__io__address + 68);\n\t\t}\n\t}", "public UpperBoundTypeElements getUpperBoundTypeAccess() {\n\t\treturn pUpperBoundType;\n\t}", "public int getRangeHeight();", "public int getMaxRange() {\n\t\treturn max_range;\n\t}", "public Rectangle getBoundsBigger() {\n return new Rectangle(x-32,y-32,128,128);\n }", "public double getRange(){\r\n\t\t uSensor.ping();\r\n\t\t return uSensor.getRangeInches();\r\n\t\t}", "public Range findRangeBounds(CategoryDataset dataset) { return findRangeBounds(dataset, true); }", "public double getBoundingBoxBottom() {\n return boundingBoxBottom;\n }", "public Rectangle get_bounds() {\n return new Rectangle(x,y, width-3, height-3);\n }", "@Override\n public final int getEndIndex() {\n return upper;\n }", "public double getBoundingBoxTop() {\n return boundingBoxTop;\n }", "public Point getMax () {\r\n\r\n\treturn getB();\r\n }", "public boolean isUpperLimit() {\n if (m_upperLimit != null) {\n return m_upperLimit.get();\n } else {\n return false;\n }\n }", "public double upper()\n\t{\n\t\treturn _dblUpper;\n\t}", "public float getHeight()\n {\n return getBounds().height();\n }", "@Override\r\n\tpublic Rectangle getBound() {\n\t\treturn new Rectangle((int)x, (int)y, (int)width, (int)height);\r\n\t}", "public Point getupperRigth() {\n Point upperRigth = new Point(this.upperLeft.getX() + this.getWidth(), this.upperLeft.getY());\n return upperRigth;\n }", "public Measure<?, ?> getUpperMeasure() {\n return this.upperMeasure;\n }", "public int rangeSize() {\n return Math.abs(max - min);\n }", "public double getXRangeMax() {\n return xRangeMax;\n }", "public long getLowerTBound() {\n\t\treturn this.lowerTBound;\n\t}", "public int getExtent() {\r\n Object extentValue = extent.getValue();\r\n return extentValue == null\r\n ? getMinimum()\r\n : ((Integer) extentValue).intValue();\r\n\r\n }", "public Point getUpperLeft() {\n return this.upperLeft;\n }", "int getBoundsHeight();", "public int getEndHeight() {\r\n return endHeight;\r\n }", "public int getLowerBound ();", "public Coords getUpperRight()\r\n {\r\n return new Coords(x + width, y);\r\n }", "public long upperLongValue() {\n\t\treturn getSection().upperLongValue();\n\t}", "public int getMaxRangeStart() {\n return maximumViewableRange.getFrom();\n }", "public MWC.GenericData.WorldArea getBounds()\r\n\t{\n\t\treturn null;\r\n\t}", "public int getBottom() {\n return position[0] + (size - 1) / 2;\n }", "public abstract double getRangeSize();", "public static int upper_bound(long[] a, long key)\n\t{\n\t\tint low = 0, high = a.length - 1;\n\t\tint mid;\n\t\twhile (low < high)\n\t\t{\n\t\t\tmid = low + (high - low)/2;\n\t\t\tif (a[mid] <= key)\n\t\t\t\tlow = mid + 1;\n\t\t\telse\n\t\t\t\thigh = mid;\n\t\t}\n\t\treturn low;\n\t}", "private Point getUpper() {\n int upperX;\n int upperY;\n upperY = (int) (gameCanvas.getHeight() + mapOffsetY * 2);\n upperX = (int) (gameCanvas.getWidth() + mapOffsetX * 2);\n return new Point(upperX, upperY);\n }", "boolean impliedByUpperBound(InfinitNumber ubound) {\n\t\treturn ubound.lesseq(mBound);\n\t}", "public double getYRangeMax() {\n return yRangeMax;\n }", "public CategoryBuilder setUpperBound(float upperBound)\n {\n fUpperBound = upperBound;\n return this;\n }", "@Override\n public final int length() {\n return upper - lower;\n }", "public int getMax(final float upperBoundPercentage) {\n\t\tfinal int upperBoundPixelValueSum;\n\t\tupperBoundPixelValueSum = Math.round(upperBoundPercentage * pixelCount);\n\n\t\tint addedUpPixelValues = 0;\n\n\t\tfinal int lastHistogramIndex = pixelValueSums.length;\n\t\tint iHistogram = lastHistogramIndex;\n\n\t\tdo {\n\t\t\tiHistogram--;\n\n\t\t\tfinal int pixelValue = pixelValueSums[iHistogram];\n\t\t\taddedUpPixelValues += pixelValue;\n\n\t\t} while (addedUpPixelValues <= upperBoundPixelValueSum\n\t\t\t\t&& iHistogram > 0);\n\n\t\treturn iHistogram;\n\t}", "public Rect getBound() {\n return new Rect((int) (x - radius), (int) (y - radius), (int) (x + radius), (int) (y + radius));\n }", "public double getMaxValue() {\n double max = Double.NEGATIVE_INFINITY;\n for (int i = 0; i < rows; i++) {\n for (int j = 0; j < cols; j++) {\n if (data[i][j] > max)\n max = data[i][j];\n }\n }\n return max;\n }", "public double Bottom(){\n\t\tdouble fary = y + sizeY - 1;\n\t\treturn (fary);\n\t}", "protected double[] calculateDataBoundingBox() {\n \t\tdouble min_x = Double.MAX_VALUE;\n \t\tdouble min_y = Double.MAX_VALUE;\n \t\tdouble max_x = 0.0D;\n \t\tdouble max_y = 0.0D;\n \t\t// check the points\n \t\tfor (int i=0; i<n_points; i++) {\n \t\t\tif (p[0][i] < min_x) min_x = p[0][i];\n \t\t\tif (p[1][i] < min_y) min_y = p[1][i];\n \t\t\tif (p[0][i] > max_x) max_x = p[0][i];\n \t\t\tif (p[1][i] > max_y) max_y = p[1][i];\n \t\t}\n \t\treturn new double[]{min_x, min_y, max_x, max_y};\n \t}", "public static int getMax(ArrayList<QuoteShort> data, int begin, int end) {\n\t\t\r\n\t\tint max = -1;\r\n\t\tint maxIndex = -1;\r\n\t\tif (begin<=0) begin = 0;\r\n\t\tfor (int i=begin;i<=end;i++){\r\n\t\t\tif (data.get(i).getHigh5()>=max){\r\n\t\t\t\tmax = data.get(i).getHigh5();\r\n\t\t\t\tmaxIndex = i;\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\treturn maxIndex;\r\n\t}", "public int getMaximumPoints();", "public Bounds getBounds () { return (bounds); }", "public int size() {\n return mValues.isEmpty() ? 0 : mBounds[mValues.size() - 1];\n }", "public final void mT__191() throws RecognitionException {\n try {\n int _type = T__191;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:191:8: ( 'upperBound' )\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:191:10: 'upperBound'\n {\n match(\"upperBound\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "private int getValue(int lowerBound, int upperBound) {\n int problemRange = upperBound - lowerBound + 1;\n\n return lowerBound + rng.nextInt(problemRange);\n }", "public float getUpperRightY()\n {\n return ((COSNumber)rectArray.get(3)).floatValue();\n }", "public static int indexOfMaxInRange(int start, int end, double[] data)\r\n\t{\r\n\t\tint maxx=start;\r\n\t\tfor(int i=start;i<end;i++)\r\n\t\t{\r\n\t\t\tif(data[i]>data[maxx])\r\n\t\t\t\tmaxx=i;\r\n\t\t}\r\n\t\treturn maxx;\r\n\t}", "public Range getRangeY(double lowerPercent, double upperPercent, \n PlotRenderingInfo info, Point2D source) {\n \tdouble start = super.getRangeAxis().getRange().getLowerBound();\n double length = super.getRangeAxis().getRange().getLength();\n Range adjusted = null;\n if (super.getRangeAxis().isInverted()) {\n adjusted = new Range(start + (length * (1 - upperPercent)), \n start + (length * (1 - lowerPercent))); \n }\n else {\n adjusted = new Range(start + length * lowerPercent, \n start + length * upperPercent);\n }\n return adjusted;\n }", "public Rectangle getBounds() {\r\n return new Rectangle(x, y, 55, 51);\r\n }", "int getBoundsY();", "public String getRectangleBounds() {\n checkAvailable();\n return impl.getRectangle();\n }", "public Address getEndAddress() {\n\t\treturn baseAddress.getNewAddress(baseAddress.getOffset() + maxOffset);\n\t}", "public double getEnd();", "public double getMaximumY () {\n return minimumY + height;\n }" ]
[ "0.8104707", "0.7975678", "0.7970075", "0.7649027", "0.73729205", "0.7353143", "0.7296148", "0.71782875", "0.7131769", "0.71259505", "0.70564723", "0.69525635", "0.67851686", "0.6784993", "0.6744516", "0.66773987", "0.66558355", "0.6641307", "0.66271955", "0.66211236", "0.66179", "0.65704155", "0.6548277", "0.653099", "0.6494324", "0.6493953", "0.64763945", "0.6449872", "0.64394647", "0.6395503", "0.6385696", "0.6382181", "0.6366259", "0.63658416", "0.63447803", "0.63247806", "0.63199604", "0.63010406", "0.628555", "0.62622476", "0.6255554", "0.6252458", "0.62313604", "0.621512", "0.6192487", "0.6129343", "0.61258084", "0.6113109", "0.6112655", "0.6091469", "0.6055234", "0.60340947", "0.6025281", "0.6011187", "0.5997366", "0.59880286", "0.59853244", "0.5979822", "0.5977024", "0.59653825", "0.59647703", "0.5956275", "0.59561944", "0.59249175", "0.5901511", "0.58995175", "0.5898253", "0.58963567", "0.58839023", "0.58778685", "0.5875786", "0.5869738", "0.58612007", "0.58591753", "0.58578837", "0.58520216", "0.5849231", "0.58414227", "0.58384055", "0.58368486", "0.5835008", "0.58348346", "0.5832117", "0.5830332", "0.5830317", "0.58279586", "0.5820372", "0.5817895", "0.5814464", "0.5812366", "0.5806814", "0.58060926", "0.57925266", "0.5784918", "0.5783363", "0.5783172", "0.5770399", "0.5768174", "0.5753685", "0.57507294" ]
0.7255567
7
Returns a canvas of the plot.
public Canvas canvas() { Canvas canvas = new Canvas(getLowerBound(), getUpperBound()); canvas.add(this); return canvas; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private JPanel createCanvas() {\n return new JPanel() {\n\n @Override\n protected void paintComponent(Graphics g) {\n super.paintComponent(g);\n element.drawMe((Graphics2D) g);\n }\n\n };\n }", "public Canvas getCanvas()\n {\n return canvas;\n }", "public Canvas getCanvas()\n\t{\n\t\treturn canvas;\n\t}", "public Canvas getCanvas() {\n return canvas;\n }", "public Canvas getCanvas() {\n\t\treturn canvas;\n\t}", "public void drawCanvas() {\n \n // Change the background color to match the state of the plotter\n if( plotter != null ) {\n int state = plotter.getState();\n switch(state) {\n case 0:\n background(33, 134, 248, 100);\n break;\n case 1:\n background(254, 26, 26, 100);\n break;\n case 2:\n background(28, 247, 12, 100);\n break;\n default:\n background(100);\n }\n } else {\n background(100);\n }\n\n // Draw the canvas rectangle\n translate(SCREEN_PADDING, SCREEN_PADDING);\n scale(screenScale * plotterScale);\n fill(255); \n rect(0, 0, MAX_PLOTTER_X, MAX_PLOTTER_Y);\n \n // Draw the grid\n if(DRAW_GRID) {\n stroke(210);\n int cols = MAX_PLOTTER_X / 100;\n int rows = MAX_PLOTTER_Y / 100;\n \n for(int i=0; i<cols; i++)\n line(i*100, 0, i*100, MAX_PLOTTER_Y);\n \n for(int i=0; i<rows; i++)\n line(0, i*100, MAX_PLOTTER_X, i*100);\n }\n \n // Draw the homing crosshairs\n strokeWeight(1);\n stroke(150);\n line(MAX_PLOTTER_X/2, 0, MAX_PLOTTER_X/2, MAX_PLOTTER_Y);\n line(0, MAX_PLOTTER_Y/2, MAX_PLOTTER_X, MAX_PLOTTER_Y/2);\n\n translate(dx, dy); \n \n // Draw the bounding box of the current shape\n if(DRAW_BOUNDING_BOX) {\n // Bounding box\n RPoint bounds[] = shape.getBoundsPoints();\n strokeWeight(5);\n stroke(255,0,0);\n line( bounds[0].x, bounds[0].y, bounds[1].x, bounds[1].y );\n line( bounds[1].x, bounds[1].y, bounds[2].x, bounds[2].y );\n line( bounds[2].x, bounds[2].y, bounds[3].x, bounds[3].y );\n line( bounds[3].x, bounds[3].y, bounds[0].x, bounds[0].y );\n \n // Center cross hairs\n RPoint center = shape.getCenter();\n line( center.x, bounds[0].y, center.x, bounds[0].y - 200 );\n line( center.x, bounds[3].y, center.x, bounds[3].y + 200 );\n line( bounds[0].x, center.y, bounds[0].x - 200, center.y );\n line( bounds[1].x, center.y, bounds[1].x + 200, center.y );\n }\n \n // Draw the SVG content\n strokeWeight(STROKE_WEIGHT);\n stroke(0);\n drawShape(shape);\n }", "public Canvas getCanvas() {\n return mCanvas;\n }", "public Canvas getCanvas(){\n return canvas;\n }", "public static VecCanvas getCanvas(){\n if (instance == null)\n instance = new VecCanvas();\n return instance;\n }", "private void createCanvasAndFrame(){\n image = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);\n canvas = new Canvas();\n Dimension dimension = new Dimension((int)(width*scale), (int)(height*scale));\n canvas.setPreferredSize(dimension);\n canvas.setMaximumSize(dimension);\n canvas.setMinimumSize(dimension);\n\n frame = new JFrame(title);\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n frame.setLayout(new BorderLayout());\n frame.add(canvas, BorderLayout.CENTER);\n frame.pack();\n frame.setLocationRelativeTo(null);\n frame.setResizable(false);\n frame.setVisible(true);\n\n canvas.createBufferStrategy(2);\n bufferStrategy = canvas.getBufferStrategy();\n graphics = bufferStrategy.getDrawGraphics();\n }", "private void newCanvas() {\n\t\timgCanvas = new ImageCanvas(1000, 563);\n\t\t//canvasJP.add(imgCanvas);\n\t}", "public Canvas(){\r\n\t\tsuper(new FlowLayout());\r\n\t\tthis.setPreferredSize(new Dimension(400, 400));\r\n\t\tthis.setBackground(Color.WHITE);\r\n\t}", "GameCanvas getCanvas();", "public JFrame displayChart() {\n final JFrame frame = new JFrame(\"dds\");\n\n // Schedule a job for the event-dispatching thread:\n // creating and showing this application's GUI.\n try {\n javax.swing.SwingUtilities.invokeAndWait(new Runnable() {\n\n @Override\n public void run() {\n\n frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);\n // XChartPanel<XYChart> chartPanel = new XChartPanel<XYChart>(charts.get(0));\n //() chartPanels.add(chartPanel);\n // frame.add(chartPanel);\n\n // Display the window.\n frame.setName(\"Динаміка системи\");\n frame.pack();\n frame.setVisible(true);\n }\n });\n } catch (InterruptedException e) {\n e.printStackTrace();\n } catch (InvocationTargetException e) {\n e.printStackTrace();\n }\n\n return frame;\n }", "public GameCanvas getCanvas() {\n\t\treturn canvas;\n\t}", "Dimension getCanvasDimension();", "protected void drawPlot()\n\t{\n \t\tfill(255);\n \t\tbeginShape();\n \t\tvertex(m_ViewCoords[0] - 1, m_ViewCoords[1] - 1);\n \t\tvertex(m_ViewCoords[2] + 1, m_ViewCoords[1] - 1);\n \t\tvertex(m_ViewCoords[2] + 1, m_ViewCoords[3] + 1);\n \t\tvertex(m_ViewCoords[0] - 1, m_ViewCoords[3] + 1);\n \t\tendShape(CLOSE);\n\t}", "@Override public JPanel getGraphicalView() {\n return getBrowser().getDrbdGraph().getGraphPanel();\n }", "public static JPanel createDemoPanel() {\r\n JFreeChart chart = createChart(createDataset());\r\n ChartPanel panel = new ChartPanel(chart);\r\n panel.setMouseWheelEnabled(true);\r\n return panel;\r\n }", "public CanvasPanel( )\n {\n // make this canvas panel listen to mouse\n addMouseListener(new PointListener());\n addMouseMotionListener(new PointListener());\n\n setBackground(Color.BLACK);\n }", "public TestPlotter() {\n\t\tplot = new Plot2D(title, xLabel, yLabel, true);\n\t\tplot.addChartMouseListener(new PlotListener());\n\t\tplot.addDismissListener(new AL());\n\t\tplot.setDefaultCloseOperation(plotter.EXIT_ON_CLOSE);\n\t\t\n\t}", "private void createChart() {\n\t\tchartSpace = CTChartSpace.Factory.newInstance();\n\t\tchart = chartSpace.addNewChart();\n\t\tCTPlotArea plotArea = chart.addNewPlotArea();\n\n\t\tplotArea.addNewLayout();\n\t\tchart.addNewPlotVisOnly().setVal(true);\n\n\t\tCTPrintSettings printSettings = chartSpace.addNewPrintSettings();\n\t\tprintSettings.addNewHeaderFooter();\n\n\t\tCTPageMargins pageMargins = printSettings.addNewPageMargins();\n\t\tpageMargins.setB(0.75);\n\t\tpageMargins.setL(0.70);\n\t\tpageMargins.setR(0.70);\n\t\tpageMargins.setT(0.75);\n\t\tpageMargins.setHeader(0.30);\n\t\tpageMargins.setFooter(0.30);\n\t\tprintSettings.addNewPageSetup();\n\t}", "private Canvas createCanvas(IFramework framework, MouseListener listener) {\r\n\tCanvas canvas = new Canvas(framework);\r\n\tcanvas.setBackground(Color.white);\r\n\tcanvas.addMouseListener(listener);\r\n\treturn canvas;\r\n }", "@Override\n\tpublic CSSCanvas getCanvas() {\n\t\tif (targetMedium == null) {\n\t\t\treturn null;\n\t\t}\n\t\tif (canvases.containsKey(targetMedium)) {\n\t\t\treturn canvases.get(targetMedium);\n\t\t}\n\t\tCSSCanvas canvas;\n\t\tDeviceFactory df = getStyleSheetFactory().getDeviceFactory();\n\t\tif (df != null) {\n\t\t\tcanvas = df.createCanvas(targetMedium, this);\n\t\t\tcanvases.put(targetMedium, canvas);\n\t\t} else {\n\t\t\tcanvas = null;\n\t\t}\n\t\treturn canvas;\n\t}", "@Override\n protected void initializeCanvas(final Composite canvasComposite) {\n _plot = new Plot(canvasComposite, initializeModelSpace(), PlotScrolling.NONE);\n\n // Get the various plot components that will be used.\n // TODO: improve the plot API so this is simpler.\n IModelSpaceCanvas canvas = _plot.getModelSpaceCanvas();\n\n RGB colorForeground = new RGB(0, 0, 0);\n RGB colorBackground = new RGB(255, 255, 255);\n\n // Set the background color and grid line properties.\n canvas.setBackgroundColor(colorBackground);\n canvas.setVerticalAxisGridLineProperties(LineStyle.SOLID, colorForeground, 1);\n canvas.setHorizontalAxisGridLineProperties(LineStyle.NONE, colorForeground, 0);\n _plot.setVerticalAxisGridLineDensity(20);\n _plot.setVerticalAxisAnnotationDensity(10);\n\n // Set the formatter for x-coordinates.\n NumberFormat cursorFormatter = NumberFormat.getIntegerInstance();\n _plot.setCursorFormatterX(cursorFormatter);\n\n // Initialize the canvas layout model (label margins, etc).\n CanvasLayoutModel layoutModel = _plot.getCanvasLayoutModel();\n // Hide the top and right axes to save screen space.\n layoutModel.setTopAxisHeight(50);\n layoutModel.setTopLabelHeight(0);\n layoutModel.setBottomLabelHeight(0);\n layoutModel.setBottomAxisHeight(0);\n layoutModel.setRightAxisWidth(0);\n layoutModel.setRightLabelWidth(0);\n _plot.updateCanvasLayout(layoutModel);\n }", "protected StandardDrawingView createDrawingView() {\n return new StandardDrawingView(this, 410, 370);\n }", "public ChartPanel getChartPanel();", "private VerticalLayout getCanvas() {\n return new VerticalLayout();\n }", "public SignalCanvas() {\n\t\tsuper();\n\t}", "public void onModuleLoad() {\n\t\tcanvas = Canvas.createIfSupported();\n\n\t\tif (canvas == null) {\n\t\t\tRootPanel\n\t\t\t\t\t.get()\n\t\t\t\t\t.add(new Label(\n\t\t\t\t\t\t\t\"Sorry, your browser doesn't support the HTML5 Canvas element\"));\n\t\t\treturn;\n\t\t}\n\n\t\tcanvas.setStyleName(\"mainCanvas\");\n\t\tcanvas.setWidth(canvasWidth + \"px\");\n\t\tcanvas.setCoordinateSpaceWidth(canvasWidth);\n\n\t\tcanvas.setHeight(canvasHeight + \"px\");\n\t\tcanvas.setCoordinateSpaceHeight(canvasHeight);\n\n\t\tg = new Graph(canvas.getContext2d(), canvasWidth, canvasHeight);\n\n\t\ttxtExpression = new TextBox();\n\t\ttxtExpression.setText(\"R=5*SIN(4*T)\");\n\t\ttxtExpression.setWidth(\"400px\");\n\t\tbutDraw = new Button();\n\t\tbutDraw.setText(\"Draw\");\n\t\tbutDraw.addClickHandler(new ClickHandler() {\n\t\t\t@Override\n\t\t\tpublic void onClick(ClickEvent event) {\n\t\t\t\tString exp = txtExpression.getText().trim().toUpperCase();\n\t\t\t\tg.DrawAxis();\n\t\t\t\tif (exp.startsWith(\"Y=\"))\n\t\t\t\t\tg.DrawYX(clYellow, exp, -10, 10);\n\t\t\t\telse if (exp.startsWith(\"X=\"))\n\t\t\t\t\tg.DrawXY(clYellow, exp, -10, 10);\n\t\t\t\telse if (exp.startsWith(\"R=\"))\n\t\t\t\t\tg.DrawRT(clYellow, exp, -180, 180);\n\t\t\t\telse if (exp.startsWith(\"XT=\"))\n\t\t\t\t\tg.DrawYXT(clYellow, exp, -10, 10);\n\t\t\t\telse\n\t\t\t\t\tWindow.alert(\"Invalid expression!\");\n\t\t\t}\n\t\t});\n\t\tpanelInput = new HorizontalPanel();\n\t\tpanelInput.add(txtExpression);\n\t\tpanelInput.add(butDraw);\n\t\tRootPanel.get().add(panelInput);\n\n\t\tlabel = new Label(\n\t\t\t\t\"For example: Y=X*COS(X); R=T*T; X=Y*Y; XT=T*SIN(T)_YT=T*COS(T)...\");\n\t\tRootPanel.get().add(label);\n\n\t\tRootPanel.get().add(canvas);\n\n\t\tHTML html = new HTML(\n\t\t\t\t\"Source code: <a href='http://www.bk02.net/mobilemath'>http://www.bk02.net/mobilemath</a> - <a href='http://code.google.com/p/mobilemath/'>http://code.google.com/p/mobilemath/</a>\");\n\t\tRootPanel.get().add(html);\n\n\t\tg.DrawAxis();\n\t\tg.DrawRT(clYellow, \"R=5*SIN(4*T)\", -180, 180);\n\t}", "private void createDisplay()\n {\n // Creates frame based off of the parameters passed in Display constructor\n frame = new JFrame(title); \n frame.setSize(width, height);\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n frame.setResizable(false); \n frame.setLocationRelativeTo(null);\n frame.setVisible(true);\n // Creates the canvas that is drawn on\n canvas = new Canvas();\n canvas.setPreferredSize(new Dimension(width,height));\n canvas.setMaximumSize(new Dimension(width,height));\n canvas.setMinimumSize(new Dimension(width,height));\n canvas.setFocusable(false);\n //add the canvas to the window\n frame.add(canvas);\n //pack the window (kinda like sealing it off)\n frame.pack();\n }", "public GraphicsContext getGraphicsContext2D(){\n return canvas.getGraphicsContext2D();\n }", "public GraphPane getGraphPane() {\n return (GraphPane)getCanvasPane();\n }", "public Canvas3D getMBCanvas()\r\n {\r\n \tCanvas3D c = mb.getMBCanvas3D();\r\n \treturn c;\r\n }", "public void draw(Canvas canvas);", "public void draw(Canvas canvas);", "public CanvasPanel() {\n\t \t\taddMouseListener(this);\n\t \t\taddMouseMotionListener(this);\n\t }", "public JFreeChart render();", "public void show() {\n\t\tJFrame frame = new JFrame(\"Canvas\");\r\n\r\n\t\tContainer content = frame.getContentPane();\r\n\t\t// set layout on content pane\r\n\t\tcontent.setLayout(new BorderLayout());\r\n\t\t// create draw area\r\n\t\tcanvas = new Canvas(dos, dis);\r\n\t\t\r\n\t\t\r\n\t\t// add to content pane\r\n\t\tcontent.add(canvas, BorderLayout.CENTER);\r\n\t\tJPanel controls = new JPanel();\r\n\t\tframe.addComponentListener(new ComponentListener() {\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic void componentHidden(ComponentEvent arg0) {\r\n\t\t\t\t// TODO Auto-generated method stub\r\n\t\t\t\t\r\n\t\t\t}\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic void componentMoved(ComponentEvent arg0) {\r\n\t\t\t\t// TODO Auto-generated method stub\r\n\t\t\t\t\r\n\t\t\t}\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic void componentResized(ComponentEvent arg0) {\r\n\t\t\t\t// TODO Auto-generated method stub\r\n\t\t\t/*\tSystem.out.println(\"Frame size : \" + frame.getSize());\r\n\t\t\t\tSystem.out.println(\"Canvas size : \" + canvas.getSize());\r\n\t\t\t\tSystem.out.println(\"Control panel size : \" + controls.getSize());\r\n\t\t\t\tcanvas.validate();*/\r\n\t\t\t}\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic void componentShown(ComponentEvent arg0) {\r\n\t\t\t\t// TODO Auto-generated method stub\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t\t\r\n\t\t});\r\n\t\t\r\n\t\t// create controls to apply colors and call clear feature\r\n\t\t/*JPanel controls = new JPanel();*/\r\n\r\n\t\tclearBtn.addActionListener(actionListener);\r\n\t\tblackBtn.addActionListener(actionListener);\r\n\t\tblueBtn.addActionListener(actionListener);\r\n\t\tgreenBtn.addActionListener(actionListener);\r\n\t\tredBtn.addActionListener(actionListener);\r\n\t\tmagentaBtn.addActionListener(actionListener);\r\n\t\tyellowBtn.addActionListener(actionListener);\r\n\r\n\t\t// add to panel\r\n\t\tcontrols.add(greenBtn);\r\n\t\tcontrols.add(blueBtn);\r\n\t\tcontrols.add(blackBtn);\r\n\t\tcontrols.add(redBtn);\r\n\t\tcontrols.add(magentaBtn);\r\n\t\tcontrols.add(yellowBtn);\r\n\t\tcontrols.add(clearBtn);\r\n\r\n\t\t// add to content pane\r\n\t\tcontent.add(controls, BorderLayout.NORTH);\r\n\r\n\t\tframe.setSize(600, 600);\r\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r\n\t\t// show the swing paint result\r\n\t\tframe.setVisible(true);\r\n\t}", "public static vtkCanvas createDummyCanvas(vtkActor actor)\n\t{\n\t\tfinal vtkCanvas canvas = new vtkCanvas()\n\t\t{\n\n\t\t\t/** Workaround for http://www.vtk.org/Bug/view.php?id=6268 */\n\t\t\t@Override\n\t\t\tpublic void setSize(int x, int y)\n\t\t\t{\n\t\t\t\tsuper.setSize(x, y);\n\t\t\t\tLock();\n\t\t\t\trw.SetSize(x, y);\n\t\t\t\tiren.SetSize(x, y);\n\t\t\t\tiren.ConfigureEvent();\n\t\t\t\tUnLock();\n\t\t\t}\n\t\t};\n\t\t// a renderer for the data\n\t\tfinal vtkRenderer ren1 = canvas.GetRenderer();\n\n\t\tren1.AddActor(actor);\n\t\t// background color white\n\t\tren1.SetBackground(1, 1, 1);\n\t\t// Make the canvas resizable with a splitter\n\t\t//layout\n\t\tcanvas.setMinimumSize(new Dimension(0, 0));\n\t\tcanvas.setPreferredSize(new Dimension(0, 0));\n\t\tren1.ResetCamera();\n\t\treturn canvas;\n\t}", "public Plot2D getPlotter() {\n\t\treturn plot;\n\t}", "public Plot getPlot(){\r\n\t\treturn plot;\r\n\t}", "public vtkCanvas getVtkCanvas(){\n\t\treturn renWin;\n\t}", "private VecCanvas(){\n MouseAdapter mouse = new CanvasMouse();\n this.addMouseListener(mouse);\n this.addMouseMotionListener(mouse);\n setupKeyBindings();\n }", "public GraphView() {\r\n graphModel = new GraphModel();\r\n graphModel.setNoOfChannels(0);\r\n graphModel.setXLength(1);\r\n initializeGraph();\r\n add(chartPanel);\r\n setVisible(true);\r\n }", "public JVDraw() {\r\n\t\tsetDefaultCloseOperation(DISPOSE_ON_CLOSE);\r\n\t\tsetLocation(250, 250);\r\n\t\tsetSize(500, 500);\r\n\t\tsetTitle(\"JVDraw\");\r\n\r\n\t\tsetLayout(new BorderLayout());\r\n\r\n\t\tJPanel toolbar = new JPanel(new FlowLayout(FlowLayout.LEFT));\r\n\r\n\t\tJColorArea jca = new JColorArea(Color.BLACK);\r\n\t\tJColorArea jca2 = new JColorArea(Color.WHITE);\r\n\r\n\t\ttoolbar.add(jca);\r\n\t\ttoolbar.add(jca2);\r\n\t\tShapeButtons sbg = new ShapeButtons(Shape.LINE);\r\n\t\ttoolbar.add(sbg);\r\n\t\tadd(toolbar, BorderLayout.NORTH);\r\n\r\n\t\tdrawingModel = new DrawingModelImpl();\r\n\t\tdrawingCanvas = new JDrawingCanvas(drawingModel);\r\n\r\n\t\tadd(drawingCanvas, BorderLayout.CENTER);\r\n\r\n\t\tdrawingModel.addDrawingModelListener(drawingCanvas);\r\n\t\tmouseCreator = new MouseCreator(drawingModel, jca, jca2, sbg);\r\n\t\tdrawingCanvas.addMouseListener(mouseCreator);\r\n\t\tdrawingCanvas.addMouseMotionListener(mouseCreator);\r\n\r\n\t\tlistModel = new DrawingObjectListModel(drawingModel);\r\n\t\tdrawingModel.addDrawingModelListener(listModel);\r\n\r\n\t\tadd(new DrawingObjectList(listModel), BorderLayout.EAST);\r\n\r\n\t\tJMenuBar menuBar = new JMenuBar();\r\n\t\tsetJMenuBar(menuBar);\r\n\t\tJMenu fileMenu = new JMenu(\"File\");\r\n\t\tmenuBar.add(fileMenu);\r\n\t\tfileMenu.add(new OpenAction(this));\r\n\t\tfileMenu.add(new SaveAction(this));\r\n\t\tfileMenu.add(new SaveAsAction(this));\r\n\t\tfileMenu.add(new ExportAction(this));\r\n\t\tfileMenu.add(new ExitAction(this));\r\n\r\n\t\tdrawingModel.addDrawingModelListener(new DrawingModelListener() {\r\n\t\t\t@Override\r\n\t\t\tpublic void objectsRemoved(DrawingModel source, int index0, int index1) {\r\n\t\t\t\tmodified = true;\r\n\t\t\t}\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic void objectsChanged(DrawingModel source, int index0, int index1) {\r\n\t\t\t\tmodified = true;\r\n\t\t\t}\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic void objectsAdded(DrawingModel source, int index0, int index1) {\r\n\t\t\t\tmodified = true;\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tadd(new StatusBar(jca, jca2), BorderLayout.SOUTH);\r\n\t}", "public static void createAndShowGUI(){\n\n //the main graph frame\n JFrame mainFrame = new JFrame(\"Graphit\");\n mainFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n mainFrame.setSize(CANVAS_WIDTH, CANVAS_HEIGHT);\n\n gc = new NGraphitController();\n\n p = new Point(0,0);\n\n // Viewport is to man through the graph.\n vp = new JViewport();\n vp.setSize(100, 100);\n vp.setView(gc);\n mainFrame.add(vp);\n\n mainFrame.pack();\n mainFrame.setLocationRelativeTo(null);\n mainFrame.setVisible(true);\n\n }", "private JPanel createChartPanel(XYSeriesCollection li) {\n\n String chartTitle = \" Movement Chart\";\n String xAxisLabel = \"Matrix Size\";\n String yAxisLabel = \"time in ms\";\n\n XYSeriesCollection dataset = li;\n // System.out.println(\"tesst count \" + dataset.getSeriesCount());\n\n //XYDataset dataset = createDataset(li);\n JFreeChart chart = ChartFactory.createXYLineChart(chartTitle, xAxisLabel, yAxisLabel, dataset);\n XYPlot plot = chart.getXYPlot();\n XYLineAndShapeRenderer renderer = new XYLineAndShapeRenderer();\n plot.setRenderer(renderer);\n\n return new ChartPanel(chart);\n }", "private static void setupWindow() {\n window.setSize((2 * WINDOW_MARGINS) + (CELL_SIZE * SIZE_X), (2 * WINDOW_MARGINS) + (CELL_SIZE * SIZE_Y));\n window.add(canvas);\n window.setVisible(true);\n window.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\n canvas.createBufferStrategy(2);\n }", "public ScrollZoomDisplayCanvas() {\n\t\tsuper();\n\t\tdisp = new DisplayCanvas();\n\t\tsp = new ScrollPane();\n\t\tsp.add(disp);\n\t\texactZoom = new TextField(disp.getScale() + \"\");\n\t\texactZoom.addActionListener(this);\n\t\tzoom = new Button(\"Zoom\");\n\t\tzoom.addActionListener(this);\n\t\tunzoom = new Button(\"UnZoom\");\n\t\tunzoom.addActionListener(this);\n\t\tPanel P = new Panel(new FlowLayout());\n\t\tP.add(zoom);\n\t\tP.add(unzoom);\n\t\tP.add(exactZoom);\n\t\tsetLayout(new BorderLayout());\n\t\tadd(\"North\", P);\n\t\tadd(\"Center\", sp);\n\t}", "public ImageCanvas getImageCanvas() {\n return ic;\n }", "public ICanvas getDefaultCanvas() {\n\t\tif (defaultCanvas==null) {\n\t\t\ttry {\n\t\t\t\tdefaultCanvas = (ICanvas) getObjectInstance(\"com.console.springernature.paint.model.Canvas\");\n\t\t\t\tif (defaultCanvas!=null) {\n\t\t\t\t\tif (defaultDevice==null) {\n\t\t\t\t\t\tthis.getDefaultDevice();\n\t\t\t\t\t}\n\t\t\t\t\tif (defaultDevice!=null) {\n\t\t\t\t\t\tthis.getDefaultDevice();\n\t\t\t\t\t\tdefaultCanvas.assignDevice(defaultDevice);\n\t\t\t\t\t\tdefaultDevice.addCommandListener(defaultCanvas);\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tlogger.warn(\"(Custom Event) Unable to associate the default device ...\");\n\t\t\t\t\t\tdefaultCanvas = null;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} catch (ClassCastException e) {\n\t\t\t\tlogger.error(\"(ClassCastException) Unable to instanziate the default canvas ...\", e);\n\t\t\t} catch (Throwable e) {\n\t\t\t\tlogger.error(\"(Generic Exception) Unable to instanziate the default canvas ...\", e);\n\t\t\t}\n\t\t}\n\t\treturn defaultCanvas;\n\t}", "public JPanel buildPanel() {\n\t\tsetLayout(new BorderLayout());\n\t\tsetBackground(ClientConstants.LIGHT_YELLOW);\n\t\tJLabel graphPlotLabel = new JLabel(ClientConstants.GRAPH_PLOT, JLabel.CENTER);\n\t\tgraphPlotLabel.setFont(ClientConstants.TEXT_FONT);\n\t\tadd(graphPlotLabel, BorderLayout.NORTH);\n\t\tsetLayout(new BorderLayout());\n\t\taffectiveGraphPlot = new AffectivePlot();\n\t\tClientDataSingleton.getInstance().setAffectivePlot(affectiveGraphPlot);\n\t\taffectiveGraphPlot.setBackground(Color.WHITE);\n\t\tadd(affectiveGraphPlot);\n\t\treturn this;\n\t}", "public Plot getCurrentPlotRef() {\n Plot plot = getPlotRef(CURRENT_VIEW);\n if (plot == null) {\n plot = new Plot();\n plot.setId(CURRENT_VIEW);\n\n // define current pointers:\n plot.setSubsetDefinition(getCurrentSubsetDefinitionRef());\n plot.setPlotDefinition(getCurrentPlotDefinitionRef());\n\n addPlotRef(plot);\n }\n return plot;\n }", "public FacePamphletCanvas() {\n\t}", "public DrawingPane() {\n this.setBorder(new Border(new BorderStroke(Color.BLACK, BorderStrokeStyle.SOLID, CornerRadii.EMPTY, BorderWidths.DEFAULT)));\n this.setStyle(\"-fx-background-color : white\");\n\n color = new ObjectPropertyBase<Color>() {\n @Override\n public Object getBean() {\n return this;\n }\n\n @Override\n public String getName() {\n return \"Color\";\n }\n };\n\n thickness = new ObjectPropertyBase<Integer>() {\n @Override\n public Object getBean() {\n return this;\n }\n\n @Override\n public String getName() {\n return \"Thickness\";\n }\n };\n\n modifiable = new BooleanPropertyBase(true) {\n @Override\n public Object getBean() {\n return this;\n }\n\n @Override\n public String getName() {\n return \"Modifiability\";\n }\n };\n\n lastLine = new ObjectPropertyBase<DrawingInfos>() {\n @Override\n public Object getBean() {\n return this;\n }\n\n @Override\n public String getName() {\n return \"Last Line\";\n }\n };\n\n this.canvas = new Canvas();\n this.context = canvas.getGraphicsContext2D();\n this.drawingInfos = new DrawingInfos();\n this.lastLine.setValue(new DrawingInfos());\n this.lastLineList = new DrawingInfos();\n\n getChildren().add(canvas);\n initialize();\n }", "public Plot() {\r\n }", "public DrawGUI() {\n\n\t\tthis.setTitle(\"Draw 0.2\");\n\t\tsetIconImage(Toolkit.getDefaultToolkit().getImage(\"img/logo.png\"));\n\t\tsetDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\n\t\tdrawingContainer = new DrawingContainer();\n\t\tscrollpane = new JScrollPane(drawingContainer);\n\n\t\tcontroller = new DrawingController(this);\n\t\ttools = new ToolBox(controller);\n\t\tcontroller.newDrawing(new Dimension(500, 380));\n\n\t\t// statusBar = new StatusBar();\n\n\t\tgetContentPane().add(tools, BorderLayout.WEST);\n\t\tgetContentPane().add(scrollpane, BorderLayout.CENTER);\n\t\t// getContentPane().add(statusBar, BorderLayout.SOUTH);\n\n\t\tMenuListener mainMenuListener = new MenuListener(controller);\n\t\tJMenuBar mainMenu = new MainMenu(mainMenuListener);\n\t\tthis.setJMenuBar(mainMenu);\n\n\t\tpack();\n\t\tsetVisible(true);\n\n\t}", "public Graphics2D createGraphics() {\n\treturn recorder.createGraphics();\n }", "public JFreeChart getChart() {\n return chart;\n }", "private void createDrawingView() {\r\n mDrawingView = new DrawingView(mContext);\r\n LinearLayout mDrawingPad = (LinearLayout) findViewById(R.id.drawing_pad);\r\n mDrawingPad.addView(mDrawingView);\r\n }", "public Canvas() {\n this.addGLEventListener(this);\n valuesB = new ArrayList<>();\n resultadoICPClasico = new ArrayList<>();\n }", "public Long getCanvasId() {\n return this.canvasId;\n }", "public Dimension getCanvasSize() {\n return transformManager.getCanvasSize();\n }", "@Override\n\tpublic void draw(Graphics canvas) {}", "public String getPlot() {\n return plot;\n }", "protected Plot() {\r\n }", "private void constructChartPanel() {\n chartPanel = new JPanel();\n chartPanel.setBorder(BorderFactory.createTitledBorder(\"Price Chart\"));\n chartPanel.setPreferredSize(relativeSize(0.4f, 0.35f));\n \n displayChartButton = new JButton(\"Click to Display Price Chart\");\n displayChartButton.setEnabled(false);\n displayChartButton.addActionListener(new ActionListener() {\n public void actionPerformed(ActionEvent e) {\n JPanel cPanel = chart.getChartPanel();\n chartPanel.removeAll();\n chartPanel.add(cPanel);\n cPanel.setPreferredSize(relativeSize(0.4f, 0.35f));\n \n pack();\n repaint();\n }\n });\n \n chartPanel.add(displayChartButton);\n }", "@Override\n\tpublic GraphicalView makeChart(Context context) {\n\t\tXYMultipleSeriesRenderer renderer = getRenderer(context);\n\t\tchartView = ChartFactory.getBarChartView(context, getDataset(),renderer, Type.DEFAULT);\n\t\t// Return the view so it can be showed.\n\t\treturn chartView;\n\t}", "private BufferedImage createPlotImage() {\r\n final BufferedImage img = new BufferedImage(getWidth(), getHeight(), \r\n Transparency.BITMASK);\r\n final Graphics g = img.getGraphics();\r\n ((Graphics2D) g).setRenderingHint(RenderingHints.KEY_ANTIALIASING, \r\n RenderingHints.VALUE_ANTIALIAS_ON);\r\n \r\n g.setColor(GUIConstants.color6);\r\n for(int i = 0; i < scatterData.size; i++) {\r\n drawItem(g, scatterData.xAxis.co[i], \r\n scatterData.yAxis.co[i], false, false);\r\n }\r\n return img;\r\n }", "public CircleViewer()\n {\n drawing = new CirclePanel();\n\n JFrame frame = new JFrame();\n frame.setTitle(\"Circle\");\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n frame.setSize(WIDTH, HEIGHT);\n frame.add(drawing);\n frame.setVisible(true);\n }", "public static DefaultListModel<String> getCanvasListModel() {\n return canvasListModel;\n }", "public interface Canvas {\n\tpublic String LABEL_CHANGE = \"label_change_property\";\n\t/**\n\t * @return name of Canvas or an empty String by default. MAY NOT BE NULL.\n\t */\n\tpublic String getName();\n\t/**\n\t * @return color of Canvas or null by default\n\t */\n\tpublic Color getColor();\n\t/**\n\t * @return the JComponent representation of this Canvas. MAY NOT BE NULL.\n\t */\n\tpublic JComponent getJComponent();\n\t/**\n\t * If this canvas is to be highlighted (because it might\n\t * have focus for example), then getHighlight should return\n\t * the color of that highlight. Otherwise, it should\n\t * return null\n\t * @return highlighting color or null by default.\n\t */\n\tpublic Color getHighlight();\n}", "public abstract void draw(java.awt.Graphics canvas);", "protected void plot() {\n\t\tlogger.debug(\"starting plot\");\n\n\t\t// initialise perspective with needed views\n\t\tif (!showViews()) {\n\t\t\t// an error occurred, break operation\n\t\t\treturn;\n\t\t}\n\n\t\t// DotplotCreator dotplotCreator = GlobalConfiguration.getInstance()\n\t\t// .getDotplotCreator();\n\n\t\tDotPlotter plotterV = (DotPlotter) window.getActivePage().findView(\n\t\t\t\tDotPlotPerspective.DOTPLOTTER);\n\t\tMergeView mergerV = (MergeView) window.getActivePage().findView(\n\t\t\t\tDotPlotPerspective.DOTPLOTDIFF);\n\n\t\tplotterV.setMouseListener(new DotPlotMouseListener(window, mergerV));\n\n\t\tcreateAndShowPlot(plotterV);\n\t}", "public JFreeChart getChart() {\n\t\treturn chart_;\n\t}", "public Canvas (Dimension size) {\r\n // set size (a bit of a pain)\r\n setPreferredSize(size);\r\n setSize(size);\r\n // prepare to receive input\r\n setFocusable(true);\r\n requestFocus();\r\n setInputListeners();\r\n }", "public EpsCanvas(GraphicsConfiguration gc) {\n\t\tsuper(gc);\n\t\tepsGraphics = new EpsGraphics2D();\n\t}", "public void draw() {\n\t\tp.pushStyle();\n\t\t{\n\t\t\tp.rectMode(PConstants.CORNER);\n\t\t\tp.fill(360, 0, 70, 180);\n\t\t\tp.rect(60f, 50f, p.width - 110f, p.height * 2f * 0.33f - 50f);\n\t\t\tp.rect(60f, p.height * 2f * 0.33f + 50f, p.width - 110f, p.height * 0.33f - 130f);\n\t\t}\n\t\tp.popStyle();\n\n\t\tlineChart.draw(40f, 40f, p.width - 80f, p.height * 2f * 0.33f - 30f);\n\t\tlineChart2.draw(40f, p.height * 2f * 0.33f + 45f, p.width - 80f, p.height * 0.33f - 110f);\n\t\t//p.line(x1, y1, x2, y2);\n\n\t}", "public Plot getCurrentPlot() {\n final Plot plot = Identifiable.clone(getCurrentPlotRef());\n\n if (logger.isDebugEnabled()) {\n logger.debug(\"getCurrentPlot {}\", plot);\n }\n return plot;\n }", "public PlotDrawer() {\n\n\t}", "public void View()\n\t{\n\t\tDefaultPieDataset pieDataset = new DefaultPieDataset();\n\t\t\n\t\tfor(String key : result.keySet())\n\t\t{\n\t\t\tpieDataset.setValue(key, Double.parseDouble(result.get(key).toString()));\n\t\t}\n\t\t\n\t\tJFreeChart chart = ChartFactory.createPieChart(title, pieDataset, true, true, true);\n\t\t\n\t\tChartFrame frame = new ChartFrame(\"Pie Chart\", chart);\n\t\t\n\t\tframe.setVisible(true);\n\t\tframe.setSize(450,500);\n\t}", "public DrawingView view() {\n return fView;\n }", "@Override\n\tprotected final JFreeChart createChart() {\n\t\tJFreeChart jFreeChart=null;\n\t\tIntervalXYDataset dataset=createDataset();\n\t\t\n\t\tjFreeChart=ChartFactory.createXYBarChart(title,xalabel, dateAxis, yalabel,dataset, por, legend, tooltips, urls);\n\t\t\n\t\tXYPlot plot=(XYPlot)jFreeChart.getPlot();\n\t\tpreRender(plot);\n\t\treturn jFreeChart; \n\t}", "private void createGUI() {\r\n\r\n cgRect modelSpace = new cgRect(0, 0, 11, 11);\r\n cgRect deviceSpace = new cgRect(0, 0, 600, 600);\r\n\r\n cgTransformation tr = new cgTransformation(modelSpace, deviceSpace, false, false);\r\n\r\n /**\r\n *\r\n */\r\n // The formatter of axis' labels will use default locale and pattern\r\n NumberFormat nf = NumberFormat.getInstance();\r\n\r\n // We will use \"fixed size\" axis renderer for all axes\r\n \r\n // 参数一:标签刻度长度大小 参数二:标签数字长度大小 参数三:数字和刻度之间的距离大小,长度为像素\r\n cgAxisRenderer ar = new cgFixedSizeAxisRenderer(5, 15, 50, nf);\r\n\r\n // ----------------------------------------------------\r\n // First axis - values match the model coordinates,\r\n // model origin is at 0.0\r\n // ----------------------------------------------------\r\n \r\n // 第三个参数为显示的数字数\r\n cgRect bbox1 = new cgRect(0, 0, 11, 1);\r\n TickGenerator tg1 = new NumericTickGenerator(1.0);\r\n cgAxisShape axis1 = new cgAxisShape(cgAxisShape.NORTH, bbox1, tg1, ar);\r\n\r\n cgShapeListLayer layer = new cgShapeListLayer();\r\n\r\n layer.addShape(axis1);\r\n\r\n /**\r\n *\r\n */\r\n // ----------------------------------------------------\r\n // Create grid using regular grid renderer\r\n // ----------------------------------------------------\r\n cgRect bbox = new cgRect(0, 0, 10, 10);\r\n TickGenerator htg = new NumericTickGenerator(1.0);\r\n TickGenerator vtg = new NumericTickGenerator(1.0);\r\n cgGridRenderer gr = new cgRegularGridRenderer();\r\n cgGridShape grid = new cgGridShape(bbox, htg, vtg, gr);\r\n\r\n // ----------------------------------------------------\r\n // Create view\r\n // ----------------------------------------------------\r\n// cgShapeListLayer layer = new cgShapeListLayer();\r\n// layer.addShape( grid );\r\n cgContainerModel model = new cgContainerModel();\r\n model.setBoundingBox(modelSpace);\r\n model.addLayer(layer);\r\n\r\n cgPlotView view = new cgPlotView(model, tr);\r\n\r\n // ----------------------------------------------------\r\n // Create plot\r\n // ----------------------------------------------------\r\n cgPlot plot = new cgPlot(view);\r\n\r\n plot.addScrollbar(cgGenericPlotLayout.SOUTH);\r\n plot.addScrollbar(cgGenericPlotLayout.EAST);\r\n\r\n getContentPane().add(plot);\r\n\r\n // ----------------------------------------------------\r\n // Set up listeners\r\n // ----------------------------------------------------\r\n // Set window listener\r\n addWindowListener(new WindowAdapter() {\r\n public void windowClosing(WindowEvent e) {\r\n System.exit(0);\r\n }\r\n });\r\n }", "public WebPlotView() {\n initWidgets();\n _scrollingRootPanel.addDomHandler(new MouseDownHandler() {\n public void onMouseDown(MouseDownEvent ev) {\n if (_mpw != null) _mpw.selectSelf();\n }\n }, MouseDownEvent.getType());\n\n _scrollingRootPanel.addDomHandler(new TouchStartHandler() {\n public void onTouchStart(TouchStartEvent event) {\n if (_mpw != null) _mpw.selectSelf();\n }\n }, TouchStartEvent.getType());\n\n }", "public Chart(double[][] result, double[][] observed){\n //Create a new Frame object\n final Frame f1 = new Frame(\"Model Fit\");\n\t//Set the Frame object size\t\n\tf1.setSize(600,400);\n //Add a window listener to the Frame to close it\n\tf1.addWindowListener(new WindowAdapter() {\n @Override\n\t\tpublic void windowClosing(WindowEvent we) {\n\t\t\tf1.dispose();\n\t\t}\n\t});\n \n //add in the code to create the chart\n //create a data object to hold the XY data\n DefaultXYDataset data = new DefaultXYDataset();\n //cycle through the origins\n for (int i = 0; i < observed.length; i++) {\n //create a two dimensional array to hold the observed and result\n double dataArray[][] = new double[2][observed[i].length];\n //put the observed data in element 0\n dataArray[0]=observed[i];\n //put the result data in element 1\n dataArray[1]=result[i];\n //add the data series with a unique name\n data.addSeries(\"Origin \"+i, dataArray);\n }\n\t//Create the chart with the correct title and axis names and data etc.\n\tJFreeChart chart = ChartFactory.createScatterPlot(\"Observed vs. Results\", \n\t\t\"Observed\", // x axis label\n\t\t\"Results\", // y axis label\n\t\tdata, // data\n\t\tPlotOrientation.VERTICAL, // orientation\n\t\ttrue, // legend\n\t\ttrue, // tooltips\n\t\tfalse // URLs\n\t);\n\t//get the plot area and format it to the desired colours\n\tXYPlot plot = (XYPlot) chart.getPlot();\n\tplot.setBackgroundPaint(Color.white);\n\tplot.setDomainGridlinePaint(Color.darkGray);\n\tplot.setDomainGridlinesVisible(true);\n\tplot.setRangeGridlinePaint(Color.black);\n\t\n\t// We're going to add some regression stuff here shortly.\n double[] coeffs = Regression.getOLSRegression(createTwoDArray(result, observed));\n\tLineFunction2D linefunction2d = new LineFunction2D(coeffs[0], coeffs[1]);\n\tXYDataset series2 = DatasetUtilities.sampleFunction2D(linefunction2d, 10, 50, 5, \"Linear Regression Line\");\n\tplot.setDataset(2, series2); \n\tXYLineAndShapeRenderer lineDrawer = new XYLineAndShapeRenderer(true, false);\n\tlineDrawer.setSeriesPaint(0, Color.BLACK);\n\tplot.setRenderer(2, lineDrawer);\n\t\n //create a chart panel to render to the screnn\n\tChartPanel chartPanel = new ChartPanel(chart);\n //add the chart panel to the frame\n\tf1.add(chartPanel);\n //set the frame to be visible\n\tf1.setVisible(true);\n }", "public ChartPanel createChartPanel(QueryResult myResult) throws Exception {\n\n myChart = makeChart(myResult);\n\n // create the chart frame and display it \n ChartPanel myChartPanel = new ChartPanel(myChart);\n\n return myChartPanel;\n }", "public Canvas(MainWindow main){\n super();\n this.setBounds(0, 0, Const.WINDOW_SIZE, Const.WINDOW_SIZE); //Seta o tamanho do canvas\n this.init(); //Chama as threads\n }", "public Chart getChart() {\r\n return getAbstractChart().getChart();\r\n }", "public ImageIcon getChart() {\n\t\t// Creating a new ImageIcon with a with of 1197 and height of 657\n\t\t return new ImageIcon(chart.createBufferedImage(1197,657));\n\t}", "public Rectangle getChartArea() {\n return chartArea;\n }", "public ImageCanvas() {\r\n super();\r\n }", "public void start() {\n\t\t\n\t\t/*\n\t\t * This is the main JFrame that everything will be placed on. \n\t\t * The size is set to a maximum value, and made unresizable to make repainting easier to achieve.\n\t\t */\n\t\tJFrame frame = new JFrame(\"Paint\");\n\t\tframe.setSize(Canvas.getMaxWindowSize(), Canvas.getMaxWindowSize());\n\t\tframe.setResizable(false);\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\t\n\t\t/*\n\t\t * The mainPanel is the panel on which all the other panels will be organized.\n\t\t * It uses a BorderLayout to divide the panel into 5 possible areas: North, South, West, East, and Center.\n\t\t */\n\t\tJPanel mainPanel = new JPanel(new BorderLayout());\n\t\tframe.add(mainPanel);\n\t\t\n\t\t/*\n\t\t * The canvas is added to the center of the mainPanel.\n\t\t */\n\t\tCanvas canvas = new Canvas();\n\t\tmainPanel.add(canvas, BorderLayout.CENTER);\n\t\t\n\t\t/*\n\t\t * The topToolPanel is a JPanel that will also use a BorderLayout to organize items placed upon it.\n\t\t * It is placed in the North portion of the mainPanel.\n\t\t */\n\t\tJPanel topToolPanel = new JPanel(new BorderLayout());\n\t\tmainPanel.add(topToolPanel, BorderLayout.NORTH);\n\t\t\n\t\t/*\n\t\t * The shapeToolsPanel is JPanel on which all the buttons for different shapes will be placed. \n\t\t * It is placed in the West portion of the topToolPanel.\n\t\t */\n\t\tJPanel shapeToolsPanel = new JPanel();\n\t\ttopToolPanel.add(shapeToolsPanel, BorderLayout.WEST);\n\t\t\n\t\t/*\n\t\t * The usefulToolPanel will hold buttons for options like \"Fill\" or \"No Fill\", as well as our \"Undo\" button.\n\t\t */\n\t\tJPanel usefulToolPanel = new JPanel();\n\t\ttopToolPanel.add(usefulToolPanel, BorderLayout.EAST);\n\t\t\n\t\t/*\n\t\t * Each of the next five buttons added represent an option to choose a certain shape to draw.\n\t\t * They all get added to the shapeToolsPanel from left to right.\n\t\t */\n\t\tJButton rectButton = new JButton(\"Rectangle\");\n\t\tshapeToolsPanel.add(rectButton);\n\t\trectButton.addActionListener(new ActionListener() {\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tCanvas.setShapeSelection(\"rectangle\");\n\t\t\t}\n\t\t});\n\t\t\n\t\tJButton circButton = new JButton (\"Circle\");\n\t\tshapeToolsPanel.add(circButton);\n\t\tcircButton.addActionListener(new ActionListener() {\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tCanvas.setShapeSelection(\"circle\");\n\t\t\t}\n\t\t});\n\t\t\n\t\tJButton triButton = new JButton (\"Triangle\");\n\t\tshapeToolsPanel.add(triButton);\n\t\ttriButton.addActionListener(new ActionListener() {\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tCanvas.setShapeSelection(\"triangle\");\n\t\t\t}\n\t\t});\n\t\t\n\t\tJButton lineButton = new JButton (\"Line\");\n\t\tshapeToolsPanel.add(lineButton);\n\t\tlineButton.addActionListener(new ActionListener() {\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tCanvas.setShapeSelection(\"line\");\n\t\t\t}\n\t\t});\n\t\t\n\t\tJButton penButton = new JButton (\"Pen\");\n\t\tshapeToolsPanel.add(penButton);\n\t\tpenButton.addActionListener(new ActionListener() {\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tCanvas.setShapeSelection(\"pen\");\n\t\t\t}\n\t\t});\n\t\t\n\t\t\n\t\t/*\n\t\t * The following three buttons are useful tools for the program to use: the option to choose whether or not to fill shapes, and the undo option.\n\t\t * Each of these will be added to the usefulToolPanel, once again from right to left.\n\t\t */\n\t\tJButton fillButton = new JButton(\"Fill\");\n\t\tusefulToolPanel.add(fillButton);\n\t\tfillButton.addActionListener(new ActionListener() {\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tCanvas.setIsFilled(true);\n\t\t\t}\n\t\t});\n\t\t\n\t\tJButton outlineButton = new JButton(\"No Fill\");\n\t\tusefulToolPanel.add(outlineButton);\n\t\toutlineButton.addActionListener(new ActionListener() {\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tCanvas.setIsFilled(false);\n\t\t\t}\n\t\t});\n\t\t\n\t\tJButton increaseButton = new JButton (\"Increase width\");\n\t\tusefulToolPanel.add(increaseButton);\n\t\tincreaseButton.addActionListener(new ActionListener() {\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tCanvas.setShapeThickness(Canvas.getShapeThickness() + 1);\n\t\t\t}\n\t\t});\n\t\t\n\t\tJButton decreaseButton = new JButton (\"Decrease width\");\n\t\tusefulToolPanel.add(decreaseButton);\n\t\tdecreaseButton.addActionListener(new ActionListener() {\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\ttry {\n\t\t\t\t\tCanvas.setShapeThickness(Canvas.getShapeThickness() - 1);\n\t\t\t\t}catch(IllegalArgumentException exception) {\n\t\t\t\t\tSystem.out.println(\"The shape thickness cannot be zero.\");\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\t\n\t\tJButton undoButton = new JButton (\"Undo\");\n\t\tusefulToolPanel.add(undoButton);\n\t\tundoButton.addActionListener(new ActionListener() {\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\ttry {\n\t\t\t\t\tcanvas.undo();\n\t\t\t\t}catch(IndexOutOfBoundsException exception) {\n\t\t\t\t\tSystem.out.println(\"No item in shape list to undo.\");\n\t\t\t\t}\t\n\t\t\t}\n\t\t});\n\t\t\n\t\t/*\n\t\t * The colorPanel is a JPanel which utilizes a GridLayout to organize buttons from the top to the bottom.\n\t\t * It is set up to have more rows than are actually filled to minimize the size of each button on it.\n\t\t */\n\t\tJPanel colorPanel = new JPanel(new GridLayout(defaultGridRows, defaultGridColumns, defaultGridPadding, defaultGridPadding));\n\t\tmainPanel.add(colorPanel, BorderLayout.WEST);\n\t\t\n\t\t/*\n\t\t * Each of the following buttons will be added to the colorPanel.\n\t\t * They will stack one on top of the other as the grid is set up to only have one column.\n\t\t * Additionally, the text portion of each button will be set to the color that the button is connected to.\n\t\t */\n\t\tJButton blackButton = new JButton (\"Black\");\n\t\tcolorPanel.add(blackButton);\n\t\tblackButton.addActionListener(new ActionListener() {\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tCanvas.setColorSelection(Color.black);\n\t\t\t}\n\t\t});\n\t\t\n\t\tJButton yellowButton = new JButton (\"Yellow\");\n\t\tyellowButton.setForeground(Color.yellow);\n\t\tcolorPanel.add(yellowButton);\n\t\tyellowButton.addActionListener(new ActionListener() {\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tCanvas.setColorSelection(Color.yellow);\n\t\t\t}\n\t\t});\n\n\t\tJButton greenButton = new JButton (\"Green\");\n\t\tgreenButton.setForeground(Color.green);\n\t\tcolorPanel.add(greenButton);\n\t\tgreenButton.addActionListener(new ActionListener() {\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tCanvas.setColorSelection(Color.green);\n\t\t\t}\n\t\t});\n\n\t\tJButton blueButton = new JButton (\"Blue\");\n\t\tblueButton.setForeground(Color.blue);\n\t\tcolorPanel.add(blueButton);\n\t\tblueButton.addActionListener(new ActionListener() {\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tCanvas.setColorSelection(Color.blue);\n\t\t\t}\n\t\t});\n\n\t\tJButton magentaButton = new JButton (\"Magenta\");\n\t\tmagentaButton.setForeground(Color.magenta);\n\t\tcolorPanel.add(magentaButton);\n\t\tmagentaButton.addActionListener(new ActionListener() {\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tCanvas.setColorSelection(Color.magenta);\n\t\t\t}\n\t\t});\n\n\t\tJButton redButton = new JButton (\"Red\");\n\t\tredButton.setForeground(Color.red);\n\t\tcolorPanel.add(redButton);\n\t\tredButton.addActionListener(new ActionListener() {\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tCanvas.setColorSelection(Color.red);\n\t\t\t}\n\t\t});\n\t\t\n\t\tJButton pinkButton = new JButton (\"Pink\");\n\t\tpinkButton.setForeground(Color.pink);\n\t\tcolorPanel.add(pinkButton);\n\t\tpinkButton.addActionListener(new ActionListener() {\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tCanvas.setColorSelection(Color.pink);\n\t\t\t}\n\t\t});\n\t\t\n\t\t\n\t\tframe.setVisible(true);\n\t}", "public void draw(){\n if(isVisible) {\n double diameter = calcularLado(area);\n double side = 2*diameter;\n Canvas circle = Canvas.canvas;\n circle.draw(this, color, \n new Ellipse2D.Double(xPosition, yPosition, \n (int)diameter, side));\n }\n }", "public DrawLineGraph()\n\t{\n\t\tframe = new JFrame();\n\t\tframe.setTitle(\"Line Graph\");\n\t\tframe.setSize(600,400);\n\t\tframe.setLayout(new BorderLayout());\n\t\tframe.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);\n\t\t\n\t\tseries = new XYSeries(\"Cross Entropy Cost Function\");\n\t\tXYSeriesCollection dataset = new XYSeriesCollection(series);\n\t\tchart = ChartFactory.createXYLineChart(\"Cross Entropy Cost Function\", \"Epoch\", \"Error\", dataset);\n\t\tframe.add(new ChartPanel(chart), BorderLayout.CENTER);\n\t\t\n\n\t}", "private void drawAxes()\r\n {\r\n Rectangle rectangle = this.getBounds();\r\n rectangle.setBounds(0,0,300,300);\r\n \r\n xOrigin_ = (int)(rectangle.x);\r\n yOrigin_ = (int)(rectangle.y);\r\n \r\n // Draw x axis\r\n graphics_.drawLine(xOrigin_ + OFFSET,\r\n yOrigin_ + OFFSET,\r\n MAX_AXIS_LENGTH + OFFSET,\r\n yOrigin_ + OFFSET);\r\n \r\n // Draw y axis\r\n graphics_.drawLine(xOrigin_ + OFFSET,\r\n yOrigin_ + OFFSET,\r\n xOrigin_ + OFFSET,\r\n MAX_AXIS_LENGTH + OFFSET);\r\n \r\n // Put labels on Axes\r\n graphics_.drawString(xLabel_, \r\n MAX_AXIS_LENGTH, \r\n (yOrigin_+ X_LABEL_OFFSET));\r\n \r\n graphics_.drawString(yLabel_, \r\n (xOrigin_ + X_LABEL_OFFSET), \r\n (MAX_AXIS_LENGTH + Y_LABEL_OFFSET));\r\n \r\n // Write description of plot below graph\r\n graphics_.drawString(\"PLOT OF \" + xLabel_ + \" VS \" + yLabel_, \r\n PLOT_DESCRIP_X,\r\n PLOT_DESCRIP_Y);\r\n \r\n // Draw tick marks on x axis\r\n final int axisMarkerDist = MAX_AXIS_LENGTH/NUM_MARKERS;\r\n \r\n // Temporary variable representing location where tick marks \r\n // should be drawn\r\n int axisTemp;\r\n \r\n for (int i=1; i<=NUM_MARKERS; i++)\r\n {\r\n axisTemp = i*axisMarkerDist;\r\n \r\n // Draw tick mark\r\n graphics_.drawLine(OFFSET + (axisTemp),\r\n OFFSET,\r\n OFFSET + (axisTemp),\r\n OFFSET - 5 );\r\n \r\n // Draw value above tick mark\r\n graphics_.drawString(String.valueOf( (maxX_/NUM_MARKERS)*i ),\r\n (OFFSET + (axisTemp)),\r\n OFFSET - 20);\r\n }\r\n \r\n // Draw tick marks on y axis\r\n for (int i=1; i<=NUM_MARKERS; i++)\r\n {\r\n axisTemp = i*axisMarkerDist;\r\n // Draw tick mark\r\n graphics_.drawLine( OFFSET - 5,\r\n (OFFSET + (axisTemp)),\r\n OFFSET,\r\n (OFFSET + (axisTemp)));\r\n \r\n // Draw value above tick mark\r\n graphics_.drawString(String.valueOf((maxY_/NUM_MARKERS)*i),\r\n xOrigin_ + X_LABEL_OFFSET,\r\n (OFFSET + (axisTemp)));\r\n }\r\n\r\n\r\n }", "public void plotAction() {\n final PlotProperties props = new PlotProperties();\n addPlotRegister(props);\n\n final PlotManager pm = this.manager.getPlotManager();\n pm.showPlotUI(props);\n }", "ImageViewer(){\n\t\tJFrame frame = new JFrame();\n\t\tJPanel north = new JPanel(); //host two buttons\n\t\topen = new JButton(\"Open\");\n\t\tclose = new JButton(\"Close\");\n\t\tnorth.add(open);\n\t\tnorth.add(close);\n\t\t\n\t\t//register event handler to the buttons\n\t\tClickHandler handler = new ClickHandler();\n\t\topen.addActionListener(handler);\n\t\tclose.addActionListener(handler);\n\t\t\n\t\t//make our viewr canvas\n\t\tcanvas = new MyCanvas();\n\t\tframe.add(canvas, BorderLayout.CENTER);\n\t\t\n\t\t//populate the bottom panel\n\t\tJPanel south = new JPanel();\n\t\tgreeting = new JTextField(20);\n\t\tapply = new JButton(\"Apply\");\n\t\tsouth.add(greeting);\n\t\tsouth.add(apply);\n\t\tframe.add(south, BorderLayout.SOUTH);\n\t\tapply.addActionListener(handler);\n\t\t\n\t\tframe.add(north, BorderLayout.NORTH);\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\tframe.setSize(400,400);\n\t\tframe.setVisible(true);\n\t}", "DrawingCanvas() {\n super();\n\n // ArrayList to hold all shape objects\n shapes = new ArrayList<>();\n\n // ArrayList to hold all point objects\n points = new ArrayList<>();\n\n // Initialize colour arrays\n lineColours = new ArrayList<>();\n fillColours = new ArrayList<>();\n\n lineColours.add(Color.black);\n fillColours.add(null);\n\n clickStatus = true;\n activeTool = 1;\n this.addMouseListener(this);\n this.addMouseMotionListener(new MouseMotionAdapter() {\n public void mouseDragged(MouseEvent e) {\n endDrag = new Point(e.getX(), e.getY());\n repaint();\n }\n });\n\n // Initialize the WriteVec object, so it can be written to\n writeFile = new WriteVec();\n\n // Initialize the ShapeCreator object\n newShape = new ShapeCreator();\n\n // Set colours\n currentFillColour = null;\n currentPenColour = Color.BLACK;\n }" ]
[ "0.7109528", "0.68439007", "0.68300927", "0.6771629", "0.67627877", "0.6704089", "0.6488942", "0.6487569", "0.6389526", "0.63350594", "0.625699", "0.60831493", "0.60028166", "0.59995764", "0.5986783", "0.5944532", "0.59148973", "0.5894884", "0.5858215", "0.5845107", "0.5836516", "0.58304906", "0.5827983", "0.57981896", "0.57901925", "0.57798374", "0.5705756", "0.5684915", "0.56722313", "0.56607217", "0.564474", "0.5620674", "0.56006855", "0.55989283", "0.5588082", "0.5588082", "0.55863845", "0.5555045", "0.55473644", "0.55376035", "0.55259025", "0.5507086", "0.5490125", "0.5475639", "0.54621816", "0.5445359", "0.5444799", "0.54417497", "0.54153484", "0.5412475", "0.5406927", "0.538896", "0.5381922", "0.5371938", "0.53631485", "0.535142", "0.5340104", "0.5323019", "0.53119576", "0.53098464", "0.52959406", "0.5287212", "0.5279342", "0.52750957", "0.52633107", "0.526241", "0.52599466", "0.525001", "0.5242882", "0.5241936", "0.52365196", "0.52314925", "0.52256566", "0.52152216", "0.520359", "0.5195212", "0.51843095", "0.51726407", "0.5160256", "0.51592386", "0.5156734", "0.51560575", "0.5137519", "0.5135813", "0.51338404", "0.51240885", "0.51077986", "0.5104917", "0.51046795", "0.510282", "0.5084506", "0.50794405", "0.50724125", "0.50666887", "0.5045776", "0.504454", "0.5036193", "0.5035485", "0.50299585", "0.502265" ]
0.6845924
1
Returns the optional name of shape, which will be used to draw a legend outside the box.
public Optional<Legend[]> legends() { return Optional.empty(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getShapeName();", "String getLayerShapeName();", "String getShapeLabel();", "public String whatShape();", "IShape getShape(String name);", "void setShapeLabel(String Label);", "ShapeType getShapeType();", "@Override\n public Shape getShape(String shapeType){\n\t\treturn null;\n }", "public String getShapeType(){\n\t\treturn shapeType;\n\t}", "@Override\n\tpublic String getShape() {\n\t\treturn \"Rectangle\";\n\t}", "Shape getShape();", "public String getRandomShape(){\n\t\tRandom randon = new Random();\n\t\treturn Shape.values()[randon.nextInt(Shape.values().length)].toString();\n\t}", "Shape createShape(BorderType borderType);", "public static String getCurrentShapeName() {\n\t\treturn currentShapeName;\n\t}", "@Override\n\tpublic String shape() {\n\t\treturn \"Text\";\n\t}", "public String toString() {\n\t\t\treturn shape;\n\t\t}", "@Test(expected = IllegalArgumentException.class)\n public void testMakingShapeWithNullName() {\n model1.addShape(Oval.createOval(null, new Point.Double(500, 100),\n new Color(0, 0, 1), 6, 100, 60.0, 30.0));\n }", "void displayShape(Shape shape);", "public Shape getShape();", "void drawMancalaShape(Graphics g, int x, int y, int width, int height, int stoneNum, String pitLabel);", "String getPlotterName();", "@Test(expected = IllegalArgumentException.class)\n public void sameShapeName() {\n\n testAnimation.addShape(r, 1, 100);\n\n // new shape with same name\n IShape f = new Rectangle(\"R\",\n 2, 4,\n 3, 50, 10,\n 30.0, 75.0);\n\n testAnimation.addShape(f, 30, 80);\n }", "public void setShape(Info shape) {\n \n }", "int getShapeId();", "void drawShape(Shape s) {\n }", "IShape getCurrentShape();", "@Override\n public String getDescriptiveName() {\n \treturn \"Remove Polygon Necks\";\n }", "void enterShapeEditor(String layer, String shape);", "@Override\r\n\tpublic String getName(EditorInterface editor) {\n\t\treturn \"Ellipse tool\";\r\n\t}", "public IconShape shape() {\n\t\treturn shape;\n\t}", "private static ClosedShape createShape(String[] input) {\r\n String shapeName = input[0];\r\n\r\n switch (shapeName) {\r\n case \"oval\":\r\n return createOval(input);\r\n case \"circle\":\r\n return createCircle(input);\r\n case \"square\":\r\n return createSquare(input);\r\n case \"rect\":\r\n return createRect(input);\r\n case \"hexagon\":\r\n return createHexagon(input);\r\n default:\r\n throw new IllegalArgumentException();\r\n }\r\n }", "public Shape getShape() {\n\t\treturn null;\n\t}", "@Override//overring a library function\n public String toString() {\n return shape + \" \" + name;//toString() is called everytime printing is done\n }", "public void setShape(String shape)\n\t{\n \t \n \tlength.setVisible(false); \n \twidth.setVisible(false); \n \theight.setVisible(false); \n \tradius.setVisible(false); \n \tradius2.setVisible(false); \n \troll.setVisible(false); \n \tpitch.setVisible(false); \n \tyaw.setVisible(false); \n \tquality.setVisible(false); \n \tsides.setVisible(false);\n \t\n \tlengthText.setVisible(false); \n \twidthText.setVisible(false); \n \theightText.setVisible(false); \n \tradiusText.setVisible(false); \n \tradius2Text.setVisible(false); \n \trollText.setVisible(false); \n \tpitchText.setVisible(false); \n \tyawText.setVisible(false); \n \tqualityText.setVisible(false); \n \tsidesText.setVisible(false);\n \t\n\t\tif(shape.equals(\"Cube\"))\n \t{\n \t\tlengthText.setVisible(true);\n \t\tlength.setVisible(true);\n \t\twidthText.setVisible(true);\n \t\twidth.setVisible(true);\n \t\theightText.setVisible(true);\n \t\theight.setVisible(true);\n \t\trollText.setVisible(true);\n \t\troll.setVisible(true);\n \t\tpitchText.setVisible(true);\n \t\tpitch.setVisible(true);\n \t\tyawText.setVisible(true);\n \t\tyaw.setVisible(true);\n \t\t\n \t\tlength.setText(\"1\");\n \t\twidth.setText(\"1\");\n \t\theight.setText(\"1\");\n \t\troll.setText(\"0\");\n \t\tpitch.setText(\"0\");\n \t\tyaw.setText(\"0\");\n \t}\n \telse if(shape.equals(\"Sphere\"))\n \t{\n \t\tradiusText.setVisible(true);\n \t\tradius.setVisible(true);\n \t\tqualityText.setVisible(true);\n \t\tquality.setVisible(true);\n \t\t\n \t\tradius.setText(\"1\");\n \t\tquality.setText(\"15\");\n \t}\n \telse if(shape.equals(\"Prism\"))\n \t{\n \t\theightText.setVisible(true);\n \t\theight.setVisible(true);\n \t\tradiusText.setVisible(true);\n \t\tradius.setVisible(true);\n \t\tsidesText.setVisible(true);\n \t\tsides.setVisible(true);\n \t\trollText.setVisible(true);\n \t\troll.setVisible(true);\n \t\tpitchText.setVisible(true);\n \t\tpitch.setVisible(true);\n \t\tyawText.setVisible(true);\n \t\tyaw.setVisible(true);\n \t\t\n \t\theight.setText(\"1\");\n \t\tradius.setText(\"1\");\n \t\tsides.setText(\"4\");\n \t\troll.setText(\"0\");\n \t\tpitch.setText(\"0\");\n \t\tyaw.setText(\"0\");\n \t\t\n \t}\n \telse if(shape.equals(\"Cylinder\"))\n \t{\n \t\theightText.setVisible(true);\n \t\theight.setVisible(true);\n \t\tradiusText.setVisible(true);\n \t\tradius.setVisible(true);\n \t\trollText.setVisible(true);\n \t\troll.setVisible(true);\n \t\tpitchText.setVisible(true);\n \t\tpitch.setVisible(true);\n \t\t//yawText.setVisible(true);\n \t\t//yaw.setVisible(true);\n \t\t\n \t\theight.setText(\"1\");\n \t\tradius.setText(\"1\");\n \t\troll.setText(\"0\");\n \t\tpitch.setText(\"0\");\n \t\t//yaw.setText(\"0\");\n \t}\n \telse if(shape.equals(\"Torus\"))\n \t{\n \t\tradiusText.setVisible(true);\n \t\tradius.setVisible(true);\n \t\tradius2Text.setVisible(true);\n \t\tradius2.setVisible(true);\n \t\tqualityText.setVisible(true);\n \t\tquality.setVisible(true);\n \t\trollText.setVisible(true);\n \t\troll.setVisible(true);\n \t\tpitchText.setVisible(true);\n \t\tpitch.setVisible(true);\n \t\tyawText.setVisible(true);\n \t\tyaw.setVisible(true);\n \t\t\n \t\tradius.setText(\"1\");\n \t\tradius2.setText(\"2\");\n \t\tquality.setText(\"15\");\n \t\troll.setText(\"0\");\n \t\tpitch.setText(\"0\");\n \t\tyaw.setText(\"0\");\n \t}\n \t\n\t}", "public interface Shape {\n\n String getDescription();\n}", "org.openxmlformats.schemas.drawingml.x2006.main.STGeomGuideName xgetName();", "protected Shape getShape()\n {\n return null;\n }", "LegendType createLegendType();", "@Override\n\tprotected Shape getShape() {\n\t\treturn null;\n\t}", "public Shape getShape() {\n return null;\n }", "public void setShapeType(ShapeType shapeType) {\n }", "LabeledShape getLabeledShape();", "public ShapeType getShape() {\n\t\treturn this.shape;\n\t}", "public Shape getShape() { return shape; }", "public String toString() {\n String str = \"\";\n str += \"Shape: \" + name + \"\\n\";\n str += \"Center: \" + \"(\" + (xPosition+radius) + \",\" + (yPosition+radius) + \")\" + \"\\n\";\n str += \"Radius: \" + radius + \"\\n\";\n str += \"Color: \" + color + \"\\n\";\n str += \"Selected: \" + isSelected + \"\\n\";\n return str;\n }", "@Override\n\tpublic void getShape() {\n\n\t}", "void addShape(IShape shape);", "public static ShapeType optionallyDeriveShapeType(String type) {\n switch (type) {\n case \"rectangle\":\n return ShapeType.RECTANGLE;\n case \"ellipse\":\n return ShapeType.ELLIPSE;\n default:\n return null;\n }\n }", "private void addShapeNameButtons() {\n popupPanel.add(SHAPE_NAME_LABEL);\n ButtonGroup bg = new ButtonGroup();\n for (String name : model.getIds()) {\n JRadioButton jb = new JRadioButton(name);\n bg.add(jb);\n shapeNames.add(jb);\n popupPanel.add(jb);\n }\n\n }", "@Override\n\tpublic String getShapeType() {\n\t\treturn \"Rectangle\";\n\t}", "@Override\n\tpublic String getName() {\n\t\treturn \"Circle\";\n\t}", "@Override\n public String getName() {\n return \"Circle\";\n }", "public Shape getShape() {\n\treturn shape;\n }", "public void drawShape(Shape shape);", "public Rectangle getShape() \n\t{\n\t\treturn box;\n\t}", "public Shape getShape(String shapeType) {\n if (shapeType == null)\n return null;\n\n switch (ShapeType.valueOf(shapeType)) {\n case CIRCLE:\n return circle;\n case RECTANGLE:\n return rectangle;\n case SQUARE:\n return square;\n default:\n return null;\n }\n }", "public String toString() {\r\n return \"Shape: \" + this.getClass().getName() +\r\n \"\\t radius: \" + radius;\r\n }", "public Shape getShape() {\n\t\treturn shape;\n\t}", "public Shape getShape() {\n return shape;\n }", "public Shape getShape() {\r\n\t\t\treturn shape;\r\n\t\t}", "@Override\n\tpublic void BuildShape(Graphics g) {\n\t\t\n\t}", "List<String> getShapePanelInput();", "private static <T extends Shape> void showShapeInfo(T shape){\r\n\t\t// Implement method and handle exception if there's not shape created\r\n\t\tif(shapes[0] != null){\r\n\t\t\tSystem.out.println();\r\n\t\t\tSystem.out.println(shapes[0].toString());\r\n\t\t}\r\n\t\telse{\r\n\t\t\ttry {\r\n\t\t\t\tthrow new IndexOutOfBoundsException(\"No shape has been created yet.\");\r\n\t\t\t} catch (Exception e) {\r\n\t\t\t\tSystem.out.println(e);\r\n\t\t\t}\r\n\t\t}\r\n\t}", "public void strokeShape(Shape shape);", "AbstractShape(String name, double x, double y, double w, double h, int r, int g, int b) {\n this.name = name;\n this.x = x;\n this.y = y;\n this.w = w;\n this.h = h;\n this.r = r;\n this.g = g;\n this.b = b;\n }", "IShape getEndShape();", "public Shape(ShapeType shape, Color color, int width, int height, int posX, int posY, String name) {\n\t\tsuper(posX, posY, width, height, name);\n\t\tthis.shape = shape;\n\t\tthis.color = color;\n\t}", "@Override\n\tpublic int getShapeId()\n\t{\n\t\treturn shapeId;\n\t}", "public String saveShape(){\n\t\tString s = \"\";\n\t\ts+=\"Circle\\n\";\n\t\ts+= this.circle.toString();\n\t\tint xPoint = this.circle.getCentre().getX();\n\t\tint yPoint = this.circle.getCentre().getY();\n\t\tint radius = this.circle.getRadius();\n\t\ts+= \"\\tcenter:(\"+ xPoint + \",\"+ yPoint+\")\\n\";\n\t\ts+= \"\\tradius:\"+ radius+\"\\n\";\n\t\ts+= \"End Circle\\n\";\n\t\t\n\t\treturn s;\n\t}", "private static void createShape(){\r\n\t\tSystem.out.println();\r\n\t\tSystem.out.println(\"Choose shape to create:\");\r\n\t\tSystem.out.println(\"1- Square\");\r\n\t\tSystem.out.println(\"2- Rectangle\");\r\n\t\tSystem.out.println(\"3- Triangle\");\r\n\t\tSystem.out.println();\r\n\t\tint answer = getNumberAnswer();\r\n\t\tswitch (answer) {\r\n\t\tcase 1:\r\n\t\t\tSystem.out.println(\"Provide side measuremnt:\");\r\n\t\t\tshapes[0] = new Square(getNumberAnswer());\r\n\t\t\tbreak;\r\n\t\tcase 2:\r\n\t\t\tSystem.out.println(\"Provide height and width measuremnts separately:\");\r\n\t\t\tshapes[0] = new Rectangle(getNumberAnswer(), getNumberAnswer());\r\n\t\t\tbreak;\r\n\t\tcase 3:\r\n\t\t\tSystem.out.println(\"Provide base, side 1, side 2 and height measuremnts separately:\");\r\n\t\t\tshapes[0] = new Triangle(getNumberAnswer(), getNumberAnswer(), getNumberAnswer(), getNumberAnswer());\r\n\t\t\tbreak;\r\n\t\tdefault:\r\n\t\t\tSystem.out.println(\"That's not actually an option.\");\r\n\t\t\tbreak;\r\n\t\t}\r\n\t}", "public String toString() {\n\t\treturn String.format(\"Shape: %s,Color: %s\", shape, color);\n\t}", "abstract Shape nodeShape(String node, Graphics2D g2d);", "void drawPitShape(Graphics g, int x, int y, int width, int height, int stoneNum, String pitLabel);", "public Shape createShape(int shapeId, String name) {\n return registeredShapes.get(shapeId).create(name);\n }", "@DISPID(1610940422) //= 0x60050006. The runtime will prefer the VTID if present\n @VTID(28)\n Factory shapeFactory();", "public String getName() {\n Boolean color = this.getColor();\n if (!color) {\n return \"bQ\";\n }\n return \"wQ\";\n }", "public void setShape(ShapeType shape) {\n\t\tthis.shape = shape;\n\t}", "void xsetName(org.openxmlformats.schemas.drawingml.x2006.main.STGeomGuideName name);", "@Override\n\tpublic String getName() {\n\t\treturn \"Square\";\n\t}", "public static Style getDefault() { return Style.SHAPE; }", "@Override\n public String getName() {\n return \"Polygons 2D Module\";\n }", "private String drawSingleShape(String name, ShapeType type, List<Shape> motions) {\n StringBuilder svg = new StringBuilder();\n Shape initShape = motions.get(0);\n\n if (isRectangleOrSquare(type)) {\n svg.append(\"<rect \");\n\n svg.append(\"id=\\\"\").append(name).append(\"\\\" \").append(\"x=\\\"\")\n .append(initShape.getPosition().getX()).append(\"\\\" \").append(\"y=\\\"\")\n .append(initShape.getPosition().getY()).append(\"\\\" \").append(\"width=\\\"\")\n .append(initShape.getWidth()).append(\"\\\" \").append(\"height=\\\"\")\n .append(initShape.getHeight()).append(\"\\\" \").append(\"fill=\\\"rgb(\")\n .append(initShape.getRValue()).append(\",\").append(initShape.getGValue()).append(\",\")\n .append(initShape.getBValue()).append(\")\\\" visibility=\\\"visible\\\">\\n\");\n } else {\n svg.append(\"<ellipse \");\n\n svg.append(\"id=\\\"\").append(name).append(\"\\\" \").append(\"cx=\\\"\")\n .append(initShape.getPosition().getX()).append(\"\\\" \").append(\"cy=\\\"\")\n .append(initShape.getPosition().getY()).append(\"\\\" \").append(\"rx=\\\"\")\n .append(initShape.getWidth()).append(\"\\\" \").append(\"ry=\\\"\")\n .append(initShape.getHeight()).append(\"\\\" \").append(\"fill=\\\"rgb(\")\n .append(initShape.getRValue()).append(\",\").append(initShape.getGValue()).append(\",\")\n .append(initShape.getBValue()).append(\")\\\" visibility=\\\"visible\\\">\\n\");\n }\n\n for (int i = 1; i < motions.size(); i++) {\n\n Shape prevMotion = motions.get(i - 1);\n Shape currMotion = motions.get(i);\n\n if (this.isRectangleOrSquare(type)) {\n svg.append(\"<animate attributeType=\\\"xml\\\" begin=\\\"\")\n .append((prevMotion.getTime() / this.speed) * 1000).append(\"ms\\\" dur=\\\"\")\n .append((((currMotion.getTime() - prevMotion.getTime()) / this.speed) * 1000))\n .append(\"ms\\\" \")\n .append(\"attributeName=\\\"x\\\" from=\\\"\").append(prevMotion.getPosition().getX())\n .append(\"\\\"\").append(\" to=\\\"\")\n .append(currMotion.getPosition().getX()).append(\"\\\"\").append(\" fill=\\\"freeze\\\"/>\\n\")\n .append(\"<animate attributeType=\\\"xml\\\" begin=\\\"\")\n .append((prevMotion.getTime() / this.speed) * 1000)\n .append(\"ms\\\" dur=\\\"\")\n .append((((currMotion.getTime() - prevMotion.getTime()) / this.speed) * 1000))\n .append(\"ms\\\" \")\n .append(\"attributeName=\\\"y\\\" from=\\\"\").append(prevMotion.getPosition().getY())\n .append(\"\\\"\").append(\" to=\\\"\").append(currMotion.getPosition().getY()).append(\"\\\"\")\n .append(\" fill=\\\"freeze\\\"/>\\n\")\n .append(\"<animate attributeType=\\\"xml\\\" begin=\\\"\")\n .append((prevMotion.getTime() / this.speed) * 1000)\n .append(\"ms\\\" dur=\\\"\")\n .append((((currMotion.getTime() - prevMotion.getTime()) / this.speed) * 1000))\n .append(\"ms\\\" \")\n .append(\"attributeName=\\\"width\\\" from=\\\"\").append(prevMotion.getWidth())\n .append(\"\\\"\").append(\" to=\\\"\").append(currMotion.getWidth()).append(\"\\\"\")\n .append(\" fill=\\\"freeze\\\"/>\\n\")\n .append(\"<animate attributeType=\\\"xml\\\" begin=\\\"\")\n .append((prevMotion.getTime() / this.speed) * 1000)\n .append(\"ms\\\" dur=\\\"\")\n .append((((currMotion.getTime() - prevMotion.getTime()) / this.speed) * 1000))\n .append(\"ms\\\" \")\n .append(\"attributeName=\\\"height\\\" from=\\\"\").append(prevMotion.getHeight())\n .append(\"\\\"\").append(\" to=\\\"\").append(currMotion.getHeight()).append(\"\\\"\")\n .append(\" fill=\\\"freeze\\\"/>\\n\")\n .append(\"<animate attributeType=\\\"xml\\\" begin=\\\"\")\n .append((prevMotion.getTime() / this.speed) * 1000)\n .append(\"ms\\\" dur=\\\"\")\n .append((((currMotion.getTime() - prevMotion.getTime()) / this.speed) * 1000))\n .append(\"ms\\\" \")\n .append(\"attributeName=\\\"fill\\\" from=\").append(\"\\\"rgb(\")\n .append(prevMotion.getRValue()).append(\",\").append(prevMotion.getGValue()).append(\",\")\n .append(prevMotion.getBValue()).append(\")\\\"\")\n .append(\" to=\").append(\"\\\"rgb(\")\n .append(currMotion.getRValue()).append(\",\").append(currMotion.getGValue()).append(\",\")\n .append(currMotion.getBValue()).append(\")\\\"/>\").append(\"\\n\");\n } else {\n\n svg.append(\"<animate attributeType=\\\"xml\\\" begin=\\\"\")\n .append((prevMotion.getTime() / this.speed) * 1000).append(\"ms\\\" dur=\\\"\")\n .append((((currMotion.getTime() - prevMotion.getTime()) / this.speed) * 1000))\n .append(\"ms\\\" \")\n .append(\"attributeName=\\\"cx\\\" from=\\\"\").append(prevMotion.getPosition().getX())\n .append(\"\\\"\").append(\" to=\\\"\")\n .append(currMotion.getPosition().getX()).append(\"\\\"\").append(\" fill=\\\"freeze\\\"/>\\n\")\n .append(\"<animate attributeType=\\\"xml\\\" begin=\\\"\")\n .append((prevMotion.getTime() / this.speed) * 1000)\n .append(\"ms\\\" dur=\\\"\")\n .append((((currMotion.getTime() - prevMotion.getTime()) / this.speed) * 1000))\n .append(\"ms\\\" \")\n .append(\"attributeName=\\\"cy\\\" from=\\\"\").append(prevMotion.getPosition().getY())\n .append(\"\\\"\").append(\" to=\\\"\").append(currMotion.getPosition().getY()).append(\"\\\"\")\n .append(\" fill=\\\"freeze\\\"/>\\n\").append(\"<animate attributeType=\\\"xml\\\" begin=\\\"\")\n .append((prevMotion.getTime() / this.speed) * 1000)\n .append(\"ms\\\" dur=\\\"\")\n .append(((currMotion.getTime() - prevMotion.getTime()) / this.speed) * 1000)\n .append(\"ms\\\" \")\n .append(\"attributeName=\\\"rx\\\" from=\\\"\").append(prevMotion.getWidth())\n .append(\"\\\"\").append(\" to=\\\"\").append(currMotion.getWidth()).append(\"\\\"\")\n .append(\" fill=\\\"freeze\\\"/>\\n\")\n .append(\"<animate attributeType=\\\"xml\\\" begin=\\\"\")\n .append((prevMotion.getTime() / this.speed) * 1000)\n .append(\"ms\\\" dur=\\\"\")\n .append((((currMotion.getTime() - prevMotion.getTime()) / this.speed) * 1000))\n .append(\"ms\\\" \")\n .append(\"attributeName=\\\"ry\\\" from=\\\"\").append(prevMotion.getHeight())\n .append(\"\\\"\").append(\" to=\\\"\").append(currMotion.getHeight()).append(\"\\\"\")\n .append(\" fill=\\\"freeze\\\"/>\\n\")\n .append(\"<animate attributeType=\\\"xml\\\" begin=\\\"\")\n .append((prevMotion.getTime() / this.speed) * 1000)\n .append(\"ms\\\" dur=\\\"\")\n .append((((currMotion.getTime() - prevMotion.getTime()) / this.speed) * 1000))\n .append(\"ms\\\" \")\n .append(\"attributeName=\\\"fill\\\" from=\").append(\"\\\"rgb(\")\n .append(prevMotion.getRValue()).append(\",\").append(prevMotion.getGValue()).append(\",\")\n .append(prevMotion.getBValue()).append(\")\\\"\")\n .append(\" to=\").append(\"\\\"rgb(\")\n .append(currMotion.getRValue()).append(\",\").append(currMotion.getGValue()).append(\",\")\n .append(currMotion.getBValue()).append(\")\\\"/>\").append(\"\\n\");\n }\n\n }\n\n if (this.isRectangleOrSquare(type)) {\n svg.append(\"</rect>\");\n } else {\n svg.append(\"</ellipse>\");\n }\n return svg.toString();\n }", "@Override\n public String getName() {\n return \"RemovePolygonNecks\";\n }", "String getBrickName();", "@Override\n public FillableShape getShape()\n {\n return FillableShape.this;\n }", "public String Name() {\t\t\r\n\t\treturn BrickFinder.getDefault().getName();\r\n\t}", "@Test(expected = IllegalArgumentException.class)\n public void testNoShapeWithSameName() {\n model1.addShape(Rectangle.createRectangle(\"R\", new Point.Double(500, 200),\n new Color(0, 0, 0), 0, 10, 10, 10));\n model1.addShape(Oval.createOval(\"R\", new Point.Double(500, 200),\n new Color(0, 0, 0), 0, 10, 10, 10));\n }", "@Override\r\n Shape getOutline ()\r\n {\r\n return null;\r\n }", "@Test(expected = IllegalArgumentException.class)\n public void testNoShapeWithSameNameCaseInsensitive() {\n model1.addShape(Rectangle.createRectangle(\"R\", new Point.Double(500, 200),\n new Color(0, 0, 0), 0, 10, 10, 10));\n model1.addShape(Oval.createOval(\"r\", new Point.Double(500, 200),\n new Color(0, 0, 0), 0, 10, 10, 10));\n }", "public Shape getShape() \n {\n return new EllipseShape(new Extent(3,3), Color.RED,true);\n }", "@Override\n public void displayShape() {\n System.out.println(\"Shape is Circle\");\n }", "public Shape getShape(String shapeType)\r\n {\r\n if(shapeType == null)\r\n {\r\n return null;\r\n }\t\r\n \r\n if(shapeType.equals(\"Circle\"))\r\n {\r\n return new Circle();\r\n }\r\n else if(shapeType.equals(\"Rectangle\"))\r\n {\r\n return new Rectangle();\r\n }\r\n else if(shapeType.equals(\"Square\"))\r\n {\r\n return new Square();\r\n }\r\n \r\n return null;\r\n }", "@Override\n\tpublic String toString() {\n\t\treturn \"Group \" + groupName + \" (\" + shapes.size() + \") \";\n\t}", "public void setNodeShape(String shape) {\n StringBuffer command = new StringBuffer(\"node [shape=\");\n command.append(shape);\n command.append(\"];\");\n this.drawElements.add(new DotGraphCommand(new String(command)));\n }", "IShape getStartShape();", "public void setMyShape(int shapeIndex){this.myShape = shapeIndex;}", "public Shape getMyShape() {\n\t\treturn myShape;\n\t}", "public void paintShape(RMShapePainter aPntr)\n{\n // If fill/stroke present, have them paint\n if(getFill()!=null)\n getFill().paint(aPntr, this);\n if(getStroke()!=null && !getStrokeOnTop())\n getStroke().paint(aPntr, this);\n}", "protected String getPatchName(Patch p) {\n if (patchNameSize == 0)\n return (\"-\");\n try {\n return new String(p.sysex, patchNameStart, patchNameSize, \"US-ASCII\");\n } catch (UnsupportedEncodingException ex) {\n return \"-\";\n }\n }", "private void drawShape(Graphics g, IShape shape) {\r\n Color color = shape.getColor();\r\n if (shape.getPosition() != null) {\r\n int x = shape.getPosition().getX();\r\n int y = shape.getPosition().getY();\r\n int width = shape.getWidth();\r\n int height = shape.getHeight();\r\n\r\n\r\n switch (shape.getShapeType()) {\r\n case \"Ellipse\":\r\n g.setColor(color);\r\n g.fillOval(x, y, width, height);\r\n g.drawOval(x, y, width, height);\r\n break;\r\n case \"Rectangle\":\r\n g.setColor(color);\r\n g.fillRect(x, y, width, height);\r\n g.drawRect(x, y, width, height);\r\n break;\r\n case \"Plus\":\r\n g.setColor(color);\r\n int width1 = width ;\r\n int height2 = height;\r\n int height1 = height / 2;\r\n int width2 = width / 2;\r\n int x1 = x;\r\n int y1 = y + height / 4;\r\n int x2 = x + width / 4;\r\n int y2 = y;\r\n g.fillRect(x1, y1, width1, height1);\r\n g.fillRect(x2, y2, width2, height2);\r\n break;\r\n default:\r\n return;\r\n }\r\n }\r\n }", "public IconBuilder shape(IconShape shape) {\n\t\tthis.shape = shape;\n\t\treturn this;\n\t}" ]
[ "0.7734384", "0.7285879", "0.70694894", "0.6543786", "0.6446187", "0.6313153", "0.6136382", "0.59814614", "0.5926498", "0.5906175", "0.587012", "0.58673894", "0.58637494", "0.58426034", "0.5836138", "0.56631565", "0.56570345", "0.5647842", "0.56338865", "0.5615239", "0.56017935", "0.55483156", "0.5516027", "0.55041003", "0.5499306", "0.5491184", "0.5480521", "0.5480464", "0.5472481", "0.5465153", "0.5464731", "0.5458647", "0.5440402", "0.5430592", "0.5421396", "0.541409", "0.5411957", "0.5395804", "0.5380931", "0.5370232", "0.5365634", "0.5363276", "0.53591865", "0.53553206", "0.5353566", "0.5349904", "0.53497696", "0.5348409", "0.53450584", "0.5344561", "0.53431606", "0.5319835", "0.5306746", "0.53055257", "0.5300265", "0.5298832", "0.52943087", "0.5284521", "0.5274082", "0.5268255", "0.52637833", "0.5262667", "0.5257915", "0.52401304", "0.52164716", "0.5204192", "0.52001023", "0.51672727", "0.516391", "0.514384", "0.5140178", "0.51323", "0.5124933", "0.5124854", "0.5119156", "0.5115071", "0.5113737", "0.510977", "0.5108211", "0.50962055", "0.50923055", "0.5082023", "0.5064333", "0.50370425", "0.5032668", "0.5025187", "0.5014272", "0.5003091", "0.50015116", "0.49849007", "0.49709913", "0.4965034", "0.4955161", "0.4953491", "0.49405327", "0.49360523", "0.49330246", "0.49311203", "0.49168167", "0.4916044", "0.49157768" ]
0.0
-1
Returns a optional tool tip for the object at given coordinates.
public Optional<String> tooltip(double[] coord) { return Optional.empty(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract String getToolTip();", "@Override\n public void setTooltip(String arg0)\n {\n \n }", "@Override\n public String getTooltip()\n {\n return null;\n }", "public interface ToolTipable {\n String getInfoFromPosition(int i, Part part);\n}", "public String getToolTip() {\n\treturn this.toolTip;\n }", "void showTooltip();", "@Override\n\tpublic void setToolTip(String tooltip) {\n\t\t\n\t}", "public String getToolTip(java.awt.Point position, long millis) {\n return getName() + \"\\n\"\n + getClass().getName() + \"\\n\"\n + \"Start = \" + isStart() + \"\\n\"\n + \"AFU ID = \" + getAfuId() + \"\\n\"\n + \"value<\" + (n_bits - 1) + \":0>= \" + vector.toBinString() + \"\\n\"\n + vector.toHexString() + \" / \" + vector.toDecString();\n }", "public JToolTip getCustomToolTip() {\n // to be overwritten by subclasses\n return null;\n }", "public boolean toolTipRequest(float[] point, DiagramContext context);", "public JToolTip createToolTip(){\n return new CreatureTooltip(this);\n }", "@Override\r\n\tpublic String getToolTipText() {\n\t\treturn \"\";\r\n\t}", "@Override\r\n public String getTooltip() {\r\n return TOOLTIP;\r\n }", "default void setTooltip(@Nullable String tooltip) {}", "@Override\r\n\tpublic String getTips() {\n\t\treturn null;\r\n\t}", "public String getToolTipText() {\n\t\treturn \"\";\r\n\t}", "public TooltipDisplay getTooltipDisplay();", "public DefaultTip(String name, Object tip)\n/* */ {\n/* 39 */ this.name = name;\n/* 40 */ this.tip = tip;\n/* */ }", "@Nullable\n\tdefault String getTooltip()\n\t{\n\t\treturn null;\n\t}", "public DefaultTip() {}", "public java.lang.String getTip()\n {\n return this.tip;\n }", "public static String getToolTipText() {\n\t\treturn (toolTipText);\n\t}", "String getTooltip() {\n return bufTip;\n }", "default String getTooltip() {\n throw new UnsupportedOperationException();\n }", "public String getToolTipText() {\n return this.toString();\n }", "public String getToolTipText () {\r\n\tcheckWidget();\r\n\treturn toolTipText;\r\n}", "public abstract String getTipForTextField();", "public String getDetails()\n\t{\n\t return \"Point (\"+x+\",\"+y+\")\";\n\t}", "public void setTooltipText() { tooltip.setText(name); }", "public String generateToolTipFragment(String toolTipText) {\n/* 88 */ return \" onMouseOver=\\\"return stm(['\" + \n/* 89 */ ImageMapUtilities.javascriptEscape(this.title) + \"','\" + \n/* 90 */ ImageMapUtilities.javascriptEscape(toolTipText) + \"'],Style[\" + this.style + \"]);\\\"\" + \" onMouseOut=\\\"return htm();\\\"\";\n/* */ }", "protected String getToolTip( MouseEvent event )\n {\n SmartText descr = new SmartText();\n int column = treeTable.columnAtPoint( event.getPoint() );\n if ( column == 0 )\n {\n int row = treeTable.rowAtPoint( event.getPoint() );\n if ( row == 0 )\n {\n descr.setText( componentModel.getTypeDescription() );\n }\n else\n {\n Object value = treeTable.getValueAt( row, 1 );\n if ( value instanceof Property )\n {\n Property p = ( Property )value;\n descr.setText( p.getToolTip() );\n }\n }\n\n // perform line wrapping now\n descr.setText( \"<html>\" + descr.insertBreaks( \"<br>\", toolTipWidth, true ) + \"</html>\" );\n return descr.toString();\n }\n return null;\n }", "public String getToolTip ()\r\n\t{\r\n\t\tif (!((imageName.equals(\"GND\")) || (imageName.equals(\"VCC\")) || (imageName.equals(\"BOX\")) || (imageName.equals(\"OUTPUT\"))))\r\n\t\t{\r\n\t\t\tthis.toolTip = \"<html><img src=\"+this.imageName+\"></html>\";\r\n\t\t\treturn this.toolTip;\r\n\t\t}\r\n\t\t\r\n\t\telse if (imageName.equals(\"GND\"))\r\n\t\t\treturn \"GND\";\r\n\t\t\r\n\t\telse if (imageName.equals(\"VCC\"))\r\n\t\t\treturn \"VCC\";\r\n\t\t\r\n\t\telse if (imageName.equals(\"OUTPUT\"))\r\n\t\t\treturn \"Output window\";\r\n\t\t\r\n\t\telse\r\n\t\t\treturn \"TODO\";\r\n\t}", "public String getTooltip() {\n\t\treturn tooltip;\n\t}", "public String generateToolTip(ContourDataset data, int item) {\n/* */ String xString;\n/* 83 */ double x = data.getXValue(0, item);\n/* 84 */ double y = data.getYValue(0, item);\n/* 85 */ double z = data.getZValue(0, item);\n/* */ \n/* */ \n/* 88 */ if (data.isDateAxis(0)) {\n/* 89 */ SimpleDateFormat formatter = new SimpleDateFormat(\"MM/dd/yyyy hh:mm:ss\");\n/* */ \n/* 91 */ StringBuffer strbuf = new StringBuffer();\n/* 92 */ strbuf = formatter.format(new Date((long)x), strbuf, new FieldPosition(false));\n/* */ \n/* */ \n/* 95 */ xString = strbuf.toString();\n/* */ } else {\n/* */ \n/* 98 */ xString = this.valueForm.format(x);\n/* */ } \n/* 100 */ if (!Double.isNaN(z)) {\n/* 101 */ return \"X: \" + xString + \", Y: \" + this.valueForm\n/* 102 */ .format(y) + \", Z: \" + this.valueForm\n/* 103 */ .format(z);\n/* */ }\n/* */ \n/* 106 */ return \"X: \" + xString + \", Y: \" + this.valueForm\n/* 107 */ .format(y) + \", Z: no data\";\n/* */ }", "public void setToolTipText (String string) {\r\n\tcheckWidget();\r\n\ttoolTipText = string;\r\n}", "public void setTip(java.lang.String tip)\n {\n this.tip = tip;\n }", "public String getTip(int tipNo) {\n\t\treturn tips.get(tipNo);\n\t}", "protected void setToolTip(String toolTip) {\n\tthis.toolTip = toolTip;\n }", "@Override\n\tpublic String getToolTipText() {\n\t\treturn \"shopEditorToolTipText\";\n\t}", "public abstract ITooltipData getTooltipData();", "public static String getToolTipOfObject(By byObj) throws IllegalArgumentException, IllegalAccessException, InterruptedException, IOException {\n\t\tString tooltip = \"\";\n\t\tString t1 = driver.findElement(byObj).getAttribute(\"tooltip-text\");\n\t\tif(t1!=null) {\n\t\t\ttooltip = t1;\n\t\t}\n\t\telse {\n\t\t\thoverMouseToObject(byObj);\n\t\t\tsnooze(1000);\n\t\t\tif(getExistentStatus(byToolTip_Object)) {\n\t\t\t\tString t2 = driver.findElement(byToolTip_Object).getText();\n\t\t\t\ttooltip = t2;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tString objectName = getObjectName(byObj);\n\t\t\t\ttooltip = \"\";\n\t\t\t\tTestNotify.warning(GenLogTC() + \"There is no tooltip for the object [\" + objectName +\"].\");\n\t\t\t}\n\t\t}\t\n\t\treturn tooltip;\n\t}", "@Override\r\n\tpublic String getToolTipText(MouseEvent event) {\r\n return toolTipWriter.write(getToolTipText(), event.getPoint());\r\n }", "@Override\n\tpublic boolean isCustomTip() {\n\t\treturn false;\n\t}", "protected Boolean hasToolTipText(Object value) {\n\t\treturn false;\n }", "public void setTooltipDisplay(TooltipDisplay tooltipDisplay);", "public String getToolTip(ViewEvent anEvent)\n {\n LineMarker<?>[] markers = getMarkers();\n LineMarker<?> marker = ArrayUtils.findMatch(markers, m -> m.contains(_mx, _my));\n return marker != null ? marker.getToolTip() : null;\n }", "@Exported(visibility = 999)\n public String getTooltip() {\n return tooltip;\n }", "public ToolTipView getToolTipView() { return _toolTipView; }", "public IFigure getTooltip() {\n return this.tooltip;\n }", "@Override\r\n\tpublic IFigure getTooltip(Object entity) {\n\t\tif (entity instanceof GraphNode) {\r\n\t\t\tGraphNode node = (GraphNode) entity;\r\n\t\t\treturn new Label(node.getName());\r\n\t\t} else if (entity instanceof EntityConnectionData) {\r\n\t\t\tEntityConnectionData conn = (EntityConnectionData) entity;\r\n\t\t\tGraphNode caller = (GraphNode) conn.source;\r\n\t\t\tGraphNode callee = (GraphNode) conn.dest;\r\n\t\t\treturn new Label(caller.getName() + \"-\" + callee.getName());\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "public void setToolTipText(String text)\n/* */ {\n/* 227 */ putClientProperty(\"ToolTipText\", text);\n/* */ }", "@Override\r\n\tpublic String getToolTipText(MouseEvent e) {\r\n\t\tMCLParticleSet particles = model.getParticles();\r\n\t\tif (particles == null) return null;\r\n\t\t\r\n\t\t// If the mouse is on a article, show its weight\r\n\t\tfloat x = e.getX()/ parent.pixelsPerUnit + viewStart.x;\r\n\t\tfloat y = (getHeight() - e.getY())/ parent.pixelsPerUnit + viewStart.y;\r\n\t\tint i = particles.findClosest(x,y);\r\n\t\tMCLParticle part = particles.getParticle(i);\r\n\t\tPose p = part.getPose(); \r\n\t\tif (Math.abs(p.getX() - x) <= 2f && Math.abs(p.getY() - y) <= 2f) return \"Weight \" + part.getWeight();\r\n\t\telse return null;\r\n\t}", "public String generateToolTip(XYDataset data, int series, int item) {\n\n return getToolTipText(series, item);\n\n }", "@Override\n public StringTextComponent getTooltip() {\n return this.tooltip;\n }", "@Override\n\tpublic String getToolTipText() {\n\t\treturn \"Show the clusters\";\n\t}", "String getTooltip() {\n return mTooltip;\n }", "public SafeHtml getTooltip(C value) {\n return tooltipFallback;\n }", "public Shell showTooltip(Shell parent, int x, int y) {\r\n\t\tShell tooltip = new Shell(parent, SWT.TOOL | SWT.ON_TOP);\r\n\t\ttooltip.setLayout(new GridLayout());\r\n\r\n\t\ttooltip.setBackground(tooltip.getDisplay().getSystemColor(SWT.COLOR_INFO_BACKGROUND));\r\n\t\ttooltip.setBackgroundMode(SWT.INHERIT_FORCE);\r\n\r\n\t\tLabel lbContent = new Label(tooltip, SWT.NONE);\r\n\t\tlbContent.setText(\"Hello world! I'm a fake tooltip\");\r\n\r\n\t\tPoint lbContentSize = lbContent.computeSize(SWT.DEFAULT, SWT.DEFAULT);\r\n\r\n\t\tint width = lbContentSize.x + 10;\r\n\t\tint height = lbContentSize.y + 10;\r\n\r\n\t\ttooltip.setBounds(x, y, width, height);\r\n\t\ttooltip.setVisible(true);\r\n\t\treturn tooltip;\r\n\t}", "@Override\n\tpublic void setTip(double tip) {\n\t\t\n\t}", "public String getToolTipText() {\n\t\t\treturn fragname.toString();\n\t\t}", "@Override\n public boolean showTips() {\n return mesoCfgXML.getTipsOption();\n }", "public void createToolTip(View view, Tooltip.Gravity gravity, String text){\n Tooltip.make(getContext(),\n new Tooltip.Builder(101)\n .anchor(view, gravity)\n .closePolicy(new Tooltip.ClosePolicy()\n .insidePolicy(true, false)\n .outsidePolicy(true, false), 3000)\n .activateDelay(800)\n .showDelay(300)\n .text(text)\n .maxWidth(700)\n .withArrow(true)\n .withOverlay(true)\n .withStyleId(R.style.ToolTipLayoutCustomStyle)\n .floatingAnimation(Tooltip.AnimationBuilder.DEFAULT)\n .build()\n ).show();\n }", "public ContourEntity(Shape area, String toolTipText) { super(area, toolTipText); }", "public Builder setMsgTip(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n msgTip_ = value;\n onChanged();\n return this;\n }", "public void setPositionToolTipEnabled(boolean b) {\n enablePositionTooltip = b;\r\n }", "public FakeToolTip getFakeToolTip() {\n\t\treturn fakeToolTip;\n\t}", "public void createToolTip(View view, Tooltip.Gravity gravity, String text){\n Tooltip.make(this,\n new Tooltip.Builder(101)\n .anchor(view, gravity)\n .closePolicy(new Tooltip.ClosePolicy()\n .insidePolicy(true, false)\n .outsidePolicy(true, false), 3000)\n .activateDelay(800)\n .showDelay(300)\n .text(text)\n .maxWidth(700)\n .withArrow(true)\n .withOverlay(true)\n .withStyleId(R.style.ToolTipLayoutCustomStyle)\n .floatingAnimation(Tooltip.AnimationBuilder.DEFAULT)\n .build()\n ).show();\n }", "private void setToolTips() {\n \t// set tool tips\n Tooltip startTip, stopTip, filterTip, listViewTip, viewAllTip, viewInfoTip, removeTip, editRuleFileTip, editRulePathTip;\n startTip = new Tooltip(ToolTips.getStarttip());\n stopTip = new Tooltip(ToolTips.getStoptip());\n filterTip = new Tooltip(ToolTips.getFiltertip());\n listViewTip = new Tooltip(ToolTips.getListviewtip());\n viewAllTip = new Tooltip(ToolTips.getViewalltip());\n viewInfoTip = new Tooltip(ToolTips.getViewinfotip());\t\n removeTip = new Tooltip(ToolTips.getRemovetip());\n editRuleFileTip = new Tooltip(ToolTips.getEditrulefiletip());\n editRulePathTip = new Tooltip(ToolTips.getEditrulepathtip());\n \n startButton.setTooltip(startTip);\n stopButton.setTooltip(stopTip);\n filterButton.setTooltip(filterTip);\n unseenPacketList.setTooltip(listViewTip);\n viewAll.setTooltip(viewAllTip);\n viewInformation.setTooltip(viewInfoTip);\n removeButton.setTooltip(removeTip);\n editRuleFileButton.setTooltip(editRuleFileTip);\n editRuleFilePath.setTooltip(editRulePathTip);\n }", "protected void setToolTipText(Tile tile) {\n\t\tif(!peek && hidden) { tile.setToolTipText(\"concealed tile\"); }\n\t\telse {\n\t\t\tString addendum = \"\";\n\t\t\tif(playerpanel.getPlayer().getType()==Player.HUMAN) { addendum = \" - click to discard during your turn\"; }\n\t\t\ttile.setToolTipText(tile.getTileName()+ addendum); }}", "public void setTooltip(TooltipOptions tooltip) {\n this.tooltip = tooltip;\n }", "private Tooltip generateToolTip(ELesxFunction type) {\n Tooltip tool = new Tooltip();\n StringBuilder text = new StringBuilder();\n if (type == ELesxFunction.PERIOD) {\n text.append(\"Una fecha puede ser invalida por:\\n\")\n .append(\" - Fecha incompleta.\\n\")\n .append(\" - Fecha inicial es posterior a la final.\");\n }\n else {\n text.append(\"La función Suma determina:\\n\")\n .append(\" - Sumatoria total de los precios del recurso seleccionado.\\n\")\n .append(\" - Suma el total de la sumatoria del punto anterior si son varios recursos\\n\")\n .append(\" - Ignora las Fechas de los precios.\");\n }\n tool.setText(text.toString());\n return tool;\n }", "public boolean isShowToolTip()\n {\n return showToolTip;\n }", "@RecentlyNullable\n/* */ public CharSequence getTooltipText() {\n/* 1556 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public static EntityArmorStand setToolTipName(Player toSend, Player toDisable, @Nullable String tip){\n EntityArmorStand stand = new EntityArmorStand(((CraftWorld) toDisable.getPlayer().getWorld()).getHandle());\n\n //set the tooltip, if its set\n if(tip!=null){\n stand.setCustomName(tip);\n stand.setCustomNameVisible(true);\n }\n\n //make it look pretty and not fall too much\n stand.setGravity(false);\n stand.setInvisible(!showArmorstandsDebug);\n stand.setSmall(true);\n\n //send the armorstand\n PacketPlayOutSpawnEntityLiving packet = new PacketPlayOutSpawnEntityLiving(stand);\n ((CraftPlayer) toSend).getHandle().playerConnection.sendPacket(packet);\n\n //make the armorstand attached to the player\n PacketPlayOutAttachEntity pckt2 = new PacketPlayOutAttachEntity(0, stand, ((CraftPlayer) toDisable).getHandle());\n ((CraftPlayer) toSend).getHandle().playerConnection.sendPacket(pckt2);\n\n return stand;\n\n }", "public String kTipText() {\n return \"The value used in the tozero() method.\";\n }", "public X tooltipText(String text) {\n component.setToolTipText(text);\n return (X) this;\n }", "public String lTipText() {\n return \"Whether to scale based on the number of instances.\";\n }", "public int getTip() {\n\t\treturn tip;\n\t}", "public String getTabToolTipText();", "public void setShowToolTip( boolean showToolTip )\n {\n this.showToolTip = showToolTip;\n }", "public String getQtip() {\n return qtip;\n }", "@Override\n public String getToolTipText (final MouseEvent mEvent) {\n return getText();\n }", "public java.lang.String getMsgTip() {\n java.lang.Object ref = msgTip_;\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 msgTip_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public String getToolTipText()\n\t{\n\n\t\treturn \"Execute DQL\"; //$NON-NLS-1$\n\t}", "@Override\n\t\tpublic int getToolTipDisplayDelayTime(Object object) {\n\t\t\treturn 2;\n\t\t}", "public java.lang.String getMsgTip() {\n java.lang.Object ref = msgTip_;\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 msgTip_ = s;\n return s;\n }\n }", "@Override\n\tpublic void setCustomTip(boolean isCustomTip) {\n\t\t\n\t}", "public abstract void setTooltipData(ITooltipData data);", "public NoteTip(Note note, Long Oid)\r\n {\r\n super();\r\n user = FormatterUtils.getUserLabel(note.getUser());\r\n userImageURL = MyPicturePreferenceUtils.getUsersImageURI(note.getUser());\r\n if (note.getTimestamp() != null)\r\n {\r\n timeStamp = DateUtils.formatDateTime(note.getTimestamp());\r\n timeStampAsDate = note.getTimestamp();\r\n }\r\n String noteTitle = StringEscapeUtils.unescapeHtml(note.getText());\r\n toolTipContent = noteTitle;\r\n title = noteTitle == null || noteTitle.length() < 30 ? noteTitle : noteTitle.substring(0, 29) + \"...\";\r\n title = title.replaceAll(\"\\\\n\", \"\");\r\n scopeType = getScopeType(note, Oid);\r\n }", "public TooltipOptions getTooltip() {\n return this.tooltip;\n }", "public ExpandableToolTip(String toolTipText, String helpText,\r\n\t\t\tJComponent owner) {\r\n\t\tthis.owner = owner;\r\n\r\n\t\t/*\r\n\t\t * Attach mouseListener to component. If we attach the toolTip to a\r\n\t\t * JComboBox our MouseListener is not used, we therefore need to attach\r\n\t\t * the MouseListener to each component in the JComboBox\r\n\t\t */\r\n\t\tif (owner instanceof JComboBox) {\r\n\t\t\tfor (int i = 0; i < owner.getComponentCount(); i++) {\r\n\t\t\t\towner.getComponent(i).addMouseListener(this);\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\towner.addMouseListener(this);\r\n\t\t}\r\n\r\n\t\t/* generate toolTip panel */\r\n\t\ttoolTip = new JPanel(new GridLayout(3, 1));\r\n\t\ttoolTip.setPreferredSize(new Dimension(WIDTH_TT, HEIGHT_TT));\r\n\t\ttoolTip.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5));\r\n\t\ttoolTip.setBackground(Color.getHSBColor(15, 3, 99));\r\n\t\ttoolTip.add(new JLabel(toolTipText));\r\n\t\ttoolTip.add(new JSeparator(SwingConstants.HORIZONTAL));\r\n\t\tJLabel more = new JLabel(\"press 'F1' for more details\");\r\n\t\tmore.setForeground(Color.DARK_GRAY);\r\n\t\tmore.setFont(new Font(null, 1, 10));\r\n\t\ttoolTip.add(more);\r\n\r\n\t\t/* generate help panel */\r\n\t\tJPanel helpContent = new JPanel();\r\n\t\thelpContent.setBackground(Color.WHITE);\r\n\r\n\t\t/* generate editor to display html help text and put in scrollpane */\r\n\t\th = new JEditorPane();\r\n\t\th.setContentType(\"text/html\");\r\n\t\th.addHyperlinkListener(this);\r\n\t\tString context = \"<html><body><table width='\" + WIDTH_HTML\r\n\t\t\t\t+ \"'><tr><td><p><font size=+1>\" + toolTipText + \"</font></p>\"\r\n\t\t\t\t+ helpText + \"</td></tr></table></body></html>\";\r\n\t\th.setText(context);\r\n\t\th.setEditable(true);\r\n\t\th.addHyperlinkListener(this);\r\n\t\thelpContent.add(h);\r\n\t\thelp = new JScrollPane(helpContent);\r\n\t\thelp.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);\r\n\t\thelp.setPreferredSize(new Dimension(WIDTH_SC, HEIGHT_SC));\r\n\r\n\t\tpopup = new JFrame();\r\n\t\tpopup.setUndecorated(true);\r\n\r\n\t}", "public String verifyToolTipText(String object, String data) {\n\n\t\tlogger.debug(\"Verifying the ToolTip text\");\n\t\ttry {\n\t\t\tString actual = wait.until(explicitWaitForElement(By.xpath(OR.getProperty(object)))).getAttribute(OR.getProperty(\"ATTRIBUTE_ALT\"));\n\t\t\tString expected = data;\n\t\t\tlogger.debug(\"actual\" + actual);\n\t\t\tlogger.debug(\"expected\" + expected);\n\t\t\tif (actual.equals(expected))\n\t\t\t\treturn Constants.KEYWORD_PASS + \"-- ToolTip text verified-- \" + expected;\n\t\t\telse\n\t\t\t\treturn Constants.KEYWORD_FAIL + \" -- ToolTip text not verified-- \" + actual + \" -- \" + expected;\n\t\t} catch(TimeoutException ex)\n\t\t\n\t\t{\n\t\t\treturn Constants.KEYWORD_FAIL +\"Cause: \"+ ex.getCause();\n\t\t}catch (Exception e) {\n\t\t\n\t\t\treturn Constants.KEYWORD_FAIL + \" Object not found \" + e.getMessage();\n\t\t}\n\n\t}", "@Override\r\n protected String getTooltip()\r\n {\n return \"This name is used as (unique) name for the pattern.\";\r\n }", "public String getLocationString(){\n return \"(\" + x + \", \" + y + \")\";\n }", "public static void verifyToolTipOfObject(By byObj, String sExpToolTip) throws IllegalArgumentException, IllegalAccessException, InterruptedException, IOException {\n\t\tString t = getToolTipOfObject(byObj);\n\t\tif(t.equals(sExpToolTip)) {\n\t\t\tTestNotify.pass(GenLogTC() + \"The tooltip [\" + sExpToolTip + \"] is verified successfully.\");\n\t\t}\n\t\telse {\n\t\t\tTestNotify.fail(GenLogTC() + \"The tooltip is [\" + t + \"] does not match with expected tooltip [\" + sExpToolTip + \"].\");\n\t\t}\n\t}", "private void initTooltips() {\n\t\ttooltips = new HashMap<String, String>();\n\t\ttooltips.put(\"-ref\", \n\t\t\t\t\"The “reference” image, the image that remains unchanged during the registration. Set this value to the downscaled brain you wish to segment\");\n\t\ttooltips.put(\"-flo\", \n\t\t\t\t\"The “floating” image, the image that is morphed to increase similarity to the reference. Set this to the average brain belonging to the atlas (aladin/f3d) or the atlas itself (resample).\");\n\t\ttooltips.put(\"-res\", \n\t\t\t\t\"The output path for the resampled floating image.\");\n\t\ttooltips.put(\"-aff\",\n\t\t\t\t\"The text file for the affine transformation matrix. The parameter can either be an output (aladin) or input (f3d) parameter.\");\n\t\ttooltips.put(\"-ln\",\n\t\t\t\t\"Registration starts with further downsampled versions of the original data to optimize the global fit of the result and prevent \"\n\t\t\t\t\t\t+ \"“getting stuck” in local minima of the similarity function. This parameter determines how many downsampling steps are being performed, \"\n\t\t\t\t\t\t+ \"with each step halving the data size along each dimension.\");\n\t\ttooltips.put(\"-lp\", \n\t\t\t\t\"Determines how many of the downsampling steps defined by -ln will have their registration computed. \"\n\t\t\t\t\t\t+ \"The combination -ln 3 -lp 2 will e.g. calculate 3 downsampled steps, each of which is half the size of the previous one \"\n\t\t\t\t\t\t+ \"but only perform the registration on the 2 smallest resampling steps, skipping the full resolution data.\");\n\t\ttooltips.put(\"-sx\", \"Sets the control point grid spacing in x. Positive values are interpreted as real values in mm, \"\n\t\t\t\t+ \"negative values are interpreted as distance in voxels. If -sy and -sz are not defined seperately, they are set to the value given here.\");\n\t\ttooltips.put(\"-be\",\"Sets the bending energy, which is the coefficient of the penalty term, preventing the freeform registration from overfitting. \"\n\t\t\t\t+ \"The range is between 0 and 1 (exclusive) with higher values leading to more restriction of the registration.\");\n\t\ttooltips.put(\"-smooR\", \"Adds a gaussian smoothing to the reference image (e.g. the brain to be segmented), with the sigma defined by the number. \"\n\t\t\t\t+ \"Positive values are interpreted as real values in mm, negative values are interpreted as distance in voxels.\");\n\t\ttooltips.put(\"-smooF\", \"Adds a gaussian smoothing to the floating image (e.g. the average brain), with the sigma defined by the number. \"\n\t\t\t\t+ \"Positive values are interpreted as real values in mm, negative values are interpreted as distance in voxels.\");\n\t\ttooltips.put(\"--fbn\", \"Number of bins used for the Normalized Mutual Information histogram on the floating image.\");\n\t\ttooltips.put(\"--rbn\", \"Number of bins used for the Normalized Mutual Information histogram on the reference image.\");\n\t\ttooltips.put(\"-outDir\", \"All output and log files will be written to this folder. Pre-existing files will be overwritten without warning!\");\n\t}", "@Override public String getToolTipText(MouseEvent evt)\n{\n String rslt = null;\n\n int pos = evt.getX();\n int minpos = getX() + 16;\n int maxpos = getX() + getWidth() - 16;\n double relpos = (pos - minpos);\n if (relpos < 0) relpos = 0;\n relpos /= (maxpos - minpos);\n double timer = getMinimum() + relpos * (getMaximum() - getMinimum()) + 0.5;\n long time = (long) timer;\n if (time > getMaximum()) time = getMaximum();\n\n BicexEvaluationContext ctx = for_bubble.getExecution().getCurrentContext();\n if (ctx == null) return null;\n\n BicexValue bv = ctx.getValues().get(\"*LINE*\");\n List<Integer> times = bv.getTimeChanges();\n String line = null;\n for (Integer t : times) {\n if (t <= time) {\n\t line = bv.getStringValue(t+1);\n\t}\n else break;\n }\n if (line != null) rslt = \"Line \" + line;\n\n if (ctx != null) {\n String what = \"In\";\n if (ctx.getInnerContexts() != null) {\n\t for (BicexEvaluationContext sctx : ctx.getInnerContexts()) {\n\t if (sctx.getStartTime() <= time && sctx.getEndTime() >= time) {\n\t ctx = sctx;\n\t what = \"Calling\";\n\t break;\n\t }\n\t }\n }\n if (rslt == null) rslt = what + \" \" + ctx.getMethod();\n else rslt += \" \" + what + \" \" + ctx.getShortName();\n }\n\n return rslt;\n}", "public void setTooltipText(@RecentlyNullable CharSequence tooltipText) {\n/* 1572 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public String getRibbonToolTipText()\n\t{\n\t\treturn ribbonToolTipText;\n\t}", "public String getToolTip(int columnIndex) {\n\t\t//@formatter:off\n\t\tList<ColumnConstraintSet<R, ?>> filtered =\n\t\t\tconstraintSets.stream()\n\t\t\t\t.filter(cf -> cf.getColumnModelIndex() == columnIndex)\n\t\t\t\t.collect(Collectors.toList());\n\t\t//@formatter:on\n\n\t\tif (filtered.isEmpty()) {\n\t\t\treturn null;\n\t\t}\n\t\treturn getHtmlRepresentation(filtered);\n\t}" ]
[ "0.65493935", "0.64340323", "0.6255045", "0.6229804", "0.6144436", "0.61344934", "0.6111609", "0.61080223", "0.6099578", "0.609742", "0.6080118", "0.6079216", "0.6070029", "0.60558486", "0.6051058", "0.60296184", "0.5979603", "0.5974502", "0.59458977", "0.5935963", "0.5912428", "0.591195", "0.58949614", "0.5890111", "0.585183", "0.58447737", "0.5810819", "0.5773969", "0.57722694", "0.5726382", "0.57216924", "0.57208586", "0.569826", "0.5681291", "0.56753135", "0.5673262", "0.56617683", "0.5647449", "0.5641948", "0.5630824", "0.56303453", "0.5608838", "0.5568725", "0.55413383", "0.5539931", "0.5531439", "0.5528621", "0.5493753", "0.5481014", "0.54509854", "0.5444945", "0.54366493", "0.5426285", "0.5395397", "0.53899544", "0.5372994", "0.5372507", "0.5369007", "0.5362206", "0.5350936", "0.5332248", "0.5311394", "0.52996093", "0.5294528", "0.5290679", "0.5280242", "0.52730244", "0.52638525", "0.52620727", "0.5260434", "0.52508926", "0.523726", "0.52367175", "0.5235017", "0.52091813", "0.5202592", "0.51917785", "0.51898694", "0.5177502", "0.51647574", "0.51403224", "0.51318896", "0.51279145", "0.51261306", "0.5116431", "0.51154596", "0.5109628", "0.5107098", "0.50907433", "0.5089961", "0.50817686", "0.50685483", "0.50626594", "0.50619334", "0.5050488", "0.50439286", "0.50334144", "0.50256264", "0.50175464", "0.5015042" ]
0.735524
0
Returns an optional list of components in tool bar to control the plot.
public Optional<JComponent[]> toolbar() { return Optional.empty(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private JToolBar getToolsToolBar() {\r\n\t\tif (toolsToolBar == null) {\r\n\t\t\ttoolsToolBar = new JToolBar();\r\n\t\t\ttoolsToolBar.setPreferredSize(new Dimension(87, 24));\r\n\t\t\tif(flag){\r\n\t\t\t\ttoolsToolBar.add(getOpenButton());\r\n\t\t\t\ttoolsToolBar.add(getSaveButton());\r\n\t\t\t}\r\n\t\t\ttoolsToolBar.add(getColorButton());\r\n\t\t\ttoolsToolBar.add(getLinkButton());\r\n\t\t\ttoolsToolBar.add(getIcoButton());\r\n\t\t}\r\n\t\treturn toolsToolBar;\r\n\t}", "void hideToolbars();", "protected JScrollPane getToolbar() {\n\t\treturn null; // Overrides\n\n\t}", "private Component buildToolBar() {\r\n DToolBar toolBar = new DToolBar();\r\n// toolBar.applyComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT);\r\n toolBar.setFloatable(true);\r\n toolBar.putClientProperty(\"JToolBar.isRollover\", Boolean.TRUE);\r\n // Swing\r\n toolBar.putClientProperty(\r\n Options.HEADER_STYLE_KEY,\r\n settings.getToolBarHeaderStyle());\r\n toolBar.putClientProperty(\r\n PlasticLookAndFeel.BORDER_STYLE_KEY,\r\n settings.getToolBarPlasticBorderStyle());\r\n toolBar.putClientProperty(\r\n WindowsLookAndFeel.BORDER_STYLE_KEY,\r\n settings.getToolBarWindowsBorderStyle());\r\n toolBar.putClientProperty(\r\n PlasticLookAndFeel.IS_3D_KEY,\r\n settings.getToolBar3DHint());\r\n\r\n AbstractButton button;\r\n/*\r\n toolBar.add(createToolBarButton(\"backward.gif\", \"Back\"));\r\n button = createToolBarButton(\"forward.gif\", \"Next\");\r\n button.setEnabled(false);\r\n toolBar.add(button);*/\r\n \r\n button = createToolBarButton(\"home.gif\", ResourceUtil.getString(\"HOME\"));\r\n toolBar.add(button);\r\n button.addActionListener(this);\r\n button.setActionCommand(\"home\");\r\n// toolBar.addSeparator();\r\n \r\n button = createToolBarButton(\"preference16.gif\", ResourceUtil.getString(\"PREFERENCES\"));\r\n toolBar.add(button);\r\n button.setRolloverIcon(readImageIcon(\"preference16_over.gif\"));\r\n button.addActionListener(this);\r\n button.setActionCommand(\"Preferences\");\r\n toolBar.addSeparator();\r\n\r\n button = createToolBarButton(\"new16.gif\", ResourceUtil.getString(\"NEW\"));\r\n button.setActionCommand(\"new\");\r\n button.addActionListener(this);\r\n toolBar.add(button);\r\n \r\n button = createToolBarButton(\"save_edit.gif\", ResourceUtil.getString(\"SAVE\"));\r\n button.setActionCommand(\"save\");\r\n button.addActionListener(this);\r\n toolBar.add(button);\r\n \r\n button = createToolBarButton(\"delete16.gif\", ResourceUtil.getString(\"DELETE\"));\r\n button.setActionCommand(\"delete\");\r\n button.addActionListener(this);\r\n toolBar.add(button);\r\n \r\n button = createToolBarButton(\"print.gif\", ResourceUtil.getString(\"PRINT\"));\r\n button.setActionCommand(\"print\");\r\n button.addActionListener(this);\r\n toolBar.add(button);\r\n/* \r\n toolBar.add(createToolBarButton(\"print.gif\", \"Print\"));\r\n toolBar.add(createToolBarButton(\"refresh.gif\", \"Update\"));\r\n toolBar.addSeparator();\r\n\r\n ButtonGroup group = new ButtonGroup();\r\n button = createToolBarRadioButton(\"pie_mode.png\", \"Pie Chart\");\r\n button.setSelectedIcon(readImageIcon(\"pie_mode_selected.gif\"));\r\n group.add(button);\r\n button.setSelected(true);\r\n toolBar.add(button);\r\n\r\n button = createToolBarRadioButton(\"bar_mode.png\", \"Bar Chart\");\r\n button.setSelectedIcon(readImageIcon(\"bar_mode_selected.gif\"));\r\n group.add(button);\r\n toolBar.add(button);\r\n\r\n button = createToolBarRadioButton(\"table_mode.png\", \"Table\");\r\n button.setSelectedIcon(readImageIcon(\"table_mode_selected.gif\"));\r\n group.add(button);\r\n toolBar.add(button);\r\n toolBar.addSeparator();\r\n\r\n button = createToolBarButton(\"help.gif\", \"Open Help\");\r\n button.addActionListener(createHelpActionListener());\r\n toolBar.add(button);*/\r\n\r\n return toolBar;\r\n }", "@Override\n public String[] getToolbox() {\n \tString[] ret = { \"TerrainAnalysis\", \"WetlandTools\" };\n \treturn ret;\n }", "public JComponent getToolbarComponent()\n {\n return _box;\n }", "protected void fillCoolBar(ICoolBarManager coolBar) {\n\t\tIWorkbenchWindow window = getActionBarConfigurer().getWindowConfigurer().getWindow();\n\t\tIToolBarManager toolbar = new ToolBarManager(SWT.LEFT);\n\t\tcoolBar.add(new ToolBarContributionItem(toolbar, Messages.getString(\"IU.Strings.15\"))); //$NON-NLS-1$\n\t\ttoolbar.add(new GroupMarker(Messages.getString(\"IU.Strings.16\"))); //$NON-NLS-1$\n\n\n\t\t/*IWorkbenchAction open = ActionFactory..create(window);\n\t\topen.setImageDescriptor(Activator.getImageDescriptor(\"icons/charger.png\"));\n\t\ttoolbar.add(open);*/\n\n\t\tIWorkbenchAction save = ActionFactory.SAVE.create(window);\n\t\tsave.setImageDescriptor(Activator.getImageDescriptor(Messages.getString(\"IU.Strings.17\"))); //$NON-NLS-1$\n\t\tsave.setDisabledImageDescriptor(Activator.getImageDescriptor(Messages.getString(\"IU.Strings.18\"))); //$NON-NLS-1$\n\t\tsave.setHoverImageDescriptor(Activator.getImageDescriptor(Messages.getString(\"IU.Strings.19\"))); //$NON-NLS-1$\n\t\tsave.setText(Messages.getString(\"IU.Strings.20\")); //$NON-NLS-1$\n\t\tsave.setToolTipText(Messages.getString(\"IU.Strings.21\")); //$NON-NLS-1$\n\t\ttoolbar.add(save);\n\n\t\tIWorkbenchAction print = ActionFactory.PRINT.create(window);\n\t\tprint.setImageDescriptor(Activator.getImageDescriptor(Messages.getString(\"IU.Strings.22\"))); //$NON-NLS-1$\n\t\tprint.setDisabledImageDescriptor(Activator.getImageDescriptor(Messages.getString(\"IU.Strings.23\"))); //$NON-NLS-1$\n\t\tprint.setHoverImageDescriptor(Activator.getImageDescriptor(Messages.getString(\"IU.Strings.24\"))); //$NON-NLS-1$\n\t\tprint.setText(Messages.getString(\"IU.Strings.25\")); //$NON-NLS-1$\n\t\tprint.setToolTipText(Messages.getString(\"IU.Strings.26\")); //$NON-NLS-1$\n\t\ttoolbar.add(print);\n\n\n\t\ttoolbar.add(new GroupMarker(Messages.getString(\"IU.Strings.27\"))); //$NON-NLS-1$\n\t\ttoolbar.add(new Separator());\n\t\tIWorkbenchAction find = ActionFactory.FIND.create(window);\n\t\tfind.setImageDescriptor(Activator.getImageDescriptor(Messages.getString(\"IU.Strings.28\"))); //$NON-NLS-1$\n\t\t//find.setDisabledImageDescriptor(Activator.getImageDescriptor(Messages.getString(\"IU.Strings.29\"))); //$NON-NLS-1$\n\t\t//find.setHoverImageDescriptor(Activator.getImageDescriptor(Messages.getString(\"IU.Strings.30\"))); //$NON-NLS-1$\n\t\tfind.setText(Messages.getString(\"IU.Strings.31\")); //$NON-NLS-1$\n\t\tfind.setToolTipText(Messages.getString(\"IU.Strings.32\")); //$NON-NLS-1$\n\t\ttoolbar.add(find);\n\n\t\t/*toolbar.add(ActionFactory.COPY.create(window));\n\t\ttoolbar.add(ActionFactory.CUT.create(window));\n\t\ttoolbar.add(ActionFactory.PASTE.create(window));\n\t\ttoolbar.add(new Separator());*/\n\n\t\t//TODO Rrgler le bug d'icon non charger undo / redo entre l'editeur et la console\n\t\t/*IWorkbenchAction undo = ActionFactory.UNDO.create(window);\n\t\tundo.setImageDescriptor(Activator.getImageDescriptor(\"icons/undo.gif\"));\n\t\tundo.setDisabledImageDescriptor(Activator.getImageDescriptor(\"icons/undo.gif\"));\n\t\tundo.setHoverImageDescriptor(Activator.getImageDescriptor(\"icons/undo.gif\"));\n\t\ttoolbar.add(undo);\n\n\t\tIWorkbenchAction redo = ActionFactory.REDO.create(window);\n\t\tredo.setImageDescriptor(Activator.getImageDescriptor(\"icons/redo.gif\"));\n\t\tredo.setDisabledImageDescriptor(Activator.getImageDescriptor(\"icons/redo.gif\"));\n\t\tredo.setHoverImageDescriptor(Activator.getImageDescriptor(\"icons/redo.gif\"));\n\t\ttoolbar.add(redo);*/\n\n\t\t\n\t\t//toolbar.add(ActionFactory.REDO.create(window));*/\n\n\t\t//toolbox2.png\n\t\tToolsBoxAction toolBox = new ToolsBoxAction(window);\n\t\ttoolBox.setImageDescriptor(Activator.getImageDescriptor(Messages.getString(\"IU.Strings.33\"))); //$NON-NLS-1$\n\t\ttoolBox.setDisabledImageDescriptor(Activator.getImageDescriptor(Messages.getString(\"IU.Strings.34\"))); //$NON-NLS-1$\n\t\ttoolBox.setHoverImageDescriptor(Activator.getImageDescriptor(Messages.getString(\"IU.Strings.35\"))); //$NON-NLS-1$\n\t\ttoolbar.add(toolBox);\n\t\t\n\t\t\n\t\t//action_toolsBox.setMenuCreator(new IMenuCreator(){});\n\t\n\t\t//coolBar.add(new ToolBarContributionItem(toolbar2, \"main2\"));\n\t\t//toolbar2.add(ActionFactory.SHOW_VIEW_MENU.create(window));\n\n\t\t\n\t\tIToolBarManager toolbar2 = new ToolBarManager(SWT.RIGHT | SWT.FLAT | SWT.HORIZONTAL);\n\t\t\n\t\tcoolBar.add(new ToolBarContributionItem(toolbar2, Messages.getString(\"IU.Strings.36\")));\t //$NON-NLS-1$\n\t\ttoolbar2.add(new GroupMarker(Messages.getString(\"IU.Strings.37\"))); //$NON-NLS-1$\n\t\ttoolbar2.add(new GroupMarker(Messages.getString(\"IU.Strings.38\"))); //$NON-NLS-1$\n\t}", "private void loadToolBar() {\r\n //si existe la configuracion de la TOOLBAR asociada al usuario\r\n if(toolsConfig != null){\r\n //Si el id de pantalla es la correcta y se encuentra activo 1 el TOOLBAR\r\n if(Datos.getIdScreen()==toolsConfig[0] && toolsConfig[1]==1){ \r\n for (int i = 0; i < tools.length; i++){ //Recorre el arreglo de botones\r\n if(toolsConfig[i+2] == 1){ //Si esta disponible 1 \r\n enableToolBar(tools, i); //habilita el boton\r\n }else{ \r\n disableToolBar(tools,i); //deshabilita el boton\r\n } \r\n }\r\n }\r\n }\r\n else{\r\n for (int i = 0; i < tools.length; i++){ //Recorre el arreglo de botones\r\n disableToolBar(tools,i); //deshabilita el boton\r\n }\r\n }\r\n }", "Map<ToolbarPosition, ? extends Node> getRegisteredToolBars();", "private void setupToolbars(){\n\t\ttopBar = new TopBar(0, 0, setup.getFrameWidth()+12, Constants.WINDOW_HEADER_HEIGHT, \n\t\t\t\tConstants.COLOR_HEADER_1, setup);\n\t\t\n\t\tbottomBar = new BottomBar(0, \n\t\t\t\tConstants.WINDOW_HEADER_HEIGHT+(Constants.WINDOW_MAP_MARGIN*2)+Constants.WINDOW_MAP_HEIGHT, \n\t\t\t\tsetup.getFrameWidth()+12, \n\t\t\t\tConstants.WINDOW_HEADER_HEIGHT, \n\t\t\t\tConstants.COLOR_HEADER_1, setup);\n\t\t\n\t\trightBar = new RightBar((Constants.WINDOW_MAP_MARGIN*2)+Constants.WINDOW_MAP_WIDTH, \n\t\t\t\tConstants.WINDOW_HEADER_HEIGHT, \n\t\t\t\tConstants.WINDOW_RIGHT_BAR_WIDTH, \n\t\t\t\tConstants.WINDOW_RIGHT_BAR_HEIGHT, \n\t\t\t\tConstants.COLOR_MAP_LAND, setup);\n\t}", "private void setupToolBar() {\n\t\tbOk = ConfirmPanel.createOKButton(false);\n\t\tbOk.addActionListener(this);\n\t\tbSearch = ConfirmPanel.createRefreshButton(true);\n\t\tbSearch.addActionListener(this);\n\t\tbCancel = ConfirmPanel.createCancelButton(false);\n\t\tbCancel.addActionListener(this);\n\t\tbZoom = ConfirmPanel.createZoomButton(true);\n\t\tbZoom.addActionListener(this);\n\t\tbExport = ConfirmPanel.createExportButton(true);\n\t\tbExport.addActionListener(this);\n\t\tbDelete = ConfirmPanel.createDeleteButton(true);\n\t\tbDelete.addActionListener(this);\n\t\tAppsAction selectAllAction = new AppsAction(\"SelectAll\", null, Msg.getMsg(Env.getCtx(),\"SelectAll\"));\n\t\tselectAllAction.setDelegate(this);\n\t\tbSelectAll = (CButton) selectAllAction.getButton();\n\t\ttoolsBar = new javax.swing.JToolBar();\n\t}", "private void createToolButtons(final Map<PaintTool, ToolAction> theMap, \n final List<PaintTool> theTools,\n final JFrame theFrame) {\n \n final ButtonGroup toolBarGroup = new ButtonGroup();\n for (final PaintTool aT : theTools) {\n final JToggleButton button = new JToggleButton(aT.getDescription());\n toolBarGroup.add(button);\n aT.addPropertyChangeListener(this);\n button.setAction(theMap.get(aT));\n myToolBar.add(button);\n myToolBar.addSeparator();\n }\n theFrame.add(myToolBar, BorderLayout.PAGE_END);\n }", "public ToolScreen addToolbars()\n {\n ToolScreen toolbar = super.addToolbars();\n \n ToolScreen toolbar2 = new EmptyToolbar(this.getNextLocation(ScreenConstants.LAST_LOCATION, ScreenConstants.DONT_SET_ANCHOR), this, null, ScreenConstants.DONT_DISPLAY_FIELD_DESC, null);\n BaseField converter = null;\n ScreenComponent sField = null;\n \n converter = this.getRecord(Booking.BOOKING_FILE).getField(Booking.GROSS);\n sField = converter.setupDefaultView(toolbar2.getNextLocation(ScreenConstants.NEXT_INPUT_LOCATION, ScreenConstants.ANCHOR_DEFAULT), toolbar2, ScreenConstants.DEFAULT_DISPLAY);\n sField.setEnabled(false);\n converter = this.getRecord(Booking.BOOKING_FILE).getField(Booking.NET);\n sField = converter.setupDefaultView(toolbar2.getNextLocation(ScreenConstants.RIGHT_WITH_DESC, ScreenConstants.ANCHOR_DEFAULT), toolbar2, ScreenConstants.DEFAULT_DISPLAY);\n sField.setEnabled(false);\n converter = this.getRecord(Booking.BOOKING_FILE).getField(Booking.PRICING_STATUS_ID);\n sField = converter.setupDefaultView(toolbar2.getNextLocation(ScreenConstants.RIGHT_WITH_DESC, ScreenConstants.ANCHOR_DEFAULT), toolbar2, ScreenConstants.DEFAULT_DISPLAY);\n sField.setEnabled(false);\n \n converter = this.getRecord(Booking.BOOKING_FILE).getField(Booking.TOUR_PRICING_TYPE_ID);\n sField = converter.setupDefaultView(toolbar2.getNextLocation(ScreenConstants.NEXT_INPUT_LOCATION, ScreenConstants.ANCHOR_DEFAULT), toolbar2, ScreenConstants.DEFAULT_DISPLAY);\n converter = this.getRecord(Booking.BOOKING_FILE).getField(Booking.NON_TOUR_PRICING_TYPE_ID);\n sField = converter.setupDefaultView(toolbar2.getNextLocation(ScreenConstants.RIGHT_WITH_DESC, ScreenConstants.ANCHOR_DEFAULT), toolbar2, ScreenConstants.DEFAULT_DISPLAY);\n \n return toolbar;\n }", "protected abstract JToolBar getNorthToolbar();", "public interface IToolbarsContainer {\n\t\n\t/**\n\t * Hide the tool bars of this item.\n\t */\n\tvoid hideToolbars();\n\n}", "private void defineToolBar() {\r\n //ARREGLO CON LOS BOTONES ORDENADOS POR POSICION\r\n tools = new ImageView[]{im_tool1,im_tool2,im_tool3,im_tool4,im_tool5,im_tool6,im_tool7,im_tool8,im_tool9,im_tool10,im_tool11,im_tool12}; \r\n //CARGA DE LA BD LA CONFIGURACION DE USUARIO PARA LA PANTALLA\r\n toolsConfig = Ln.getInstance().loadToolBar();\r\n // arreglo con cada etiqueta, ordenado por boton\r\n tooltips = new String[]{\r\n \"Nueva \" + ScreenName + \" \",\r\n \"Editar \" + ScreenName + \" \",\r\n \"Guardar \" + ScreenName + \" \",\r\n \"Cambiar Status de \" + ScreenName + \" \",\r\n \"Imprimir \" + ScreenName + \" \",\r\n \"Cancelar \",\r\n \"Sin Asignar \",\r\n \"Faltante en \" + ScreenName + \" \",\r\n \"Devolución en \" + ScreenName + \" \",\r\n \"Sin Asignar\",\r\n \"Sin Asignar\",\r\n \"Buscar \" + ScreenName + \" \"\r\n };\r\n //se asigna la etiqueta a su respectivo boton\r\n for (int i = 0; i < tools.length; i++) { \r\n Tooltip tip_tool = new Tooltip(tooltips[i]);\r\n Tooltip.install(tools[i], tip_tool);\r\n }\r\n \r\n im_tool7.setVisible(false);\r\n im_tool8.setVisible(false);\r\n im_tool9.setVisible(false);\r\n im_tool10.setVisible(false);\r\n im_tool11.setVisible(false);\r\n }", "public ToolBarView() {\r\n\t\tbuttonsToolbar = new JButton[14];\r\n\t\tfor (int i = 0; i < imagesToolbar.length; i++) {\r\n\t\t\tif (i == 2 || i == 3 || i == 8 || i == 10 || i == 11 || i == 12 ) {\r\n /* adding separator to the toolbar */\r\n\t\t\t\taddSeparator();\r\n } \r\n /* adding the buttons to toolbar */\r\n\t\t\tadd(buttonsToolbar[i] = new JButton(new ImageIcon(ClassLoader.getSystemResource(imagesToolbar[i]))));\r\n\t\t\t/* setting the ToolTipText to the buttons of toolbar */\r\n\t\t\tbuttonsToolbar[i].setToolTipText(tipText[i]);\r\n\t\t}\r\n\t}", "@Override\n\tpublic Object[] getGUIParameters() {\n\t\treturn null;\n\t}", "public ToolBar(final List<AbstractAction> theToolActions) {\n super();\n myToolActions = theToolActions;\n\n setupButtons();\n\n }", "protected boolean isToolbarNeeded() {\n return true;\n }", "C getRegisteredToolBar(ToolbarPosition position);", "public abstract JComponent[] getComponents();", "private void createToolbars() {\n\t\tJToolBar toolBar = new JToolBar(\"Tools\");\n\t\ttoolBar.setFloatable(true);\n\n\t\ttoolBar.add(new JButton(new ActionNewDocument(flp, this)));\n\t\ttoolBar.add(new JButton(new ActionOpen(flp, this)));\n\t\ttoolBar.add(new JButton(new ActionSave(flp, this)));\n\t\ttoolBar.add(new JButton(new ActionSaveAs(flp, this)));\n\t\ttoolBar.addSeparator();\n\t\ttoolBar.add(new JButton(new ActionCut(flp, this)));\n\t\ttoolBar.add(new JButton(new ActionCopy(flp, this)));\n\t\ttoolBar.add(new JButton(new ActionPaste(flp, this)));\n\t\ttoolBar.addSeparator();\n\t\ttoolBar.add(new JButton(new ActionStatistics(flp, this)));\n\n\t\tthis.getContentPane().add(toolBar, BorderLayout.PAGE_START);\n\t}", "public JToolBar getToolBar(){\r\n return toolbar;\r\n }", "@Override\n public String[] getToolbox() {\n \tString[] ret = { \"VectorTools\" };\n \treturn ret;\n }", "String getToolbarWarnings() throws GWTJahiaServiceException;", "public void addComponentToCoolBar(Component component) {\n\t\t_coolBar.addComponent(component);\n\t}", "public JToolBar getToolBar() {\n return toolBar;\n }", "private void CreateToolBars(){\n toolBar = new ToolBar();\n btoolBar = new ToolBar();\n login=new Button(\"Login\");\n simulate=new Button(\"Simulate\");\n scoreBoardButton=new Button(\"ScoreBoard\");\n viewBracket= new Button(\"view Bracket\");\n clearButton=new Button(\"Clear\");\n resetButton=new Button(\"Reset\");\n finalizeButton=new Button(\"Finalize\");\n toolBar.getItems().addAll(\n createSpacer(),\n login,\n simulate,\n scoreBoardButton,\n viewBracket,\n createSpacer()\n );\n btoolBar.getItems().addAll(\n createSpacer(),\n clearButton,\n resetButton,\n finalizeButton,\n createSpacer()\n );\n }", "void setToolbar(int toolbarTemp) {\n\n }", "public interface SupportsBigDataViewerToolBarButton\n{\n int addToolBarButtons(int verticalPosition);\n}", "private JToolBar getJToolBar() {\r\n\t\tif (jToolBar == null) {\r\n\t\t\tjToolBar = new JToolBar();\r\n\t\t\tjToolBar.setFloatable(false);\r\n\t\t\tjToolBar.add(getCmdAdd());\r\n\t\t\tjToolBar.add(getCmdDel());\r\n\t\t\tjToolBar.add(getCmdAddT());\r\n\t\t\tjToolBar.add(getCmdUrl());\r\n\t\t\tjToolBar.add(getCmdStart());\r\n\t\t\tjToolBar.add(getCmdPause());\r\n\t\t\tjToolBar.add(getCmdStop());\r\n\t\t\tjToolBar.add(getCmdExport());\r\n\t\t}\r\n\t\treturn jToolBar;\r\n\t}", "private void createToolbar() {\r\n // the visible toolbar is actually a toolbar next to a combobox.\r\n // That is why we need this extra composite, layout and numColums = 2.\r\n final Composite parent = new Composite(SHELL, SWT.FILL);\r\n final GridLayout layout = new GridLayout();\r\n layout.numColumns = 2;\r\n parent.setLayout(layout);\r\n\r\n final ToolBar bar = new ToolBar(parent, SWT.NONE);\r\n final GridData data = new GridData();\r\n data.heightHint = 55;\r\n data.grabExcessVerticalSpace = false;\r\n bar.setLayoutData(data);\r\n bar.setLayout(new GridLayout());\r\n\r\n createOpenButton(bar);\r\n\r\n createGenerateButton(bar);\r\n\r\n createSaveButton(bar);\r\n\r\n createSolveButton(bar);\r\n\r\n createAboutButton(bar);\r\n\r\n algorithmCombo = new AlgorithmCombo(parent);\r\n }", "public ToolBar(final Map<PaintTool, ToolAction> theMap, \n final List<PaintTool> theTools,\n final JFrame theFrame,\n final DrawingPanel thePanel) { \n\n myToolBar = new JToolBar();\n createToolButtons(theMap, theTools, theFrame);\n createUndoAndRedo(thePanel);\n myBar = theFrame.getJMenuBar();\n myBar.addPropertyChangeListener(this);\n myPcs = new PropertyChangeSupport(this);\n }", "@Override\n public int getNumGuiBars() {\n return 1;\n }", "@Override\n public MToolBar getToolbar()\n {\n return null;\n }", "private void prefillToolList() {\n\t\tToolConfig.clear();\n\t\tConfigurationSection toolDefinitions = config.getConfigurationSection(\"tools\");\n\t\tif (toolDefinitions != null) {\n\t\t\tfor (String toolDefine : toolDefinitions.getKeys(false)) {\n\t\t\t\tToolConfig.initTool(toolDefinitions.getConfigurationSection(toolDefine));\n\t\t\t}\n\t\t} else {\n\t\t\tCropControl.getPlugin().warning(\"No tools defined; if any crop configuration uses a tool config, it will result in a new warning.\");\n\t\t}\n\t}", "protected void addActivePathToolbarButton ()\n {\n\n }", "private void setupToolBar() {\n\t\tJPanel buttons = new JPanel(new GridBagLayout());\n\t\tGridBagConstraints c = new GridBagConstraints();\n\t\tc.fill = GridBagConstraints.HORIZONTAL;\n\t\ttoolBar = new JToolBar(\"Buttons\");\n\t\ttoolBar.setFloatable(false);\n\t\ttoolBar.setOrientation(SwingConstants.VERTICAL);\n\t\tbuttons.add(toolBar, c);\n\t\tadd(buttons, BorderLayout.EAST);\n\t}", "private BrowserToolbar() {\n\t\tinitComponents();\n\t}", "public AttributeDialog(Frame aFrame, String attribute, Vector aggs, String[] operators) {\r\n super(aFrame, true);\r\n\r\n setTitle(\"Attribute Aggregate/Filter Dialog: \"+attribute);\r\n\r\n this.attribute = attribute;\r\n this.aggregators = aggs;\r\n\r\n JPanel aggPanel = new JPanel();\r\n aggPanel.setBorder(BorderFactory.createTitledBorder(\"Aggregators\"));\r\n\r\n Vector v = new Vector();\r\n v.addElement(\"No Aggregator\");\r\n for (int i=0; i<aggregators.size(); i++) {\r\n v.addElement(((TASKAggInfo)aggregators.elementAt(i)).getName());\r\n }\r\n\r\n aggList = new JComboBox(v);\r\n aggList.setSelectedIndex(0);\r\n aggList.setRenderer(new MyComboBoxRenderer());\r\n aggPanel.add(aggList);\r\n\r\n aggList.addActionListener(new ActionListener() {\r\n public void actionPerformed(ActionEvent e) { \r\n JComboBox cb = (JComboBox)e.getSource();\r\n int index = cb.getSelectedIndex();\r\n if (index == 0) {\r\n arg1.setEnabled(false);\r\n arg1.setText(\"N/A\");\r\n arg2.setEnabled(false);\r\n arg2.setText(\"N/A\");\r\n }\r\n else {\r\n TASKAggInfo ai = (TASKAggInfo)aggregators.elementAt(index-1);\r\n if (ai.getNumConstArgs() == 1) {\r\n arg1.setEnabled(true);\r\n if (arg1.getText().equals(\"N/A\")) {\r\n arg1.setText(\"Argument 1\");\r\n }\r\n arg2.setEnabled(false);\r\n arg2.setText(\"N/A\");\r\n }\r\n else {\r\n arg1.setEnabled(true);\r\n if (arg1.getText().equals(\"N/A\")) {\r\n arg1.setText(\"Argument 1\");\r\n }\r\n arg2.setEnabled(true);\r\n if (arg2.getText().equals(\"N/A\")) {\r\n arg2.setText(\"Argument 2\");\r\n }\r\n }\r\n }\r\n }\r\n });\r\n \r\n arg1 = new JTextField(10);\r\n arg2 = new JTextField(10);\r\n aggPanel.add(arg1);\r\n aggPanel.add(arg2);\r\n arg1.setEnabled(false);\r\n arg1.setText(\"N/A\");\r\n arg2.setEnabled(false);\r\n arg2.setText(\"N/A\");\r\n\r\n JPanel filterPanel = new JPanel(new FlowLayout());\r\n JLabel label = new JLabel(attribute);\r\n filterPanel.setBorder(BorderFactory.createTitledBorder(\"Filter\"));\r\n opMenu = new JComboBox(operators);\r\n field = new JTextField(30);\r\n filterPanel.add(label);\r\n filterPanel.add(opMenu);\r\n filterPanel.add(field);\r\n\r\n JButton ok = new JButton(\"OK\");\r\n ok.addActionListener(this);\r\n JButton cancel = new JButton(\"Cancel\");\r\n cancel.addActionListener(this);\r\n JPanel submit = new JPanel(new FlowLayout(FlowLayout.CENTER,5,5));\r\n submit.add(ok);\r\n submit.add(cancel);\r\n\r\n JPanel main = new JPanel(new GridLayout(0,1));\r\n main.add(aggPanel);\r\n main.add(filterPanel);\r\n main.add(submit);\r\n \r\n getContentPane().add(main);\r\n\r\n addWindowListener(new WindowAdapter() {\r\n public void windowClosing(WindowEvent e) {\r\n }\r\n });\r\n\r\n setResizable(false);\r\n }", "private void createToolBar() {\r\n toolbar = new JToolBar();\r\n inbox = new CoeusToolBarButton(new ImageIcon(\r\n getClass().getClassLoader().getResource(CoeusGuiConstants.INBOX_ICON)), \"Maintain Inbox\", \"Maintain Inbox\");\r\n awards = new CoeusToolBarButton(new ImageIcon(\r\n getClass().getClassLoader().getResource(CoeusGuiConstants.AWARDS_ICON)), \"Maintain Awards\", \"Maintain Awards\");\r\n proposal = new CoeusToolBarButton(new ImageIcon(\r\n getClass().getClassLoader().getResource(CoeusGuiConstants.PROPOSAL_ICON)), \"Maintain InstituteProposals\", \"Maintain Institute Proposals\");\r\n proposalDevelopment = new CoeusToolBarButton(new ImageIcon(\r\n getClass().getClassLoader().getResource(CoeusGuiConstants.PROPOSAL_DEVELOPMENT_ICON)), \"Maintain ProposalDevelopment\", \"Maintain Proposal Development\");\r\n rolodex = new CoeusToolBarButton(new ImageIcon(\r\n getClass().getClassLoader().getResource(CoeusGuiConstants.ROLODEX_ICON)), \"Maintain Rolodex\", \"Maintain Rolodex\");\r\n sponsor = new CoeusToolBarButton(new ImageIcon(\r\n getClass().getClassLoader().getResource(CoeusGuiConstants.SPONSOR_ICON)), \"Maintain Sponsor\", \"Maintain Sponsor\");\r\n subContract = new CoeusToolBarButton(new ImageIcon(\r\n getClass().getClassLoader().getResource(CoeusGuiConstants.SUBCONTRACT_ICON)), \"Maintain SubContract\", \"Maintain Subcontract\");\r\n negotiations = new CoeusToolBarButton(new ImageIcon(\r\n getClass().getClassLoader().getResource(CoeusGuiConstants.NEGOTIATIONS_ICON)), \"Maintain Negotiations\", \"Maintain Negotiations\");\r\n buisnessRules = new CoeusToolBarButton(new ImageIcon(\r\n getClass().getClassLoader().getResource(CoeusGuiConstants.BUSINESS_RULES_ICON)), \"Maintain BusinessRules\", \"Maintain Business Rules\");\r\n map = new CoeusToolBarButton(new ImageIcon(\r\n getClass().getClassLoader().getResource(CoeusGuiConstants.MAP_ICON)), \"Maintain Map\", \"Maintain Map\");\r\n personnal = new CoeusToolBarButton(new ImageIcon(\r\n getClass().getClassLoader().getResource(CoeusGuiConstants.PERSONNAL_ICON)), \"Maintain Personal\", \"Maintain Personnel\");\r\n users = new CoeusToolBarButton(new ImageIcon(\r\n getClass().getClassLoader().getResource(CoeusGuiConstants.USERS_ICON)), \"Maintain Users\", \"Maintain Users\");\r\n unitHierarchy = new CoeusToolBarButton(new ImageIcon(\r\n getClass().getClassLoader().getResource(CoeusGuiConstants.UNIT_HIERARCHY_ICON)), \"Maintain UnitHierarchy\", \"Maintain Unit Hierarchy\");\r\n cascade = new CoeusToolBarButton(new ImageIcon(\r\n getClass().getClassLoader().getResource(CoeusGuiConstants.CASCADE_ICON)), \"Cascade\", \"Cascade\");\r\n tileHorizontal = new CoeusToolBarButton(new ImageIcon(\r\n getClass().getClassLoader().getResource(CoeusGuiConstants.TILE_HORIZONTAL_ICON)), \"Tile Horizontal\", \"Tile Horizontal\");\r\n tileVertical = new CoeusToolBarButton(new ImageIcon(\r\n getClass().getClassLoader().getResource(CoeusGuiConstants.TILE_VERTICAL_ICON)), \"Tile Vertical\", \"Tile Vertical\");\r\n layer = new CoeusToolBarButton(new ImageIcon(\r\n getClass().getClassLoader().getResource(CoeusGuiConstants.LAYER_ICON)), \"Layer\", \"Layer\");\r\n \r\n /*Added Icons are Committe,Protocol,Shedule. The Icons are different.Non-availability of standard Icon - Chandrashekar*/\r\n //Added for COEUSQA-2580_Change menu item name from \"Protocol\" to \"IRB Protocol\" on Maintain menu in Premium - Start\r\n /* JM 05-02-2013\r\n irbProtocol = new CoeusToolBarButton(new ImageIcon(\r\n getClass().getClassLoader().getResource(CoeusGuiConstants.PROTOCOL_ICON)), \"Protocol\", \"IRB Protocol\");\r\n \r\n irbProtocolSubmission = new CoeusToolBarButton(new ImageIcon(\r\n getClass().getClassLoader().getResource(CoeusGuiConstants.PROTOCOL_SUBMISSION_BASE_ICON)),\"Protocol Submission\",\"IRB Protocol Submission\");\r\n */\r\n //Added for COEUSQA-2580_Change menu item name from \"Protocol\" to \"IRB Protocol\" on Maintain menu in Premium - End\r\n /* JM 05-02-2013\r\n schedule = new CoeusToolBarButton(new ImageIcon(\r\n getClass().getClassLoader().getResource(CoeusGuiConstants.SCHEDULE_ICON)), \"Schedule\", \"Schedule\");\r\n committee = new CoeusToolBarButton(new ImageIcon(\r\n getClass().getClassLoader().getResource(CoeusGuiConstants.COMMITTEE_ICON)), \"Committee\", \"Committee\");\r\n */\r\n //Added for COEUSQA-2580_Change menu item name from \"Protocol\" to \"IRB Protocol\" on Maintain menu in Premium - Start\r\n //irbProtocolSubmission = new CoeusToolBarButton(new ImageIcon(\r\n // getClass().getClassLoader().getResource(CoeusGuiConstants.PROTOCOL_SUBMISSION_BASE_ICON)),\"Protocol Submission\",\"IRB Protocol Submission\");\r\n //Added for COEUSQA-2580_Change menu item name from \"Protocol\" to \"IRB Protocol\" on Maintain menu in Premium - End\r\n //Added for case id COEUSQA-2717 icons for IACUC to Coeus Premium start\r\n /* JM 05-02-2013\r\n iacucProtocol = new CoeusToolBarButton(new ImageIcon(\r\n getClass().getClassLoader().getResource(CoeusGuiConstants.IACUC_PROTOCOL_ICON)), \"Protocol\", \"IACUC Protocol\");\r\n \r\n iacucProtocolSubmission = new CoeusToolBarButton(new ImageIcon(\r\n getClass().getClassLoader().getResource(CoeusGuiConstants.IACUC_PROTOCOL_SUBMISSION_BASE_ICON)),\"Protocol Submission\",\"IACUC Protocol Submission\");\r\n */\r\n //Added for case id COEUSQA-2717 icons for IACUC to Coeus Premium end\r\n \r\n /* JM 4-25-2016 adding new Contact Coeus Help button */\r\n contactCoeusHelp = new CoeusToolBarButton(new ImageIcon(\r\n getClass().getClassLoader().getResource(CoeusGuiConstants.HELP_ICON)), \"Contact Coeus Help\", \"Contact Coeus Help\");\r\n /* JM END */\r\n \r\n exit = new CoeusToolBarButton(new ImageIcon(\r\n getClass().getClassLoader().getResource(CoeusGuiConstants.EXIT_ICON)), \"Exit\", \"Exit\");\r\n \r\n \r\n toolbar.add(inbox);\r\n toolbar.addSeparator();\r\n toolbar.add(awards);\r\n toolbar.add(proposal);\r\n toolbar.add(proposalDevelopment);\r\n toolbar.add(rolodex);\r\n toolbar.add(sponsor);\r\n toolbar.add(subContract);\r\n toolbar.add(negotiations);\r\n toolbar.add(buisnessRules);\r\n toolbar.add(map);\r\n toolbar.add(personnal);\r\n toolbar.add(users);\r\n toolbar.add(unitHierarchy);\r\n \r\n /*Added Icons are Committe,Protocol,Shedule - Chandrashekar*/\r\n /* JM 05-02-2013\r\n toolbar.add(irbProtocol);\r\n toolbar.add(irbProtocolSubmission);\r\n \r\n toolbar.add(schedule);\r\n toolbar.add(committee);\r\n */\r\n //Added for case id COEUSQA-2717 icons for IACUC to Coeus Premium start\r\n /* JM 05-02-2013\r\n toolbar.add(iacucProtocol);\r\n toolbar.add(iacucProtocolSubmission);\r\n */\r\n //Added for case id COEUSQA-2717 icons for IACUC to Coeus Premium end\r\n \r\n toolbar.addSeparator();\r\n toolbar.add(cascade);\r\n toolbar.add(tileHorizontal);\r\n toolbar.add(tileVertical);\r\n toolbar.add(layer);\r\n toolbar.addSeparator();\r\n \r\n /* JM 4-25-2016 adding new Contact Coeus Help button */\r\n toolbar.add(contactCoeusHelp);\r\n toolbar.addSeparator();\r\n /* JM END */\r\n \r\n toolbar.add(exit);\r\n \r\n toolbar.setFloatable(false);\r\n setTextLabels(false);\r\n MouseListener pl = new PopupListener();\r\n cpm = new CoeusPopupMenu();\r\n toolbar.addMouseListener(pl);\r\n \r\n inbox.addActionListener(this);\r\n awards.addActionListener(this);\r\n proposal.addActionListener(this);\r\n proposalDevelopment.addActionListener(this);\r\n rolodex.addActionListener(this);\r\n sponsor.addActionListener(this);\r\n subContract.addActionListener(this);\r\n negotiations.addActionListener(this);\r\n buisnessRules.addActionListener(this);\r\n map.addActionListener(this);\r\n personnal.addActionListener(this);\r\n users.addActionListener(this);\r\n unitHierarchy.addActionListener(this);\r\n cascade.addActionListener(this);\r\n tileHorizontal.addActionListener(this);\r\n tileVertical.addActionListener(this);\r\n layer.addActionListener(this);\r\n /*Added Icons are Committe,Protocol,Shedule - Chandrashekar*/\r\n /* JM 05-02-2013\r\n irbProtocol.addActionListener(this);\r\n schedule.addActionListener(this);\r\n committee.addActionListener(this);\r\n irbProtocolSubmission.addActionListener(this);\r\n //Added for case id COEUSQA-2717 icons for IACUC to Coeus Premium start\r\n iacucProtocol.addActionListener(this);\r\n iacucProtocolSubmission.addActionListener(this); */\r\n //Added for case id COEUSQA-2717 icons for IACUC to Coeus Premium end\r\n \r\n /* JM 4-25-2016 adding new Contact Coeus Help button */\r\n contactCoeusHelp.addActionListener(this);\r\n /* JM END */\r\n \r\n exit.addActionListener(this);\r\n }", "private void createToolbars() {\r\n\t\tJToolBar toolBar = new JToolBar(\"Tool bar\");\r\n\t\ttoolBar.add(createBlankDocument);\r\n\t\ttoolBar.add(openDocumentAction);\r\n\t\ttoolBar.add(saveDocumentAction);\r\n\t\ttoolBar.add(saveDocumentAsAction);\r\n\t\ttoolBar.add(closeCurrentTabAction);\r\n\t\t\r\n\t\ttoolBar.addSeparator();\r\n\t\ttoolBar.add(copyAction);\r\n\t\ttoolBar.add(cutAction);\r\n\t\ttoolBar.add(pasteAction);\r\n\t\t\r\n\t\ttoolBar.addSeparator();\r\n\t\ttoolBar.add(getStatsAction);\r\n\t\t\r\n\t\ttoolBar.addSeparator();\r\n\t\ttoolBar.add(exitAction);\r\n\t\t\r\n\t\tgetContentPane().add(toolBar, BorderLayout.PAGE_START);\r\n\t}", "public JToolBar getToolBar() {\n return myToolBar;\n }", "private Component getPanelOpcionesSuperior() {\n\t\tJPanel panel = new JPanel(new BorderLayout());\n\t\tArrayList<String> ops = new ArrayList<String>();\n\t\tops.add(\" Numero de empresas\");\n\t\tops.add(\"Tiempo de fluctuacion\");\n\t\tops.add(\"Fichero de empresas\");\n\t\tops.add(\"Fichero de usuarios\");\n\t\tops.add(\"Tick\");\n\t\t//ops.add(\"Sesión continua\");\n\n\t\tArrayList<String> chooser = new ArrayList<String>();\n\t\tchooser.add(\"Fichero de empresas\");\n\t\tchooser.add(\"Fichero de usuarios\");\n\n\t\topciones = new PanelOpciones(ops, null, chooser);\n\t\t//opciones.setCheckBox(\"Sesión continua\");\n\n\t\tpanel.add(opciones, BorderLayout.NORTH);\n\t\tJPanel panelBlanco = new JPanel();\n\t\tpanelBlanco.setPreferredSize(new Dimension(350, 300));\n\t\tpanel.add(panelBlanco);\n\n\t\treturn panel;\n\t}", "@Override\n public void setToolbar(MToolBar arg0)\n {\n \n }", "private void addToolsAndCommands() {\n this.selectTargetCadastreObjectTool\n = new CadastreChangeSelectCadastreObjectTool(this.getPojoDataAccess());\n this.selectTargetCadastreObjectTool.setTargetParcelsLayer(targetParcelsLayer);\n this.selectTargetCadastreObjectTool.setCadastreObjectType(CadastreObjectTypeBean.CODE_PARCEL);\n this.getMap().addTool(this.selectTargetCadastreObjectTool, this.getToolbar(), true);\n }", "private JToolBar createToolBar() {\n JToolBar toolbar = new JToolBar();\n Insets margins = new Insets(0, 0, 0, 0);\n\n ButtonGroup group1 = new ButtonGroup();\n\n ToolBarButton edit = new ToolBarButton(\"images/E.gif\");\n edit.setToolTipText(\"Edit motes\");\n edit.setMargin(margins);\n edit.setActionCommand(\"edit\");\n edit.setSelected(true);\n edit.addActionListener(new ActionListener() {\n public void actionPerformed(ActionEvent ae) {\n setMode(ADD_MODE);\n add.enable();\n remove.enable();\n auto.enable();\n add.setSelected(true);\n }\n });\n group1.add(edit);\n toolbar.add(edit);\n\n ToolBarButton vis = new ToolBarButton(\"images/V.gif\");\n vis.setToolTipText(\"Visualize mote network\");\n vis.setMargin(margins);\n vis.setActionCommand(\"visualize\");\n vis.addActionListener(new ActionListener() {\n public void actionPerformed(ActionEvent ae) {\n// AKD setMode(VIZ_MODE);\n add.setSelected(false);\n remove.setSelected(false);\n auto.setSelected(false);\n add.disable();\n remove.disable();\n auto.disable();\n }\n });\n group1.add(vis);\n toolbar.add(vis);\n\n toolbar.addSeparator();\n\n ButtonGroup group2 = new ButtonGroup();\n\n ToolBarButton pan = new ToolBarButton(\"images/P.gif\");\n pan.setToolTipText(\"Pan view\");\n pan.setMargin(margins);\n pan.setActionCommand(\"pan\");\n pan.addActionListener(new ActionListener() {\n public void actionPerformed(ActionEvent ae) {\n setMode(PAN_MODE);\n }\n });\n group2.add(pan);\n toolbar.add(pan);\n\n add = new ToolBarButton(\"images/A.gif\");\n add.setToolTipText(\"Add mote\");\n add.setMargin(margins);\n add.setActionCommand(\"add\");\n add.addActionListener(new ActionListener() {\n public void actionPerformed(ActionEvent ae) {\n setMode(ADD_MODE);\n }\n });\n group2.add(add);\n toolbar.add(add);\n\n remove = new ToolBarButton(\"images/R.gif\");\n remove.setToolTipText(\"Remove mote\");\n remove.setMargin(margins);\n remove.setActionCommand(\"pan\");\n remove.addActionListener(new ActionListener() {\n public void actionPerformed(ActionEvent ae) {\n setMode(REMOVE_MODE);\n }\n });\n group2.add(remove);\n toolbar.add(remove);\n\n auto = new ToolBarButton(\"images/T.gif\");\n auto.setToolTipText(\"Automatic mode\");\n auto.setMargin(margins);\n auto.setActionCommand(\"auto\");\n auto.addActionListener(new ActionListener() {\n public void actionPerformed(ActionEvent ae) {\n setMode(AUTO_MODE);\n }\n });\n group2.add(auto);\n toolbar.add(auto);\n\n toolbar.setFloatable(true);\n return toolbar;\n }", "public LMTransitionOptionsToolbar(LMOptionsPanel optionsPanel)\n {\n super(JToolBar.VERTICAL);\n setFloatable(false);\n setLayout(new GridBagLayout());\n this.optionsPanel = optionsPanel;\n buildUI();\n }", "PlotControlType getPlotControl();", "void setupToolbarDropDown(List<? extends CharSequence> dropDownItemList);", "public Toolbar() {\n\t\tsuper();\n\t\tthis.setLayout(new FlowLayout(FlowLayout.CENTER));\n\t\tboxColor = new Color(230, 230, 184);\n\t\tbuttonColor = new Color(255, 255, 102);\n\t\t// graphBottomColor = new Color(108, 123, 139);\n\t\t// graphTopColor = new Color(159, 182, 205);\n\t\t// titleRectColor = new Color(184, 230, 92);\n\n\t\teventTypeLabel = new JLabel(\"Event Type:\");\n\t\teventTypeDropDown = new Choice();\n\n\t\tareaLabel = new JLabel(\"Area:\");\n\t\tareaDropDown = new Choice();\n\n\t\tnumberOfPmuLabel = new JLabel(\"Number of PMU:\");\n\t\tnumberOfPmuDropDown = new Choice();\n\n\t\tnoiseLabel = new JLabel(\"Varience of Noise:\");\n\t\tlowNoiseTextBox = new JTextField(5);\n\t\thighNoiseTextBox = new JTextField(5);\n\n\t\t// adding data to drop down\n\t\teventTypeDropDown.add(\"-----\");\n\t\teventTypeDropDown.add(\"Fault\");\n\t\teventTypeDropDown.add(\"Generation Loss\");\n\t\teventTypeDropDown.add(\"Load Switch Off\");\n\t\teventTypeDropDown.add(\"Load Switch On\");\n\t\teventTypeDropDown.add(\"Reactive Power Excluded\");\n\t\teventTypeDropDown.add(\"Reactive Power Introduced\");\n\t\teventTypeDropDown.add(\"Synchronous Motor Switching Off\");\n\t\teventTypeDropDown.add(\"Series Capacitor Switching Off\");\n\t\teventTypeDropDown.add(\"Series Capacitor Switching On\");\n\n\t\t// adding data to drop down\n\t\tareaDropDown.add(\"ALBERTA -- 54\");\n\t\tareaDropDown.add(\"ARIZONA -- 14\");\n\t\tareaDropDown.add(\"B.C. HYDRO -- 50\");\n\t\tareaDropDown.add(\"EL PASO -- 11\");\n\t\tareaDropDown.add(\"IDAHO -- 60\");\n\t\tareaDropDown.add(\"IMPERIALCA -- 21\");\n\t\tareaDropDown.add(\"LADWP -- 26\");\n\t\t// areaDropDown.add(\"MEXICO-CFE -- 20\");\n\t\tareaDropDown.add(\"MONTANA -- 62\");\n\t\tareaDropDown.add(\"NEVADA -- 18\");\n\t\tareaDropDown.add(\"NEW MEXICO -- 10\");\n\t\tareaDropDown.add(\"NORTHWEST -- 40\");\n\t\tareaDropDown.add(\"PACE -- 65\");\n\t\tareaDropDown.add(\"PG AND E -- 30\");\n\t\tareaDropDown.add(\"PSCOLORADO -- 70\");\n\t\tareaDropDown.add(\"SANDIEGO -- 22\");\n\t\tareaDropDown.add(\"SIERRA -- 64\");\n\t\tareaDropDown.add(\"SOCALIF -- 24\");\n\t\tareaDropDown.add(\"FORTISBC -- 52\");\n\t\tareaDropDown.add(\"WAPA R.M. -- 73\");\n\t\t// areaDropDown.add(\"WAPA U.M. -- 63\");\n\n\t\t// adding data to drop down\n\t\tnumberOfPmuDropDown.add(\"10\");\n\t\tnumberOfPmuDropDown.add(\"9\");\n\t\tnumberOfPmuDropDown.add(\"8\");\n\t\tnumberOfPmuDropDown.add(\"7\");\n\t\tnumberOfPmuDropDown.add(\"6\");\n\t\tnumberOfPmuDropDown.add(\"5\");\n\t\tnumberOfPmuDropDown.add(\"4\");\n\t\tnumberOfPmuDropDown.add(\"3\");\n\t\tnumberOfPmuDropDown.add(\"2\");\n\t\tnumberOfPmuDropDown.add(\"1\");\n\n\t\tstartButton = new JButton(\"Start\");\n\t\tstartButton.setFocusPainted(false);\n\t\tstopButton = new JButton(\"Stop\");\n\t\tstopButton.setFocusPainted(false);\n\t\tcreateEventButton = new JButton(\"Disturbance\");\n\t\tcreateEventButton.setFocusPainted(false);\n\t\tcreateEventButton.setEnabled(false);\n\t\tstopButton.setEnabled(false);\n\n\t\teventTypeDropDown.setBackground(boxColor);\n\t\tareaDropDown.setBackground(boxColor);\n\t\tnumberOfPmuDropDown.setBackground(boxColor);\n\n\t\tstartButton.setBackground(Color.green);\n\t\tstopButton.setBackground(Color.red);\n\t\tcreateEventButton.setBackground(buttonColor);\n\n\t\tstartButton.setForeground(Color.black);\n\t\tstopButton.setForeground(Color.black);\n\n\t\t// adding components to the panel\n\t\tthis.add(eventTypeLabel);\n\t\tthis.add(eventTypeDropDown);\n\n\t\tthis.add(areaLabel);\n\t\tthis.add(areaDropDown);\n\n\t\tthis.add(numberOfPmuLabel);\n\t\tthis.add(numberOfPmuDropDown);\n\n\t\tthis.add(noiseLabel);\n\t\tthis.add(lowNoiseTextBox);\n\t\tthis.add(highNoiseTextBox);\n\n\t\tthis.add(startButton);\n\t\tthis.add(stopButton);\n\t\tthis.add(createEventButton);\n\n\t\t// listeners get initialized here so that when the toolbar is\n\t\t// constructed there in only one instance of the listeners\n\t\tstartButton.addActionListener(new ToolbarListener(\n\t\t\t\tToolbarListener.START_BUTTON, tools));\n\t\tstopButton.addActionListener(new ToolbarListener(\n\t\t\t\tToolbarListener.STOP_BUTTON, tools));\n\t\tcreateEventButton.addActionListener(new ToolbarListener(\n\t\t\t\tToolbarListener.CREATE_EVENT_BUTTON, tools));\n\n\t}", "@Override\r\n\tprotected Component[] createToggledComponents() throws ThinklabException {\r\n\t\tHbox classel = new Hbox();\r\n\r\n\t\tclassel.setWidth(\"100%\");\r\n\t\t\r\n\t\tWindow wc = new Window();\r\n\t\twc.setWidth(\"100%\");\r\n\t\twc.setBorder(\"normal\");\r\n\t\t\r\n\t\tclassel.appendChild(new Label(\"restrict type to \"));\r\n\t\tclassel.appendChild(new ObjectClassSelector(conceptID, indentLevel));\r\n\t\t\r\n\t\t/* TODO we must track the recursion level and insert an \"indent\" component if > 0 */\r\n\t\t\r\n\t\tInstanceSelector subc = new InstanceSelector(indentLevel);\r\n\t\tsubc.setConcept(conceptID);\r\n\t\tsubc.setWidth(\"100%\");\r\n\t\tobjComponent = subc;\r\n\t\t\r\n\t\tVbox amo = new Vbox(); amo.setWidth(\"100%\");\r\n\t\tHbox uff = new Hbox(); uff.setWidth(\"100%\");\r\n\t\r\n\t\tamo.appendChild(classel);\r\n\t\tamo.appendChild(subc);\r\n\t\twc.appendChild(amo);\r\n\t\t\r\n\t\tif (indentLevel > 0) {\r\n\t\t\tSeparator sep = new Separator(\"vertical\");\r\n\t\t\tsep.setWidth((30*indentLevel) + \"px\");\r\n\t\t\tuff.appendChild(sep);\r\n\t\t}\r\n\t\tuff.appendChild(wc);\r\n\t\t\r\n\t\tComponent[] c = new Component[1];\r\n\t\tc[0] = uff;\r\n\t\t\r\n\t\treturn c;\r\n\t\t\r\n\t}", "private Component createToolBar()\n {\n Component toolbarPanel = null;\n\n mainToolBar = new MainToolBar(this);\n\n boolean chatToolbarVisible\n = ConfigurationUtils.isChatToolbarVisible();\n\n if (OSUtils.IS_MAC)\n {\n UnifiedToolBar macToolbarPanel = new UnifiedToolBar();\n\n MacUtils.makeWindowLeopardStyle(getRootPane());\n\n macToolbarPanel.addComponentToLeft(mainToolBar);\n macToolbarPanel.addComponentToRight(contactPhotoPanel);\n macToolbarPanel.disableBackgroundPainter();\n macToolbarPanel.installWindowDraggerOnWindow(this);\n macToolbarPanel.getComponent()\n .setBorder(BorderFactory.createEmptyBorder(3, 3, 3, 3));\n macToolbarPanel.getComponent().setVisible(chatToolbarVisible);\n\n toolbarPanel = macToolbarPanel.getComponent();\n }\n else\n {\n ToolbarPanel panel = new ToolbarPanel(new BorderLayout());\n\n panel.setBorder(BorderFactory.createEmptyBorder(3, 0, 3, 0));\n panel.add(mainToolBar, BorderLayout.CENTER);\n panel.add(contactPhotoPanel, BorderLayout.EAST);\n panel.setVisible(chatToolbarVisible);\n\n toolbarPanel = panel;\n }\n\n return toolbarPanel;\n }", "public String getToolbar() {\n\t\treturn toolbar;\n\t}", "protected Component getOptionsPanel() {\n return _options;\n }", "@Override\n protected void initializeToolBars() {\n SharedToolBar sharedToolbar = getSharedToolBar();\n sharedToolbar.addPushButton(new HelpAction(\"org.geocraft.ui.traceviewer.MapPlot\"));\n\n // Create a custom toolbar just for the trace viewer.\n SimpleToolBar toolbar = addCustomToolBar();\n\n // Add a color selector for choosing the background color.\n final ColorSelector colorSelector = toolbar.addColorSelector(getBackgroundViewColor());\n colorSelector.getButton().setToolTipText(\"Select background color\");\n colorSelector.addListener(new IPropertyChangeListener() {\n\n /**\n * Invoked when a color is chosen in the color selector.\n * \n * @param event\n * the property change event.\n */\n public void propertyChange(final PropertyChangeEvent event) {\n RGB newColor = colorSelector.getColorValue();\n setBackgroundViewColor(newColor);\n _plot.getModelSpaceCanvas().setGridLineProperties(LineStyle.NONE, newColor, 0);\n }\n });\n }", "protected void getTopComponents(List comps) {\n Element chooserNode = getXmlNode();\n \n // Force ATTR_DSCOMP to be false before calling super.getTopComponents\n // We call getDataSourcesComponent later on\n boolean dscomp = XmlUtil.getAttribute(chooserNode, ATTR_DSCOMP, true);\n XmlUtil.setAttributes(chooserNode, new String[] { ATTR_DSCOMP, \"false\" });\n super.getTopComponents(comps);\n if (dscomp) {\n XmlUtil.setAttributes(chooserNode, new String[] { ATTR_DSCOMP, \"true\" });\n }\n }", "public static boolean[] getSelectedComponentsFilter() {\r\n return PCCTRL.selectedComponentsFilter;\r\n }", "private void initComponents() {\n\n jButtonGroupTools = new javax.swing.ButtonGroup();\n jButtonGroupFill = new javax.swing.ButtonGroup();\n jSeparator2 = new javax.swing.JSeparator();\n jToolBarTools = new javax.swing.JToolBar();\n jButtonNew = new javax.swing.JButton();\n jButtonOpen = new javax.swing.JButton();\n jButtonSave = new javax.swing.JButton();\n jButtonDuplicate = new javax.swing.JButton();\n jSeparator3 = new javax.swing.JToolBar.Separator();\n jToggleButtonPoint = new javax.swing.JToggleButton();\n jToggleButtonLine = new javax.swing.JToggleButton();\n jToggleButtonRectangle = new javax.swing.JToggleButton();\n jToggleButtonRoundRectangle = new javax.swing.JToggleButton();\n jToggleButtonArc = new javax.swing.JButton();\n jToggleButtonCurve = new javax.swing.JToggleButton();\n jToggleButtonPolyline = new javax.swing.JToggleButton();\n jToggleButtonPolygon = new javax.swing.JToggleButton();\n jToggleButtonEllipse = new javax.swing.JToggleButton();\n jToggleButtonMove = new javax.swing.JToggleButton();\n jToggleButtonText = new javax.swing.JToggleButton();\n jSeparator10 = new javax.swing.JToolBar.Separator();\n jButtonFont = new javax.swing.JButton();\n jSeparator4 = new javax.swing.JToolBar.Separator();\n jButtonColorChooserFront = new UI.ColorChooserButton(Color.BLACK);\n jButtonColorChooserBack = new UI.ColorChooserButton(Color.WHITE);\n jSeparator5 = new javax.swing.JToolBar.Separator();\n jPanelStroke = new UI.StrokeChooserComboBox();\n jSpinnerStroke = new javax.swing.JSpinner();\n jSeparator8 = new javax.swing.JToolBar.Separator();\n jToggleButtonNoFill = new javax.swing.JToggleButton();\n jToggleButtonSolidFill = new javax.swing.JToggleButton();\n jToggleButtonHorizontalFill = new javax.swing.JToggleButton();\n jToggleButtonVerticalFill = new javax.swing.JToggleButton();\n jToggleButtonRadialFill = new javax.swing.JToggleButton();\n jToggleButtonDiagonal1Fill = new javax.swing.JToggleButton();\n jToggleButtonDiagonal2Fill = new javax.swing.JToggleButton();\n jSeparator9 = new javax.swing.JToolBar.Separator();\n jToggleButtonAntialiasing = new javax.swing.JToggleButton();\n jSliderAlpha = new javax.swing.JSlider();\n jSeparator6 = new javax.swing.JToolBar.Separator();\n jToggleButtonRecord = new javax.swing.JToggleButton();\n jLabelRecordTime = new javax.swing.JLabel();\n jSeparator7 = new javax.swing.JToolBar.Separator();\n jButtonWebCam = new javax.swing.JButton();\n jButtonSnapShot = new javax.swing.JButton();\n jPanelCenter = new javax.swing.JPanel();\n jSplitPane1 = new javax.swing.JSplitPane();\n desktop = new javax.swing.JDesktopPane();\n jPanel1 = new javax.swing.JPanel();\n jScrollPane2 = new javax.swing.JScrollPane();\n jListShapes = new javax.swing.JList<String>();\n jPanel2 = new javax.swing.JPanel();\n jButtonMoveUp = new javax.swing.JButton();\n jButtonMoveDown = new javax.swing.JButton();\n jToolBarImage = new javax.swing.JToolBar();\n jPanelImageBrightness = new javax.swing.JPanel();\n jSliderBrightness = new javax.swing.JSlider();\n jPanelImageFilter = new javax.swing.JPanel();\n jComboBoxFilter = new javax.swing.JComboBox<String>();\n jPanelImageContrast = new javax.swing.JPanel();\n jButtonConstrast = new javax.swing.JButton();\n jButtonConstrastBright = new javax.swing.JButton();\n jButtonContrastDark = new javax.swing.JButton();\n jPanelImageOperations = new javax.swing.JPanel();\n jButtonSinus = new javax.swing.JButton();\n jButtonSepia = new javax.swing.JButton();\n jButtonSobel = new javax.swing.JButton();\n jButtonTinted = new javax.swing.JButton();\n jButtonNegative = new javax.swing.JButton();\n jButtonGrayScale = new javax.swing.JButton();\n jButtonRandomBlack = new javax.swing.JButton();\n jPanelImageBinary = new javax.swing.JPanel();\n jButtonBinaryAdd = new javax.swing.JButton();\n jButtonBinarySubstract = new javax.swing.JButton();\n jButtonBinaryProduct = new javax.swing.JButton();\n jSliderBinaryOperations = new javax.swing.JSlider();\n jPanelUmbralization = new javax.swing.JPanel();\n jSliderUmbralization = new javax.swing.JSlider();\n jPanelStatusBar = new javax.swing.JPanel();\n jToolBarImageRotation = new javax.swing.JToolBar();\n jPanelImageRotate = new javax.swing.JPanel();\n jSliderRotate = new javax.swing.JSlider();\n jButtonRotate90 = new javax.swing.JButton();\n jButton180 = new javax.swing.JButton();\n jButtonRotate270 = new javax.swing.JButton();\n jPanelZoom = new javax.swing.JPanel();\n jButtonZoomMinus = new javax.swing.JButton();\n jButtonZoomPlus = new javax.swing.JButton();\n jStatusBarTool = new javax.swing.JLabel();\n jPanelCursorAndColor = new javax.swing.JPanel();\n jStatusBarCursor = new javax.swing.JLabel();\n jStatusBarColor = new javax.swing.JLabel();\n jMenuBar = new javax.swing.JMenuBar();\n jMenuFile = new javax.swing.JMenu();\n jMenuItemNew = new javax.swing.JMenuItem();\n jMenuOpen = new javax.swing.JMenuItem();\n jMenuSave = new javax.swing.JMenuItem();\n jSeparator1 = new javax.swing.JPopupMenu.Separator();\n jMenuItemExit = new javax.swing.JMenuItem();\n jMenuEdit = new javax.swing.JMenu();\n jMenuItemCut = new javax.swing.JMenuItem();\n jMenuItemCopy = new javax.swing.JMenuItem();\n jMenuItemPaste = new javax.swing.JMenuItem();\n jMenuView = new javax.swing.JMenu();\n jCheckBoxMenuItemToolBar = new javax.swing.JCheckBoxMenuItem();\n jCheckBoxMenuItemToolBarImageOperations = new javax.swing.JCheckBoxMenuItem();\n jCheckBoxMenuItemToolBarImageRotation = new javax.swing.JCheckBoxMenuItem();\n jCheckBoxMenuItemStatusBar = new javax.swing.JCheckBoxMenuItem();\n jMenuImage = new javax.swing.JMenu();\n jMenuItemChangeSize = new javax.swing.JMenuItem();\n jMenuItemDuplicateImage = new javax.swing.JMenuItem();\n jMenuItemHistogram = new javax.swing.JMenuItem();\n jMenuHelp = new javax.swing.JMenu();\n jMenuItemHelpAbout = new javax.swing.JMenuItem();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n setMinimumSize(new java.awt.Dimension(600, 500));\n\n jToolBarTools.setRollover(true);\n\n jButtonNew.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/sm/images/icon_new.png\"))); // NOI18N\n jButtonNew.setToolTipText(\"Nueva imagen\");\n jButtonNew.setFocusable(false);\n jButtonNew.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n jButtonNew.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);\n jButtonNew.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButtonNewActionPerformed(evt);\n }\n });\n jToolBarTools.add(jButtonNew);\n\n jButtonOpen.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/sm/images/icon_open.png\"))); // NOI18N\n jButtonOpen.setToolTipText(\"Abrir\");\n jButtonOpen.setFocusable(false);\n jButtonOpen.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n jButtonOpen.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);\n jButtonOpen.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButtonOpenActionPerformed(evt);\n }\n });\n jToolBarTools.add(jButtonOpen);\n\n jButtonSave.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/sm/images/icon_save.png\"))); // NOI18N\n jButtonSave.setToolTipText(\"Guardar\");\n jButtonSave.setFocusable(false);\n jButtonSave.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n jButtonSave.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);\n jButtonSave.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButtonSaveActionPerformed(evt);\n }\n });\n jToolBarTools.add(jButtonSave);\n\n jButtonDuplicate.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/sm/images/icon_duplicate.png\"))); // NOI18N\n jButtonDuplicate.setToolTipText(\"Duplicar\");\n jButtonDuplicate.setFocusable(false);\n jButtonDuplicate.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n jButtonDuplicate.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);\n jButtonDuplicate.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButtonDuplicateActionPerformed(evt);\n }\n });\n jToolBarTools.add(jButtonDuplicate);\n jToolBarTools.add(jSeparator3);\n\n jButtonGroupTools.add(jToggleButtonPoint);\n jToggleButtonPoint.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/sm/images/icon_pencil.png\"))); // NOI18N\n jToggleButtonPoint.setSelected(true);\n jToggleButtonPoint.setToolTipText(\"Punto\");\n jToggleButtonPoint.setFocusable(false);\n jToggleButtonPoint.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n jToggleButtonPoint.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);\n jToggleButtonPoint.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jToggleButtonPointActionPerformed(evt);\n }\n });\n jToolBarTools.add(jToggleButtonPoint);\n\n jButtonGroupTools.add(jToggleButtonLine);\n jToggleButtonLine.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/sm/images/icon_line.png\"))); // NOI18N\n jToggleButtonLine.setToolTipText(\"Linea\");\n jToggleButtonLine.setFocusable(false);\n jToggleButtonLine.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n jToggleButtonLine.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);\n jToggleButtonLine.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jToggleButtonLineActionPerformed(evt);\n }\n });\n jToolBarTools.add(jToggleButtonLine);\n\n jButtonGroupTools.add(jToggleButtonRectangle);\n jToggleButtonRectangle.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/sm/images/icon_rectangle.png\"))); // NOI18N\n jToggleButtonRectangle.setToolTipText(\"Rectangulo\");\n jToggleButtonRectangle.setFocusable(false);\n jToggleButtonRectangle.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n jToggleButtonRectangle.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);\n jToggleButtonRectangle.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jToggleButtonRectangleActionPerformed(evt);\n }\n });\n jToolBarTools.add(jToggleButtonRectangle);\n\n jButtonGroupTools.add(jToggleButtonRoundRectangle);\n jToggleButtonRoundRectangle.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/sm/images/icon_roundrectangle.png\"))); // NOI18N\n jToggleButtonRoundRectangle.setToolTipText(\"Rectangulo redondeado\");\n jToggleButtonRoundRectangle.setFocusable(false);\n jToggleButtonRoundRectangle.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n jToggleButtonRoundRectangle.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);\n jToggleButtonRoundRectangle.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jToggleButtonRoundRectangleActionPerformed(evt);\n }\n });\n jToolBarTools.add(jToggleButtonRoundRectangle);\n\n jToggleButtonArc.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/sm/images/icon_arc.png\"))); // NOI18N\n jToggleButtonArc.setToolTipText(\"Arco\");\n jButtonGroupTools.add(jToggleButtonArc);\n jToggleButtonArc.setFocusable(false);\n jToggleButtonArc.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n jToggleButtonArc.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);\n jToggleButtonArc.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jToggleButtonArcActionPerformed(evt);\n }\n });\n jToolBarTools.add(jToggleButtonArc);\n\n jButtonGroupTools.add(jToggleButtonCurve);\n jToggleButtonCurve.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/sm/images/icon_curve.png\"))); // NOI18N\n jToggleButtonCurve.setToolTipText(\"Curva\");\n jToggleButtonCurve.setFocusable(false);\n jToggleButtonCurve.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n jToggleButtonCurve.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);\n jToggleButtonCurve.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jToggleButtonCurveActionPerformed(evt);\n }\n });\n jToolBarTools.add(jToggleButtonCurve);\n\n jButtonGroupTools.add(jToggleButtonPolyline);\n jToggleButtonPolyline.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/sm/images/icon_polygon.png\"))); // NOI18N\n jToggleButtonPolyline.setToolTipText(\"Polilínea\");\n jToggleButtonPolyline.setFocusable(false);\n jToggleButtonPolyline.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n jToggleButtonPolyline.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);\n jToggleButtonPolyline.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jToggleButtonPolylineActionPerformed(evt);\n }\n });\n jToolBarTools.add(jToggleButtonPolyline);\n\n jButtonGroupTools.add(jToggleButtonPolygon);\n jToggleButtonPolygon.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/sm/images/icon_polygon.png\"))); // NOI18N\n jToggleButtonPolygon.setToolTipText(\"Poligono\");\n jToggleButtonPolygon.setFocusable(false);\n jToggleButtonPolygon.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n jToggleButtonPolygon.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);\n jToggleButtonPolygon.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jToggleButtonPolygonActionPerformed(evt);\n }\n });\n jToolBarTools.add(jToggleButtonPolygon);\n\n jButtonGroupTools.add(jToggleButtonEllipse);\n jToggleButtonEllipse.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/sm/images/icon_ellipse.png\"))); // NOI18N\n jToggleButtonEllipse.setToolTipText(\"Elipse\");\n jToggleButtonEllipse.setFocusable(false);\n jToggleButtonEllipse.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n jToggleButtonEllipse.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);\n jToggleButtonEllipse.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jToggleButtonEllipseActionPerformed(evt);\n }\n });\n jToolBarTools.add(jToggleButtonEllipse);\n\n jButtonGroupTools.add(jToggleButtonMove);\n jToggleButtonMove.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/sm/images/icon_move.png\"))); // NOI18N\n jToggleButtonMove.setToolTipText(\"Mover\");\n jToggleButtonMove.setFocusable(false);\n jToggleButtonMove.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n jToggleButtonMove.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);\n jToggleButtonMove.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jToggleButtonMoveActionPerformed(evt);\n }\n });\n jToolBarTools.add(jToggleButtonMove);\n\n jButtonGroupTools.add(jToggleButtonText);\n jToggleButtonText.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/sm/images/icon_text.png\"))); // NOI18N\n jToggleButtonText.setToolTipText(\"Texto\");\n jToggleButtonText.setFocusable(false);\n jToggleButtonText.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n jToggleButtonText.setPreferredSize(new java.awt.Dimension(24, 24));\n jToggleButtonText.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);\n jToggleButtonText.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jToggleButtonTextActionPerformed(evt);\n }\n });\n jToolBarTools.add(jToggleButtonText);\n jToolBarTools.add(jSeparator10);\n\n jButtonFont.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/sm/images/icon_font.png\"))); // NOI18N\n jButtonFont.setToolTipText(\"Fuente\");\n jButtonFont.setFocusable(false);\n jButtonFont.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n jButtonFont.setPreferredSize(new java.awt.Dimension(24, 24));\n jButtonFont.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);\n jButtonFont.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButtonFontActionPerformed(evt);\n }\n });\n jToolBarTools.add(jButtonFont);\n jToolBarTools.add(jSeparator4);\n\n jButtonColorChooserFront.setToolTipText(\"Color de borde\");\n jButtonColorChooserFront.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED));\n jButtonColorChooserFront.setBorderPainted(false);\n jButtonColorChooserFront.setFocusable(false);\n jButtonColorChooserFront.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n jButtonColorChooserFront.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);\n jToolBarTools.add(jButtonColorChooserFront);\n\n jButtonColorChooserBack.setForeground(new java.awt.Color(255, 255, 255));\n jButtonColorChooserBack.setToolTipText(\"Color de fondo\");\n jButtonColorChooserBack.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED));\n jButtonColorChooserBack.setBorderPainted(false);\n jButtonColorChooserBack.setFocusable(false);\n jButtonColorChooserBack.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n jButtonColorChooserBack.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);\n jToolBarTools.add(jButtonColorChooserBack);\n jToolBarTools.add(jSeparator5);\n jToolBarTools.add(jPanelStroke);\n\n jSpinnerStroke.setModel(new javax.swing.SpinnerNumberModel(1, 1, 20, 1));\n jSpinnerStroke.setToolTipText(\"Grosor de linea\");\n jSpinnerStroke.setEditor(new javax.swing.JSpinner.NumberEditor(jSpinnerStroke, \"\"));\n jSpinnerStroke.setFocusable(false);\n jSpinnerStroke.setValue(1);\n jSpinnerStroke.addChangeListener(new javax.swing.event.ChangeListener() {\n public void stateChanged(javax.swing.event.ChangeEvent evt) {\n jSpinnerStrokeStateChanged(evt);\n }\n });\n jToolBarTools.add(jSpinnerStroke);\n jToolBarTools.add(jSeparator8);\n\n jButtonGroupFill.add(jToggleButtonNoFill);\n jToggleButtonNoFill.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/sm/images/icon_fillno.png\"))); // NOI18N\n jToggleButtonNoFill.setSelected(true);\n jToggleButtonNoFill.setToolTipText(\"Sin relleno\");\n jToggleButtonNoFill.setFocusable(false);\n jToggleButtonNoFill.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n jToggleButtonNoFill.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);\n jToggleButtonNoFill.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jToggleButtonNoFillActionPerformed(evt);\n }\n });\n jToolBarTools.add(jToggleButtonNoFill);\n\n jButtonGroupFill.add(jToggleButtonSolidFill);\n jToggleButtonSolidFill.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/sm/images/icon_fill.png\"))); // NOI18N\n jToggleButtonSolidFill.setToolTipText(\"Relleno sólido\");\n jToggleButtonSolidFill.setFocusable(false);\n jToggleButtonSolidFill.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n jToggleButtonSolidFill.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);\n jToggleButtonSolidFill.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jToggleButtonSolidFillActionPerformed(evt);\n }\n });\n jToolBarTools.add(jToggleButtonSolidFill);\n\n jButtonGroupFill.add(jToggleButtonHorizontalFill);\n jToggleButtonHorizontalFill.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/sm/images/icon_fill_horizontal.png\"))); // NOI18N\n jToggleButtonHorizontalFill.setToolTipText(\"Degradado horizontal\");\n jToggleButtonHorizontalFill.setFocusable(false);\n jToggleButtonHorizontalFill.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n jToggleButtonHorizontalFill.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);\n jToggleButtonHorizontalFill.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jToggleButtonHorizontalFillActionPerformed(evt);\n }\n });\n jToolBarTools.add(jToggleButtonHorizontalFill);\n\n jButtonGroupFill.add(jToggleButtonVerticalFill);\n jToggleButtonVerticalFill.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/sm/images/icon_fill_vertical.png\"))); // NOI18N\n jToggleButtonVerticalFill.setToolTipText(\"Degradado horizontal\");\n jToggleButtonVerticalFill.setFocusable(false);\n jToggleButtonVerticalFill.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n jToggleButtonVerticalFill.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);\n jToggleButtonVerticalFill.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jToggleButtonVerticalFillActionPerformed(evt);\n }\n });\n jToolBarTools.add(jToggleButtonVerticalFill);\n\n jButtonGroupFill.add(jToggleButtonRadialFill);\n jToggleButtonRadialFill.setText(\"R\");\n jToggleButtonRadialFill.setToolTipText(\"Degradado Radial\");\n jToggleButtonRadialFill.setFocusable(false);\n jToggleButtonRadialFill.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n jToggleButtonRadialFill.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);\n jToggleButtonRadialFill.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jToggleButtonRadialFillActionPerformed(evt);\n }\n });\n jToolBarTools.add(jToggleButtonRadialFill);\n\n jButtonGroupFill.add(jToggleButtonDiagonal1Fill);\n jToggleButtonDiagonal1Fill.setText(\"D1\");\n jToggleButtonDiagonal1Fill.setFocusable(false);\n jToggleButtonDiagonal1Fill.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n jToggleButtonDiagonal1Fill.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);\n jToggleButtonDiagonal1Fill.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jToggleButtonDiagonal1FillActionPerformed(evt);\n }\n });\n jToolBarTools.add(jToggleButtonDiagonal1Fill);\n\n jButtonGroupFill.add(jToggleButtonDiagonal2Fill);\n jToggleButtonDiagonal2Fill.setText(\"D2\");\n jToggleButtonDiagonal2Fill.setFocusable(false);\n jToggleButtonDiagonal2Fill.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n jToggleButtonDiagonal2Fill.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);\n jToggleButtonDiagonal2Fill.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jToggleButtonDiagonal2FillActionPerformed(evt);\n }\n });\n jToolBarTools.add(jToggleButtonDiagonal2Fill);\n jToolBarTools.add(jSeparator9);\n\n jToggleButtonAntialiasing.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/sm/images/icon_antialiasing.png\"))); // NOI18N\n jToggleButtonAntialiasing.setToolTipText(\"Suavizado\");\n jToggleButtonAntialiasing.setFocusable(false);\n jToggleButtonAntialiasing.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n jToggleButtonAntialiasing.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);\n jToggleButtonAntialiasing.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jToggleButtonAntialiasingActionPerformed(evt);\n }\n });\n jToolBarTools.add(jToggleButtonAntialiasing);\n\n jSliderAlpha.setPaintTicks(true);\n jSliderAlpha.setToolTipText(\"Transparencia\");\n jSliderAlpha.setValue(100);\n jSliderAlpha.addChangeListener(new javax.swing.event.ChangeListener() {\n public void stateChanged(javax.swing.event.ChangeEvent evt) {\n jSliderAlphaStateChanged(evt);\n }\n });\n jToolBarTools.add(jSliderAlpha);\n jToolBarTools.add(jSeparator6);\n\n jToggleButtonRecord.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/sm/images/icon_record.png\"))); // NOI18N\n jToggleButtonRecord.setToolTipText(\"Grabar\");\n jToggleButtonRecord.setFocusable(false);\n jToggleButtonRecord.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n jToggleButtonRecord.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);\n jToggleButtonRecord.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jToggleButtonRecordActionPerformed(evt);\n }\n });\n jToolBarTools.add(jToggleButtonRecord);\n\n jLabelRecordTime.setText(\"00:00\");\n jToolBarTools.add(jLabelRecordTime);\n jToolBarTools.add(jSeparator7);\n\n jButtonWebCam.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/sm/images/icon_webcam.png\"))); // NOI18N\n jButtonWebCam.setToolTipText(\"Abrir webcam\");\n jButtonWebCam.setFocusable(false);\n jButtonWebCam.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n jButtonWebCam.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);\n jButtonWebCam.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButtonWebCamActionPerformed(evt);\n }\n });\n jToolBarTools.add(jButtonWebCam);\n\n jButtonSnapShot.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/sm/images/icon_snapshot.png\"))); // NOI18N\n jButtonSnapShot.setToolTipText(\"Tomar captura\");\n jButtonSnapShot.setFocusable(false);\n jButtonSnapShot.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n jButtonSnapShot.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);\n jButtonSnapShot.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButtonSnapShotActionPerformed(evt);\n }\n });\n jToolBarTools.add(jButtonSnapShot);\n\n getContentPane().add(jToolBarTools, java.awt.BorderLayout.PAGE_START);\n\n jPanelCenter.setLayout(new java.awt.BorderLayout());\n\n desktop.addMouseMotionListener(new java.awt.event.MouseMotionAdapter() {\n public void mouseMoved(java.awt.event.MouseEvent evt) {\n desktopMouseMoved(evt);\n }\n });\n desktop.addVetoableChangeListener(new java.beans.VetoableChangeListener() {\n public void vetoableChange(java.beans.PropertyChangeEvent evt)throws java.beans.PropertyVetoException {\n desktopVetoableChange(evt);\n }\n });\n\n javax.swing.GroupLayout desktopLayout = new javax.swing.GroupLayout(desktop);\n desktop.setLayout(desktopLayout);\n desktopLayout.setHorizontalGroup(\n desktopLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 0, Short.MAX_VALUE)\n );\n desktopLayout.setVerticalGroup(\n desktopLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 0, Short.MAX_VALUE)\n );\n\n jSplitPane1.setLeftComponent(desktop);\n\n jPanel1.setLayout(new java.awt.BorderLayout());\n\n jListShapes.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);\n jListShapes.setEnabled(false);\n jListShapes.addListSelectionListener(new javax.swing.event.ListSelectionListener() {\n public void valueChanged(javax.swing.event.ListSelectionEvent evt) {\n jListShapesValueChanged(evt);\n }\n });\n jScrollPane2.setViewportView(jListShapes);\n\n jPanel1.add(jScrollPane2, java.awt.BorderLayout.CENTER);\n\n jPanel2.setLayout(new java.awt.GridLayout(1, 0));\n\n jButtonMoveUp.setText(\"Hacia delante\");\n jButtonMoveUp.setToolTipText(\"Mover Arriba\");\n jButtonMoveUp.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButtonMoveUpActionPerformed(evt);\n }\n });\n jPanel2.add(jButtonMoveUp);\n\n jButtonMoveDown.setText(\"Hacia el fondo\");\n jButtonMoveDown.setToolTipText(\"Mover Abajo\");\n jButtonMoveDown.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButtonMoveDownActionPerformed(evt);\n }\n });\n jPanel2.add(jButtonMoveDown);\n\n jPanel1.add(jPanel2, java.awt.BorderLayout.PAGE_START);\n\n jSplitPane1.setRightComponent(jPanel1);\n\n jPanelCenter.add(jSplitPane1, java.awt.BorderLayout.CENTER);\n\n jToolBarImage.setRollover(true);\n jToolBarImage.setMinimumSize(new java.awt.Dimension(544, 90));\n jToolBarImage.setPreferredSize(new java.awt.Dimension(722, 80));\n\n jPanelImageBrightness.setBorder(javax.swing.BorderFactory.createTitledBorder(\"Brillo\"));\n jPanelImageBrightness.setDoubleBuffered(false);\n jPanelImageBrightness.setEnabled(false);\n jPanelImageBrightness.setLayout(new java.awt.GridLayout(1, 0));\n\n jSliderBrightness.setMaximum(255);\n jSliderBrightness.setMinimum(-255);\n jSliderBrightness.setValue(0);\n jSliderBrightness.setPreferredSize(new java.awt.Dimension(70, 29));\n jSliderBrightness.addChangeListener(new javax.swing.event.ChangeListener() {\n public void stateChanged(javax.swing.event.ChangeEvent evt) {\n jSliderBrightnessStateChanged(evt);\n }\n });\n jSliderBrightness.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n jSliderBrightnessFocusGained(evt);\n }\n public void focusLost(java.awt.event.FocusEvent evt) {\n jSliderBrightnessFocusLost(evt);\n }\n });\n jPanelImageBrightness.add(jSliderBrightness);\n\n jToolBarImage.add(jPanelImageBrightness);\n\n jPanelImageFilter.setBorder(javax.swing.BorderFactory.createTitledBorder(\"Filtro\"));\n jPanelImageFilter.setDoubleBuffered(false);\n jPanelImageFilter.setEnabled(false);\n jPanelImageFilter.setMinimumSize(new java.awt.Dimension(108, 70));\n jPanelImageFilter.setLayout(new java.awt.GridLayout(1, 0));\n\n jComboBoxFilter.setModel(new javax.swing.DefaultComboBoxModel(new String[] { \"--seleccione filtro--\", \"Emborronamiento media\", \"Emborronamiento binomial\", \"Enfoque\", \"Relieve\", \"Detector de fronteras laplaciano\" }));\n jComboBoxFilter.addItemListener(new java.awt.event.ItemListener() {\n public void itemStateChanged(java.awt.event.ItemEvent evt) {\n jComboBoxFilterItemStateChanged(evt);\n }\n });\n jComboBoxFilter.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n jComboBoxFilterFocusGained(evt);\n }\n });\n jComboBoxFilter.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jComboBoxFilterActionPerformed(evt);\n }\n });\n jPanelImageFilter.add(jComboBoxFilter);\n\n jToolBarImage.add(jPanelImageFilter);\n\n jPanelImageContrast.setBorder(javax.swing.BorderFactory.createTitledBorder(\"Constraste\"));\n jPanelImageContrast.setDoubleBuffered(false);\n jPanelImageContrast.setEnabled(false);\n jPanelImageContrast.setMinimumSize(new java.awt.Dimension(96, 70));\n jPanelImageContrast.setLayout(new java.awt.GridLayout(1, 3));\n\n jButtonConstrast.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/sm/images/icon_contrast.png\"))); // NOI18N\n jButtonConstrast.setToolTipText(\"Constraste\");\n jButtonConstrast.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButtonConstrastActionPerformed(evt);\n }\n });\n jPanelImageContrast.add(jButtonConstrast);\n\n jButtonConstrastBright.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/sm/images/icon_bright.png\"))); // NOI18N\n jButtonConstrastBright.setToolTipText(\"Brillante\");\n jButtonConstrastBright.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButtonConstrastBrightActionPerformed(evt);\n }\n });\n jPanelImageContrast.add(jButtonConstrastBright);\n\n jButtonContrastDark.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/sm/images/icon_dark.png\"))); // NOI18N\n jButtonContrastDark.setToolTipText(\"Oscuro\");\n jButtonContrastDark.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButtonContrastDarkActionPerformed(evt);\n }\n });\n jPanelImageContrast.add(jButtonContrastDark);\n\n jToolBarImage.add(jPanelImageContrast);\n\n jPanelImageOperations.setBorder(javax.swing.BorderFactory.createTitledBorder(\"Operaciones\"));\n jPanelImageOperations.setDoubleBuffered(false);\n jPanelImageOperations.setEnabled(false);\n jPanelImageOperations.setPreferredSize(new java.awt.Dimension(158, 64));\n jPanelImageOperations.setLayout(new java.awt.GridLayout(1, 3));\n\n jButtonSinus.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/sm/images/icon_sinusoidal.png\"))); // NOI18N\n jButtonSinus.setToolTipText(\"Seno\");\n jButtonSinus.setAlignmentX(10.0F);\n jButtonSinus.setAlignmentY(0.0F);\n jButtonSinus.setBorderPainted(false);\n jButtonSinus.setPreferredSize(new java.awt.Dimension(24, 24));\n jButtonSinus.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButtonSinusActionPerformed(evt);\n }\n });\n jPanelImageOperations.add(jButtonSinus);\n\n jButtonSepia.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/sm/images/icon_sepia_1.png\"))); // NOI18N\n jButtonSepia.setToolTipText(\"Sepia\");\n jButtonSepia.setAlignmentY(0.0F);\n jButtonSepia.setBorderPainted(false);\n jButtonSepia.setPreferredSize(new java.awt.Dimension(24, 24));\n jButtonSepia.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButtonSepiaActionPerformed(evt);\n }\n });\n jPanelImageOperations.add(jButtonSepia);\n\n jButtonSobel.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/sm/images/icon_gradient.png\"))); // NOI18N\n jButtonSobel.setToolTipText(\"Gradiente Sobel\");\n jButtonSobel.setAlignmentY(0.0F);\n jButtonSobel.setBorderPainted(false);\n jButtonSobel.setPreferredSize(new java.awt.Dimension(24, 24));\n jButtonSobel.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButtonSobelActionPerformed(evt);\n }\n });\n jPanelImageOperations.add(jButtonSobel);\n\n jButtonTinted.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/sm/images/icon_tinted.png\"))); // NOI18N\n jButtonTinted.setToolTipText(\"Tintado\");\n jButtonTinted.setAlignmentY(0.0F);\n jButtonTinted.setBorderPainted(false);\n jButtonTinted.setPreferredSize(new java.awt.Dimension(24, 24));\n jButtonTinted.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButtonTintedActionPerformed(evt);\n }\n });\n jPanelImageOperations.add(jButtonTinted);\n\n jButtonNegative.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/sm/images/icon_negative.png\"))); // NOI18N\n jButtonNegative.setToolTipText(\"Negativo\");\n jButtonNegative.setAlignmentY(0.0F);\n jButtonNegative.setBorderPainted(false);\n jButtonNegative.setPreferredSize(new java.awt.Dimension(24, 24));\n jButtonNegative.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButtonNegativeActionPerformed(evt);\n }\n });\n jPanelImageOperations.add(jButtonNegative);\n\n jButtonGrayScale.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/sm/images/icon_gray.png\"))); // NOI18N\n jButtonGrayScale.setToolTipText(\"Escala de grises\");\n jButtonGrayScale.setAlignmentY(0.0F);\n jButtonGrayScale.setBorderPainted(false);\n jButtonGrayScale.setPreferredSize(new java.awt.Dimension(24, 24));\n jButtonGrayScale.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButtonGrayScaleActionPerformed(evt);\n }\n });\n jPanelImageOperations.add(jButtonGrayScale);\n\n jButtonRandomBlack.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/sm/images/icon_sepia.png\"))); // NOI18N\n jButtonRandomBlack.setToolTipText(\"Propia\");\n jButtonRandomBlack.setAlignmentY(0.0F);\n jButtonRandomBlack.setBorderPainted(false);\n jButtonRandomBlack.setPreferredSize(new java.awt.Dimension(24, 24));\n jButtonRandomBlack.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButtonRandomBlackActionPerformed(evt);\n }\n });\n jPanelImageOperations.add(jButtonRandomBlack);\n\n jToolBarImage.add(jPanelImageOperations);\n\n jPanelImageBinary.setBorder(javax.swing.BorderFactory.createTitledBorder(\"Binarias\"));\n jPanelImageBinary.setDoubleBuffered(false);\n jPanelImageBinary.setEnabled(false);\n java.awt.GridBagLayout jPanelImageBinaryLayout = new java.awt.GridBagLayout();\n jPanelImageBinaryLayout.columnWidths = new int[] {10, 10, 10};\n jPanelImageBinaryLayout.rowHeights = new int[] {1};\n jPanelImageBinary.setLayout(jPanelImageBinaryLayout);\n\n jButtonBinaryAdd.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/sm/images/icon_add.png\"))); // NOI18N\n jButtonBinaryAdd.setToolTipText(\"suma binaria\");\n jButtonBinaryAdd.setMaximumSize(new java.awt.Dimension(20, 28));\n jButtonBinaryAdd.setMinimumSize(new java.awt.Dimension(24, 24));\n jButtonBinaryAdd.setPreferredSize(new java.awt.Dimension(24, 24));\n jButtonBinaryAdd.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButtonBinaryAddActionPerformed(evt);\n }\n });\n jPanelImageBinary.add(jButtonBinaryAdd, new java.awt.GridBagConstraints());\n\n jButtonBinarySubstract.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/sm/images/icon_substract.png\"))); // NOI18N\n jButtonBinarySubstract.setToolTipText(\"resta binaria\");\n jButtonBinarySubstract.setPreferredSize(new java.awt.Dimension(24, 24));\n jButtonBinarySubstract.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButtonBinarySubstractActionPerformed(evt);\n }\n });\n jPanelImageBinary.add(jButtonBinarySubstract, new java.awt.GridBagConstraints());\n\n jButtonBinaryProduct.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/sm/images/icon_product.png\"))); // NOI18N\n jButtonBinaryProduct.setToolTipText(\"multiplicacion binaria\");\n jButtonBinaryProduct.setMargin(new java.awt.Insets(0, 0, 0, 0));\n jButtonBinaryProduct.setMaximumSize(new java.awt.Dimension(20, 28));\n jButtonBinaryProduct.setMinimumSize(new java.awt.Dimension(24, 24));\n jButtonBinaryProduct.setPreferredSize(new java.awt.Dimension(24, 24));\n jButtonBinaryProduct.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButtonBinaryProductActionPerformed(evt);\n }\n });\n jPanelImageBinary.add(jButtonBinaryProduct, new java.awt.GridBagConstraints());\n\n jSliderBinaryOperations.setPreferredSize(new java.awt.Dimension(150, 29));\n jSliderBinaryOperations.addChangeListener(new javax.swing.event.ChangeListener() {\n public void stateChanged(javax.swing.event.ChangeEvent evt) {\n jSliderBinaryOperationsStateChanged(evt);\n }\n });\n jSliderBinaryOperations.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n jSliderBinaryOperationsFocusGained(evt);\n }\n });\n jSliderBinaryOperations.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseExited(java.awt.event.MouseEvent evt) {\n jSliderBinaryOperationsMouseExited(evt);\n }\n });\n jPanelImageBinary.add(jSliderBinaryOperations, new java.awt.GridBagConstraints());\n\n jToolBarImage.add(jPanelImageBinary);\n\n jPanelUmbralization.setBorder(javax.swing.BorderFactory.createTitledBorder(\"Umbralizacion\"));\n jPanelUmbralization.setDoubleBuffered(false);\n jPanelUmbralization.setEnabled(false);\n jPanelUmbralization.setLayout(new java.awt.GridLayout(1, 0));\n\n jSliderUmbralization.addChangeListener(new javax.swing.event.ChangeListener() {\n public void stateChanged(javax.swing.event.ChangeEvent evt) {\n jSliderUmbralizationStateChanged(evt);\n }\n });\n jSliderUmbralization.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n jSliderUmbralizationFocusGained(evt);\n }\n public void focusLost(java.awt.event.FocusEvent evt) {\n jSliderUmbralizationFocusLost(evt);\n }\n });\n jPanelUmbralization.add(jSliderUmbralization);\n\n jToolBarImage.add(jPanelUmbralization);\n\n jPanelCenter.add(jToolBarImage, java.awt.BorderLayout.PAGE_END);\n\n getContentPane().add(jPanelCenter, java.awt.BorderLayout.CENTER);\n\n jPanelStatusBar.setLayout(new java.awt.BorderLayout());\n\n jToolBarImageRotation.setRollover(true);\n\n jPanelImageRotate.setBorder(javax.swing.BorderFactory.createTitledBorder(\"Rotación\"));\n jPanelImageRotate.setPreferredSize(new java.awt.Dimension(300, 62));\n jPanelImageRotate.setLayout(new java.awt.GridLayout(1, 4));\n\n jSliderRotate.setMaximum(360);\n jSliderRotate.setMinorTickSpacing(90);\n jSliderRotate.setPaintTicks(true);\n jSliderRotate.setValue(0);\n jSliderRotate.addChangeListener(new javax.swing.event.ChangeListener() {\n public void stateChanged(javax.swing.event.ChangeEvent evt) {\n jSliderRotateStateChanged(evt);\n }\n });\n jSliderRotate.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n jSliderRotateFocusGained(evt);\n }\n });\n jPanelImageRotate.add(jSliderRotate);\n\n jButtonRotate90.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/sm/images/icon_rotate_90.png\"))); // NOI18N\n jButtonRotate90.setToolTipText(\"90 Grados\");\n jButtonRotate90.setFocusable(false);\n jButtonRotate90.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n jButtonRotate90.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);\n jButtonRotate90.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButtonRotate90ActionPerformed(evt);\n }\n });\n jPanelImageRotate.add(jButtonRotate90);\n\n jButton180.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/sm/images/icon_rotate_180.png\"))); // NOI18N\n jButton180.setToolTipText(\"180 Grados\");\n jButton180.setFocusable(false);\n jButton180.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n jButton180.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);\n jButton180.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton180ActionPerformed(evt);\n }\n });\n jPanelImageRotate.add(jButton180);\n\n jButtonRotate270.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/sm/images/icon_rotate_270.png\"))); // NOI18N\n jButtonRotate270.setToolTipText(\"270 Grados\");\n jButtonRotate270.setFocusable(false);\n jButtonRotate270.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n jButtonRotate270.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);\n jButtonRotate270.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButtonRotate270ActionPerformed(evt);\n }\n });\n jPanelImageRotate.add(jButtonRotate270);\n\n jToolBarImageRotation.add(jPanelImageRotate);\n\n jPanelZoom.setBorder(javax.swing.BorderFactory.createTitledBorder(\"Escala\"));\n jPanelZoom.setLayout(new java.awt.GridLayout(1, 0));\n\n jButtonZoomMinus.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/sm/images/icon_zoom_minus.png\"))); // NOI18N\n jButtonZoomMinus.setToolTipText(\"Reducir\");\n jButtonZoomMinus.setFocusable(false);\n jButtonZoomMinus.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n jButtonZoomMinus.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);\n jButtonZoomMinus.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButtonZoomMinusActionPerformed(evt);\n }\n });\n jPanelZoom.add(jButtonZoomMinus);\n\n jButtonZoomPlus.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/sm/images/icon_zoom_plus.png\"))); // NOI18N\n jButtonZoomPlus.setToolTipText(\"Ampliar\");\n jButtonZoomPlus.setFocusable(false);\n jButtonZoomPlus.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n jButtonZoomPlus.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);\n jButtonZoomPlus.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButtonZoomPlusActionPerformed(evt);\n }\n });\n jPanelZoom.add(jButtonZoomPlus);\n\n jToolBarImageRotation.add(jPanelZoom);\n\n jPanelStatusBar.add(jToolBarImageRotation, java.awt.BorderLayout.NORTH);\n\n jStatusBarTool.setText(\"Barra Estado\");\n jStatusBarTool.setBorder(javax.swing.BorderFactory.createEtchedBorder());\n jPanelStatusBar.add(jStatusBarTool, java.awt.BorderLayout.WEST);\n\n jPanelCursorAndColor.setLayout(new java.awt.BorderLayout());\n\n jStatusBarCursor.setText(\"(x,y)\");\n jStatusBarCursor.setBorder(javax.swing.BorderFactory.createEtchedBorder());\n jPanelCursorAndColor.add(jStatusBarCursor, java.awt.BorderLayout.WEST);\n\n jStatusBarColor.setText(\"RGB\");\n jStatusBarColor.setOpaque(true);\n jPanelCursorAndColor.add(jStatusBarColor, java.awt.BorderLayout.EAST);\n\n jPanelStatusBar.add(jPanelCursorAndColor, java.awt.BorderLayout.EAST);\n\n getContentPane().add(jPanelStatusBar, java.awt.BorderLayout.SOUTH);\n\n jMenuFile.setText(\"Archivo\");\n\n jMenuItemNew.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_N, java.awt.event.InputEvent.META_MASK));\n jMenuItemNew.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/sm/images/icon_new.png\"))); // NOI18N\n jMenuItemNew.setText(\"Nuevo\");\n jMenuItemNew.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jMenuItemNewActionPerformed(evt);\n }\n });\n jMenuFile.add(jMenuItemNew);\n\n jMenuOpen.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/sm/images/icon_open.png\"))); // NOI18N\n jMenuOpen.setText(\"Abrir\");\n jMenuOpen.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jMenuOpenActionPerformed(evt);\n }\n });\n jMenuFile.add(jMenuOpen);\n\n jMenuSave.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_S, java.awt.event.InputEvent.META_MASK));\n jMenuSave.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/sm/images/icon_save.png\"))); // NOI18N\n jMenuSave.setText(\"Guardar\");\n jMenuSave.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jMenuSaveActionPerformed(evt);\n }\n });\n jMenuFile.add(jMenuSave);\n jMenuFile.add(jSeparator1);\n\n jMenuItemExit.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/sm/images/icon_exit.png\"))); // NOI18N\n jMenuItemExit.setText(\"Salir\");\n jMenuItemExit.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jMenuItemExitActionPerformed(evt);\n }\n });\n jMenuFile.add(jMenuItemExit);\n\n jMenuBar.add(jMenuFile);\n\n jMenuEdit.setText(\"Editar\");\n\n jMenuItemCut.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_X, java.awt.event.InputEvent.META_MASK));\n jMenuItemCut.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/sm/images/icon_cut.png\"))); // NOI18N\n jMenuItemCut.setText(\"Cortar\");\n jMenuItemCut.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jMenuItemCutActionPerformed(evt);\n }\n });\n jMenuEdit.add(jMenuItemCut);\n\n jMenuItemCopy.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_C, java.awt.event.InputEvent.META_MASK));\n jMenuItemCopy.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/sm/images/icon_copy.png\"))); // NOI18N\n jMenuItemCopy.setText(\"Copiar\");\n jMenuItemCopy.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jMenuItemCopyActionPerformed(evt);\n }\n });\n jMenuEdit.add(jMenuItemCopy);\n\n jMenuItemPaste.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_V, java.awt.event.InputEvent.META_MASK));\n jMenuItemPaste.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/sm/images/icon_paste.png\"))); // NOI18N\n jMenuItemPaste.setText(\"Pegar\");\n jMenuItemPaste.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jMenuItemPasteActionPerformed(evt);\n }\n });\n jMenuEdit.add(jMenuItemPaste);\n\n jMenuBar.add(jMenuEdit);\n\n jMenuView.setText(\"Ver\");\n\n jCheckBoxMenuItemToolBar.setSelected(true);\n jCheckBoxMenuItemToolBar.setText(\"Barra de herramientas\");\n jCheckBoxMenuItemToolBar.setToolTipText(\"\");\n jCheckBoxMenuItemToolBar.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jCheckBoxMenuItemToolBarActionPerformed(evt);\n }\n });\n jMenuView.add(jCheckBoxMenuItemToolBar);\n\n jCheckBoxMenuItemToolBarImageOperations.setSelected(true);\n jCheckBoxMenuItemToolBarImageOperations.setText(\"Barra de imagen\");\n jCheckBoxMenuItemToolBarImageOperations.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jCheckBoxMenuItemToolBarImageOperationsActionPerformed(evt);\n }\n });\n jMenuView.add(jCheckBoxMenuItemToolBarImageOperations);\n\n jCheckBoxMenuItemToolBarImageRotation.setSelected(true);\n jCheckBoxMenuItemToolBarImageRotation.setText(\"Barra de rotacion y escalado\");\n jCheckBoxMenuItemToolBarImageRotation.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jCheckBoxMenuItemToolBarImageRotationActionPerformed(evt);\n }\n });\n jMenuView.add(jCheckBoxMenuItemToolBarImageRotation);\n\n jCheckBoxMenuItemStatusBar.setSelected(true);\n jCheckBoxMenuItemStatusBar.setText(\"Barra de estado\");\n jCheckBoxMenuItemStatusBar.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jCheckBoxMenuItemStatusBarActionPerformed(evt);\n }\n });\n jMenuView.add(jCheckBoxMenuItemStatusBar);\n\n jMenuBar.add(jMenuView);\n\n jMenuImage.setText(\"Imagen\");\n\n jMenuItemChangeSize.setText(\"Cambiar tamaño\");\n jMenuItemChangeSize.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jMenuItemChangeSizeActionPerformed(evt);\n }\n });\n jMenuImage.add(jMenuItemChangeSize);\n\n jMenuItemDuplicateImage.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/sm/images/icon_duplicate.png\"))); // NOI18N\n jMenuItemDuplicateImage.setText(\"Duplicar imagen\");\n jMenuItemDuplicateImage.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jMenuItemDuplicateImageActionPerformed(evt);\n }\n });\n jMenuImage.add(jMenuItemDuplicateImage);\n\n jMenuItemHistogram.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/sm/images/icon_histogram.png\"))); // NOI18N\n jMenuItemHistogram.setText(\"Histograma\");\n jMenuItemHistogram.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jMenuItemHistogramActionPerformed(evt);\n }\n });\n jMenuImage.add(jMenuItemHistogram);\n\n jMenuBar.add(jMenuImage);\n\n jMenuHelp.setText(\"Ayuda\");\n\n jMenuItemHelpAbout.setText(\"Acerca de...\");\n jMenuItemHelpAbout.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jMenuItemHelpAboutActionPerformed(evt);\n }\n });\n jMenuHelp.add(jMenuItemHelpAbout);\n\n jMenuBar.add(jMenuHelp);\n\n setJMenuBar(jMenuBar);\n\n pack();\n }", "protected JPanel getTopPanel() {\n List topComps = new ArrayList();\n getTopComponents(topComps);\n if (topComps.size() == 0) {\n return null;\n }\n JPanel topPanel = GuiUtils.left(GuiUtils.doLayout(topComps, 0, GuiUtils.WT_N, GuiUtils.WT_N));\n topPanel.setBorder(javax.swing.BorderFactory.createEtchedBorder());\n \n return McVGuiUtils.makeLabeledComponent(\"Options:\", topPanel);\n }", "private ArrayList<String> getCritterOptionsMenu() {\n\t\tArrayList<String> items = new ArrayList<String>();\n\t\tArrayList<Class<Critter>> critters = getCritterClasses(this.getClass().getPackage());\n\t\tfor (Class<Critter> c:critters){\n\t\t\titems.add(c.getSimpleName());\n\t\t}\n\t\treturn items;\n\t}", "protected Object[] get_ComponentInfo()\n {\n return new Object[]\n {\n \"ReporterMBean contains settings and statistics for the Coherence JMX Reporter.\",\n \"com.bea.owner=Context,com.bea.VisibleToPartitions=ALWAYS\",\n };\n }", "public JComponent getPreferenceUI() {\n\t\treturn null;\n\t}", "Set<Component> getComponents();", "public interface ToolbarOperation {\n Toolbar getToolbar();\n\n void modifyToolbarTitle(String title);\n\n float getToolbarHeight();\n}", "public JComponent getAdditionalBankSysexOptionsComponents(byte[] data, String[] names)\n {\n return null; \n }", "private String[] getKeywordsFromBar()\n {\n String text = keywordBar.getText();\n \n if(text.equals(\"\")) return null;\n else return text.split(\"\\\\s*,\\\\s*\");\n }", "@Override\n\tpublic String[] myToolIds() {\n\t\tString[] toolIds = { \"sakai.gcalendar\" };\n\t\treturn toolIds;\n\t}", "public abstract String[] getOptions();", "@Override\n\tpublic Component getComponent() {\n\t\treturn toolbox;\n\t}", "private void initComponents() {\n\n dropCategory = new sk.stuba.fiit.kvasnicka.topologyvisual.gui.components.DropDownButton(false);\n closeableTabbedPane1 = new sk.stuba.fiit.kvasnicka.topologyvisual.gui.components.closeabletabbedpane.CloseableTabbedPane();\n jButton1 = new javax.swing.JButton();\n\n org.openide.awt.Mnemonics.setLocalizedText(dropCategory, org.openide.util.NbBundle.getMessage(SimulationLogTopComponent.class, \"SimulationLogTopComponent.dropCategory.text\")); // NOI18N\n\n jButton1.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/sk/stuba/fiit/kvasnicka/topologyvisual/resources/files/clear.png\"))); // NOI18N\n org.openide.awt.Mnemonics.setLocalizedText(jButton1, org.openide.util.NbBundle.getMessage(SimulationLogTopComponent.class, \"SimulationLogTopComponent.jButton1.text\")); // NOI18N\n jButton1.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton1ActionPerformed(evt);\n }\n });\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n this.setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(22, 22, 22)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(dropCategory, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(jButton1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n .addGap(41, 41, 41)\n .addComponent(closeableTabbedPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 763, Short.MAX_VALUE))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(23, 23, 23)\n .addComponent(dropCategory, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(44, 44, 44)\n .addComponent(jButton1)\n .addContainerGap(219, Short.MAX_VALUE))\n .addComponent(closeableTabbedPane1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n );\n }", "public void addButtonToCoolBar(JButton button) {\n\t\t_coolBar.addButton(button);\n\t}", "String[] getToolBarImages()\n {\n return new String[]{\n configfile.header_home, \n configfile.header_home_pop,\n configfile.header_refresh,\n configfile.header_options,\n configfile.header_navigator,\n configfile.header_navigator_pop,\n configfile.header_configure,\n configfile.header_help,\n configfile.header_whatsthis,\n configfile.header_ifs_logo\n };\n }", "public void toolbarImplementacionIsmael() {\n\t\t// ToolBar Fuente\n\t\tbtnFuente = new JButton(\"Fuente\");\n\t\tbtnFuente.setEnabled(false);\n\t\ttry {\n\t\t\timg = ImageIO.read(getClass().getResource(\"img/copy.png\"));\n\t\t\timg = img.getScaledInstance(20, 20, Image.SCALE_SMOOTH);\n\t\t\tbtnFuente.setIcon(new ImageIcon(img));\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\ttoolbar.add(btnFuente);\n\n\t\tbtnSeleccionarTodo = new JButton(\"Selec.Todo\");\n\t\tbtnSeleccionarTodo.setEnabled(false);\n\t\ttry {\n\t\t\timg = ImageIO.read(getClass().getResource(\"img/copy.png\"));\n\t\t\timg = img.getScaledInstance(20, 20, Image.SCALE_SMOOTH);\n\t\t\tbtnSeleccionarTodo.setIcon(new ImageIcon(img));\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\ttoolbar.add(btnSeleccionarTodo);\n\n\t\tbtnHora = new JButton(\"Hora\");\n\t\ttry {\n\t\t\timg = ImageIO.read(getClass().getResource(\"img/copy.png\"));\n\t\t\timg = img.getScaledInstance(20, 20, Image.SCALE_SMOOTH);\n\t\t\tbtnHora.setIcon(new ImageIcon(img));\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\ttoolbar.add(btnHora);\n\t}", "String getPlotterName();", "@Override\n public Component getToolbarPresenter() {\n return new FontPanel();\n }", "private void addComponentsToOptionsPanel(){\r\n\t\tBox box = Box.createVerticalBox();\r\n\t\tbox.add(new JLabel(\"Active Feature Type\",SwingConstants.LEFT));\r\n\t\tJPanel featuresPanel = new JPanel(new GridLayout(2, 2));\r\n\t\tfeaturesPanel.setBorder(BorderFactory.createLineBorder (Color.black, 1));\r\n\t\tfeaturesPanel.add(asCB);\r\n\t\tfeaturesPanel.add(new JLabel(\"\"));\r\n\t\tfeaturesPanel.add(bldngCB);\r\n\t\tfeaturesPanel.add(stuCB);\r\n\t\tbox.add(featuresPanel);\r\n\r\n\t\t//creating empty space\r\n\t\tbox.add(new JPanel());\r\n\t\t\r\n\t\tJLabel queryLabel = new JLabel(\"Query\",SwingConstants.LEFT);\r\n\t\tbox.add(queryLabel);\r\n\t\tJPanel queriesRB = new JPanel();\r\n\t\tqueriesRB.setLayout(new BoxLayout(queriesRB, BoxLayout.Y_AXIS));\r\n\t\tbuttonGroup = new ButtonGroup();\r\n\t\twholeRegion = new JRadioButton(\"Whole Region\");\r\n\t\twholeRegion.addItemListener(new ItemListener() {\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic void itemStateChanged(ItemEvent arg0) {\r\n\t\t\t\tgetQuery().setSubmitFlag(false);\r\n\t\t\t}\r\n\t\t\t\r\n\t\t});\r\n\t\tpointQuery = new JRadioButton(\"Point Query\");\r\n\t\tpointQuery.addItemListener(new ItemListener() {\r\n\t\t\t\r\n\t\t\t@Override\r\n\t\t\tpublic void itemStateChanged(ItemEvent ie) {\r\n\t\t\t\tgetQuery().setSubmitFlag(false);\r\n\t\t\t\tif(ie.getStateChange() == ItemEvent.SELECTED){\r\n\t\t\t\t\tpointQuery.setSelected(true);\r\n\t\t\t\t\tgetQuery().setSelectedQuery(\"Point Query\");\r\n\t\t\t\t}else{\r\n\t\t\t\t\tpointQuery.setSelected(false);\r\n\t\t\t\t\tgetQuery().setSelectedQuery(null);\r\n\t\t\t\t\tsetPqX(-300);\r\n\t\t\t\t\tsetPqY(-300);\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\timagePanel.repaint();\r\n\t\t\t}\r\n\t\t});\r\n\t\trangeQuery = new JRadioButton(\"Range Query\");\r\n\t\trangeQuery.addItemListener(new ItemListener() {\r\n\t\t\t\r\n\t\t\t@Override\r\n\t\t\tpublic void itemStateChanged(ItemEvent ie) {\r\n\t\t\t\tgetQuery().setSubmitFlag(false);\r\n\t\t\t\tif(ie.getStateChange() == ItemEvent.SELECTED){\r\n\t\t\t\t\trangeQuery.setSelected(true);\r\n\t\t\t\t\tgetQuery().setSelectedQuery(\"Range Query\");\r\n\t\t\t\t\tsetDrawPoly(true);\r\n\t\t\t\t}else{\r\n\t\t\t\t\trangeQuery.setSelected(false);\r\n\t\t\t\t\tgetQuery().setSelectedQuery(null);\r\n\t\t\t\t\tgetPath().clear();\r\n\t\t\t\t}\r\n\t\t\t\timagePanel.repaint();\r\n\t\t\t}\r\n\t\t});\r\n\t\tsurrStudent = new JRadioButton(\"Surrounding Student\");\r\n\t\tsurrStudent.addItemListener(new ItemListener() {\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic void itemStateChanged(ItemEvent ie) {\r\n\t\t\t\tgetQuery().setSubmitFlag(false);\r\n\t\t\t\tif(ie.getStateChange() == ItemEvent.SELECTED){\r\n\t\t\t\t\tsurrStudent.setSelected(true);\r\n\t\t\t\t\tgetQuery().setSelectedQuery(\"Surrounding Student\");\r\n\t\t\t\t}else{\r\n\t\t\t\t\tsurrStudent.setSelected(false);\r\n\t\t\t\t\tgetQuery().setSelectedQuery(null);\r\n\t\t\t\t}\r\n\t\t\t\timagePanel.repaint();\r\n\t\t\t}\r\n\t\t\t\r\n\t\t});\r\n\t\temerQuery = new JRadioButton(\"Emergency Query\");\r\n\t\temerQuery.addItemListener(new ItemListener() {\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic void itemStateChanged(ItemEvent ie) {\r\n\t\t\t\tgetQuery().setSubmitFlag(false);\r\n\t\t\t\tif(ie.getStateChange() == ItemEvent.SELECTED){\r\n\t\t\t\t\temerQuery.setSelected(true);\r\n\t\t\t\t\tgetQuery().setSelectedQuery(\"Emergency Query\");\r\n\t\t\t\t}else{\r\n\t\t\t\t\temerQuery.setSelected(false);\r\n\t\t\t\t\tgetQuery().setSelectedQuery(null);\r\n\t\t\t\t}\r\n\t\t\t\timagePanel.repaint();\r\n\t\t\t}\r\n\t\t\t\r\n\t\t});\r\n\t\tbuttonGroup.add(wholeRegion);\r\n\t\tbuttonGroup.add(pointQuery);\r\n\t\tbuttonGroup.add(rangeQuery);\r\n\t\tbuttonGroup.add(surrStudent);\r\n\t\tbuttonGroup.add(emerQuery);\r\n\t\tqueriesRB.add(wholeRegion);\r\n\t\tqueriesRB.add(pointQuery);\r\n\t\tqueriesRB.add(rangeQuery);\r\n\t\tqueriesRB.add(surrStudent);\r\n\t\tqueriesRB.add(emerQuery);\r\n\t\tqueriesRB.setBorder(BorderFactory.createLineBorder (Color.black, 1));\r\n\t\tbox.add(queriesRB);\r\n\t\t//creating empty space\r\n\t\tbox.add(new JPanel());\r\n\t\tJPanel buttonPanel = new JPanel();\r\n\t\tbuttonPanel.setLayout(new BoxLayout(buttonPanel, BoxLayout.X_AXIS));\r\n\t\tsubmitButton = new JButton(\"Submit Query\");\r\n\t\tsubmitButton.addActionListener(new ActionListener() {\r\n\t\t\t\r\n\t\t\t@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent ae) {\r\n\t\t\t\tQuery query = new Query();\r\n\t\t\t\tquery.setAsFlag(asCB.isSelected());\r\n\t\t\t\tquery.setBuildingFlag(bldngCB.isSelected());\r\n\t\t\t\tquery.setStudentFlag(stuCB.isSelected());\r\n\t\t\t\tquery.setSubmitFlag(true);\r\n\t\t\t\tfor(Enumeration<AbstractButton> radButtons = buttonGroup.getElements(); radButtons.hasMoreElements();){\r\n\t\t\t\t\tAbstractButton ab = radButtons.nextElement();\r\n\t\t\t\t\tif(ab.isSelected()){\r\n\t\t\t\t\t\tquery.setSelectedQuery(ab.getText());\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\tsetQuery(query);\r\n\t\t\t\timagePanel.repaint();\r\n\t\t\t}\r\n\t\t});\r\n\t\tbuttonPanel.add(submitButton);\r\n\t\tbuttonPanel.setBorder(BorderFactory.createLineBorder (Color.black, 1));\r\n\t\tbox.add(buttonPanel);\r\n\t\toptionsPanel.add(box);\r\n\t}", "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jToolBar1 = new javax.swing.JToolBar();\n btnDom = new javax.swing.JButton();\n btnBook = new javax.swing.JButton();\n btnTT = new javax.swing.JButton();\n btnPos = new javax.swing.JButton();\n btnTool = new javax.swing.JButton();\n btnNews = new javax.swing.JButton();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n\n jToolBar1.setRollover(true);\n\n btnDom.setText(\"DOM\");\n btnDom.setFocusable(false);\n btnDom.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n btnDom.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);\n btnDom.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnDomActionPerformed(evt);\n }\n });\n jToolBar1.add(btnDom);\n\n btnBook.setText(\"Book\");\n btnBook.setFocusable(false);\n btnBook.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n btnBook.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);\n btnBook.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnBookActionPerformed(evt);\n }\n });\n jToolBar1.add(btnBook);\n\n btnTT.setText(\"T&T\");\n btnTT.setFocusable(false);\n btnTT.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n btnTT.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);\n btnTT.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnTTActionPerformed(evt);\n }\n });\n jToolBar1.add(btnTT);\n\n btnPos.setText(\"Posição\");\n btnPos.setFocusable(false);\n btnPos.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n btnPos.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);\n btnPos.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnPosActionPerformed(evt);\n }\n });\n jToolBar1.add(btnPos);\n\n btnTool.setText(\"Ferramentas\");\n btnTool.setFocusable(false);\n btnTool.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n btnTool.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);\n btnTool.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnToolActionPerformed(evt);\n }\n });\n jToolBar1.add(btnTool);\n\n btnNews.setText(\"Notícias\");\n btnNews.setFocusable(false);\n btnNews.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n btnNews.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);\n btnNews.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnNewsActionPerformed(evt);\n }\n });\n jToolBar1.add(btnNews);\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(jToolBar1, javax.swing.GroupLayout.DEFAULT_SIZE, 600, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addComponent(jToolBar1, javax.swing.GroupLayout.PREFERRED_SIZE, 25, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(0, 253, Short.MAX_VALUE))\n );\n\n pack();\n }", "public void setToolbarSet(final String value)\n {\n toolbarSet = value;\n }", "public Component setupControl(boolean bEditableControl)\n {\n if (this.getScreenField().getParentScreen() == null)\n return null;\n boolean bSuccess = this.getScreenField().getParentScreen().removeSField(this.getScreenField()); // Note: doesn't remove me because m_Control = null\n int iSFieldCount = this.getScreenField().getParentScreen().getSFieldCount();\n int iToolbarOrder = iSFieldCount;\n if (this.getScreenField().getScreenLocation().getLocationConstant() != ScreenConstants.LAST_LOCATION)\n {\n\t for (iToolbarOrder = 0; iToolbarOrder < iSFieldCount; iToolbarOrder++)\n\t {\n\t if (!(this.getScreenField().getParentScreen().getSField(iToolbarOrder) instanceof ToolScreen))\n\t break; // Last toolbar\n\t }\n }\n if (bSuccess)\n this.getScreenField().getParentScreen().addSField(this.getScreenField(), iToolbarOrder); // Add this control after the other toolbars, before the screen controls\n \n JToolBar control = new JToolBar();\n control.setAlignmentX(Component.LEFT_ALIGNMENT);\n control.setAlignmentY(Component.TOP_ALIGNMENT);\n control.setFloatable(false);\n control.setOpaque(false);\n\n control.setMargin(new Insets(0,0,0,0));\n return control;\n }", "public JMenu getPlotMenu() {\n return this.plotMenu;\n }", "public static void OptionsComponents() {\n\t\tInterface.controls.setPreferredSize(Interface.dim);\n\t\tInterface.controls.setIcon(new ImageIcon(Interface.Button));\n\t\tInterface.controls.setHorizontalTextPosition(JButton.CENTER);\n\t\tInterface.controls.setVerticalTextPosition(JButton.CENTER);\n\t\tInterface.controls.setForeground(Color.white);\n\t\t\n\t\tInterface.controls2.setPreferredSize(Interface.dim);\n\t\tInterface.controls2.setIcon(new ImageIcon(Interface.Button));\n\t\tInterface.controls2.setHorizontalTextPosition(JButton.CENTER);\n\t\tInterface.controls2.setVerticalTextPosition(JButton.CENTER);\n\t\tInterface.controls2.setForeground(Color.white);\n\t\t\n\t\t\n\t\tInterface.sound.setPreferredSize(Interface.dim);\n\t\tInterface.sound.setIcon(new ImageIcon(Interface.Button));\n\t\tInterface.sound.setHorizontalTextPosition(JButton.CENTER);\n\t\tInterface.sound.setVerticalTextPosition(JButton.CENTER);\n\t\tInterface.sound.setForeground(Color.white);\n\t\t\n\t\tInterface.soundOn.setPreferredSize(Interface.dim);\n\t\tInterface.soundOn.setIcon(new ImageIcon(Interface.Button));\n\t\tInterface.soundOn.setHorizontalTextPosition(JButton.CENTER);\n\t\tInterface.soundOn.setVerticalTextPosition(JButton.CENTER);\n\t\tInterface.soundOn.setForeground(Color.white);\n\t\t\n\t\tInterface.soundOff.setPreferredSize(Interface.dim);\n\t\tInterface.soundOff.setIcon(new ImageIcon(Interface.Button));\n\t\tInterface.soundOff.setHorizontalTextPosition(JButton.CENTER);\n\t\tInterface.soundOff.setVerticalTextPosition(JButton.CENTER);\n\t\tInterface.soundOff.setForeground(Color.white);\n\t\t\n\t\t\n\t\tInterface.backtomain.setPreferredSize(Interface.dim);\n\t\tInterface.backtomain.setIcon(new ImageIcon(Interface.Button));\n\t\tInterface.backtomain.setHorizontalTextPosition(JButton.CENTER);\n\t\tInterface.backtomain.setVerticalTextPosition(JButton.CENTER);\n\t\tInterface.backtomain.setForeground(Color.white);\n\t\t\n\t\t\n\t\tInterface.save.setPreferredSize(Interface.dim);\n\t\tInterface.save.setIcon(new ImageIcon(Interface.Button));\n\t\tInterface.save.setHorizontalTextPosition(JButton.CENTER);\n\t\tInterface.save.setVerticalTextPosition(JButton.CENTER);\n\t\tInterface.save.setForeground(Color.white);\n\t\t\n\t\t\n\t\tInterface.backtooptions.setPreferredSize(Interface.dim);\n\t\tInterface.backtooptions.setIcon(new ImageIcon(Interface.Button));\n\t\tInterface.backtooptions.setHorizontalTextPosition(JButton.CENTER);\n\t\tInterface.backtooptions.setVerticalTextPosition(JButton.CENTER);\n\t\tInterface.backtooptions.setForeground(Color.white);\n\t\t\n\t\t\n\t\tInterface.player1.setForeground(Color.white);\n\t\tInterface.player2.setForeground(Color.white);\n\t\tInterface.up1.setForeground(Color.white);\n\t\tInterface.up2.setForeground(Color.white);\n\t\tInterface.down1.setForeground(Color.white);\n\t\tInterface.down2.setForeground(Color.white);\n\t\tInterface.right1.setForeground(Color.white);\n\t\tInterface.right2.setForeground(Color.white);\n\t\tInterface.left1.setForeground(Color.white);\n\t\tInterface.left2.setForeground(Color.white);\n\t\tInterface.bomb1.setForeground(Color.white);\n\t\tInterface.bomb2.setForeground(Color.white);\n\t\tInterface.boxNumber.setForeground(Color.white);\n\t\tInterface.getUp1.setEditable(false);\n\t\tInterface.getUp2.setEditable(false);\n\t\tInterface.getDown1.setEditable(false);\n\t\tInterface.getDown2.setEditable(false);\n\t\tInterface.getRight1.setEditable(false);\n\t\tInterface.getRight2.setEditable(false);\n\t\tInterface.getLeft1.setEditable(false);\n\t\tInterface.getLeft2.setEditable(false);\n\t\tInterface.getBomb1.setEditable(false);\n\t\tInterface.getBomb2.setEditable(false);\n\t}", "private JPanel createAvailableConditionsSetPanel() {\n\t\tJPanel toReturn = new JPanel(new GridBagLayout());\n\n\t\t\n\t\t// Action for show profiling preferences.\n\t\t AbstractAction showProfilingPageAction = new AbstractAction(\"Profiling Preferences\") {\n\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tPluginWorkspaceProvider.getPluginWorkspace().showPreferencesPages(new String[] { \"profiling.conditions\" },\n\t\t\t\t\t\t\"profiling.conditions\", true);\n\t\t\t\n\t\t\t\t//update the panel \n\t\t\t\tcomboBoxUpdate();\n\t\t\t}\n\t\t};\n\n\t\t\n\t\t // Button for display profiling preferences\n\t\t ToolbarButton buttonToProfiling = new ToolbarButton(showProfilingPageAction, true);\n\t\t\n\t\t\n\t\tGridBagConstraints gbc = new GridBagConstraints();\n\t\t\n\t\t//add the checkBox\n\t\tgbc.gridx = 0;\n\t\tgbc.gridy = 0;\n\t\tgbc.weightx = 1;\n\t\ttoReturn.add(useAllCondSetsRBtn, gbc);\n\t\t\n\t\t//add the button\n\t\tgbc.gridx = 1;\n\t\tgbc.weightx = 0;\n\n\t\tURL imageToLoad = getClass().getClassLoader().getResource(Images.PREFERENCES_ICON);\n\t\tif (imageToLoad != null) {\n\t\t\tbuttonToProfiling.setIcon(ro.sync.ui.Icons.getIcon(imageToLoad.toString()));\n\t\t\tbuttonToProfiling.setText(\"\");\n\t\t} else {\n\t\t\tbuttonToProfiling.setText(\"PC\");\n\t\t}\n\t\ttoReturn.add(buttonToProfiling, gbc);\n\n\t\treturn toReturn;\n\t}", "private void setToolTips() {\n \t// set tool tips\n Tooltip startTip, stopTip, filterTip, listViewTip, viewAllTip, viewInfoTip, removeTip, editRuleFileTip, editRulePathTip;\n startTip = new Tooltip(ToolTips.getStarttip());\n stopTip = new Tooltip(ToolTips.getStoptip());\n filterTip = new Tooltip(ToolTips.getFiltertip());\n listViewTip = new Tooltip(ToolTips.getListviewtip());\n viewAllTip = new Tooltip(ToolTips.getViewalltip());\n viewInfoTip = new Tooltip(ToolTips.getViewinfotip());\t\n removeTip = new Tooltip(ToolTips.getRemovetip());\n editRuleFileTip = new Tooltip(ToolTips.getEditrulefiletip());\n editRulePathTip = new Tooltip(ToolTips.getEditrulepathtip());\n \n startButton.setTooltip(startTip);\n stopButton.setTooltip(stopTip);\n filterButton.setTooltip(filterTip);\n unseenPacketList.setTooltip(listViewTip);\n viewAll.setTooltip(viewAllTip);\n viewInformation.setTooltip(viewInfoTip);\n removeButton.setTooltip(removeTip);\n editRuleFileButton.setTooltip(editRuleFileTip);\n editRuleFilePath.setTooltip(editRulePathTip);\n }", "protected abstract Object[] getComponents();", "@Override protected JComponent setupPanel()\t{ return null; }", "@Override\r\n protected final Control createButtonBar(Composite parent) {\n return null;\r\n }", "public HeatMapColorToolBar() {\n initialize();\n }", "public boolean getShowToolbar() {\n\t\treturn showToolbar;\n\t}", "private void setAllToolTip() {\n\t\tDeviceSettingsController.setAllToolTip(tooltipAndErrorProperties, deviceName.getText(), vendorId, productId,\n\t\t\t\tmanufacture, productString, autoGenerateSerialNumber, serialNumber, serialNumberIncrement,\n\t\t\t\tenableRemoteWakeup, powerConfiguration, Endpoint_1, fifoBusWidth, fifoClockFrequency, enableDebugLevel,\n\t\t\t\tdebugValue, gpio1, gpio2, gpio3, gpio4, gpio5, gpio6, gpio7, interFaceType, uvcVersion,\n\t\t\t\tuvcHeaderAddition, enableFPGA, fpgaFamily, browseBitFile, i2cSlaveAddress, deviceSttingFirmWare,\n\t\t\t\tdeviceSttingI2CFrequency);\n\t}", "private BarChart.Options getOptions() {\n\t\tBarChart.Options options = BarChart.Options.create();\n\t\toptions.set3D(raised);\n\t\tif (label != null){options.setTitle(label);}\n\t\treturn options;\n\t}", "@Override\r\n\t\tpublic JPanel getHotKeysPanel() {\n\t\t\treturn null;\r\n\t\t}", "List<String> getShapePanelInput();", "private JPanel getExtendedOptionsPanel() {\n\t\tif (extendedOptionsPanel == null) {\n\t\t\textendedOptionsPanel = new JPanel();\n\t\t\textendedOptionsPanel.setLayout(null);\n\t\t\textendedOptionsPanel.setBounds(new java.awt.Rectangle(2, 226, 465,\n\t\t\t\t\t62));\n\t\t\textendedOptionsPanel\n\t\t\t\t\t.setBorder(javax.swing.BorderFactory\n\t\t\t\t\t\t\t.createEtchedBorder(javax.swing.border.EtchedBorder.RAISED));\n\t\t\textendedOptionsPanel.add(getTypePolygonBufferPanel(), null);\n\t\t\textendedOptionsPanel.add(getNumBuffersPanel(), null);\n\t\t}\n\t\treturn extendedOptionsPanel;\n\t}", "public admin() {\n initComponents(); \n setIcon();\n pl = new options();\n GridBagConstraints G2 = new GridBagConstraints();\n G2.gridx = 0;\n G2.gridy = 0;\n paneljtop.add(pl, G2);\n pl.setVisible(false);\n }", "private void initComponents() {\n\n jSeparator1 = new javax.swing.JToolBar.Separator();\n buttonGroup1 = new javax.swing.ButtonGroup();\n btnPin = new javax.swing.JToggleButton();\n toolbar = new javax.swing.JToolBar();\n toolbar2 = new javax.swing.JToolBar();\n\n btnPin.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/org/piraso/ui/api/icons/pin_small.png\"))); // NOI18N\n org.openide.awt.Mnemonics.setLocalizedText(btnPin, org.openide.util.NbBundle.getMessage(BaseEntryViewTopComponent.class, \"BaseEntryViewTopComponent.btnPin.text\")); // NOI18N\n btnPin.setToolTipText(org.openide.util.NbBundle.getMessage(BaseEntryViewTopComponent.class, \"BaseEntryViewTopComponent.btnPin.toolTipText\")); // NOI18N\n btnPin.setFocusable(false);\n btnPin.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n btnPin.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);\n btnPin.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnPinActionPerformed(evt);\n }\n });\n\n setLayout(new java.awt.BorderLayout());\n\n toolbar.setBackground(new java.awt.Color(226, 226, 226));\n toolbar.setFloatable(false);\n toolbar.setRollover(true);\n add(toolbar, java.awt.BorderLayout.NORTH);\n\n toolbar2.setBackground(new java.awt.Color(226, 226, 226));\n toolbar2.setFloatable(false);\n toolbar2.setOrientation(1);\n toolbar2.setRollover(true);\n toolbar2.setVisible(false);\n add(toolbar2, java.awt.BorderLayout.WEST);\n }", "@Override\n\tprotected void setupGeneralComponents(int guiLeft, int guiTop){\n\t\taileronTrimSelector = new GUIComponentSelector(guiLeft + xOffset, guiTop + GAP_BETWEEN_SELECTORS + 0*(SELECTOR_SIZE + GAP_BETWEEN_SELECTORS), SELECTOR_SIZE*2, SELECTOR_SIZE, InterfaceCore.translate(\"gui.panel.trim_roll\"), vehicle.definition.motorized.panelTextColor, vehicle.definition.motorized.panelLitTextColor, SELECTOR_TEXTURE_SIZE*2, SELECTOR_TEXTURE_SIZE, TRIM_TEXTURE_WIDTH_OFFSET, TRIM_TEXTURE_HEIGHT_OFFSET, getTextureWidth(), getTextureHeight()){\n\t\t\t@Override\n\t\t\tpublic void onClicked(boolean leftSide){\n\t\t\t\tselectedTrimSelector = this;\n\t\t\t\tselectedTrimType = PacketVehicleControlDigital.Controls.TRIM_ROLL;\n\t\t\t\tselectedTrimDirection = !leftSide;\n\t\t\t}\n\t\t\t\n\t\t\t@Override\n\t\t\tpublic void onReleased(){\n\t\t\t\tselectedTrimSelector = null;\n\t\t\t\tselectedTrimType = null;\n\t\t\t}\n\t\t};\n\t\taddSelector(aileronTrimSelector);\n\t\t\n\t\televatorTrimSelector = new GUIComponentSelector(guiLeft + xOffset, guiTop + GAP_BETWEEN_SELECTORS + 1*(SELECTOR_SIZE + GAP_BETWEEN_SELECTORS), SELECTOR_SIZE*2, SELECTOR_SIZE, InterfaceCore.translate(\"gui.panel.trim_pitch\"), vehicle.definition.motorized.panelTextColor, vehicle.definition.motorized.panelLitTextColor, SELECTOR_TEXTURE_SIZE*2, SELECTOR_TEXTURE_SIZE, TRIM_TEXTURE_WIDTH_OFFSET, TRIM_TEXTURE_HEIGHT_OFFSET, getTextureWidth(), getTextureHeight()){\n\t\t\t@Override\n\t\t\tpublic void onClicked(boolean leftSide){\n\t\t\t\tselectedTrimSelector = this;\n\t\t\t\tselectedTrimType = PacketVehicleControlDigital.Controls.TRIM_PITCH;\n\t\t\t\tselectedTrimDirection = leftSide;\n\t\t\t}\n\t\t\t\n\t\t\t@Override\n\t\t\tpublic void onReleased(){\n\t\t\t\tselectedTrimSelector = null;\n\t\t\t\tselectedTrimType = null;\n\t\t\t}\n\t\t};\n\t\taddSelector(elevatorTrimSelector);\n\t\t\n\t\trudderTrimSelector = new GUIComponentSelector(guiLeft + xOffset, guiTop + GAP_BETWEEN_SELECTORS + 2*(SELECTOR_SIZE + GAP_BETWEEN_SELECTORS), SELECTOR_SIZE*2, SELECTOR_SIZE, InterfaceCore.translate(\"gui.panel.trim_yaw\"), vehicle.definition.motorized.panelTextColor, vehicle.definition.motorized.panelLitTextColor, SELECTOR_TEXTURE_SIZE*2, SELECTOR_TEXTURE_SIZE, TRIM_TEXTURE_WIDTH_OFFSET, TRIM_TEXTURE_HEIGHT_OFFSET, getTextureWidth(), getTextureHeight()){\n\t\t\t@Override\n\t\t\tpublic void onClicked(boolean leftSide){\n\t\t\t\tselectedTrimSelector = this;\n\t\t\t\tselectedTrimType = PacketVehicleControlDigital.Controls.TRIM_YAW;\n\t\t\t\tselectedTrimDirection = !leftSide;\n\t\t\t}\n\t\t\t\n\t\t\t@Override\n\t\t\tpublic void onReleased(){\n\t\t\t\tselectedTrimSelector = null;\n\t\t\t\tselectedTrimType = null;\n\t\t\t}\n\t\t};\n\t\taddSelector(rudderTrimSelector);\n\t\t\n\t\t//If we have both reverse thrust AND autopilot, render them side-by-side. Otherwise just render one in the middle\n\t\tif(haveReverseThrustOption && vehicle.definition.motorized.hasAutopilot){\n\t\t\treverseSelector = new GUIComponentSelector(guiLeft + xOffset, guiTop + GAP_BETWEEN_SELECTORS + 3*(SELECTOR_SIZE + GAP_BETWEEN_SELECTORS), SELECTOR_SIZE, SELECTOR_SIZE, InterfaceCore.translate(\"gui.panel.reverse\"), vehicle.definition.motorized.panelTextColor, vehicle.definition.motorized.panelLitTextColor, SELECTOR_TEXTURE_SIZE, SELECTOR_TEXTURE_SIZE, REVERSE_TEXTURE_WIDTH_OFFSET, REVERSE_TEXTURE_HEIGHT_OFFSET, getTextureWidth(), getTextureHeight()){\n\t\t\t\t@Override\n\t\t\t\tpublic void onClicked(boolean leftSide){\n\t\t\t\t\tInterfacePacket.sendToServer(new PacketVehicleControlDigital(vehicle, PacketVehicleControlDigital.Controls.REVERSE, selectorState == 0));\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t@Override\n\t\t\t\tpublic void onReleased(){}\n\t\t\t};\n\t\t\taddSelector(reverseSelector);\n\t\t\t\n\t\t\tautopilotSelector = new GUIComponentSelector(guiLeft + xOffset + SELECTOR_SIZE, guiTop + GAP_BETWEEN_SELECTORS + 3*(SELECTOR_SIZE + GAP_BETWEEN_SELECTORS), SELECTOR_SIZE, SELECTOR_SIZE, InterfaceCore.translate(\"gui.panel.autopilot\"), vehicle.definition.motorized.panelTextColor, vehicle.definition.motorized.panelLitTextColor, SELECTOR_TEXTURE_SIZE, SELECTOR_TEXTURE_SIZE, AUTOPILOT_TEXTURE_WIDTH_OFFSET, AUTOPILOT_TEXTURE_HEIGHT_OFFSET, getTextureWidth(), getTextureHeight()){\n\t\t\t\t@Override\n\t\t\t\tpublic void onClicked(boolean leftSide){\n\t\t\t\t\tInterfacePacket.sendToServer(new PacketVehicleControlDigital(vehicle, PacketVehicleControlDigital.Controls.AUTOPILOT, !vehicle.autopilot));\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t@Override\n\t\t\t\tpublic void onReleased(){}\n\t\t\t};\n\t\t\taddSelector(autopilotSelector);\n\t\t}else if(haveReverseThrustOption){\n\t\t\treverseSelector = new GUIComponentSelector(guiLeft + xOffset + SELECTOR_SIZE/2, guiTop + GAP_BETWEEN_SELECTORS + 3*(SELECTOR_SIZE + GAP_BETWEEN_SELECTORS), SELECTOR_SIZE, SELECTOR_SIZE, InterfaceCore.translate(\"gui.panel.reverse\"), vehicle.definition.motorized.panelTextColor, vehicle.definition.motorized.panelLitTextColor, SELECTOR_TEXTURE_SIZE, SELECTOR_TEXTURE_SIZE, REVERSE_TEXTURE_WIDTH_OFFSET, REVERSE_TEXTURE_HEIGHT_OFFSET, getTextureWidth(), getTextureHeight()){\n\t\t\t\t@Override\n\t\t\t\tpublic void onClicked(boolean leftSide){\n\t\t\t\t\tInterfacePacket.sendToServer(new PacketVehicleControlDigital(vehicle, PacketVehicleControlDigital.Controls.REVERSE, selectorState == 0));\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t@Override\n\t\t\t\tpublic void onReleased(){}\n\t\t\t};\n\t\t\taddSelector(reverseSelector);\n\t\t}else if(vehicle.definition.motorized.hasAutopilot){\n\t\t\tautopilotSelector = new GUIComponentSelector(guiLeft + xOffset + SELECTOR_SIZE/2, guiTop + GAP_BETWEEN_SELECTORS + 3*(SELECTOR_SIZE + GAP_BETWEEN_SELECTORS), SELECTOR_SIZE, SELECTOR_SIZE, InterfaceCore.translate(\"gui.panel.autopilot\"), vehicle.definition.motorized.panelTextColor, vehicle.definition.motorized.panelLitTextColor, SELECTOR_TEXTURE_SIZE, SELECTOR_TEXTURE_SIZE, AUTOPILOT_TEXTURE_WIDTH_OFFSET, AUTOPILOT_TEXTURE_HEIGHT_OFFSET, getTextureWidth(), getTextureHeight()){\n\t\t\t\t@Override\n\t\t\t\tpublic void onClicked(boolean leftSide){\n\t\t\t\t\tInterfacePacket.sendToServer(new PacketVehicleControlDigital(vehicle, PacketVehicleControlDigital.Controls.AUTOPILOT, !vehicle.autopilot));\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t@Override\n\t\t\t\tpublic void onReleased(){}\n\t\t\t};\n\t\t\taddSelector(autopilotSelector);\n\t\t}\n\t\t\n\t\t//Need to offset the xOffset by the selector size to account for the double-width trim controls.\n\t\txOffset += SELECTOR_SIZE;\n\t}", "@Override\n\tpublic ToolStrip getToolStrip() {\n\t\treturn toolStrip;\n\t}", "public JaspiraEventHandlerCode toolbar(InteractionEvent ie)\r\n\t\t{\r\n\t\t\tif (ie.getSourcePlugin() != PropertyBrowserPlugin.this)\r\n\t\t\t\treturn EVENT_IGNORED;\r\n\r\n\t\t\tJaspiraAction group;\r\n\r\n\t\t\tgroup = new JaspiraAction(\"propertybrowser.modify\", null, null, null, null, 1, JaspiraAction.TYPE_GROUP);\r\n\t\t\tgroup.addToolbarChild(propertyBrowser.getAddAction());\r\n\t\t\tgroup.addToolbarChild(propertyBrowser.getCopyAction());\r\n\t\t\tgroup.addToolbarChild(propertyBrowser.getCutAction());\r\n\t\t\tgroup.addToolbarChild(propertyBrowser.getPasteAction());\r\n\t\t\tgroup.addToolbarChild(propertyBrowser.getRemoveAction());\r\n\t\t\tie.add(group);\r\n\r\n\t\t\tgroup = new JaspiraAction(\"propertybrowser.order\", null, null, null, null, 1, JaspiraAction.TYPE_GROUP);\r\n\t\t\tgroup.addToolbarChild(propertyBrowser.getMoveUpAction());\r\n\t\t\tgroup.addToolbarChild(propertyBrowser.getMoveDownAction());\r\n\t\t\tie.add(group);\r\n\r\n\t\t\tgroup = new JaspiraAction(\"propertybrowser.save\", null, null, null, null, 1, JaspiraAction.TYPE_GROUP);\r\n\t\t\tgroup.addToolbarChild(getAction(\"standard.file.save\"));\r\n\t\t\tie.add(group);\r\n\r\n\t\t\treturn EVENT_HANDLED;\r\n\t\t}" ]
[ "0.5986132", "0.5929", "0.5779862", "0.567958", "0.56753224", "0.5666957", "0.5633191", "0.56244016", "0.5624054", "0.56126654", "0.55984074", "0.5568193", "0.5557671", "0.5557535", "0.55374473", "0.5532098", "0.5522351", "0.54944915", "0.5459827", "0.5456749", "0.5452488", "0.5440525", "0.54326636", "0.5431124", "0.5396694", "0.53895646", "0.53801686", "0.5376294", "0.5358915", "0.5326909", "0.53248537", "0.5295289", "0.5274962", "0.5241934", "0.5237016", "0.52283597", "0.5193388", "0.5189423", "0.51872027", "0.5176432", "0.51746655", "0.5165726", "0.5162884", "0.5159284", "0.5154861", "0.51419246", "0.5126588", "0.51212686", "0.5098167", "0.50885373", "0.50787944", "0.507273", "0.50689155", "0.50685513", "0.50614536", "0.50582045", "0.50477546", "0.50402486", "0.50192606", "0.50160074", "0.5015683", "0.50133234", "0.5010397", "0.50043", "0.4999863", "0.4999747", "0.49962565", "0.4995293", "0.4985285", "0.49844524", "0.49837008", "0.497442", "0.49729833", "0.4968726", "0.4963521", "0.49473777", "0.49358645", "0.49225685", "0.49220288", "0.49143142", "0.49066556", "0.49011123", "0.48955637", "0.48904777", "0.48867238", "0.4886497", "0.4883525", "0.48689198", "0.48662603", "0.48630905", "0.48560873", "0.4855021", "0.4850687", "0.4850399", "0.4843477", "0.4841874", "0.48282343", "0.48164523", "0.4811728", "0.48106298" ]
0.6395499
0
/ access modifiers changed from: packageprivate
public abstract StoreInfo getInfo();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private stendhal() {\n\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\n protected void prot() {\n }", "public void method_4270() {}", "@Override\n public void func_104112_b() {\n \n }", "private void m50366E() {\n }", "private void kk12() {\n\n\t}", "public final void mo51373a() {\n }", "@Override\n public void perish() {\n \n }", "public abstract void mo70713b();", "public void m23075a() {\n }", "public void mo38117a() {\n }", "private MApi() {}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "public abstract void mo56925d();", "private void someUtilityMethod() {\n }", "private void someUtilityMethod() {\n }", "public void mo21779D() {\n }", "public abstract void mo27386d();", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "void m1864a() {\r\n }", "public abstract Object mo26777y();", "public void mo21825b() {\n }", "protected boolean func_70814_o() { return true; }", "public final void mo91715d() {\n }", "public abstract void mo27385c();", "public void mo97908d() {\n }", "public void mo21782G() {\n }", "private TMCourse() {\n\t}", "private test5() {\r\n\t\r\n\t}", "private Util() { }", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "protected void mo6255a() {\n }", "private abstract void privateabstract();", "public void mo21877s() {\n }", "public void mo21787L() {\n }", "private MigrationInstantiationUtil() {\n\t\tthrow new IllegalAccessError();\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "private Utils() {}", "private Utils() {}", "private Utils() {}", "private Utils() {}", "private MetallicityUtils() {\n\t\t\n\t}", "public void mo21791P() {\n }", "public void mo4359a() {\n }", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}", "public void mo55254a() {\n }", "public abstract void mo6549b();", "public void mo23813b() {\n }", "@DSComment(\"Private Method\")\n @DSBan(DSCat.PRIVATE_METHOD)\n @DSGenerator(tool_name = \"Doppelganger\", tool_version = \"2.0\", generated_on = \"2013-12-30 13:00:49.426 -0500\", hash_original_method = \"26D71A046B8A5E21DEFC65FB89CD9FDA\", hash_generated_method = \"2293476E78FCC8BDA181F927AEA93BD1\")\n \nprivate void copyTables ()\n {\n if (prefixTable != null) {\n prefixTable = (Hashtable)prefixTable.clone();\n } else {\n prefixTable = new Hashtable();\n }\n if (uriTable != null) {\n uriTable = (Hashtable)uriTable.clone();\n } else {\n uriTable = new Hashtable();\n }\n elementNameTable = new Hashtable();\n attributeNameTable = new Hashtable();\n declSeen = true;\n }", "public void mo44053a() {\n }", "public void smell() {\n\t\t\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo115190b() {\n }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "public void mo21785J() {\n }", "public void mo21793R() {\n }", "public void mo21878t() {\n }", "public void mo56167c() {\n }", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "public abstract String mo118046b();", "public void mo115188a() {\n }", "private SourcecodePackage() {}", "public abstract String mo41079d();", "void mo57277b();", "public void mo6944a() {\n }", "public abstract void mo42329d();", "public abstract void mo30696a();", "private final zzgy zzgb() {\n }", "private Utils() {\n\t}", "private Utils() {\n\t}", "protected boolean func_70041_e_() { return false; }", "zzafe mo29840Y() throws RemoteException;", "private Singletion3() {}", "public abstract void mo42331g();", "public abstract void mo35054b();", "public abstract String mo13682d();", "public void mo21786K() {\n }", "public void mo3376r() {\n }", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "public void mo3749d() {\n }", "public void mo21794S() {\n }", "public void mo12628c() {\n }", "private Infer() {\n\n }", "public void mo9848a() {\n }", "private OMUtil() { }", "public abstract void mo27464a();", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "private NativeSupport() {\n\t}", "public void mo2740a() {\n }", "@Override\n public boolean isPrivate() {\n return true;\n }" ]
[ "0.71513015", "0.6686406", "0.6558315", "0.6482832", "0.6430476", "0.63856333", "0.63838816", "0.63487375", "0.6330605", "0.62764114", "0.626384", "0.62509346", "0.6237325", "0.62340367", "0.6228612", "0.6197973", "0.6197973", "0.61952", "0.6183631", "0.61797863", "0.6157397", "0.6152618", "0.61521906", "0.6116792", "0.61100185", "0.61080855", "0.6088319", "0.6082373", "0.6072587", "0.60691696", "0.60570836", "0.60564214", "0.6056027", "0.60505396", "0.6050144", "0.60472345", "0.6044647", "0.6036982", "0.6024398", "0.6024398", "0.6024398", "0.6024398", "0.6020334", "0.60201526", "0.6018423", "0.6016204", "0.6005956", "0.6002279", "0.5999404", "0.59974486", "0.59964895", "0.5995736", "0.5991695", "0.5991695", "0.5991695", "0.5991695", "0.5991695", "0.5991695", "0.5991695", "0.599113", "0.5987661", "0.5987661", "0.5984926", "0.5983099", "0.5973421", "0.59589046", "0.5958243", "0.5953439", "0.59510964", "0.59475076", "0.5946366", "0.5943994", "0.59424007", "0.59403396", "0.5937576", "0.59374106", "0.5926433", "0.59263766", "0.59263766", "0.5925841", "0.5913479", "0.5910542", "0.59044325", "0.5904201", "0.59039", "0.58995575", "0.58967894", "0.5894089", "0.58939654", "0.58905286", "0.5882918", "0.58785903", "0.58777314", "0.5876467", "0.5876147", "0.587332", "0.58671093", "0.58671093", "0.58666575", "0.5866619", "0.58632815" ]
0.0
-1
/ access modifiers changed from: packageprivate
public abstract Object toDexFile();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private stendhal() {\n\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\n protected void prot() {\n }", "public void method_4270() {}", "@Override\n public void func_104112_b() {\n \n }", "private void m50366E() {\n }", "private void kk12() {\n\n\t}", "public final void mo51373a() {\n }", "@Override\n public void perish() {\n \n }", "public abstract void mo70713b();", "public void m23075a() {\n }", "public void mo38117a() {\n }", "private MApi() {}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "public abstract void mo56925d();", "private void someUtilityMethod() {\n }", "private void someUtilityMethod() {\n }", "public void mo21779D() {\n }", "public abstract void mo27386d();", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "void m1864a() {\r\n }", "public abstract Object mo26777y();", "public void mo21825b() {\n }", "protected boolean func_70814_o() { return true; }", "public final void mo91715d() {\n }", "public abstract void mo27385c();", "public void mo97908d() {\n }", "public void mo21782G() {\n }", "private TMCourse() {\n\t}", "private test5() {\r\n\t\r\n\t}", "private Util() { }", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "protected void mo6255a() {\n }", "private abstract void privateabstract();", "public void mo21877s() {\n }", "public void mo21787L() {\n }", "private MigrationInstantiationUtil() {\n\t\tthrow new IllegalAccessError();\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "private Utils() {}", "private Utils() {}", "private Utils() {}", "private Utils() {}", "private MetallicityUtils() {\n\t\t\n\t}", "public void mo21791P() {\n }", "public void mo4359a() {\n }", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}", "public void mo55254a() {\n }", "public abstract void mo6549b();", "public void mo23813b() {\n }", "@DSComment(\"Private Method\")\n @DSBan(DSCat.PRIVATE_METHOD)\n @DSGenerator(tool_name = \"Doppelganger\", tool_version = \"2.0\", generated_on = \"2013-12-30 13:00:49.426 -0500\", hash_original_method = \"26D71A046B8A5E21DEFC65FB89CD9FDA\", hash_generated_method = \"2293476E78FCC8BDA181F927AEA93BD1\")\n \nprivate void copyTables ()\n {\n if (prefixTable != null) {\n prefixTable = (Hashtable)prefixTable.clone();\n } else {\n prefixTable = new Hashtable();\n }\n if (uriTable != null) {\n uriTable = (Hashtable)uriTable.clone();\n } else {\n uriTable = new Hashtable();\n }\n elementNameTable = new Hashtable();\n attributeNameTable = new Hashtable();\n declSeen = true;\n }", "public void mo44053a() {\n }", "public void smell() {\n\t\t\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo115190b() {\n }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "public void mo21785J() {\n }", "public void mo21793R() {\n }", "public void mo21878t() {\n }", "public void mo56167c() {\n }", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "public abstract String mo118046b();", "public void mo115188a() {\n }", "private SourcecodePackage() {}", "public abstract String mo41079d();", "void mo57277b();", "public void mo6944a() {\n }", "public abstract void mo42329d();", "public abstract void mo30696a();", "private final zzgy zzgb() {\n }", "private Utils() {\n\t}", "private Utils() {\n\t}", "protected boolean func_70041_e_() { return false; }", "zzafe mo29840Y() throws RemoteException;", "private Singletion3() {}", "public abstract void mo42331g();", "public abstract void mo35054b();", "public abstract String mo13682d();", "public void mo21786K() {\n }", "public void mo3376r() {\n }", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "public void mo3749d() {\n }", "public void mo21794S() {\n }", "public void mo12628c() {\n }", "private Infer() {\n\n }", "public void mo9848a() {\n }", "private OMUtil() { }", "public abstract void mo27464a();", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "private NativeSupport() {\n\t}", "public void mo2740a() {\n }", "@Override\n public boolean isPrivate() {\n return true;\n }" ]
[ "0.71513015", "0.6686406", "0.6558315", "0.6482832", "0.6430476", "0.63856333", "0.63838816", "0.63487375", "0.6330605", "0.62764114", "0.626384", "0.62509346", "0.6237325", "0.62340367", "0.6228612", "0.6197973", "0.6197973", "0.61952", "0.6183631", "0.61797863", "0.6157397", "0.6152618", "0.61521906", "0.6116792", "0.61100185", "0.61080855", "0.6088319", "0.6082373", "0.6072587", "0.60691696", "0.60570836", "0.60564214", "0.6056027", "0.60505396", "0.6050144", "0.60472345", "0.6044647", "0.6036982", "0.6024398", "0.6024398", "0.6024398", "0.6024398", "0.6020334", "0.60201526", "0.6018423", "0.6016204", "0.6005956", "0.6002279", "0.5999404", "0.59974486", "0.59964895", "0.5995736", "0.5991695", "0.5991695", "0.5991695", "0.5991695", "0.5991695", "0.5991695", "0.5991695", "0.599113", "0.5987661", "0.5987661", "0.5984926", "0.5983099", "0.5973421", "0.59589046", "0.5958243", "0.5953439", "0.59510964", "0.59475076", "0.5946366", "0.5943994", "0.59424007", "0.59403396", "0.5937576", "0.59374106", "0.5926433", "0.59263766", "0.59263766", "0.5925841", "0.5913479", "0.5910542", "0.59044325", "0.5904201", "0.59039", "0.58995575", "0.58967894", "0.5894089", "0.58939654", "0.58905286", "0.5882918", "0.58785903", "0.58777314", "0.5876467", "0.5876147", "0.587332", "0.58671093", "0.58671093", "0.58666575", "0.5866619", "0.58632815" ]
0.0
-1
/ access modifiers changed from: protected
public Object toDexListElement(DexLoader.ElementConstructor elementConstructor) { Object dexFile = toDexFile(); if (dexFile == null) { return null; } return elementConstructor.newInstance(this.mFile, dexFile); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "private abstract void privateabstract();", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "@Override\n\tprotected void interr() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "public void smell() {\n\t\t\n\t}", "public abstract Object mo26777y();", "protected void h() {}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "protected abstract Set method_1559();", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "public abstract void mo70713b();", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "protected Doodler() {\n\t}", "public abstract void mo27386d();", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "private PropertyAccess() {\n\t\tsuper();\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "public abstract void mo56925d();", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void init() {\n }", "@Override\n protected void getExras() {\n }", "@Override\n\tpublic void emprestimo() {\n\n\t}", "public abstract void mo27385c();", "@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}", "@Override\n public void memoria() {\n \n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "protected boolean func_70814_o() { return true; }", "private void someUtilityMethod() {\n }", "private void someUtilityMethod() {\n }", "public abstract void mo30696a();", "abstract int pregnancy();", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "@Override\n public void init() {\n\n }", "@Override\n void init() {\n }", "@Override\n\tpublic void leti() \n\t{\n\t}", "private TMCourse() {\n\t}", "public abstract void mo35054b();", "@Override\n public void init() {\n }", "@Override\n\tpublic void buscar() {\n\t\t\n\t}", "private Infer() {\n\n }", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tpublic void erstellen() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "public final void mo51373a() {\n }", "protected void method_3848() {\r\n super.method_3848();\r\n }", "protected FanisamBato(){\n\t}", "public abstract Object mo1771a();", "public abstract void m15813a();", "public void gored() {\n\t\t\n\t}", "@Override\n public void get() {}", "@Override\n\tpublic void dibuja() {\n\t\t\n\t}", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "private Get() {}", "private Get() {}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "public abstract void mo27464a();", "public abstract String mo41079d();", "@Override\n\tpublic void classroom() {\n\t\t\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\n\tpublic void verkaufen() {\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void logic() {\n\n\t}", "public abstract void mo102899a();", "@SuppressWarnings(\"unused\")\n private void _read() {\n }", "public abstract void mo42329d();", "@Override\r\n\t\t\tpublic void test() {\n\t\t\t}", "@Override\r\n \tpublic void process() {\n \t\t\r\n \t}", "public void method_4270() {}", "public abstract void mo6549b();", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void function() {\n\t\t\n\t}", "protected void init() {\n // to override and use this method\n }" ]
[ "0.7375736", "0.7042321", "0.6922649", "0.6909494", "0.68470824", "0.6830288", "0.68062353", "0.6583185", "0.6539446", "0.65011257", "0.64917654", "0.64917654", "0.64733833", "0.6438831", "0.64330196", "0.64330196", "0.64295477", "0.6426414", "0.6420484", "0.64083177", "0.6406691", "0.6402136", "0.6400287", "0.63977665", "0.63784796", "0.6373787", "0.63716805", "0.63680965", "0.6353791", "0.63344383", "0.6327005", "0.6327005", "0.63259363", "0.63079315", "0.6279023", "0.6271251", "0.62518364", "0.62254924", "0.62218183", "0.6213994", "0.6204108", "0.6195944", "0.61826825", "0.617686", "0.6158371", "0.6138765", "0.61224854", "0.6119267", "0.6119013", "0.61006695", "0.60922325", "0.60922325", "0.6086324", "0.6083917", "0.607071", "0.6070383", "0.6067458", "0.60568124", "0.6047576", "0.6047091", "0.60342956", "0.6031699", "0.6026248", "0.6019563", "0.60169774", "0.6014913", "0.6011912", "0.59969044", "0.59951806", "0.5994921", "0.599172", "0.59913194", "0.5985337", "0.59844744", "0.59678656", "0.5966894", "0.5966894", "0.5966894", "0.5966894", "0.5966894", "0.5966894", "0.59647757", "0.59647757", "0.59616375", "0.5956373", "0.5952514", "0.59497356", "0.59454703", "0.5941018", "0.5934147", "0.5933801", "0.59318185", "0.5931161", "0.5929297", "0.5926942", "0.5925829", "0.5924853", "0.5923296", "0.5922199", "0.59202504", "0.5918595" ]
0.0
-1
/ access modifiers changed from: packageprivate
public abstract DexHolder toFasterHolder();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private stendhal() {\n\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\n protected void prot() {\n }", "public void method_4270() {}", "@Override\n public void func_104112_b() {\n \n }", "private void m50366E() {\n }", "private void kk12() {\n\n\t}", "public final void mo51373a() {\n }", "@Override\n public void perish() {\n \n }", "public abstract void mo70713b();", "public void m23075a() {\n }", "public void mo38117a() {\n }", "private MApi() {}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "public abstract void mo56925d();", "private void someUtilityMethod() {\n }", "private void someUtilityMethod() {\n }", "public void mo21779D() {\n }", "public abstract void mo27386d();", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "void m1864a() {\r\n }", "public abstract Object mo26777y();", "public void mo21825b() {\n }", "protected boolean func_70814_o() { return true; }", "public final void mo91715d() {\n }", "public abstract void mo27385c();", "public void mo97908d() {\n }", "public void mo21782G() {\n }", "private TMCourse() {\n\t}", "private test5() {\r\n\t\r\n\t}", "private Util() { }", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "protected void mo6255a() {\n }", "private abstract void privateabstract();", "public void mo21877s() {\n }", "public void mo21787L() {\n }", "private MigrationInstantiationUtil() {\n\t\tthrow new IllegalAccessError();\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "private Utils() {}", "private Utils() {}", "private Utils() {}", "private Utils() {}", "private MetallicityUtils() {\n\t\t\n\t}", "public void mo21791P() {\n }", "public void mo4359a() {\n }", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}", "public void mo55254a() {\n }", "public abstract void mo6549b();", "public void mo23813b() {\n }", "@DSComment(\"Private Method\")\n @DSBan(DSCat.PRIVATE_METHOD)\n @DSGenerator(tool_name = \"Doppelganger\", tool_version = \"2.0\", generated_on = \"2013-12-30 13:00:49.426 -0500\", hash_original_method = \"26D71A046B8A5E21DEFC65FB89CD9FDA\", hash_generated_method = \"2293476E78FCC8BDA181F927AEA93BD1\")\n \nprivate void copyTables ()\n {\n if (prefixTable != null) {\n prefixTable = (Hashtable)prefixTable.clone();\n } else {\n prefixTable = new Hashtable();\n }\n if (uriTable != null) {\n uriTable = (Hashtable)uriTable.clone();\n } else {\n uriTable = new Hashtable();\n }\n elementNameTable = new Hashtable();\n attributeNameTable = new Hashtable();\n declSeen = true;\n }", "public void mo44053a() {\n }", "public void smell() {\n\t\t\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo115190b() {\n }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "public void mo21785J() {\n }", "public void mo21793R() {\n }", "public void mo21878t() {\n }", "public void mo56167c() {\n }", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "public abstract String mo118046b();", "public void mo115188a() {\n }", "private SourcecodePackage() {}", "public abstract String mo41079d();", "void mo57277b();", "public void mo6944a() {\n }", "public abstract void mo42329d();", "public abstract void mo30696a();", "private final zzgy zzgb() {\n }", "private Utils() {\n\t}", "private Utils() {\n\t}", "protected boolean func_70041_e_() { return false; }", "zzafe mo29840Y() throws RemoteException;", "private Singletion3() {}", "public abstract void mo42331g();", "public abstract void mo35054b();", "public abstract String mo13682d();", "public void mo21786K() {\n }", "public void mo3376r() {\n }", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "public void mo3749d() {\n }", "public void mo21794S() {\n }", "public void mo12628c() {\n }", "private Infer() {\n\n }", "public void mo9848a() {\n }", "private OMUtil() { }", "public abstract void mo27464a();", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "private NativeSupport() {\n\t}", "public void mo2740a() {\n }", "@Override\n public boolean isPrivate() {\n return true;\n }" ]
[ "0.71513015", "0.6686406", "0.6558315", "0.6482832", "0.6430476", "0.63856333", "0.63838816", "0.63487375", "0.6330605", "0.62764114", "0.626384", "0.62509346", "0.6237325", "0.62340367", "0.6228612", "0.6197973", "0.6197973", "0.61952", "0.6183631", "0.61797863", "0.6157397", "0.6152618", "0.61521906", "0.6116792", "0.61100185", "0.61080855", "0.6088319", "0.6082373", "0.6072587", "0.60691696", "0.60570836", "0.60564214", "0.6056027", "0.60505396", "0.6050144", "0.60472345", "0.6044647", "0.6036982", "0.6024398", "0.6024398", "0.6024398", "0.6024398", "0.6020334", "0.60201526", "0.6018423", "0.6016204", "0.6005956", "0.6002279", "0.5999404", "0.59974486", "0.59964895", "0.5995736", "0.5991695", "0.5991695", "0.5991695", "0.5991695", "0.5991695", "0.5991695", "0.5991695", "0.599113", "0.5987661", "0.5987661", "0.5984926", "0.5983099", "0.5973421", "0.59589046", "0.5958243", "0.5953439", "0.59510964", "0.59475076", "0.5946366", "0.5943994", "0.59424007", "0.59403396", "0.5937576", "0.59374106", "0.5926433", "0.59263766", "0.59263766", "0.5925841", "0.5913479", "0.5910542", "0.59044325", "0.5904201", "0.59039", "0.58995575", "0.58967894", "0.5894089", "0.58939654", "0.58905286", "0.5882918", "0.58785903", "0.58777314", "0.5876467", "0.5876147", "0.587332", "0.58671093", "0.58671093", "0.58666575", "0.5866619", "0.58632815" ]
0.0
-1
Project Name: 52WeekChallenge Created by Okilipa Antony on 5/10/2019 at 2:10 PM
@Component(modules = { AndroidSupportInjectionModule.class, AppModule.class, ActivityBuilder.class }) @Singleton public interface AppComponent{ /* * This builder interface is called from our Application class. * This will set our application object to the AppComponent * So inside the AppComponent the application instance is available. * So this application instance can be accessed by our modules * such as ApiModule when needed * */ @Component.Builder interface Builder{ @BindsInstance Builder application(Application application); AppComponent build(); } /* * This is our Application class * */ void inject(BaseApplication application); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getProjectName();", "String getProjectName();", "public String getProjectTeamName(){\n return \"The name of the project of this researcher is \"+\n name_of_project_team +\n \"\\n*******\\n\";\n }", "@Override\r\n\tString getProjectName();", "public String getProjectName() { return DBCurrent.getInstance().projectName(); }", "public String getProjectName() { return DBCurrent.getInstance().projectName(); }", "public String getProjectName(){\n return projectModel.getProjectName();\n }", "public String getProjectName() {\n return projectName;\n }", "public Project() {\n this.name = \"Paper plane\";\n this.description = \" It's made of paper.\";\n }", "public String getProjectTitle()\r\n {\r\n return (m_projectTitle);\r\n }", "public String getProjectName() {\r\n return this.projectName;\r\n }", "public String getPrideExperimentProjectTitle() {\n\n \n return prideExperimentProjectTitle;\n\n }", "public String getProjectName() {\r\n return projectName;\r\n }", "public java.lang.String toString() {\n return \"Project name=\" + name;\n }", "public java.lang.String getRndProjectName() {\n return rndProjectName;\n }", "public String getProjectTitle() {\n\n\t\tif (projectTitle != null)\n\t\t\treturn ProteomeXchangeFilev2_1.MTD + TAB + \"project_title\" + TAB + projectTitle;\n\t\treturn null;\n\t}", "public void setProjectName(String name) {\r\n this.projectName = name;\r\n }", "public String getProjectName() {\n return projectName;\n }", "public String getProjectName() {\n return projectName;\n }", "public static synchronized String getTestProjectName() {\n String retVal;\n System.out.println(Thread.currentThread().getName() + \"********************************************************* TestHelper.getTestProjectName\");\n if (Utility.isMacintosh()) {\n retVal = \"Test Project\";\n } else if (Utility.isLinux()) {\n retVal = \"Test Project\";\n } else {\n retVal = \"Test ProjectW\";\n }\n return retVal;\n }", "public static final String getProject() { return project; }", "public static final String getProject() { return project; }", "public String getProjectName() {\n\t\treturn project;\n\t}", "public String projectNumber() {\n return this.projectNumber;\n }", "public String getProjectName() {\r\n\t\t\treturn projectName;\r\n\t\t}", "public String getProjectName() {\n\t\treturn projectName;\n\t}", "void projectName( String key, String value ){\n projectInProgress.projectName = value;\n if ( projectInProgress.fullProjectName == null ) {\n projectInProgress.fullProjectName = value;\n }\n }", "@Override\r\n\tpublic String shortProjectDescr() {\n\t\treturn null;\r\n\t}", "public Project(String name) {\n this.name = name;\n }", "public void checkForProject(int i) {\n if (wordsOfInput[i].indexOf('$') == 0) {\n if ((!containsStartDate || !containsStartTime) && index > i) {\n index = i;\n tpsIndex = i;\n }\n String project = wordsOfInput[i].substring(1);\n builder.project(project);\n }\n }", "public String projectName() {\n return this.projectName;\n }", "public Project(String name){\n\t\tthis.pName = name;\n\t}", "java.lang.String getProjectId();", "public String getProjectno() {\r\n return projectno;\r\n }", "LectureProject createLectureProject();", "@Override\n\tpublic Map<String, Object> getProjectName() {\n\t\treturn Collections.singletonMap(\"wrongAttribute\", \"the project name\");\n\t}", "public String getProjectName(TimeRecord timeRecord) throws IOException, SQLException, ClassNotFoundException {\n String projectName = null;\n ProjectDAO projectDAO = new ProjectDAO();\n try {\n Project project = projectDAO.getProject(timeRecord.getProjectId());\n if (project != null) {\n projectName = project.getProjectName();\n }\n } catch (IOException | SQLException | ClassNotFoundException e) {\n throw e;\n }\n return projectName;\n }", "String indexBlackLabBuildTime();", "public Project(String name, String description){\n this.name = name;\n this.description = description; \n }", "public String getProjectTitle() {\n return getProperty(Property.PROJECT_TITLE);\n }", "public static String getAWEprojectNameFromResource(IProject rubyProject) {\r\n \t\tString name = null;\r\n \t\ttry {\r\n \t\t\tname = rubyProject.getPersistentProperty(AWE_PROJECT_NAME);\r\n \t\t}\r\n \t\tcatch (CoreException e) {\r\n \t\t\t\r\n \t\t}\r\n \t\treturn name;\r\n \t}", "com.appscode.api.auth.v1beta1.Project getProject();", "public static String computeAWEProjectName(Object nameObject) {\r\n if (nameObject instanceof net.refractions.udig.project.IProject){\r\n return ((net.refractions.udig.project.IProject)nameObject).getName();\r\n }if (nameObject instanceof IProjectElement){\r\n return ((IProjectElement)nameObject).getProject().getName();\r\n }\r\n return null;\r\n }", "public void setRndProjectName(java.lang.String rndProjectName) {\n this.rndProjectName = rndProjectName;\n }", "private static String nameOf(GitHubProject project) {\n return String.format(\"[%s/%s](%s)\",\n project.organization().name(), project.name(), project.scm().toString());\n }", "@Test\n public void emptyProjectFile_getProjectName_CorrectValue() throws FatalException, URISyntaxException {\n final IProjectConfig projectConfig = getEmptyProjectConfig();\n final String expected = \"project 2\";\n final String actual = projectConfig.getProjectName();\n Assert.assertEquals(expected, actual);\n }", "Project getProject();", "@Test\n public void normalProjectFile_getProgramName_CorrectValue() throws FatalException, URISyntaxException {\n final IProjectConfig projectConfig = getNormalProjectConfig();\n final String expected = \"JHydra\";\n final String actual = projectConfig.getProgramName();\n Assert.assertEquals(expected, actual);\n }", "void createProjectForExercise(ProgrammingExercise programmingExercise) throws VersionControlException;", "@Override\r\n\tprotected String getProjectHelpId() {\n\t\treturn null;\r\n\t}", "Project createProject();", "Project createProject();", "Project createProject();", "public static String getName() {\n\t\treturn ProjectMain._name;\n\t}", "public void testGetProjectByName() throws Exception {\r\n ProjectData projectData = new ProjectData();\r\n projectData.setName(\"project1\");\r\n projectData.setDescription(\"des\");\r\n\r\n projectService.createProject(projectData);\r\n\r\n\t\tlong start = System.currentTimeMillis();\r\n\t\tProjectData pd = null;\r\n\t\tfor (int i = 0; i < 100; i++) {\r\n\t pd = projectService.getProjectByName(\"project1\", 1);\r\n\t\t}\r\n\t\tlong end = System.currentTimeMillis();\r\n\t\tSystem.out.println(\"Run getProjectByName used \" + (end - start) + \"ms\");\r\n\r\n assertEquals(\"The project data is wrong.\", pd.getDescription(), projectData.getDescription());\r\n assertEquals(\"The project data is wrong.\", pd.getName(), projectData.getName());\r\n }", "void projectFullName( String key, String value ){\n projectInProgress.fullProjectName = value;\n }", "public boolean shouldDisplayProject ()\r\n {\r\n return displayProjectName_;\r\n }", "public void setProjectName(String project) {\n projectName = project;\n }", "private static String projectLine(double project)\n {\n return String.format(STR_FORMAT_1 + STR_FORMAT_2, PROJECT_STR, \n DEC_FORMAT.format(project));\n }", "private String getSimplicityProjectName() {\n return properties.getProperty(\"simplicity.starter.projectName\");\n }", "public String getProjectName() {\n return this.mProjectName;\n }", "@Test\n\tpublic void testCreate() throws Exception {\n\n\t\tSimpleDateFormat sdf = new SimpleDateFormat(\"yyyy-MM-dd hh:mm:ss\");\n\t\tDate startDate = new Date();\n\t\tCalendar calendar = new GregorianCalendar();\n\t\tcalendar.setTime(startDate);\n\t\tcalendar.add(Calendar.MONTH, 2);\n\t\t//\"name\":\"mizehau\",\"introduction\":\"dkelwfjw\",\"validityStartTime\":\"2015-12-08 15:06:21\",\"validityEndTime\":\"2015-12-10 \n\n\t\t//15:06:24\",\"cycle\":\"12\",\"industry\":\"1202\",\"area\":\"2897\",\"remuneration\":\"1200\",\"taskId\":\"TVRRME9UVTFPRE0zT0RBeU1EQXdNRFkyTVRnMU9EQTU=\"\n\t\tProject a = new Project();\n\t\tDate endDate = calendar.getTime();\n\t\tString name = \"mizehau\";\n\t\tString introduction = \"dkelwfjw\";\n\t\tString industry = \"1202\";\n\t\tString area = \"test闫伟旗创建项目\";\n\t\t//String document = \"test闫伟旗创建项目\";\n\t\tint cycle = 12;\n\t\tString taskId = \"TVRRME9UVTFPRE0zT0RBeU1EQXdNRFkyTVRnMU9EQTU=\";\n\t\tdouble remuneration = 1200;\n\t\tTimestamp validityStartTime = Timestamp.valueOf(sdf.format(startDate));\n\t\tTimestamp validityEndTime = Timestamp.valueOf(sdf.format(endDate));\n\t\ta.setArea(area);\n\t\ta.setName(name);\n\t\ta.setIntroduction(introduction);\n\t\ta.setValidityStartTime(validityStartTime);\n\t\ta.setValidityEndTime(validityEndTime);\n\t\ta.setCycle(cycle);\n\t\ta.setIndustry(industry);\n\t\ta.setRemuneration(remuneration);\n\t\ta.setDocument(taskId);\n\t\tProject p = projectService.create(a);\n\t\tSystem.out.println(p);\n\t}", "@Then(\"^Validate project table against pivotal project$\")\n public void allInformationOfPivotalTrackerProjectsShouldBeDisplayedInProjectTableWidgetOfMach() {\n JsonPath jsonPath = resources.getResponse().jsonPath();\n// assertEquals(jsonPath.get(\"name\"), tableProjectValues.get(\"name\"));\n// assertEquals(jsonPath.get(\"current_iteration_number\"), tableProjectValues.get(\"current_iteration\"));\n// assertEquals(jsonPath.get(\"week_start_day\"), tableProjectValues.get(\"week_start_date\"));\n assertEquals(jsonPath.get(\"name\"), \"AT01 project-01\");\n assertEquals(jsonPath.get(\"week_start_day\"), \"Monday\");\n }", "private void initiateProject() {\n\n SimpleDateFormat dateFormat = new SimpleDateFormat(\"dd-MM-yyyy\", Locale.getDefault());\n\n Date startDay = null;\n Date deadlineMinPace = null;\n Date deadlineMaxPace = null;\n\n try {\n startDay = dateFormat.parse(\"21-08-2018\");\n deadlineMinPace = dateFormat.parse(\"27-08-2018\");\n deadlineMaxPace = dateFormat.parse(\"25-08-2018\");\n } catch (ParseException e) {\n e.printStackTrace();\n }\n\n if (startDay != null && deadlineMinPace != null && deadlineMaxPace != null) {\n\n smp = new SmartProject(\"Test project\", \"Test project description\",\n 35, startDay, deadlineMinPace, deadlineMaxPace);\n\n System.out.println(\"===>>>\" + smp.toString());\n\n } else {\n System.out.println(\"===>>> Some date are null!\");\n }\n\n /*\n // *** print block ***\n smp.printEntries();\n\n for (float f : smp.getYAxisChartValuesMinPace()) {\n System.out.println(f);\n }\n\n for (float f : smp.getYAxisChartValuesMaxPace()) {\n System.out.println(f);\n }\n\n for (float f : smp.getFloatNumbersForXAxis()) {\n System.out.println(f);\n }\n */\n\n }", "@Override\t\r\n\tpublic String getDailyWorkout() {\n\t\treturn \"practice 30 hrs daily\";\r\n\t}", "public String getProjectDate()\n\t{\n\t\treturn m_projectDate;\n\t}", "private ProjectMgr getPmNameTrueLoadActualProject() {\n ProjectMgr pm = null;\n try {\n pm = new ProjectMgr(\"Example\", true);\n\n } catch (ParserConfigurationException e) {\n e.printStackTrace();\n } catch (IOException e) {\n e.printStackTrace();\n } catch (SAXException e) {\n e.printStackTrace();\n }\n\n IOException e;\n return pm;\n }", "@Test\n\tpublic void testMainScenario() {\n\t\tProject project = this.db.project().create(\"Test project\", 200, \"13-05-2014\", null);\n\n//Test #1\t\t\n\t\tassertEquals(project.getActivities().size(), 0);\n\t\tassertEquals(project.getEstPercentageCompletion(), 0);\n\t\tassertEquals(project.getEstHoursRemaining(), 200);\n\t\tassertEquals(project.getHourBudget(), 200);\n\t\tassertEquals(project.getHoursAllocatedToActivities(), 0);\n\t\tassertEquals(project.getHoursRegistered(), 0);\n\t\t\n\t\tActivity activity1 = this.db.activity().createProjectActivity(project.getId(), \"activity1\", 10, this.stringDateTimeToLong(\"01-05-2013 01:00\"), this.stringDateTimeToLong(\"01-05-2014 01:00\"));\n\t\tActivity activity2 = this.db.activity().createProjectActivity(project.getId(), \"activity2\", 10, this.stringDateTimeToLong(\"01-05-2013 01:00\"), this.stringDateTimeToLong(\"01-05-2014 01:00\"));\n\n//Test #2\t\t\n\t\tassertEquals(project.getActivities().size(), 2);\n\t\tassertEquals(project.getEstPercentageCompletion(), 0);\n\t\tassertEquals(project.getEstHoursRemaining(), 200);\n\t\tassertEquals(project.getHourBudget(), 200);\n\t\tassertEquals(project.getHoursAllocatedToActivities(), 20);\n\t\tassertEquals(project.getHoursRegistered(), 0);\n\t\t\n\t\tDeveloper developer = this.db.developer().readByInitials(\"JL\").get(0);\n\t\tDeveloper developer2 = this.db.developer().readByInitials(\"PM\").get(0);\n\t\tDeveloper developer3 = this.db.developer().readByInitials(\"GH\").get(0);\n\t\tDeveloper developer4 = this.db.developer().readByInitials(\"RS\").get(0);\n\t\tactivity1.addDeveloper(developer);\n\t\tactivity1.addDeveloper(developer2);\n\t\tactivity1.addDeveloper(developer3);\n\t\tactivity1.addDeveloper(developer4);\n\n//Test #3\n\t\t//Tests that the initials of all developers are stored correctly\t\t\n\t\tassertEquals(activity1.getAllDevsInitials(),\"JL,PM,GH,RS\");\n\t\tassertEquals(activity1.getAllDevsInitials() == \"The Beatles\", false); //Please fail!\n\t\t\n\t\tthis.db.registerTime().create(this.stringDateTimeToLong(\"11-05-2013 06:30\"), this.stringDateTimeToLong(\"11-05-2013 09:30\"), developer.getId(), activity1.getId(), false);\n\t\tthis.db.registerTime().create(this.stringDateTimeToLong(\"11-05-2013 06:30\"), this.stringDateTimeToLong(\"11-05-2013 09:30\"), developer2.getId(), activity1.getId(), false);\n\t\t\n\t\t//Showed in the project maintainance view, and is relevant to the report\n\t\tassertEquals(activity1.getHoursRegistered(),6);\n\t\t\n//Test #4\n\t\t//Tests normal registration\t\t\n\t\tassertEquals(project.getEstPercentageCompletion(), 3);\n\t\tassertEquals(project.getEstHoursRemaining(), 194);\n\t\tassertEquals(project.getHourBudget(), 200);\n\t\tassertEquals(project.getHoursAllocatedToActivities(), 20);\n\t\tassertEquals(project.getHoursRegistered(), 6);\n\t\t\n\t\tthis.db.registerTime().create(this.stringDateTimeToLong(\"12-05-2013 06:30\"), this.stringDateTimeToLong(\"12-05-2013 09:30\"), developer3.getId(), activity2.getId(), true);\n\t\tthis.db.registerTime().create(this.stringDateTimeToLong(\"12-05-2013 06:30\"), this.stringDateTimeToLong(\"12-05-2013 09:30\"), developer4.getId(), activity2.getId(), true);\n\n//Test #5\n\t\t//Tests that assits also count\t\t\n\t\tassertEquals(project.getEstPercentageCompletion(), 6);\n\t\tassertEquals(project.getEstHoursRemaining(), 188);\n\t\tassertEquals(project.getHourBudget(), 200);\n\t\tassertEquals(project.getHoursAllocatedToActivities(), 20);\n\t\tassertEquals(project.getHoursRegistered(), 12);\n\t}", "private void setProject()\n\t{\n\t\tproject.setName(tf0.getValue().toString());\n \t\tproject.setDescription(tf8.getValue().toString());\n \t\tproject.setEndDate(df4.getValue());\n \t\tif (sf6.getValue().toString().equals(\"yes\"))project.setActive(true);\n \t\telse project.setActive(false);\n \t\tif (!tf7.getValue().toString().equals(\"\"))project.setBudget(Float.parseFloat(tf7.getValue().toString()));\n \t\telse project.setBudget(-1);\n \t\tproject.setNextDeadline(df5.getValue());\n \t\tproject.setStartDate(df3.getValue());\n \t\ttry \n \t\t{\n \t\t\t\tif (sf1.getValue()!=null)\n\t\t\t\tproject.setCustomerID(db.selectCustomerforName( sf1.getValue().toString()));\n\t\t}\n \t\tcatch (SQLException|java.lang.NullPointerException e) \n \t\t{\n \t\t\tErrorWindow wind = new ErrorWindow(e); \n \t UI.getCurrent().addWindow(wind);\t\t\n \t e.printStackTrace();\n\t\t\t}\n \t\tproject.setInserted_by(\"Grigoris\");\n \t\tproject.setModified_by(\"Grigoris\");\n \t\tproject.setRowversion(1);\n \t\tif (sf2.getValue()!=null)project.setProjectType(sf2.getValue().toString());\n \t\telse project.setProjectType(null);\n\t }", "Integer getProjectCount( String key ){\n return developer.projects.size();\n }", "public ProjectDescription() {\n this.description = Project.PROJECT_DEFAULT_DESCRIPTION;\n }", "public String getProjcontactor() {\n return projcontactor;\n }", "@ApiModelProperty(value = \"Name of the project and service desk.\")\n public String getProjectName() {\n return projectName;\n }", "public static Project createProject() throws ParseException {\n System.out.println(\"Please enter the project number: \");\n int projNum = input.nextInt();\n input.nextLine();\n\n System.out.println(\"Please enter the project name: \");\n String projName = input.nextLine();\n\n System.out.println(\"Please enter the type of building: \");\n String buildingType = input.nextLine();\n\n System.out.println(\"Please enter the physical address for the project: \");\n String address = input.nextLine();\n\n System.out.println(\"Please enter the ERF number: \");\n String erfNum = input.nextLine();\n\n System.out.println(\"Please enter the total fee for the project: \");\n int totalFee = input.nextInt();\n input.nextLine();\n\n System.out.println(\"Please enter the total amount paid to date: \");\n int amountPaid = input.nextInt();\n input.nextLine();\n\n System.out.println(\"Please enter the deadline for the project (dd/MM/yyyy): \");\n String sdeadline = input.nextLine();\n Date deadline = dateformat.parse(sdeadline);\n\n Person architect = createPerson(\"architect\", input);\n Person contractor = createPerson(\"contractor\", input);\n Person client = createPerson(\"client\", input);\n\n // If the user did not enter a name for the project, then the program will\n // concatenate the building type and the client's surname as the new project\n // name.\n\n if (projName == \"\") {\n String[] clientname = client.name.split(\" \");\n String lastname = clientname[clientname.length - 1];\n projName = buildingType + \" \" + lastname;\n }\n\n return new Project(projNum, projName, buildingType, address, erfNum, totalFee, amountPaid, deadline, contractor,\n architect, client);\n\n }", "public static Project exampleProject() throws ParseException {\n Person willem = new Person(\"Contractor\", \"Willem du Plessis\", \"074 856 4561\", \"[email protected]\",\n \"452 Tugela Avenue\");\n Person rene = new Person(\"Architect\", \"Rene Malan\", \"074 856 4561\", \"rene@malan\", \"452 Tugela Avenue\");\n Person tish = new Person(\"Client\", \"Tish du Plessis\", \"074 856 4561\", \"[email protected]\", \"452 Tugela Avenue\");\n Date deadline = dateformat.parse(\"30/03/2021\");\n Project housePlessis = new Project(789, \"House Plessis\", \"House\", \"102 Jasper Avenue\", \"1025\", 20000, 5000,\n deadline, willem, rene, tish);\n ProjectList.add(housePlessis);\n\n return housePlessis;\n }", "private static String projectLine(double project, String projectDescription)\n {\n String temp = DEC_FORMAT.format(project) + \" - \" + projectDescription;\n return String.format(STR_FORMAT_1 + STR_FORMAT_2, PROJECT_STR, temp);\n }", "public String getProjectName() {\n return getProperty(Property.PROJECT_NAME);\n }", "public Project getProject(int projectId) throws EmployeeManagementException;", "public int getNewProjectUniqueId() {\r\n\t\treturn lastProjectUniqueID +1;\r\n\t}", "public void setProjectName(String projectName) {\n this.projectName = projectName == null ? null : projectName.trim();\n }", "public Project getProjectByName(String name);", "@Test\n public void testGetName_1()\n throws Exception {\n Project fixture = new Project();\n fixture.setWorkloadNames(\"\");\n fixture.setName(\"\");\n fixture.setScriptDriver(ScriptDriver.SilkPerformer);\n fixture.setWorkloads(new LinkedList());\n fixture.setComments(\"\");\n fixture.setProductName(\"\");\n\n String result = fixture.getName();\n\n assertEquals(\"\", result);\n }", "public ProjectsPage() {\n\t\tthis.driver = DriverManager.getDriver();\n\t\tElementFactory.initElements(driver, this);\n\t\t// sets the name of the project to add, with a random integer ending for slight\n\t\t// ease on multiple test runs\n\t\tnameOfProject = \"testz2018\" + (int) Math.random() * 500;\n\t}", "public String getProjectDescription() {\n\t\tif (projectShortDescription != null)\n\t\t\treturn ProteomeXchangeFilev2_1.MTD + TAB + \"project_description\" + TAB + projectShortDescription;\n\t\treturn null;\n\t}", "public static void main(String[] args) {\n\n Project project = new Project();\n project.setId(2L);\n project.setTitle(\"Title\");\n System.out.println(project);\n }", "@SimpleProperty(description = \"iSENSE Project Creation Date\", \n category = PropertyCategory.BEHAVIOR)\n public String ProjectDateCreated() {\n if(this.project == null || this.fields == null) {\n Log.e(\"iSENSE\", \"Couldn't get project information!\");\n return \"DNE\";\n }\n return project.timecreated;\n }", "@Test\n public void testErrorMsgWhenProjectNameIsEmpty() {\n //When\n CreateProject createProject = dashboard.clickCreateProjectButton();\n String testAccount = \"Account2\";\n createProject.setAccountDropDown(testAccount);\n createProject.clickCreateProject();\n\n //Then\n String expectedMessage = \"Enter a name for your project\";\n String actualMessage = createProject.getProjectTitleMessage();\n softAssert.assertEquals(expectedMessage, actualMessage);\n softAssert.assertEquals(createProject.getProjectNameTextFieldColor(), RED_COLOR);\n softAssert.assertAll();\n }", "public String getDisplayName() {\n return \"Rhapsody Build\";\n }", "public String getDirectProjectName() {\r\n return directProjectName;\r\n }", "@Override\r\n\tpublic String getDailyStudy() {\n\t\treturn \"Practice Expilliarmus and Work on the patronus charm\";\r\n\t}", "public CreateProject() {\n\t\tsuper();\n\t}", "public void setProjectName(String projectName) {\n\t\tthis.projectName = projectName;\n\t}", "public String getProjectDescribe() {\n return projectDescribe;\n }", "@Override\n\tpublic String getResProjectName() {\n\t\treturn applCenter;\n\t}", "@ApiModelProperty(\n example = \"00000000-0000-0000-0000-000000000000\",\n value =\n \"Identifier of the project, that the task (which the time entry is logged against)\"\n + \" belongs to.\")\n /**\n * Identifier of the project, that the task (which the time entry is logged against) belongs to.\n *\n * @return projectId UUID\n */\n public UUID getProjectId() {\n return projectId;\n }", "@Override\n\tpublic String getDailyWorkout() {\n\t\treturn \"Let's Play Football\";\n\t}", "private String rowFor(GitHubProject project) {\n return PROJECT_LINE_TEMPLATE\n .replace(\"%NAME%\", nameOf(project))\n .replace(\"%STATUS%\", statusOf(project))\n .replace(\"%NUMBER_OF_VIOLATED_RULES%\", numberOfViolatedRulesIn(project));\n }", "private static void ICCChamp2017() {\n\t\tSystem.out.println(\"Final Match In England\");\n\t\t\n\t}", "@Override\n public String validNameProject(String name, Integer project_Oid) {\n return null;\n }", "private String getJiraTestCaseName() {\n String summary = issue.substring(issue.indexOf(\"summary\"), issue.indexOf(\"timetracking\"));\n name = summary.substring(summary.indexOf(\"TC\"));\n name = name.substring(0, name.indexOf(\"\\\",\"));\n return name;\n }", "public String getProjectId() {\r\n return projectId;\r\n }" ]
[ "0.69745076", "0.6861383", "0.68541527", "0.6710827", "0.66432154", "0.66432154", "0.6536017", "0.64566374", "0.63461006", "0.6325055", "0.62588483", "0.62527174", "0.624959", "0.62394756", "0.6196507", "0.61896324", "0.61680025", "0.6132177", "0.6132177", "0.6128478", "0.6084471", "0.6084471", "0.6054354", "0.60252184", "0.6022255", "0.59977865", "0.59972036", "0.5975266", "0.5961006", "0.59426177", "0.59407043", "0.59228957", "0.58712816", "0.58538437", "0.584971", "0.5845976", "0.5839484", "0.58143735", "0.58095974", "0.57950056", "0.57842946", "0.5777456", "0.57702327", "0.57557964", "0.57526505", "0.57467484", "0.573416", "0.5726217", "0.5726083", "0.5725554", "0.57119715", "0.57119715", "0.57119715", "0.5705418", "0.57032603", "0.5702587", "0.5693605", "0.567827", "0.566956", "0.5663385", "0.5662262", "0.5659756", "0.5648556", "0.56469786", "0.5644113", "0.56187636", "0.56127495", "0.5606121", "0.55935717", "0.5591779", "0.5588839", "0.5578496", "0.5577472", "0.5573594", "0.5572612", "0.5568603", "0.5566183", "0.5559751", "0.5554104", "0.55537623", "0.5545976", "0.5537641", "0.5533522", "0.55309683", "0.55227655", "0.55223024", "0.5515672", "0.5507929", "0.55004567", "0.5483923", "0.5478688", "0.54705626", "0.5469671", "0.5466285", "0.54612476", "0.5455541", "0.5445728", "0.54419065", "0.5438477", "0.54380155", "0.54334134" ]
0.0
-1
/ This builder interface is called from our Application class. This will set our application object to the AppComponent So inside the AppComponent the application instance is available. So this application instance can be accessed by our modules such as ApiModule when needed
@Component.Builder interface Builder{ @BindsInstance Builder application(Application application); AppComponent build(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Component(modules = {\n AndroidSupportInjectionModule.class,\n AppModule.class,\n ActivityBuilder.class\n})\n@Singleton\npublic interface AppComponent{\n\n /*\n * This builder interface is called from our Application class.\n * This will set our application object to the AppComponent\n * So inside the AppComponent the application instance is available.\n * So this application instance can be accessed by our modules\n * such as ApiModule when needed\n * */\n @Component.Builder\n interface Builder{\n @BindsInstance\n Builder application(Application application);\n\n AppComponent build();\n }\n\n /*\n * This is our Application class\n * */\n void inject(BaseApplication application);\n\n}", "@Singleton\n@Component(modules = {AppModule.class, ConfigModule.class})\npublic interface AppComponent {\n\n Application application();\n\n RepositoryManager repositoryManager();\n\n RxLifecycleManager rxLifecycleManager();\n\n HttpClientHandler httpErrorHandler();\n\n AppManager appManager();\n\n OkHttpClient provideClient();\n\n void inject(AppDelegate delegate);\n\n @Component.Builder\n interface Builder {\n\n @BindsInstance\n Builder application(Application application);\n\n @BindsInstance\n Builder appDelegate(AppDelegate appDelegate);\n\n Builder configModule(ConfigModule configModule);\n\n AppComponent build();\n }\n}", "Application getApplication();", "@Component.Builder\n interface Builder {\n @BindsInstance\n AppComponent.Builder application(Application application);\n\n AppComponent build();\n }", "@Component.Builder\n interface Builder {\n\n @BindsInstance\n Builder application(Application application);\n\n ApplicationComponent build();\n }", "public interface CustomApplication {\n ComponentBuilder builder();\n}", "public App() {\n\t\tLog.d(\"App\", \"App created\");\n\t\tinstance = this;\n\t}", "public void setApp(Main application) { this.application = application;}", "@Provides\n @Singleton\n Application providesApplication() {\n return mApplication;\n }", "@Singleton\n@Component(modules = {\n ApplicationModule.class,\n AndroidInjectionModule.class,\n ActivityBuilderModule.class\n})\npublic interface AppComponent {\n @Component.Builder\n interface Builder{\n @BindsInstance\n Builder application(Application application);\n AppComponent build();\n\n }\n void inject (NYTimesApp inject);\n}", "private void initAppComponent() {\n mAppComponent = DaggerAppComponent.builder()\n .appModule(new AppModule(this))\n .build();\n }", "@Component(modules = {ApplicationModule.class,HttpModule.class})\npublic interface ApplicationComponent {\n\n MyApp getApplication();\n\n NewsApi getNetEaseApi();\n\n JanDanApi getJanDanApi();\n\n Context getContext();\n\n}", "@Singleton\n@Component(modules = {\n AndroidInjectionModule.class,\n AppModule.class,\n ActivityBuilder.class,\n NetModule.class, GlideAppModules.class\n})\npublic interface AppComponent {\n\n @Component.Builder\n interface Builder {\n\n @BindsInstance Builder application(Application application);\n AppComponent build();\n Builder net(NetModule netModule);\n Builder glide(GlideAppModules glideAppModules);\n }\n\n void inject(MyApplication application);\n\n}", "protected Application getApplication() {\r\n\t\treturn application;\r\n\t}", "public BuilderApplication getApp() {\n\t\treturn app;\n\t}", "@Singleton @Component(modules = {ApplicationModule.class, ApiModule.class})\npublic interface ApplicationComponent {\n Context getContext();\n Bus getBus();\n TRApi getTRApi();\n\n void inject(ZhihuApplication zhihuApplication);\n\n void inject(BaseNewActivity baseNewActivity);\n}", "@Component(modules = {ApplicationModule.class, HttpModule.class})\npublic interface ApplicationComponent {\n MyApp getApplication();\n\n ApiService getApiService();\n\n Context getContext();\n\n}", "@Singleton\n@Component(modules = {AppModule.class, AppClientModule.class})\npublic interface AppComponent {\n Application getApplication();\n MainViewInteraction getWeatherInteractor();\n}", "public MauiApplication getApplication ()\n\t{\n\t\treturn application;\n\t}", "@Singleton\n@Component(modules = {AndroidInjectionModule.class,\n AppModule.class,\n MainActivityModule.class})\npublic interface AppComponent {\n\n @Component.Builder\n interface Builder {\n @BindsInstance\n Builder application(Application application);\n AppComponent build();\n }\n\n void inject(GitHubApp gitHubApp);\n}", "@Singleton\n@Component(modules = {\n\t\tAndroidSupportInjectionModule.class,\n\t\tAppModule.class,\n\t\tNetworkModule.class,\n\t\tModuleBuilder.class\n})\npublic interface AppComponent{\n\n\[email protected]\n\tinterface Builder {\n\n\t\t@BindsInstance\n\t\tBuilder application(App application);\n\t\tAppComponent build();\n\t}\n\n\tvoid inject(App app);\n}", "@ApplicationScope\n@Component(modules = {AppModule.class})\npublic interface AppComponent {\n\n void inject(MyApplication application);\n\n Application application();\n\n Gson gson();\n\n OkHttpClient okHttpClient();\n\n}", "public BazaarApplicationImpl() {\r\n\t\tsuper();\r\n\r\n\t}", "@Singleton\n@Component(modules = {\n CommonsApplicationModule.class,\n NetworkingModule.class,\n AndroidInjectionModule.class,\n AndroidSupportInjectionModule.class,\n ActivityBuilderModule.class,\n FragmentBuilderModule.class,\n ServiceBuilderModule.class,\n ContentProviderBuilderModule.class,\n UploadModule.class,\n ContributionsModule.class,\n SearchModule.class,\n DepictionModule.class,\n CategoriesModule.class\n})\npublic interface CommonsApplicationComponent extends AndroidInjector<ApplicationlessInjection> {\n void inject(CommonsApplication application);\n\n void inject(UploadWorker worker);\n\n void inject(LoginActivity activity);\n\n void inject(SettingsFragment fragment);\n\n void inject(MoreBottomSheetFragment fragment);\n\n void inject(MoreBottomSheetLoggedOutFragment fragment);\n\n void inject(ReviewController reviewController);\n\n //void inject(NavTabLayout view);\n\n @Override\n void inject(ApplicationlessInjection instance);\n\n void inject(FileProcessor fileProcessor);\n\n void inject(PicOfDayAppWidget picOfDayAppWidget);\n\n Gson gson();\n\n @Component.Builder\n @SuppressWarnings({\"WeakerAccess\", \"unused\"})\n interface Builder {\n\n Builder appModule(CommonsApplicationModule applicationModule);\n\n CommonsApplicationComponent build();\n }\n}", "@Singleton\n@Component(modules = ApplicationModule.class)\npublic interface ApplicationComponent {\n// @ApplicationContext\n// Context context();\n\n Application application();\n\n SharedPrefencesHelper sharedPrefencesHelper();\n\n DataManager dataManager();\n\n G3anService g3anService();\n}", "public MTApplication(){\r\n\t\tsuper();\r\n\t}", "@Singleton\n@Component (modules = { AndroidSupportInjectionModule.class,\n ActivityBuilder.class,\n AppModule.class })\npublic interface AppComponent {\n\n @Component.Builder\n interface Builder {\n\n @BindsInstance\n Builder application(DemoApp app);\n\n AppComponent build();\n }\n\n void inject(DemoApp app);\n\n}", "@Component(\n modules = {\n AndroidSupportInjectionModule.class,\n NetworkModule.class,\n ViewModelModule.class,\n WeatherContributor.class\n }\n)\n@Singleton\npublic interface WeatherComponent extends AndroidInjector<WeatherApplication> {\n\n @Component.Builder\n interface Builder{\n\n @BindsInstance\n Builder application(Application application);\n\n WeatherComponent build();\n }\n}", "public void setApp(Main application){\n this.application = application;\n }", "@Singleton\n@Component(modules = {AppModule.class, ProviderModule.class})\npublic interface AppComponent {\n Retrofit provideRetrofit();\n BaseApplication providesApplication();\n\n}", "@Override\n\tpublic void initApplication(BBApplication app) {\n\t\tthis._application = app;\n\t}", "@Singleton\n@Component(modules = ApplicationModule.class)\npublic interface ApplicationComponent {\n\n @ApplicationContext\n Context context();\n\n void inject(ZoloApplication zoloApplication);\n\n DataManagerLogic datamangerLogic();\n\n Application application();\n\n}", "public interface MainApplication {\n\n Activity getCurrentActivity();\n\n Application getCurrentApplication();\n\n RxBus getEventBus();\n\n void teardownModule(Modules module);\n}", "public static App getInstance() {\n return applicationInstance;\n }", "@ForApplication\n@Component(modules = {AppModule.class, NetworkModule.class})\npublic interface AppComponent {\n Context appContext();\n Resources resources();\n PreferencesHelper preferencesHelper();\n void inject(NewsPresenter newsPresenter);\n void inject(FeedStorage feedStorage);\n}", "Builder fromApp(ApplicationId appId);", "public App() {\n initComponents();\n }", "public App() {\n initComponents();\n }", "public AuctionApp() {\r\n runAuctionApp();\r\n }", "public interface AppModule extends ApplicationModule {\n void fetchApplist(String flowCode);\n\n List serviceCustomerCall(List inputList, String method);\n\n void fetchApplistpartner(String flowCode);\n\n List updatePaymentDetailsInCRM(List inputList);\n \n void fetchErrorMessage(String errorCode);\n\n void initLpgDistVo(String ftlFlag, String zipcodeFilter);\n\n void fetchAppListLpgLogIn();\n\n void fetchAppListCustomerNonLogin(String pflowCode);\n\n\n List initiatePaymentDetails(List inputList);\n\n List callChartAsync(List inputList);\n\n void insertIntoRoLocator(List jsonArrayList);\n\n void insertVehicleTypeRecord(String count);\n\n void insertProfileEnrichInfo(String FirstName, String LastName, String EmailId, String MobileNo);\n\n void insertRetailEnrichInfo(String FirstName, String LastName, String EmailId, String MobileNo);\n\n void insertIntoAoLocator(List jsonArrayList);\n\n void insertIntoPartnerDistLocator(List jsonArrayList);\n\n void insertIntoPartnerStockLocator(List jsonArrayList);\n}", "@Provides\n @Singleton\n @ApplicationScope\n public Context provideApplicationContext() {\n return mApp.getApplicationContext();\n }", "public static void createApplicationComponent(ApplicationModule applicationModule) {\n if (instance().applicationComponent == null) {\n instance().applicationComponent = DaggerApplicationComponent.builder()\n .applicationModule(applicationModule)\n .apiModule(new ApiModule())\n .presenterModule(new PresenterModule())\n .utilModule(new UtilModule())\n .build();\n }\n }", "public AppModuleImpl() {\n }", "public AppModuleImpl() {\n }", "public MyDemoApplication(){\n\t\t//System.out.println(\"hi\");\n\t\t/*register(RequestContextFilter.class);\n\t\tregister(RestServiceUsingJersey.class);\n\t\tregister(ServiceYearImpl.class);\n\t\tregister(YearDaoImpl.class);\n\t\tregister(JacksonFeature.class);*/\n\t\t\n\t\t/**\n\t\t * Register JAX-RS application components.\n\t\t */\n\t\t\n\t\t\t\n\t packages(\"com.reporting.webapi\");\n\n\t\t\t// register features\n\t\t\tEncodingFilter.enableFor(this, GZipEncoder.class);\t\t\n\t\t\t\n\t\n\n\t}", "public static Application getInstance(){\n\t\treturn getInstance (null);\n\t}", "public static ApplicationBase getApplication()\r\n {\r\n if (instance == null)\r\n {\r\n throw new IllegalStateException(\"Micgwaf was not (yet) initialized correctly: no instance of Application is known.\");\r\n }\r\n return instance;\r\n }", "@Override\n protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {\n return builder.sources(HotspiceApplication.class);\n }", "@Singleton // Constraints this component to one-per-application or unscoped bindings.\n@Component(modules = ApplicationModule.class)\npublic interface ApplicationComponent {\n\n // Field injections of any dependencies of the DemoApplication\n void inject(FeelingApp application);\n\n //Exposed to sub-graphs.\n Application application();\n Context context();\n SessionManager<TwitterSession> sessionManager();\n Retrofit networkManager();\n ThreadExecutor threadExecutor();\n PostExecutionThread postExecutionThread();\n TweetCache tweetCache();\n TweetRepository tweetRepository();\n\n}", "public ApplicationCreator() {\n }", "@Override\n protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {\n return application.sources(DemowebosApplication.class);\n }", "@Singleton\n@Component(modules = {\n AndroidSupportInjectionModule.class /* it makes Dagger generates DaggerNannyApplicationComponent */,\n ApplicationBindingModule.class /* it generates AndroidInjector.Builder<MainActivity>, which\n is used to inject requested dependencies by MainActivity */\n})\npublic interface NannyApplicationComponent extends AndroidInjector<NannyApplication> {\n\n @Component.Builder /* Simply tells this Builder is DaggerNannyApplicationComponent’s inner Builder class */\n abstract class Builder extends AndroidInjector.Builder<NannyApplication> {\n }\n}", "@Override\n\tprotected SpringApplicationBuilder configure(SpringApplicationBuilder applicationBuilder){\n\t\treturn applicationBuilder.sources(Application.class);\n\t}", "@Component(modules = ApplicationModule.class)\npublic interface ApplicationComponent {\n\n Context getApplication();\n}", "@Singleton\n@Component(modules = {AndroidInjectionModule.class, ApplicationModule.class, ActivitiesModule.class, NetworkModule.class, DatabaseModule.class})\npublic interface ApplicationComponent {\n\n void inject(SchoolsApplication schoolsApplication);\n}", "public ChatbotAppController()\n\t{\n\t\tapplicationView = new ChatbotView(this);\n\t\tbaseFrame = new ChatbotFrame(this);\n\t\tmySillyChatbot = new Chatbot(\"Derf\");\n\t\tstartMessage = \"Welcome to the \" + mySillyChatbot.getName() + \" chatbot. What is your name?\";\n\t\tquitMessage = \"goodbye cruel user :(\";\n\t\tcontentMessages = \"That's really cool I love riding motorcycles too!\";\n\t}", "public ContextModule(final Application application) {\n this.application = application;\n }", "public Application getApp() {\n\t\treturn app;\n\t}", "public Application() {\n\t\tinitComponents();\n\t\tthis.service = new PacienteService();\n\t\tthis.AtualizarTabelaPacientes();\n\t\tthis.sexo = this.rd_nao_informado.getText();\n\t\tthis.cb_estados.setSelectedIndex(24);\n\t}", "@Singleton\n@Component(modules = {ContextModule.class, BusModule.class, GithubModule.class, GankModule.class, ZhiHuModule.class, RssModule.class})\npublic interface AppComponent {\n Context getContext();\n GankService getGankService();\n ZhiHuService getZhiHuService();\n RssService getRssService();\n EventBus getBus();\n}", "@Override\n protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {\n return application.sources(Application.class);\n }", "@Override\r\n\tprotected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {\n\t\treturn builder.sources(Application.class);\r\n\t}", "AdminApplication getApplication();", "@Singleton\n@Component(modules = {ApplicationModule.class, NetModule.class})\npublic interface ApplicationComponent {\n Realm realm();\n\n SharedPreferencesStore sharedPreferencesStore();\n\n Retrofit retrofit();\n\n void inject(MyApplication application);\n\n}", "public static LoganoApp getApplication() {\n return Application.getInstance(LoganoApp.class);\n }", "@Singleton\n@Component(modules = ApplicationModule.class)\npublic interface ApplicationComponent {\n\n void inject(MvpApp app);\n Application application();\n\n DataManager getDataManager();\n\n}", "@Component(modules = { ApplicationModule.class, SettingsDataModule.class, UserDataModule.class, RecipeDataModule.class })\n@ApplicationScope\npublic interface ApplicationComponent {\n\n void inject(HoppyApplication application);\n\n @ApplicationContext\n Context applicationContext();\n Navigator navigator();\n\n UserRepository userRepository();\n RecipeRepository recipeRepository();\n SettingsRepository settingsRepository();\n GetCurrentUserInteractor getCurrentUserInteractor();\n}", "public DefaultApplication() {\n\t}", "private void creatingMainElements() {\n MainActivityComponent component = DaggerMainActivityComponent.builder()\n .mainActivityModule(new MainActivityModule())\n .applicationComponent(ThePhoneBookApplication.get(this).getThePhoneBookApplicationComponent())\n .build();\n component.inject(this);\n }", "public CH340Application() {\n sContext = this;\n }", "void inject(FeelingApp application);", "@Singleton\n@Component(modules = {ApplicationModule.class, NetWorkModule.class})\npublic interface ApplicationComponent {\n\n Application getApplication();\n\n NetworkApi getNetworkApi();\n\n}", "@Singleton\n@Component(modules = AppModule.class)\npublic interface AppComponent {\n\n @ContextLife(\"Application\")\n App getContext(); // 提供App的Context\n\n RetrofitHelper retrofitHelper(); //提供http的帮助类\n\n}", "public static GretellaApp getApplication() {\n return Application.getInstance(GretellaApp.class);\n }", "@Singleton\n@Component(modules = {AppModule.class, RetrofitModule.class})\npublic interface AppComponent {\n Context getContext();\n KyApiService getKyApiService();\n WyApiService getWyApiService();\n OpApiService getOpApiService();\n ToutiaoVideoApiService getToutiaoVideoApiService();\n LiveApiService getLiveApiService();\n CloudMusicApiService getCloudMusicApiService();\n}", "public static BlaiseGraphicsTestApp getApplication() {\n return Application.getInstance(BlaiseGraphicsTestApp.class);\n }", "@ApplicationScope\n@Component(modules = {ContextModule.class,ServiceModule.class}) // tell which modules to use in order to generate this instance\npublic interface ApplicationComponent {\n\n\n\n SharedPreferencesClass getSharedPrefs();\n\n RequestManager getGlide();\n\n void injectRepo(ProjectRepository repository);\n\n}", "public SpringApplicationTemplate(SpringApplicationBuilder builder) {\n\t\tthis.builder = builder;\n\t}", "@Singleton\n@Component( modules = ApplicationModule.class)\npublic interface ApplicationComponent {\n\n //Exposed to sub-graphs\n Context context();\n\n ThreadExecutor threadExecutor();\n\n PostExecutionThread postExecutionThread();\n\n ObserverController observerController();\n\n Bundle parametersFactory();\n\n void inject(DevxitActivityDelegateImpl<DevxitView, DevxitPresenter<DevxitView>> devxitActivityDelegate);\n}", "@Override\n protected void configure() {\n bind(ApplicationContext.class).toInstance(ctxt);\n }", "@Override\n\tprotected SpringApplicationBuilder configure(SpringApplicationBuilder application) {\n\n\t\treturn application.sources(PatyalApplication.class);\n\t}", "public void setMainApp(MainApp mainApp);", "public TApplication getApplication() {\n return window.getApplication();\n }", "void inject(BaseApplication application);", "public interface ApplicationService {\n ResourceList build(CloudBlueprint cloudBlueprint);\n List<Server> getServers(String environment);\n Map<String, JsonBall> getServerDetail(String serverName);\n}", "public ParkingApp() {\n runApp();\n }", "@Override\n protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {\n return builder.sources(EasyCodeApplication.class);\n }", "public static Application getApp() {\n if (sApplication != null) {\n return sApplication;\n }\n Application app = getApplicationByReflect();\n init(app);\n return app;\n }", "public String getApplication() {\r\n return application;\r\n }", "public MainApp() {\n initComponents();\n }", "@Singleton\n@Component(modules = AppModule.class)\npublic interface AppComponent {\n\n GeekZoneApplication getApplication();\n\n LocalDataSourceManager getLocalDataSourceManager();\n\n RemoteDataSourceManager getRemoteDataSourceManager();\n}", "public static interface ApplicationManager {\n\n /**\n * <pre>\n * Applications should first be registered to the Handler with the `RegisterApplication` method\n * </pre>\n */\n public void registerApplication(org.thethingsnetwork.management.proto.HandlerOuterClass.ApplicationIdentifier request,\n io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver);\n\n /**\n * <pre>\n * GetApplication returns the application with the given identifier (app_id)\n * </pre>\n */\n public void getApplication(org.thethingsnetwork.management.proto.HandlerOuterClass.ApplicationIdentifier request,\n io.grpc.stub.StreamObserver<org.thethingsnetwork.management.proto.HandlerOuterClass.Application> responseObserver);\n\n /**\n * <pre>\n * SetApplication updates the settings for the application. All fields must be supplied.\n * </pre>\n */\n public void setApplication(org.thethingsnetwork.management.proto.HandlerOuterClass.Application request,\n io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver);\n\n /**\n * <pre>\n * DeleteApplication deletes the application with the given identifier (app_id)\n * </pre>\n */\n public void deleteApplication(org.thethingsnetwork.management.proto.HandlerOuterClass.ApplicationIdentifier request,\n io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver);\n\n /**\n * <pre>\n * GetDevice returns the device with the given identifier (app_id and dev_id)\n * </pre>\n */\n public void getDevice(org.thethingsnetwork.management.proto.HandlerOuterClass.DeviceIdentifier request,\n io.grpc.stub.StreamObserver<org.thethingsnetwork.management.proto.HandlerOuterClass.Device> responseObserver);\n\n /**\n * <pre>\n * SetDevice creates or updates a device. All fields must be supplied.\n * </pre>\n */\n public void setDevice(org.thethingsnetwork.management.proto.HandlerOuterClass.Device request,\n io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver);\n\n /**\n * <pre>\n * DeleteDevice deletes the device with the given identifier (app_id and dev_id)\n * </pre>\n */\n public void deleteDevice(org.thethingsnetwork.management.proto.HandlerOuterClass.DeviceIdentifier request,\n io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver);\n\n /**\n * <pre>\n * GetDevicesForApplication returns all devices that belong to the application with the given identifier (app_id)\n * </pre>\n */\n public void getDevicesForApplication(org.thethingsnetwork.management.proto.HandlerOuterClass.ApplicationIdentifier request,\n io.grpc.stub.StreamObserver<org.thethingsnetwork.management.proto.HandlerOuterClass.DeviceList> responseObserver);\n\n /**\n * <pre>\n * DryUplink simulates processing a downlink message and returns the result\n * </pre>\n */\n public void dryDownlink(org.thethingsnetwork.management.proto.HandlerOuterClass.DryDownlinkMessage request,\n io.grpc.stub.StreamObserver<org.thethingsnetwork.management.proto.HandlerOuterClass.DryDownlinkResult> responseObserver);\n\n /**\n * <pre>\n * DryUplink simulates processing an uplink message and returns the result\n * </pre>\n */\n public void dryUplink(org.thethingsnetwork.management.proto.HandlerOuterClass.DryUplinkMessage request,\n io.grpc.stub.StreamObserver<org.thethingsnetwork.management.proto.HandlerOuterClass.DryUplinkResult> responseObserver);\n\n /**\n * <pre>\n * SimulateUplink simulates an uplink message\n * </pre>\n */\n public void simulateUplink(org.thethingsnetwork.management.proto.HandlerOuterClass.SimulatedUplinkMessage request,\n io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver);\n }", "@Override\n public void onCreate() {\n super.onCreate();\n application = this;\n }", "public RestApplication() {\n\t\tsingletons.add(new UtilResource());\n\t\tsingletons.add(new StudentResource());\n\t}", "public static RestaurantManagementApp getApplication() {\n return Application.getInstance(RestaurantManagementApp.class);\n }", "private void setup(){\n\n // menginisialisasi variabel component\n component = DaggerApplicationComponent.builder()\n .applicationModule(new ApplicationModule(this)).build();\n\n // memanggil fungsi inject\n component.inject(this);\n }", "public HRServiceAppModuleImpl() {\n }", "public static Context getAppContext() {\n return _BaseApplication.context;\n }", "public ClientApp()\n\t{\n\t\tinitComponents();\n\t\tafterInitComponents();\n\t}", "public interface ApplicationService {\n\tOptional<App> getAppByName(String name);\n\n\tOptional<App> getAppByType(String type);\n\n\tApp create(AppCreateForm form);\n}" ]
[ "0.70833534", "0.70358527", "0.68466246", "0.6791559", "0.6784482", "0.66878515", "0.6673714", "0.66502964", "0.66289157", "0.6620026", "0.6572947", "0.65691423", "0.65409005", "0.6505239", "0.6503278", "0.64019614", "0.640113", "0.6386187", "0.63840437", "0.6357039", "0.63561165", "0.6318291", "0.6289937", "0.62849134", "0.6280584", "0.626445", "0.62635463", "0.6261427", "0.62470394", "0.6220222", "0.6215115", "0.62107295", "0.6188419", "0.61645955", "0.61549294", "0.6141674", "0.6128388", "0.6128388", "0.6117433", "0.61052537", "0.6103092", "0.6086484", "0.6085766", "0.6085766", "0.60844344", "0.60742414", "0.6071958", "0.6066862", "0.6062881", "0.60360795", "0.6019924", "0.60177547", "0.59809756", "0.59654635", "0.59487647", "0.5947185", "0.5926261", "0.5920771", "0.59182703", "0.59141445", "0.59124756", "0.5911759", "0.590661", "0.59065145", "0.5896947", "0.589166", "0.58880866", "0.5883102", "0.5878807", "0.5871347", "0.5861138", "0.58550125", "0.58542573", "0.5848678", "0.5848169", "0.5844845", "0.5844694", "0.5823866", "0.5814362", "0.5812834", "0.5806572", "0.5798128", "0.5794565", "0.578732", "0.5786791", "0.57801634", "0.5759257", "0.57537687", "0.5752815", "0.57404536", "0.5729601", "0.5709768", "0.570366", "0.56936586", "0.56898445", "0.5674743", "0.5674513", "0.56682736", "0.5665973", "0.5655475" ]
0.6758201
5
/ This is our Application class
void inject(BaseApplication application);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Application getApplication();", "public App() {\n\t\tLog.d(\"App\", \"App created\");\n\t\tinstance = this;\n\t}", "public DefaultApplication() {\n\t}", "public MTApplication(){\r\n\t\tsuper();\r\n\t}", "public BazaarApplicationImpl() {\r\n\t\tsuper();\r\n\r\n\t}", "public void setApp(Main application) { this.application = application;}", "public static Application getInstance(){\n\t\treturn getInstance (null);\n\t}", "public AuctionApp() {\r\n runAuctionApp();\r\n }", "protected Application getApplication() {\r\n\t\treturn application;\r\n\t}", "public void startApp()\r\n\t{\n\t}", "public ParkingApp() {\n runApp();\n }", "public MainApp() {\r\n\t\tsuper();\r\n\t\tthis.setSize(642, 455);\r\n\t\tthis.setContentPane(getJContentPane());\r\n\t}", "@Override\n protected void appStart() {\n }", "public MyDemoApplication(){\n\t\t//System.out.println(\"hi\");\n\t\t/*register(RequestContextFilter.class);\n\t\tregister(RestServiceUsingJersey.class);\n\t\tregister(ServiceYearImpl.class);\n\t\tregister(YearDaoImpl.class);\n\t\tregister(JacksonFeature.class);*/\n\t\t\n\t\t/**\n\t\t * Register JAX-RS application components.\n\t\t */\n\t\t\n\t\t\t\n\t packages(\"com.reporting.webapi\");\n\n\t\t\t// register features\n\t\t\tEncodingFilter.enableFor(this, GZipEncoder.class);\t\t\n\t\t\t\n\t\n\n\t}", "private SudokuSolverApplication() {\n\t}", "public RestApplication() {\n\t\tsingletons.add(new UtilResource());\n\t\tsingletons.add(new StudentResource());\n\t}", "public ApplicationCreator() {\n }", "public ChatbotAppController()\n\t{\n\t\tapplicationView = new ChatbotView(this);\n\t\tbaseFrame = new ChatbotFrame(this);\n\t\tmySillyChatbot = new Chatbot(\"Derf\");\n\t\tstartMessage = \"Welcome to the \" + mySillyChatbot.getName() + \" chatbot. What is your name?\";\n\t\tquitMessage = \"goodbye cruel user :(\";\n\t\tcontentMessages = \"That's really cool I love riding motorcycles too!\";\n\t}", "public Main() {\r\n\t\tsuper();\r\n\t\tinitialize();\r\n\r\n\t}", "public Application() {\n\t\tinitComponents();\n\t\tthis.service = new PacienteService();\n\t\tthis.AtualizarTabelaPacientes();\n\t\tthis.sexo = this.rd_nao_informado.getText();\n\t\tthis.cb_estados.setSelectedIndex(24);\n\t}", "public static App getInstance() {\n return applicationInstance;\n }", "private final static Application getInstance(String[] args){\n\t\tif (instance == null){\n\t\t\t//istanziazione lazy\n\t\t\tinstance = new Application(args);\n\t\t\t\n\t\t\t//istanzia la finestra principale dell'interfaccia\n\t\t\tinstance.mainForm = new MainForm(instance);\n\t\t\t\n\t\t\t//registra la finestra principale su Application per le notoifiche\n\t\t\tinstance.addObserver (instance.mainForm);\n\t\t\t\n\t\t\t//prepara il timer per la notifica del progressing dell'avanzamento\n\t\t\tActionListener timerActionPerformer = new ActionListener (){\n\t\t\t\t/**\n\t\t\t\t * Gestisce evento timer.\n\t\t\t\t */\n\t\t\t\tpublic void actionPerformed (ActionEvent ae){\n\t\t\t\t\tinstance.setChanged ();\n\t\t\t\t\t//notifica l'avanzamento\n\t\t\t\t\tinstance.notifyObservers (ObserverCodes.CURRENT_PROGRESS_TIC);\n\t\t\t\t}\n\t\t\t};\n\t\t\tinstance.timer = new javax.swing.Timer (1000, timerActionPerformer);\n\t\t\tinstance.timer.stop();\n\t\t}\n\t\treturn instance; \n\t}", "public CH340Application() {\n sContext = this;\n }", "public static BlaiseGraphicsTestApp getApplication() {\n return Application.getInstance(BlaiseGraphicsTestApp.class);\n }", "public void setApp(Main application){\n this.application = application;\n }", "private Main() {\n\n super();\n }", "@Override\n public void run(ApplicationArguments args) {\n }", "public static ApplicationBase getApplication()\r\n {\r\n if (instance == null)\r\n {\r\n throw new IllegalStateException(\"Micgwaf was not (yet) initialized correctly: no instance of Application is known.\");\r\n }\r\n return instance;\r\n }", "@Override public void run(ApplicationArguments args) {\n }", "public static void main(String[] args) {\n // Start App\n EventQueue.invokeLater(new Runnable() {\n @Override\n public void run() { new App(); }\n });\n }", "public static void main(String arg[]) {\n\n\t\tUtility.runApplication();\n\t}", "public static void main(String[] args) {\n startApplication();\n }", "public ApplicationTest() {\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}", "public App() {\n initComponents();\n }", "public App() {\n initComponents();\n }", "@Override\n public void onCreate() {\n super.onCreate();\n application = this;\n }", "public MainApp() {\n initComponents();\n }", "public Application(AppQueue event_q)\r\n {\r\n this.event_q = event_q;\r\n flag = true;\r\n }", "@Override\n\tpublic void initApplication(BBApplication app) {\n\t\tthis._application = app;\n\t}", "public static void main(String[] args) {\n\t\trunApplication();\n\t}", "protected StreamsApp() {\n this.streamsConfig = new KafkaStreamsConfig().fromConfig(config);\n this.rocksDbReporter = new RocksDbMetricsReporter(this);\n }", "public static LoganoApp getApplication() {\n return Application.getInstance(LoganoApp.class);\n }", "public static void main(String[] args){\n // app.run(args);\r\n new SpringApplicationBuilder(MainApplication.class).web(true).run(args);\r\n }", "public Application()\r\n {\r\n pSlot = new ParkingSlot();\r\n cPark = new CarPark();\r\n }", "public Launcher()\n {\n // Loading (or creating) the preferences file\n // TODO: handle read/create file failed (maybe with an error popup?)\n boolean settingsLoaded = settings.checkAndLoad();\n\n if (!settingsLoaded) {\n System.exit(-10);\n }\n\n LoginController loginController = configureController(new LoginController());\n configureController(new ContactsController());\n configureController(new ConversationsController());\n\n /**\n * --------------------------\n * Event listeners\n * --------------------------\n */\n eventManager.attach(MvcEvent.WINDOW_CLOSING, new SaveOnExitListener());\n\n\n /**\n * --------------------------\n * Running the application\n * --------------------------\n */\n loginController.displayLogin();\n }", "public static void main ( String[] args ) {\n PhoneBook myApp = new PhoneBook(); \r\n }", "public static GretellaApp getApplication() {\n return Application.getInstance(GretellaApp.class);\n }", "public void setMainApp(MainApp mainApp);", "public interface MainApplication {\n\n Activity getCurrentActivity();\n\n Application getCurrentApplication();\n\n RxBus getEventBus();\n\n void teardownModule(Modules module);\n}", "public MyApp() {\n sContext = this;\n }", "public TApplication getApplication() {\n return window.getApplication();\n }", "public static void main(String[] args) {\n\t\tnew App();\r\n\t}", "public interface App {\n\tpublic static final int FULL_DATA_SIZE = 1460;\n\tpublic static final int TRAINING_BATCH_SIZE = 128;\n\t/** Data used to train and build the network. */\n\tpublic static final String TRAINING_INPUTS_PATH = \"./data/train.csv\";\n\t/** Path to write out data to after spark preprocessing */\n\tpublic static final String TRAINING_SPARK_RESULTS_PATH = \"./data/trainSparkResult\";\n\t/** Data used to generate predictions to submit to kaggle */\n\tpublic static final String SUBMISSION_INPUTS_PATH = \"./data/test.csv\";\n\t/** Path to write out data to after spark preprocessing */\n\tpublic static final String SUBMISSION_SPARK_RESULTS_PATH = \"./data/submissionSparkResult\";\n\n\tpublic abstract void run();\n}", "public void setApp(MainFXApplication main) {\n mainApplication = main;\n database = mainApplication.getUsers();\n\n }", "public void run() {\n final Server server = new Server(8081);\n\n // Setup the basic RestApplication \"context\" at \"/\".\n // This is also known as the handler tree (in Jetty speak).\n final ServletContextHandler context = new ServletContextHandler(\n server, CONTEXT_ROOT);\n final ServletHolder restEasyServlet = new ServletHolder(\n new HttpServletDispatcher());\n restEasyServlet.setInitParameter(\"resteasy.servlet.mapping.prefix\",\n APPLICATION_PATH);\n restEasyServlet.setInitParameter(\"javax.ws.rs.Application\",\n \"de.kad.intech4.djservice.RestApplication\");\n context.addServlet(restEasyServlet, CONTEXT_ROOT);\n\n\n try {\n server.start();\n server.join();\n } catch (Exception e) {\n e.printStackTrace();\n }\n\n }", "public static void main(String[] args) {\n Application.launch(App.class, args);\n }", "public static void main(String args[]){\n\n createConnection();\n\n if (conn == null) {\n System.err.println(\"Failed to establish connection!\");\n }\n\n new App();\n\n }", "public MainGUI() {\n\t\tString xmlpath = \"classpath:applicationContext.xml\";\n\t\tApplicationContext applicationContext = new ClassPathXmlApplicationContext(xmlpath);\n\t\t\n\t\tcenter = (CenterController)applicationContext.getBean(\"CenterController\");\n\t\t\n\t\tinitialize();\n\t\t\n\t}", "public static void main(String[] args){\n\n MyApp myApp = new MyApp(); //1\n myApp.runMyApp(); //2\n System.out.println(\"End of Program\"); //3\n }", "@Override\n public void enterApplication(final ProgramParser.ApplicationContext ctx) {\n }", "protected void onAfterCreateApplication() {\n\n\t}", "Main ()\n\t{\n\t\tview = new View ();\t\t\n\t\tmodel = new Model(view);\n\t\tcontroller = new Controller(model, view);\n\t}", "public PSFUDApplication()\n {\n loadSnapshot();\n }", "public Application()\n {\n newsFeed = new NewsFeed();\n test = new Test();\n \n makeDummies();\n display();\n displayShortSummary();\n runTest();\n }", "private void initializeBoundary() {\n\t\tapp = new Application(model);\n\t}", "public static void main(String[] args) {\n new MyApp();\n }", "@Override\n\t public void run(ApplicationArguments args) throws Exception {\n\n\t }", "public static void main(String[] args) {\r\n \t\r\n // Creates new controller named the main controller\r\n GlobalResources.MainControl = new Control();\r\n // Starts main application\r\n GlobalResources.MainControl.StartApplication();\r\n }", "private ApplicationContext()\n\t{\n\t}", "public Main() {\n\t\tsuper();\n\t}", "private Main ()\n {\n super ();\n }", "public static void main(final String... args) {\n\n Application.launch();\n }", "public Application getApplication() {\n return (Application)this.getSource();\n }", "public static Application getApp() {\n if (sApplication != null) {\n return sApplication;\n }\n Application app = getApplicationByReflect();\n init(app);\n return app;\n }", "public Application getApp() {\n\t\treturn app;\n\t}", "public String getApplication() {\r\n return application;\r\n }", "public static FoodApplication getInstance() {\n return instance;\n }", "public ClientApp()\n\t{\n\t\tinitComponents();\n\t\tafterInitComponents();\n\t}", "public AppManager() {\n /** have a parking lot operator */\n ParkingLotOperatorInstance = new ParkingLotOperator();\n OperatorThread = new Thread(ParkingLotOperatorInstance);\n OperatorThread.start();\n ParkingLotOperatorInstance.startParkingLot();\n\n /** graceful shutdown */\n Runtime.getRuntime().addShutdownHook(new ProcessorHook());\n }", "public interface Application {\n /**\n * Initializes resources used by the Application.\n *\n * @param config the application's configuration object\n */\n public void init(ApplicationConfig config) throws ServletException;\n \n /**\n * Called by the TeaServlet when the application is no longer needed.\n */\n public void destroy();\n\n /**\n * Creates a context, which defines functions that are callable by\n * templates. Any public method in the context is a callable function,\n * except methods defined in Object. A context may receive a request and\n * response, but it doesn't need to use any of them. They are provided only\n * in the event that a function needs access to these objects.\n * <p>\n * Unless the getContextType method returns null, the createContext method\n * is called once for every request to the TeaServlet, so context creation\n * should have a fairly quick initialization. One way of accomplishing this\n * is to return the same context instance each time. The drawback to this\n * technique is that functions will not be able to access the current\n * request and response.\n * <p>\n * The recommended technique is to construct a new context that simply\n * references this Application and any of the passed in parameters. This\n * way, the Application contains all the resources and \"business logic\",\n * and the context just provides templates access to it.\n *\n * @param request the client's HTTP request\n * @param response the client's HTTP response\n * @return an object context for the templates\n */\n public Object createContext(ApplicationRequest request,\n ApplicationResponse response);\n\n /**\n * The class of the object that the createContext method will return, which\n * does not need to implement any special interface or extend any special\n * class. Returning null indicates that this Application defines no\n * context, and createContext will never be called.\n *\n * @return the class that the createContext method will return\n */\n public Class getContextType();\n}", "public static void main(String args[]) {\n\t\tSwingUtilities.invokeLater(new Runnable() {\n\t\t\tpublic void run() {\n\t\t\t\tnew AppStarter();\n\t\t\t}\n\t\t});\t\n\t}", "public MainEntryPoint() {\r\n\r\n }", "public static void main(String[] args) {\r\n\t\t/* application object */\r\n\t\tCustomersApp myAp = new CustomersApp();\r\n\t\t/* run the application */\r\n\t\tmyAp.run();\r\n\t\t\r\n\t}", "public String getApplication() {\r\n\t\treturn application;\r\n\t}", "public StockApp()\n {\n reader = new InputReader();\n manager = new StockManager();\n menuSetup();\n }", "public MauiApplication getApplication ()\n\t{\n\t\treturn application;\n\t}", "public static void main(String args[]){\r\n Application theApp = new Application();\r\n theApp.createAccounts();\r\n theApp.processAccounts();\r\n theApp.outputAccounts();\r\n\r\n }", "public void initializer() {\r\n runLater(() -> this.main = new ApplicationMain(handler));\r\n }", "public static Application getApp() {\n if (sApplication != null) return sApplication;\n throw new NullPointerException(\"u should init first\");\n }", "public JFrameApp() {\n initComponents();\n }", "public static void main(String[] args) {\n\n Application.launch(args);\n }", "protected WebApplication newApplication() {\n return new DummyWebApplication();\n }", "public Main() {\n\t\tsuper();\n\t\tInitScreen screen = new InitScreen();\n\t\tpushScreen(screen);\n\t\tUiApplication.getUiApplication().repaint();\n\t}", "private SingletonApp( Context context ) {\n mMB = MessageBroker.getInstance( context );\n }", "public static FFTApp getApplication() {\n return Application.getInstance(FFTApp.class);\n }", "@Override\n\tpublic void init() throws Exception {\n //the code present in this method is executed as soon as the application loads that is even before it starts\n\t\tsuper.init(); //super keyword invokes the init methods as per the definition in the Application class\n \n\t}", "@Provides\n @Singleton\n Application providesApplication() {\n return mApplication;\n }", "public static void main(String[] args) {\n App.main(args);\n }", "public ToDoListApp() {\n runToDoList();\n }", "public static void main(String[] args) {\n\n SpringApplication.run(Application.class, args);\n // AnnotationConfigApplicationContext ctx = new AnnotationConfigApplicationContext();\n }", "public void startup(){}" ]
[ "0.73404413", "0.72447836", "0.721458", "0.7197921", "0.71732295", "0.7068219", "0.70085007", "0.6898877", "0.68368703", "0.6704236", "0.662496", "0.6607684", "0.6589939", "0.6543325", "0.653139", "0.6529293", "0.65285426", "0.6526716", "0.64506346", "0.6445167", "0.6444349", "0.64433056", "0.64349777", "0.6433021", "0.64162666", "0.64158607", "0.6407191", "0.6406481", "0.6384899", "0.63764", "0.63743293", "0.63607925", "0.63580596", "0.6310425", "0.6310425", "0.63059974", "0.6287208", "0.6279809", "0.62668735", "0.6264642", "0.62575865", "0.6236427", "0.6221933", "0.6212489", "0.61974806", "0.61953956", "0.61851734", "0.61830133", "0.61758494", "0.6173999", "0.61731106", "0.61620253", "0.61481065", "0.61351943", "0.6129896", "0.61297727", "0.61258954", "0.61213386", "0.61109394", "0.6097937", "0.6089539", "0.60775995", "0.60752976", "0.6072764", "0.60620785", "0.60583717", "0.60557175", "0.6054859", "0.60514975", "0.6046436", "0.6045775", "0.60371673", "0.6029662", "0.6019167", "0.6019101", "0.6018641", "0.60170233", "0.6012367", "0.60013425", "0.5986681", "0.59865564", "0.59853965", "0.59823406", "0.59710824", "0.5969161", "0.59639716", "0.5952543", "0.59518635", "0.5943975", "0.59430283", "0.5939069", "0.59362936", "0.5935734", "0.5934515", "0.5929282", "0.5918523", "0.5916578", "0.5912186", "0.59087884", "0.59002227", "0.5898001" ]
0.0
-1
/ F4 The system shall determine the remaining useful life using different models.
@Test public void f4RULModelsTest() { //Parts of this test uses f12 (Associate asset type) //Go to first asset clickOn("#thumbnailTab"); FlowPane root = (FlowPane) scene.getRoot().lookup("#assetsThumbPane"); clickOn(root.getChildren().get(0)).sleep(1000); clickOn("#modelOutput").sleep(3000); Text firstModel = (Text) scene.getRoot().lookup("#modelOutput"); String modelBefore = firstModel.getText(); //Go to asset type info clickOn("#assetTypeMenuBtn").sleep(2000); //select first asset type Node node = lookup("#columnName").nth(1).query(); clickOn(node).sleep(1000); clickOn("#associatedModelLabel").sleep(1000); //go to model tab clickOn(scene.getRoot().lookup("#modelTab")).sleep(1000); FlowPane models = (FlowPane) scene.getRoot().lookup("#modelsThumbPane"); //change to LSTM clickOn(models.getChildren().get(1)).sleep(1000); clickOn("#modelSaveBtn").sleep(1000); //Go back to first asset to check the model again clickOn("#assetMenuBtn").sleep(1000); clickOn("#thumbnailTab").sleep(1000); root = (FlowPane) scene.getRoot().lookup("#assetsThumbPane"); //Check that the model of first asset changed clickOn(root.getChildren().get(0)).sleep(1000); clickOn("#modelOutput").sleep(3000); Text secondModel = (Text) scene.getRoot().lookup("#modelOutput"); String modelAfter = secondModel.getText(); assertNotSame("Models should be different after updating", modelBefore, modelAfter); clickOn("#backBtn").sleep(2000); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void cmdInfoModel() throws NoSystemException {\n MSystem system = system();\n MMVisitor v = new MMPrintVisitor(new PrintWriter(System.out, true));\n system.model().processWithVisitor(v);\n int numObjects = system.state().allObjects().size();\n System.out.println(numObjects + \" object\"\n + ((numObjects == 1) ? \"\" : \"s\") + \" total in current state.\");\n }", "private int FindGold() {\n VuforiaLocalizer vuforia;\n\n /**\n * {@link #tfod} is the variable we will use to store our instance of the Tensor Flow Object\n * Detection engine.\n */\n TFObjectDetector tfod;\n \n VuforiaLocalizer.Parameters parameters = new VuforiaLocalizer.Parameters();\n\n parameters.vuforiaLicenseKey = VUFORIA_KEY;\n parameters.cameraDirection = CameraDirection.BACK;\n\n // Instantiate the Vuforia engine\n vuforia = ClassFactory.getInstance().createVuforia(parameters);\n\n // Loading trackables is not necessary for the Tensor Flow Object Detection engine.\n \n\n /**\n * Initialize the Tensor Flow Object Detection engine.\n */\n if (ClassFactory.getInstance().canCreateTFObjectDetector()) {\n int tfodMonitorViewId = hardwareMap.appContext.getResources().getIdentifier(\n \"tfodMonitorViewId\", \"id\", hardwareMap.appContext.getPackageName());\n TFObjectDetector.Parameters tfodParameters = new TFObjectDetector.Parameters(tfodMonitorViewId);\n tfod = ClassFactory.getInstance().createTFObjectDetector(tfodParameters, vuforia);\n tfod.loadModelFromAsset(TFOD_MODEL_ASSET, LABEL_GOLD_MINERAL, LABEL_SILVER_MINERAL);\n tfod.activate();\n } else {\n telemetry.addData(\"Sorry!\", \"This device is not compatible with TFOD\");\n return 3;\n }\n\n int Npos1=0;\n int Npos2=0;\n int Npos3=0;\n int NposSilver1=0;\n int NposSilver2=0;\n int NposSilver3=0;\n double t_start = getRuntime();\n\n\n while (opModeIsActive()) {\n \n if( (getRuntime() - t_start ) > 3.5) break;\n if (Npos1 >=5 || Npos2>=5 || Npos3>=5)break;\n if (NposSilver1>=5 && NposSilver2>=5)break;\n if (NposSilver2>=5 && NposSilver3>=5)break;\n if (NposSilver1>=5 && NposSilver3>=5)break;\n if (tfod != null) {\n // getUpdatedRecognitions() will return null if no new information is available since\n // the last time that call was made.\n List<Recognition> updatedRecognitions = tfod.getUpdatedRecognitions();\n if (updatedRecognitions != null) {\n //telemetry.addData(\"# Object Detected\", updatedRecognitions.size());\n //if (updatedRecognitions.size() == 3) {\n int goldMineralX = -1;\n int silverMineralX = -1;\n for (Recognition recognition : updatedRecognitions) {\n if (recognition.getLabel().equals(LABEL_GOLD_MINERAL)) {\n goldMineralX = (int) recognition.getLeft();\n telemetry.addData(\"gold position\", goldMineralX);\n if(goldMineralX<300) {\n Npos1++;\n telemetry.addData(\"loc\", 1);\n }else if(goldMineralX<800){\n Npos2++;\n telemetry.addData(\"loc\", 2);\n }else{\n Npos3++;\n telemetry.addData(\"loc\", 3);\n }\n } \n \n if (recognition.getLabel().equals(LABEL_SILVER_MINERAL)) {\n silverMineralX = (int) recognition.getLeft();\n telemetry.addData(\"silver position\", silverMineralX);\n if(silverMineralX<300) {\n NposSilver1++;\n telemetry.addData(\"loc\", 1);\n }else if(silverMineralX<300){\n NposSilver2++;\n telemetry.addData(\"loc\", 2);\n }else{\n NposSilver3++;\n telemetry.addData(\"loc\", 3);\n }\n } \n }\n telemetry.update();\n }\n }\n }\n\n\n if (tfod != null) {\n tfod.shutdown();\n }\n \n \n \n telemetry.addData(\"\", 2);\n \n if (Npos1>=5)return 1;\n if (Npos2>=5)return 2;\n if (Npos3>=5)return 3;\n if (NposSilver1>=5 && NposSilver2>=5)return 3;\n if (NposSilver2>=5 && NposSilver3>=5)return 1; \n if (NposSilver1>=5 && NposSilver3>=5)return 2;\n\n return 3;\n }", "public void model() \n\t{\n\t\t\n\t\ttry \n\t\t{\n\t\t GRBEnv env = new GRBEnv();\n\t\t GRBModel model = new GRBModel(env, \"resources/students.lp\");\n\n\t\t model.optimize();\n\n\t\t int optimstatus = model.get(GRB.IntAttr.Status);\n\n\t\t if (optimstatus == GRB.Status.INF_OR_UNBD) {\n\t\t model.getEnv().set(GRB.IntParam.Presolve, 0);\n\t\t model.optimize();\n\t\t optimstatus = model.get(GRB.IntAttr.Status);\n\t\t }\n\n\t\t if (optimstatus == GRB.Status.OPTIMAL) {\n\t\t double objval = model.get(GRB.DoubleAttr.ObjVal);\n\t\t System.out.println(\"Optimal objective: \" + objval);\n\t\t } else if (optimstatus == GRB.Status.INFEASIBLE) {\n\t\t System.out.println(\"Model is infeasible\");\n\n\t\t // Compute and write out IIS\n\t\t model.computeIIS();\n\t\t model.write(\"model.ilp\");\n\t\t } else if (optimstatus == GRB.Status.UNBOUNDED) {\n\t\t System.out.println(\"Model is unbounded\");\n\t\t } else {\n\t\t System.out.println(\"Optimization was stopped with status = \"\n\t\t + optimstatus);\n\t\t }\n\n\t\t // Dispose of model and environment\n\t\t model.write(\"resources/model.sol\");\n\t\t model.dispose();\n\t\t env.dispose();\n\n\t\t } catch (GRBException e) {\n\t\t System.out.println(\"Error code: \" + e.getErrorCode() + \". \" +\n\t\t e.getMessage());\n\t\t }\n\t\t\n\t}", "public ME_Model() {\n _nheldout = 0;\n _early_stopping_n = 0;\n _ref_modelp = null;\n }", "void find_steady_conditions () {\n // System.out.println(\"-- find_steady_conditions: \" + can_do_gui_updates);\n // double min_lift = parse_force_constraint(tf_tkoff_min_lift);\n double max_drag = parse_force_constraint(tf_tkoff_max_drag);\n boolean saved_flag = can_do_gui_updates;\n can_do_gui_updates = false;\n vpp.steady_flight_at_given_speed(5, 0);\n can_do_gui_updates = saved_flag;\n recomp_all_parts();\n\n\n // this animation idea alas does not work now... \n // //add a bit of animation in case the rider crosses the takeoff speed.\n // if (alt_val == 0 && foil_lift() >= load) { // need to raise up\n // while (alt_val < 70 && foil_lift() >= load) {\n // alt_val += 0.1;\n // loadPanel();\n // viewer.repaint();\n // // try { Thread.sleep(100); } catch (InterruptedException e) {}\n // saved_flag = can_do_gui_updates;\n // can_do_gui_updates = false;\n // vpp.steady_flight_at_given_speed(5, 0);\n // can_do_gui_updates = saved_flag;\n // }\n // }\n\n if (alt_val == 0 && foil_lift() >= load) { // need to raise up\n // viewer.start_raise = true; // this is experimentsl, has quirks....\n alt_val = 70;\n } else if (alt_val > 0 && foil_lift() < load) { // must splash\n // viewer.start_descend = true; // this is experimentsl, has quirks....\n alt_val = 0;\n }\n\n \n loadPanel();\n if (total_drag() > max_drag) \n dash.outTotalDrag.setForeground(Color.red);\n if (foil_lift() < load) \n dash.outTotalLift.setForeground(Color.red);\n }", "public FighterLife life();", "@Override\n\tpublic float desireability() {\n\t\tAgentSpace agentSpace = Blackboard.inst().getSpace(AgentSpace.class, _obj.getName());\n\t\tMap<String,FoodEntry> map = agentSpace.getScentMemories().getFirst();\n\t\tif (map == null || map.size() == 0) { \n\t\t\t// we don't smell anything\n\t\t\treturn 0;\n\t\t}\n\t\t\n\t\tAgentSpace space = Blackboard.inst().getSpace(AgentSpace.class, _obj.getName());\n\t\tBoundedEntry bounded = space.getBounded(Variable.energy);\n\t\tfloat pct = bounded.getValue() / bounded.getMax();\n\t\treturn 1 - (pct*pct);\n\t}", "public void update()\n\t{\n\t\t//\tTHE WORLD HAS ENDED DO NOT EXECUTE FURTHER\n\t\tif( end )\n\t\t{\n\t\t\tsafeEnd = true;\n\t\t\treturn;\n\t\t}\n\n\t\t//Plot graphics\n\t\tif(plot){\n\t\t\thealthyFunction.show(infectedFunction, healthyFunction);\n\t\t\tbusFunction.show(infectedFunction, seasFunction, busFunction, colFunction, ellFunction, smpaFunction, lawFunction);\n\t\t\tplot = false;\n\t\t}\n\n\t\t//\tsafe point to manage human/zombie ratios\n\t\t//\tTODO: Modify infect to also switch zombies to humans\n\t\tinfect();\n\t\tgetWell();\n\t\taddFromQueue();\n\n\t\t//\tupdate all entities\n\t\tfor( Zombie z: zombies )\n\t\t{\n\t\t\tz.update(zombiesPaused);\n\t\t}\n\t\tfor( Entity h: humans )\n\t\t{\n\t\t\th.update(humansPaused);\n\t\t}\n\n\t\tif( zc!=zombies.size() || hc!=humans.size() )\n\t\t{\n\t\t\tzc = zombies.size();\n\t\t\thc = humans.size();\n\t\t\tSystem.out.println(zc+\"/\"+hc);\n\t\t}\n\n\t\t//Add points to our functions\n\t\thealthyFunction.add(time,humans.size());\n\t\tinfectedFunction.add(time,zombies.size());\n\t\tseascount = smpacount = ellcount = lawcount = buscount = colcount = 0;\n\t\tfor (int i = 0; i < humans.size(); i++) {\n\t\t\tEntity curr = humans.get(i);\n\t\t\tif (curr instanceof SEAS) {\n\t\t\t\tseascount++;\n\t\t\t} else if (curr instanceof SMPA) {\n\t\t\t\tsmpacount++;\n\t\t\t} else if (curr instanceof Elliot) {\n\t\t\t\tellcount++;\n\t\t\t} else if (curr instanceof Law) {\n\t\t\t\tlawcount++;\n\t\t\t} else if (curr instanceof Business) {\n\t\t\t\tbuscount++;\n\t\t\t} else if (curr instanceof Columbian) {\n\t\t\t\tcolcount++;\n\t\t\t}\n\t\t}\n\t\tbusFunction.add(time, buscount);\n\t\tcolFunction.add(time, colcount);\n\t\tellFunction.add(time, ellcount);\n\t\tlawFunction.add(time, lawcount);\n\t\tsmpaFunction.add(time, smpacount);\n\t\tseasFunction.add(time, seascount);\n\t\ttime++;\n\t}", "public interface ProcessModel {\n\t\n\t\n\t\n\t/** \n\t * Returns the initial covariance matrix.\n\t * @return the initial covariance matrix.\n\t */\n\tpublic Matrix P0 ();\n\n\t/**\n\t * Returns the process noise matrix.\n\t * @param t time\n\t * @param dt dt = current time - previous time.\n\t * @param x current state vector\n\t * @return the process noise matrix.\n\t */\n\tpublic Matrix Q (double t, double dt, EstSTM x);\n\n\n\t/** \n\t * Returns the initial reference state.\n\t * @return the initial reference state.\n\t */\n\tpublic VectorN xref0 ();\n\t\n\t/**\n\t * Returns the number of states.\n\t * @return the number of states.\n\t */\t\n\tpublic int numberOfStates();\n\t\n\t/** \n\t * Propagate the state and state transition matrix to the next measurement time.\n\t * @param t0 previous time\n\t * @param xin array containing state and state transition matrix at previous time.\n\t * @param tf next time\n\t */\t\n\tpublic double[] propagate( double t0, double[] xin, double tf);\n\t\n\t/**\n\t * Print out the state and covariance data\n\t * @param t time\n\t * @param state state vector\n\t * @param covariance covariance matrix\n\t */\n\tpublic void print(double t, VectorN state, Matrix covariance);\n\t\n\t/**\n\t * Print out the residuals\n\t * @param t time\n\t * @param resid1 residual before the measurement update\n\t * @param resid2 residual after the measurement update\n\t */\n\tpublic void printResiduals(double t, double resid1, double resid2);\n\t\n\t/**\n\t * Close all open LinePrinters\n\t */\n\tpublic void closeLinePrinter();\n\n}", "private void evaluateStage(){\n switch (currentStage){\n case EGG: if (getLifetime() >= ModelSettings.brood_lifetime_egg)\n currentStage = LARVAE;\n break;\n case LARVAE: if (getLifetime() >= ModelSettings.brood_lifetime_larvae)\n currentStage = PUPAE;\n break;\n case PUPAE: if (getLifetime() >= ModelSettings.brood_lifetime_pupae)\n System.out.println(\"This pupae is now an adult!\");\n //TODO trigger manager\n break;\n }\n }", "public void buildModel() {\n double loss_pre = Double.MAX_VALUE;\n for (int iter = 0; iter < maxIter; iter ++) {\n Long start = System.currentTimeMillis();\n if (showProgress)\n System.out.println(\"Iteration \"+(iter+1)+\" started\");\n // Update user latent vectors\n IntStream.range(0,userCount).parallel().peek(i->update_user(i)).forEach(j->{});\n /*\n for (int u = 0; u < userCount; u ++) {\n update_user(u);\n }\n */\n if (showProgress) {\n System.out.println(\"Users updated for \" + (System.currentTimeMillis() - start) + \"millis\");\n start = System.currentTimeMillis();\n }\n\n IntStream.range(0,itemCount).parallel().peek(i->update_item(i)).forEach(j->{});\n // Update item latent vectors\n /*\n for (int i = 0; i < itemCount; i ++) {\n update_item(i);\n }\n */\n if (showProgress) {\n System.out.println(\"Items updated for \" + (System.currentTimeMillis() - start) + \"millis\");\n start = System.currentTimeMillis();\n }\n\n // Show loss\n if (showLoss)\n loss_pre = showLoss(iter, start, loss_pre);\n\n\n } // end for iter\n\n }", "private void calcEfficiency() {\n \t\tdouble possiblePoints = 0;\n \t\tfor (int i = 0; i < fermentables.size(); i++) {\n \t\t\tFermentable m = ((Fermentable) fermentables.get(i));\n \t\t\tpossiblePoints += (m.getPppg() - 1) * m.getAmountAs(\"lb\")\n \t\t\t\t\t/ postBoilVol.getValueAs(\"gal\");\n \t\t}\n \t\tefficiency = (estOg - 1) / possiblePoints * 100;\n \t}", "boolean evaluateSolution( LockScreen problem ) {\n\t\tfor (LockDisk disk : problem._disks) {\n\t\t\tfor (LaserSrc laser : disk._lasers) {\n\t\t\t\tlaser._distBeam = -1.0f;\n\t\t\t\tif( disk._nextDisk != null ) {\n\t\t\t\t\tlaser._distBeam = disk._nextDisk.isBlocking(\n\t\t\t\t\t\t\tdisk.normalizeAngleRad( laser._angLaser + disk._rotAngle - disk._nextDisk._rotAngle));\n\t\t\t\t}\n\t\t\t\tif (laser._distBeam < 0.0f ) {\n\t\t\t\t\tlaser._distBeam = LockDisk.MAXDISTLASER;\n\t\t\t\t}\n\t\t\t\tif (_verb) {\n\t\t\t\t\tSystem.out.println( \"Update Laser \"+laser._id+ \" / \" + disk._id \n\t\t\t\t\t\t\t+ \" with d=\"+ laser._distBeam \n\t\t\t\t\t\t\t+ \" at angle=\" + (MathUtils.radDeg * (disk._rotAngle+laser._angLaser)));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t// Then the status of every Sensor\n\t\tboolean _fgOpen = true;\n\t\tboolean _fgClosed = false;\n\n\t\tfor (Sensor sensor : problem._sensors) {\n\t\t\tsensor._fgActivated = false;\n\t\t\tSystem.out.println( \"Sensor [\"+sensor._id+\"]\");\n\t\t\tfor (LockDisk disk : problem._disks) {\n\t\t\t\tfor (LockDisk.LaserSrc laser : disk._lasers) {\n\t\t\t\t\tif (laser._distBeam > 180f ) {\n\t\t\t\t\t\tSystem.out.println(\" laser_\"+disk._id+\"/\"+laser._id +\" at angle \" + (MathUtils.radDeg * (laser._angLaser + disk._rotAngle)));\n\t\t\t\t\t\tsensor.updateWithBeam(laser._angLaser + disk._rotAngle);\n\n\t\t\t\t\t\t//Adapt _fgOpen according to fgActivated and type of Sensor\n\t\t\t\t\t\t// If any \"open\" is not activated => NOT open\n\t\t\t\t\t\tif (sensor._type.compareTo(\"open\") == 0) {\n\t\t\t\t\t\t\tif (sensor._fgActivated == false)\n\t\t\t\t\t\t\t\t_fgOpen = false; \t\n\t\t\t\t\t\t}\n\t\t\t\t\t\t// if any other activated => IS closed\n\t\t\t\t\t\telse if (sensor._fgActivated) {\n\t\t\t\t\t\t\t_fgClosed = true;\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\tif (_fgOpen && !_fgClosed) {\n\t\t\tSystem.out.println(\">>>>>> Sol VALID\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\">>>>>> Sol NOT valid\");\n\t\t}\n\t\treturn (_fgOpen && !_fgClosed);\n\t\t\n\t}", "private String needs() {\r\n\t\tint[] needs=tile.getLifeNeedsMet();\r\n\t\tString out=\"Needs Met: \"+needs[0]+\" || Needs Not Met: \"+needs[1];\r\n\t\treturn out;\r\n\t}", "private void updateAgilisaurusState() {\n this.age++;\n\n if (this.age == 30 && this.hasCapability(LifeStage.BABY)) {\n // grow up\n this.removeCapability(LifeStage.BABY);\n this.addCapability(LifeStage.ADULT);\n this.displayChar = 'D';\n }\n\n if (this.foodLevel > 0) {\n this.foodLevel--;\n }\n\n if (this.waterLevel > 0) {\n this.waterLevel--;\n }\n\n if (this.foodLevel < 30) {\n this.behaviour = new HungryBehaviour();\n }\n\n if (this.foodLevel > 50) {\n this.behaviour = new BreedBehaviour();\n }\n\n if (this.foodLevel == 0) {\n this.Starving();\n } else {\n this.starvationLevel = 0;\n }\n\n if (this.waterLevel < 30) {\n this.behaviour = new ThirstBehaviour();\n }\n\n if (this.waterLevel == 0) {\n this.Thirsting();\n } else {\n this.thirstLevel = 0;\n }\n }", "public void getProbe () {\n double prxg;\n int index;\n double effaoa = effective_aoa();\n /* get variables in the generating plane */\n if (Math.abs(ypval) < .01) ypval = .05;\n getPoints(xpval,ypval);\n\n solver.getVel(lrg,lthg);\n loadProbe();\n\n pxg = lxgt;\n pyg = lygt;\n prg = lrgt;\n pthg = lthgt;\n pxm = lxmt;\n pym = lymt;\n /* smoke */\n if (pboflag == 3 ) {\n prxg = xpval;\n for (index =1; index <=POINTS_COUNT; ++ index) {\n getPoints(prxg,ypval);\n xg[19][index] = lxgt;\n yg[19][index] = lygt;\n rg[19][index] = lrgt;\n thg[19][index] = lthgt;\n xm[19][index] = lxmt;\n ym[19][index] = lymt;\n if (stall_model_type != STALL_MODEL_IDEAL_FLOW) { // stall model\n double apos = stall_model_type == STALL_MODEL_DFLT ? +10 : stall_model_apos;\n double aneg = stall_model_type == STALL_MODEL_DFLT ? -10 : stall_model_aneg;\n if (xpval > 0.0) {\n if (effaoa > apos && ypval > 0.0) { \n ym[19][index] = ym[19][1];\n } \n if (effaoa < aneg && ypval < 0.0) {\n ym[19][index] = ym[19][1];\n }\n }\n if (xpval < 0.0) {\n if (effaoa > apos && ypval > 0.0) { \n if (xm[19][index] > 0.0) {\n ym[19][index] = ym[19][index-1];\n }\n } \n if (effaoa < aneg && ypval < 0.0) {\n if (xm[19][index] > 0.0) {\n ym[19][index] = ym[19][index-1];\n }\n }\n }\n }\n solver.getVel(lrg,lthg);\n prxg = prxg + vxdir*STEP_X;\n }\n }\n return;\n }", "private void obtainProblem(){\n followers = frame.getFollowers();\n followers = Math.min(followers, CreatureFactory.getStrongestMonster().getFollowers() * Formation.MAX_MEMBERS);\n maxCreatures = frame.getMaxCreatures();\n heroes = frame.getHeroes();//is this field needed?\n prioritizedHeroes = frame.getHeroes(Priority.ALWAYS);\n //create boss formation\n LinkedList<Creature> list = new LinkedList<>();\n list.add(frame.getBoss());\n bossFormation = new Formation(list);\n containsRandomBoss = bossFormation.containsRandomHeroes();\n yourRunes = frame.getYourRunes();\n for (int i = 0; i < Formation.MAX_MEMBERS; i++){\n //System.out.println(yourRunes[i]);\n if (!(yourRunes[i] instanceof Nothing)){\n hasRunes = true;\n //System.out.println(\"hasRunes\");\n break;\n }\n }\n \n NHWBEasy = heroes.length == 0 && prioritizedHeroes.length == 0 && frame.getBoss().getMainSkill().WBNHEasy() && !hasRunes && !containsRandomBoss;\n \n }", "@Override\r\n\tpublic int evaluateSens(Robot robot) {\n\t\treturn robot.getFuel();\r\n\t}", "public void onLivingUpdate()\n {\n this.updateArmSwingProgress();\n float var1 = this.getBrightness(1.0F);\n\n if (var1 > 0.5F)\n {\n this.entityAge += 2;\n }\n\n super.onLivingUpdate();\n }", "private void learn() {\n\t\tupdateValues();\n\t\tif(CFG.isUpdatedPerformanceHistory()){\n\t\t\tupdateHistory();\n\t\t}\n\t\tif(CFG.isEvaluated()) evaluate();\n\t}", "public void train() {\r\n\t\texp += 2;\r\n\t\tenergy -= 5;\r\n\t\tSystem.out.println(\"Gained 2 experience.\");\t\r\n\t}", "public void updateState(){\n\t\t\n\t\t\n\t\t\n\t\tArrayList<String> toAdd = new ArrayList<String>();\n\t\tArrayList<String> toRemove = new ArrayList<String>();\n\n\t\tthis.lastAdded.clear();\n\t\tthis.lastFulfilled.clear();\n\t\tthis.lastViolated.clear();\n\t\t\n\t\ttry {\n\n\t\t\tdo{\n\t\t\t\ttoAdd.clear();\n\t\t\t\ttoRemove.clear();\n\t\t\t\t\n\t\t\t\tIterator<Unifier> iActive = reasoner.findall(\"xactive(A,Fa,Fm,Fd,Fr,Timeout)&not(as(A,Fa,Fm,Fd,Fr,Timeout))\");\n\t\t\t\twhile(iActive.hasNext()){\n\t\t\t\t\tUnifier un = iActive.next();\n\t\t\t\t\ttoAdd.add(\"as(\"+adaptTerm(un.get(\"A\").toString())+\",\"+ adaptTerm(un.get(\"Fa\").toString())+\",\"+adaptTerm(un.get(\"Fm\").toString())+\",\"+adaptTerm(un.get(\"Fd\").toString())+\",\"+adaptTerm(un.get(\"Fr\").toString())+\",\"+adaptTerm(un.get(\"Timeout\").toString())+\")\");\n\t\t\t\t\tthis.lastAdded.add(\"as(\"+adaptTerm(un.get(\"A\").toString())+\",\"+ adaptTerm(un.get(\"Fa\").toString())+\",\"+adaptTerm(un.get(\"Fm\").toString())+\",\"+adaptTerm(un.get(\"Fd\").toString())+\",\"+adaptTerm(un.get(\"Fr\").toString())+\",\"+adaptTerm(un.get(\"Timeout\").toString())+\")\");\n\t\t\t\t}\t\n\t\t\t\t\n\t\t\t\tIterator<Unifier> iViol = reasoner.findall(\"xviol(A,Fa,Fm,Fd,Fr,Timeout)&not(vs(A,Fa,Fm,Fd,Fr,Timeout))\");\n\t\t\t\twhile(iViol.hasNext()){\n\t\t\t\t\tUnifier un = iViol.next();\n\t\t\t\t\ttoAdd.add(\"vs(\"+adaptTerm(un.get(\"A\").toString())+\",\"+adaptTerm(un.get(\"Fa\").toString())+\",\"+adaptTerm(un.get(\"Fm\").toString())+\",\"+adaptTerm(un.get(\"Fd\").toString())+\",\"+adaptTerm(un.get(\"Fr\").toString())+\",\"+adaptTerm(un.get(\"Timeout\").toString())+\")\");\n\t\t\t\t\ttoRemove.add(\"as(\"+adaptTerm(un.get(\"A\").toString())+\",\"+adaptTerm(un.get(\"Fa\").toString())+\",\"+adaptTerm(un.get(\"Fm\").toString())+\",\"+adaptTerm(un.get(\"Fd\").toString())+\",\"+adaptTerm(un.get(\"Fr\").toString())+\",\"+adaptTerm(un.get(\"Timeout\").toString())+\")\");\n\t\t\t\t\tthis.lastViolated.add(\"as(\"+adaptTerm(un.get(\"A\").toString())+\",\"+adaptTerm(un.get(\"Fa\").toString())+\",\"+adaptTerm(un.get(\"Fm\").toString())+\",\"+adaptTerm(un.get(\"Fd\").toString())+\",\"+adaptTerm(un.get(\"Fr\").toString())+\",\"+adaptTerm(un.get(\"Timeout\").toString())+\")\");\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tIterator<Unifier> iDeactF = reasoner.findall(\"xdeact_f(A,Fa,Fm,Fd,Fr,Timeout)\");\n\t\t\t\twhile(iDeactF.hasNext()){\n\t\t\t\t\tUnifier un = iDeactF.next();\n\t\t\t\t\ttoAdd.add(\"ds(\"+adaptTerm(un.get(\"A\").toString())+\",\"+adaptTerm(un.get(\"Fa\").toString())+\",\"+adaptTerm(un.get(\"Fm\").toString())+\",\"+adaptTerm(un.get(\"Fd\").toString())+\",\"+adaptTerm(un.get(\"Fr\").toString()+\",\"+un.get(\"Timeout\").toString())+\")\");\n\t\t\t\t\ttoRemove.add(\"as(\"+adaptTerm(un.get(\"A\").toString())+\",\"+adaptTerm(un.get(\"Fa\").toString())+\",\"+adaptTerm(un.get(\"Fm\").toString())+\",\"+adaptTerm(un.get(\"Fd\").toString())+\",\"+adaptTerm(un.get(\"Fr\").toString())+\",\"+adaptTerm(un.get(\"Timeout\").toString())+\")\");\n\t\t\t\t\tthis.lastFulfilled.add(\"as(\"+adaptTerm(un.get(\"A\").toString())+\",\"+adaptTerm(un.get(\"Fa\").toString())+\",\"+adaptTerm(un.get(\"Fm\").toString())+\",\"+adaptTerm(un.get(\"Fd\").toString())+\",\"+adaptTerm(un.get(\"Fr\").toString())+\",\"+adaptTerm(un.get(\"Timeout\").toString())+\")\");\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tIterator<Unifier> iDeactR = reasoner.findall(\"xdeact_r(A,Fa,Fm,Fd,Fr,Timeout)\");\n\t\t\t\twhile(iDeactR.hasNext()){\n\t\t\t\t\tUnifier un = iDeactR.next();\n\t\t\t\t\ttoAdd.add(\"ds(\"+adaptTerm(un.get(\"A\").toString())+\",\"+adaptTerm(un.get(\"Fa\").toString())+\",\"+adaptTerm(un.get(\"Fm\").toString())+\",\"+adaptTerm(un.get(\"Fd\").toString())+\",\"+adaptTerm(un.get(\"Fr\").toString())+\",\"+adaptTerm(un.get(\"Timeout\").toString())+\")\");\n\t\t\t\t\ttoRemove.add(\"vs(\"+adaptTerm(un.get(\"A\").toString())+\",\"+adaptTerm(un.get(\"Fa\").toString())+\",\"+adaptTerm(un.get(\"Fm\").toString())+\",\"+adaptTerm(un.get(\"Fd\").toString())+\",\"+adaptTerm(un.get(\"Fr\").toString())+\",\"+adaptTerm(un.get(\"Timeout\").toString())+\")\");\n\t\t\t\t\tthis.lastFulfilled.add(\"vs(\"+adaptTerm(un.get(\"A\").toString())+\",\"+adaptTerm(un.get(\"Fa\").toString())+\",\"+adaptTerm(un.get(\"Fm\").toString())+\",\"+adaptTerm(un.get(\"Fd\").toString())+\",\"+adaptTerm(un.get(\"Fr\").toString())+\",\"+adaptTerm(un.get(\"Timeout\").toString())+\")\");\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tIterator<Unifier> iFailed = reasoner.findall(\"xfailed(A,Fa,Fm,Fd,Fr,Timeout)\");\n\t\t\t\twhile(iFailed.hasNext()){\n\t\t\t\t\tUnifier un = iFailed.next();\n\t\t\t\t\ttoAdd.add(\"fs(\"+adaptTerm(un.get(\"A\").toString())+\",\"+adaptTerm(un.get(\"Fa\").toString())+\",\"+adaptTerm(un.get(\"Fm\").toString())+\",\"+adaptTerm(un.get(\"Fd\").toString())+\",\"+adaptTerm(un.get(\"Fr\").toString())+\",\"+adaptTerm(un.get(\"Timeout\").toString())+\")\");\n\t\t\t\t\ttoRemove.add(\"vs(\"+adaptTerm(un.get(\"A\").toString())+\",\"+adaptTerm(un.get(\"Fa\").toString())+\",\"+adaptTerm(un.get(\"Fm\").toString())+\",\"+adaptTerm(un.get(\"Fd\").toString())+\",\"+adaptTerm(un.get(\"Fr\").toString())+\",\"+adaptTerm(un.get(\"Timeout\").toString())+\")\");\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t//norms deactivated (fulfilled) whose maintenance condition does not hold can be removed.\n\t\t\t\t//if they are not removed, new instances of the same norm are not activated\n\t\t\t\tIterator<Unifier> iDeactivated_to_remove = reasoner.findall(\"ds(A,Fa,Fm,Fd,Fr,Timeout)&not(Fm)\");\n\t\t\t\twhile(iDeactivated_to_remove.hasNext()){\n\t\t\t\t\tUnifier un = iDeactivated_to_remove.next();\n\t\t\t\t\ttoRemove.add(\"ds(\"+adaptTerm(un.get(\"A\").toString())+\",\"+adaptTerm(un.get(\"Fa\").toString())+\",\"+adaptTerm(un.get(\"Fm\").toString())+\",\"+adaptTerm(un.get(\"Fd\").toString())+\",\"+adaptTerm(un.get(\"Fr\").toString())+\",\"+adaptTerm(un.get(\"Timeout\").toString())+\")\");\n\t\t\t\t}\n\n\t\t\t\t\n\t\t\t\tfor(String s:toAdd){\n\t\t\t\t\treasoner.assertValue(s);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tfor(String s:toRemove){\n\t\t\t\t\treasoner.retract(s);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}while(toAdd.size()>0|toRemove.size()>0);\t\t\t\t\t\t\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}", "public void getDanger(){\r\n\t\r\n\tif(isnow>0){ //is it snow?\r\n\t\t// There is snow, we set all spread indexes to 0\r\n\t\tset_AllSpreadIndexToZero();\r\n\t\t\r\n\t\tadjust_BUI();\r\n\t}else {\r\n\t\t\t//There is no snow on the ground we will compute the spread indexes and fire load\r\n\r\n\t\t\t//Calculate Fine fuel moisture\r\n\t\t\tcal_FineFuelMoisture();\r\n\t\t\t\r\n\t\t\t//calculate the drying factor for the day\r\n\t\t\tcal_DryFactor();\r\n\t\t\t\r\n\t\t\t// adjust fine fuel moist\t\t\r\n\t\t\tadjust_FineFuelMoisture();\r\n\t\t}\r\n\t\r\n\tif (precip>0.1){ // is it rain?\r\n\t\t//There is rain (precipitation >0.1 inch), we must reduce the build up index (BUO) by \r\n\t\t//an amount equal to rain fall\r\n\t\tadjust_BUI();\r\n\t}else{\r\n\t\t//After correct for rain, if any, we are ready to add today's dring factor to obtain the \r\n\t\t//current build up index\r\n\t\tincrease_BUIBYDryingFactor();\r\n\t\t\r\n\t\t//we will adjust the grass index for heavy fuel lags. The result will be the timber spread index\r\n\t\t//The adjusted fuel moisture, ADFM, Adjusted for heavy fuels, will now be computed.\r\n\t\tcal_AdjustedFuelMoist();\r\n\t\t\r\n\t\tif (ADFM>33){\r\n\t\t\tset_AllSpreadIndexToOne();\r\n\r\n\t\t\t}else{\r\n\t\t\t\t//whether wind>14? and calculate grass and timber spread index\r\n\t\t\t\tcal_GrassAndTimber();\r\n\t\t\t\t//Both BUI and Timber spread index are not 0?\r\n\t\t\t\tif (!((TIMBER==0)&(BUO==0))){\r\n\t\t\t\t\tcal_FireLoadRating();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n}", "@Override\n public int status() {\n if (currentLoad <= maxLoad && currentLoad >= 0.6 * maxLoad) return GOOD;\n if (currentLoad < 0.6 * maxLoad && currentLoad >= 0.1 * maxLoad) return CHECK;\n else return BAD;\n }", "public void calculateEffectiveness(){\n double[] typeEffective = new double[18];\n \n for(int i = 0; i < 18; i++){\n typeEffective[i] = tc.getEffectiveNumber(i, tc.convertType(type1));\n }\n \n if(type2 != null){\n for(int i = 0; i < 18; i++){\n typeEffective[i] *= tc.getEffectiveNumber(i, tc.convertType(type2));\n }\n }\n \n for(int i = 0; i < 18; i++){\n if(typeEffective[i] != 1){\n if(typeEffective[i] > 1){\n double[] newWeak = {i,typeEffective[i]};\n weak.add(newWeak);\n }else{\n double[] newStrong = {i,typeEffective[i]};\n strong.add(newStrong);\n }\n }\n }\n }", "public void duelmode(ScannedRobotEvent e) {\r\n //run predictive_shooter()\r\n if(e.getEnergy() <= 20) {\r\n //shoot things\r\n engage(e);\r\n } runaway(e);\r\n }", "public void updateLives() {\r\n\r\n\t\tif (enhanced == true && (numScore >= 4000 && numLiveUpdated == 0) || (numScore >= 8000 && numLiveUpdated == 1)\r\n\t\t\t\t|| (numScore >= 12000 && numLiveUpdated == 2)) {\r\n\t\t\tlives += 1;\r\n\t\t\tnumLiveUpdated += 1;\r\n\t\t}\r\n\r\n\t}", "void think() {\n //get the output of the neural network\n decision = brain.output(vision);\n\n if (decision[0] > 0.8) {//output 0 is boosting\n boosting = true;\n } else {\n boosting = false;\n }\n if (decision[1] > 0.8) {//output 1 is turn left\n spin = -0.08f;\n } else {//cant turn right and left at the same time\n if (decision[2] > 0.8) {//output 2 is turn right\n spin = 0.08f;\n } else {//if neither then dont turn\n spin = 0;\n }\n }\n //shooting\n if (decision[3] > 0.8) {//output 3 is shooting\n shoot();\n }\n }", "public void learn() {\n best = birds.get(0);\n boolean allDead = true;\n for (final Bird bird : birds) {\n if (bird.dead)\n continue;\n allDead = false;\n\n //Set fitness to -1.0 to begin with, and then adjusts according to\n //the number of ticks and flaps. Note: the ticks are essentially a marker\n //for distance travelled as the ticks do not reset to 0 until the level\n //resets\n double fitness = ticks - bird.flaps * 1.5;\n fitness = fitness == 0.0 ? -1.0 : fitness;\n\n //updates the birds fitness (while still alive)\n bird.genome.fitness = fitness;\n if (fitness > Pool.maxFitness)\n Pool.maxFitness = fitness;\n\n //The best bird's fitness is updated as game progresses\n if (fitness > best.genome.fitness)\n best = bird;\n }\n\n //If all the birds are dead, start a new generation and restart the level\n if (allDead) {\n Pool.newGeneration();\n initializeGame();\n }\n }", "public static void worldTimeStep() {\n\t\t//System.out.println(\"Time Step: \" + count);\n\t\tcount = count + 1;\n\t for (Critter A : Critter.population){\n\t if(A.energy<=0){\n\t\t\t\tA.isAlive = false;\n }\n else if(A.energy>0){\n\t A.isAlive=true;\n A.doTimeStep();\n if(A.energy<0){\n\t\t\t\t\tA.isAlive = false;\n\t\t\t\t}\n }\n\n }\n\t\tfor (Iterator<Critter> iterator = Critter.population.iterator(); iterator.hasNext();){\n\t\t\tCritter tmp = iterator.next();\n\t\t\tif (tmp.isAlive == false){\n\t\t\t\titerator.remove();\n\t\t\t}\n\t\t}\n\n encounters2();\n\n\t\tfor (Iterator<Critter> iterator = Critter.population.iterator(); iterator.hasNext();){\n\t\t\tCritter tmp = iterator.next();\n\t\t\tif (tmp.isAlive == false){\n\t\t\t\titerator.remove();\n\t\t\t}\n\t\t}\n\n\t\tmapCheck();\n\t\t// we have add reproduction\n\n\t\t// we have to add algae\n\t\tfor (int i = 0; i < Params.refresh_algae_count; i = i + 1){\n\t\t\t//Algae child = new Algae();\n\t\t\t//child.setEnergy(Params.start_energy);\n\t\t\t//makecritter takes care of anything\n\t\t\ttry{\n\t\t\t\tmakeCritter(\"Algae\");\n\t\t\t}\n\t\t\tcatch(InvalidCritterException e){\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\n\t\t//deduct rest energy\n\t\tfor (Critter A : Critter.population){\n\t\t\tA.energy = A.getEnergy() - Params.rest_energy_cost;\n\t\t\tif(A.getEnergy()<=0){\n\t\t\t\tA.isAlive=false;\n\t\t\t}\n\t\t}\n\t\tfor (Iterator<Critter> iterator = Critter.population.iterator(); iterator.hasNext();){\n\t\t\tCritter tmp = iterator.next();\n\t\t\tif (tmp.isAlive == false){\n\t\t\t\titerator.remove();\n\t\t\t}\n\t\t}\n\t\t//babies add\n\t\tfor(Critter b: babies){\n\t\t\tb.isAlive=true;\n\t\t\tpopulation.add(b);\n\t\t}\n\t\t//not sure if this removes everything\n\t\tbabies.clear();\n\t}", "public void adjust_FineFuelMoisture(){\r\n\t// If FFM is one or less we set it to one\t\t\r\n\tif ((FFM-1)<=0){\r\n\t\tFFM=1;\r\n\t}else{\r\n\t\t//add 5 percent FFM for each Herb stage greater than one\r\n\t\tFFM=FFM+(iherb-1)*5;\r\n\t}\r\n}", "public void refillLife(){\r\n\t\tthis.life = totalLife;\r\n\t}", "public int calcMaxLife() {\n\t\treturn 10;\r\n\t}", "void updateSensors() {\n\t\tint visionDim = ninterface.affectors.getVisionDim();\n\t\tdouble distance;\n\n\t\t/* Update food vision variables. */\n\t\tfor (int i = 0; i < visionDim; i++) {\n\t\t\t/* Food sensory neurons. */\n\t\t\tdistance = viewingObjectOfTypeInSegment(i,\n\t\t\t\t\tCollision.TYPE_FOOD);\n\t\t\tninterface.affectors.vFood[i]\n\t\t\t\t\t= distance < 0.0 ? 1.0 : 1.0 - distance;\n\n\t\t\t/* Ally sensory neurons. */\n\t\t\tdistance = viewingObjectOfTypeInSegment(i,\n\t\t\t\t\tCollision.TYPE_AGENT);\n\t\t\tninterface.affectors.vAlly[i]\n\t\t\t\t\t= distance < 0.0 ? 1.0 : 1.0 - distance;\n\n\t\t\t/* Enemy sensory neurons. */\n\t\t\tdistance = viewingObjectOfTypeInSegment(i,\n\t\t\t\t\tCollision.TYPE_ENEMY);\n\t\t\tninterface.affectors.vEnemy[i]\n\t\t\t\t\t= distance < 0.0 ? 1.0 : 1.0 - distance;\n\n\t\t\t/* Wall sensory neurons. */\n\t\t\tdistance = viewingObjectOfTypeInSegment(i,\n\t\t\t\t\tCollision.TYPE_WALL);\n\t\t\tninterface.affectors.vWall[i]\n\t\t\t\t\t= distance < 0.0 ? 1.0 : 1.0 - distance;\n\t\t}\n\t}", "@Override\n\t\tpublic void calc(Env env)\n\t\t{\n\t\t\tL2PcInstance pc = (L2PcInstance) env.player;\n\t\t\tif (pc != null)\n\t\t\t{\n\t\t\t\tenv.value += pc.getHennaStatMEN();\n\t\t\t}\n\t\t}", "public void emissionProbabilities() {\r\n /**\r\n * Word and Tag List.\r\n */\r\n final TreeSet<String> words = new TreeSet(), tags = new TreeSet();\r\n Iterator<Kata> iterSatu = MarkovCore.LIST_KATA.iterator();\r\n while (iterSatu.hasNext()) {\r\n final Kata kata = iterSatu.next();\r\n words.add(kata.getKata());\r\n tags.add(kata.getTag());\r\n }\r\n System.out.println(\"Jumlah Kata: \" + words.size());\r\n System.out.println(\"Jumlah Tag: \" + tags.size());\r\n System.out.println();\r\n //<editor-fold defaultstate=\"collapsed\" desc=\"Emissions Calculation\">\r\n /**\r\n * Perhitungan Emisi.\r\n */\r\n Iterator<String> iterDua = words.iterator();\r\n while (iterDua.hasNext()) {\r\n final String kata = iterDua.next();\r\n Iterator<String> iterTiga = tags.iterator();\r\n while (iterTiga.hasNext()) {\r\n final StrBuilder strBuilder = new StrBuilder(10);\r\n final String tag = iterTiga.next();\r\n strBuilder.append(\"P(\");\r\n strBuilder.append(kata + \"|\");\r\n strBuilder.append(tag + \") = \");\r\n final Emissions emissions = new Emissions(kata, tag, strBuilder.toString());\r\n emissionses.add(emissions);\r\n }\r\n }\r\n\r\n final HashMap<String, Double> penyebut = new HashMap();\r\n Iterator<Kata> iterEmpat = MarkovCore.LIST_KATA.iterator();\r\n while (iterEmpat.hasNext()) {\r\n final Kata kata = iterEmpat.next();\r\n if (penyebut.get(kata.getTag()) == null) {\r\n penyebut.put(kata.getTag(), 1.0);\r\n } else {\r\n penyebut.put(kata.getTag(), penyebut.get(kata.getTag()) + 1);\r\n }\r\n }\r\n\r\n Iterator<Emissions> iterTiga = emissionses.iterator();\r\n while (iterTiga.hasNext()) {\r\n final Emissions emissions = iterTiga.next();\r\n double pembilang = 0.0;\r\n Iterator<Kata> iterKata = MarkovCore.LIST_KATA.iterator();\r\n while (iterKata.hasNext()) {\r\n Kata kata = iterKata.next();\r\n if (StringUtils.equalsIgnoreCase(kata.getKata(), emissions.word) && StringUtils.equalsIgnoreCase(kata.getTag(), emissions.tag)) {\r\n pembilang++;\r\n }\r\n }\r\n\r\n /**\r\n * WARNING - Laplace Smoothing is Activated.\r\n */\r\n// emissions.setEmissionsProbability(pembilang + 1, penyebut.get(emissions.tag) + this.uniqueWords.size(), (pembilang + 1) / (penyebut.get(emissions.tag) + this.uniqueWords.size()));\r\n emissions.setEmissionsProbability(pembilang, penyebut.get(emissions.tag), pembilang / penyebut.get(emissions.tag));\r\n }\r\n//</editor-fold>\r\n\r\n// System.out.println(emissionses.size());\r\n Iterator<Emissions> emissionsIterator = emissionses.iterator();\r\n while (emissionsIterator.hasNext()) {\r\n final Emissions emissions = emissionsIterator.next();\r\n this.emissionsMap.put(new MultiKey(emissions.word, emissions.tag), emissions.emissionsProbability);\r\n// System.out.println(emissions);\r\n }\r\n// System.out.println(this.emissionsMap.size());\r\n }", "public void opretMedlem(KassererController kassererController, Hold hold) {\n Scanner scan = new Scanner(System.in);\n Motionist motionist;\n KonkurrenceSvømmer konkurrenceSvømmer;\n\n //Alle medlemmer\n System.out.println(\"Opret det nye medlem herunder: \");\n System.out.print(\"Skal det nye medlem registreres som konkurrencesvømmer, 'ja' eller 'nej': \");\n String svømmeType = scan.nextLine();\n\n System.out.print(\"Fulde navn: \");\n String navn = scan.nextLine();\n System.out.print(\"Alder: \");\n int alder = scan.nextInt();\n System.out.print(\"Har medlemmet en aktiv aktivitetsform? (true eller false): \");\n boolean aktivitetsform = scan.nextBoolean();\n System.out.print(\"Har medlemmet betalt? (true eller false): \");\n boolean betalt = scan.nextBoolean();\n\n //Motionist\n if (svømmeType.equals(\"nej\")) {\n motionist = new Motionist(navn, alder, aktivitetsform, betalt);\n if (motionist.getAlder() < 18) {\n System.out.println(\"Medlemmet er motionist og i kategorien juniormedlem.\");\n } else if (motionist.getAlder() >= 18) {\n System.out.println(\"Medlemmet er motionist og i kategorien seniormedlem.\");\n }\n System.out.println();\n System.out.print(motionist.toString());\n medlemmer.add(motionist);\n kassererController.kontingentBetaling(motionist);\n filHåndtering.filSkrivning(motionist);\n\n //Konkurrencesvømmer\n } else if (svømmeType.equals(\"ja\")) {\n konkurrenceSvømmer = new KonkurrenceSvømmer(navn, alder, aktivitetsform, betalt);\n if (konkurrenceSvømmer.getAlder() < 18) {\n hold.tilføjJuniorKonkurrencesvømmere(konkurrenceSvømmer);\n System.out.println(\"Medlemmet er konkurrencesvømmer i kategorien juniormedlem, og dermed tildelt ungdomsholdet.\");\n } else if (konkurrenceSvømmer.getAlder() >= 18) {\n hold.tilføjSeniorKonkurrencesvømmere(konkurrenceSvømmer);\n System.out.println(\"Medlemmet er konkurrencesvømmer i kategorien seniormedlem, og dermed tildelt seniorholdet.\");\n }\n konkurrenceSvømmer.svømmeDisciplin(konkurrenceSvømmer);\n System.out.println();\n System.out.print(konkurrenceSvømmer.toString());\n medlemmer.add(konkurrenceSvømmer);\n kassererController.kontingentBetaling(konkurrenceSvømmer);\n filHåndtering.filSkrivning(konkurrenceSvømmer);\n }\n }", "public double checkModel() {\n\treturn (Weights[2] * Unigram.checkModel() + \n\t\tWeights[1] * Bigram.checkModel() +\n\t\tWeights[0] * Trigram.checkModel());\n }", "@Test\n public void f10ModelPerformanceTest() {\n clickOn(\"#assetTypeMenuBtn\").sleep(1000);\n\n //select first asset type\n Node node = lookup(\"#columnName\").nth(1).query();\n clickOn(node).sleep(1000);\n\n //go to model tab\n clickOn(scene.getRoot().lookup(\"#modelTab\")).sleep(1000);\n\n //Modify sliders\n Slider trainSlider = (Slider) scene.getRoot().lookup(\"#trainSlider\");\n clickOn(trainSlider);\n type(KeyCode.TAB).type(KeyCode.RIGHT);\n type(KeyCode.TAB).type(KeyCode.RIGHT);\n moveBy(0, 10).clickOn().sleep(500).moveBy(0, 100).scroll(80, VerticalDirection.UP);\n\n FlowPane models = (FlowPane) scene.getRoot().lookup(\"#modelsThumbPane\");\n Pane additiveRegModel = (Pane) models.getChildren().get(5);\n Button evalButton = (Button) additiveRegModel.getChildren().get(additiveRegModel.getChildren().size() - 1);\n\n Text rmse = (Text) additiveRegModel.getChildren().get(additiveRegModel.getChildren().size() - 2);\n clickOn(rmse).sleep(3000);\n String oldRmseVal = rmse.getText();\n int i = 0;\n\n clickOn(evalButton);\n //incrementally check for 30 seconds to see if rmse has been updated\n do {\n if (rmse.getText().equals(oldRmseVal)) {\n sleep(2000);\n } else {\n break;\n }\n } while (++i < 15);\n\n clickOn(rmse).sleep(3000);\n\n assertNotNull(\"Evaluate button exists\", evalButton);\n assertNotNull(\"RMSE exists\", rmse);\n assertFalse(\"Assert current RMSE is different than old RMSE\", rmse.getText().equals(oldRmseVal));\n }", "private void analyze() {\n\t\tdouble org = 0;\n\t\tdouble avgIndPerDoc = 0;\n\t\tdouble avgTotalPerDoc = 0;\n\n\t\tfor (Instance instance : instanceProvider.getInstances()) {\n\n\t\t\tint g = 0;\n\t\t\tSet<AbstractAnnotation> orgM = new HashSet<>();\n\n//\t\t\torgM.addAll(instance.getGoldAnnotations().getAnnotations());\n//\t\t\tg += instance.getGoldAnnotations().getAnnotations().size();\n\n\t\t\tfor (AbstractAnnotation instance2 : instance.getGoldAnnotations().getAnnotations()) {\n\n\t\t\t\tResult r = new Result(instance2);\n\n\t\t\t\t{\n////\t\t\t\t\tList<AbstractAnnotation> aa = Arrays.asList(r.getTrend());\n//\t\t\t\t\tList<AbstractAnnotation> aa = Arrays.asList(r.getInvestigationMethod());\n////\t\t\t\t\tList<AbstractAnnotation> aa = new ArrayList<>(\n////\t\t\t\t\t\t\tr.getDefinedExperimentalGroups().stream().map(a -> a.get()).collect(Collectors.toList()));\n//\n//\t\t\t\t\torgM.addAll(aa);\n//\t\t\t\t\tg += aa.size();\n\t\t\t\t}\n\n\t\t\t\t{\n\t\t\t\t\t/**\n\t\t\t\t\t * props of exp\n\t\t\t\t\t */\n\t\t\t\t\tfor (DefinedExperimentalGroup instance3 : r.getDefinedExperimentalGroups()) {\n\n//\t\t\t\t\tList<AbstractAnnotation> aa = Arrays.asList(instance3.getOrganismModel());\n//\t\t\t\t\tList<AbstractAnnotation> aa = new ArrayList<>(instance3.getTreatments());\n//\t\t\t\t\t\tList<AbstractAnnotation> aa = Arrays.asList(instance3.getInjury());\n\n\t\t\t\t\t\tList<AbstractAnnotation> ab = Arrays.asList(instance3.getInjury());\n\n\t\t\t\t\t\tList<AbstractAnnotation> aa = ab.stream().filter(i -> i != null)\n\t\t\t\t\t\t\t\t.map(et -> et.asInstanceOfEntityTemplate()).map(et -> new Injury(et))\n\t\t\t\t\t\t\t\t.filter(i -> i != null).flatMap(i -> i.getDeliveryMethods().stream())\n\t\t\t\t\t\t\t\t.filter(i -> i != null).collect(Collectors.toList());\n\n\t\t\t\t\t\taa.addAll(instance3.getTreatments().stream().filter(i -> i != null)\n\t\t\t\t\t\t\t\t.map(et -> et.asInstanceOfEntityTemplate()).map(et -> new Treatment(et))\n\t\t\t\t\t\t\t\t.filter(i -> i != null).map(i -> i.getDeliveryMethod()).filter(i -> i != null)\n\t\t\t\t\t\t\t\t.collect(Collectors.toList()));\n\n//\t\t\t\t\t\tList<AbstractAnnotation> aa = ab.stream().filter(i -> i != null)\n//\t\t\t\t\t\t\t\t.map(et -> et.asInstanceOfEntityTemplate()).map(et -> new Injury(et))\n//\t\t\t\t\t\t\t\t.filter(i -> i != null).flatMap(i -> i.getAnaesthetics().stream())\n//\t\t\t\t\t\t\t\t.filter(i -> i != null).collect(Collectors.toList());\n\n//\t\t\t\t\t\tList<AbstractAnnotation> aa = ab.stream().filter(i -> i != null)\n//\t\t\t\t\t\t\t\t.map(et -> et.asInstanceOfEntityTemplate()).map(et -> new Injury(et))\n//\t\t\t\t\t\t\t\t.filter(i -> i != null).map(i -> i.getInjuryDevice()).filter(i -> i != null)\n//\t\t\t\t\t\t\t\t.collect(Collectors.toList());\n\n\t\t\t\t\t\t// List<AbstractAnnotation> aa = ab.stream().filter(i -> i != null)\n//\t\t\t\t\t\t\t\t.map(et -> et.asInstanceOfEntityTemplate()).map(et -> new Injury(et))\n//\t\t\t\t\t\t\t\t.filter(i -> i != null).map(i -> i.getInjuryLocation()).filter(i -> i != null)\n//\t\t\t\t\t\t\t\t.collect(Collectors.toList());\n\n\t\t\t\t\t\torgM.addAll(aa);\n\t\t\t\t\t\tg += aa.size();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tavgIndPerDoc += orgM.size();\n\t\t\tavgTotalPerDoc += g;\n\n\t\t\torg += ((double) orgM.size()) / (g == 0 ? 1 : g);\n//\t\t\tSystem.out.println(((double) orgM.size()) / g);\n\n\t\t}\n\t\tSystem.out.println(\"avgTotalPerDoc = \" + avgTotalPerDoc / instanceProvider.getInstances().size());\n\t\tSystem.out.println(\"avgIndPerDoc = \" + avgIndPerDoc / instanceProvider.getInstances().size());\n\t\tSystem.out.println(\"org = \" + org);\n\t\tSystem.out.println(\"avg. org = \" + (org / instanceProvider.getInstances().size()));\n\t\tSystem.out.println(new DecimalFormat(\"0.00\").format(avgTotalPerDoc / instanceProvider.getInstances().size())\n\t\t\t\t+ \" & \" + new DecimalFormat(\"0.00\").format(avgIndPerDoc / instanceProvider.getInstances().size())\n\t\t\t\t+ \" & \" + new DecimalFormat(\"0.00\").format(org / instanceProvider.getInstances().size()));\n\t\tSystem.exit(1);\n\n\t\tStats.countVariables(0, instanceProvider.getInstances());\n\n\t\tint count = 0;\n\t\tfor (SlotType slotType : EntityType.get(\"Result\").getSlots()) {\n\n\t\t\tif (slotType.isExcluded())\n\t\t\t\tcontinue;\n\t\t\tcount++;\n\t\t\tSystem.out.println(slotType.name);\n\n\t\t}\n\t\tSystem.out.println(count);\n\t\tSystem.exit(1);\n\t}", "static void playC45() throws IOException {\n\t\tRealVector[] data = NNDataset.getData(NNDataset.HOME);\n\t\tRealVector[] label = NNDataset.getLabel(NNDataset.HOME);\n\t\tRealMatrix d = MatrixUtils.createRealMatrix(data.length, data[0].getDimension());\n\t\tfor (int i = 0; i < data.length; i++) {\n\t\t\td.setRowVector(i, data[i]);\n\t\t}\n\t\td = d.transpose(); // data = column vector\n\n\t\tRealVector l = MatrixUtils.createRealVector(new double[label.length]);\n\t\tfor (int i = 0; i < l.getDimension(); i++) {\n\t\t\tl.setEntry(i, label[i].getEntry(0));\n\t\t}\n\n\t\tDecisionNode root = training(d, l);\n\t\tString[] header = NNDataset.getHeader(NNDataset.HOME);\n\t\tprintTree(root, header);\n\n\t\tInteger lb = predict(root, data[0]);\n\t\tSystem.out.println(lb);\n\n\t\tdouble ok = MSE(root, data, label);\n\t\tSystem.out.println(\"total hit: \" + ok);\n\t}", "public void updatePlayerModel() {\n double average = 0.0;\n for (int i = 0; i < playerModelDiff1.size(); i++) {\n average += (double) playerModelDiff1.get(i);\n }\n if ( playerModelDiff1.size() > 0 )\n average = average / playerModelDiff1.size();\n playerModel[0] = average;\n\n //Update playerModel[1] - difficulty 4\n average = 0.0;\n for (int i = 0; i < playerModelDiff4.size(); i++) {\n average += (double) playerModelDiff4.get(i);\n }\n if ( playerModelDiff4.size() > 0 )\n average = average / playerModelDiff4.size();\n playerModel[1] = average;\n\n //Update playerModel[2] - difficulty 7\n average = 0.0;\n for (int i = 0; i < playerModelDiff7.size(); i++) {\n average += (double) playerModelDiff7.get(i);\n }\n if ( playerModelDiff7.size() > 0 )\n average = average / playerModelDiff7.size();\n playerModel[2] = average;\n }", "@Override\n protected UnitsNeeded calculateUnitsNeeded() {\n long firetrucks = 0;\n long policecars = 0;\n switch (this.getSize()) {\n case LOCAL:\n firetrucks = 1;\n break;\n case HOUSE:\n firetrucks = 2;\n policecars = 1;\n break;\n case FACILITY:\n firetrucks = 4;\n policecars = 3;\n }\n try {\n DispatchUnitsConstraint fir = new NumberDispatchUnitsConstraint(new FiretruckFireSizeValidator(this.getSize()), firetrucks);\n DispatchUnitsConstraint amb = new NumberDispatchUnitsConstraint(new TypeUnitValidator(Ambulance.class), this.getNumberOfInjured() + this.getTrappedPeople());\n DispatchUnitsConstraint pol = new NumberDispatchUnitsConstraint(new TypeUnitValidator(Policecar.class), policecars);\n UnitsNeeded un = new UnitsNeeded(this, new AndDispatchUnitsConstraint(fir, amb, pol));\n un.pushPolicy(new FireSizeDispatchPolicy(un,new ASAPDispatchPolicy(un)));\n return un;\n } catch (InvalidEmergencyException ex) {\n //we assume this can't happen\n Logger.getLogger(Robbery.class.getName()).log(Level.SEVERE, null, ex);\n } catch (InvalidDispatchUnitsConstraintException ex) {\n //we assume this can't happen\n Logger.getLogger(Robbery.class.getName()).log(Level.SEVERE, null, ex);\n } catch (NumberOutOfBoundsException ex) {\n //we assume this can't happen\n Logger.getLogger(Robbery.class.getName()).log(Level.SEVERE, null, ex);\n } catch (InvalidUnitValidatorException ex) {\n //we assume this can't happen\n Logger.getLogger(Robbery.class.getName()).log(Level.SEVERE, null, ex);\n } catch (InvalidClassException ex) {\n //we assume this can't happen\n Logger.getLogger(Robbery.class.getName()).log(Level.SEVERE, null, ex);\n } catch (InvalidConstraintListException ex) {\n //we assume this can't happen\n Logger.getLogger(TrafficAccident.class.getName()).log(Level.SEVERE, null, ex);\n } catch (InvalidDispatchPolicyException ex) {\n //We assume this can't happen\n Logger.getLogger(Fire.class.getName()).log(Level.SEVERE, null, ex);\n } catch (InvalidUnitsNeededException ex) {\n //We assume this can't happen\n Logger.getLogger(Fire.class.getName()).log(Level.SEVERE, null, ex);\n }\n //should never be returned.\n return null;\n }", "public boolean selectFromAvailableModels() throws Exception{\r\n\t\t\r\n\t\tboolean rB=false;\r\n\t\t\t\r\n\t\tbaseFolder = soappProperties.getBaseModelFolder() ;\r\n\t\t\t\t\t // sth like: \"D:/data/projects/_classifierTesting/bank2/models\"\r\n\t\t\r\n\t\tactiveModel = soappProperties.getActiveModel() ; // sth like \"bank2\" \r\n\t\t// this refers to the name of the project as it is contained in the model file!!\r\n\t\t// on first loading, a catalog of available model will be created for faster access if it does not exists\r\n\t\r\n\t\tif (activeModel.length()>0){ \r\n\t\t\t\t\t\t\t\t\t\t\tout.print(2, \"checking model catalog associated with selected project ...\") ;\r\n\t\t\tcheckCreateLocationCatalog() ;\r\n\t\t} else{\r\n\t\t\t// alternatively, we set the active model to blank here, and provide the package name ;\r\n\t\t\t// whenever the active model name is given (and existing) it will be preferred!\r\n\t\t\t \r\n\t\t\tmodelPackageName = soappProperties.getModelPackageName();\r\n\t\t\tactiveModel = getModelThroughPackage(modelPackageName ) ;\r\n\t\t}\r\n\t\t\r\n\t\t// now reading from the modelcatalog.dat\r\n\t\t\r\n\t\t/*\r\n\t \t_MODELSELECT_LATEST = 1;\r\n\t\t_MODELSELECT_FIRSTFOUND = 2;\r\n\t\t_MODELSELECT_BEST = 4;\r\n\t\t_MODELSELECT_ROBUST = 8;\r\n\t\t_MODELSELECT_VERSION = 16 ;\r\n\t\t */\r\n\t\tModelCatalogItem mcItem= null, mci = null ;\r\n\r\n\t\tif (soappModelCatalog.size()>0){\r\n\t\t\tint m=0;\r\n\t\t\tboolean mciOK=false;\r\n\t\t\t\r\n\t\t\twhile ( (mciOK==false) && (mcItem==null) && (m<soappModelCatalog.size())){\r\n\t\t\t\t\r\n\t\t\t\tif (soappProperties.getModelSelectionMode() == SomAppProperties._MODELSELECT_FIRSTFOUND){\r\n\t\t\t\t\tmci = soappModelCatalog.getItem(m);\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tif (soappProperties.getModelSelectionMode() == SomAppProperties._MODELSELECT_LATEST){\r\n\t\t\t\t\tmci = soappModelCatalog.getLatestItem();\r\n\t\t\t\t}\r\n\t\t\t\tif (soappProperties.getModelSelectionMode() == SomAppProperties._MODELSELECT_BEST){\r\n\t\t\t\t\tmci = soappModelCatalog.getBestItem();\r\n\t\t\t\t}\r\n\t\t\t\tif (soappProperties.getModelSelectionMode() == SomAppProperties._MODELSELECT_VERSION){\r\n\t\t\t\t\tmci = soappModelCatalog.getItemByModelname( activeModel, soappProperties.preferredModelVersion ) ;\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\t// checking whether the model contains the required fields mcItem.requiredfields\r\n\t\t\t\tif (modelCheckRequirements(mci) == false ){\r\n\t\t\t\t\tsoappModelCatalog.addToExcludedItems(mci);\r\n\t\t\t\t}else{\r\n\t\t\t\t\tmciOK=true;\r\n\t\t\t\t\tmcItem = mci;\r\n\t\t\t\t}\r\n\r\n\t\t\t\tm++;\r\n\t\t\t} // ->\r\n\t\t\t\r\n\t\t\t\r\n\t\t}else{\r\n\t\t\tmcItem=null;\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t\tactiveModel = \"\" ;\r\n\t\tactiveVersion = \"\" ;\r\n\t\t\r\n\t\tif (mcItem!=null){\r\n\t\t\tactiveVersion = mcItem.modelVersion;\r\n\t\t\tactiveModel = mcItem.modelName;\r\n\t\t\trB=true;\r\n\t\t\t\r\n\t\t\tif (activeModel.length()==0){\r\n\t\t\t\trB = false;\r\n\t\t\t}\r\n\t\t\tif (activeVersion.length()==0){\r\n\t\t\t\trB = false;\r\n\t\t\t}\r\n\r\n\t\t}else{ // mcItem ?\r\n\t\t\tout.print(2,\"No matching model (by required fields) found in the list (n=\"+soappModelCatalog.size()+\") of available models.\");\r\n\t\t}\r\n\t\treturn rB;\r\n\t}", "private void runOnlineModel() {\n myScenario.setProbe(myProbe);\n myScenario.setSynchronizationMode(mySrcSelector);\n try {\n myScenario.resync();\n myScenario.run();\n } catch (SynchronizationException e) {\n System.out.println(e);\n } catch (ModelException e) {\n System.out.println(e);\n }\n }", "public static void main(String[] args) {\r\n\t\t\t\r\n\t\t\tModel model = new Model();\r\n\t\t\tSeason s=new Season(2016);\r\n\t\t\tTeam team=new Team(\"Genoa\");\r\n\t\t\tTeam team2=new Team(\"Sampdoria\");\r\n\t\t\t\r\n\t\t\tmodel.creaGrafo(s) ;\r\n//\t\t\tmodel.creaGrafo2(s) ;\r\n\t\t\tList<Team> vc= model.trovaViciniConnessi(team,s);\t\t\r\n\t\t\tSystem.out.println(vc);\r\n\t\t\tSystem.out.println(\"\\n\");\r\n\t\t\tList<TeamPunteggio> classifica= model.getClassifica(s);\t\t\r\n\t\t\tSystem.out.println(classifica);\r\n\t\t\tSystem.out.println(\" \\n ---CHI RETROCEDE?--- \\n\");\r\n\t\t\tSystem.out.println(classifica.subList(17, 20));\r\n\t\t\tSystem.out.println(\" \\n ---CHI Va in Champions?--- \\n\");\r\n\t\t\tSystem.out.println(classifica.subList(0, 3));\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n//\t\t\tSystem.out.println(\"---------------GRAFO TEAM----------------------\");\r\n\r\n//\t\t\tmodel.creaGrafoTEAM() ;\r\n//\t\t\tList<Team> te= model.getRaggiungibiliInAmpiezza(team);\r\n//\t\t\tSystem.out.println(te);\r\n//\t\t\tList<TeamPunteggio> t= model.getDestinations(team);\t\t\r\n//\t\t\tSystem.out.println(t);\r\n\t\t\t\r\n//\t\t\tSystem.out.println(\"---------------GRAFO Season----------------------\");\r\n//\t\t\tmodel.creaGrafoSEASON() ;\r\n//\t\t\tList<Integer> ss= model.getRaggiungibiliInAmpiezza(2016);\r\n//\t\t\tSystem.out.println(ss);\r\n//\t\t\tList<IntegerPair> ips= model.getDestinations(2016);\t\t\r\n//\t\t\tSystem.out.println(ips);\r\n\t\t\t\r\n//\t\t\tSystem.out.println(\"-----------------GRAFO GOAL----------------------\");\r\n//\t\t\tmodel.creaGrafoGOAL() ;\r\n//\t\t\tList<Integer> te= model.getRaggiungibiliInAmpiezza(3);\r\n//\t\t\tSystem.out.println(te);\r\n//\t\t\tList<IntegerPair> t= model.getDestinations(3);\t\t\r\n//\t\t\tSystem.out.println(t);\r\n\r\n//\t\t\tSystem.out.println(\"---------------------VISITE----------------------\");\t\t\t\r\n//\t\t\t\r\n//\t\t\tSystem.out.println(\"\\n\");\r\n//\t\t\tList<TeamPunteggio> t= model.getDestinations(s, team);\t\t\r\n//\t\t\tSystem.out.println(t);\r\n\t\t\t\t\r\n//\t\t\tSystem.out.println(\" \\n----- successori------ \\n\");\r\n//\t\t\tList<Team> ss= model.trovaSucessori(team);\r\n//\t\t\tSystem.out.println(ss);\r\n//\t\t\t\r\n//\t\t\tSystem.out.println(\" \\n-------predeccessori------ \\n \");\r\n//\t\t\tList<Team> pp= model.trovaPredecessori(team);\r\n//\t\t\tSystem.out.println(pp);\r\n//\r\n//\t\t\tSystem.out.println(\" \\n------ calcolo percorso e il suo tempo------- \\n\");\r\n//\t\t\tSystem.out.println(model.calcolaPercorso(team, team2));\r\n//\t\t\t\r\n//\t\t\tSystem.out.println(\"\\n -------Squadre che il eam ha affrontato in quella stagione------- \\n\");\r\n//\t\t\tList<Team> te= model.getRaggiungibiliInAmpiezza(team);\r\n//\t\t\tSystem.out.println(te);\r\n//\t\t\t\r\n//\t\t\tSystem.out.println(\"\\n------- n raggiungibili------ \\n\");\r\n//\t\t\tint i= model.raggiungibili();\r\n//\t\t\tSystem.out.println(i);\r\n//\t\t\t\r\n//\t\t\tSystem.out.println(\"\\n-------- percorso BELLMAN---> UGUALE A disktra ma tiene conto peso negativo------ \\n\");\r\n//\t\t\tSystem.out.println(model.BELLMANcalcolaPercorso(team));\r\n\r\n\t\t\t\r\n//\t\t\tSystem.out.println(\"-------------CONNECTIVITY INSPECTOR----------------------\");\t\t\t\t\t\r\n//\t\t\tSystem.out.println(\"\\n\");\r\n//\t\t\r\n//\t\t\tSystem.out.println(\"\\n------ è fortemente connesso?------ \\n\");\t\t\t\r\n//\t\t\tSystem.out.println(model.isConnesso());\t\r\n//\t\t\t\r\n//\t\t\tSystem.out.println(\"\\n-------- connessioni grafo--------- \\n\");\r\n//\t\t\tint n=model.getNumberConn();\r\n//\t\t\tSystem.out.println(n);\r\n//\t\t\t\r\n//\t\t\tSystem.out.println(\"\\n------ lista componenti connesse------ \\n\");\t\t\r\n//\t\t\tList<Set<Team>> l =model.getConn(); \r\n//\t\t\tSystem.out.println(l);\t\r\n//\t\t\t\r\n//\t\t\tSystem.out.println(\"\\n------- Arco max connesso------ \\n\");\t\t\t\r\n//\t\t\tSet<Team> t=model.MAXconnesso(); \r\n//\t\t\tSystem.out.println(t);\r\n//\t\t\t\r\n//\t\t\tSystem.out.println(\" \\n ------n archi Arco max connesso------ \"\\n\");\t\t\t\r\n//\t\t\tint nc=model.MAXconnessioni(); \r\n//\t\t\tSystem.out.println(nc);\r\n//\t\t\t\r\n//\t\t\tSystem.out.println(\"\\n--------- 5 Archi di max connesso------- \\n\");\r\n//\t\t\tList<EdgePeso>e= model.get5ArchiMinWeight(); \r\n//\t\t\tSystem.out.println(e);\r\n//\t\t\t\r\n//\t\t\t\t\t\r\n//\t\t\tSystem.out.println(\"--------------------- BEST & WORST-----------------------\");\r\n//\t\t\tSystem.out.println(\"\\n\");\r\n//\t\t\tSystem.out.println(\"\\n------ Best------ \\n\");\t\t\r\n//\t\t\tTeam winner=model.getBestTeam() ;\r\n//\t\t\tSystem.out.println(winner);\r\n//\t\t\tSystem.out.println(\"\\n------ Worst------ \\n\");\t\r\n//\t\t\tTeam loser=model.getWorstTeam() ;\r\n//\t\t\tSystem.out.println(loser);\r\n//\t\t\t\r\n//\t\t\tSystem.out.println(\"\\n\");\r\n//\t\t\tSystem.out.println(\"---------------PIU VICINO & PIU LONTANO Al PUNTEGGIO DEL TEAM DI PARTENZA -----------------------\");\t\t\t\r\n//\t\t\tSystem.out.println(\"\\n\");\r\n//\t\t\tSystem.out.println(\"\\n--------- Team Più Lontano come punti ---------\\n\");\r\n//\t\t\tTeam l =model.getPiLontano(\"Genoa\");\r\n//\t\t\tSystem.out.println(l);\r\n//\t\t\t\r\n//\t\t\tSystem.out.println(\"\\n\");\r\n//\t\t\tSystem.out.println(\"-------- Team Più Vicino come punti ---------\");\r\n//\t\t\tSystem.out.println(\"\\n\");\r\n//\t\t\t\r\n//\t\t\tTeam v =model.getPiuVicino(\"Genoa\");\r\n//\t\t\tSystem.out.println(v);\r\n//\t\t\t\r\n//\t\t\tSystem.out.println(\"\\n\");\r\n//\t\t\tSystem.out.println(\"------- Team Più Lontano come punti per scontri diretti ----------\");\r\n//\t\t\tSystem.out.println(\"\\n\");\r\n//\t\t\t\r\n//\t\t\tTeam ld =model.getPiLontanoByVoloDiretto(\"Genoa\");\r\n//\t\t\tSystem.out.println(ld);\t\r\n\r\n\t}", "protected void establishTransformationModel() {\r\n\t \r\n\t\tTransformationModel transformModel ;\r\n\t\tArrayList<TransformationStack> modelTransformStacks ;\r\n\t\t\r\n\t\t\r\n\t\t// the variables needed for the profile\r\n\t\t// targetStruc = getTargetVector();\r\n\t\tsomData = soappTransformer.getSomData() ; \r\n\t\t// soappTransformer.setSomData( somApplication.getSomData() );\r\n\t\tsomApplication.setSomData(somData) ;\r\n\t\t\r\n\t\tsomData.getVariablesLabels() ;\r\n\t\t \r\n\t\t\r\n\t\t// from here we transfer...\r\n\t\tmodelTransformStacks = soappTransformer.getTransformationModel().getVariableTransformations();\r\n\t\ttransformModel = soappTransformer.getTransformationModel() ;\r\n\t\t \r\n\t\t\r\n\t\ttransformationModelImported = true;\r\n\t}", "static void runTest() {\n dw = DiagnosticsWrapper.getInstance();\n dw.setDebugOutput( true );\n\n // How many ticks? Each one is a week.\n int simulationDurationTicks = (int) Math.floor(Constants.WEEKS_IN_YEAR * 20);\n // print debug-info on all parameters moving between models\n boolean printFrameData = false;\n GameThread one = new GameThread(simulationDurationTicks, printFrameData);\n GameManager gm = one.game;\n \n dw.addGameThread(one); // for debugging purposes\n\n // globalit\n gm.createModel(\"Weather\");\n\n SettingMaster sm;\n \n // kaupungit\n sm = gm.getDefaultSM(\"PopCenter\");\n sm.settings.get(\"vehicles\").setValue(\"1000\");\n sm.settings.get(\"initialFood\").setValue(\"1000000\");\n Model town1 = gm.createModel(\"PopCenter\");\n sm = gm.getDefaultSM(\"PopCenter\");\n sm.settings.get(\"births%\").setValue(\"0.047492154\");\n Model town2 = gm.createModel(\"PopCenter\");\n sm = gm.getDefaultSM(\"PopCenter\");\n sm.settings.get(\"births%\").setValue(\"0.047492154\");\n Model road1 = gm.createModel(\"Road\");\n ((RoadModel)road1).setLengthToDistance(sm);\n sm = one.game.getDefaultSM(\"Field\");\n sm.settings.get(\"content\").setValue(\"maize\");\n sm.settings.get(\"area\").setValue(\"1000000\");\n\n // ruoka x kaupungit\n gm.linkModelsWith(gm.createModel(\"Field\",sm), town1, gm.createModel(\"GenericConnection\"));\n gm.linkModelsWith(town1, town2, road1);\n\n // water\n Model l1 = gm.createModel(\"Lake\");\n sm = gm.getDefaultSM(\"Lake\");\n sm.settings.get(\"order\").setValue(\"1\");\n sm.settings.get(\"k\").setValue(\"1\");\n sm.settings.get(\"surfaceArea\").setValue(\"256120000f\");\n sm.settings.get(\"depth\").setValue(\"14.1\");\n sm.settings.get(\"startAmount\").setValue(\"0.9\");\n sm.settings.get(\"flowAmount\").setValue(\"0.91\");\n sm.settings.get(\"basinArea\").setValue(\"7642000000f\");\n sm.settings.get(\"terrainCoefficient\").setValue(\"0.5f\");\n l1.onActualUpdateSettings(sm);\n \n Model l2 = gm.createModel(\"Lake\");\n sm = gm.getDefaultSM(\"Lake\");\n sm.settings.get(\"order\").setValue(\"1\");\n sm.settings.get(\"k\").setValue(\"1\");\n sm.settings.get(\"surfaceArea\").setValue(\"256120000f\");\n sm.settings.get(\"depth\").setValue(\"14.1\");\n sm.settings.get(\"startAmount\").setValue(\"0.9\");\n sm.settings.get(\"flowAmount\").setValue(\"0.91\");\n sm.settings.get(\"basinArea\").setValue(\"7642000000f\");\n sm.settings.get(\"terrainCoefficient\").setValue(\"0.5f\");\n l2.onActualUpdateSettings(sm);\n \n Model r1 = gm.createModel(\"River\");\n sm = gm.getDefaultSM(\"River\");\n sm.settings.get(\"order\").setValue(\"2\");\n sm.settings.get(\"width\").setValue(\"100\");\n sm.settings.get(\"length\").setValue(\"100000\");\n sm.settings.get(\"startDepth\").setValue(\"0\");\n sm.settings.get(\"floodDepth\").setValue(\"10\");\n sm.settings.get(\"flowDepth\").setValue(\"0.5\");\n r1.onActualUpdateSettings(sm);\n \n Model r2 = gm.createModel(\"River\");\n sm = gm.getDefaultSM(\"River\");\n sm.settings.get(\"order\").setValue(\"2\");\n sm.settings.get(\"width\").setValue(\"100\");\n sm.settings.get(\"length\").setValue(\"100000\");\n sm.settings.get(\"startDepth\").setValue(\"0\");\n sm.settings.get(\"floodDepth\").setValue(\"10\");\n sm.settings.get(\"flowDepth\").setValue(\"0.5\");\n r2.onActualUpdateSettings(sm);\n \n Model l3 = gm.createModel(\"Lake\");\n sm = gm.getDefaultSM(\"Lake\");\n sm.settings.get(\"order\").setValue(\"3\");\n sm.settings.get(\"k\").setValue(\"1\");\n sm.settings.get(\"surfaceArea\").setValue(\"256120000f\");\n sm.settings.get(\"depth\").setValue(\"14.1\");\n sm.settings.get(\"startAmount\").setValue(\"0.9\");\n sm.settings.get(\"flowAmount\").setValue(\"0.91\");\n sm.settings.get(\"basinArea\").setValue(\"7642000000f\");\n sm.settings.get(\"terrainCoefficient\").setValue(\"0.5f\");\n l3.onActualUpdateSettings(sm);\n \n Model r3 = gm.createModel(\"River\");\n sm = gm.getDefaultSM(\"River\");\n sm.settings.get(\"order\").setValue(\"4\");\n sm.settings.get(\"width\").setValue(\"100\");\n sm.settings.get(\"length\").setValue(\"100000\");\n sm.settings.get(\"startDepth\").setValue(\"0\");\n sm.settings.get(\"floodDepth\").setValue(\"10\");\n sm.settings.get(\"flowDepth\").setValue(\"0.5\");\n r3.onActualUpdateSettings(sm);\n \n Model s1 = gm.createModel(\"Sea\");\n sm = gm.getDefaultSM(\"Sea\");\n sm.settings.get(\"order\").setValue(\"5\");\n s1.onActualUpdateSettings(sm);\n \n gm.linkModelsWith(l1, l3, r1);\n gm.linkModelsWith(l2, l3, r2);\n gm.linkModelsWith(l3, s1, r3);\n\n if (!profilingRun) {\n gm.printOnDone = 2;\n }\n\n // Start the gamethread\n one.start();\n \n //Save population to a csv file\n CSVDumper csv = new CSVDumper(\"none\", \"population\");\n csv.add(town1, \"totalPopulation\"); //local\n\n csv.save(gm, true);\n }", "private void initState() {\r\n double metaintensity=0;\r\n double diffr=0;\r\n for(int ii=0; ii < Config.numberOfSeeds; ii++)\r\n {\r\n Cur_state[ii] = this.seeds[ii].getDurationMilliSec();\r\n// Zeit2 = this.seeds[1].getDurationMilliSec();\r\n// Zeit3 = this.seeds[2].getDurationMilliSec();\r\n// LogTool.print(\"Zeit 1 : \" + Zeit1 + \"Zeit 2 : \" + Zeit2 + \"Zeit 3 : \" + Zeit3, \"notification\");\r\n// LogTool.print(\"initState: Dwelltime Seed \" + ii + \" : \" + Cur_state[ii], \"notification\");\r\n// Cur_state[0] = Zeit1;\r\n// Cur_state[1] = Zeit2;\r\n// Cur_state[2] = Zeit3;\r\n }\r\n \r\n if ((Config.SACostFunctionType==3)||(Config.SACostFunctionType==1)) {\r\n for(int x=Config.ptvXLow-0; x < Config.ptvXHigh+0; x++) {\r\n// for(int x=Solver.xBoundsTumor[0]; x < Solver.xBoundsTumor[1]; x+= Config.scaleFactor) {\r\n for(int y=Config.ptvYLow-0; y < Config.ptvYHigh+0; y++) {\r\n// for(int y=Solver.yBoundsTumor[0]; y < Solver.yBoundsTumor[1]; y+= Config.scaleFactor) {\r\n for(int z=Config.ptvZLow-0; z < Config.ptvZHigh+0; z++) {\r\n// for(int z=Solver.zBoundsTumor[0]; z < Solver.zBoundsTumor[1]; z+= Config.scaleFactor) {\r\n// this.body2[x][y][z].setCurrentDosis(0.0); //Set currentPtvVoxel Dose to 0 \r\n this.body2[x][y][z].metavalue = 0.0;\r\n for(int i=0; i<Config.numberOfSeeds;++i) { \r\n // Calculate intensity based based on current dwelltime\r\n metaintensity = this.body2[x][y][z].radiationIntensityNoTime((this.seeds2[i].getCoordinate()));\r\n // radiationIntensityNoTime(this.seeds2[i].getCoordinate(), New_state[i]);\r\n if (metaintensity>0) {\r\n // LogTool.print(\"Cost: Intensity :\" + intensity + \"@ \" + x + \" \" + y + \" \" + z,\"notification\");\r\n }\r\n // this.body2[x][y][z].addCurrentDosis(metaintensity);\r\n this.body2[x][y][z].metavalue += metaintensity; \r\n// Das ist implementation one\r\n } \r\n } \r\n }\r\n }\r\n// this.body = this.body2;\r\n } else {\r\n \r\n // for(int x=Config.ptvXLow-0; x < Config.ptvXHigh+0; x++) {\r\n// for(int x=Solver.xBoundsTumor[0]; x < Solver.xBoundsTumor[1]; x+= Config.scaleFactor) { \r\n for(int x=0; x < Solver.dimensions[0]; x+= Config.scaleFactor) {\r\n // for(int y=Config.ptvYLow-0; y < Config.ptvYHigh+0; y++) {\r\n// for(int y=Solver.yBoundsTumor[0]; y < Solver.yBoundsTumor[1]; y+= Config.scaleFactor) {\r\n for(int y=0; y < Solver.dimensions[1]; y+= Config.scaleFactor) {\r\n // for(int z=Config.ptvZLow-0; z < Config.ptvZHigh+0; z++) {\r\n// for(int z=Solver.zBoundsTumor[0]; z < Solver.zBoundsTumor[1]; z+= Config.scaleFactor) {\r\n for(int z=0; z < Solver.dimensions[2]; z+= Config.scaleFactor) {\r\n // this.body2[x][y][z].setCurrentDosis(0.0); //Set currentPtvVoxel Dose to 0 \r\n this.body2[x][y][z].metavalue = 0.0;\r\n for(int i=0; i<Config.numberOfSeeds;++i) { \r\n // Calculate intensity based based on current dwelltime\r\n metaintensity = this.body2[x][y][z].radiationIntensityNoTime((this.seeds2[i].getCoordinate()));\r\n // radiationIntensityNoTime(this.seeds2[i].getCoordinate(), New_state[i]);\r\n if (metaintensity>0) {\r\n // LogTool.print(\"Cost: Intensity :\" + intensity + \"@ \" + x + \" \" + y + \" \" + z,\"notification\");\r\n }\r\n // this.body2[x][y][z].addCurrentDosis(metaintensity);\r\n this.body2[x][y][z].metavalue += metaintensity;\r\n this.body[x][y][z].metavalue = 0; \r\n this.body[x][y][z].metavalue += this.body2[x][y][z].metavalue;\r\n // Das ist implementation one\r\n } \r\n } \r\n }\r\n }\r\n// this.body = this.body2;\r\n diffr = ((this.body[43][43][43].metavalue)-(this.body2[43][43][43].metavalue));\r\n LogTool.print(\"Shallowcopy Check, value should be 0 :\" + diffr + \"@ 43,43,43 \",\"notification\");\r\n }\r\n }", "private void haveFun() {\n\t\tint action = inputPrompt.funActivities(money);\r\n\t\tthis.money -= action;\r\n\t\t//has better effect depending on how much money you have spent\r\n\t\tthis.mentalHealth += FUNHEALTH + action;\r\n\t\tdailyTime--;\r\n\t\tinputPrompt.mainInfo(energy, physHealth, mentalHealth, money);\r\n\t\t\r\n\t}", "private void cmdInfoState() throws NoSystemException {\n MSystem system = system();\n MModel model = system.model();\n MSystemState state = system.state();\n NumberFormat nf = NumberFormat.getInstance();\n\n System.out.println(\"State: \" + state.name());\n\n // generate report for objects\n Report report = new Report(3, \"$l : $r $r\");\n\n // header\n report.addRow();\n report.addCell(\"class\");\n report.addCell(\"#objects\");\n report.addCell(\"+ #objects in subclasses\");\n report.addRuler('-');\n\n // data\n long total = 0;\n int n;\n\n for (MClass cls : model.classes()) {\n report.addRow();\n String clsname = cls.name();\n if (cls.isAbstract())\n clsname = '(' + clsname + ')';\n report.addCell(clsname);\n n = state.objectsOfClass(cls).size();\n total += n;\n report.addCell(nf.format(n));\n n = state.objectsOfClassAndSubClasses(cls).size();\n report.addCell(nf.format(n));\n }\n\n // footer\n report.addRuler('-');\n report.addRow();\n report.addCell(\"total\");\n report.addCell(nf.format(total));\n report.addCell(\"\");\n\n // print report\n report.printOn(System.out);\n System.out.println();\n\n // generate report for links\n report = new Report(2, \"$l : $r\");\n\n // header\n report.addRow();\n report.addCell(\"association\");\n report.addCell(\"#links\");\n report.addRuler('-');\n\n // data\n total = 0;\n\n for (MAssociation assoc : model.associations()) {\n report.addRow();\n report.addCell(assoc.name());\n n = state.linksOfAssociation(assoc).size();\n report.addCell(nf.format(n));\n total += n;\n }\n\n // footer\n report.addRuler('-');\n report.addRow();\n report.addCell(\"total\");\n report.addCell(nf.format(total));\n\n // print report\n report.printOn(System.out);\n }", "public void calculateMMage() {\n\t\t\n\t}", "public boolean loadModel() throws Exception{\r\n\t\t\r\n\t\tboolean rB = false ;\r\n\t\tModelCatalogItem mcItem ;\r\n\t\t\r\n\t\t// before, we have determined name and version according to the request options (e.g. \"latest\")\r\n\t\tmcItem = soappModelCatalog.getItemByModelname( activeModel, activeVersion ); \r\n\t\t// here, an active version should always be defined, if not, the first one will be selected\r\n\t\t\r\n\t\t\r\n\t\tif (mcItem != null){\r\n\t\t\t\t\t\t\t\t\t\t\tout.print(2, \"loading resources for requested model <\"+activeModel+\">, version <\"+activeVersion+\"> ... \") ;\r\n\t\t\t\r\n\t\t\tif ((somData==null) || (somData.getData().getColumnHeaders().size()==0)){\t\t\t\t\t\t\r\n\t\t\t\tsomApplication.loadSource();\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t// this also sets the data\r\n\t\t\tsoappTransformer = loadSomAppTransformer(mcItem);\r\n\t\t\t\r\n\t\t\t\r\n\t\t\trB= transformIncomingData();\r\n\t\t\t\r\n\t\t\tsoappClassifier = loadSomAppClassifier(mcItem);\r\n\r\n\t\t\trB= (soappTransformer!=null) && (soappClassifier!=null);\r\n\t\t}else{\r\n\t\t\tout.print(2, \"identification resources for requested model <\"+activeModel+\"> failed.\") ;\r\n\t\t}\r\n\t\treturn rB;\r\n\t}", "public void run (ModelNetUse modelNetUse)\n throws NormalizeNullVectorException\n {\n init(modelNetUse);\n /* Main loop */\n LearningEditProposal bestEdition = getBestEdit(true,true);\n while (bestEdition != null)\n {\n step (bestEdition.getEdit ());\n bestEdition = getBestEdit (true, true);\n }\n /* Parametric Learning */\n parametricLearning();\n }", "public void displayModelDetails() {\n System.out.println(\"Name: \" + getFirstName() + \" \" + getLastName());\n System.out.println(\"Height: \" + getHeightInFeetAndInches());\n System.out.println(\"Weight: \" + getWeight() + \" pounds\");\n String travelMessage = canTravel ? \"yep\" : \"nope\";\n System.out.println(\"Travels: \" + travelMessage);\n String smokeMessage = smokes ? \"yep\" : \"nope\";\n System.out.println(\"Smokes\" + smokeMessage);\n System.out.println(\"Hourly rate: $\" + calculatePayDollarsPerHour());\n }", "void onEnoughLightAvailable() {\n //start eye tracking if it is not running already\n startEyeTracking();\n }", "public void printModelInfo() {\n\t\tDebug.info(\"Jay3dModel\",\n\t\t\t\t\"Obj Name: \\t\\t\" + name + \"\\n\" +\n\t\t\t\t\"V Size: \\t\\t\" + modelVertices.size() + \"\\n\" +\n\t\t\t\t\"Vt Size: \\t\\t\" + textureVertices.size() + \"\\n\" +\n\t\t\t\t\"Vn Size: \\t\\t\" + normalVertices.size() + \"\\n\" +\n\t\t\t\t\"G Size: \\t\\t\" + groups.size() + \"\\n\" +\n\t\t\t\t\"S Size: \\t\\t\" + getSegmentCount() + \"\\n\" + \n\t\t\t\t\"F Size: \\t\\t\" + ((segments.size()>0)?segments.get(0).faces.size():0) + \"\\n\");\n\t}", "public void check2Minerals(){\n\t\t/*if (tfod != null) {\n\t\t\t// getUpdatedRecognitions() will return null if no new information is available since\n\t\t\t// the last time that call was made.\n\t\t\tList<Recognition> updatedRecognitions = tfod.getRecognitions();\n\n\t\t\tif (updatedRecognitions != null) {\n\n\t\t\t\tfloat goldMineral;\n\t\t\t\tfloat silverMineral;\n\n\t\t\t\tif(updatedRecognitions.size()==3){\n\t\t\t\t\tcheckMinerals();\n\t\t\t\t}\n\t\t\t\telse if (updatedRecognitions.size() >= 2) {\n\t\t\t\t\tif(updatedRecognitions.get(0).getLabel().equals(LABEL_GOLD_MINERAL)) {\n\t\t\t\t\t\tgoldMineral = updatedRecognitions.get(0).getLeft();\n\t\t\t\t\t\tsilverMineral = updatedRecognitions.get(1).getLeft();\n\t\t\t\t\t}\n\t\t\t\t\telse if(updatedRecognitions.get(1).getLabel().equals(LABEL_GOLD_MINERAL)){\n\t\t\t\t\t\tgoldMineral = updatedRecognitions.get(1).getLeft();\n\t\t\t\t\t\tsilverMineral = updatedRecognitions.get(0).getLeft();\n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\t\tposition=\"right\";\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\ttelemetry.clearAll();\n\t\t\t\t\ttelemetry.addData(\"minerals\", updatedRecognitions.size());\n\t\t\t\t\ttelemetry.addData(\"goldMineral\", goldMineral);\n\t\t\t\t\ttelemetry.addData(\"silverMineral\", silverMineral);\n\t\t\t\t\ttelemetry.addData(\"position\", position);\n\t\t\t\t\ttelemetry.update();\n\n\n\t\t\t\t\tif(goldMineral<528){\n\t\t\t\t\t\tposition=\"center\";\n\t\t\t\t\t}\n\t\t\t\t\telse if(goldMineral>528){\n\t\t\t\t\t\tposition=\"left\";\n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\t\tposition=\"rotate\";\n\t\t\t\t\t}*/\n\n\t\t//\t\t}\n\t\t//\t}\n\t\t//}\n\t}", "public int getLife(){\r\n\t\treturn this.life;\r\n\t}", "@Test\r\n\tpublic void calculMetricInferiorTeacherWithLostPointsTest() {\r\n\t\tAssert.assertEquals(UtilCalculGrade.calculMetricInferior(new ModelValue(10f, 1f), 12f, 15f), new Float(1));\r\n\t}", "public void engage() {\n Reporter.report(this, Reporter.Msg.ENGAGING);\n engaged = true;\n for(Component part:loads){\n Reporter.report(part, Reporter.Msg.ENGAGING);\n part.engaged = true;\n }\n }", "@Test\n public void test23() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n Evaluation evaluation0 = new Evaluation(instances0);\n SerializedClassifier serializedClassifier0 = new SerializedClassifier();\n Object[] objectArray0 = new Object[25];\n double[] doubleArray0 = evaluation0.evaluateModel((Classifier) serializedClassifier0, instances0, objectArray0);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01D);\n }", "private void automaticModeChecks(){\n // turn on lights if underground\n if (this.isUnderground()){ this.selectedTrain.setLights(1);}\n // set heat\n if (this.selectedTrain.getTemp() <= 40.0){this.selectedTrain.setThermostat(60.0);}\n else if (this.selectedTrain.getTemp() >= 80){ this.selectedTrain.setThermostat(50.0);}\n }", "public void evolve_enviroment() {\r\n\r\n // this.main_population.update_population();\r\n // get the indices of the best individual in the main population\r\n int main_pop_best = this.main_population.getBest_indices();\r\n\r\n // create a new individua with the genes of the best individual\r\n this.pop_best = new individual(this.main_population.getPopulation()[main_pop_best].getGenes(), solutions, output); // best individual in population\r\n\r\n // perform selection, crossover and mutation\r\n this.roulette_selection();\r\n this.crossover();\r\n this.mutate(this.prob);\r\n this.tournament_selection(); // survivor selection\r\n\r\n // find the indices of the worst individual and replace it with the best from the last generation\r\n this.main_population.setIndividual(pop_best, this.main_population.find_Worst_indicies());\r\n this.main_population.update_population();\r\n\r\n }", "private void computeSets(DLProgram datalogGlobal){\n\t\t\n\t\tDLVInvocation invocation = DLVWrapper.getInstance().createInvocation(dlvPath);\n\t\tDLVInputProgram inputProgram = new DLVInputProgramImpl();\n\n\t\ttry {\t\t\t\n\t\t\tDLProgramStorer storer = new DLProgramStorerImpl();\n\t\t\tStringBuilder target = new StringBuilder();\n\t\t\tstorer.store(datalogGlobal, target);\n \n\t\t\t//Add to DLV input program the contents of global program. \n\t\t\tString datalogGlobalText = target.toString();\n\t\t\tinputProgram.addText(datalogGlobalText);\n\t\t\t\n\t\t\t//inputProgram.addText(\"triple(c1,\\\"hasModule\\\",m1,\\\"g\\\").\" + \n\t\t\t// \" inst(c1,\\\"Context\\\",\\\"g\\\").\"+ \n\t\t\t// \"triple(c1,\\\"hasModule\\\",m2,\\\"g\\\").\" + \n\t\t\t// \"triple(X, \\\"hasModule\\\", m3, \\\"g\\\") :- inst(X,\\\"Context\\\",\\\"g\\\").\");\n\t\t\t\n\t\t\t//Set input program for current invocation.\n\t\t\tinvocation.setInputProgram(inputProgram);\n\t\t\t\n\t\t\t//Filter for \\triple and \\inst predicates. \n\t\t\t//System.out.println(inputProgram.getCompleteText());\n\t\t\tList<String> filters = new LinkedList<String>();\n\t\t\tfilters.add(\"tripled\");\n\t\t\tfilters.add(\"instd\");\n\t\t\tinvocation.setFilter(filters, true);\n\t\t\t\n\t\t\t//List of computed models, used to check at least a model is computed.\n\t\t\tfinal List<Model> models = new ArrayList<Model>();\n\t\t\t\n\t\t\t//Model handler: retrieves contexts and associations in the computed model(s).\n\t\t\tinvocation.subscribe(new ModelHandler() {\n\n\t\t\t\t@Override\n\t\t\t\tpublic void handleResult(DLVInvocation paramDLVInvocation,\n\t\t\t\t\t\tModelResult modelResult) {\n\t\t\t\t\t\n\t\t\t\t\t//System.out.print(\"{ \");\n\t\t\t\t\tModel model = (Model) modelResult;\n\t\t\t\t\tmodels.add(model);\n\n\t\t\t\t\t//model.beforeFirst();\n\t\t\t\t\t//while (model.hasMorePredicates()) {}\n\n\t\t\t\t\t//Predicate predicate = model.nextPredicate();\n\t\t\t\t\tPredicate predicate = model.getPredicate(\"instd\");\n\t\t\t\t\tif (predicate != null){\n\t\t\t\t\t\t//System.out.println(predicate.name() + \": \");\n\t\t\t\t\t\twhile (predicate.hasMoreLiterals()) {\n\n\t\t\t\t\t\t\tLiteral literal = predicate.nextLiteral();\n\t\t\t\t\t\t\tif (literal.getAttributeAt(1).toString().equals(\"\\\"Context\\\"\")) {\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t//Add context to list of inferred contexts.\n\t\t\t\t\t\t\t\tcontextsSet.add(literal.getAttributeAt(0).toString());\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t//System.out.print(literal);\n\t\t\t\t\t\t\t\t//System.out.println(\", \");\t\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tpredicate = model.getPredicate(\"tripled\");\n\t\t\t\t\tif (predicate != null){\n\t\t\t\t\t\t//System.out.println(predicate.name() + \": \");\n\t\t\t\t\t\twhile (predicate.hasMoreLiterals()) {\n\n\t\t\t\t\t\t\t//Add module association for each context.\n\t\t\t\t\t\t\tLiteral literal = predicate.nextLiteral();\n\t\t\t\t\t\t\tif (literal.getAttributeAt(1).toString().equals(\"\\\"hasModule\\\"\")) {\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tString[] association = new String[2];\n\t\t\t\t\t\t\t\tassociation[0] = literal.getAttributeAt(0).toString();\n\t\t\t\t\t\t\t\tassociation[1] = literal.getAttributeAt(2).toString();\n\t\t\t\t\t\t\t\thasModuleAssociations.add(association);\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t//System.out.print(literal);\n\t\t\t\t\t\t\t\t//System.out.println(\", \");\t\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\t//System.out.println(\"}\");\n\t\t\t\t\t//System.out.println();\n\t\t\t\t}\n\t\t\t});\n\t\t\t\n\t\t\tlong startTime = System.currentTimeMillis();\n\t\t\t\n\t\t\tinvocation.run();\n\t\t\tinvocation.waitUntilExecutionFinishes();\n\t\t\t\n\t\t\tlong endTime = System.currentTimeMillis();\n\t\t\tglobalModelComputationTime = endTime - startTime;\n\t\t\t\n\t\t\t//System.out.println(\"Global computation time: \" + globalModelComputationTime + \" ms.\");\n\t\t\t\n\t\t\tList<DLVError> k = invocation.getErrors();\n\t\t\tif (k.size() > 0)\n\t\t\t\tSystem.err.println(k);\n\t\t\t\n\t\t\t//System.out.println(\"Number of computed models: \" + models.size());\n\t\t\tif(models.size() == 0) \n\t\t\t\tSystem.err.println(\"[!] No models for global context program.\");\n\t\t\t\n\t\t\t//for (String[] a : hasModuleAssociations) {\n\t\t\t//\tSystem.out.println(a[0] + \" -> \" + a[1]);\n\t\t\t//}\n\t\t\t\n\t\t\t//System.out.println(\"Contexts: \");\n\t\t\t//for (String s : contextsSet) {\n\t\t\t//\tSystem.out.println(s);\n\t\t\t//\tfor(String[] a : hasModuleAssociations){\n\t\t\t//\t\tif(a[0].equals(s))\n\t\t\t//\t\tSystem.out.println(\" -> \" + a[1]);\t\n\t\t\t//\t}\n\t\t\t//}\n\t\t} catch (DLVInvocationException | IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "int getSoilMoistureLevel(int soilMoistureMM);", "private int getObservationResult( long currentTime )\n {\n int[] votes = new int[ 6 ];\n //[copied to the readFromNBT method]\n if( m_entanglementFrequency >= 0 )\n {\n List<TileEntityQBlock> twins = getEntanglementRegistry().getEntangledObjects( m_entanglementFrequency );\n if( twins != null )\n {\n Iterator<TileEntityQBlock> it = twins.iterator();\n while( it.hasNext() )\n {\n TileEntityQBlock twin = it.next();\n if( twin != this )\n {\n //[/copied]\n if( twin.m_currentlyObserved && twin.m_timeLastUpdated == currentTime )\n {\n // If an entangled twin is already up to date, use its result\n if( twin.m_currentlyForcedSide >= 0 )\n {\n return twin.m_currentlyForcedSide + 6;\n }\n else\n {\n return twin.m_currentDisplayedSide;\n }\n }\n else\n {\n // Otherwise, add its votes to the pile\n if( twin.m_currentlyForcedSide >= 0 && twin.m_forceObserved[ m_currentlyForcedSide ] )\n {\n return twin.m_currentlyForcedSide + 6;\n }\n else\n {\n for( int i=0; i<6; ++i )\n {\n if( twin.m_forceObserved[ i ] )\n {\n return i + 6;\n }\n }\n }\n votes = addVotes( votes, twin.collectVotes() );\n }\n }\n }\n }\n }\n\n // Get local observer votes\n if( m_currentlyForcedSide >= 0 && m_forceObserved[ m_currentlyForcedSide ] )\n {\n return m_currentlyForcedSide + 6;\n }\n else\n {\n for( int i=0; i<6; ++i )\n {\n if( m_forceObserved[ i ] )\n {\n return i + 6;\n }\n }\n }\n votes = addVotes( votes, collectVotes() );\n\n // Tally the votes\n return tallyVotes( votes );\n }", "@Test\r\n\tpublic void test() {\r\n\t\tmodel1.getActualTurn().setHasAttacked(true);\r\n\t\tassertEquals(attack2.isPossible(model1) , false);\r\n\t\t\r\n\t\t/* verifica che se gli alieni vincono il gioco viene chiuso */\r\n\t\taliensWin2.perform(model1);\r\n\t\tassertEquals(model1.getGameState() , GameState.CLOSING);\r\n\t\tassertEquals(model1.getActualTurn().getCurrentPlayer().getAvatar().getIsWinner() , EndState.WINNER);\r\n\t\t\r\n\t\tmodel1.setActualTurn(turn2);\r\n\t\t\r\n\t\t/* verifica il corrretto funzionamento del metodo isPossible dell'azione di attacco */\r\n\t\tassertEquals(attack1.isPossible(model1) , false);\r\n\t\tmodel1.getActualTurn().setHasMoved(true);\r\n\t\tmodel1.getActualTurn().setHasDraw(true);\r\n\t\tassertEquals(attack1.isPossible(model1) , false);\r\n\t\tmodel1.getActualTurn().setHasDraw(false);\r\n\t\tmodel1.setGameState(GameState.ACCEPTING);\r\n\t\tassertEquals(attack1.isPossible(model1) , false);\r\n\t\tmodel1.setGameState(GameState.RUNNING);\r\n\t\tassertEquals(attack1.isPossible(model1) , true);\r\n\t\tmodel1.getGamePlayers().get(0).getAvatar().setIsAlive(LifeState.DEAD);\r\n\t\tmodel1.getGamePlayers().get(1).getAvatar().setIsAlive(LifeState.DEAD);\r\n\t\tmodel1.getGamePlayers().get(2).getAvatar().setIsAlive(LifeState.DEAD);\r\n\t\tmodel1.getGamePlayers().get(3).getAvatar().setIsAlive(LifeState.DEAD);\r\n\t\tmodel1.getGamePlayers().get(4).getAvatar().setIsAlive(LifeState.DEAD);\r\n\t\tmodel1.getGamePlayers().get(5).getAvatar().setIsAlive(LifeState.DEAD);\r\n\t\tmodel1.getGamePlayers().get(6).getAvatar().setIsAlive(LifeState.DEAD);\r\n\t\tevtAttacked1 = attack1.perform(model1);\r\n\t\tassertEquals(((EventAttacked)evtAttacked1.get(1)).getAreThereOtherHumans() , false);\r\n\t\tmodel1.getGamePlayers().get(1).getAvatar().setIsAlive(LifeState.ALIVE);\r\n\t\tmodel1.getGamePlayers().get(0).getAvatar().setIsAlive(LifeState.ALIVE);\r\n\t\tmodel1.getGamePlayers().get(2).getAvatar().setIsAlive(LifeState.ALIVE);\r\n\t\tmodel1.getGamePlayers().get(3).getAvatar().setIsAlive(LifeState.ALIVE);\r\n\t\tevtAttacked1 = attack1.perform(model1);\t\r\n\t\tassertEquals(((EventSufferAttack)evtAttacked1.get(0)).getKilled() , killedPlayer);\r\n\t\t\r\n\t\tmodel1.setActualTurn(turn3);\r\n\t\t\r\n\t\t/* verifica il corrretto funzionamento del metodo isPossible dell'azione di attacco */\r\n\t\tmodel1.setGameState(GameState.ACCEPTING);\r\n\t\t((Human)model1.getActualTurn().getCurrentPlayer().getAvatar()).setCanAttack(true);\r\n\t\tassertEquals(attack3.isPossible(model1) , false);\r\n\t\tmodel1.setGameState(GameState.RUNNING);\r\n\t\t((Human)model1.getActualTurn().getCurrentPlayer().getAvatar()).setCanAttack(false);\r\n\t\tassertEquals(attack3.isPossible(model1) , false);\r\n\t\t((Human)model1.getActualTurn().getCurrentPlayer().getAvatar()).setCanAttack(true);\r\n\t\tmodel1.getActualTurn().setHasAttacked(true);\r\n\t\tassertEquals(attack3.isPossible(model1) , false);\r\n\t\t\r\n\t\tmodel1.setActualTurn(turn4);\r\n\t\t\r\n\t\t/* verifica il corrretto funzionamento della perform dell'azione di attacco */\r\n\t\tsector1 = model1.getGameMap().searchSectorByName(\"Hatch\");\r\n\t\tmodel1.getActualTurn().getCurrentPlayer().getAvatar().setCurrentSector(sector1);\r\n\t\tevtAttacked2 = humanWin2.perform(model1);\r\n\t\tassertEquals(((EventNotifyHumanWin)evtAttacked2.get(0)).getGenerator() , player4);\r\n\t\tmodel1.getGamePlayers().get(3).getAvatar().setIsWinner(EndState.LOOSER);\r\n\t\tmodel1.getGamePlayers().get(2).getAvatar().setIsWinner(EndState.LOOSER);\r\n\t\tmodel1.getGamePlayers().get(0).getAvatar().setIsWinner(EndState.LOOSER);\r\n\t\tmodel1.getGamePlayers().get(1).getAvatar().setIsWinner(EndState.LOOSER);\r\n\t\tmodel1.getGamePlayers().get(4).getAvatar().setIsWinner(EndState.LOOSER);\r\n\t\tassertEquals(humanWin2.perform(model1).size() , 3);\r\n\t\t\r\n\t\tmodel1.setActualTurn(turn7);\r\n\t\t\r\n\t\t/* verifica il corrretto funzionamento dell'utilizzo della carta difesa */\r\n\t\tmodel1.getActualTurn().getCurrentPlayer().getAvatar().addCard(card);\r\n\t\tdefense = new Defense(evtDefense);\r\n\t\tevtAttacked2 = defense.perform(model1);\r\n\t\tassertTrue(!model1.getActualTurn().getCurrentPlayer().getAvatar().getMyCards().contains(card));\r\n\t\tassertTrue(evtAttacked2.get(0) instanceof EventRejectCardAlien);\r\n\t\tassertTrue(evtAttacked2.get(1) instanceof EventCardUsed);\r\n\t\t\r\n\t}", "@Override\n\tpublic int calculateEffort() {\n\t\treturn 0;\n\t}", "public void checkGrowth() {\n if (age == 100) {\n double h = ((Growable)delegate).currentHealth;\n delegate = new Sprout(gc, x, y, h);\n }\n if (age == 200) {\n double h = ((Growable)delegate).currentHealth;\n delegate = new Bud(gc, x, y, h);\n }\n if (age == 300) {\n double h = ((Growable)delegate).currentHealth;\n delegate = new Blossom(gc, x, y, h);\n }\n if (age == 400) {\n double h = ((Growable)delegate).currentHealth;\n delegate = new Bloom(gc, x, y, h);\n }\n if (age == 500) {\n delegate = new Seed(gc, x, y);\n age = 0;\n GameManager.score += 100;\n }\n\n if (getCurrentHealth() <= 0) {\n delegate = new Seed(gc, x, y);\n GameManager.lives--;\n }\n delegate.wilt();\n delegate.update();\n }", "public int getLife()\n\t{\n\t\treturn life;\n\t}", "@Override\r\n public void updateModel(Bid opponentBid, double time) {\r\n if (negotiationSession.getOpponentBidHistory().size() < 2) {\r\n return;\r\n }\r\n int numberOfUnchanged = 0;\r\n // get the current bid of the opponent\r\n BidDetails oppBid = negotiationSession.getOpponentBidHistory().getHistory()\r\n .get(negotiationSession.getOpponentBidHistory().size() - 1);\r\n // get the previous bid of the opponent\r\n BidDetails prevOppBid = negotiationSession.getOpponentBidHistory().getHistory()\r\n .get(negotiationSession.getOpponentBidHistory().size() - 2);\r\n HashMap<Integer, Integer> diffSet = determineDifference(prevOppBid, oppBid);\r\n\r\n // count the number of unchanged issues in value\r\n for (Integer i : diffSet.keySet()) {\r\n if (diffSet.get(i) == 0)\r\n numberOfUnchanged++;\r\n }\r\n\r\n // This is the value to be added to weights of unchanged issues before normalization.\r\n // Also the value that is taken as the minimum possible weight,\r\n // (therefore defining the maximum possible also).\r\n double goldenValue = learnCoef / (double) amountOfIssues;\r\n // The total sum of weights before normalization.\r\n double totalSum = 1D + goldenValue * (double) numberOfUnchanged;\r\n // The maximum possible weight\r\n double maximumWeight = 1D - ((double) amountOfIssues) * goldenValue / totalSum;\r\n\r\n // re-weighing issues while making sure that the sum remains 1\r\n for (Integer i : diffSet.keySet()) {\r\n if (diffSet.get(i) == 0 && opponentUtilitySpace.getWeight(i) < maximumWeight)\r\n opponentUtilitySpace.setWeight(opponentUtilitySpace.getDomain().getObjectives().get(i),\r\n (opponentUtilitySpace.getWeight(i) + goldenValue) / totalSum);\r\n else\r\n opponentUtilitySpace.setWeight(opponentUtilitySpace.getDomain().getObjectives().get(i),\r\n opponentUtilitySpace.getWeight(i) / totalSum);\r\n }\r\n\r\n // Then for each issue value that has been offered last time, a constant\r\n // value is added to its corresponding ValueDiscrete.\r\n try {\r\n for (Entry<Objective, Evaluator> e : opponentUtilitySpace.getEvaluators()) {\r\n // cast issue to discrete and retrieve value. Next, add constant\r\n // learnValueAddition to the current preference of the value to\r\n // make it more important\r\n ((EvaluatorDiscrete) e.getValue()).setEvaluation(\r\n oppBid.getBid().getValue(((IssueDiscrete) e.getKey()).getNumber()),\r\n (learnValueAddition + ((EvaluatorDiscrete) e.getValue()).getEvaluationNotNormalized(\r\n ((ValueDiscrete) oppBid.getBid().getValue(((IssueDiscrete) e.getKey()).getNumber())))));\r\n }\r\n } catch (Exception ex) {\r\n ex.printStackTrace();\r\n }\r\n }", "protected void addFinishedData() throws ModelException {\n int i;\n \n //Harvest data\n ArrayList<Behavior> p_oBehs = m_oDisturbanceBehaviors.getBehaviorByParameterFileTag(\"Harvest\");\n if (mp_oHarvestData.size() == 0) {\n if (p_oBehs.size() > 0) {\n m_oDisturbanceBehaviors.removeBehavior(p_oBehs.get(0));\n }\n } else {\n Harvest oHarvest;\n if (p_oBehs.size() > 0) {\n oHarvest = (Harvest) p_oBehs.get(0);\n oHarvest.clearHarvestEvents();\n } else {\n oHarvest = (Harvest) m_oDisturbanceBehaviors.createBehaviorFromParameterFileTag(\"Harvest\");\n }\n for (i = 0; i < mp_oHarvestData.size(); i++) {\n oHarvest.addHarvestEvent(mp_oHarvestData.get(i));\n }\n }\n \n //Mortality episode data\n p_oBehs = m_oDisturbanceBehaviors.getBehaviorByParameterFileTag(\"EpisodicMortality\");\n if (mp_oMortEpisodeData.size() == 0) {\n if (p_oBehs.size() > 0) {\n m_oDisturbanceBehaviors.removeBehavior(p_oBehs.get(0));\n }\n } else {\n EpisodicMortality oEp;\n if (p_oBehs.size() > 0) {\n oEp = (EpisodicMortality) p_oBehs.get(0);\n oEp.clearMortalityEpisodes();\n } else {\n oEp = (EpisodicMortality) m_oDisturbanceBehaviors.createBehaviorFromParameterFileTag(\"EpisodicMortality\");\n }\n for (i = 0; i < mp_oMortEpisodeData.size(); i++) {\n oEp.addMortalityEpisode(mp_oMortEpisodeData.get(i));\n }\n }\n\n //Planting data\n p_oBehs = m_oPlantBehaviors.getBehaviorByParameterFileTag(\"Plant\");\n if (mp_oPlantingData.size() == 0) {\n if (p_oBehs.size() > 0) {\n m_oDisturbanceBehaviors.removeBehavior(p_oBehs.get(0));\n }\n } else {\n Planting oPlant;\n if (p_oBehs.size() > 0) {\n oPlant = (Planting) p_oBehs.get(0);\n oPlant.clearPlantingEvents();\n } else {\n oPlant = (Planting) m_oPlantBehaviors.createBehaviorFromParameterFileTag(\"Plant\");\n }\n for (i = 0; i < mp_oPlantingData.size(); i++) {\n oPlant.addPlantingEvent(mp_oPlantingData.get(i));\n }\n }\n }", "public static void main(String[] args) throws IOException {\n int activeThreshold = 300;\n //Activity.selectActive(\"st\", 6, activeThreshold);\n //Activity.selectActive(\"ri\", 6, activeThreshold);\n //Activity.selectActive(\"dw\", 9, activeThreshold);\n\n //Interaction.analysis(\"st\", 6);\n //Interaction.analysis(\"ri\", 6);\n\n //BehaviourIndicators.analysis(\"st\", 6);\n //BehaviourIndicators.analysis(\"ri\", 6);\n //BehaviourIndicators.analysis(\"dw\", 9);\n\n Engagement.analysis(\"st\",6);\n Engagement.analysis(\"ri\",6);\n //todo the data files for DW have to be adjusted to the ones of the other two to be able to run it\n //Engagement.analysis(\"dw\",9);\n\n //Motivation.analysis(\"ri\", 6);\n //Motivation.analysis(\"st\", 6);\n }", "public abstract double experience();", "public void deductLife() {\n\t\t\n\t\t// If player01 is currently active.. \n\t\tif(player01.getIsCurrentlyPlaying()) {\n\t\t\t\n\t\t\t// Deduct a life.\n\t\t\tplayer01.deductlife();\n\t\t\t\n\t\t\t// Display message.\n\t\t\tSystem.out.println(\"Player 01 has lost a life!\");\n\t\t\tSystem.out.println(\"Player 01 Lives Left: \" + player01.getPlayerLives());\n\t\t\t\n\t\t\t// If all player 01's lives are lost..\n\t\t\tif(player01.getPlayerLives() == 0){\n\t\t\t\t\n\t\t\t\t// Invoke\n\t\t\t\tallPlayerLivesAreGone();\n\t\t\t}\n\t\t\t\n\t\t\t// If player02 is currently active.. \n\t\t} else {\n\t\t\t\n\t\t\tplayer02.deductlife();\n\t\t\tSystem.out.println(\"Player 02 has lost a life!\");\n\t\t\tSystem.out.println(\"Player 02 Lives Left: \" + player02.getPlayerLives());\n\t\t\t\n\t\t\tif(player02.getPlayerLives() == 0){\n\t\t\t\tallPlayerLivesAreGone();\n\t\t\t}\n\t\t}\n\t}", "public void resupply()\n {\n fuel = model.maxFuel;\n ammo = model.maxAmmo;\n }", "public void timePasses() {\r\n\t\tfor(Meter a: appMeters){\r\n\t\t\t//incremnts electric use each timepPasses as the fridge is always on\r\n\t\t\tif (a.getType().equals(\"Electric\")){\r\n\t\t\t\ta.incrementConsumed();\r\n\t\t}\r\n\t}\r\n\t}", "public void trainOnInstance(Instance inst) {\n\t\t\t\t\t\t\n\t\t\ttry{\t\t\t\t\n\t\t\t\tinstancesSeen++;\n\t\t\t\tupdateStats(inst);\n\t\t\t\t\n\t\t\t\tDoubleVector normaliezedExtendedInstance = PrepareExtendedFeatureVector(inst) ;\n\t\t\t\tdouble normaliezedTargetValue= NormalizeTarget(inst) ;\n\t\t\t\tResultSummary resultSummary = getMemberships (normaliezedExtendedInstance,normaliezedTargetValue) ;\n\t\t\t\t\n\t\t\t\tdouble error = resultSummary.getNormaliezedTargetValue() - resultSummary.getFinalPrediction() ;\n\t\t\t\tthis.CurModSSE += Math.pow(error, 2) ;\n\t\t\t\t\n\t\t\t\t// checking a possible drift\n//\t\t\t\tboolean drift =checkChangeDetection() ;\n//\t\t\t\tif (drift)\n//\t\t\t\t\tthis.countChangeDetected++ ;\n\t\t\t\tboolean drift = false ;\n\t\t\t\tif ((this.instancesSeen % graceperiod)==0){\n\t\t\t\t\tdrift =checkChangeDetection() ;\n\t\t\t\t\tif (drift){\n\t\t\t\t\t\tthis.countChangeDetected++ ;\n//\t\t\t\t\t\tthis.clearAllStats();\n\t\t\t\t\t\tthis.currentValidCandidates.clear() ;\n\t\t\t\t\t\tthis.currentNonReadyCandidates.clear() ;\n\t\t\t\t\t\tcurrentSystemVersion++ ;\n\t\t\t\t\t\tSystem.out.println(\"########After a drift################\");\n\t\t\t\t\t\tSystem.out.println(this);\n\t\t\t\t\t\tSystem.out.println(\"########################\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n// \t\tVarianceRationREduction\n\t\t\t\tif (learningCriteriaOption.getChosenIndex()==1) {\n\t\t\t\t\t// checking a possible extension\n//\t\t\t\t\tif (this.instancesSeen > graceperiod && !drift ) {\n\t\t\t\t\tif (!drift ) {\n\t\t\t\t\t\tboolean systemChanged = false ;\n\t\t\t\t\t\tVector <RuleVR> removeRules= new Vector<RuleVR>() ;\n\t\t\t\t\t\tVector <RuleVR> newRules= new Vector<RuleVR>() ;\n\t\t\t\t\t\tfor (FuzzyRule rule : rs){\n\t\t\t\t\t\t\tVector <RuleVR> expansions = ((RuleVR)rule).tryToExpand(confidence, tau) ;\n\t\t\t\t\t\t\tif (expansions != null) {\n\t\t\t\t\t\t\t\tsystemChanged = true ;\n\t\t\t\t\t\t\t\tif (chooseSingleRuleOption.isSet()) {\n\t\t\t\t\t\t\t\t\tif (expansions.get(0).getInitialMerit() > expansions.get(1).getInitialMerit()) {\n\t\t\t\t\t\t\t\t\t\tnewRules.add(expansions.get(0)) ;\n\t\t\t\t\t\t\t\t\t}else {\n\t\t\t\t\t\t\t\t\t\tnewRules.add(expansions.get(1)) ;\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif (rule !=defaultRule)\n\t\t\t\t\t\t\t\t\t\tremoveRules.add((RuleVR)rule) ;\n\t\t\t\t\t\t\t\t}else {\n\t\t\t\t\t\t\t\t\tremoveRules.add((RuleVR)rule) ;\n\t\t\t\t\t\t\t\t\tnewRules.addAll(expansions) ;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (systemChanged) {\n\t\t\t\t\t\t\trs.removeAll(removeRules) ;\n\t\t\t\t\t\t\trs.addAll(newRules) ;\n\t\t\t\t\t\t\tthis.clearAllStats();\n\t\t\t\t\t\t\tcurrentSystemVersion++ ;\n\t\t\t\t\t\t\tSystem.out.println(\"########################\");\n\t\t\t\t\t\t\tSystem.out.println(this);\n\t\t\t\t\t\t\tSystem.out.println(\"########################\");\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}//RMSEReduction\n\t\t\t\telse{\n\t\t\t\t\t// checking a possible extension\n\t\t\t\t\tif (this.instancesSeen > graceperiod && !drift ) {\n\t\t\t\t\t\tExtendedCandidateErrR bestExtension = this.checkValidExpansion();\n\t\t\t\t\t\tif ((bestExtension != null)) {\n\t\t\t\t\t\t\tif (chooseSingleRuleOption.isSet()) {\n\t\t\n\t\t\t\t\t\t\t\tVector<RuleErrR> newRules = bestExtension.CreateRuleFromExtension() ;\n\t\t\t\t\t\t\t\tif (bestExtension.getParentRule()!=defaultRule)\n\t\t\t\t\t\t\t\t\trs.remove(bestExtension.getParentRule()) ;\n\t\t\t\t\t\t\t\t\n\t\t//\t\t\t\t\t\tWe must choose the best candidate here!\n\t\t\t\t\t\t\t\tdouble [] SSESingleExtenstions = bestExtension.getMeanSSESingleExension() ;\n\t\t\t\t\t\t\t\tif (SSESingleExtenstions[0]<SSESingleExtenstions[1])\n\t\t\t\t\t\t\t\t\trs.add(newRules.get(0)) ;\n\t\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\t\trs.add(newRules.get(1)) ;\t\n\t\t\t\t\t\t\t\t\t\n\t\t//\t\t\t\t\t\trs.addAll(newRules) ;\n\t\t\t\t\t\t\t\tif (bestExtension.getParentRule()==defaultRule)\n\t\t\t\t\t\t\t\t\tdefaultRule.buildExtendedCandidates(bestExtension.getAttributeIndex());\n\t\t\n\t\t\t\t\t\t\t\tthis.clearAllStats();\n\t\t\t\t\t\t\t\tthis.currentValidCandidates.clear() ;\n\t\t\t\t\t\t\t\tthis.currentNonReadyCandidates.clear() ;\n\t\t\t\t\t\t\t\tcurrentSystemVersion++ ;\n\t\t\t\t\t\t\t\tSystem.out.println(\"########################\");\n\t\t\t\t\t\t\t\tSystem.out.println(this);\n\t\t\t\t\t\t\t\tSystem.out.println(\"########################\");\t\t\t\t\t\t\n\t\t\t\t\t\t\t}else {\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tExtendedCandidateErrR cbestExtension = this.checkValidExpansion();\n\n\t\t\t\t\t\t\t\tVector<RuleErrR> newRules = bestExtension.CreateRuleFromExtension() ;\n\t\t\t\t\t\t\t\trs.remove(bestExtension.getParentRule()) ;\n\t\t\t\t\t\t\t\trs.addAll(newRules) ;\n\t\t\t\t\t\t\t\tthis.clearAllStats();\n\t\t\t\t\t\t\t\tthis.currentValidCandidates.clear() ;\n\t\t\t\t\t\t\t\tthis.currentNonReadyCandidates.clear() ;\n\t\t\t\t\t\t\t\tcurrentSystemVersion++ ;\n\t\t\t\t\t\t\t\tSystem.out.println(\"########################\");\n\t\t\t\t\t\t\t\tSystem.out.println(this);\n\t\t\t\t\t\t\t\tSystem.out.println(\"########################\");\n\t\t\t\t\t\t\t}\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\t\n\t\t\t\tif (chooseSingleRuleOption.isSet()) {\n\t\t\t\t\tdouble maxMembership = 0 ;\n\t\t\t\t\tfor (ResultSummary.ResultPair resultPair: resultSummary.getResultPairs()) {\n\t\t\t\t\t\tresultPair.getRule().trainOnInstance(resultSummary, resultPair);\n\t\t\t\t\t\tmaxMembership = Math.max(maxMembership, resultPair.getMembership()) ;\n\t\t\t\t\t}\n\t\t\t\t\tif (maxMembership < max_Membership_For_Choosing_Single_Rule)\n\t\t\t\t\t\tdefaultRule.trainOnInstance(resultSummary, resultSummary.getResultPairDefaultRule()) ;\n\t\t\t\t}else{\n\t\t\t\t\tfor (ResultSummary.ResultPair resultPair: resultSummary.getResultPairs()) {\n\t\t\t\t\t\tresultPair.getRule().trainOnInstance(resultSummary, resultPair);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}catch (Exception ex){\n\t\t\t\tex.printStackTrace();\n\t\t\t}\n\t\t}", "public static void main(String[] args) {\r\n IModel model = new Model();\r\n\r\n model.addShape(\"R\", ShapeType.RECTANGLE, 1, 39, 1, 1, 1, 1, 20, 20, 20);\r\n model.addShape(\"B\", ShapeType.OVAL, 3, 45, 2, 2, 2, 2, 5, 5, 5);\r\n\r\n IMotion motion3 = new ChangeColor(\"R\", 13, 16, 30, 30, 30, 40, 40, 40);\r\n model.addMotion(motion3);\r\n\r\n IMotion motion1 = new ChangeColor(\"R\", 2, 10, 30, 30, 30, 40, 40, 40);\r\n model.addMotion(motion1);\r\n\r\n IMotion motion4 = new Scale(\"R\", 5, 7, 5, 2, 8, 8);\r\n model.addMotion(motion4);\r\n\r\n IMotion motion2 = new ChangeColor(\"R\", 10, 13, 30, 30, 30, 40, 40, 40);\r\n model.addMotion(motion2);\r\n\r\n IMotion motion5 = new ChangeColor(\"R\", 46, 49, 30, 30, 30, 40, 40, 40);\r\n model.addMotion(motion5);\r\n\r\n\r\n System.out.print(model.getState());\r\n\r\n\r\n }", "boolean addHardLoss();", "private void warResult() {\r\n // Get number of survivors alive\r\n int survivorCount = safeCount(survivors);\r\n if (survivorCount == 0) {\r\n System.out.println(\"None of the survivors made it.\");\r\n\t\t}\r\n else {\r\n System.out.println(\"It seems \" + survivorCount + \" have made it to safety.\");\r\n\t\t}\r\n }", "public void knowVillages() {\n\t\tleave.setKnown(true);\n\t\tarrive.setKnown(true);\n\t}", "public void modelShow() {\n\t\tSystem.out.println(\"秀衣服\");\n\t}", "public double getLifeExpectancy() {\n\n return lifeExpectancy;\n }", "public void resolution() {\n\t\tLigneProposition essai = new LigneProposition(p.getNbTrou());\n\t\t\n\t\tfor(int i = 0; i < p.getNbTrou(); i++) {\n\t\t\tessai.setAt(i, 1 + (int)(Math.random() * ((p.getNbCouleur() -1))));\n\t\t}\n\t\t\n\t\tp.ajouterEssai(essai);\n\t}", "public void lifeLost() {\n\n\t\tif (invincipleTimer <= currentTickCount) {\n\t\t\tSystem.out.println(\"Life Lost!\");\n\n\t\t\thealth--;\n\t\t\tinvincipleTimer = currentTickCount + invicibleLength;\n\t\t}\n\t}", "long getFeaturesUsed();", "private void evaluateProbabilities()\n\t{\n\t}", "public DeadModel( final LifeformModel lifeform ) {\n super( lifeform );\n }", "@Test(timeout = 4000)\n public void test04() throws Throwable {\n LovinsStemmer lovinsStemmer0 = new LovinsStemmer();\n TechnicalInformation technicalInformation0 = lovinsStemmer0.getTechnicalInformation();\n assertFalse(technicalInformation0.hasAdditional());\n }", "public void takeStep(float dt, WorldModel model){\n\t\t//this is a shit hack, but 12 hrs to go....\n\t\tif(!isPlayer){\n\t\t\t// do not want to update the player direction because that is alreayd set\n\t\t\t//by the player class, doing this also causes jittery behavior \n\t\t\tthis.myFlyweight.move(this, model);\n\t\t}\n\t\t//Integrate , update position based on speed and direction and time\n\t\tthis.position.addX(speedMultiplier*this.myFlyweight.getSpeed()* direction.getX() * dt);\n\t\tthis.position.addY(speedMultiplier*this.myFlyweight.getSpeed()* direction.getY() * dt);\n\t\t\n\t\t//resolve any collision like edge or food\n\t\tthis.myFlyweight.resolveCollision(this, model);\n\t\t//update animation frame\n\t\tthis.animationFrame = (this.animationFrame+1) % this.maxAnimationFrame;\n\t\t\n\t\t//pop feedback not run right now\n\t\tif(Controller.GAME_MODE == GameMode.POPULATION_FEEDBACK){\n\n\t\t\tif (this.foodLevel >= this.myFlyweight.getFoodRepro()) {\n\t\t\t\t// hmm what to do here? in a population study could increase\n\t\t\t\t// number\n\t\t\t}\n\t\t\t\n\t\t\tthis.depleteFood(dt); // has it starved\n\t\t\t\n\t\t\tif(hasStarved()){\n\t\t\t\tSystem.out.println(\"Someone starved, set living to false...\");\n\t\t\t\tthis.isLiving = false; // this will tell model to remove it from world\n\t\t\t}\n\t\t\t\n\t\t\tif(!isLiving()){\n\t\t\t\tmodel.wasConsumed(this);\n\t\t\t}\n\t\t}\n\t\n\t}", "public void calculateProbabilities(){\n\t}", "public void recalculateStats(){\n weight = .25f * (shaftMat.getParameter(\"Density\") * length + headMat.getParameter(\"Density\") * .4f);\n sharpness = headMat.getParameter(\"Malleability\") + 1f / headMat.getParameter(\"Durability\"); //Malleable objects can be sharp, as can fragile objects\n// fragility = 1f / (shaftMat.getParameter(\"Durability\") * .5f + headMat.getParameter(\"Durability\") * .5f);\n durability = (shaftMat.getParameter(\"Durability\") * .5f + headMat.getParameter(\"Durability\") * .5f);\n trueness = shaftMat.getParameter(\"Regularity\") + headMat.getParameter(\"Regularity\");\n// length = 2f;\n }", "private final void segmentsFrameEffects() {\n\t\tif (alive) {\n\t\t\tint i;\n\t\t\t// Energy obtained through photosynthesis\n\t\t\tdouble photosynthesis = 0;\n\t\t\t_nChildren = 1;\n\t\t\t_indigo =0;\n\t\t\t_lowmaintenance =0;\n\t\t\tint fertility =0;\n\t\t\tint yellowCounter =0;\n\t\t\tint reproduceearly =0;\n\t\t\tdouble goldenage =0;\n\t\t\t_isfrozen =false;\n\t\t\tboolean trigger =false;\n\t\t\tfor (i=_segments-1; i>=0; i--) {\n\t\t\t\t// Manteniment\n\t\t\t\tswitch (getTypeColor(_segColor[i])) {\n\t\t\t\t// \tMovement\n\t\t\t\tcase CYAN:\n\t\t\t\t\tif (Utils.random.nextInt(100)<8 && useEnergy(Utils.CYAN_ENERGY_CONSUMPTION)) {\n\t\t\t\t\t\tdx=Utils.between(dx+12d*(x2[i]-x1[i])/_mass, -Utils.MAX_VEL, Utils.MAX_VEL);\n\t\t\t\t\t\tdy=Utils.between(dy+12d*(y2[i]-y1[i])/_mass, -Utils.MAX_VEL, Utils.MAX_VEL);\n\t\t\t\t\t\tdtheta=Utils.between(dtheta+Utils.randomSign()*_m[i]*FastMath.PI/_I, -Utils.MAX_ROT, Utils.MAX_ROT);\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase TEAL:\n\t\t\t\t\tif (_geneticCode.getPassive()) {\n\t\t\t\t\t\tif (_hasdodged == false) {\n\t\t\t\t\t\t\t_dodge =true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t_lowmaintenance += 0.9 * _m[i];\n\t\t\t\t\t} else \n\t\t\t\t\t if (Utils.random.nextInt(100)<8 && useEnergy(Utils.CYAN_ENERGY_CONSUMPTION)) {\n\t\t\t\t\t\t dx=Utils.between(dx+12d*(x2[i]-x1[i])/_mass, -Utils.MAX_VEL, Utils.MAX_VEL);\n\t\t\t\t\t\t dy=Utils.between(dy+12d*(y2[i]-y1[i])/_mass, -Utils.MAX_VEL, Utils.MAX_VEL);\n\t\t\t\t\t\t dtheta=Utils.between(dtheta+Utils.randomSign()*_m[i]*FastMath.PI/_I, -Utils.MAX_ROT, Utils.MAX_ROT);\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\t// Photosynthesis\n\t\t\t\tcase SPRING:\n\t\t\t\t\t if (_geneticCode.getClockwise()) {\n\t\t\t\t\t\t dtheta=Utils.between(dtheta+0.1*_m[i]*FastMath.PI/_I, -Utils.MAX_ROT, Utils.MAX_ROT);\n\t\t\t\t\t\t photosynthesis += Utils.SPRING_ENERGY_CONSUMPTION * _mphoto[i];\n\t\t\t\t\t} else {\n\t\t\t\t\t dtheta=Utils.between(dtheta-0.1*_m[i]*FastMath.PI/_I, -Utils.MAX_ROT, Utils.MAX_ROT);\n\t\t\t\t\t photosynthesis += Utils.SPRING_ENERGY_CONSUMPTION * _mphoto[i];\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase LIME:\n\t\t\t\t\tif (trigger == false) {\n\t\t\t\t\t\ttrigger =true;\n\t\t\t\t\t if (_world.fastCheckHit(this) != null) {\n\t\t\t\t\t \t_crowded =true;\n\t\t\t\t\t } else {\n\t\t\t\t\t \t_crowded =false;\n\t\t\t\t\t }\n\t\t\t\t\t}\n\t\t\t\t\tif (_crowded == true) {\n\t\t\t\t\t photosynthesis += Utils.CROWDEDLIME_ENERGY_CONSUMPTION * _mphoto[i];\n\t\t\t\t\t} else {\n\t\t\t\t\t\tphotosynthesis += Utils.LIME_ENERGY_CONSUMPTION * _mphoto[i];\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase JADE:\n\t\t\t\t\t_isjade =true;\n\t\t\t\t\tphotosynthesis += Utils.JADE_ENERGY_CONSUMPTION * _mphoto[i];\n\t\t\t\t\tbreak;\n\t\t\t\tcase GREEN:\n\t\t\t\t\tphotosynthesis += Utils.GREEN_ENERGY_CONSUMPTION * _mphoto[i];\n\t\t\t\t\tbreak;\n\t\t\t\tcase FOREST:\n\t\t\t\t\tphotosynthesis += Utils.FOREST_ENERGY_CONSUMPTION * _mphoto[i];\n\t\t\t\t\tbreak;\n\t\t\t\tcase BARK:\n\t\t\t\t\tphotosynthesis += Utils.BARK_ENERGY_CONSUMPTION * _mphoto[i];\n\t\t\t\t\tbreak;\n\t\t\t\tcase GRASS:\n\t\t\t\t\tphotosynthesis += Utils.GRASS_ENERGY_CONSUMPTION * _mphoto[i];\n\t\t\t\t\tbreak;\n\t\t\t\tcase C4:\n\t\t\t\t\t_lowmaintenance += _m[i];\n\t\t\t\t\tphotosynthesis += Utils.C4_ENERGY_CONSUMPTION * _mphoto[i];\n\t\t\t\t\tbreak;\n\t\t\t\t// is a consumer\n\t\t\t\tcase RED:\n\t\t\t\t\t_isaconsumer =true;\n\t\t\t\t\tbreak;\n\t\t\t\tcase FIRE:\n\t\t\t\t\t_isaconsumer =true;\n\t\t\t\t\tbreak;\n\t\t\t\tcase ORANGE:\n\t\t\t\t\t_isaconsumer =true;\n\t\t\t\t\tbreak;\n\t\t\t\tcase MAROON:\n\t\t\t\t\t_isaconsumer =true;\n\t\t\t\t\t_lowmaintenance += 0.9 * _m[i];\n\t\t\t\t\tbreak;\n\t\t\t\tcase PINK:\n\t\t\t\t\t_isaconsumer =true;\n\t\t\t\t\tif (_isakiller < 2) {\n\t\t\t\t\t\t_lowmaintenance += 0.8 * _m[i];\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase CREAM:\n\t\t\t\t\t_isaconsumer =true;\n\t\t\t\t\tbreak;\n\t\t\t\t// Organisms with yellow segments have more children\n\t\t\t\tcase YELLOW:\n\t\t\t\t\tyellowCounter++;\n\t\t\t\t\tfertility += _m[i];\n\t\t\t\t break;\n\t\t\t\t// Experienced parents have more children\n\t\t\t\tcase SILVER:\n\t\t\t\t\tif (_isaconsumer == false) {\n\t\t\t\t\tfor (int c = 0; c < _segments; c++) {\n\t\t\t\t\t\tswitch (getTypeColor(_segColor[c])) {\n\t\t\t\t\t\tcase DARKGRAY:\n\t\t\t\t\t\tcase GRAY:\n\t\t\t\t\t\tcase LILAC:\n\t\t\t\t\t\tcase SPIKE:\n\t\t\t\t\t\tcase PLAGUE:\n\t\t\t\t\t\tcase CORAL:\n\t\t\t\t\t\t\t_isaconsumer =true;\n\t\t\t\t\t}}}\n\t\t\t\t\t if (_nTotalChildren >= 1 && _nTotalChildren < 5) {\n\t\t\t\t\t\t_nChildren = 2; \n\t\t\t\t\t} else if (_nTotalChildren >= 5 && _nTotalChildren < 14) {\n\t\t\t\t\t\t_nChildren = 3; \n\t\t\t\t\t} else if (_nTotalChildren >= 14 && _nTotalChildren < 30) {\n\t\t\t\t\t\t_nChildren = 4; \n\t\t\t\t\t} else if (_nTotalChildren >= 30 && _nTotalChildren < 55) {\n\t\t\t\t\t\t_nChildren = 5;\n\t\t\t\t\t} else if (_nTotalChildren >= 55 && _nTotalChildren < 91) {\n\t\t\t\t\t _nChildren = 6;\n\t\t\t\t\t} else if (_nTotalChildren >= 91 && _nTotalChildren < 140) {\n\t\t\t\t\t\t_nChildren = 7; \n\t\t\t\t\t} else if (_nTotalChildren >= 140) {\n\t\t\t\t\t\t_nChildren = 8;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\t// Auburn always has one real child if infected\n\t\t\t\tcase AUBURN:\n\t\t\t\t\t_isauburn =true;\n\t\t\t\t\t_lowmaintenance += _m[i] - (Utils.AUBURN_ENERGY_CONSUMPTION * _m[i]);\n\t\t\t\t\tif (_infectedGeneticCode != null && _nChildren == 1) {\n\t\t\t\t\t\t_nChildren = 2;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\t// Organisms with blond segments reproduce earlier\n\t\t\t\tcase BLOND:\n\t\t\t\t\treproduceearly += 3 + _m[i];\n\t\t\t\t\tbreak;\n\t\t\t\t// Organisms with indigo segments reduce the energy the new born virus receives\n\t\t\t\tcase INDIGO:\n\t\t\t\t\t_indigo += _m[i];\n\t\t\t\t\t_lowmaintenance += 0.8 * _m[i];\n\t\t\t\t\tbreak;\n\t\t\t\t// Plague forces an organism to reproduce the virus\n\t\t\t\tcase PLAGUE:\n\t\t\t\t\t_isplague =true;\n\t\t\t\t\tbreak;\n\t\t\t\t// Coral transforms particles and viruses\n\t\t\t\tcase CORAL:\n\t\t\t\t\t_iscoral =true;\n\t\t\t\t\tbreak;\n\t\t\t\t// Mint immunity against infections\t\n\t\t\t\tcase MINT:\n\t\t\t\t\t_isantiviral =true;\n\t\t\t\t\tif (_infectedGeneticCode != null && Utils.random.nextInt(Utils.IMMUNE_SYSTEM)<=_m[i] && useEnergy(Utils.MINT_ENERGY_CONSUMPTION)) {\n\t\t\t\t\t\t_infectedGeneticCode = null;\n\t\t\t\t\t\tsetColor(Utils.ColorMINT);\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\t// Healing\n\t\t\t\tcase MAGENTA:\n\t\t\t\t _isregenerative =true;\n\t\t\t\t for (int j = 0; j < _segments; j++) {\n\t\t\t\t if ((_segColor[j] == Utils.ColorLIGHTBROWN) || (_segColor[j] == Utils.ColorGREENBROWN) || (_segColor[j] == Utils.ColorPOISONEDJADE)\n\t\t\t\t\t\t|| (_segColor[j] == Utils.ColorBROKEN) || (_segColor[j] == Utils.ColorLIGHT_BLUE) || (_segColor[j] == Utils.ColorICE)\n\t\t\t\t\t\t|| (_segColor[j] == Utils.ColorDARKJADE) || (_segColor[j] == Utils.ColorDARKFIRE)) {\n\t\t\t\t\tif (Utils.random.nextInt(Utils.HEALING)<=_m[i] && useEnergy(Utils.MAGENTA_ENERGY_CONSUMPTION)) {\n\t\t\t\t\t _segColor[j] = _geneticCode.getGene(j%_geneticCode.getNGenes()).getColor(); \n\t\t\t\t\t}}}\n\t\t\t\t\tbreak;\n\t\t\t\tcase DARKFIRE:\n\t\t\t\t\tif (Utils.random.nextInt(100)<_geneticCode.getSymmetry() && useEnergy(Utils.MAGENTA_ENERGY_CONSUMPTION)) {\n\t\t\t\t\t\t_segColor[i] = _geneticCode.getGene(i%_geneticCode.getNGenes()).getColor(); \n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase DARKJADE:\n\t\t\t\t\t_isjade =true;\n\t\t\t\t\tif (Utils.random.nextInt(Utils.DARKJADE_DELAY * _geneticCode.getSymmetry() * _geneticCode.getSymmetry())<8) {\n\t\t\t\t\t\t_segColor[i] = Utils.ColorJADE; \n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\t// Normalize spike\n\t\t\t\tcase SPIKEPOINT:\n\t\t\t\t\t_segColor[i] = Utils.ColorSPIKE;\n\t\t\t\t\tbreak;\n\t\t\t\t// is a killer\n\t\t\t\tcase SPIKE:\n\t\t\t\t\tif (_isenhanced) {\n\t\t\t\t\t\t_isaconsumer =true;\n\t\t\t\t\t}\n\t\t\t\t\tif (_isakiller == 0) {\n\t\t\t\t\t\t_isakiller = 1;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase LILAC:\n\t\t\t\t\tif (_isakiller == 0) {\n\t\t\t\t\t\t_isakiller = 1;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase GRAY:\n\t\t\t\t\tif (_isakiller < 2) {\n\t\t\t\t\t _isakiller = 2;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\t// is poisonous\n\t\t\t\tcase VIOLET:\n\t\t\t\t\t_ispoisonous =true;\n\t\t\t\t\tbreak;\n\t\t\t\t// is a freezer\n\t\t\t\tcase SKY:\n\t\t\t\t\t_isafreezer =true;\n\t\t\t\t\tbreak;\n\t\t\t\t// is enhanced\n\t\t\t\tcase DARKGRAY:\n\t\t\t\t\t_isenhanced =true;\n\t\t\t\t\tbreak;\n\t\t\t\t// Energy transfer\n\t\t\t\tcase ROSE:\n\t\t\t\t\t_lowmaintenance += 0.99 * _m[i];\n\t\t\t\t\tif (_transfersenergy == false) {\n\t\t\t\t\t\t_transfersenergy =true;\n\t\t\t\t\t _lengthfriend = _geneticCode.getGene(i%_geneticCode.getNGenes()).getLength();\n\t\t\t\t\t _thetafriend = _geneticCode.getGene(i%_geneticCode.getNGenes()).getTheta();\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\t// Low maintenance\n\t\t\t\tcase DARK:\n\t\t\t\t\t_lowmaintenance += 0.99 * _m[i];\n\t\t\t\t\tbreak;\n\t\t\t\t// Organisms with gold segments live longer\n\t\t\t\tcase GOLD:\n\t\t\t\t\t_lowmaintenance += 0.9 * _m[i];\n\t\t\t\t\tgoldenage += (_m[i]/Utils.GOLD_DIVISOR);\n\t\t\t\t\t_geneticCode._max_age = Utils.MAX_AGE + ((_geneticCode.getNGenes() * _geneticCode.getSymmetry())/Utils.AGE_DIVISOR) + (int)goldenage;\n\t\t\t\t\tbreak;\n\t\t\t\t// is weakened\n\t\t\t\tcase LIGHTBROWN:\n\t\t\t\tcase GREENBROWN:\n\t\t\t\tcase POISONEDJADE:\n\t\t\t\t\tif (_remember) {\n\t\t\t\t\t\t_isjade =false;\n\t\t\t\t\t\t_isenhanced =false;\n\t\t\t\t\t\t_isantiviral =false;\n\t\t\t\t\t\t_isregenerative =false;\n\t\t\t\t\t\tfor (int c = 0; c < _segments; c++) {\n\t\t\t\t\t\t\tswitch (getTypeColor(_segColor[c])) {\n\t\t\t\t\t\t\tcase JADE:\n\t\t\t\t\t\t\t\t_isjade =true;\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase DARKJADE:\n\t\t\t\t\t\t\t\t_isjade =true;\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase DARKGRAY:\n\t\t\t\t\t\t\t\t_isenhanced =true;\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase MINT:\n\t\t\t\t\t\t\t\t_isantiviral =true;\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase MAGENTA:\n\t\t\t\t\t\t\t\t_isregenerative =true;\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t }\n\t\t\t\t\t\t}\n\t\t\t\t\t _geneticCode._max_age = Utils.MAX_AGE + ((_geneticCode.getNGenes() * _geneticCode.getSymmetry())/Utils.AGE_DIVISOR) + (int)goldenage;\n\t\t\t\t\t _remember =false;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase LIGHT_BLUE:\n\t\t\t\t\tif (_isafreezer) {\n\t\t\t\t\t\t_isafreezer =false;\n\t\t\t\t\t\tfor (int c = 0; c < _segments; c++) {\n\t\t\t\t\t\t\tswitch (getTypeColor(_segColor[c])) {\n\t\t\t\t\t\t\tcase SKY:\n\t\t\t\t\t\t\t\t_isafreezer =true;\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase DEEPSKY:\n\t\t\t\t\t\t\t\t_isafreezer =true;\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t }\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\t// is frozen\n\t\t\t\tcase ICE:\n\t\t\t\t\t_isfrozen =true;\n\t\t\t\t\tif (_isjade) {\n\t\t\t\t\t\t_isjade =false;\n\t\t\t\t\t\tfor (int c = 0; c < _segments; c++) {\n\t\t\t\t\t\t\tswitch (getTypeColor(_segColor[c])) {\n\t\t\t\t\t\t\tcase JADE:\n\t\t\t\t\t\t\t\t_isjade =true;\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase DARKJADE:\n\t\t\t\t\t\t\t\t_isjade =true;\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t }\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase DEADBARK:\n\t\t\t\t\t_isfrozen =true;\n\t\t\t\t\tbreak;\n\t\t\t\t// Restore abilities\n\t\t\t\tcase DARKLILAC:\n\t\t\t\t\tif (_isakiller == 0) {\n\t\t\t\t\t\t_isakiller = 1;\n\t\t\t\t\t}\n\t\t\t\t\tif (Utils.random.nextInt(100)<8) {\n\t\t\t\t\t\t_segColor[i] = Utils.ColorLILAC;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase DEEPSKY:\n\t\t\t\t\t_isafreezer =true;\n\t\t\t\t\tif (Utils.random.nextInt(100)<8) {\n\t\t\t\t\t\t_segColor[i] = Utils.ColorSKY;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase DARKOLIVE:\n\t\t\t\t\tif (Utils.random.nextInt(100)<8 && useEnergy(Utils.OLIVE_ENERGY_CONSUMPTION)) {\n\t\t\t\t\t\t_segColor[i] = Utils.ColorOLIVE;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\t// Reset dodging\n\t\t\tif (_hasdodged == true) {\n\t\t\t\t_dodge =false;\n\t\t\t\t_hasdodged =false;\n\t\t\t}\n\t\t\t//Get sun's energy\n\t\t\tif (photosynthesis > 0) {\n\t\t\t\t_isaplant =true;\n\t\t\t _energy += _world.photosynthesis(photosynthesis);\t\t\t\n\t\t\t}\n\t\t\t// Calculate number of children\n\t\t\tif (fertility > 0) {\n\t\t\t\tif (_geneticCode.getSymmetry() != 3) {\n\t\t\t\t _nChildren += (yellowCounter / _geneticCode.getSymmetry()) + (fertility / 23);\n\t\t\t } else {\n\t\t\t \t_nChildren += (yellowCounter / _geneticCode.getSymmetry()) + (fertility / 34);\n\t\t\t }\n\t\t\t}\n\t\t\t// Calculate reproduction energy for blond segments\n\t\t\tif ((reproduceearly > 0) && (_infectedGeneticCode == null)) {\n\t\t\t\tif (_energy > _geneticCode.getReproduceEnergy() - reproduceearly + Utils.YELLOW_ENERGY_CONSUMPTION*(_nChildren-1)) {\n\t\t\t\t\tif ((!_isaplant) && (!_isaconsumer)) {\n\t\t\t\t\t\tif ((_energy >= 10) && (_growthRatio<16) && (useEnergy(Utils.BLOND_ENERGY_CONSUMPTION))) {\n\t\t\t\t\t\t\t_nChildren = 1;\n\t\t\t\t\t _geneticCode._reproduceEnergy = Math.max((40 + 3 * _geneticCode.getNGenes() * _geneticCode.getSymmetry()) - reproduceearly, 10);\n\t\t\t\t\t reproduce();\n\t\t\t\t\t _geneticCode._reproduceEnergy = 40 + 3 * _geneticCode.getNGenes() * _geneticCode.getSymmetry();\t\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif ((_energy >= 30) && (_growthRatio==1) && (_timeToReproduce==0) && (useEnergy(Utils.BLOND_ENERGY_CONSUMPTION))) {\n\t\t\t\t\t\t _geneticCode._reproduceEnergy = Math.max((40 + 3 * _geneticCode.getNGenes() * _geneticCode.getSymmetry()) - reproduceearly, 30);\n\t\t\t\t\t\t reproduce();\n\t\t\t\t\t\t _geneticCode._reproduceEnergy = 40 + 3 * _geneticCode.getNGenes() * _geneticCode.getSymmetry();\t\t\t\t\t\t\t\n\t\t\t\t\t\t} \n\t\t\t\t\t}\n\t\t\t }\n\t\t\t}\n\t\t}\n\t}", "public static void main(String[] args) {\n\n\t\tRoboticCat kitty = new RoboticCat(\"Fluffy\", \"very furry cat\");\n\t\tSystem.out.println(kitty);\n\n\t\tRoboticCat kitty2 = new RoboticCat(\"duffy\", \"cat\");\n\t\tSystem.out.println(kitty2);\n\n\t\tVirtualPetShelter myShelter = new VirtualPetShelter();\n\n\t\tmyShelter.addPet(kitty);\n\t\tmyShelter.addPet(kitty2);\n\n\t\tSystem.out.println(\"Inital status\");\n\n\t\tfor (VirtualPet shelterCat : myShelter.getAllPets()) {\n\t\t\tdisplayRoboticCatStatus((RoboticCat) shelterCat);\n\t\t}\n\n\t\tSystem.out.println();\n\n\t\tfor (int i = 1; i < 6; i++) {\n\t\t\tmyShelter.tick();\n\t\t\tSystem.out.println(\"LitterBoxWasteLevel = : \" + myShelter.getLitterBoxWasteLevel());\n\t\t}\n\n\t\tSystem.out.println(\"After 5 ticks\");\n\t\tfor (VirtualPet shelterCat : myShelter.getAllPets()) {\n\t\t\tdisplayRoboticCatStatus((RoboticCat) shelterCat);\n\t\t}\n\t\tSystem.out.println();\n\n\t\tfor (int i = 1; i < 6; i++) {\n\t\t\tmyShelter.tick();\n\t\t\tSystem.out.println(\"LitterBoxWasteLevel = : \" + myShelter.getLitterBoxWasteLevel());\n\t\t}\n\n\t\tSystem.out.println(\"After 10 ticks\");\n\t\tfor (VirtualPet shelterCat : myShelter.getAllPets()) {\n\t\t\tdisplayRoboticCatStatus((RoboticCat) shelterCat);\n\t\t}\n\t\tSystem.out.println();\n\n\t\tfor (int i = 1; i < 6; i++) {\n\t\t\tmyShelter.tick();\n\t\t\tSystem.out.println(\"LitterBoxWasteLevel = : \" + myShelter.getLitterBoxWasteLevel());\n\t\t}\n\n\t\tSystem.out.println(\"After 15 ticks\");\n\t\tfor (VirtualPet shelterCat : myShelter.getAllPets()) {\n\t\t\tdisplayRoboticCatStatus((RoboticCat) shelterCat);\n\t\t}\n\t\tSystem.out.println();\n\n\t}", "public void takeLife()\n\t{\n\t\tlives --;\n\t}", "public void propose(RocketModel proposedModel) {\r\n if (proposedModel.getStateEngine().getCurrentState() instanceof IdleState \r\n && stateEngine.getCurrentState() instanceof LaunchedState) {\r\n stateEngine.setIdleState();\r\n stateEngine.getCurrentState().render(this);\r\n } else if (stateEngine.getCurrentState() instanceof LaunchedState) {\r\n stateEngine.getCurrentState().render(this);\r\n } else if (proposedModel.getStateEngine().getCurrentState() instanceof ReadyState \r\n && stateEngine.getCurrentState() instanceof IdleState) {\r\n stateEngine.setReadyState();\r\n stateEngine.getCurrentState().render(this);\r\n } else if (proposedModel.getStateEngine().getCurrentState() instanceof CountingState \r\n && stateEngine.getCurrentState() instanceof ReadyState) {\r\n counter = proposedModel.getCounter();\r\n stateEngine.setCountingState();\r\n stateEngine.getCurrentState().render(this);\r\n } else if (proposedModel.getStateEngine().getCurrentState() instanceof CountingState \r\n && stateEngine.getCurrentState() instanceof CountingState) {\r\n if (proposedModel.getCounter() == 0) {\r\n stateEngine.setLaunchedState();\r\n stateEngine.getCurrentState().render(this);\r\n }\r\n counter = proposedModel.getCounter();\r\n stateEngine.getCurrentState().render(this);\r\n } else if (proposedModel.getStateEngine().getCurrentState() instanceof AbortedState \r\n && stateEngine.getCurrentState() instanceof CountingState) {\r\n stateEngine.setAbortedState();\r\n stateEngine.getCurrentState().render(this);\r\n } else if (proposedModel.getStateEngine().getCurrentState() instanceof AbortedState \r\n && stateEngine.getCurrentState() instanceof AbortedState && proposedModel.getCounter() == 0) {\r\n stateEngine.setIdleState();\r\n stateEngine.getCurrentState().render(this);\r\n }\r\n }", "@Override\n public void computeSatisfaction() {\n\n }", "@Override\r\n\tpublic String lives() {\n\t\treturn \"lives in land and water\";\r\n\t}" ]
[ "0.59450805", "0.5818587", "0.5754108", "0.57510465", "0.57049423", "0.55624336", "0.5538818", "0.5536976", "0.5520041", "0.5514377", "0.5486528", "0.54820144", "0.5477373", "0.5468502", "0.54616886", "0.54421824", "0.5415279", "0.53643197", "0.5358826", "0.53555596", "0.534032", "0.53299", "0.53212583", "0.5310452", "0.5310237", "0.53004545", "0.5298433", "0.5295064", "0.5292285", "0.5288991", "0.5266425", "0.5261118", "0.5250266", "0.5249175", "0.5245093", "0.52424693", "0.52316225", "0.5227164", "0.522547", "0.5220178", "0.52183884", "0.5191989", "0.51867455", "0.5179254", "0.5177931", "0.5168609", "0.51627356", "0.5150485", "0.5147967", "0.51427436", "0.5137746", "0.5135059", "0.51138103", "0.51126486", "0.5110454", "0.5107941", "0.51078284", "0.509891", "0.50983727", "0.5096817", "0.50962067", "0.508981", "0.5081392", "0.50754523", "0.50720763", "0.5071471", "0.5070203", "0.5067415", "0.5066325", "0.5065795", "0.5064416", "0.5062861", "0.504916", "0.5046567", "0.50440675", "0.5043749", "0.50436026", "0.5041458", "0.5037411", "0.5034561", "0.5026507", "0.5022883", "0.5022112", "0.5021573", "0.5019488", "0.50194824", "0.501295", "0.5010156", "0.50044155", "0.50012475", "0.5000336", "0.5000115", "0.50000924", "0.49969956", "0.49906927", "0.4989238", "0.49886796", "0.49866918", "0.498375", "0.49819076" ]
0.4984822
98
/ F8 The system shall display the selected RUL model parameters.
@Test public void f8DisplayParametersTest() { clickOn("#assetTypeMenuBtn").sleep(1000); //select first asset type Node node = lookup("#columnName").nth(1).query(); clickOn(node).sleep(1000); //go to model tab clickOn(scene.getRoot().lookup("#modelTab")).sleep(1000); FlowPane models = (FlowPane) scene.getRoot().lookup("#modelsThumbPane"); VBox parameters = (VBox) scene.getRoot().lookup("#modelParameters"); int i; //Iterate through all the models and their parameters for (int j = 0; j < models.getChildren().size(); j++) { i = 0; clickOn(models.getChildren().get(j)); if (j == 4) { scroll(90, VerticalDirection.UP); } while (i < parameters.getChildren().size()) { clickOn(parameters.getChildren().get(i++)).sleep(500); if (i == 10) { scroll(60, VerticalDirection.UP); } } } assertEquals("There should be 8 models", 8, models.getChildren().size()); assertNotNull("Parameters exist", parameters); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void display() { System.err.println(\"Train parameters: smooth=\" + smoothing + \" PA=\" + PA + \" GPA=\" + gPA + \" selSplit=\" + selectiveSplit + \" (\" + selectiveSplitCutOff + (deleteSplitters != null ? \"; deleting \" + deleteSplitters : \"\") + \")\" + \" mUnary=\" + markUnary + \" mUnaryTags=\" + markUnaryTags + \" sPPT=\" + splitPrePreT + \" tagPA=\" + tagPA + \" tagSelSplit=\" + tagSelectiveSplit + \" (\" + tagSelectiveSplitCutOff + \")\" + \" rightRec=\" + rightRec + \" leftRec=\" + leftRec + \" xOverX=\" + xOverX + \" collinsPunc=\" + collinsPunc + \" markov=\" + markovFactor + \" mOrd=\" + markovOrder + \" hSelSplit=\" + hSelSplit + \" (\" + HSEL_CUT + \")\" + \" compactGrammar=\" + compactGrammar() + \" leaveItAll=\" + leaveItAll + \" postPA=\" + postPA + \" postGPA=\" + postGPA + \" selPSplit=\" + selectivePostSplit + \" (\" + selectivePostSplitCutOff + \")\" + \" tagSelPSplit=\" + tagSelectivePostSplit + \" (\" + tagSelectivePostSplitCutOff + \")\" + \" postSplitWithBase=\" + postSplitWithBaseCategory + \" fractionBeforeUnseenCounting=\" + fractionBeforeUnseenCounting + \" openClassTypesThreshold=\" + openClassTypesThreshold); }", "public void setValuesForDisplay() {\n \tthis.trainModelGUI.tempLabel.setText(Integer.toString(this.temperature) + DEGREE + \"F\");\n\n //this.trainCars = this.trainModelGUI.numCars();\n this.trainWheels = this.trainCars * TRAIN_NUM_WHEELS;\n this.trainModelGUI.crewCountLabel.setText(Integer.toString(crew));\n this.trainModelGUI.heightVal.setText(Double.toString(truncateTo(this.trainHeight, 2)));\n this.trainModelGUI.widthVal.setText(Double.toString(truncateTo(this.trainWidth, 2)));\n this.trainModelGUI.lengthVal.setText(Double.toString(truncateTo(this.trainLength, 2)));\n this.trainModelGUI.weightVal.setText(Integer.toString(((int)this.trainWeight)));\n this.trainModelGUI.capacityVal.setText(Integer.toString(this.trainCapacity));\n this.trainModelGUI.powerVal.setText(Double.toString(truncateTo(this.powerIn/1000,2)));\n \n GPSAntenna = this.trainModelGUI.signalFailStatus();\n if(!GPSAntenna) {\n \tthis.trainModelGUI.gpsAntennaStatusLabel.setText(\"ON\");\n } else {\n \tthis.trainModelGUI.gpsAntennaStatusLabel.setText(\"OFF\");\n }\n MBOAntenna = this.trainModelGUI.signalFailStatus();\n if(!MBOAntenna) {\n \tthis.trainModelGUI.mboAntennaStatusLabel.setText(\"ON\");\n } else {\n \tthis.trainModelGUI.mboAntennaStatusLabel.setText(\"OFF\");\n }\n \t\n \tthis.trainModelGUI.timeVal.setText(trnMdl.currentTime.toString());\n \tthis.trainModelGUI.stationVal.setText(this.station);\n \t\n \tif(rightDoorIsOpen == true) {\n \tthis.trainModelGUI.rightDoorStatusLabel.setText(\"OPEN\");\n } else {\n \tthis.trainModelGUI.rightDoorStatusLabel.setText(\"CLOSED\");\n }\n \tif(leftDoorIsOpen == true) {\n \tthis.trainModelGUI.leftDoorStatusLabel.setText(\"OPEN\");\n } else {\n \tthis.trainModelGUI.leftDoorStatusLabel.setText(\"CLOSED\");\n }\n\n \tif(lightsAreOn == true) {\n \t\tthis.trainModelGUI.lightStatusLabel.setText(\"ON\");\n } else {\n \tthis.trainModelGUI.lightStatusLabel.setText(\"OFF\");\n }\n \t\n \tthis.trainModelGUI.numPassengers.setText(Integer.toString(this.numPassengers));\n \tthis.trainModelGUI.numCarsSpinner.setText(Integer.toString(this.trainCars));\n \tthis.trainModelGUI.authorityVal.setText(Double.toString(truncateTo(this.CTCAuthority/METERS_PER_MILE,2)));\n \tthis.trainModelGUI.ctcSpeedLabel.setText(Double.toString(truncateTo(this.CTCSpeed*KPH_TO_MPH,2)));\n \t\n \tif(serviceBrake) {\n \t\tthis.trainModelGUI.serviceLabel.setText(\"ON\");\n } else {\n \tthis.trainModelGUI.serviceLabel.setText(\"OFF\");\n }\n \tif(emerBrake) {\n \t\tthis.trainModelGUI.emergencyLabel.setText(\"ON\");\n } else {\n \tthis.trainModelGUI.emergencyLabel.setText(\"OFF\");\n }\n \t\n \tif(this.arrivalStatus == ARRIVING) {\n \t\tthis.trainModelGUI.arrivalStatusLabel.setText(\"ARRIVING\");\n \t} else if (this.arrivalStatus == EN_ROUTE) {\n \t\tthis.trainModelGUI.arrivalStatusLabel.setText(\"EN ROUTE\");\n \t} else if (this.arrivalStatus == APPROACHING) {\n \t\tthis.trainModelGUI.arrivalStatusLabel.setText(\"APPROACHING\");\n \t} else {\n \t\tthis.trainModelGUI.arrivalStatusLabel.setText(\"DEPARTING\");\n embarkingPassengersSet = false;\n \t}\n\n \tthis.trainModelGUI.currentSpeedLabel.setText(Double.toString(truncateTo((this.currentSpeed*MS_TO_MPH), 2)));\n \n \tif (this.lineColor.equals(\"GREEN\")) {\n \t\tthis.trainModelGUI.lblLine.setText(lineColor);\n \t\tthis.trainModelGUI.lblLine.setForeground(Color.GREEN);\n \t} else {\n \t\tthis.trainModelGUI.lblLine.setText(\"RED\");\n \t\tthis.trainModelGUI.lblLine.setForeground(Color.RED);\n }\n \t\n }", "public void modelShow() {\n\t\tSystem.out.println(\"秀衣服\");\n\t}", "public void editSimulationParameters() {\r\n \t\tdialogFactory.getDialog(new SimulationPanel(model, model, model, this), \"Define Simulation Parameters\");\r\n \t}", "public void getRetreivalParameter() {\n \n \tretModelName = prop.getProperty(\"retModel\");\n \t\n \tswitch(retModelName) \n \t{\n \tcase \"lmjm\":\n \t\tretModelParam1 = prop.getProperty(\"param1\");\n \t\tbreak;\n \tcase \"lmdir\":\n \t\tretModelParam1 = prop.getProperty(\"param1\");\n \t\tbreak;\n \tcase \"bm25\":\n \t\tretModelParam1 = prop.getProperty(\"param1\");\n \t\tretModelParam2 = prop.getProperty(\"param2\");\n \t\tbreak;\n \tcase \"dfr\": \n \t\tretModelParam1 = prop.getProperty(\"param1\");\n \t\tretModelParam2 = prop.getProperty(\"param2\");\n \t\tretModelParam3 = prop.getProperty(\"param3\");\n \t\tbreak;\n \tdefault :\n \t\tSystem.err.println(\"Sorry! No such retrieval models found.\");\n \t\treturn;\n \t}\n }", "public void editPAParameters() {\r\n \t\tdialogFactory.getDialog(new ParametricAnalysisPanel(model, model, model, this), \"Define What-if analysis parameters\");\r\n \t}", "private void showrecordthroughmodel()\n {\n if(treatmentRequestModel != null)\n {\n tv_right_hand_dia.setText(\"\" + treatmentRequestModel.getSYSBeforeRight());\n tv_right_hand_sys.setText(\"\" + treatmentRequestModel.getDIABeforeRight());\n tv_right_hand_pulse.setText(\"\" + treatmentRequestModel.getPulseBeforeRight());\n\n tv_left_hand_dia.setText(\"\" + treatmentRequestModel.getDIABeforeLeft());\n tv_left_hand_sys.setText(\"\" + treatmentRequestModel.getSYSBeforeLeft());\n tv_left_hand_pulse.setText(\"\" + treatmentRequestModel.getPulseBeforeLeft());\n }\n\n }", "public void updateParameters(){\n\t\tp = RunEnvironment.getInstance().getParameters();\n\t\tmaxFlowerNectar = (double)p.getValue(\"maxFlowerNectar\");\n\t\tlowMetabolicRate = (double)p.getValue(\"lowMetabolicRate\");\n\t\thighMetabolicRate = (double)p.getValue(\"highMetabolicRate\");\n\t\tcolonySize = (int)p.getValue(\"colonySize\");\n\t}", "public void refreshGUIConfiguration() {\n\t\tcbxFEP.setSelectedItem(Initializer.getFEPname());\n\t\ttxtPort.setText(String.valueOf(Initializer.getPortNumber()));\n\t\t\n\t\tfor(Map.Entry<String, String> value : Initializer.getConfigurationTracker().getFepPropertiesMap().entrySet()) {\n\t\t\tif(value.getKey().equals(\"valueOfBitfield76\")) {\n\t\t\t\tSystem.out.println(value.getValue());\n\t\t\t}\n\t\t}\n\t\t\n\t\tif (Initializer.getConfigurationTracker().getFepPropertiesMap()\n\t\t\t\t.get(Initializer.getBaseConstants().sendResponseVariableName).equalsIgnoreCase(\"No\")) {\n\t\t\trdbtnDontSendResponse.setSelected(true);\n\t\t} else {\n\t\t\trdbtnSendResponse.setSelected(true);\n\t\t}\n\n\t\tif (Initializer.getConfigurationTracker().getFepPropertiesMap()\n\t\t\t\t.get(Initializer.getBaseConstants().authorizationResultVariableName)\n\t\t\t\t.equalsIgnoreCase(Initializer.getBaseConstants().approvalValue)) {\n\t\t\trdbtnAuthorizationApprove.setSelected(true);\n\t\t} else if (Initializer.getConfigurationTracker().getFepPropertiesMap()\n\t\t\t\t.get(Initializer.getBaseConstants().authorizationResultVariableName)\n\t\t\t\t.equalsIgnoreCase(Initializer.getBaseConstants().declineValue)) {\n\t\t\trdbtnAuthorizationDecline.setSelected(true);\n\t\t} else if (Initializer.getConfigurationTracker().getFepPropertiesMap()\n\t\t\t\t.get(Initializer.getBaseConstants().authorizationResultVariableName)\n\t\t\t\t.equalsIgnoreCase(Initializer.getBaseConstants().partialApprovalValue)) {\n\t\t\trdbtnAuthorizationPartiallyapprove.setSelected(true);\n\t\t}\n\n\t\tif (Initializer.getConfigurationTracker().getFepPropertiesMap()\n\t\t\t\t.get(Initializer.getBaseConstants().financialSalesResultVariableName)\n\t\t\t\t.equalsIgnoreCase(Initializer.getBaseConstants().approvalValue)) {\n\t\t\trdbtnFinancialSalesApprove.setSelected(true);\n\t\t} else if (Initializer.getConfigurationTracker().getFepPropertiesMap()\n\t\t\t\t.get(Initializer.getBaseConstants().financialSalesResultVariableName)\n\t\t\t\t.equalsIgnoreCase(Initializer.getBaseConstants().declineValue)) {\n\t\t\trdbtnFinancialSalesDecline.setSelected(true);\n\t\t} else if (Initializer.getConfigurationTracker().getFepPropertiesMap()\n\t\t\t\t.get(Initializer.getBaseConstants().financialSalesResultVariableName)\n\t\t\t\t.equalsIgnoreCase(Initializer.getBaseConstants().partialApprovalValue)) {\n\t\t\trdbtnFinancialSalesPartiallyapprove.setSelected(true);\n\t\t}\n\n\t\tif (Initializer.getConfigurationTracker().getFepPropertiesMap()\n\t\t\t\t.get(Initializer.getBaseConstants().financialForceDraftResultVariableName)\n\t\t\t\t.equalsIgnoreCase(Initializer.getBaseConstants().approvalValue)) {\n\t\t\trdbtnFinancialForceDraftApprove.setSelected(true);\n\t\t} else if (Initializer.getConfigurationTracker().getFepPropertiesMap()\n\t\t\t\t.get(Initializer.getBaseConstants().financialForceDraftResultVariableName)\n\t\t\t\t.equalsIgnoreCase(Initializer.getBaseConstants().declineValue)) {\n\t\t\trdbtnFinancialForceDraftDecline.setSelected(true);\n\t\t}\n\n\t\tif (Initializer.getConfigurationTracker().getFepPropertiesMap()\n\t\t\t\t.get(Initializer.getBaseConstants().reconciliationResultVariableName)\n\t\t\t\t.equalsIgnoreCase(Initializer.getBaseConstants().approvalValue)) {\n\t\t\trdbtnReconciliationApprove.setSelected(true);\n\t\t} else if (Initializer.getConfigurationTracker().getFepPropertiesMap()\n\t\t\t\t.get(Initializer.getBaseConstants().reconciliationResultVariableName)\n\t\t\t\t.equalsIgnoreCase(Initializer.getBaseConstants().declineValue)) {\n\t\t\trdbtnReconciliationDecline.setSelected(true);\n\t\t}\n\n\t\tif (Initializer.getConfigurationTracker().getFepPropertiesMap()\n\t\t\t\t.get(Initializer.getBaseConstants().reversalResultVariableName)\n\t\t\t\t.equalsIgnoreCase(Initializer.getBaseConstants().approvalValue)) {\n\t\t\trdbtnReversalApprove.setSelected(true);\n\t\t} else if (Initializer.getConfigurationTracker().getFepPropertiesMap()\n\t\t\t\t.get(Initializer.getBaseConstants().reversalResultVariableName)\n\t\t\t\t.equalsIgnoreCase(Initializer.getBaseConstants().declineValue)) {\n\t\t\trdbtnReversalDecline.setSelected(true);\n\t\t}\n\n\t\ttxtDeclineCode\n\t\t\t\t.setText(Initializer.getConfigurationTracker().getFepPropertiesMap().get(\"ValueOfBitfield39Decline\"));\n\t\ttxtApprovalAmount.setText(Initializer.getConfigurationTracker().getFepPropertiesMap().get(\"valueOfBitfield4\"));\n\t\tif (Initializer.getConfigurationTracker().getFepPropertiesMap().get(\"isHalfApprovalRequired\")\n\t\t\t\t.equalsIgnoreCase(\"true\")) {\n\t\t\tchckbxApproveForHalf.setSelected(true);\n\t\t\ttxtApprovalAmount.setEnabled(false);\n\t\t} else {\n\t\t\tchckbxApproveForHalf.setSelected(false);\n\t\t\ttxtApprovalAmount.setEnabled(true);\n\t\t}\n\t\t\n\t\tlogger.debug(\"GUI configuration updated based on the FEP properties configured\");\n\t}", "public synchronized void PrintDisplayList()\t{\n\t\tSystem.out.print(\"\\n\\tCar Model:\"+getModel()+\"\\n\\tBase Price is:\"\n +getBasePrice());\n\t\tfor(OptionSet Temp: opset)\n System.out.print(Temp.DisplayOptionSet());\n }", "void showNoneParametersView();", "private static void showSpr(MicroBlazeProcessor mb) {\r\n SpecialPurposeRegisters spr = mb.getSpecialRegisters();\r\n //System.out.println(\"Special Register Values:\");\r\n console.print(\"Special Register Values:\");\r\n for (SpecialRegister reg : SpecialRegister.values()) {\r\n int value = spr.read(reg);\r\n String stringValue;\r\n switch(reg) {\r\n case rmsr:\r\n stringValue = Integer.toBinaryString(value);\r\n stringValue = BitOperations.padBinaryString(stringValue, 32);\r\n //System.out.println(reg.name() + \":\" + stringValue);\r\n console.print(reg.name() + \":\" + stringValue);\r\n break;\r\n case resr:\r\n stringValue = Integer.toBinaryString(value);\r\n stringValue = BitOperations.padBinaryString(stringValue, 32);\r\n //System.out.println(reg.name() + \":\" + stringValue);\r\n console.print(reg.name() + \":\" + stringValue);\r\n break;\r\n case rpc:\r\n stringValue = Integer.toHexString(value);\r\n stringValue = BitOperations.padHexString(stringValue, 8);\r\n //System.out.println(reg.name() + \":\" + stringValue);\r\n console.print(reg.name() + \":\" + stringValue);\r\n break;\r\n default:\r\n //System.out.println(reg.name() + \":\" + value);\r\n console.print(reg.name() + \":\" + value);\r\n break;\r\n\r\n }\r\n \r\n }\r\n }", "public void display() {\r\n System.out.println(firstPrompt + \"[\" + minScale + \"-\" + maxScale + \"]\");\r\n }", "public void disp(){\r\n\t\t\t\r\n\t\t\t\r\n\t\t\tSystem.out.println(\"------------------------------------------- \");\r\n\t\t\tSystem.out.println(\"Feature Model \");\r\n\t\t\tSystem.out.println(\"------------------------------------------- \");\r\n\t\t\tSystem.out.println(\"The mandatory feature:\");\r\n\t\t\tfor(int i = 0; i < this.mandatoryFeatures.size(); i++ ){\r\n\t\t\t\tthis.mandatoryFeatures.get(i).disp();\r\n\t\t\t}//for\r\n\t\t\tSystem.out.println(\"Optional features:\");\r\n\t\t\tfor(int i = 0; i < this.optionalFeatures.size(); i++ ){\r\n\t\t\t\tthis.optionalFeatures.get(i).disp();\r\n\t\t\t}//for\r\n\t\t\tfor(int i = 0; i < this.alternativeFeatureGroup.size(); i++ ){\r\n\t\t\t\tSystem.out.println(\"Alternative features:\");\r\n\t\t\t\tfor(int j = 0; j < alternativeFeatureGroup.get(i).getFeatures().size(); j++ ){\r\n\t\t\t\t\talternativeFeatureGroup.get(i).getFeatures().get(j).disp();\r\n\t\t\t\t}//for\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t\r\n\t\t\tfor(int i = 0; i < this.orFeatureGroup.size(); i++ ){\r\n\t\t\t\tSystem.out.println(\"Or features:\");\r\n\t\t\t\tfor(int j = 0; j < orFeatureGroup.get(i).getFeatures().size(); j++ ){\r\n\t\t\t\t\torFeatureGroup.get(i).getFeatures().get(j).disp();\r\n\t\t\t\t}//for\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t\r\n\t\t\tSystem.out.println(\"Constraints:\");\r\n\t\t\tfor(int i = 0; i < this.constraints.size(); i++ ){\r\n\t\t\t\tthis.constraints.get(i).disp();\r\n\t\t\t}//for\r\n\t\t}", "public void updateSiteParams() {\n //get the selected IMR\n\tScalarIntensityMeasureRelationshipAPI imr = imrGuiBean.getSelectedIMR_Instance();\n\tsiteGuiBean.replaceSiteParams(imr.getSiteParamsIterator());\n\tsiteGuiBean.validate();\n siteGuiBean.repaint();\n }", "public void ShowData() {\t\n\t\t\t\n\t\t\tShort SR0= cpu.getR0();\n\t\t\tString strR0 = String.format(\"%16s\",Integer.toBinaryString(SR0.intValue())).replace(' ', '0');\n\t\t\tif(strR0.length()>16){\n\t\t\t\tstrR0=strR0.substring(strR0.length()-16,strR0.length());\n\t\t\t}\n\t\t\tint a = 0;\n\t\t\twhile(a < strR0.length()) {\n\t\t\t\tchar[] chara = strR0.toCharArray();\n\t\t\t\tif (chara[a] == '1') {\n\t\t\t\t\tR0[a].setSelected(true);\n\t\t\t\t} else {\n\t\t\t\t\tR0[a].setSelected(false);\n\t\t\t\t}\n\t\t\t\ta++;\n\t\t\t}\n\n\t\t\tShort SR1 = cpu.getR1();\n\t\t\tString strR1 = String.format(\"%16s\",Integer.toBinaryString(SR1.intValue())).replace(' ', '0');\n\t\t\tif(strR1.length()>16){\n\t\t\t\tstrR1=strR1.substring(strR1.length()-16,strR1.length());\n\t\t\t}\n\t\t\tint b = 0;\n\t\t\twhile(b < strR1.length()) {\n\t\t\t\tchar[] charb = strR1.toCharArray();\n\t\t\t\tif (charb[b] == '1') {\n\t\t\t\t\tR1[b].setSelected(true);\n\t\t\t\t} else {\n\t\t\t\t\tR1[b].setSelected(false);\n\t\t\t\t}\n\t\t\t\tb++;\n\t\t\t}\n\t\t\t\n\t\t\tShort SR2 = cpu.getR2();\n\t\t\tString strR2 = String.format(\"%16s\",Integer.toBinaryString(SR2.intValue())).replace(' ', '0');\n\t\t\tif(strR2.length()>16){\n\t\t\t\tstrR2=strR2.substring(strR2.length()-16,strR2.length());\n\t\t\t}\n\t\t\tint c = 0;\n\t\t\twhile(c < strR2.length()) {\n\t\t\t\tchar[] charc = strR2.toCharArray();\n\t\t\t\tif (charc[c] == '1') {\n\t\t\t\t\tR2[c].setSelected(true);\n\t\t\t\t} else {\n\t\t\t\t\tR2[c].setSelected(false);\n\t\t\t\t}\n\t\t\t\tc++;\n\t\t\t}\n\t\t\t\n\t\t\tShort SR3 = cpu.getR3();\n\t\t\tString strR3 = String.format(\"%16s\",Integer.toBinaryString(SR3.intValue())).replace(' ', '0');\n\t\t\tif(strR3.length()>16){\n\t\t\t\tstrR3=strR3.substring(strR3.length()-16,strR3.length());\n\t\t\t}\n\t\t\tint d = 0;\n\t\t\twhile(d < strR3.length()) {\n\t\t\t\tchar[] chard = strR3.toCharArray();\n\t\t\t\tif (chard[d] == '1') {\n\t\t\t\t\tR3[d].setSelected(true);\n\t\t\t\t} else {\n\t\t\t\t\tR3[d].setSelected(false);\n\t\t\t\t}\n\t\t\t\td++;\n\t\t\t}\n\t\t\t\n\t\t\tShort SX1 = cpu.getX1();\n\t\t\tString strX1 = String.format(\"%16s\",Integer.toBinaryString(SX1.intValue())).replace(' ', '0');\n\t\t\tif(strX1.length()>16){\n\t\t\t\tstrX1=strX1.substring(strX1.length()-16,strX1.length());\n\t\t\t}\n\t\t\tint f = 0;\n\t\t\twhile(f < strX1.length()) {\n\t\t\t\tchar[] charf = strX1.toCharArray();\n\t\t\t\tif (charf[f] == '1') {\n\t\t\t\t\tX1[f].setSelected(true);\n\t\t\t\t} else {\n\t\t\t\t\tX1[f].setSelected(false);\n\t\t\t\t}\n\t\t\t\tf++;\n\t\t\t}\n\t\t\t\n\t\t\tShort SX2 = cpu.getX2();\n\t\t\tString strX2 = String.format(\"%16s\",Integer.toBinaryString(SX2.intValue())).replace(' ', '0');\n\t\t\tif(strX2.length()>16){\n\t\t\t\tstrX2=strX2.substring(strX2.length()-16,strX2.length());\n\t\t\t}\n\t\t\tint g = 0;\n\t\t\twhile(g < strX2.length()) {\n\t\t\t\tchar[] charg = strX2.toCharArray();\n\t\t\t\tif (charg[g] == '1') {\n\t\t\t\t\tX2[g].setSelected(true);\n\t\t\t\t} else {\n\t\t\t\t\tX2[g].setSelected(false);\n\t\t\t\t}\n\t\t\t\tg++;\n\t\t\t}\n\t\t\t\n\t\t\tShort SX3 = cpu.getX3();\n\t\t\tString strX3 = String.format(\"%16s\",Integer.toBinaryString(SX3.intValue())).replace(' ', '0');\n\t\t\tif(strX3.length()>16){\n\t\t\t\tstrX3=strX3.substring(strX3.length()-16,strX3.length());\n\t\t\t}\n\t\t\tint h = 0;\n\t\t\twhile(h < strX3.length()) {\n\t\t\t\tchar[] charh = strX3.toCharArray();\n\t\t\t\tif (charh[h] == '1') {\n\t\t\t\t\tX3[h].setSelected(true);\n\t\t\t\t} else {\n\t\t\t\t\tX3[h].setSelected(false);\n\t\t\t\t}\n\t\t\t\th++;\n\t\t\t}\n\t\t\t\n\t\t\tShort SMAR = cpu.getMar();\n\t\t\tString strMAR = String.format(\"%16s\",Integer.toBinaryString(SMAR.intValue())).replace(' ', '0');\n\t\t\tif(strX3.length()>16){\n\t\t\t\tstrMAR=strMAR.substring(strMAR.length()-16,strMAR.length());\n\t\t\t}\n\t\t\tint j = 0;\n\t\t\twhile(j < strMAR.length()) {\n\t\t\t\tchar[] charj = strMAR.toCharArray();\n\t\t\t\tif (charj[j] == '1') {\n\t\t\t\t\tMAR[j].setSelected(true);\n\t\t\t\t} else {\n\t\t\t\t\tMAR[j].setSelected(false);\n\t\t\t\t}\n\t\t\t\tj++;\n\t\t\t}\n\t\t\t\n\t\t\tShort SMBR = cpu.getMbr();\n\t\t\tString strMBR = String.format(\"%16s\",Integer.toBinaryString(SMBR.intValue())).replace(' ', '0');\n\t\t\tif(strMBR.length()>16){\n\t\t\t\tstrMBR=strMBR.substring(strMBR.length()-16,strMBR.length());\n\t\t\t}\n\t\t\tint k = 0;\n\t\t\twhile(k < strMBR.length()) {\n\t\t\t\tchar[] chark = strMBR.toCharArray();\n\t\t\t\tif (chark[k] == '1') {\n\t\t\t\t\tMBR[k].setSelected(true);\n\t\t\t\t} else {\n\t\t\t\t\tMBR[k].setSelected(false);\n\t\t\t\t}\n\t\t\t\tk++;\n\t\t\t}\n\t\t\t\n\t\t\tShort SIR = cpu.getIr();\n\t\t\tString strIR = String.format(\"%16s\",Integer.toBinaryString(SIR.intValue())).replace(' ', '0');\n\t\t\tif(strIR.length()>12){\n\t\t\t\tstrIR=strIR.substring(strIR.length()-16,strIR.length());\n\t\t\t}\n\t\t\tint l = 0;\n\t\t\twhile(l < strIR.length()) {\n\t\t\t\tchar[] charl = strIR.toCharArray();\n\t\t\t\tif (charl[l] == '1') {\n\t\t\t\t\tIR[l].setSelected(true);\n\t\t\t\t} else {\n\t\t\t\t\tIR[l].setSelected(false);\n\t\t\t\t}\n\t\t\t\tl++;\n\t\t\t}\t\t\t\n\t\t\t\n\t\t\tShort SPC = cpu.getPc();\n\t\t\tString strPC = String.format(\"%12s\",Integer.toBinaryString(SPC.intValue())).replace(' ', '0');\n\t\t\tif(strPC.length()>12){\n\t\t\t\tstrPC=strPC.substring(strPC.length()-16,strPC.length());\n\t\t\t}\n\t\t\tint m = 0;\n\t\t\twhile(m < strPC.length()) {\n\t\t\t\tchar[] charm = strPC.toCharArray();\n\t\t\t\tif (charm[m] == '1') {\n\t\t\t\t\tPC[m].setSelected(true);\n\t\t\t\t} else {\n\t\t\t\t\tPC[m].setSelected(false);\n\t\t\t\t}\n\t\t\t\tm++;\n\t\t\t}\t\t\t\n\t\t\t\n\t}", "public void displayModelDetails() {\n System.out.println(\"Name: \" + getFirstName() + \" \" + getLastName());\n System.out.println(\"Height: \" + getHeightInFeetAndInches());\n System.out.println(\"Weight: \" + getWeight() + \" pounds\");\n String travelMessage = canTravel ? \"yep\" : \"nope\";\n System.out.println(\"Travels: \" + travelMessage);\n String smokeMessage = smokes ? \"yep\" : \"nope\";\n System.out.println(\"Smokes\" + smokeMessage);\n System.out.println(\"Hourly rate: $\" + calculatePayDollarsPerHour());\n }", "public static void displaySingleModel(String model) {\n\t\tSystem.out.println(model);\n\t}", "private static void viewOptions() {\n\t\tlog.info(\"Enter 0 to Exit.\");\n\t\tlog.info(\"Enter 1 to Login.\");\n\t}", "private void initialize() {\r\n\t\tfrmCsiProject = new JFrame();\r\n\t\tfrmCsiProject.setTitle(\"CSI5183 - Project\");\r\n\t\tfrmCsiProject.setBounds(100, 100, 1160, 700);\r\n\t\tfrmCsiProject.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r\n\r\n\t\tJLabel lblExperimentalRunner = new JLabel(\"RRASR Experiment Runner\");\r\n\t\tlblExperimentalRunner.setFont(new Font(\"Tahoma\", Font.PLAIN, 19));\r\n\r\n\t\tJPanel parametersPanel = new JPanel();\r\n\r\n\t\tJLabel lblAlgorithm = new JLabel(\"Algorithm(s) to Run\");\r\n\t\tlblAlgorithm.setHorizontalAlignment(SwingConstants.CENTER);\r\n\t\tlblAlgorithm.setFont(new Font(\"Tahoma\", Font.BOLD, 12));\r\n\r\n\t\tJLabel lblProblemInstance = new JLabel(\"Problem Instance\");\r\n\t\tlblProblemInstance.setHorizontalAlignment(SwingConstants.CENTER);\r\n\t\tlblProblemInstance.setFont(new Font(\"Tahoma\", Font.BOLD, 12));\r\n\r\n\t\tpopulationField = new JTextField();\r\n\t\tpopulationField.setText(\"200\");\r\n\t\tpopulationField.setColumns(10);\r\n\r\n\t\tJLabel lblPopulationSize = new JLabel(\"Population Size\");\r\n\t\tlblPopulationSize.setHorizontalAlignment(SwingConstants.CENTER);\r\n\t\tlblPopulationSize.setFont(new Font(\"Tahoma\", Font.BOLD, 12));\r\n\r\n\t\tJLabel lblOfGenerations = new JLabel(\"# of Generations\");\r\n\t\tlblOfGenerations.setHorizontalAlignment(SwingConstants.CENTER);\r\n\t\tlblOfGenerations.setFont(new Font(\"Tahoma\", Font.BOLD, 12));\r\n\r\n\t\tgenerationsField = new JTextField();\r\n\t\tgenerationsField.setText(\"500\");\r\n\t\tgenerationsField.setColumns(10);\r\n\r\n\t\tfinal JLabel genNumberLabel = new JLabel(\"NaN\");\r\n\r\n\t\tfinal JSlider genSlider = new JSlider();\r\n\t\tgenSlider.setMinimum(1);\r\n\t\tgenSlider.setMaximum(1);\r\n\t\tgenSlider.setValue(1);\r\n\r\n\r\n\t\tfinal JButton runButton = new JButton(\"Run\");\r\n\t\trunButton.setEnabled(false);\r\n\t\trunButton.setFont(new Font(\"Tahoma\", Font.BOLD, 12));\r\n\r\n\t\tJPanel resultsPanel = new JPanel();\r\n\r\n\t\tJLabel lblHypervolume = new JLabel(\"Hypervolume\");\r\n\t\tlblHypervolume.setHorizontalAlignment(SwingConstants.CENTER);\r\n\t\tlblHypervolume.setFont(new Font(\"Tahoma\", Font.BOLD, 12));\r\n\r\n\t\thypervolumeField = new JTextField();\r\n\t\thypervolumeField.setEditable(false);\r\n\t\thypervolumeField.setColumns(10);\r\n\r\n\t\tJLabel lblNewLabel = new JLabel(\"Spacing\");\r\n\t\tlblNewLabel.setHorizontalAlignment(SwingConstants.CENTER);\r\n\t\tlblNewLabel.setFont(new Font(\"Tahoma\", Font.BOLD, 12));\r\n\r\n\t\tspacingField = new JTextField();\r\n\t\tspacingField.setEditable(false);\r\n\t\tspacingField.setColumns(10);\r\n\r\n\t\tJLabel lblNewLabel_1 = new JLabel(\"Contribution\");\r\n\t\tlblNewLabel_1.setHorizontalAlignment(SwingConstants.CENTER);\r\n\t\tlblNewLabel_1.setFont(new Font(\"Tahoma\", Font.BOLD, 12));\r\n\r\n\t\tcontributionField = new JTextField();\r\n\t\tcontributionField.setEditable(false);\r\n\t\tcontributionField.setColumns(10);\r\n\r\n\t\tJLabel lblNewLabel_2 = new JLabel(\"Generational Distance\");\r\n\t\tlblNewLabel_2.setHorizontalAlignment(SwingConstants.CENTER);\r\n\t\tlblNewLabel_2.setFont(new Font(\"Tahoma\", Font.BOLD, 12));\r\n\r\n\t\tgenDistField = new JTextField();\r\n\t\tgenDistField.setEditable(false);\r\n\t\tgenDistField.setColumns(10);\r\n\r\n\t\tJLabel lblNewLabel_3 = new JLabel(\"Max Pareto Front Error\");\r\n\t\tlblNewLabel_3.setHorizontalAlignment(SwingConstants.CENTER);\r\n\t\tlblNewLabel_3.setFont(new Font(\"Tahoma\", Font.BOLD, 12));\r\n\r\n\t\tparetoErrorField = new JTextField();\r\n\t\tparetoErrorField.setEditable(false);\r\n\t\tparetoErrorField.setColumns(10);\r\n\r\n\t\tJLabel lblNewLabel_4 = new JLabel(\"Runtime (s)\");\r\n\t\tlblNewLabel_4.setHorizontalAlignment(SwingConstants.CENTER);\r\n\t\tlblNewLabel_4.setFont(new Font(\"Tahoma\", Font.BOLD, 12));\r\n\r\n\t\truntimeField = new JTextField();\r\n\t\truntimeField.setEditable(false);\r\n\t\truntimeField.setColumns(10);\t\t\r\n\r\n\t\tJButton lastGenButton = new JButton(\"Last Generation\");\t\t\r\n\t\tJButton firstGenButton = new JButton(\"First Generation\");\r\n\r\n\t\tJLabel genSliderLabel = new JLabel(\"Generation Selector\");\r\n\t\tgenSliderLabel.setHorizontalAlignment(SwingConstants.CENTER);\r\n\t\tgenSliderLabel.setFont(new Font(\"Tahoma\", Font.BOLD, 12));\r\n\r\n\r\n\t\tgenNumberLabel.setHorizontalAlignment(SwingConstants.CENTER);\r\n\r\n\t\tfinal JComboBox algorithmSpinner = new JComboBox();\r\n\t\talgorithmSpinner.setModel(new DefaultComboBoxModel(new String[] {}));\r\n\r\n\t\tJLabel lblAlgorithm_1 = new JLabel(\"Algorithm\");\r\n\t\tlblAlgorithm_1.setHorizontalAlignment(SwingConstants.CENTER);\r\n\t\tlblAlgorithm_1.setFont(new Font(\"Tahoma\", Font.BOLD, 12));\r\n\t\tGroupLayout gl_resultsPanel = new GroupLayout(resultsPanel);\r\n\t\tgl_resultsPanel.setHorizontalGroup(\r\n\t\t\tgl_resultsPanel.createParallelGroup(Alignment.TRAILING)\r\n\t\t\t\t.addGroup(gl_resultsPanel.createSequentialGroup()\r\n\t\t\t\t\t.addGroup(gl_resultsPanel.createParallelGroup(Alignment.LEADING)\r\n\t\t\t\t\t\t.addGroup(gl_resultsPanel.createSequentialGroup()\r\n\t\t\t\t\t\t\t.addContainerGap()\r\n\t\t\t\t\t\t\t.addGroup(gl_resultsPanel.createParallelGroup(Alignment.LEADING)\r\n\t\t\t\t\t\t\t\t.addComponent(lblNewLabel_1, Alignment.TRAILING, GroupLayout.DEFAULT_SIZE, 152, Short.MAX_VALUE)\r\n\t\t\t\t\t\t\t\t.addComponent(lblNewLabel, Alignment.TRAILING, GroupLayout.DEFAULT_SIZE, 152, Short.MAX_VALUE)\r\n\t\t\t\t\t\t\t\t.addComponent(lblHypervolume, GroupLayout.DEFAULT_SIZE, 152, Short.MAX_VALUE)))\r\n\t\t\t\t\t\t.addGroup(gl_resultsPanel.createSequentialGroup()\r\n\t\t\t\t\t\t\t.addContainerGap()\r\n\t\t\t\t\t\t\t.addComponent(lblNewLabel_2, GroupLayout.DEFAULT_SIZE, 152, Short.MAX_VALUE))\r\n\t\t\t\t\t\t.addGroup(gl_resultsPanel.createSequentialGroup()\r\n\t\t\t\t\t\t\t.addContainerGap()\r\n\t\t\t\t\t\t\t.addComponent(lblNewLabel_3, GroupLayout.DEFAULT_SIZE, 152, Short.MAX_VALUE))\r\n\t\t\t\t\t\t.addGroup(gl_resultsPanel.createSequentialGroup()\r\n\t\t\t\t\t\t\t.addContainerGap()\r\n\t\t\t\t\t\t\t.addComponent(lblNewLabel_4, GroupLayout.DEFAULT_SIZE, 152, Short.MAX_VALUE))\r\n\t\t\t\t\t\t.addGroup(gl_resultsPanel.createSequentialGroup()\r\n\t\t\t\t\t\t\t.addGap(43)\r\n\t\t\t\t\t\t\t.addComponent(paretoErrorField, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE))\r\n\t\t\t\t\t\t.addGroup(gl_resultsPanel.createSequentialGroup()\r\n\t\t\t\t\t\t\t.addGap(43)\r\n\t\t\t\t\t\t\t.addComponent(genDistField, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE))\r\n\t\t\t\t\t\t.addGroup(gl_resultsPanel.createSequentialGroup()\r\n\t\t\t\t\t\t\t.addGap(43)\r\n\t\t\t\t\t\t\t.addComponent(contributionField, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE))\r\n\t\t\t\t\t\t.addGroup(gl_resultsPanel.createSequentialGroup()\r\n\t\t\t\t\t\t\t.addGap(43)\r\n\t\t\t\t\t\t\t.addComponent(runtimeField, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\r\n\t\t\t\t\t\t\t.addGap(33)))\r\n\t\t\t\t\t.addContainerGap())\r\n\t\t\t\t.addGroup(gl_resultsPanel.createSequentialGroup()\r\n\t\t\t\t\t.addContainerGap(43, Short.MAX_VALUE)\r\n\t\t\t\t\t.addComponent(spacingField, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\r\n\t\t\t\t\t.addGap(43))\r\n\t\t\t\t.addGroup(gl_resultsPanel.createSequentialGroup()\r\n\t\t\t\t\t.addContainerGap(43, Short.MAX_VALUE)\r\n\t\t\t\t\t.addComponent(hypervolumeField, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\r\n\t\t\t\t\t.addGap(43))\r\n\t\t\t\t.addGroup(gl_resultsPanel.createSequentialGroup()\r\n\t\t\t\t\t.addGap(32)\r\n\t\t\t\t\t.addGroup(gl_resultsPanel.createParallelGroup(Alignment.LEADING)\r\n\t\t\t\t\t\t.addComponent(firstGenButton)\r\n\t\t\t\t\t\t.addComponent(lastGenButton))\r\n\t\t\t\t\t.addContainerGap(31, Short.MAX_VALUE))\r\n\t\t\t\t.addGroup(gl_resultsPanel.createSequentialGroup()\r\n\t\t\t\t\t.addContainerGap()\r\n\t\t\t\t\t.addComponent(genSliderLabel, GroupLayout.DEFAULT_SIZE, 152, Short.MAX_VALUE)\r\n\t\t\t\t\t.addContainerGap())\r\n\t\t\t\t.addGroup(gl_resultsPanel.createSequentialGroup()\r\n\t\t\t\t\t.addContainerGap()\r\n\t\t\t\t\t.addComponent(genNumberLabel, GroupLayout.DEFAULT_SIZE, 152, Short.MAX_VALUE)\r\n\t\t\t\t\t.addContainerGap())\r\n\t\t\t\t.addGroup(gl_resultsPanel.createSequentialGroup()\r\n\t\t\t\t\t.addContainerGap()\r\n\t\t\t\t\t.addComponent(genSlider, GroupLayout.DEFAULT_SIZE, 152, Short.MAX_VALUE)\r\n\t\t\t\t\t.addContainerGap())\r\n\t\t\t\t.addGroup(Alignment.LEADING, gl_resultsPanel.createSequentialGroup()\r\n\t\t\t\t\t.addContainerGap()\r\n\t\t\t\t\t.addComponent(lblAlgorithm_1, GroupLayout.PREFERRED_SIZE, 152, GroupLayout.PREFERRED_SIZE)\r\n\t\t\t\t\t.addContainerGap(GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\r\n\t\t\t\t.addGroup(Alignment.LEADING, gl_resultsPanel.createSequentialGroup()\r\n\t\t\t\t\t.addGap(28)\r\n\t\t\t\t\t.addComponent(algorithmSpinner, GroupLayout.PREFERRED_SIZE, 117, GroupLayout.PREFERRED_SIZE)\r\n\t\t\t\t\t.addContainerGap(27, Short.MAX_VALUE))\r\n\t\t);\r\n\t\tgl_resultsPanel.setVerticalGroup(\r\n\t\t\tgl_resultsPanel.createParallelGroup(Alignment.LEADING)\r\n\t\t\t\t.addGroup(gl_resultsPanel.createSequentialGroup()\r\n\t\t\t\t\t.addContainerGap()\r\n\t\t\t\t\t.addComponent(lblHypervolume)\r\n\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\r\n\t\t\t\t\t.addComponent(hypervolumeField, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\r\n\t\t\t\t\t.addGap(11)\r\n\t\t\t\t\t.addComponent(lblNewLabel)\r\n\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\r\n\t\t\t\t\t.addComponent(spacingField, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\r\n\t\t\t\t\t.addGap(11)\r\n\t\t\t\t\t.addComponent(lblNewLabel_1)\r\n\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\r\n\t\t\t\t\t.addComponent(contributionField, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\r\n\t\t\t\t\t.addGap(11)\r\n\t\t\t\t\t.addComponent(lblNewLabel_2)\r\n\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\r\n\t\t\t\t\t.addComponent(genDistField, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\r\n\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\r\n\t\t\t\t\t.addComponent(lblNewLabel_3)\r\n\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\r\n\t\t\t\t\t.addComponent(paretoErrorField, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\r\n\t\t\t\t\t.addGap(11)\r\n\t\t\t\t\t.addComponent(lblNewLabel_4)\r\n\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\r\n\t\t\t\t\t.addComponent(runtimeField, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\r\n\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED, 40, Short.MAX_VALUE)\r\n\t\t\t\t\t.addComponent(lblAlgorithm_1, GroupLayout.PREFERRED_SIZE, 15, GroupLayout.PREFERRED_SIZE)\r\n\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\r\n\t\t\t\t\t.addComponent(algorithmSpinner, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\r\n\t\t\t\t\t.addGap(18)\r\n\t\t\t\t\t.addComponent(genSliderLabel)\r\n\t\t\t\t\t.addPreferredGap(ComponentPlacement.UNRELATED)\r\n\t\t\t\t\t.addComponent(genSlider, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\r\n\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\r\n\t\t\t\t\t.addComponent(genNumberLabel)\r\n\t\t\t\t\t.addGap(25)\r\n\t\t\t\t\t.addComponent(firstGenButton)\r\n\t\t\t\t\t.addPreferredGap(ComponentPlacement.UNRELATED)\r\n\t\t\t\t\t.addComponent(lastGenButton)\r\n\t\t\t\t\t.addGap(23))\r\n\t\t);\r\n\t\tresultsPanel.setLayout(gl_resultsPanel);\r\n\r\n\t\ttabbedPane = new JTabbedPane(JTabbedPane.TOP);\r\n\t\t\r\n\t\t\t\tJPanel tourTab = new JPanel();\r\n\t\t\t\ttabbedPane.addTab(\"Instance Viewer\", null, tourTab, null);\r\n\t\t\t\ttourTab.setLayout(null);\r\n\t\t\t\t\r\n\t\t\t\t\t\tJLabel solutionSelectLabel = new JLabel(\"Solution:\");\r\n\t\t\t\t\t\tsolutionSelectLabel.setFont(new Font(\"Tahoma\", Font.BOLD, 12));\r\n\t\t\t\t\t\tsolutionSelectLabel.setBounds(10, 520, 56, 21);\r\n\t\t\t\t\t\ttourTab.add(solutionSelectLabel);\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\tlist = new JComboBox();\r\n\t\t\t\t\t\t\t\tlist.setModel(new DefaultComboBoxModel(new String[] {}));\r\n\t\t\t\t\t\t\t\tlist.setBounds(76, 521, 434, 20);\r\n\t\t\t\t\t\t\t\ttourTab.add(list);\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\ttourVisualizer = new TourVisualizer();\r\n\t\t\t\t\t\t\t\t\t\ttourVisualizer.setBorder(new LineBorder(new Color(0, 0, 0)));\r\n\t\t\t\t\t\t\t\t\t\ttourVisualizer.setBounds(10, 10, 500, 500);\r\n\t\t\t\t\t\t\t\t\t\ttourTab.add(tourVisualizer);\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\tlist.addActionListener(new ActionListener() {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tpublic void actionPerformed(ActionEvent arg0) {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tprintROI();\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tprintSolutionPath(list.getSelectedIndex());\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\t\t});\r\n\r\n\r\n\t\tparetoViewer = new Plot3DPanel();\r\n\t\ttabbedPane.addTab(\"Pareto Set Viewer\", null, paretoViewer, null);\r\n\r\n\t\tJTabbedPane instanceTabs = new JTabbedPane(JTabbedPane.TOP);\r\n\r\n\t\tJLabel lblCrossoverRate = new JLabel(\"Crossover Rate\");\r\n\t\tlblCrossoverRate.setHorizontalAlignment(SwingConstants.CENTER);\r\n\t\tlblCrossoverRate.setFont(new Font(\"Tahoma\", Font.BOLD, 12));\r\n\r\n\t\tJLabel lblMutationRate = new JLabel(\"Mutation Rate\");\r\n\t\tlblMutationRate.setHorizontalAlignment(SwingConstants.CENTER);\r\n\t\tlblMutationRate.setFont(new Font(\"Tahoma\", Font.BOLD, 12));\r\n\r\n\t\txoverField = new JTextField();\r\n\t\txoverField.setText(\"0.75\");\r\n\t\txoverField.setColumns(10);\r\n\r\n\t\tmutationField = new JTextField();\r\n\t\tmutationField.setText(\"0.25\");\r\n\t\tmutationField.setColumns(10);\r\n\r\n\t\tfinal JCheckBox checkNSGAII = new JCheckBox(\"NSGAII\");\r\n\t\tcheckNSGAII.setFont(new Font(\"Tahoma\", Font.BOLD, 12));\r\n\r\n\t\tfinal JCheckBox checkNSGAIII = new JCheckBox(\"NSGAIII\");\r\n\t\tcheckNSGAIII.setFont(new Font(\"Tahoma\", Font.BOLD, 12));\r\n\r\n\t\tfinal JCheckBox checkSPEA2 = new JCheckBox(\"SPEA2\");\r\n\t\tcheckSPEA2.setFont(new Font(\"Tahoma\", Font.BOLD, 12));\r\n\r\n\t\tfinal JCheckBox checkAGEII = new JCheckBox(\"AGEII\");\r\n\t\tcheckAGEII.setFont(new Font(\"Tahoma\", Font.BOLD, 12));\r\n\t\t\r\n\t\tfinal JCheckBox checkPESA2 = new JCheckBox(\"PESA2\");\r\n\t\tcheckPESA2.setFont(new Font(\"Tahoma\", Font.BOLD, 12));\r\n\t\t\r\n\t\tfinal JCheckBox checkAGEI = new JCheckBox(\"AGEI\");\r\n\t\tcheckAGEI.setFont(new Font(\"Tahoma\", Font.BOLD, 12));\r\n\r\n\t\tGroupLayout gl_parametersPanel = new GroupLayout(parametersPanel);\r\n\t\tgl_parametersPanel.setHorizontalGroup(\r\n\t\t\tgl_parametersPanel.createParallelGroup(Alignment.TRAILING)\r\n\t\t\t\t.addComponent(lblProblemInstance, GroupLayout.DEFAULT_SIZE, 362, Short.MAX_VALUE)\r\n\t\t\t\t.addGroup(gl_parametersPanel.createSequentialGroup()\r\n\t\t\t\t\t.addGap(152)\r\n\t\t\t\t\t.addComponent(runButton)\r\n\t\t\t\t\t.addContainerGap(153, Short.MAX_VALUE))\r\n\t\t\t\t.addGroup(gl_parametersPanel.createSequentialGroup()\r\n\t\t\t\t\t.addGroup(gl_parametersPanel.createParallelGroup(Alignment.TRAILING)\r\n\t\t\t\t\t\t.addComponent(lblAlgorithm, Alignment.LEADING, GroupLayout.DEFAULT_SIZE, 352, Short.MAX_VALUE)\r\n\t\t\t\t\t\t.addGroup(gl_parametersPanel.createSequentialGroup()\r\n\t\t\t\t\t\t\t.addContainerGap()\r\n\t\t\t\t\t\t\t.addComponent(instanceTabs, GroupLayout.DEFAULT_SIZE, 342, Short.MAX_VALUE)))\r\n\t\t\t\t\t.addContainerGap())\r\n\t\t\t\t.addGroup(gl_parametersPanel.createSequentialGroup()\r\n\t\t\t\t\t.addContainerGap()\r\n\t\t\t\t\t.addGroup(gl_parametersPanel.createParallelGroup(Alignment.LEADING)\r\n\t\t\t\t\t\t.addGroup(gl_parametersPanel.createSequentialGroup()\r\n\t\t\t\t\t\t\t.addComponent(lblCrossoverRate, GroupLayout.PREFERRED_SIZE, 152, GroupLayout.PREFERRED_SIZE)\r\n\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED, 38, Short.MAX_VALUE)\r\n\t\t\t\t\t\t\t.addComponent(lblMutationRate, GroupLayout.PREFERRED_SIZE, 152, GroupLayout.PREFERRED_SIZE))\r\n\t\t\t\t\t\t.addGroup(gl_parametersPanel.createSequentialGroup()\r\n\t\t\t\t\t\t\t.addComponent(xoverField, GroupLayout.PREFERRED_SIZE, 152, GroupLayout.PREFERRED_SIZE)\r\n\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED, 38, Short.MAX_VALUE)\r\n\t\t\t\t\t\t\t.addComponent(mutationField, GroupLayout.PREFERRED_SIZE, 152, GroupLayout.PREFERRED_SIZE))\r\n\t\t\t\t\t\t.addGroup(gl_parametersPanel.createSequentialGroup()\r\n\t\t\t\t\t\t\t.addGroup(gl_parametersPanel.createParallelGroup(Alignment.LEADING, false)\r\n\t\t\t\t\t\t\t\t.addComponent(lblPopulationSize, GroupLayout.DEFAULT_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\r\n\t\t\t\t\t\t\t\t.addComponent(populationField, GroupLayout.PREFERRED_SIZE, 152, GroupLayout.PREFERRED_SIZE))\r\n\t\t\t\t\t\t\t.addGap(38)\r\n\t\t\t\t\t\t\t.addGroup(gl_parametersPanel.createParallelGroup(Alignment.TRAILING, false)\r\n\t\t\t\t\t\t\t\t.addComponent(lblOfGenerations, GroupLayout.DEFAULT_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\r\n\t\t\t\t\t\t\t\t.addComponent(generationsField, GroupLayout.PREFERRED_SIZE, 152, GroupLayout.PREFERRED_SIZE)\r\n\t\t\t\t\t\t\t\t.addComponent(checkSPEA2, Alignment.LEADING, GroupLayout.PREFERRED_SIZE, 69, GroupLayout.PREFERRED_SIZE)\r\n\t\t\t\t\t\t\t\t.addComponent(checkAGEII, Alignment.LEADING, GroupLayout.PREFERRED_SIZE, 69, GroupLayout.PREFERRED_SIZE)\r\n\t\t\t\t\t\t\t\t.addComponent(checkAGEI, Alignment.LEADING, GroupLayout.PREFERRED_SIZE, 69, GroupLayout.PREFERRED_SIZE))))\r\n\t\t\t\t\t.addContainerGap())\r\n\t\t\t\t.addGroup(gl_parametersPanel.createSequentialGroup()\r\n\t\t\t\t\t.addGap(15)\r\n\t\t\t\t\t.addGroup(gl_parametersPanel.createParallelGroup(Alignment.LEADING)\r\n\t\t\t\t\t\t.addComponent(checkPESA2, GroupLayout.PREFERRED_SIZE, 84, GroupLayout.PREFERRED_SIZE)\r\n\t\t\t\t\t\t.addComponent(checkNSGAIII, GroupLayout.PREFERRED_SIZE, 84, GroupLayout.PREFERRED_SIZE)\r\n\t\t\t\t\t\t.addComponent(checkNSGAII))\r\n\t\t\t\t\t.addGap(263))\r\n\t\t);\r\n\t\tgl_parametersPanel.setVerticalGroup(\r\n\t\t\tgl_parametersPanel.createParallelGroup(Alignment.LEADING)\r\n\t\t\t\t.addGroup(gl_parametersPanel.createSequentialGroup()\r\n\t\t\t\t\t.addComponent(lblProblemInstance, GroupLayout.PREFERRED_SIZE, 14, GroupLayout.PREFERRED_SIZE)\r\n\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\r\n\t\t\t\t\t.addComponent(instanceTabs, GroupLayout.PREFERRED_SIZE, 311, GroupLayout.PREFERRED_SIZE)\r\n\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\r\n\t\t\t\t\t.addComponent(lblAlgorithm, GroupLayout.PREFERRED_SIZE, 14, GroupLayout.PREFERRED_SIZE)\r\n\t\t\t\t\t.addPreferredGap(ComponentPlacement.UNRELATED)\r\n\t\t\t\t\t.addGroup(gl_parametersPanel.createParallelGroup(Alignment.LEADING)\r\n\t\t\t\t\t\t.addGroup(gl_parametersPanel.createSequentialGroup()\r\n\t\t\t\t\t\t\t.addComponent(checkNSGAII)\r\n\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.UNRELATED)\r\n\t\t\t\t\t\t\t.addComponent(checkNSGAIII))\r\n\t\t\t\t\t\t.addGroup(gl_parametersPanel.createSequentialGroup()\r\n\t\t\t\t\t\t\t.addComponent(checkSPEA2)\r\n\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.UNRELATED)\r\n\t\t\t\t\t\t\t.addComponent(checkAGEII)))\r\n\t\t\t\t\t.addPreferredGap(ComponentPlacement.UNRELATED)\r\n\t\t\t\t\t.addGroup(gl_parametersPanel.createParallelGroup(Alignment.LEADING)\r\n\t\t\t\t\t\t.addComponent(checkPESA2)\r\n\t\t\t\t\t\t.addComponent(checkAGEI))\r\n\t\t\t\t\t.addGap(14)\r\n\t\t\t\t\t.addGroup(gl_parametersPanel.createParallelGroup(Alignment.BASELINE)\r\n\t\t\t\t\t\t.addComponent(lblPopulationSize)\r\n\t\t\t\t\t\t.addComponent(lblOfGenerations, GroupLayout.PREFERRED_SIZE, 15, GroupLayout.PREFERRED_SIZE))\r\n\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\r\n\t\t\t\t\t.addGroup(gl_parametersPanel.createParallelGroup(Alignment.BASELINE)\r\n\t\t\t\t\t\t.addComponent(populationField, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\r\n\t\t\t\t\t\t.addComponent(generationsField, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE))\r\n\t\t\t\t\t.addPreferredGap(ComponentPlacement.UNRELATED)\r\n\t\t\t\t\t.addGroup(gl_parametersPanel.createParallelGroup(Alignment.BASELINE)\r\n\t\t\t\t\t\t.addComponent(lblCrossoverRate, GroupLayout.PREFERRED_SIZE, 15, GroupLayout.PREFERRED_SIZE)\r\n\t\t\t\t\t\t.addComponent(lblMutationRate, GroupLayout.PREFERRED_SIZE, 15, GroupLayout.PREFERRED_SIZE))\r\n\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\r\n\t\t\t\t\t.addGroup(gl_parametersPanel.createParallelGroup(Alignment.BASELINE)\r\n\t\t\t\t\t\t.addComponent(xoverField, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\r\n\t\t\t\t\t\t.addComponent(mutationField, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE))\r\n\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\r\n\t\t\t\t\t.addComponent(runButton)\r\n\t\t\t\t\t.addContainerGap())\r\n\t\t);\r\n\r\n\t\tJScrollPane scrollPane = new JScrollPane();\r\n\t\tinstanceTabs.addTab(\"Pre-Generated Instances\", null, scrollPane, null);\r\n\r\n\t\tJTree tree_1 = new JTree(model);\r\n\t\tscrollPane.setViewportView(tree_1);\r\n\t\ttree_1.setRootVisible(false);\r\n\r\n\t\tJPanel customInstancePanel = new JPanel();\r\n\t\tinstanceTabs.addTab(\"Custom Instance\", null, customInstancePanel, null);\r\n\r\n\t\tJLabel lblNewLabel_5 = new JLabel(\"Number of Nodes\");\r\n\t\tlblNewLabel_5.setFont(new Font(\"Tahoma\", Font.BOLD, 12));\r\n\r\n\t\tJLabel lblNumberOfSensing = new JLabel(\"Number of Sensing Holes (% of nodes)\");\r\n\t\tlblNumberOfSensing.setFont(new Font(\"Tahoma\", Font.BOLD, 12));\r\n\r\n\t\tJLabel lblSparcityOfNodes = new JLabel(\"Sparsity of Passive Nodes (Higher is sparser)\");\r\n\t\tlblSparcityOfNodes.setFont(new Font(\"Tahoma\", Font.BOLD, 12));\r\n\r\n\t\tJButton genInstanceButton = new JButton(\"Generate Instance\");\r\n\t\tgenInstanceButton.setFont(new Font(\"Tahoma\", Font.BOLD, 12));\r\n\r\n\t\tnumNodesField = new JTextField();\r\n\t\tnumNodesField.setText(\"200\");\r\n\t\tnumNodesField.setColumns(10);\r\n\r\n\t\tdistributionField = new JTextField();\r\n\t\tdistributionField.setText(\"15\");\r\n\t\tdistributionField.setColumns(10);\r\n\r\n\t\tsparsityField = new JTextField();\r\n\t\tsparsityField.setText(\"10\");\r\n\t\tsparsityField.setColumns(10);\r\n\t\tGroupLayout gl_customInstancePanel = new GroupLayout(customInstancePanel);\r\n\t\tgl_customInstancePanel.setHorizontalGroup(\r\n\t\t\t\tgl_customInstancePanel.createParallelGroup(Alignment.LEADING)\r\n\t\t\t\t.addGroup(gl_customInstancePanel.createSequentialGroup()\r\n\t\t\t\t\t\t.addContainerGap()\r\n\t\t\t\t\t\t.addGroup(gl_customInstancePanel.createParallelGroup(Alignment.LEADING)\r\n\t\t\t\t\t\t\t\t.addGroup(gl_customInstancePanel.createSequentialGroup()\r\n\t\t\t\t\t\t\t\t\t\t.addGroup(gl_customInstancePanel.createParallelGroup(Alignment.LEADING)\r\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(lblNewLabel_5)\r\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(gl_customInstancePanel.createSequentialGroup()\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(93)\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(genInstanceButton)))\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addContainerGap(89, Short.MAX_VALUE))\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(gl_customInstancePanel.createSequentialGroup()\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(lblNumberOfSensing, GroupLayout.DEFAULT_SIZE, 258, Short.MAX_VALUE)\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(69))\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(gl_customInstancePanel.createSequentialGroup()\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(numNodesField, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addContainerGap(241, Short.MAX_VALUE))\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(gl_customInstancePanel.createSequentialGroup()\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(distributionField, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addContainerGap(241, Short.MAX_VALUE))\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(gl_customInstancePanel.createSequentialGroup()\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(sparsityField, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addContainerGap(241, Short.MAX_VALUE))\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(gl_customInstancePanel.createSequentialGroup()\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(lblSparcityOfNodes, GroupLayout.PREFERRED_SIZE, 284, GroupLayout.PREFERRED_SIZE)\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addContainerGap())))\r\n\t\t\t\t);\r\n\t\tgl_customInstancePanel.setVerticalGroup(\r\n\t\t\t\tgl_customInstancePanel.createParallelGroup(Alignment.LEADING)\r\n\t\t\t\t.addGroup(gl_customInstancePanel.createSequentialGroup()\r\n\t\t\t\t\t\t.addContainerGap()\r\n\t\t\t\t\t\t.addComponent(lblNewLabel_5)\r\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\r\n\t\t\t\t\t\t.addComponent(numNodesField, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\r\n\t\t\t\t\t\t.addGap(20)\r\n\t\t\t\t\t\t.addComponent(lblNumberOfSensing, GroupLayout.PREFERRED_SIZE, 15, GroupLayout.PREFERRED_SIZE)\r\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\r\n\t\t\t\t\t\t.addComponent(distributionField, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\r\n\t\t\t\t\t\t.addGap(19)\r\n\t\t\t\t\t\t.addComponent(lblSparcityOfNodes, GroupLayout.PREFERRED_SIZE, 15, GroupLayout.PREFERRED_SIZE)\r\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\r\n\t\t\t\t\t\t.addComponent(sparsityField, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\r\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED, 76, Short.MAX_VALUE)\r\n\t\t\t\t\t\t.addComponent(genInstanceButton)\r\n\t\t\t\t\t\t.addContainerGap())\r\n\t\t\t\t);\r\n\t\tcustomInstancePanel.setLayout(gl_customInstancePanel);\r\n\r\n\t\ttree_1.getSelectionModel().setSelectionMode(TreeSelectionModel.SINGLE_TREE_SELECTION);\r\n\r\n\t\tparametersPanel.setLayout(gl_parametersPanel);\r\n\t\tGroupLayout groupLayout = new GroupLayout(frmCsiProject.getContentPane());\r\n\t\tgroupLayout.setHorizontalGroup(\r\n\t\t\t\tgroupLayout.createParallelGroup(Alignment.LEADING)\r\n\t\t\t\t.addGroup(Alignment.TRAILING, groupLayout.createSequentialGroup()\r\n\t\t\t\t\t\t.addContainerGap()\r\n\t\t\t\t\t\t.addComponent(parametersPanel, GroupLayout.PREFERRED_SIZE, 362, GroupLayout.PREFERRED_SIZE)\r\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED, 50, Short.MAX_VALUE)\r\n\t\t\t\t\t\t.addComponent(tabbedPane, GroupLayout.PREFERRED_SIZE, 525, GroupLayout.PREFERRED_SIZE)\r\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\r\n\t\t\t\t\t\t.addComponent(resultsPanel, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\r\n\t\t\t\t\t\t.addGap(19))\r\n\t\t\t\t\t\t.addGroup(groupLayout.createSequentialGroup()\r\n\t\t\t\t\t\t\t\t.addGap(435)\r\n\t\t\t\t\t\t\t\t.addComponent(lblExperimentalRunner)\r\n\t\t\t\t\t\t\t\t.addContainerGap(482, Short.MAX_VALUE))\r\n\t\t\t\t);\r\n\t\tgroupLayout.setVerticalGroup(\r\n\t\t\t\tgroupLayout.createParallelGroup(Alignment.LEADING)\r\n\t\t\t\t.addGroup(groupLayout.createSequentialGroup()\r\n\t\t\t\t\t\t.addContainerGap()\r\n\t\t\t\t\t\t.addComponent(lblExperimentalRunner)\r\n\t\t\t\t\t\t.addGap(13)\r\n\t\t\t\t\t\t.addGroup(groupLayout.createParallelGroup(Alignment.LEADING)\r\n\t\t\t\t\t\t\t\t.addComponent(parametersPanel, GroupLayout.PREFERRED_SIZE, 580, GroupLayout.PREFERRED_SIZE)\r\n\t\t\t\t\t\t\t\t.addComponent(resultsPanel, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\r\n\t\t\t\t\t\t\t\t.addComponent(tabbedPane, GroupLayout.PREFERRED_SIZE, 580, GroupLayout.PREFERRED_SIZE))\r\n\t\t\t\t\t\t\t\t.addGap(35))\r\n\t\t\t\t);\r\n\r\n\t\tmetricGraphViewer = new Plot2DPanel();\r\n\t\ttabbedPane.addTab(\"Metric Graphs\", null, metricGraphViewer, null);\r\n\r\n\r\n\t\tfrmCsiProject.getContentPane().setLayout(groupLayout);\r\n\t\tfrmCsiProject.getContentPane().setFocusTraversalPolicy(new FocusTraversalOnArray(new Component[]{tabbedPane, lblExperimentalRunner}));\r\n\r\n\t\t//ACTION LISTENERS -------------------------------------------------------------------------------------------------------------------------\r\n\t\trunButton.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tpopulation = (Integer.parseInt(populationField.getText()));\r\n\t\t\t\tgenerations = (Integer.parseInt(generationsField.getText()));\t\t\t\t\r\n\t\t\t\trunExperiment();\r\n\t\t\t\t\r\n\t\t\t\talgorithmSpinner.setModel(new DefaultComboBoxModel(algorithmsToRun.toArray(new String[0])));\r\n\t\t\t\talgorithmSpinner.setSelectedIndex(0);\r\n\t\t\t\tselectedAccumulator = accumulators.get(0);\r\n\r\n\t\t\t\tgenSlider.setValue(1);\r\n\t\t\t\tgenSlider.setMinimum(1);\r\n\t\t\t\tgenSlider.setMaximum(generations);\r\n\t\t\t\tgenSlider.setValue(generations);\r\n\r\n\t\t\t\t//Enable the metrics graph if we have a reference set\r\n\t\t\t\tif (withReferenceSet) {\r\n\t\t\t\t\ttabbedPane.setEnabledAt(2, true);\r\n\t\t\t\t}\r\n\r\n\t\t\t\tdisplayGenerationInfo();\r\n\t\t\t\tupdateMetricGraphs();\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\ttree_1.addTreeSelectionListener(new SelectionListener() {\r\n\t\t\tpublic void valueChanged(TreeSelectionEvent se) {\r\n\t\t\t\tJTree tree = (JTree) se.getSource();\r\n\t\t\t\tFile selectedNode = (File) tree.getLastSelectedPathComponent();\r\n\t\t\t\tif (selectedNode.isFile()) {\r\n\t\t\t\t\t//Reset all items\r\n\t\t\t\t\treset();\r\n\t\t\t\t\tgenNumberLabel.setText(\"NaN\");\r\n\t\t\t\t\tgenSlider.setMinimum(1);\r\n\t\t\t\t\tgenSlider.setMaximum(1);\r\n\t\t\t\t\tgenSlider.setValue(1);\r\n\t\t\t\t\ttourVisualizer.reset();\r\n\t\t\t\t\taccumulators = new ArrayList<Accumulator>();\r\n\t\t\t\t\tselectedAccumulator = null;\r\n\t\t\t\t\tparetoViewer.removeAllPlots();\r\n\t\t\t\t\twithReferenceSet = false;\r\n\t\t\t\t\t//End of item reset\r\n\r\n\t\t\t\t\tinstance = ((File) selectedNode);\t\t\t\t\t\r\n\t\t\t\t\tif (tabbedPane.getSelectedIndex() == 0) {\r\n\t\t\t\t\t\tloadInstanceInformation();\r\n\t\t\t\t\t\tprintROI();\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t\tloadReference();\r\n\t\t\t\t\t\r\n\t\t\t\t\trunButton.setEnabled(checkNSGAII.isSelected() || checkNSGAIII.isSelected() || checkSPEA2.isSelected() \r\n\t\t\t\t\t\t\t|| checkAGEII.isSelected() || checkAGEI.isSelected() || checkPESA2.isSelected());\r\n\t\t\t\t}\t\t\t\t\r\n\t\t\t}\t\t\t\r\n\t\t});\r\n\r\n\t\tgenSlider.addChangeListener(new ChangeListener() {\r\n\t\t\tpublic void stateChanged(ChangeEvent arg0) {\r\n\t\t\t\tselectedGeneration = genSlider.getValue();\r\n\t\t\t\tgenNumberLabel.setText(Integer.toString(selectedGeneration));\r\n\t\t\t\tdisplayGenerationInfo();\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tfirstGenButton.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tselectedGeneration = 1;\r\n\t\t\t\tgenSlider.setValue(1);\r\n\t\t\t\tgenNumberLabel.setText(Integer.toString(1));\r\n\t\t\t\tdisplayGenerationInfo();\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tlastGenButton.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tselectedGeneration = generations;\r\n\t\t\t\tgenSlider.setValue(generations);\r\n\t\t\t\tgenNumberLabel.setText(Integer.toString(generations));\r\n\t\t\t\tdisplayGenerationInfo();\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\ttabbedPane.addChangeListener(new ChangeListener() {\r\n\t\t\tpublic void stateChanged(ChangeEvent arg0) {\r\n\t\t\t\tint selected = tabbedPane.getSelectedIndex();\r\n\t\t\t\t//0 is Pareto Set Viewer\r\n\t\t\t\t//1 is Solution Viewer\r\n\t\t\t\t//2 is Metric Graphs\r\n\r\n\t\t\t\tif (selected == 0 && instance != null) {\r\n\t\t\t\t\tloadInstanceInformation();\r\n\t\t\t\t\tprintROI();\r\n\t\t\t\t} \r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tgenInstanceButton.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\r\n\t\t\t\tint numNodes = Integer.parseInt(numNodesField.getText());\r\n\t\t\t\tint sparsity = Integer.parseInt(sparsityField.getText());\r\n\t\t\t\tint distribution = Integer.parseInt(distributionField.getText());\r\n\r\n\t\t\t\t//Reset all items\r\n\t\t\t\treset();\r\n\t\t\t\tgenNumberLabel.setText(\"NaN\");\r\n\t\t\t\tgenSlider.setMinimum(1);\r\n\t\t\t\tgenSlider.setMaximum(1);\r\n\t\t\t\tgenSlider.setValue(1);\r\n\t\t\t\ttourVisualizer.reset();\r\n\t\t\t\taccumulators = new ArrayList<Accumulator>();\r\n\t\t\t\tselectedAccumulator = null;\r\n\t\t\t\t//End of item reset\r\n\r\n\t\t\t\tgenerateCustomInstance(numNodes, sparsity, distribution); \t\t\t\t\t\r\n\t\t\t\tif (tabbedPane.getSelectedIndex() == 0) {\r\n\t\t\t\t\tloadInstanceInformation();\r\n\t\t\t\t\tprintROI();\r\n\t\t\t\t}\r\n\t\t\t\trunButton.setEnabled(true);\t\t\r\n\t\t\t}\r\n\t\t});\r\n\t\t\r\n\t\tcheckNSGAII.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\r\n\t\t\t\tif (checkNSGAII.isSelected()) {\r\n\t\t\t\t\talgorithmsToRun.add(\"NSGAII\");\r\n\t\t\t\t} else {\r\n\t\t\t\t\talgorithmsToRun.remove(\"NSGAII\");\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\trunButton.setEnabled((checkNSGAII.isSelected() || checkNSGAIII.isSelected() || checkSPEA2.isSelected() || checkAGEII.isSelected()\r\n\t\t\t\t\t\t|| checkAGEI.isSelected() || checkPESA2.isSelected())\t&& instance != null);\r\n\t\t\t}\r\n\t\t});\r\n\t\t\r\n\t\tcheckNSGAIII.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\r\n\t\t\t\tif (checkNSGAIII.isSelected()) {\r\n\t\t\t\t\talgorithmsToRun.add(\"NSGAIII\");\r\n\t\t\t\t} else {\r\n\t\t\t\t\talgorithmsToRun.remove(\"NSGAIII\");\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\trunButton.setEnabled((checkNSGAII.isSelected() || checkNSGAIII.isSelected() || checkSPEA2.isSelected() || checkAGEII.isSelected() \r\n\t\t\t\t\t\t|| checkAGEI.isSelected() || checkPESA2.isSelected())\t&& instance != null);\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tcheckSPEA2.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\r\n\t\t\t\tif (checkSPEA2.isSelected()) {\r\n\t\t\t\t\talgorithmsToRun.add(\"SPEA2\");\r\n\t\t\t\t} else {\r\n\t\t\t\t\talgorithmsToRun.remove(\"SPEA2\");\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\trunButton.setEnabled((checkNSGAII.isSelected() || checkNSGAIII.isSelected() || checkSPEA2.isSelected() || checkAGEII.isSelected() \r\n\t\t\t\t\t\t|| checkAGEI.isSelected() || checkPESA2.isSelected())\t&& instance != null);\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tcheckAGEII.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\r\n\t\t\t\tif (checkAGEII.isSelected()) {\r\n\t\t\t\t\talgorithmsToRun.add(\"AGEII\");\r\n\t\t\t\t} else {\r\n\t\t\t\t\talgorithmsToRun.remove(\"AGEII\");\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\trunButton.setEnabled((checkNSGAII.isSelected() || checkNSGAIII.isSelected() || checkSPEA2.isSelected() || checkAGEII.isSelected() \r\n\t\t\t\t\t\t|| checkAGEI.isSelected() || checkPESA2.isSelected())\t&& instance != null);\r\n\t\t\t}\r\n\t\t});\r\n\t\t\r\n\t\tcheckAGEI.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\r\n\t\t\t\tif (checkAGEI.isSelected()) {\r\n\t\t\t\t\talgorithmsToRun.add(\"AGEI\");\r\n\t\t\t\t} else {\r\n\t\t\t\t\talgorithmsToRun.remove(\"AGEI\");\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\trunButton.setEnabled((checkNSGAII.isSelected() || checkNSGAIII.isSelected() || checkSPEA2.isSelected() || checkAGEII.isSelected() \r\n\t\t\t\t\t\t|| checkAGEI.isSelected() || checkPESA2.isSelected())\t&& instance != null);\r\n\t\t\t}\r\n\t\t});\r\n\t\t\r\n\t\tcheckPESA2.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\r\n\t\t\t\tif (checkPESA2.isSelected()) {\r\n\t\t\t\t\talgorithmsToRun.add(\"PESA2\");\r\n\t\t\t\t} else {\r\n\t\t\t\t\talgorithmsToRun.remove(\"PESA2\");\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\trunButton.setEnabled((checkNSGAII.isSelected() || checkNSGAIII.isSelected() || checkSPEA2.isSelected() || checkAGEII.isSelected() \r\n\t\t\t\t\t\t|| checkAGEI.isSelected() || checkPESA2.isSelected())\t&& instance != null);\r\n\t\t\t}\r\n\t\t});\r\n\t\t\r\n\t\talgorithmSpinner.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\r\n\t\t\t\talgorithm = algorithmSpinner.getSelectedItem().toString();\t\t\t\t\t\t\t\r\n\t\t\t\tselectedAccumulator = accumulators.get(algorithmSpinner.getSelectedIndex());\r\n\t\t\t\tdisplayGenerationInfo();\r\n\t\t\t\tupdateMetricGraphs();\r\n\t\t\t\t\r\n\t\t\t\tif (tabbedPane.getSelectedIndex() == 0) {\r\n\t\t\t\t\tprintROI();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\r\n\r\n\t\t//END ACTION LISTENERS -------------------------------------------------------------------------------------------------------------------------\r\n\t}", "public void SvdParameters() {\n\n\t\tSystem.out.print(\"p |\");\n\t\tfor (int i = 0; i < rank; i++) {\n\t\t\tSystem.out.printf(\"%6d\", i);\n\t\t}\n\t\tSystem.out.println();\n\n\t\tSystem.out.print(\"Max error |\");\n\t\tfor (int i = 0; i < rank; i++) {\n\t\t\tSystem.out.printf(\"%6.1f\", maxerror[i]);\n\t\t}\n\t\tSystem.out.println();\n\n\t\tSystem.out.print(\"Mean error |\");\n\t\tfor (int i = 0; i < rank; i++) {\n\t\t\tSystem.out.printf(\"%6.1f\", meanerror[i]);\n\t\t}\n\t\tSystem.out.println();\n\n\t\tSystem.out.print(\"Compression,%|\");\n\t\tfor (int i = 0; i < rank; i++) {\n\t\t\tif (ratio[i] > 0)\n\t\t\t\tSystem.out.printf(\"%6.1f\", ratio[i]);\n\t\t\telse\n\t\t\t\tSystem.out.printf(\" n/a \");\n\t\t}\n\t\tSystem.out.println();\n\t}", "public void setRetreivalParameter(String retModel, String param1,String param2, String param3) {\n \tretModelName = retModel;\n \tswitch(retModel) \n \t{\n \tcase \"lmjm\":\n \t\tretModelParam1 = param1;\n \t\tbreak;\n \tcase \"lmdir\":\n \t\tretModelParam1 = param1;\n \t\tbreak;\n \tcase \"bm25\":\n \t\tretModelParam1 = param1;\n \t\tretModelParam2 = param2;\n \t\tbreak;\n \tcase \"dfr\": \n \t\tretModelParam1 = param1;\n \t\tretModelParam2 = param2;\n \t\tretModelParam3 = param3;\n \t\t//System.out.println(retModelParam1 + retModelParam2 + retModelParam3);\n \t\tbreak;\n \tdefault :\n \t\tSystem.err.println(\"Sorry! No such retrieval models found.\");\n \t\treturn;\n \t}\n }", "public void chooseMenuOption(Number[] options) {\r\n for (int i = 0; i < options.length; i++) {\r\n switch (options[i].intValue()) {\r\n case 0:\r\n //returns the entered from console Number array corresponding to specific input colour\r\n Number[] numbers = chooseParameters(INTEGER_DELIMITERS, View.INPUT_COLOUR, true);\r\n //if there are any values corresponding to the ordinal of Colour enum,\r\n // the predicate chaining is passed to the model\r\n model.setFilterPredicate(s -> findNumberInArray(numbers, s.getColour().ordinal()));\r\n break;\r\n case 1:\r\n numbers = chooseParameters(INTEGER_DELIMITERS, View.MATERIAL_RANGE, true);\r\n model.setFilterPredicate(s -> findNumberInArray(numbers, s.getMaterial().ordinal()));\r\n break;\r\n case 2:\r\n numbers = chooseParameters(INTEGER_DELIMITERS, View.CUT_RANGE, true);\r\n model.setFilterPredicate(s -> findNumberInArray(numbers, s.getCut().ordinal()));\r\n break;\r\n case 3:\r\n numbers = chooseParameters(DOUBLE_DELIMITERS, View.WEIGHT_RANGE, false);\r\n model.setFilterPredicate(s -> findNumberInArray(numbers, s.getWeight()));\r\n break;\r\n case 4:\r\n numbers = chooseParameters(INTEGER_DELIMITERS, View.CLARITY_RANGE, true);\r\n model.setTranspFilterPredicate(s -> findNumberInArray(numbers, s.getClarity()));\r\n break;\r\n case 5:\r\n view.printMessage(View.BREAK);\r\n return;\r\n }\r\n }\r\n model.build();\r\n view.printMessage(View.SELECTED_GEMS + model.getChain() +\r\n View.NECKLACE_WEIGHT + model.calculateWeight() +\r\n View.NECKLACE_PRICE + model.calculatePrice());\r\n model.sortGems();\r\n view.printMessage(View.SORT_ON_PRICE + model.getChain());\r\n\r\n }", "private void printEvaList(){\n\t\tEvaluatedlistModel = new DefaultListModel();\n\t\tEvaluatedList.setModel(EvaluatedlistModel);\n\t\t\n\t}", "public void updateVariables(){\n Map<String, Integer> specialParameter = myLogic.getSpecialParameterToDisplay();\n liveScore.setText(Double.toString(myLogic.getScore()));\n for (String parameter: specialParameter.keySet()) {\n numLives.setText(parameter + specialParameter.get(parameter));\n }\n myMoney.setText(Double.toString(myLogic.getCash()));\n }", "public void model() \n\t{\n\t\t\n\t\ttry \n\t\t{\n\t\t GRBEnv env = new GRBEnv();\n\t\t GRBModel model = new GRBModel(env, \"resources/students.lp\");\n\n\t\t model.optimize();\n\n\t\t int optimstatus = model.get(GRB.IntAttr.Status);\n\n\t\t if (optimstatus == GRB.Status.INF_OR_UNBD) {\n\t\t model.getEnv().set(GRB.IntParam.Presolve, 0);\n\t\t model.optimize();\n\t\t optimstatus = model.get(GRB.IntAttr.Status);\n\t\t }\n\n\t\t if (optimstatus == GRB.Status.OPTIMAL) {\n\t\t double objval = model.get(GRB.DoubleAttr.ObjVal);\n\t\t System.out.println(\"Optimal objective: \" + objval);\n\t\t } else if (optimstatus == GRB.Status.INFEASIBLE) {\n\t\t System.out.println(\"Model is infeasible\");\n\n\t\t // Compute and write out IIS\n\t\t model.computeIIS();\n\t\t model.write(\"model.ilp\");\n\t\t } else if (optimstatus == GRB.Status.UNBOUNDED) {\n\t\t System.out.println(\"Model is unbounded\");\n\t\t } else {\n\t\t System.out.println(\"Optimization was stopped with status = \"\n\t\t + optimstatus);\n\t\t }\n\n\t\t // Dispose of model and environment\n\t\t model.write(\"resources/model.sol\");\n\t\t model.dispose();\n\t\t env.dispose();\n\n\t\t } catch (GRBException e) {\n\t\t System.out.println(\"Error code: \" + e.getErrorCode() + \". \" +\n\t\t e.getMessage());\n\t\t }\n\t\t\n\t}", "public void setParameters(int r, int c) {\n\t\tnr = r;\n\t\tnc = c;\n\t\tsetVisible(true);\n\t}", "private void initialize() {\n\t\tfrmTrainmodelmodule = new JFrame();\n\t\tfrmTrainmodelmodule.setTitle(\"TrainModelModule\");\n\t\tfrmTrainmodelmodule.setBounds(100, 100, 1161, 579);\n\t\tfrmTrainmodelmodule.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\tfrmTrainmodelmodule.getContentPane().setLayout(null);\n\t\t\n\t\t\n\t\t\n\t\t/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////\n\t\tJPanel failureModesPanel = new JPanel();\n\t\tfailureModesPanel.setBorder(new LineBorder(new Color(0, 0, 0), 2));\n\t\tfailureModesPanel.setBounds(12, 23, 219, 347);\n\t\tfrmTrainmodelmodule.getContentPane().add(failureModesPanel);\n\t\tfailureModesPanel.setLayout(null);\n\t\t\n\t\tJLabel lblFailModes = new JLabel(\"Failure Modes\");\n\t\tlblFailModes.setBounds(30, 0, 164, 48);\n\t\tfailureModesPanel.add(lblFailModes);\n\t\tlblFailModes.setFont(new Font(\"Times New Roman\", Font.BOLD, 18));\n\t\tlblFailModes.setHorizontalAlignment(SwingConstants.CENTER);\n\t\t\n\t\tJButton engineFailureButton = new JButton(\"Engine Failure\");\n\t\tengineFailureButton.setFont(new Font(\"Times New Roman\", Font.PLAIN, 13));\n\t\tengineFailureButton.setBounds(30, 61, 164, 54);\n\t\tfailureModesPanel.add(engineFailureButton);\n\t\tengineFailureButton.setForeground(Color.BLACK);\n\t\t\n\t\tJButton brakeFailureButton = new JButton(\"Brake Failure\");\n\t\tbrakeFailureButton.setFont(new Font(\"Times New Roman\", Font.PLAIN, 13));\n\t\tbrakeFailureButton.setBounds(30, 130, 164, 54);\n\t\tfailureModesPanel.add(brakeFailureButton);\n\t\t\n\t\tJButton signalPickupFailureButton = new JButton(\"Signal Pickup Failure\");\n\t\tsignalPickupFailureButton.setFont(new Font(\"Times New Roman\", Font.PLAIN, 13));\n\t\tsignalPickupFailureButton.setBounds(30, 208, 164, 54);\n\t\tfailureModesPanel.add(signalPickupFailureButton);\n\t\t\n\t\tJButton resetButton = new JButton(\"Reset\");\n\t\tresetButton.setFont(new Font(\"Times New Roman\", Font.PLAIN, 13));\n\t\tresetButton.setBounds(30, 289, 164, 45);\n\t\tfailureModesPanel.add(resetButton);\n\t\t\n\t\tengineFailureButton.addMouseListener(new MouseAdapter() {\n\t\t\t@Override\n\t\t\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\t\n\t\t\t\t\n\t\t\t\tbrakeFailureButton.setEnabled(false);\n\t\t\t\tsignalPickupFailureButton.setEnabled(false);\n\t\t\t\ttrain.activateEngineFailure();\n\t\t\t}\n\t\t});\n\t\t\n\t\tbrakeFailureButton.addMouseListener(new MouseAdapter() {\n\t\t\t@Override\n\t\t\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\t\n\t\t\t\tengineFailureButton.setEnabled(false);\n\t\t\t\tsignalPickupFailureButton.setEnabled(false);\n\t\t\t\ttrain.activateBrakeFailure();\n\t\t\t}\n\t\t});\n\t\t\n\t\tsignalPickupFailureButton.addMouseListener(new MouseAdapter() {\n\t\t\t@Override\n\t\t\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\t\n\t\t\t\tbrakeFailureButton.setEnabled(false);\n\t\t\t\tengineFailureButton.setEnabled(false);\n\t\t\t\ttrain.activateSignalPickupFailure();\n\t\t\t}\n\t\t});\n\t\t\n\t\tresetButton.addMouseListener(new MouseAdapter() {\n\t\t\t@Override\n\t\t\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\t\n\t\t\t\tbrakeFailureButton.setEnabled(true);\n\t\t\t\tengineFailureButton.setEnabled(true);\n\t\t\t\tsignalPickupFailureButton.setEnabled(true);\n\t\t\t\ttrain.deactivateEngineFailure();\n\t\t\t\ttrain.deactivateBrakeFailure();\n\t\t\t\ttrain.deactivateSignalPickupFailure();\n\t\t\t}\n\t\t});\n\t\t\n\t\tJPanel enginePwrPanel = new JPanel();\n\t\tenginePwrPanel.setBorder(new LineBorder(new Color(0, 0, 0), 2));\n\t\tenginePwrPanel.setBounds(506, 23, 144, 70);\n\t\tfrmTrainmodelmodule.getContentPane().add(enginePwrPanel);\n\t\tenginePwrPanel.setLayout(null);\n\t\t\n\t\tJLabel lblEnginePwr = new JLabel(\"Engine Power\");\n\t\tlblEnginePwr.setBounds(19, 0, 106, 22);\n\t\tenginePwrPanel.add(lblEnginePwr);\n\t\tlblEnginePwr.setFont(new Font(\"Times New Roman\", Font.BOLD, 18));\n\t\tlblEnginePwr.setHorizontalAlignment(SwingConstants.CENTER);\n\t\t\n\t\ttxtEnginePower = new JTextField();\n\t\ttxtEnginePower.setBounds(6, 28, 131, 28);\n\t\tenginePwrPanel.add(txtEnginePower);\n\t\ttxtEnginePower.setEditable(false);\n\t\ttxtEnginePower.setHorizontalAlignment(SwingConstants.CENTER);\n\t\ttxtEnginePower.setFont(new Font(\"Times New Roman\", Font.PLAIN, 18));\n\t\ttxtEnginePower.setColumns(10);\n\t\t\n\t\tJPanel brkInputPanel = new JPanel();\n\t\tbrkInputPanel.setBorder(new LineBorder(new Color(0, 0, 0), 2));\n\t\tbrkInputPanel.setBounds(243, 23, 251, 347);\n\t\tfrmTrainmodelmodule.getContentPane().add(brkInputPanel);\n\t\tbrkInputPanel.setLayout(null);\n\t\t\n\t\tJLabel lblBrkInputs = new JLabel(\"Brake Inputs\");\n\t\tlblBrkInputs.setBounds(71, 13, 101, 22);\n\t\tbrkInputPanel.add(lblBrkInputs);\n\t\tlblBrkInputs.setFont(new Font(\"Times New Roman\", Font.BOLD, 18));\n\t\tlblBrkInputs.setHorizontalAlignment(SwingConstants.CENTER);\n\t\t\n\t\tJButton tglbtnServiceBrake = new JButton(\"Service Brake\");\n\t\ttglbtnServiceBrake.setFont(new Font(\"Times New Roman\", Font.PLAIN, 13));\n\t\ttglbtnServiceBrake.addMouseListener(new MouseAdapter() {\n\t\t\t@Override\n\t\t\tpublic void mouseClicked(MouseEvent o) {\n\t\t\t\tswitchServiceBrakeStatus();\n\t\t\t}\n\t\t});\n\t\ttglbtnServiceBrake.setSelected(false);\n\t\ttglbtnServiceBrake.setBounds(12, 213, 228, 121);\n\t\tbrkInputPanel.add(tglbtnServiceBrake);\n\t\t\n\t\tJButton tglbtnEmergencyBrake = new JButton(\"Passenger Emergency Brake\");\n\t\ttglbtnEmergencyBrake.setFont(new Font(\"Times New Roman\", Font.PLAIN, 13));\n\t\ttglbtnEmergencyBrake.addMouseListener(new MouseAdapter() {\n\t\t\t@Override\n\t\t\tpublic void mouseClicked(MouseEvent y) {\n\t\t\tswitchEmergencyBrakeStatus();\n\t\t\t}\n\t\t});\n\t\ttglbtnEmergencyBrake.setSelected(false);\n\t\ttglbtnEmergencyBrake.setBounds(12, 56, 228, 121);\n\t\tbrkInputPanel.add(tglbtnEmergencyBrake);\n\t\t\n\t\t////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////\n\t\t////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////\n\t\t//Fixed values on the gui\n\t\tJLabel lblLength = new JLabel(\"Length:\");\n\t\tlblLength.setHorizontalAlignment(SwingConstants.LEFT);\n\t\tlblLength.setFont(new Font(\"Times New Roman\", Font.BOLD, 18));\n\t\tlblLength.setBounds(47, 398, 60, 22);\n\t\tfrmTrainmodelmodule.getContentPane().add(lblLength);\n\t\t\n\t\tJLabel lblWidth = new JLabel(\"Width:\");\n\t\tlblWidth.setFont(new Font(\"Times New Roman\", Font.BOLD, 18));\n\t\tlblWidth.setBounds(54, 430, 53, 22);\n\t\tfrmTrainmodelmodule.getContentPane().add(lblWidth);\n\t\t\n\t\tJLabel lblHeight = new JLabel(\"Height:\");\n\t\tlblHeight.setFont(new Font(\"Times New Roman\", Font.BOLD, 18));\n\t\tlblHeight.setBounds(50, 462, 57, 22);\n\t\tfrmTrainmodelmodule.getContentPane().add(lblHeight);\n\t\t\n\t\tJLabel lblEmptyMass = new JLabel(\"Empty Mass:\");\n\t\tlblEmptyMass.setFont(new Font(\"Times New Roman\", Font.BOLD, 18));\n\t\tlblEmptyMass.setBounds(6, 493, 101, 22);\n\t\tfrmTrainmodelmodule.getContentPane().add(lblEmptyMass);\n\t\t\n\t\tJLabel lblEmergencyBrakeDeceleration = new JLabel(\"Emergency Brake Deceleration Limit:\");\n\t\tlblEmergencyBrakeDeceleration.setHorizontalAlignment(SwingConstants.LEFT);\n\t\tlblEmergencyBrakeDeceleration.setFont(new Font(\"Times New Roman\", Font.BOLD, 18));\n\t\tlblEmergencyBrakeDeceleration.setBounds(285, 394, 291, 22);\n\t\tfrmTrainmodelmodule.getContentPane().add(lblEmergencyBrakeDeceleration);\n\t\t\n\t\tJLabel lblServiceBrakeAcceleration = new JLabel(\"Service Brake Deceleration Limit:\");\n\t\tlblServiceBrakeAcceleration.setFont(new Font(\"Times New Roman\", Font.BOLD, 18));\n\t\tlblServiceBrakeAcceleration.setBounds(315, 429, 261, 22);\n\t\tfrmTrainmodelmodule.getContentPane().add(lblServiceBrakeAcceleration);\n\t\t\n\t\tJLabel lblAccelerationLimit = new JLabel(\"Acceleration Limit:\");\n\t\tlblAccelerationLimit.setFont(new Font(\"Times New Roman\", Font.BOLD, 18));\n\t\tlblAccelerationLimit.setBounds(426, 462, 150, 22);\n\t\tfrmTrainmodelmodule.getContentPane().add(lblAccelerationLimit);\n\t\t\n\t\tJLabel lblMaxEnginePower = new JLabel(\"Max Engine Power:\");\n\t\tlblMaxEnginePower.setFont(new Font(\"Times New Roman\", Font.BOLD, 18));\n\t\tlblMaxEnginePower.setBounds(771, 394, 151, 22);\n\t\tfrmTrainmodelmodule.getContentPane().add(lblMaxEnginePower);\n\t\t\n\t\tJLabel lblMaxSpeed = new JLabel(\"Max Speed:\");\n\t\tlblMaxSpeed.setHorizontalAlignment(SwingConstants.LEFT);\n\t\tlblMaxSpeed.setFont(new Font(\"Times New Roman\", Font.BOLD, 18));\n\t\tlblMaxSpeed.setBounds(831, 428, 91, 22);\n\t\tfrmTrainmodelmodule.getContentPane().add(lblMaxSpeed);\n\t\t\n\t\ttxtLength = new JTextField();\n\t\ttxtLength.setFont(new Font(\"Times New Roman\", Font.PLAIN, 18));\n\t\ttxtLength.setText(\"105.64 ft\");\n\t\ttxtLength.setEditable(false);\n\t\ttxtLength.setBounds(115, 397, 116, 22);\n\t\tfrmTrainmodelmodule.getContentPane().add(txtLength);\n\t\ttxtLength.setColumns(10);\n\t\t\n\t\ttxtWidth = new JTextField();\n\t\ttxtWidth.setFont(new Font(\"Times New Roman\", Font.PLAIN, 18));\n\t\ttxtWidth.setText(\"8.69 ft\");\n\t\ttxtWidth.setEditable(false);\n\t\ttxtWidth.setColumns(10);\n\t\ttxtWidth.setBounds(115, 431, 116, 22);\n\t\tfrmTrainmodelmodule.getContentPane().add(txtWidth);\n\t\t\n\t\ttxtHeight = new JTextField();\n\t\ttxtHeight.setFont(new Font(\"Times New Roman\", Font.PLAIN, 18));\n\t\ttxtHeight.setText(\"11.22 ft\");\n\t\ttxtHeight.setEditable(false);\n\t\ttxtHeight.setColumns(10);\n\t\ttxtHeight.setBounds(115, 463, 116, 22);\n\t\tfrmTrainmodelmodule.getContentPane().add(txtHeight);\n\t\t\n\t\ttxtEmptyMass = new JTextField();\n\t\ttxtEmptyMass.setFont(new Font(\"Times New Roman\", Font.PLAIN, 18));\n\t\ttxtEmptyMass.setText(\"90169.07 lbs\");\n\t\ttxtEmptyMass.setEditable(false);\n\t\ttxtEmptyMass.setColumns(10);\n\t\ttxtEmptyMass.setBounds(115, 494, 116, 22);\n\t\tfrmTrainmodelmodule.getContentPane().add(txtEmptyMass);\n\t\t\n\t\ttxtEBrakeDecel = new JTextField();\n\t\ttxtEBrakeDecel.setFont(new Font(\"Times New Roman\", Font.PLAIN, 18));\n\t\ttxtEBrakeDecel.setText(\"- 8.96 (ft)/(s^2)\");\n\t\ttxtEBrakeDecel.setEditable(false);\n\t\ttxtEBrakeDecel.setColumns(10);\n\t\ttxtEBrakeDecel.setBounds(584, 397, 127, 22);\n\t\tfrmTrainmodelmodule.getContentPane().add(txtEBrakeDecel);\n\t\t\n\t\ttxtSBrakeDecel = new JTextField();\n\t\ttxtSBrakeDecel.setFont(new Font(\"Times New Roman\", Font.PLAIN, 18));\n\t\ttxtSBrakeDecel.setText(\"- 3.94 (ft)/(s^2)\");\n\t\ttxtSBrakeDecel.setEditable(false);\n\t\ttxtSBrakeDecel.setColumns(10);\n\t\ttxtSBrakeDecel.setBounds(584, 431, 127, 22);\n\t\tfrmTrainmodelmodule.getContentPane().add(txtSBrakeDecel);\n\t\t\n\t\ttxtAccelLim = new JTextField();\n\t\ttxtAccelLim.setFont(new Font(\"Times New Roman\", Font.PLAIN, 18));\n\t\ttxtAccelLim.setText(\"1.64 (ft)/(s^2)\");\n\t\ttxtAccelLim.setEditable(false);\n\t\ttxtAccelLim.setColumns(10);\n\t\ttxtAccelLim.setBounds(584, 463, 127, 22);\n\t\tfrmTrainmodelmodule.getContentPane().add(txtAccelLim);\n\t\t\n\t\ttxtMaxEnginePwr = new JTextField();\n\t\ttxtMaxEnginePwr.setFont(new Font(\"Times New Roman\", Font.PLAIN, 18));\n\t\ttxtMaxEnginePwr.setText(\"120000 W\");\n\t\ttxtMaxEnginePwr.setEditable(false);\n\t\ttxtMaxEnginePwr.setColumns(10);\n\t\ttxtMaxEnginePwr.setBounds(927, 396, 116, 22);\n\t\tfrmTrainmodelmodule.getContentPane().add(txtMaxEnginePwr);\n\t\t\n\t\ttxtMaxSpeed = new JTextField();\n\t\ttxtMaxSpeed.setFont(new Font(\"Times New Roman\", Font.PLAIN, 18));\n\t\ttxtMaxSpeed.setText(\"43.50 mph\");\n\t\ttxtMaxSpeed.setEditable(false);\n\t\ttxtMaxSpeed.setColumns(10);\n\t\ttxtMaxSpeed.setBounds(927, 430, 116, 22);\n\t\tfrmTrainmodelmodule.getContentPane().add(txtMaxSpeed);\n\t\t////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////\n\t\t////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////\n\t\t\n\t\tJPanel doorPanel = new JPanel();\n\t\tdoorPanel.setBorder(new LineBorder(new Color(0, 0, 0), 2));\n\t\tdoorPanel.setBounds(506, 252, 272, 118);\n\t\tfrmTrainmodelmodule.getContentPane().add(doorPanel);\n\t\tdoorPanel.setLayout(null);\n\t\t\n\t\tJLabel lblLeftDoorsStatus = new JLabel(\"Left Doors Status:\");\n\t\tlblLeftDoorsStatus.setBounds(23, 44, 142, 22);\n\t\tdoorPanel.add(lblLeftDoorsStatus);\n\t\tlblLeftDoorsStatus.setFont(new Font(\"Times New Roman\", Font.BOLD, 18));\n\t\t\n\t\tJLabel lblRightDoorsStatus = new JLabel(\"Right Doors Status:\");\n\t\tlblRightDoorsStatus.setBounds(12, 70, 153, 22);\n\t\tdoorPanel.add(lblRightDoorsStatus);\n\t\tlblRightDoorsStatus.setHorizontalAlignment(SwingConstants.LEFT);\n\t\tlblRightDoorsStatus.setFont(new Font(\"Times New Roman\", Font.BOLD, 18));\n\t\t\n\t\tJLabel lblNewLabel_5 = new JLabel(\"Doors\");\n\t\tlblNewLabel_5.setFont(new Font(\"Times New Roman\", Font.BOLD, 18));\n\t\tlblNewLabel_5.setBounds(112, 13, 56, 16);\n\t\tdoorPanel.add(lblNewLabel_5);\n\t\t\n\t\ttextLeftDoorStat = new JTextField();\n\t\ttextLeftDoorStat.setHorizontalAlignment(SwingConstants.CENTER);\n\t\ttextLeftDoorStat.setFont(new Font(\"Times New Roman\", Font.PLAIN, 13));\n\t\ttextLeftDoorStat.setEditable(false);\n\t\ttextLeftDoorStat.setColumns(10);\n\t\ttextLeftDoorStat.setBounds(176, 45, 84, 22);\n\t\tdoorPanel.add(textLeftDoorStat);\n\t\t\n\t\ttextRightDoorStat = new JTextField();\n\t\ttextRightDoorStat.setHorizontalAlignment(SwingConstants.CENTER);\n\t\ttextRightDoorStat.setFont(new Font(\"Times New Roman\", Font.PLAIN, 13));\n\t\ttextRightDoorStat.setEditable(false);\n\t\ttextRightDoorStat.setColumns(10);\n\t\ttextRightDoorStat.setBounds(176, 71, 84, 22);\n\t\tdoorPanel.add(textRightDoorStat);\n\t\t\n\t\tJPanel brakePanel = new JPanel();\n\t\tbrakePanel.setLayout(null);\n\t\tbrakePanel.setBorder(new LineBorder(new Color(0, 0, 0), 2));\n\t\tbrakePanel.setBounds(790, 252, 338, 118);\n\t\tfrmTrainmodelmodule.getContentPane().add(brakePanel);\n\t\t\n\t\tJLabel lblEmergencyBrakeStatus = new JLabel(\"Emergency Brake Status:\");\n\t\tlblEmergencyBrakeStatus.setFont(new Font(\"Times New Roman\", Font.BOLD, 18));\n\t\tlblEmergencyBrakeStatus.setBounds(12, 44, 194, 22);\n\t\tbrakePanel.add(lblEmergencyBrakeStatus);\n\t\t\n\t\tJLabel lblServiceBrakeStatus = new JLabel(\"Service Brake Status:\");\n\t\tlblServiceBrakeStatus.setHorizontalAlignment(SwingConstants.LEFT);\n\t\tlblServiceBrakeStatus.setFont(new Font(\"Times New Roman\", Font.BOLD, 18));\n\t\tlblServiceBrakeStatus.setBounds(42, 76, 164, 22);\n\t\tbrakePanel.add(lblServiceBrakeStatus);\n\t\t\n\t\tJLabel lblBrakes = new JLabel(\"Brakes\");\n\t\tlblBrakes.setFont(new Font(\"Times New Roman\", Font.BOLD, 18));\n\t\tlblBrakes.setBounds(159, 13, 56, 16);\n\t\tbrakePanel.add(lblBrakes);\n\t\ttrainSelectBox.setFont(new Font(\"Times New Roman\", Font.PLAIN, 13));\n\t\ttrainSelectBox.addItemListener(new ItemListener() {\n\t\t\tpublic void itemStateChanged(ItemEvent arg0) {\n\t\t\t\tif (arg0.getStateChange() == ItemEvent.SELECTED) {\n\t\t\t Integer trainID = (Integer) arg0.getItem();\n\t\t\t switchTrain(trainID);\n\t\t\t }\n\t\t\t}\n\t\t});\n\t\t\n\t\ttrainSelectBox.setBounds(1060, 23, 58, 20);\n\t\tfrmTrainmodelmodule.getContentPane().add(trainSelectBox);\n\t\t\n\t\ttxtEBrkStat = new JTextField();\n\t\ttxtEBrkStat.setHorizontalAlignment(SwingConstants.CENTER);\n\t\ttxtEBrkStat.setFont(new Font(\"Times New Roman\", Font.PLAIN, 13));\n\t\ttxtEBrkStat.setEditable(false);\n\t\ttxtEBrkStat.setColumns(10);\n\t\ttxtEBrkStat.setBounds(209, 45, 116, 22);\n\t\tbrakePanel.add(txtEBrkStat);\n\t\t\n\t\ttxtSBrkStat = new JTextField();\n\t\ttxtSBrkStat.setHorizontalAlignment(SwingConstants.CENTER);\n\t\ttxtSBrkStat.setFont(new Font(\"Times New Roman\", Font.PLAIN, 13));\n\t\ttxtSBrkStat.setEditable(false);\n\t\ttxtSBrkStat.setColumns(10);\n\t\ttxtSBrkStat.setBounds(209, 77, 116, 22);\n\t\tbrakePanel.add(txtSBrkStat);\n\t\t\n\t\tJPanel setSpdPanel = new JPanel();\n\t\tsetSpdPanel.setLayout(null);\n\t\tsetSpdPanel.setBorder(new LineBorder(new Color(0, 0, 0), 2));\n\t\tsetSpdPanel.setBounds(662, 23, 144, 70);\n\t\tfrmTrainmodelmodule.getContentPane().add(setSpdPanel);\n\t\t\n\t\tJLabel lblSetSpd = new JLabel(\"Target Speed\");\n\t\tlblSetSpd.setHorizontalAlignment(SwingConstants.CENTER);\n\t\tlblSetSpd.setFont(new Font(\"Times New Roman\", Font.BOLD, 18));\n\t\tlblSetSpd.setBounds(19, 0, 106, 22);\n\t\tsetSpdPanel.add(lblSetSpd);\n\t\t\n\t\ttxtSetSpd = new JTextField();\n\t\ttxtSetSpd.setHorizontalAlignment(SwingConstants.CENTER);\n\t\ttxtSetSpd.setFont(new Font(\"Times New Roman\", Font.PLAIN, 18));\n\t\ttxtSetSpd.setEditable(false);\n\t\ttxtSetSpd.setColumns(10);\n\t\ttxtSetSpd.setBounds(6, 28, 131, 28);\n\t\tsetSpdPanel.add(txtSetSpd);\n\t\t\n\t\tJPanel Authoritypanel = new JPanel();\n\t\tAuthoritypanel.setLayout(null);\n\t\tAuthoritypanel.setBorder(new LineBorder(new Color(0, 0, 0), 2));\n\t\tAuthoritypanel.setBounds(818, 23, 144, 70);\n\t\tfrmTrainmodelmodule.getContentPane().add(Authoritypanel);\n\t\t\n\t\tJLabel lblAuthority = new JLabel(\"Authority\");\n\t\tlblAuthority.setHorizontalAlignment(SwingConstants.CENTER);\n\t\tlblAuthority.setFont(new Font(\"Times New Roman\", Font.BOLD, 18));\n\t\tlblAuthority.setBounds(19, 0, 106, 22);\n\t\tAuthoritypanel.add(lblAuthority);\n\t\t\n\t\ttxtAuthority = new JTextField();\n\t\ttxtAuthority.setHorizontalAlignment(SwingConstants.CENTER);\n\t\ttxtAuthority.setFont(new Font(\"Times New Roman\", Font.PLAIN, 18));\n\t\ttxtAuthority.setEditable(false);\n\t\ttxtAuthority.setColumns(10);\n\t\ttxtAuthority.setBounds(6, 28, 131, 28);\n\t\tAuthoritypanel.add(txtAuthority);\n\t\t\n\t\tJPanel blkSpdLimPanel = new JPanel();\n\t\tblkSpdLimPanel.setLayout(null);\n\t\tblkSpdLimPanel.setBorder(new LineBorder(new Color(0, 0, 0), 2));\n\t\tblkSpdLimPanel.setBounds(506, 135, 144, 70);\n\t\tfrmTrainmodelmodule.getContentPane().add(blkSpdLimPanel);\n\t\t\n\t\tJLabel lblBlockSpeedLimit = new JLabel(\"Block Speed Limit\");\n\t\tlblBlockSpeedLimit.setHorizontalAlignment(SwingConstants.CENTER);\n\t\tlblBlockSpeedLimit.setFont(new Font(\"Times New Roman\", Font.BOLD, 16));\n\t\tlblBlockSpeedLimit.setBounds(6, 0, 131, 22);\n\t\tblkSpdLimPanel.add(lblBlockSpeedLimit);\n\t\t\n\t\ttxtBockSpdLim = new JTextField();\n\t\ttxtBockSpdLim.setHorizontalAlignment(SwingConstants.CENTER);\n\t\ttxtBockSpdLim.setFont(new Font(\"Times New Roman\", Font.PLAIN, 18));\n\t\ttxtBockSpdLim.setEditable(false);\n\t\ttxtBockSpdLim.setColumns(10);\n\t\ttxtBockSpdLim.setBounds(6, 28, 131, 28);\n\t\tblkSpdLimPanel.add(txtBockSpdLim);\n\t\t\n\t\tJPanel currSpeedPanel = new JPanel();\n\t\tcurrSpeedPanel.setLayout(null);\n\t\tcurrSpeedPanel.setBorder(new LineBorder(new Color(0, 0, 0), 2));\n\t\tcurrSpeedPanel.setBounds(662, 135, 144, 70);\n\t\tfrmTrainmodelmodule.getContentPane().add(currSpeedPanel);\n\t\t\n\t\tJLabel lblCurrSpd = new JLabel(\"Current Speed\");\n\t\tlblCurrSpd.setHorizontalAlignment(SwingConstants.CENTER);\n\t\tlblCurrSpd.setFont(new Font(\"Times New Roman\", Font.BOLD, 18));\n\t\tlblCurrSpd.setBounds(6, 0, 131, 22);\n\t\tcurrSpeedPanel.add(lblCurrSpd);\n\t\t\n\t\ttxtCurrSpd = new JTextField();\n\t\ttxtCurrSpd.setHorizontalAlignment(SwingConstants.CENTER);\n\t\ttxtCurrSpd.setFont(new Font(\"Times New Roman\", Font.PLAIN, 18));\n\t\ttxtCurrSpd.setEditable(false);\n\t\ttxtCurrSpd.setColumns(10);\n\t\ttxtCurrSpd.setBounds(6, 28, 131, 28);\n\t\tcurrSpeedPanel.add(txtCurrSpd);\n\t\t\n\t\tJPanel accelPanel = new JPanel();\n\t\taccelPanel.setLayout(null);\n\t\taccelPanel.setBorder(new LineBorder(new Color(0, 0, 0), 2));\n\t\taccelPanel.setBounds(818, 135, 144, 70);\n\t\tfrmTrainmodelmodule.getContentPane().add(accelPanel);\n\t\t\n\t\tJLabel lblAcceleration = new JLabel(\"Acceleration\");\n\t\tlblAcceleration.setHorizontalAlignment(SwingConstants.CENTER);\n\t\tlblAcceleration.setFont(new Font(\"Times New Roman\", Font.BOLD, 18));\n\t\tlblAcceleration.setBounds(19, 0, 106, 22);\n\t\taccelPanel.add(lblAcceleration);\n\t\t\n\t\ttxtAccel = new JTextField();\n\t\ttxtAccel.setHorizontalAlignment(SwingConstants.CENTER);\n\t\ttxtAccel.setFont(new Font(\"Times New Roman\", Font.PLAIN, 18));\n\t\ttxtAccel.setEditable(false);\n\t\ttxtAccel.setColumns(10);\n\t\ttxtAccel.setBounds(6, 28, 131, 28);\n\t\taccelPanel.add(txtAccel);\n\t\t\n\t\tJPanel panel_5 = new JPanel();\n\t\tpanel_5.setLayout(null);\n\t\tpanel_5.setBorder(new LineBorder(new Color(0, 0, 0), 2));\n\t\tpanel_5.setBounds(974, 135, 144, 70);\n\t\tfrmTrainmodelmodule.getContentPane().add(panel_5);\n\t\t\n\t\tJLabel lblGrade = new JLabel(\"Grade\");\n\t\tlblGrade.setHorizontalAlignment(SwingConstants.CENTER);\n\t\tlblGrade.setFont(new Font(\"Times New Roman\", Font.BOLD, 18));\n\t\tlblGrade.setBounds(19, 0, 106, 22);\n\t\tpanel_5.add(lblGrade);\n\t\t\n\t\ttxtGrade = new JTextField();\n\t\ttxtGrade.setHorizontalAlignment(SwingConstants.CENTER);\n\t\ttxtGrade.setFont(new Font(\"Times New Roman\", Font.PLAIN, 18));\n\t\ttxtGrade.setEditable(false);\n\t\ttxtGrade.setColumns(10);\n\t\ttxtGrade.setBounds(6, 28, 131, 28);\n\t\tpanel_5.add(txtGrade);\n\t\t\n\t\tJLabel lblTrainId = new JLabel(\"Train ID:\");\n\t\tlblTrainId.setFont(new Font(\"Times New Roman\", Font.BOLD, 18));\n\t\tlblTrainId.setBounds(985, 22, 74, 20);\n\t\tfrmTrainmodelmodule.getContentPane().add(lblTrainId);\n\t\t\n\t}", "public void printSettings() {\n Logger.println(\"\\n---------- Simulated Annealing Settings ----------\");\n Logger.println(\" Max Iteration = \" + MAX_ITERATION);\n Logger.println(\" Denominator = \" + denominatorString());\n Logger.println(\" Initial Solution = \" + initialSolutionString());\n Logger.println(\"--------------------------------------------------\\n\");\n }", "public void term()\n \t{\n \t\tTechEditWizardData data = wizard.getTechEditData();\n \t\tdata.setGateLength(TextUtils.atof(length.getText()));\n\t\tdata.setGateWidth(TextUtils.atof(width.getText()));\n \t\tdata.setGateContactSpacing(TextUtils.atof(contactSpacing.getText()));\n \t\tdata.setGateSpacing(TextUtils.atof(spacing.getText()));\n \t}", "public void parameterChange( ParameterChangeEvent event ) {\n\n String S = C + \": parameterChange(): \";\n if ( D ) System.out.println( \"\\n\" + S + \"starting: \" );\n\n String name1 = event.getParameterName();\n\n // if IMR selection changed, update the site parameter list and supported IMT\n if ( name1.equalsIgnoreCase(imrGuiBean.IMR_PARAM_NAME)) {\n ScalarIntensityMeasureRelationshipAPI imr = imrGuiBean.getSelectedIMR_Instance();\n //set the intensity measure for the IMR\n imr.setIntensityMeasure(SA_Param.NAME);\n //gets the SA Period Values for the IMR\n this.getSA_PeriodForIMR(imr);\n siteGuiBean.replaceSiteParams(imr.getSiteParamsIterator());\n siteGuiBean.validate();\n siteGuiBean.repaint();\n }\n if(name1.equalsIgnoreCase(ERF_GuiBean.ERF_PARAM_NAME)) {\n /* get the selected ERF\n NOTE : We have used erfGuiBean.getSelectedERF_Instance()INSTEAD OF\n erfGuiBean.getSelectedERF.\n Difference is that erfGuiBean.getSelectedERF_Instance() does not update\n the forecast while erfGuiBean.getSelectedERF updates the\n */\n if(erfGuiBean !=null){\n\n controlComboBox.removeAllItems();\n this.initControlList();\n // add the Epistemic control panel option if Epistemic ERF is selected\n if(erfGuiBean.isEpistemicList()) {\n this.controlComboBox.addItem(EPISTEMIC_CONTROL);\n controlComboBox.setSelectedItem(EPISTEMIC_CONTROL);\n }\n }\n }\n }", "public static void main(String[] args) {\n//\n// controller.setSoldierRank(0, \"Turai\");\n// controller.addModel(new Model(2, \"Lera\", \"RavSamal\"));\n// controller.updateViews();\n\n Controller controller = new Controller();\n controller.addModel(new Model(1, \"Gal\", \"Citizen\"));\n controller.addModel(new Model(12121, \"bubu\", \"Smar\"));\n controller.addModel(new Model(624, \"Groot\", \"Tree\"));\n controller.addModel(new Model(-10, \"Deadpool\", \"Awesome\"));\n controller.addModel(new Model(100, \"Nikita\", \"Citizen\"));\n\n controller.presentUI();\n\n controller.updateViews();\n }", "private void displayEditMenu()\r\n {\r\n System.out.println();\r\n System.out.println(\"--------- Edit Menu ------------\");\r\n System.out.println(\"(1) Edit Car Colour\");\r\n System.out.println(\"(2) Edit Car Price\");\r\n System.out.println(\"(3) Back to Main Menu\");\r\n }", "void setRNRFilter(){\n\t\tString argument = cmd.getOptionValue(\"rnr\",\".5\");\n\t\tfloat valFloat = Float.parseFloat(argument);\n\t\tfilterValue = valFloat;\n\t}", "public void loadDefaultSettings(){\r\n try{\r\n File propFile;\r\n String curLine;\r\n CodeSource codeSource = EMSimulationSettingsView.class.getProtectionDomain().getCodeSource();\r\n File jarFile = new File(codeSource.getLocation().toURI().getPath());\r\n File jarDir = jarFile.getParentFile();\r\n \r\n propFile = new File(jarDir, \"default_EMSettings.txt\");\r\n FileReader fr = new FileReader(propFile);//reads in the pdb\r\n BufferedReader br = new BufferedReader(fr);\r\n while ((curLine = br.readLine()) != null) {\r\n String[] setting = curLine.split(\"[\\t]+\");//split by whitespace into an array to read\r\n if(setting[0].toString().compareTo(\"Minim Method\")==0){\r\n jComboBox1.setSelectedIndex(Integer.parseInt(setting[1]));\r\n }\r\n\t\t\t \r\n if(setting[0].compareTo(\"Step Size\")==0){\r\n if(setting[1].compareTo(\"0.0\")!=0&&setting[1].compareTo(\"0\")!=0)jTextField1.setText(setting[1]);\r\n }\r\n \r\n if(setting[0].compareTo(\"Numsteps\")==0){\r\n jTextField2.setText(setting[1]);\r\n }\r\n \r\n if(setting[0].compareTo(\"Convergence\")==0){\r\n jTextField3.setText(setting[1]);\r\n }\r\n\t\t\t \r\n\t\tif(setting[0].compareTo(\"Interval\")==0){\r\n jTextField4.setText(setting[1]);\r\n }\r\n }\r\n this.setVisible(true);\r\n br.close();\r\n fr.close();\r\n }\r\n catch (Exception e){\r\n System.err.println(\"Error: \" + e.getMessage());\r\n }\r\n }", "public static void main (String[] args){\r\n\t\t\r\n\t\t\r\n\t\tSimInit init = new SimInit();\r\n\t\tModelGUI m = new ModelGUI();\r\n\t\tinit.loadModel(m, null, false);\r\n\t\t\r\n\t}", "private void readSelection() {\n\t\tnumberOfNodes = Integer.parseInt(number.getText());\n\t\tdistributionSel = distributionModelComboBox.getSelectedItem().toString();\n\t\tnodeTypeSel = nodeTypeComboBox.getSelectedItem().toString();\n\t\tinterferenceSel = interferenceModelComboBox.getSelectedItem().toString();\n\t\tmobilitySel = mobilityModelComboBox.getSelectedItem().toString();\n\t\treliabilitySel = reliabilityModelComboBox.getSelectedItem().toString();\n\t\tconnectivitySel = connectivityModelComboBox.getSelectedItem().toString();\n\t\t\n\t\tdistributionParamDefString = distributionParam.getText();\n\t\tinterferenceDefString = interferenceParam.getText();\n\t\tmobilityDefString = mobilityParam.getText();\n\t\treliabilityDefString = reliabilityParam.getText();\n\t\tconnectivityDefString = connectivityParam.getText();\n\t}", "private void displayMenu() {\r\n System.out.println(\"\\nSelect an option from below:\");\r\n System.out.println(\"\\t1. View current listings\");\r\n System.out.println(\"\\t2. List your vehicle\");\r\n System.out.println(\"\\t3. Remove your listing\");\r\n System.out.println(\"\\t4. Check if you won bid\");\r\n System.out.println(\"\\t5. Save listings file\");\r\n System.out.println(\"\\t6. Exit application\");\r\n\r\n }", "public static void options(){\n System.out.println(\"Choose from the following options \");\n System.out.println(\"0 Print the options again\");\n System.out.println(\"1 Create Student Records\");\n System.out.println(\"2 Create Teacher Records\");\n System.out.println(\"3 Edit the Records\");\n System.out.println(\"4 Get the Record Count\");\n System.out.println(\"5 Exit\");\n }", "private void displayOptions() {\n\t\tSystem.out.println();\n\t\tSystem.out.println(\"Main System Menu\");\n\t\tSystem.out.println(\"----------------\");\n\t\tSystem.out.println(\"A)dd polling place\");\n\t\tSystem.out.println(\"C)lose the polls\");\n\t\tSystem.out.println(\"R)esults\");\n\t\tSystem.out.println(\"P)er-polling-place results\");\n\t\tSystem.out.println(\"E)liminate lowest candidate\");\n\t\tSystem.out.println(\"?) display this menu of choices again\");\n\t\tSystem.out.println(\"Q)uit\");\n\t\tSystem.out.println();\n\t}", "public main() {\n initComponents();\n btnSalvar3.setVisible(false);\n lerConfig();\n }", "private void displayMenu() {\n\t\tSystem.out.println(\"********Loan Approval System***********\");\n\t\tSystem.out.println(\"\\n\");\n\t\tSystem.out.println(\n\t\t\t\t\"Choose the following options:\\n(l)Load Applicaitons\\n(s)Set the Budget\\n(m)Make a decision\\n(p)Print\\n(u)Update the application\");\n\n\t}", "public void display() {\n \n //Print the features representation\n System.out.println(\"\\nDENSE REPRESENTATION\\n\");\n \n //Print the header\n System.out.print(\"ID\\t\");\n for (short i = 0 ; i < dimension; i++) {\n System.out.format(\"%s\\t\\t\", i);\n }\n System.out.println();\n \n //Print all the instances\n for (Entry<String, Integer> entry : mapOfInstances.entrySet()) {\n System.out.format(\"%s\\t\", entry.getKey());\n for (int i = 0; i < vectorDimension(); i++) {\n //System.out.println(allFeatures.get(entry.getValue())[i]);\n System.out.format(\"%f\\t\", allValues.get(entry.getValue())[i]); \n }\n System.out.println();\n }\n }", "public void term()\n \t{\n //\t\tfor(Iterator<Technology> tIt = Technology.getTechnologies(); tIt.hasNext(); )\n //\t\t{\n //\t\t\tTechnology tech = tIt.next();\n //\n // for (Iterator<Foundry> itF = tech.getFoundries(); itF.hasNext();)\n // {\n // Foundry foundry = itF.next();\n // HashMap<Layer,String> gdsLayers = new HashMap<Layer,String>();\n // for(Iterator<Layer> lIt = tech.getLayers(); lIt.hasNext(); )\n // {\n // Layer layer = lIt.next();\n // String str = get(foundry, layer);\n // GDSLayers numbers = GDSLayers.parseLayerString(str);\n // if (numbers == null) continue;\n //\n // Setting setting = foundry.getGDSLayerSetting(layer);\n // String oldStr = getString(setting);\n // GDSLayers oldNumbers = oldStr != null ? GDSLayers.parseLayerString(oldStr) : GDSLayers.EMPTY;\n // if (!oldNumbers.equals(numbers))\n // setString(setting, numbers.toString());\n // }\n // }\n //\t\t}\n setBoolean(gdsOutMergesBoxesSetting, gdsOutputMergesBoxes.isSelected());\n setBoolean(gdsOutWritesExportPinsSetting, gdsOutputWritesExportPins.isSelected());\n setBoolean(gdsOutUpperCaseSetting, gdsOutputUpperCase.isSelected());\n setInt(gdsOutDefaultTextLayerSetting, TextUtils.atoi(gdsDefaultTextLayer.getText()));\n setBoolean(gdsOutputConvertsBracketsInExportsSetting, gdsOutputConvertsBracketsInExports.isSelected());\n setInt(gdsCellNameLenMaxSetting, TextUtils.atoi(gdsCellNameLenMax.getText()));\n \t}", "private void printCRUDDoctorOption() {\n\t\tSystem.out.println(\"\\n\\n----Edit DOCTOR----\");\n\t\tSystem.out.println(\"1. Insert a new doctor\");\n\t\tSystem.out.println(\"2. List all doctors\");\n\t\tSystem.out.println(\"3. Update doctor data\");\n\t\tSystem.out.println(\"4. Remove doctor\");\n\t\tSystem.out.println(\"5. Back\");\n\t\tSystem.out.println(\"Enter your choice: \");\n\t}", "@Override\r\n\tpublic void setParameterValuesToGUI() {\r\n\t\tthis.pb = this.workPackage.getParameters();\r\n\r\n\t\tjSpinnerLeft.removeChangeListener(this);\r\n\t\tjSpinnerRight.removeChangeListener(this);\r\n\t\tjSpinnerTop.removeChangeListener(this);\r\n\t\tjSpinnerBottom.removeChangeListener(this);\r\n\t\tjSpinnerConst.removeChangeListener(this);\r\n\r\n\t\tjSpinnerLeft.setValue(pb.getIntParameter(\"Left\"));\r\n\t\tjSpinnerRight.setValue(pb.getIntParameter(\"Right\"));\r\n\t\tjSpinnerTop.setValue(pb.getIntParameter(\"Top\"));\r\n\t\tjSpinnerBottom.setValue(pb.getIntParameter(\"Bottom\"));\r\n\t\tjSpinnerConst.setValue(pb.getIntParameter(\"Const\"));\r\n\r\n\t\tjSpinnerLeft.addChangeListener(this);\r\n\t\tjSpinnerRight.addChangeListener(this);\r\n\t\tjSpinnerTop.addChangeListener(this);\r\n\t\tjSpinnerBottom.addChangeListener(this);\r\n\t\tjSpinnerConst.addChangeListener(this);\r\n\r\n\t\tjSpinnerNewWidth.removeChangeListener(this);\r\n\t\tjSpinnerNewHeight.removeChangeListener(this);\r\n\t\tjSpinnerNewWidth.setValue(pb.getIntParameter(\"NewWidth\"));\r\n\t\tjSpinnerNewHeight.setValue(pb.getIntParameter(\"NewHeight\"));\r\n\t\tjSpinnerNewWidth.addChangeListener(this);\r\n\t\tjSpinnerNewHeight.addChangeListener(this);\r\n\r\n\t\tif (pb.getIntParameter(\"Method\") == IqmOpBorderDescriptor.ZERO) buttZero.setSelected(true);\r\n\t\tif (pb.getIntParameter(\"Method\") == IqmOpBorderDescriptor.CONSTANT) buttConst.setSelected(true);\r\n\t\tif (pb.getIntParameter(\"Method\") == IqmOpBorderDescriptor.COPY) buttCopy.setSelected(true);\r\n\t\tif (pb.getIntParameter(\"Method\") == IqmOpBorderDescriptor.REFLECT) buttReflect.setSelected(true);\r\n\t\tif (pb.getIntParameter(\"Method\") == IqmOpBorderDescriptor.WRAP) buttWrap.setSelected(true);\r\n\r\n\t\tif (buttConst.isSelected()) {\r\n\t\t\tjSpinnerConst.setEnabled(true);\r\n\t\t} else {\r\n\t\t\tjSpinnerConst.setEnabled(false);\r\n\t\t}\r\n\r\n\t\tif (pb.getIntParameter(\"BorderOrSize\") == IqmOpBorderDescriptor.PREFERENCE_BORDER) buttBorder.setSelected(true);\r\n\t\tif (pb.getIntParameter(\"BorderOrSize\") == IqmOpBorderDescriptor.PREFERENCE_SIZE) buttSize.setSelected(true);\r\n\r\n\t}", "private void getGrblSettings(){\r\n\t\tgrblPort.sendDataLine(\"$$\");//Send the command to get the settings\r\n\t\ttry {\r\n\t\t\tThread.sleep(2500);\r\n\t\t} catch (InterruptedException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\t//Grbl returns a bunch of lines, with each line containing a different setting and value\r\n\t\t//The format of each line follows the following format (the items in quotes would be replaced with an actual value):\r\n\t\t//$\"setting key\" = \"setting value\" (\"setting description\")\r\n\t\t//Below is an example of this format:\r\n\t\t//$0=10 (step pulse, usec)\r\n\t\twhile(grblPort.isNewAvail()){\r\n\t\t\tString rawReturn = grblPort.readNextLine();\r\n\t\t\tif (rawReturn.toCharArray()[0] == '$'){ //Make sure each line we are getting is actually a line with a setting\r\n\t\t\t\t//Process the string to obtain the key and the value\r\n\t\t\t\trawReturn = rawReturn.substring(1, rawReturn.length()-1);\r\n\t\t\t\tString settingKeyString = rawReturn.split(\"=\")[0];\r\n\t\t\t\tString rawValueString = rawReturn.split(\"=\")[1];\r\n\t\t\t\tString valueString = rawValueString.split(\" \")[0];\r\n\t\t\t\tgrblSettings.put(Integer.getInteger(settingKeyString),Float.valueOf(valueString));\r\n\t\t\t}\r\n\t\t}\r\n\t}", "public RJGUIModel () {\n\t}", "private void setDisplay() {\n\t\tDisplayOpt.add(\"-sd\");\n\t\tDisplayOpt.add(\"/sd\");\n\t\tDisplayOpt.add(\"showdetails\");\n\n\t}", "public void setParameters(Map<String, String> param) {\n\n // check the occurrence of required parameters\n if(!(param.containsKey(\"Indri:mu\") && param.containsKey(\"Indri:lambda\"))){\n throw new IllegalArgumentException\n (\"Required parameters for IndriExpansion model were missing from the parameter file.\");\n }\n\n this.mu = Double.parseDouble(param.get(\"Indri:mu\"));\n if(this.mu < 0) throw new IllegalArgumentException\n (\"Illegal argument: \" + param.get(\"Indri:mu\") + \", mu is a real number >= 0\");\n\n this.lambda = Double.parseDouble(param.get(\"Indri:lambda\"));\n if(this.lambda < 0) throw new IllegalArgumentException\n (\"Illegal argument: \" + param.get(\"Indri:lambda\") + \", lambda is a real number between 0.0 and 1.0\");\n\n if((param.containsKey(\"fb\") && param.get(\"fb\").equals(\"true\"))) {\n this.fb = \"true\";\n\n this.fbDocs = Integer.parseInt(param.get(\"fbDocs\"));\n if (this.fbDocs <= 0) throw new IllegalArgumentException\n (\"Illegal argument: \" + param.get(\"fbDocs\") + \", fbDocs is an integer > 0\");\n\n this.fbTerms = Integer.parseInt(param.get(\"fbTerms\"));\n if (this.fbTerms <= 0) throw new IllegalArgumentException\n (\"Illegal argument: \" + param.get(\"fbTerms\") + \", fbTerms is an integer > 0\");\n\n this.fbMu = Integer.parseInt(param.get(\"fbMu\"));\n if (this.fbMu < 0) throw new IllegalArgumentException\n (\"Illegal argument: \" + param.get(\"fbMu\") + \", fbMu is an integer >= 0\");\n\n this.fbOrigWeight = Double.parseDouble(param.get(\"fbOrigWeight\"));\n if (this.fbOrigWeight < 0) throw new IllegalArgumentException\n (\"Illegal argument: \" + param.get(\"fbOrigWeight\") + \", fbOrigWeight is a real number between 0.0 and 1.0\");\n\n if (param.containsKey(\"fbInitialRankingFile\") && param.get(\"fbInitialRankingFile\") != \"\") {\n this.fbInitialRankingFile = param.get(\"fbInitialRankingFile\");\n try{\n this.initialRanking = readRanking();\n }\n catch (Exception e){\n e.printStackTrace();\n }\n }\n\n if (param.containsKey(\"fbExpansionQueryFile\") && param.get(\"fbExpansionQueryFile\") != \"\")\n this.fbExpansionQueryFile = param.get(\"fbExpansionQueryFile\");\n }\n }", "public void viewOptions()\r\n {\r\n SetupScreen setupScreen = new SetupScreen();\r\n pushScreen(setupScreen);\r\n }", "public void executeView()\n\t{\n\t\tString cmd = \"\";\n\t\tString opar = Deducer.getUniqueName(\"opar\");\n\t\tcmd += (opar + \" <- par()\"); //save the original margin parameters\n\t\tcmd += (\"\\npar(mar=c(8, 4, 4, 0.5))\"); //give the plot more space at the bottom for long words.\n\t\tcmd += (\n\t\t\t\t\"\\nbarplot(\" \n\t\t\t\t+ \n\t\t\t\ttfDialog.getTermFreqCall(this.getExtraTermFreqArgs()) + \",\" \n\t\t\t\t+\n\t\t\t\t\"cex.names=0.8,\" //make the terms a bit smaller\n\t\t\t\t+\n\t\t\" las=2);\");\n\t\tcmd += (\"\\npar(\"+ opar +\")\");\n\t\tDeducer.execute(cmd);\n\t\tDeducer.execute(\"dev.set()\", false); //give the plot focus\n\t\t\n\t\t\n\t}", "public void output_UpdatedData(){\r\n\r\n\t System.out.println(\"\\nParameters are updated as following...\");\r\n\t \r\n\t System.out.println(\"Dry (double): \"+DRY);\r\n\t \r\n\t System.out.println(\"Wet (double): \"+WET);\r\n\t System.out.println(\"ISNOW (double): \"+ISNOW);\r\n\t System.out.println(\"Wind(double): \"+WIND);\r\n\t System.out.println(\"BUO (double): \"+BUO);\r\n\t System.out.println(\"Iherb (int): \"+IHERB);\r\n}", "public static void f_menu(){\n System.out.println(\"╔══════════════════════╗\");\r\n System.out.println(\"║ SoftAverageHeight ║\");\r\n System.out.println(\"║Version 1.0 20200428 ║\");\r\n System.out.println(\"║Created by:Andres Diaz║\");\r\n System.out.println(\"╚══════════════════════╝\");\r\n\r\n }", "private void printMovieMenu(){\n\t\tprint(\"Please choose from the options below\"+System.lineSeparator(), \"1.Search by Actor\", \"2.Search by Title\", \"3.Search by Genre\",\"4.Back to Login Menu\");\n\t}", "public static void menu() {\n\t\tSystem.out.println(\"\\nPlease select which type of argument to generate by entering the associated number.\\n\");\n\t\tfor(int i = 0; i < type.length; i++) {\n\t\t\tSystem.out.println((i+1)+\". \"+type[i]);\n\t\t}\n\t\tSystem.out.println(\"8. Quit\");\n\t}", "void printLobs(Lobs iLobs)\n {\n System.out.println(iLobs.getElementValue());\n }", "protected void getRadioProfile() {\n\t\tGeneralUtils.startLevel(\"Radio Parameters Initialize:\");\n\t\ttry {\n\t\t\tradioParams = enbConfig.getRadioProfile(dut);\n\t\t\tif (runWithDynamicCFI){\n\t\t\t\tradioParams.setCfi(\"1\");\n\t\t\t\treport.report(\"Running with Dynamic CFI\");\n\t\t\t}\n\t\t\tif(!radioParams.getDuplex().equals(\"TDD\")){\n\t\t\t\tradioParams.setFrameConfig(\"1\");\n\t\t\t\tradioParams.setSpecialSubFrame(\"7\");\n\t\t\t}\n\t\t\tint maxUeSupported = netspanServer.getMaxUeSupported(dut);\n\t\t\treport.report(\"Number of max UE supported according to netspan: \"+maxUeSupported);\n\t\t\tGeneralUtils.printToConsole(radioParams.getCalculatorString(streamsMode));\n\t\t} catch (Exception e) {\n\t\t\treport.report(\"Error: \" + e.getMessage());\n\t\t}\n\t\tGeneralUtils.stopLevel();\n\t}", "public String display(){\r\n\t\tif(this.AWD==true){\r\n\t\t\treturn super.display()+\" \"+model+\" \"+this.price+\"$ SF: \"+this.safetyRating+\" RNG: \" +this.maxRange+\" AWD\";\r\n\t\t}\r\n\t\telse{\r\n\t\t\treturn super.display()+\" \"+model+\" \"+this.price+\"$ SF: \"+this.safetyRating+\" RNG: \" +this.maxRange+\" 2WD\";\r\n\t\t}\r\n \r\n\t}", "void setParameters() {\n\t\t\n\t}", "static void displayMenu(){\n\t\tSystem.out.println(\"\");\n\t\tSystem.out.println(\"Select operation:\");\n\t\tSystem.out.println(\"1-List movies\");\n\t\tSystem.out.println(\"2-Show movie details\");\n\t\tSystem.out.println(\"3-Add a movie\");\n\t\tSystem.out.println(\"4-Add an example set of 5 movies\");\n\t\tSystem.out.println(\"5-Exit\");\n\t}", "private void populateGUI(TideParameters tideParameters) {\n\n if (tideParameters.getMinPeptideLength() != null) {\n minPepLengthTxt.setText(tideParameters.getMinPeptideLength() + \"\");\n }\n if (tideParameters.getMaxPeptideLength() != null) {\n maxPepLengthTxt.setText(tideParameters.getMaxPeptideLength() + \"\");\n }\n if (tideParameters.getMinPrecursorMass() != null) {\n minPrecursorMassTxt.setText(tideParameters.getMinPrecursorMass() + \"\");\n }\n if (tideParameters.getMaxPrecursorMass() != null) {\n maxPrecursorMassTxt.setText(tideParameters.getMaxPrecursorMass() + \"\");\n }\n if (tideParameters.getMonoisotopicPrecursor() != null) {\n if (tideParameters.getMonoisotopicPrecursor()) {\n monoPrecursorCmb.setSelectedIndex(0);\n } else {\n monoPrecursorCmb.setSelectedIndex(1);\n }\n }\n if (tideParameters.getClipNtermMethionine() != null) {\n if (tideParameters.getClipNtermMethionine()) {\n removeMethionineCmb.setSelectedIndex(0);\n } else {\n removeMethionineCmb.setSelectedIndex(1);\n }\n }\n// if (tideParameters.getMinVariableModificationsPerPeptide() != null) {\n// minPtmsPerPeptideTxt.setText(tideParameters.getMinVariableModificationsPerPeptide() + \"\");\n// }\n if (tideParameters.getMaxVariableModificationsPerPeptide() != null) {\n maxPtmsPerPeptideTxt.setText(tideParameters.getMaxVariableModificationsPerPeptide() + \"\");\n }\n if (tideParameters.getMaxVariableModificationsPerTypePerPeptide() != null) {\n maxVariablePtmsPerTypeTxt.setText(tideParameters.getMaxVariableModificationsPerTypePerPeptide() + \"\");\n }\n if (tideParameters.getDigestionType() != null) {\n enzymeTypeCmb.setSelectedItem(tideParameters.getDigestionType());\n }\n if (tideParameters.getPrintPeptides() != null) {\n if (tideParameters.getPrintPeptides()) {\n peptideListCmb.setSelectedIndex(0);\n } else {\n peptideListCmb.setSelectedIndex(1);\n }\n }\n if (tideParameters.getDecoyFormat() != null) {\n decoyFormatCombo.setSelectedItem(tideParameters.getDecoyFormat());\n }\n if (tideParameters.getKeepTerminalAminoAcids() != null) {\n keepTerminalAaCombo.setSelectedItem(tideParameters.getKeepTerminalAminoAcids());\n }\n if (tideParameters.getDecoySeed() != null) {\n decoySeedTxt.setText(tideParameters.getDecoySeed() + \"\");\n }\n if (tideParameters.getRemoveTempFolders() != null) {\n if (tideParameters.getRemoveTempFolders()) {\n removeTempFoldersCmb.setSelectedIndex(0);\n } else {\n removeTempFoldersCmb.setSelectedIndex(1);\n }\n }\n if (tideParameters.getComputeExactPValues() != null) {\n if (tideParameters.getComputeExactPValues()) {\n exactPvalueCombo.setSelectedIndex(0);\n } else {\n exactPvalueCombo.setSelectedIndex(1);\n }\n }\n if (tideParameters.getComputeSpScore() != null) {\n if (tideParameters.getComputeSpScore()) {\n spScoreCombo.setSelectedIndex(0);\n } else {\n spScoreCombo.setSelectedIndex(1);\n }\n }\n if (tideParameters.getMinSpectrumMz() != null) {\n minSpectrumMzTxt.setText(tideParameters.getMinSpectrumMz() + \"\");\n }\n if (tideParameters.getMaxSpectrumMz() != null) {\n maxSpectrumMzTxt.setText(tideParameters.getMaxSpectrumMz() + \"\");\n }\n if (tideParameters.getMinSpectrumPeaks() != null) {\n minPeaksTxt.setText(tideParameters.getMinSpectrumPeaks() + \"\");\n }\n if (tideParameters.getSpectrumCharges() != null) {\n chargesCombo.setSelectedItem(tideParameters.getSpectrumCharges());\n }\n if (tideParameters.getRemovePrecursor() != null) {\n if (tideParameters.getRemovePrecursor()) {\n removePrecursorPeakCombo.setSelectedIndex(0);\n } else {\n removePrecursorPeakCombo.setSelectedIndex(1);\n }\n }\n if (tideParameters.getRemovePrecursorTolerance() != null) {\n removePrecursorPeakToleranceTxt.setText(\"\" + tideParameters.getRemovePrecursorTolerance());\n }\n if (tideParameters.getUseFlankingPeaks() != null) {\n if (tideParameters.getUseFlankingPeaks()) {\n useFlankingCmb.setSelectedIndex(0);\n } else {\n useFlankingCmb.setSelectedIndex(1);\n }\n }\n if (tideParameters.getUseNeutralLossPeaks() != null) {\n if (tideParameters.getUseNeutralLossPeaks()) {\n useNeutralLossCmb.setSelectedIndex(0);\n } else {\n useNeutralLossCmb.setSelectedIndex(1);\n }\n }\n if (tideParameters.getMzBinWidth() != null) {\n mzBinWidthTxt.setText(\"\" + tideParameters.getMzBinWidth());\n }\n if (tideParameters.getMzBinOffset() != null) {\n mzBinOffsetTxt.setText(\"\" + tideParameters.getMzBinOffset());\n }\n if (tideParameters.getNumberOfSpectrumMatches() != null) {\n numberMatchesTxt.setText(\"\" + tideParameters.getNumberOfSpectrumMatches());\n }\n if (tideParameters.getTextOutput()) {\n outputFormatCombo.setSelectedItem(\"Text\");\n } else if (tideParameters.getSqtOutput()) {\n outputFormatCombo.setSelectedItem(\"SQT\");\n } else if (tideParameters.getPepXmlOutput()) {\n outputFormatCombo.setSelectedItem(\"pepxml\");\n } else if (tideParameters.getMzidOutput()) {\n outputFormatCombo.setSelectedItem(\"mzIdentML\");\n } else if (tideParameters.getPinOutput()) {\n outputFormatCombo.setSelectedItem(\"Percolator input file\");\n }\n }", "private void getSavedValues() {\r\n\r\n if (this.pl_expert.getParam(\"displayNodeDegree\") != null) {\r\n this.display_node_degree_current = this.pl_expert.getParam(\"displayNodeDegree\");\r\n } else {\r\n this.display_node_degree_current = display_node_degree_default;\r\n }\r\n\r\n if (this.pl_expert.getParam(\"displayEdges\") != null) {\r\n this.display_edges_current = this.pl_expert.getParam(\"displayEdges\");\r\n } else {\r\n this.display_edges_current = display_edges_default;\r\n }\r\n\r\n if (this.pl_expert.getParam(\"scale\") != null) {\r\n this.scale_current = this.pl_expert.getParam(\"scale\");\r\n } else {\r\n this.scale_current = scale_default;\r\n }\r\n\r\n if (this.pl_expert.getParam(\"minWeight\") != null) {\r\n this.minweight_edges_current = this.pl_expert.getParam(\"minWeight\");\r\n } else {\r\n this.minweight_edges_current = minweight_edges_default;\r\n }\r\n\r\n if (this.pl_expert.getParam(\"iterations\") != null) {\r\n this.iterations_current = this.pl_expert.getParam(\"iterations\");\r\n } else {\r\n this.iterations_current = iterations_default;\r\n }\r\n\r\n if (this.pl_expert.getParam(\"vote_value\") != null) {\r\n this.vote_value_current = this.pl_expert.getParam(\"vote_value\");\r\n } else {\r\n this.vote_value_current = vote_value_default;\r\n }\r\n\r\n if (this.pl_expert.getParam(\"keep_value\") != null) {\r\n this.keepclass_value_current = this.pl_expert.getParam(\"keep_value\");\r\n } else {\r\n this.keepclass_value_current = keepclass_value_default;\r\n }\r\n\r\n if (this.pl_expert.getParam(\"mut_value\") != null) {\r\n this.mut_value_current = this.pl_expert.getParam(\"mut_value\");\r\n } else {\r\n this.mut_value_current = mut_value_default;\r\n }\r\n\r\n if (this.pl_expert.getParam(\"mutationParameter\") != null) {\r\n this.mut_option_current = this.pl_expert.getParam(\"mutationParameter\");\r\n } else {\r\n this.mut_option_current = mut_option_default;\r\n }\r\n\r\n if (this.pl_expert.getParam(\"Update_param\") != null) {\r\n this.update_param_current = this.pl_expert.getParam(\"Update_param\");\r\n } else {\r\n this.update_param_current = update_param_default;\r\n }\r\n\r\n if (this.pl_expert.getParam(\"Alg_param\") != null) {\r\n this.alg_param_current = this.pl_expert.getParam(\"Alg_param\");\r\n } else {\r\n this.alg_param_current = alg_param_default;\r\n }\r\n\r\n if (this.pl_expert.getParam(\"only_sub\") != null) {\r\n this.display_sub_current = new Boolean(this.pl_expert.getParam(\"only_sub\")).booleanValue();\r\n } else {\r\n this.display_sub_current = display_sub_default;\r\n }\r\n\r\n this.is_alg_started = false;\r\n }", "public void setOptions(){\n System.out.println(\"¿Que operacion desea realizar?\");\n System.out.println(\"\");\n System.out.println(\"1- Consultar sus datos\");\n System.out.println(\"2- Ingresar\");\n System.out.println(\"3- Retirar\");\n System.out.println(\"4- Transferencia\");\n System.out.println(\"5- Consultar saldo\");\n System.out.println(\"6- Cerrar\");\n System.out.println(\"\");\n}", "static String makeHelpString() {\r\n\r\n String s;\r\n s=\"The parameters set through this interface control many of the\";\r\n s+=\" details of the calculation. Once the parameters are set,\";\r\n s+=\" store them by clicking the \\\"Save Changes\\\" button.\\n\\n\";\r\n\r\n s+=\"Log10 Start Time\\nBase-10 logarithm of the start time for\";\r\n s+=\" integration, in seconds. Distinguish from logx- below, which is\";\r\n s+= \" the start time for the plot. \\n\\n\";\r\n\r\n s+=\"Log10 END TIME\\nBase-10 logarithm of the final time for\";\r\n s+=\" integration, in seconds. Distinguish from logx+ below, which is\";\r\n s+= \" the end time for the plot. \\n\\n\";\r\n\r\n s+=\"Precision\\nPrecision factor for integration timestep.\";\r\n s+=\" Smaller values give smaller adaptive timestep and more precision.\\n\\n\";\r\n\r\n s+=\"CalcMode\\nCalculation mode (QSS=quasi-steady-state, Asy=normal asymptotic,\";\r\n s+=\" AsyMott=Mott asymptotic, AsyOB=Oran-Boris asymptotic, Explicit=explicit, F90Asy=F90).\\n\\n\";\r\n\r\n s+=\"dX\\nPermitted tolerance in deviation of sum of mass fractions X\";\r\n s+=\" from unity. For example, a value of 0.01 requires the timestep to be\";\r\n s+=\" adjusted such that sum X lies between 0.99 and 1.01\";\r\n s+=\" after each timestep.\\n\\n\";\r\n\r\n// s+=\"Max Light-Ion Mass\\nMaximum mass light ion permitted to\";\r\n// s+=\" contribute to reactions. For example, if this variable is set\";\r\n// s+=\" to 4, p + O16 and He4 + O16 reactions can contribute (if\";\r\n// s+=\" the corresponding Reaction Class is selected), but C12 + O16\";\r\n// s+=\" would be excluded since 12 is larger than 4. As another\";\r\n// s+=\" example, if Reaction Class 5 is selected and this variable\";\r\n// s+=\" is set equal to 1, p-gamma reactions contribute but not\";\r\n// s+=\" alpha-p reactions.\\n\\n\";\r\n\r\n s+=\"HYDRODYNAMIC VARIABLES\\nThe temperature (in units\";\r\n s+=\" of 10^9 K), the density (in units of g/cm^3), and electron fraction Ye are set in\";\r\n s+=\" one of two mutually exclusive ways, chosen through the radio\";\r\n s+=\" buttons. If \\\"Constant\\\" is selected the (constant)\";\r\n s+=\" temperature (T), density (rho), and electron fraction (Ye) are entered in the\";\r\n s+=\" corresponding fields. If \\\"Specify Profile\\\"\";\r\n s+=\" is selected instead, a file name is specified that\";\r\n s+=\" contains the time profile for T, rho, and Ye to be used in the\";\r\n s+=\" calculation\";\r\n s+=\" (note: assume to be case-sensitive) if in the same directory\";\r\n s+=\" as the Java class files, or by a properly qualified path\";\r\n s+=\" for the machine in question if in another directory. For\";\r\n s+=\" example, on a Unix machine \\\"../file.ext\\\" would specify the\";\r\n s+=\" file with name \\\"file.ext\\\" in the parent directory.\";\r\n s+=\" See the file jin/sampleHydroProfile.inp for sample file format\\n\\n\";\r\n\r\n\r\n s+=\"logx-\\nThe lower limit in log time for plot.\";\r\n s+=\" This differs from LOG10 START TIME, which is the integration start time.\";\r\n s+=\" Generally logx- must be greater than or equal to LOG10 START TIME \";\r\n s+= \" (the program will set logx- = LOG10 START TIME otherwise).\\n\\n\";\r\n\r\n s+=\"logx+\\nThe upper limit in log time for plot.\";\r\n s+=\" This differs from LOG10 END TIME, which is the integration stop time.\";\r\n s+=\" Generally logx+ must be less than or equal to LOG10 END TIME \";\r\n s+= \" (the program will set logx+ = LOG10 END TIME otherwise).\\n\\n\";\r\n\r\n s+=\"logy-\\nThe lower limit in log X (mass fraction) or log Y (abundance) for plot\";\r\n s+= \" (which one is determined by the X/Y selection widget).\\n\\n\";\r\n\r\n s+=\"logy+\\nThe upper limit in log X (mass fraction) or log Y (abundance) for plot.\";\r\n s+= \" (which one is determined by the X/Y selection widget).\\n\\n\";\r\n\r\n s+=\"x tics\\nNumber of tic marks on x axis.\\n\\n\";\r\n\r\n s+=\"y tics\\nNumber of tic marks on y axis.\\n\\n\";\r\n\r\n s+=\"Isotopes\\nMaximum number of curves to plot (500 is the largest permitted value).\\n\\n\";\r\n\r\n s+=\"E/dE\\nWhether integrated energy E or differential energy dE is plotted.\\n\\n\";\r\n\r\n s+=\"X/Y\\nWhether mass fraction X or molar abundance Y is plotted.\\n\\n\";\r\n\r\n s+=\"Lines/Symbols\\nWhether curves are drawn with lines or series of symbols.\\n\\n\";\r\n\r\n s+=\"Color/BW\\nWhether curves are drawn in color or black and white.\\n\\n\";\r\n\r\n s+=\"Steps\\nNumber of time intervals to plot (time intervals\";\r\n s+=\" will be equally spaced on log scale). Typical values are ~100. Max is\";\r\n s+=\" StochasticElements.tintMax. Larger values give better plot resolution but\"; \r\n s+=\" larger postscript files.\\n\\n\";\r\n\r\n s+=\"MinCon\\nApproximate minimum contour for 2D and 3D plots.\\n\\n\";\r\n\r\n s+=\"3D\\nWhether to output data in ascii file 3D.data for 3D plot animation by rateViewer3D.\\n\\n\";\r\n\r\n s+=\"AlphaOnly\\nIf No, include only triple-alpha among alpha reactions with light ions\";\r\n s+=\" (for alpha network). Otherwise, include all alpha reactions with light ions.\\n\\n\";\r\n\r\n s+=\"x deci\\nNumber of digits beyond decimal for x-axis labels.\\n\\n\";\r\n\r\n s+=\"y deci\\nNumber of digits beyond decimal for y-axis labels.\\n\\n\";\r\n\r\n s+=\"Ymin\\nFractional particle number threshold for including a box in network in a given\";\r\n s+=\" timestep. Roughly, in given timestep only isotopes having an an abundance Y\";\r\n s+=\" larger than Ymin will be processed.\\n\\n\";\r\n\r\n s+=\"renormX\\nWhether to renormalize sum of mass fractions to 1 after each timestep.\\n\\n\";\r\n \r\n s+=\"Lineplot\\nDetermines whether the lineplot produced\";\r\n s+=\" of populations as a function of time has a tall or \";\r\n s+=\" short vertical aspect.\\n\\n\";\r\n \r\n s+=\"PopCM\\nChooses colormap for 2D population animation.\\n\\n\";\r\n \r\n s+=\"FluxCM\\nChooses colormap for 2D flux ratio animation.\\n\\n\";\r\n\r\n s+=\"Comments\\nOptional comments that will be included in output text and graphics.\\n\\n\";\r\n\r\n// Remove following for now\r\n/*\r\n s+=\"Zmax\\nThe maximum value of proton number that will be considered\";\r\n s+=\" in the calculation. Set larger than the highest Z likely\";\r\n s+=\" to be encountered in the reactions of the network.\";\r\n\t\ts+=\" Can't be larger than StochasticElements.pmax.\\n\\n\";\r\n\r\n s+=\"Nmax\\nThe maximum value of neutron number that will be considered\";\r\n s+=\" in the calculation. Set larger than the highest N likely\";\r\n s+=\" to be encountered in the reactions of the network.\";\r\n\t\ts+=\" Can't be larger than StochasticElements.nmax.\\n\\n\";\r\n\r\n s+=\"Zmin\\nThe minimum value of proton number that will be considered\";\r\n s+=\" in the calculation for heavier ions. (Note: protons, neutrons,\";\r\n s+=\" He3, and He4 are always considered, irrespective of this\";\r\n s+=\" parameter). For example, if Zmin=6, no isotopes with mass\";\r\n s+=\" numbers less than 6 will be considered, except for protons,\";\r\n s+=\" neutrons (if Include Neutrons is set to \\\"Yes\\\"), He3, and\";\r\n s+=\" alpha particles. Normally changed only for diagnostic purposes. \\n\\n\";\r\n*/\r\n\r\n return s;\r\n\r\n }", "public ParametersInternalFrame() {\n initComponents();\n jLabel2.setText(MainFrame.sessionParams.getOrganization().getName());\n \n initData();\n }", "public void printRules_RVLR () {\n \n System.out.println(\"PRINTING RULESET ID : \" + this.id + \" (\" + this.size() + \") entries.\");\n for (int i = 0; i < this.size(); i++) {\n \n System.out.println(\"Rule \" + (i+1) + \" (ID \" + references.get(i) + \") : \" + this.rulelist.getRuleByID(references.get(i)) + \" Prob : \" + this.rulelist.getRuleByID(references.get(i)).getProb() + \" TIMES \" + this.rulelist.getRuleByID(references.get(i)).occurrencies + \" PREC \" + this.rulelist.getRuleByID(references.get(i)).prec_occurrencies + \" Value : \" + this.rulelist.getRuleByID(references.get(i)).get_RVRL());\n }\n System.out.println(\"Total Prob : \" + this.totalProb);\n //System.out.println(\"Precedences : \" + this.precedences);\n }", "@Override protected void startup() {\n show(new MIDLetParamsView(this));\n }", "java.lang.String getSolverSpecificParameters();", "public void print() {\n\t\tSystem.out.println(\"[System] 펫 정보입니다.\\n 이름 : \"+TMGCSYS.tmgcName+\", 레벨 : \"+TMGCSYS.tmgcLV+\", 경험치 : \"+TMGCSYS.tmgcEXP+\"/\"+(100*TMGCSYS.tmgcLV)+\", 체력 : \"+TMGCSYS.tmgcHP+\", 스트레스 : \"+TMGCSYS.tmgcStress);\r\n\t}", "public void displaySaveGameView()\n {\n System.out.println(\"\\nSave Game View selected.\");\n }", "public void resvOptions(GuestMgr gm, RoomMgr rm) {\n\t\tint choice;\n\n\t\tdo {\n\t\t\tSystem.out.println();\n\t\t\tSystem.out.println(\"=>Please select from the following:\");\n\t\t\tSystem.out.println(\"(1) Create New RESERVATION\");\n\t\t\tSystem.out.println(\"(2) Update RESERVATION detail\");\n\t\t\tSystem.out.println(\"(3) Search RESERVATION detail\");\n\t\t\tSystem.out.println(\"(4) Remove RESERVATION detail\");\n\t\t\tSystem.out.println(\"(5) View all RESERVATION detail\");\n\t\t\tSystem.out.println(\"(6) Return to the previous menu\");\n\t\t\tchoice = errorCheckingInt(\"Enter the number of your choice: \");\n\n\t\t\tswitch (choice) {\n\t\t\t\tcase 1: //(1) Create New RESERVATION\n\t\t\t\t\tcreateNewResv(gm, rm, false);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 2:\t//(2) Update RESERVATION detail\n\t\t\t\t\tupdateResvOption(rm);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 3: //(3) Search RESERVATION detail\n\t\t\t\t\tint resvNo = errorCheckingInt(\"Enter Reservation No.: \");\n\t\t\t\t\treadReservation(searchReservation(resvNo));\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 4: //(4) Remove RESERVATION detail\n\t\t\t\t\tremoveReservation(rm);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 5: //(5) View all RESERVATION detail\n\t\t\t\t\treadReservationList();\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 6: //(6) Return to the previous menu\n\t\t\t\t\tbreak;\n\n\t\t\t\tdefault:\n\t\t\t\t\tSystem.out.println(\"Invalid Input!\");\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t\trefreshReservations(rm);\n\t\t\tCollections.sort(rList);\n\t\t} while (choice != 6);\n\t}", "public void refresh()\n\t{\n\t\tnum1 = -1;\n\t\tnum2 = -1;\n\t\tnum3 = -1;\n\t\tnum1Label.setText(\"\");\n\t\tnum2Label.setText(\"\");\n\t\tnum3Label.setText(\"\");\n\t\t\n\t\tcheckEquationButton.setEnabled(false);\n\t\t\n\t\toperationSign = getOperation(levelChosen);\n\t\t\n\t\t//Choosing the number range for each level\n\t\tfor(int i = 0; i < 9; i++)\n\t\t{\n\t\t\tif(levelChosen == 0 || levelChosen == 1 || levelChosen == 3)\n\t\t\t{\n\t\t\t\trandomNumList[i] = getRandomNum(1,9);\n\t\t\t}// end if\n\t\t\telse if(levelChosen == 2)\n\t\t\t{\n\t\t\t\trandomNumList[i] = getRandomNum(1,12);\n\t\t\t}// end else if\n\t\t}\n\t\t\n\t\toperationLabel.setText(\"\"+operationSign (operationSign));\n\t\t\n\t\t//Randomly picks three numbers that are different from each other to use to make a viable equation\n\t\tint temp = getRandomNum(0,8);\n\t\tint temp2 = getRandomNum(0,8);\n\t\tint temp3 = getRandomNum(0,8);\n\t\twhile(temp == temp2)\n\t\t{\n\t\t\ttemp2 = getRandomNum(0,8);\n\t\t}// end while loop\n\t\t\n\t\twhile(temp2 == temp3)\n\t\t{\n\t\t\ttemp3 = getRandomNum(0,8);\n\t\t}// end while loop\n\t\t\n\t\t// will make sure there will be at least one viable equation\n\t\tswitch (operationSign)\n\t\t{\n\t\t\tcase 1:\n\t\t\tcase 2:\n\t\t\trandomNumList[temp] = randomNumList[temp2] + randomNumList[temp3];\n\t\t\tbreak;\n\t\t\tcase 3:\n\t\t\tcase 4:\n\t\t\trandomNumList[temp] = randomNumList[temp2] * randomNumList[temp3];\n\t\t}// end case statements\n\t\t\n\t\tfor(int i = 0; i < 9; i++)\n\t\t{\n\t\t\tinitButton(i);\n\t\t}//end for \n\t}", "void showRealSenseCongratulations() {\n\t\tshowInput3DCongratulations(\n\t\t\t\tgetLocalization().getMenu(\"RealSense.DetectedMessage\"),\n\t\t\t\tREALSENSE_TUTORIAL);\n\t}", "@Override\n public Enumeration<Option> listOptions() {\n Vector<Option> result = new Vector<Option>();\n\n result.add(new Option(\"\", \"\", 0,\n \"\\nOptions specific to model building and evaluation:\"));\n\n result.add(new Option(\"\\tMLlib classifier to build and evaluate\", \"W\", 1,\n \"-W <MLlib classifier and options>\"));\n\n result\n .add(new Option(\n \"\\tSpecify a filter to pre-process the data \"\n + \"with.\\n\\tThe filter must be a StreamableFilter, meaning that the output\"\n + \"\\n\\tformat produced by the filter must be able to be determined\"\n + \"\\n\\tdirectly from the input data format. This option may be supplied\"\n + \"\\n\\tmultiple times in order to apply more than one filter.\",\n \"filter\", 1, \"-filter <filter name and options>\"));\n\n result.add(new Option(\n \"\\tSeparate data source for loading a test set. Set either this or\\n\\t\"\n + \"folds for a cross-validation (note that setting folds\\n\\t\"\n + \"to 1 will perform testing on training)\", \"test-set-data-source\", 1,\n \"-test-set-data-source <spec>\"));\n\n result.add(new Option(\"\\tNumber of folds for cross-validation. Set either \"\n + \"this or -test-set-data-source for a separate test set\", \"folds\", 1,\n \"-folds <integer>\"));\n\n result.add(new Option(\n \"\\tCompute AUC and AUPRC. Note that this requires individual\\n\\t\"\n + \"predictions to be retained - specify a fraction of\\n\\t\"\n + \"predictions to sample (e.g. 0.5) in order to save resources.\",\n \"auc\", 1, \"-auc <fraction of predictions to sample>\"));\n result.add(new Option(\"\\tOptional sub-directory of <output-dir>/eval \"\n + \"in which to store results.\", \"output-subdir\", 1,\n \"-output-subdir <directory name>\"));\n\n result.add(new Option(\"\\tClass index (1-based) or class attribute name \"\n + \"(default = last attribute).\", \"class\", 1, \"-class <index or name>\"));\n\n result.add(new Option(\n \"\\tCreate data splits with the order of the input instances\\n\\t\"\n + \"shuffled randomly. Also stratifies the data if the class\\n\\t\"\n + \"is nominal. Works in conjunction with -num-splits; can\\n\\t\"\n + \"alternatively use -num-instances-per-slice.\", \"randomize\", 0,\n \"-randomize\"));\n\n result.add(new Option(\"\", \"\", 0,\n \"\\nOptions specific to data randomization/stratification:\"));\n RandomizedDataSparkJob tempRJob = new RandomizedDataSparkJob();\n Enumeration<Option> randOpts = tempRJob.listOptions();\n while (randOpts.hasMoreElements()) {\n result.add(randOpts.nextElement());\n }\n\n return result.elements();\n }", "@Override\n\tpublic Object[] getGUIParameters() {\n\t\treturn null;\n\t}", "private void printEditMenu(){\n System.out.println(\"fh - Flip horizontal \\n fv - Flip vertical \\n sl - Slide left \\n sr - Slide right \\n su - Slide up \\n sd - Slide down \\n nr - Slide number right. Currently=\" + numberRight + \"\\n nl - Slide number left. Currently=\" + numberLeft + \"\\n nd - Slide number down. Currently=\" + numberDown + \"\\n nu - Slide number up. Currently=\" + numberUp + \"\\n r - Repeat last operation (Default slide left) \\n q - Quit (Return to main menu)\");\n }", "public void printLattice() {\n System.out.println(\"New configuration looks like this:\\n\");\n\n for (int i = 0; i < m; i++) {\n for (int j = 0; j < m; j++) {\n System.out.printf(\"%d \", lattice[i][j]);\n }\n System.out.println();\n }\n }", "private static void showRegs(MicroBlazeProcessor mb) {\r\n RegisterFile regs = mb.getRegisterFile();\r\n //System.out.println(\"General Purpose Registers Values:\");\r\n console.print(\"General Purpose Registers Values:\");\r\n for(int i=0; i<regs.numRegisters(); i++) {\r\n console.print(\"[\" + i + \"]:\" + regs.read(i));\r\n //System.out.println(\"[\" + i + \"]:\" + regs.read(i));\r\n }\r\n }", "@DISPID(1610940429) //= 0x6005000d. The runtime will prefer the VTID if present\n @VTID(35)\n Parameters parameters();", "public void printOptions() {\n\t\t\n\t}", "public void editOptions()\n {\n System.out.println(\"\\n\\t\\t:::::::::::::::::::::::::::::::::::\");\n System.out.println(\"\\t\\t| Select Options Below : |\");\n System.out.println(\"\\t\\t:::::::::::::::::::::::::::::::::::\");\n System.out.println(\"\\t\\t| [1] Modify Actors |\");\n System.out.println(\"\\t\\t| [2] Modify Rating |\");\n System.out.println(\"\\t\\t| [3] Modify Actors & Rating |\");\n System.out.println(\"\\t\\t| [4] Back To Menu |\");\n System.out.println(\"\\t\\t===================================\");\n System.out.print(\"\\t\\t Input the option number : \");\n }", "private void TEMrunInfo(){\n\n int idummy;\n idummy=TEM.runcht.cht.getCd().getVegtype(); \t \n \tstateTB.setValueAt(Integer.toString(idummy), GUIconfigurer.I_VEGETATION, 1);\n idummy=TEM.runcht.cht.getCd().getDrgtype(); \t \n \tstateTB.setValueAt(Integer.toString(idummy), GUIconfigurer.I_DRAINAGE, 1);\n idummy=TEM.runcht.cht.getCd().getGrdid(); \t \n \tstateTB.setValueAt(Integer.toString(idummy), GUIconfigurer.I_GRD, 1);\n idummy=TEM.runcht.cht.getCd().getEqchtid(); \t \n \tstateTB.setValueAt(Integer.toString(idummy), GUIconfigurer.I_EQCHT, 1);\n idummy=TEM.runcht.cht.getCd().getSpchtid(); \t \n \tstateTB.setValueAt(Integer.toString(idummy), GUIconfigurer.I_SPCHT, 1);\n idummy=TEM.runcht.cht.getCd().getTrchtid(); \t \n \t stateTB.setValueAt(Integer.toString(idummy), GUIconfigurer.I_TRCHT, 1);\n \t \n float ddummy;\n ddummy=(float)TEM.runcht.initstate.getMossthick(); \t \n \tinitTB.setValueAt(Float.toString(ddummy), GUIconfigurer.I_MOSSTHICK, 1);\n ddummy=(float)TEM.runcht.initstate.getFibthick(); \t \n \tinitTB.setValueAt(Float.toString(ddummy), GUIconfigurer.I_FIBTHICK, 1);\n ddummy=(float)TEM.runcht.initstate.getHumthick(); \t \n \tinitTB.setValueAt(Float.toString(ddummy), GUIconfigurer.I_HUMTHICK, 1);\n ddummy=(float)TEM.runcht.initstate.getVegc(); \t \n \tinitTB.setValueAt(Float.toString(ddummy), GUIconfigurer.I_VEGC, 1);\n ddummy=(float)TEM.runcht.initstate.getVegn(); \t \n \tinitTB.setValueAt(Float.toString(ddummy), GUIconfigurer.I_VEGN, 1);\t\t\n ddummy=(float)TEM.runcht.initstate.getSoilc(); \t \n \tinitTB.setValueAt(Float.toString(ddummy), GUIconfigurer.I_SOILC, 1);\t \n ddummy=(float)TEM.runcht.initstate.getFibc(); \t \n \t\tinitTB.setValueAt(Float.toString(ddummy), GUIconfigurer.I_FIBSOILC, 1);\n ddummy=(float)TEM.runcht.initstate.getHumc(); \t \n \t\tinitTB.setValueAt(Float.toString(ddummy), GUIconfigurer.I_HUMSOILC, 1);\n ddummy=(float)TEM.runcht.initstate.getMinc(); \t \n \t\tinitTB.setValueAt(Float.toString(ddummy), GUIconfigurer.I_MINESOILC, 1);\n ddummy=(float)TEM.runcht.initstate.getAvln(); \t \n \tinitTB.setValueAt(Float.toString(ddummy), GUIconfigurer.I_AVAILN, 1);\n ddummy=(float)TEM.runcht.initstate.getOrgn(); \t \n \tinitTB.setValueAt(Float.toString(ddummy), GUIconfigurer.I_SOILN, 1);\n\n //\n \tvegpar_bgc vbpar = new vegpar_bgc();\n \tsoipar_bgc sbpar = new soipar_bgc();\n \tTEM.runcht.cht.getBgcPar(vbpar, sbpar);\n\n ddummy=vbpar.getM1(); \t \n \tfixparTB.setValueAt(Float.toString(ddummy), GUIconfigurer.I_m1, 1);\n ddummy=vbpar.getM2(); \t \n \tfixparTB.setValueAt(Float.toString(ddummy), GUIconfigurer.I_m2, 1);\n ddummy=vbpar.getM3(); \t \n \tfixparTB.setValueAt(Float.toString(ddummy), GUIconfigurer.I_m3, 1);\n ddummy=vbpar.getM4(); \t \n \tfixparTB.setValueAt(Float.toString(ddummy), GUIconfigurer.I_m4, 1);\n ddummy=sbpar.getFsoma(); \t \n \tfixparTB.setValueAt(Float.toString(ddummy), GUIconfigurer.I_fsoma, 1);\n ddummy=sbpar.getFsompr(); \t \n \tfixparTB.setValueAt(Float.toString(ddummy), GUIconfigurer.I_fsompr, 1);\n ddummy=sbpar.getFsomcr(); \t \n \tfixparTB.setValueAt(Float.toString(ddummy), GUIconfigurer.I_fsomcr, 1); \t\t\n ddummy=sbpar.getSom2co2(); \t \n \tfixparTB.setValueAt(Float.toString(ddummy), GUIconfigurer.I_som2co2, 1);\n \t\n //\n vegpar_cal vcpar = new vegpar_cal();\n soipar_cal scpar = new soipar_cal();\n TEM.runcht.cht.getCalPar(vcpar, scpar);\n\n ddummy=vcpar.getCmax(); \t \n \tcalparTB.setValueAt(Float.toString(ddummy), GUIconfigurer.I_CMAX, 1);\n ddummy=vcpar.getNmax(); \t \n \tcalparTB.setValueAt(Float.toString(ddummy), GUIconfigurer.I_NMAX, 1);\n ddummy=vcpar.getKrb(); \t \n \tcalparTB.setValueAt(Float.toString(ddummy), GUIconfigurer.I_KRB, 1);\n ddummy=vcpar.getCfall(); \t \n \tcalparTB.setValueAt(Float.toString(ddummy), GUIconfigurer.I_CFALL, 1);\n ddummy=vcpar.getNfall(); \t \n \tcalparTB.setValueAt(Float.toString(ddummy), GUIconfigurer.I_NFALL, 1);\n \t\n ddummy=scpar.getNup(); \t \n \tcalparTB.setValueAt(Float.toString(ddummy), GUIconfigurer.I_NUP, 1);\n ddummy=scpar.getKdcfib(); \t \n \tcalparTB.setValueAt(Float.toString(ddummy), GUIconfigurer.I_KDCFIB, 1);\n ddummy=scpar.getKdchum(); \t \n \tcalparTB.setValueAt(Float.toString(ddummy), GUIconfigurer.I_KDCHUM, 1);\n ddummy=scpar.getKdcmin(); \t \n \tcalparTB.setValueAt(Float.toString(ddummy), GUIconfigurer.I_KDCMIN, 1);\n ddummy=scpar.getKdcslow(); \t \n \tcalparTB.setValueAt(Float.toString(ddummy), GUIconfigurer.I_KDCSLOW, 1);\n\t \t\t\n }", "public void printAll()\n {\n r.showAll();\n }", "private static void printRunOptions(){\n\t\tSystem.out.println(\"Run options:\");\n\t\tSystem.out.println(\" -simple <configFile> <pathToApplication> <synthesis(true/false)>\");\n\t\tSystem.out.println(\" -simpleSpeedup <configFile> <pathToApplication>\");\n\t\tSystem.out.println(\" -sweep <configFile> <pathToApplication> <sweepConfig> <parallelism(integer)> <synthesis(true/false)>\");\n\t\tSystem.out.println(\" -sweepRemote <configFile> <pathToApplication> <sweepConfig> <parallelism(integer)> <synthesis(true/false)> <hostAddress> <hostPort>\");\n\t\tSystem.out.println(\" -synthesize <configFile> <pathToApplication> <methodName> <scheduleCDFG(true/false)>\");\n\t\tSystem.out.println(\" -test <configFile> <pathToApplication>\");\n\t\tSystem.out.println(\" -speedup <configFile> <pathToApplication>\");\n\t\tSystem.out.println(\" -testCGRAVerilog <configFile> <pathToApplication>\");\n\t}", "public void print_dev() {\n\t\tSystem.out.println(\r\n\t\t\t\t\t\t\t\t\t\"[System] 펫 정보입니다.\\n 이름 : \"+TMGCSYS.tmgcName\r\n\t\t\t\t\t\t\t\t+\t\", 레벨 : \"+TMGCSYS.tmgcLV+\", 경험치 : \"+TMGCSYS.tmgcEXP+\"/\"+(100*TMGCSYS.tmgcLV)\r\n\t\t\t\t\t\t\t\t+\t\", 체력 : \"+TMGCSYS.tmgcHP+\", 스트레스 : \"+TMGCSYS.tmgcStress+\"\\n\\n\\n\"\r\n\t\t\t\t\t\t\t\t+\t\" Function Limit Count\\n\"\r\n\t\t\t\t\t\t\t\t+\t\" Eat : \"+TMGCSYS.tmgcLimitEat+\", Sleep : \"+TMGCSYS.tmgcLimitSleep\r\n\t\t\t\t\t\t\t\t+\t\", Walk : \"+TMGCSYS.tmgcLimitWalk+\", Study : \"+TMGCSYS.tmgcLimitStudy+\"\\n\\n\\n\"\r\n\t\t\t\t\t\t\t\t+\t\" Character Ability\\n\"\r\n\t\t\t\t\t\t\t\t+\t\" STR : \"+TMGCSYS.tmgcSTR+\", INT : \"+TMGCSYS.tmgcINT\r\n\t\t\t\t\t\t\t\t+\t\", DEB : \"+TMGCSYS.tmgcDEB+\", HET : \"+TMGCSYS.tmgcHET+\"\\n\\n\\n\"\r\n\t\t\t\t\t\t\t\t+\t\" Character Job : \"+TMGCSYS.tmgc2ndJob\r\n\t\t\t\t\t\t\t\t);\r\n\t}", "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n l1 = new javax.swing.JLabel();\n l2 = new javax.swing.JLabel();\n l3 = new javax.swing.JLabel();\n r1 = new javax.swing.JRadioButton();\n r2 = new javax.swing.JRadioButton();\n r3 = new javax.swing.JRadioButton();\n b1 = new javax.swing.JButton();\n r4 = new javax.swing.JRadioButton();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n setTitle(\"LIBRRIAN MODULE\");\n\n l1.setFont(new java.awt.Font(\"Times New Roman\", 1, 18)); // NOI18N\n l1.setForeground(new java.awt.Color(255, 0, 0));\n l1.setText(\"WELCOME TO CBIT LIBRARY MANAGEMENT SYSTEM\");\n\n l2.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/Logo.jpg\"))); // NOI18N\n l2.setText(\"jLabel1\");\n\n l3.setFont(new java.awt.Font(\"Times New Roman\", 1, 24)); // NOI18N\n l3.setForeground(new java.awt.Color(0, 102, 0));\n l3.setText(\"PLEASE CHOOSE THE JOB\");\n\n r1.setFont(new java.awt.Font(\"Times New Roman\", 1, 14)); // NOI18N\n r1.setText(\"EMPLOYEE REGISTRATION\");\n r1.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n r1ActionPerformed(evt);\n }\n });\n\n r2.setFont(new java.awt.Font(\"Times New Roman\", 1, 14)); // NOI18N\n r2.setText(\"VIEW PROFILES/ DATABSES\");\n r2.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n r2ActionPerformed(evt);\n }\n });\n\n r3.setFont(new java.awt.Font(\"Times New Roman\", 1, 14)); // NOI18N\n r3.setText(\"ANALYZE TRANSACTIONS\");\n r3.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n r3ActionPerformed(evt);\n }\n });\n\n b1.setFont(new java.awt.Font(\"Times New Roman\", 1, 14)); // NOI18N\n b1.setText(\"OK\");\n b1.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n b1ActionPerformed(evt);\n }\n });\n\n r4.setFont(new java.awt.Font(\"Times New Roman\", 1, 14)); // NOI18N\n r4.setText(\"APPROVE LEAVE APPLICATIONS\");\n r4.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n r4ActionPerformed(evt);\n }\n });\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap()\n .addComponent(l1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(119, 119, 119)\n .addComponent(r1))\n .addGroup(layout.createSequentialGroup()\n .addGap(177, 177, 177)\n .addComponent(l2, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(layout.createSequentialGroup()\n .addGap(118, 118, 118)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(r3)\n .addComponent(r2)\n .addComponent(r4)))\n .addGroup(layout.createSequentialGroup()\n .addGap(76, 76, 76)\n .addComponent(l3)))\n .addGap(0, 0, Short.MAX_VALUE)))\n .addContainerGap())\n .addGroup(layout.createSequentialGroup()\n .addGap(177, 177, 177)\n .addComponent(b1, javax.swing.GroupLayout.PREFERRED_SIZE, 74, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(24, 24, 24)\n .addComponent(l1, javax.swing.GroupLayout.PREFERRED_SIZE, 46, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(l2)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(l3, javax.swing.GroupLayout.PREFERRED_SIZE, 42, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(r1)\n .addGap(18, 18, 18)\n .addComponent(r2)\n .addGap(18, 18, 18)\n .addComponent(r3)\n .addGap(18, 18, 18)\n .addComponent(r4)\n .addGap(27, 27, 27)\n .addComponent(b1, javax.swing.GroupLayout.PREFERRED_SIZE, 43, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addContainerGap(34, Short.MAX_VALUE))\n );\n\n pack();\n }", "public static void menuPrincicipal() {\n\t\tSystem.out.println(\"+---------------------------+\");\n\t\tSystem.out.println(\"| Elige una opcion |\");\n\t\tSystem.out.println(\"+---------------------------+\");\n\t\tSystem.out.println(\"| 1-Modificar Orden |\");\n\t\tSystem.out.println(\"+---------------------------+\");\n\t\tSystem.out.println(\"| 2-Eliminar orden |\");\n\t\tSystem.out.println(\"+---------------------------+\");\n\t\tSystem.out.println(\"| 3-Ver todas las ordenes |\");\n\t\tSystem.out.println(\"+---------------------------+\");\n\t\tSystem.out.println(\"| 0-Salir |\");\n\t\tSystem.out.println(\"+---------------------------+\");\n\t}", "public void displayValues()\n {\n \tSystem.out.println(\"The name of a bicycle is \"+name);\n \tSystem.out.println(\"The cost of a bicycle is \"+cost);\n \tSystem.out.println(\"The total numer of gears \"+gears);\n \t\n \t\n }", "public RailGUI(DisplayMode _originalDM) {\n\t\t// run with: -Xms100m -Xmx500m\n\t\tstatics.setLookAndFeel(\"System\", this);\n\n//\t\tGregorianCalendar max = new GregorianCalendar(2015, 12, 31);\n//\t\tif (max.before(new GregorianCalendar())) {\n//\t\t\tJOptionPane.showMessageDialog(this, \"Der Testzeitraum dieser Version von SimplyTrain ist abgelaufen!\\nDas Programm wird nun beendet.\\nBitte nach einer neuen Version auf http://www.js-home.org/SimplyTrain sehen.\", \"SimplyTrain: Testzeitraum abgelaufen!\", JOptionPane.ERROR_MESSAGE);\n//\t\t\tSystem.exit(0);\n//\t\t} else {\n//\t\t\t// JOptionPane.showMessageDialog(this,\"Achtung! Dies ist eine Pre-Alpha Version.\\nViele Funktionen können noch fehlerhaft sein oder\\ngar nicht funktionieren.\\nAktuelle Informationen und neue Versionen auf http://www.js-home.org/SimplyTrain\",\"SimplyTrain: Testzeitraum abgelaufen!\",JOptionPane.INFORMATION_MESSAGE);\n//\t\t}\n\n\t\t// http://java.sun.com/j2se/1.5.0/docs/guide/2d/flags.html\n\t\tSystem.setProperty(\"sun.java2d.translaccel\", \"true\");\n\n\t\toriginalDM = _originalDM;\n\t\tinitScreen();\n\n\t\tinitComponents();\n\t\tif (fullscreen) {\n\t\t\tdevice.setFullScreenWindow(this);\n\t\t\tvalidate();\n\t\t}\n\n\t\tinitAdditionalComponents();\n\t\tif (!fullscreen) {\n\t\t\tsetSize(880, 500);\n\t\t\tsetLocationRelativeTo(null);\n\t\t} else {\n\t\t\tsetSize(new Dimension(originalDM.getWidth(), originalDM.getHeight()));\n\t\t\tvalidate();\n\t\t}\n\n\t\tdataCollector.collector.exceptionListeners.addListener(new AbstractListener() {\n\t\t\t@Override\n\t\t\tpublic void action(AbstractEvent e) {\n\t\t\t\tException ex = (Exception) e.getSource();\n\t\t\t\tSystem.out.println(ex.getMessage());\n\t\t\t}\n\t\t});\n\t\tsetVisible(true);\n\n\t\tfinishInit();\n\t}", "private void instruct() {\n\t\tif (vsComputer) {\n\t\t\tSystem.out.println(\"\"\"\n 1. Stone\n 2. Paper\n 3. Scissors\n You have to enter your choice\n \"\"\");\n\t\t}\n\t}", "public static void displayTalonSRXInfo(WPI_TalonSRX talonSRX, String label)\n {\n SmartDashboard.putNumber(label + \" Setpoint\", talonSRX.getClosedLoopTarget());\n SmartDashboard.putNumber(label + \" Position\", talonSRX.getSelectedSensorPosition());\n SmartDashboard.putNumber(label + \" Velocity\", talonSRX.getSelectedSensorVelocity());\n SmartDashboard.putNumber(label + \" Error\", talonSRX.getClosedLoopError());\n SmartDashboard.putNumber(label + \" Output\", talonSRX.getMotorOutputVoltage());\n }", "@Test\n public void f9EditParametersTest() {\n clickOn(\"#assetTypeMenuBtn\").sleep(1000);\n\n //select 1st asset type\n Node node = lookup(\"#columnName\").nth(1).query();\n clickOn(node).sleep(1000);\n\n //go to model tab\n clickOn(scene.getRoot().lookup(\"#modelTab\")).sleep(1000);\n FlowPane allModels = (FlowPane) scene.getRoot().lookup(\"#modelsThumbPane\");\n Pane selectedModel = (Pane) allModels.getChildren().get(0);\n clickOn(selectedModel).sleep(1000);\n\n //Changing Parameters\n VBox paraBox = (VBox) scene.getRoot().lookup(\"#modelParameters\");\n Pane batchSizePara = (Pane) paraBox.getChildren().get(0);\n TextField batchSizeVal = (TextField) batchSizePara.getChildren().get(1);\n clickOn(batchSizeVal).type(KeyCode.BACK_SPACE).sleep(500).type(KeyCode.BACK_SPACE).sleep(500).write(\"60\").sleep(1500);\n\n Pane qrPara = (Pane) paraBox.getChildren().get(1);\n CheckBox qrVal = (CheckBox) qrPara.getChildren().get(1);\n clickOn(qrVal).sleep(1500);\n\n Pane collinearPara = (Pane) paraBox.getChildren().get(2);\n CheckBox colinearVal = (CheckBox) collinearPara.getChildren().get(1);\n clickOn(colinearVal).sleep(1500);\n\n //Parameter after changing it from the default value should be 160\n assertEquals(\"Batch Size value is a now 160\", \"160\", batchSizeVal.getText());\n\n //reset to default\n clickOn(scene.getRoot().lookup(\"#modelDefaultBtn\")).sleep(1000);\n clickOn(paraBox.getChildren().get(0)).sleep(1500);\n\n //Now go to the last model (Multilayer Perceptron)\n selectedModel = (Pane) allModels.getChildren().get(allModels.getChildren().size() - 1);\n clickOn(scene.getRoot().lookup(\"#modelTab\")).sleep(1000);\n\n moveBy(0, 200).scroll(65, VerticalDirection.UP);\n clickOn(selectedModel).sleep(1000);\n clickOn(scene.getRoot().lookup(\"#modelDefaultBtn\")).sleep(2000);\n\n //Change parameters\n Pane autoBuildPara = (Pane) paraBox.getChildren().get(0);\n CheckBox autoBuildVal = (CheckBox) autoBuildPara.getChildren().get(1);\n clickOn(autoBuildVal).sleep(1500);\n\n Pane showGUIPara = (Pane) paraBox.getChildren().get(2);\n CheckBox showGUIVal = (CheckBox) showGUIPara.getChildren().get(1);\n clickOn(showGUIVal).sleep(1500);\n\n Pane momentumPara = (Pane) paraBox.getChildren().get(3);\n TextField momentumVal = (TextField) momentumPara.getChildren().get(1);\n clickOn(momentumVal).type(KeyCode.BACK_SPACE).sleep(500).write(\"1\").sleep(1500);\n\n //Momentum after changing shouldn't be the default 0.2 value anymore\n assertFalse(\"Momentum is default 0.2\", momentumVal.getText().equals(\"0.2\"));\n\n Pane decayPara = (Pane) paraBox.getChildren().get(9);\n CheckBox decayVal = (CheckBox) decayPara.getChildren().get(1);\n clickOn(decayVal).sleep(1500);\n\n// //Go to RandomForest Model\n selectedModel = (Pane) allModels.getChildren().get(2);\n clickOn(selectedModel).sleep(1000);\n clickOn(scene.getRoot().lookup(\"#modelDefaultBtn\")).sleep(2000);\n\n// //Change parameters\n Pane execPara = (Pane) paraBox.getChildren().get(1);\n TextField execVal = (TextField) execPara.getChildren().get(1);\n clickOn(execVal).sleep(1500);\n//\n Pane calcBagPara = (Pane) paraBox.getChildren().get(3);\n CheckBox calcBagVal = (CheckBox) calcBagPara.getChildren().get(1);\n clickOn(calcBagVal).sleep(1500);\n//\n Pane bagSizePara = (Pane) paraBox.getChildren().get(6);\n TextField bagSizeVal = (TextField) bagSizePara.getChildren().get(1);\n clickOn(bagSizeVal).type(KeyCode.BACK_SPACE).sleep(500).type(KeyCode.BACK_SPACE).sleep(500).write(\"0\").sleep(1500);\n\n //Bag Size after changing shouldn't be the default 100 value anymore\n assertFalse(\"Bag size is default 100\", bagSizeVal.getText().equals(\"100\"));\n //Have parameters VBox\n assertNotNull(\"Parameters box for the model exists\", paraBox);\n\n clickOn(scene.getRoot().lookup(\"#modelDefaultBtn\")).sleep(2000);\n clickOn(paraBox.getChildren().get(0)).sleep(2000);\n }", "private void displayMenuOptions()\n {\n // display user options menu\n System.out.println(\"\");\n System.out.println(\"----------------------------------------------------\");\n System.out.println(\"\");\n System.out.println(\"COMMAND OPTIONS:\");\n System.out.println(\"\");\n System.out.println(\" 'on' to force power controller to ON state\");\n System.out.println(\" 'off' to force power controller to OFF state\");\n System.out.println(\" 'status' to see current power controller state\");\n System.out.println(\" 'sunrise' to display sunrise time.\");\n System.out.println(\" 'sunset' to display sunset time.\");\n System.out.println(\" 'next' to display next scheduled event.\");\n System.out.println(\" 'time' to display current time.\");\n System.out.println(\" 'coord' to display longitude and latitude.\");\n System.out.println(\" 'help' to display this menu.\");\n System.out.println(\"\");\n System.out.println(\"PRESS 'CTRL-C' TO TERMINATE\");\n System.out.println(\"\");\n System.out.println(\"----------------------------------------------------\");\n System.out.println(\"\");\n }", "protected void printValConfig(){\n\t\t//System.out.println(\"writing values\");\n\t\tif(valueFxn.compareToIgnoreCase(\"additive\")==0){\n\t\t\tprintAdditive();\n\n\t\t}else if(valueFxn.compareToIgnoreCase(\"schedule\")==0){\n\t\t\tprintSchedule();\n\n\n\t\t}else if(valueFxn.compareToIgnoreCase(\"contract\")==0){\n\t\t\tprintContracts();\n\n\t\t}else{\n\t\t\tSystem.out.println(\"Value function not set correctly.\");\n\t\t}\n\t}", "private void initialize(TrainManager trainManager, WS wayside, TrackModel dummyTrack, TrackPanel trackPanel) {\n\n\t\tJComboBox dropdown_line;\n\t\tJComboBox dropdown_segment;\n\t\tJComboBox dropdown_block;\n\n\t\tJFrame frame = new JFrame();\n\t\tframe.setBounds(100, 100, 323, 269);\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\tframe.getContentPane().setLayout(null);\n\n\t\tJLabel lblNewLabel = new JLabel(\"Dispatch Train\");\n\t\tlblNewLabel.setHorizontalAlignment(SwingConstants.CENTER);\n\t\tlblNewLabel.setFont(new Font(\"Tahoma\", Font.BOLD, 14));\n\t\tlblNewLabel.setBounds(86, 11, 149, 32);\n\t\tframe.getContentPane().add(lblNewLabel);\n/*\n\t\tJLabel lblNewLabel_1 = new JLabel(\"Segment\");\n\t\tlblNewLabel_1.setHorizontalAlignment(SwingConstants.TRAILING);\n\t\tlblNewLabel_1.setBounds(76, 57, 46, 14);\n\t\tframe.getContentPane().add(lblNewLabel_1);\n\n\t\tString[] segment = new String[] {\"A\", \"B\", \"C\", \"D\", \"E\", \"F\", \"G\", \"H\", \"I\", \"J\", \"K\", \"L\", \"M\", \"N\", \"O\", \"P\", \"Q\", \"R\", \"S\", \"T\", \"U\"};\n\t\tJComboBox<String> lineDropdown = new JComboBox<>(segment);\n\t\tlineDropdown.setBounds(130, 54, 70, 20);\n\t\tframe.getContentPane().add(lineDropdown);\n*/\n\t\tJLabel lblTimeToLeave = new JLabel(\"Speed\");\n\t\tlblTimeToLeave.setHorizontalAlignment(SwingConstants.TRAILING);\n\t\tlblTimeToLeave.setBounds(76, 101, 46, 14);\n\t\tframe.getContentPane().add(lblTimeToLeave);\n\n\t\tspeed_txt = new JTextField();\n\t\tspeed_txt.setBounds(130, 95, 70, 20);\n\t\tframe.getContentPane().add(speed_txt);\n\t\tspeed_txt.setColumns(10);\n\n\t\tJLabel lblMs = new JLabel(\"mi/hr\");\n\t\tlblMs.setBounds(220, 101, 46, 14);\n\t\tframe.getContentPane().add(lblMs);\n\n/*\n\t\tJLabel lblAuthority = new JLabel(\"Authority\");\n\t\tlblAuthority.setHorizontalAlignment(SwingConstants.TRAILING);\n\t\tlblAuthority.setBounds(52, 134, 70, 14);\n\t\tframe.getContentPane().add(lblAuthority);\n\n\t\tauthority_txt = new JTextField();\n\t\tauthority_txt.setColumns(10);\n\t\tauthority_txt.setBounds(130, 128, 70, 20);\n\t\tframe.getContentPane().add(authority_txt);\n\t\tJLabel lblM = new JLabel(\"mi\");\n\t\tlblM.setBounds(220, 134, 46, 14);\n\t\tframe.getContentPane().add(lblM);\n\n\t\t*/\n\n\t\t// dropdowns to select block to view\n\t\tSet<Integer> blockInts = dummyTrack.viewTrackList().get(\"Red\").get(\"A\").keySet();\n\t\tInteger[] intArr = blockInts.toArray(new Integer[blockInts.size()]);\n\t\tSet<String> lineSet = dummyTrack.viewTrackList().keySet();\n\n\t\tString[] lineName = lineSet.toArray(new String[lineSet.size()]);\n\t\tdropdown_line = new JComboBox<>();\n\t\tdropdown_line.setModel(new DefaultComboBoxModel<String>(lineName));\n\t\tdropdown_line.setBounds(20, 57, 72, 20);\n\t\tframe.getContentPane().add(dropdown_line);\n\t\tdropdown_line.setToolTipText(\"LINE\");\n\n\t\tString[] segName = {};\n\t\tdropdown_segment = new JComboBox<String>();\n\t\tdropdown_segment.setModel(new DefaultComboBoxModel<String>(segName));\n\t\tdropdown_segment.setBounds(102, 57, 72, 20);\n\t\tframe.getContentPane().add(dropdown_segment);\n\t\tdropdown_segment.setToolTipText(\"SEGMENT\");\n\n\t\tString[] blockName = {};\n\t\tdropdown_block = new JComboBox<>();\n\t\tdropdown_block.setModel(new DefaultComboBoxModel<String>(blockName));\n\t\tdropdown_block.setBounds(184, 57, 72, 20);\n\t\tframe.getContentPane().add(dropdown_block);\n\t\tdropdown_block.setToolTipText(\"BLOCK\");\n\n\t\t// initialize dropdowns to Red/A/1 at start up to avoid null pointer exception\n\t\t\t\tdropdown_line.setSelectedItem(lineName[0]);\n\t\t\t\tString l = (String) dropdown_line.getSelectedItem();\n\t\t\t\tSet<String> segSet = dummyTrack.viewTrackList().get(l).keySet();\n\t\t\t\tsegName = segSet.toArray(new String[segSet.size()]);\n\t\t\t\tdropdown_block.removeAllItems();\n\t\t\t\tfor (String item : segSet){\n\t\t\t\t\tdropdown_segment.addItem(item);\n\t\t\t\t}\n\t\t\t\tdropdown_segment.setSelectedItem(segName[0]);\n\t\t\t\tl = (String) dropdown_line.getSelectedItem();\n\t\t\t\tString s = (String) dropdown_segment.getSelectedItem();\n\t\t\t\tSet<Integer> blockSet = dummyTrack.viewTrackList().get(l).get(s).keySet();\n\t\t\t\tInteger[] blockInt = blockSet.toArray(new Integer[blockSet.size()]);\n\t\t\t\tdropdown_block.removeAllItems();\n\t\t\t\tfor (Integer item : blockSet){\n\t\t\t\t\tdropdown_block.addItem(Integer.toString(item));\n\t\t\t\t}\n\t\t\t\tdropdown_block.setSelectedItem(blockInt[0]);\n\t\t\t\tString b = (String)dropdown_block.getSelectedItem();\n\t\t\t\tint blockNum;\n\t\t\t\ttry{\n\t\t\t\t\tblockNum = Integer.parseInt(b);\n\t\t\t\t}catch(NumberFormatException num){\n\t\t\t\t\tblockNum = dummyTrack.getSection(l, s).keySet().toArray(new Integer [0])[0];\n\t\t\t\t}\n\n\n\t\t// all action listeners\n\t\t\t\tdropdown_line.addActionListener(new ActionListener(){\n\t\t\t\t\tpublic void actionPerformed(ActionEvent e){\n\t\t\t\t\t\tString l = (String) dropdown_line.getSelectedItem();\n\t\t\t\t\t\tSet<String> segName = dummyTrack.viewTrackList().get(l).keySet();\n\t\t\t\t\t\tdropdown_block.removeAllItems();\n\t\t\t\t\t\tfor (String item : segName){\n\t\t\t\t\t\t\tdropdown_segment.addItem(item);\n\t\t\t\t\t\t}\n\n\n\t\t\t\t\t\t}\n\n\t\t\t\t});\n\n\t\t\t\tdropdown_segment.addActionListener(new ActionListener(){\n\t\t\t\t\tpublic void actionPerformed(ActionEvent e){\n\t\t\t\t\t\tString l = (String) dropdown_line.getSelectedItem();\n\t\t\t\t\t\tString s = (String) dropdown_segment.getSelectedItem();\n\t\t\t\t\t\tSet<Integer> blockSet = dummyTrack.viewTrackList().get(l).get(s).keySet();\n\t\t\t\t\t\tdropdown_block.removeAllItems();\n\t\t\t\t\t\tfor (Integer item : blockSet)\n\t\t\t\t\t\t\tdropdown_block.addItem(Integer.toString(item));\n\t\t\t\t\t\t}\n\n\t\t\t\t});\n\n\t\t\t\tdropdown_block.addActionListener(new ActionListener(){\n\t\t\t\t\tpublic void actionPerformed(ActionEvent e){\n\t\t\t\t\t\t\tString block = (String) dropdown_block.getSelectedItem();\n\t\t\t\t\t\t\tString section = (String) dropdown_segment.getSelectedItem();\n\t\t\t\t\t\t\tString line = (String) dropdown_line.getSelectedItem();\n\t\t\t\t\t\t\t//convert block from string to Integer\n\t\t\t\t\t\t\tint blockNum;\n\t\t\t\t\t\t\ttry{\n\t\t\t\t\t\t\t\tblockNum = Integer.parseInt(block);\n\t\t\t\t\t\t\t}catch(NumberFormatException num){\n\t\t\t\t\t\t\t\tblockNum = dummyTrack.getSection(line, section).keySet().toArray(new Integer [0])[0];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t});\n\n\n\t\tJButton btnDispatch = new JButton(\"Dispatch Train\");\n\t\tbtnDispatch.addActionListener(new ActionListener(){\n\t\t\tpublic void actionPerformed(ActionEvent e){\n\t\t\t\tString block = (String) dropdown_block.getSelectedItem();\n\t\t\t\tString section = (String) dropdown_segment.getSelectedItem();\n\t\t\t\tString line = (String) dropdown_line.getSelectedItem();\n\t\t\t\t//convert block from string to Integer\n\t\t\t\tint blockNum;\n\t\t\t\ttry{\n\t\t\t\t\tblockNum = Integer.parseInt(block);\n\t\t\t\t}catch(NumberFormatException num){\n\t\t\t\t\tblockNum = dummyTrack.getSection(line, section).keySet().toArray(new Integer [0])[0];\n\t\t\t\t}\n\t\t\t\tspeed = (Double.parseDouble(speed_txt.getText()));\n\t\t\t\tBlock endBlock = dummyTrack.getBlock(line, section, blockNum);\n\t\t\t\tBlock startBlock = dummyTrack.getBlock(\"Red\", \"C\", 7);\n\t\t\t\tpathOptions = dummyTrack.blockToBlock(startBlock, endBlock);\n\n\t\t\t\tArrayList<Block> blocks = new ArrayList<Block>();\n\n\t\t\t\t\tblocks.add(dummyTrack.getBlock(\"Red\", \"U\", new Integer(77)));\n\t\t\t\t\tblocks.add(dummyTrack.getBlock(\"Red\", \"C\", new Integer(9)));\n\t\t\t\t\tblocks.add(dummyTrack.getBlock(\"Red\", \"C\", new Integer(8)));\n\t\t\t\t\tblocks.add(dummyTrack.getBlock(\"Red\", \"C\", new Integer(7)));\n\n\t\t\t\tpath = pathOptions.get(0);\n\t\t\t\tif(path.size() != 0){\n\t\t\t\t\tfor(int i=0; i<path.size(); i++){\n\t\t\t\t\t\tblocks.add(path.get(i));\n\t\t\t\t\t}\n\t\t\t\t\tfor(int k=0; k<blocks.size(); k++){\n\n\t\t\t\t\t\t\tblocks.get(k).setSuggestedSpeed(speed);\n\n\t\t\t\t\t}\n\n\n\t\t\t\t\tnewTrain = new DummyTrain(startBlock, path);\n\t\t\t\t\ttrainManager.addTrain(newTrain);\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println(\"Adding Train: path returned null\");\n\t\t\t\t}\n\n\t\t\t\tframe.setVisible(false);\n\n\t\t\t}\n\t\t});\n\t\tbtnDispatch.setBounds(48, 195, 104, 23);\n\t\tframe.getContentPane().add(btnDispatch);\n\n\t\tJButton btnCancel = new JButton(\"Cancel\");\n\t\tbtnCancel.addActionListener(new ActionListener(){\n\t\t\tpublic void actionPerformed(ActionEvent e){\n\t\t\t\tframe.setVisible(false);\n\t\t\t}\n\t\t});\n\t\tbtnCancel.setBounds(162, 195, 104, 23);\n\t\tframe.getContentPane().add(btnCancel);\n\t\tframe.setVisible(true);\n\t}", "private void printMenu() {\n\t\tSystem.out.printf(\"\\n********** MiRide System Menu **********\\n\\n\");\n\n\t\tSystem.out.printf(\"%-30s %s\\n\", \"Create Car\", \"CC\");\n\t\tSystem.out.printf(\"%-30s %s\\n\", \"Book Car\", \"BC\");\n\t\tSystem.out.printf(\"%-30s %s\\n\", \"Complete Booking\", \"CB\");\n\t\tSystem.out.printf(\"%-30s %s\\n\", \"Display ALL Cars\", \"DA\");\n\t\tSystem.out.printf(\"%-30s %s\\n\", \"Search Specific Car\", \"SS\");\n\t\tSystem.out.printf(\"%-30s %s\\n\", \"Search Available Cars\", \"SA\");\n\t\tSystem.out.printf(\"%-30s %s\\n\", \"Seed Data\", \"SD\");\n\t\tSystem.out.printf(\"%-30s %s\\n\", \"Load Cars\", \"LC\");\n\t\tSystem.out.printf(\"%-30s %s\\n\", \"Exit Program\", \"EX\");\n\t\tSystem.out.println(\"\\nEnter your selection: \");\n\t\tSystem.out.println(\"(Hit enter to cancel any operation)\");\n\t}", "private void setParameters(ConstMetaData metaData) {\n if (dialog == null) {\n return;\n }\n // Use GPU\n dialog.setUseGpuEnabled(Network.isLocalHostGpuProcessingEnabled(manager, axisID,\n manager.getPropertyUserDir()));\n dialog.setUseGpuSelected(metaData.isDefaultGpuProcessing());\n dialog.setBinning(metaData.getPosBinning(axisID));\n dialog.setSampleThickness(metaData.getSampleThickness(axisID));\n }", "public void displayOperations() {\n\n System.out.println(\"\" +\n \"Select Operation for GasPump 2 : \\n\" +\n \"0.) Activate \\n\" +\n \"1.) Start \\n\" +\n \"2.) PayCredit \\n\" +\n \"3.) Reject \\n\" +\n \"4.) PayDebit \\n\" +\n \"5.) Pin \\n\" +\n \"6.) Cancel \\n\" +\n \"7.) Approved \\n\" +\n \"8.) Diesel \\n\" +\n \"9.) Regular \\n\" +\n \"10.) Super \\n\" +\n \"11.) StartPump\\n\" +\n \"12.) PumpGallon\\n\" +\n \"13.) StopPump \\n\" +\n \"14.) FullTank \\n\" +\n \"q.) Quit\\n\");\n }", "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n mainPanel = new javax.swing.JPanel();\n workbenchPanel1 = new org.mei.securesim.platform.ui.WorkbenchPanel();\n mainToolbar = new javax.swing.JToolBar();\n btnNew = new javax.swing.JButton();\n btnOpen = new javax.swing.JButton();\n btnSave = new javax.swing.JButton();\n btnProperties = new javax.swing.JButton();\n jSeparator7 = new javax.swing.JToolBar.Separator();\n adjustRadioStrengthPanel = new javax.swing.JPanel();\n adjustRadioStrengthButton = new javax.swing.JButton();\n adjustRadioStrengthSlider = new javax.swing.JSpinner();\n jPanel1 = new javax.swing.JPanel();\n tgbMarkStableNodes = new javax.swing.JToggleButton();\n tgbSelectStableNodes = new javax.swing.JToggleButton();\n lblRadioCoverageValue = new javax.swing.JLabel();\n lblRoutingCoverageValue = new javax.swing.JLabel();\n lblAverageNeighborsPerNode = new javax.swing.JLabel();\n menuBar = new javax.swing.JMenuBar();\n javax.swing.JMenu simulationMenu = new javax.swing.JMenu();\n menuNewSimulation = new javax.swing.JMenuItem();\n menuOpenSImulation = new javax.swing.JMenuItem();\n menuSaveSimulation = new javax.swing.JMenuItem();\n jSeparator3 = new javax.swing.JPopupMenu.Separator();\n simPropertiesSubMenu = new javax.swing.JMenuItem();\n jSeparator1 = new javax.swing.JPopupMenu.Separator();\n javax.swing.JMenuItem exitMenuItem = new javax.swing.JMenuItem();\n ViewMenu = new javax.swing.JMenu();\n jMenu3 = new javax.swing.JMenu();\n chkRoutingLayerDebug = new javax.swing.JCheckBoxMenuItem();\n chkMACLayerDebug = new javax.swing.JCheckBoxMenuItem();\n Output = new javax.swing.JMenu();\n viewApplicationOutput = new javax.swing.JMenuItem();\n viewRoutingOutput = new javax.swing.JMenuItem();\n viewInstruments = new javax.swing.JMenu();\n viewReliabilityControlPanel = new javax.swing.JMenuItem();\n viewCoverageControlPanel = new javax.swing.JMenuItem();\n viewEnergyControlPanel = new javax.swing.JMenuItem();\n viewLatencyControlPanel = new javax.swing.JMenuItem();\n jSeparator2 = new javax.swing.JPopupMenu.Separator();\n jMenu5 = new javax.swing.JMenu();\n viewRoutingInfo = new javax.swing.JMenuItem();\n viewNodeInfo = new javax.swing.JMenuItem();\n evaluationMenu = new javax.swing.JMenu();\n evalSettingsMenu = new javax.swing.JMenuItem();\n javax.swing.JMenu helpMenu = new javax.swing.JMenu();\n javax.swing.JMenuItem aboutMenuItem = new javax.swing.JMenuItem();\n statusPanel = new javax.swing.JPanel();\n progressBar = new javax.swing.JProgressBar();\n statusAnimationLabel = new javax.swing.JLabel();\n statusMessageLabel = new javax.swing.JLabel();\n SimulationRealTime = new javax.swing.JLabel();\n NrSimulationNodes = new javax.swing.JLabel();\n SimulationStatus = new javax.swing.JLabel();\n NrEvents = new javax.swing.JLabel();\n SimulationTime = new javax.swing.JLabel();\n NrSelectedNodes = new javax.swing.JLabel();\n FieldSize = new javax.swing.JLabel();\n jPopupMenu1 = new javax.swing.JPopupMenu();\n jMenu2 = new javax.swing.JMenu();\n jMenu1 = new javax.swing.JMenu();\n jPanel2 = new javax.swing.JPanel();\n\n mainPanel.setName(\"mainPanel\"); // NOI18N\n mainPanel.setLayout(new java.awt.BorderLayout());\n mainPanel.add(workbenchPanel1, java.awt.BorderLayout.CENTER);\n\n mainToolbar.setFloatable(false);\n mainToolbar.setRollover(true);\n mainToolbar.setName(\"mainToolbar\"); // NOI18N\n\n javax.swing.ActionMap actionMap = org.jdesktop.application.Application.getInstance(org.mei.securesim.platform.PlatformApp.class).getContext().getActionMap(PlatformView.class, this);\n btnNew.setAction(actionMap.get(\"newSimulation\")); // NOI18N\n org.jdesktop.application.ResourceMap resourceMap = org.jdesktop.application.Application.getInstance(org.mei.securesim.platform.PlatformApp.class).getContext().getResourceMap(PlatformView.class);\n btnNew.setIcon(resourceMap.getIcon(\"btnNew.icon\")); // NOI18N\n btnNew.setText(resourceMap.getString(\"btnNew.text\")); // NOI18N\n btnNew.setToolTipText(resourceMap.getString(\"btnNew.toolTipText\")); // NOI18N\n btnNew.setFocusable(false);\n btnNew.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n btnNew.setName(\"btnNew\"); // NOI18N\n btnNew.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);\n mainToolbar.add(btnNew);\n\n btnOpen.setIcon(resourceMap.getIcon(\"btnOpen.icon\")); // NOI18N\n btnOpen.setText(resourceMap.getString(\"btnOpen.text\")); // NOI18N\n btnOpen.setToolTipText(resourceMap.getString(\"btnOpen.toolTipText\")); // NOI18N\n btnOpen.setFocusable(false);\n btnOpen.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n btnOpen.setName(\"btnOpen\"); // NOI18N\n btnOpen.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);\n mainToolbar.add(btnOpen);\n\n btnSave.setAction(actionMap.get(\"SaveSimulation\")); // NOI18N\n btnSave.setIcon(resourceMap.getIcon(\"btnSave.icon\")); // NOI18N\n btnSave.setText(resourceMap.getString(\"btnSave.text\")); // NOI18N\n btnSave.setToolTipText(resourceMap.getString(\"btnSave.toolTipText\")); // NOI18N\n btnSave.setFocusable(false);\n btnSave.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n btnSave.setName(\"btnSave\"); // NOI18N\n btnSave.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);\n mainToolbar.add(btnSave);\n\n btnProperties.setIcon(resourceMap.getIcon(\"btnProperties.icon\")); // NOI18N\n btnProperties.setText(resourceMap.getString(\"btnProperties.text\")); // NOI18N\n btnProperties.setToolTipText(resourceMap.getString(\"btnProperties.toolTipText\")); // NOI18N\n btnProperties.setEnabled(workbenchPanel1.isVisible());\n btnProperties.setFocusable(false);\n btnProperties.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n btnProperties.setName(\"btnProperties\"); // NOI18N\n btnProperties.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);\n mainToolbar.add(btnProperties);\n\n jSeparator7.setName(\"jSeparator7\"); // NOI18N\n mainToolbar.add(jSeparator7);\n\n adjustRadioStrengthPanel.setMaximumSize(new java.awt.Dimension(150, 25));\n adjustRadioStrengthPanel.setMinimumSize(new java.awt.Dimension(150, 25));\n adjustRadioStrengthPanel.setName(\"adjustRadioStrengthPanel\"); // NOI18N\n adjustRadioStrengthPanel.setPreferredSize(new java.awt.Dimension(150, 25));\n adjustRadioStrengthPanel.setLayout(new java.awt.BorderLayout());\n\n adjustRadioStrengthButton.setAction(actionMap.get(\"ApplyRadioStrength\")); // NOI18N\n adjustRadioStrengthButton.setText(resourceMap.getString(\"adjustRadioStrengthButton.text\")); // NOI18N\n adjustRadioStrengthButton.setFocusable(false);\n adjustRadioStrengthButton.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n adjustRadioStrengthButton.setName(\"adjustRadioStrengthButton\"); // NOI18N\n adjustRadioStrengthButton.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);\n adjustRadioStrengthPanel.add(adjustRadioStrengthButton, java.awt.BorderLayout.LINE_END);\n\n adjustRadioStrengthSlider.setModel(new javax.swing.SpinnerNumberModel(100, 100, 100000, 100));\n adjustRadioStrengthSlider.setToolTipText(resourceMap.getString(\"adjustRadioStrengthSlider.toolTipText\")); // NOI18N\n adjustRadioStrengthSlider.setBorder(javax.swing.BorderFactory.createEmptyBorder(1, 1, 1, 1));\n adjustRadioStrengthSlider.setEnabled(workbenchPanel1.isVisible());\n adjustRadioStrengthSlider.setName(\"adjustRadioStrengthSlider\"); // NOI18N\n adjustRadioStrengthPanel.add(adjustRadioStrengthSlider, java.awt.BorderLayout.CENTER);\n\n mainToolbar.add(adjustRadioStrengthPanel);\n\n jPanel1.setEnabled(workbenchPanel1.isVisible());\n jPanel1.setName(\"jPanel1\"); // NOI18N\n jPanel1.setPreferredSize(new java.awt.Dimension(1085, 10));\n\n tgbMarkStableNodes.setAction(actionMap.get(\"MarkStableNodes\")); // NOI18N\n tgbMarkStableNodes.setText(resourceMap.getString(\"tgbMarkStableNodes.text\")); // NOI18N\n tgbMarkStableNodes.setName(\"tgbMarkStableNodes\"); // NOI18N\n\n tgbSelectStableNodes.setAction(actionMap.get(\"SelectStableNodes\")); // NOI18N\n tgbSelectStableNodes.setText(resourceMap.getString(\"tgbSelectStableNodes.text\")); // NOI18N\n tgbSelectStableNodes.setName(\"tgbSelectStableNodes\"); // NOI18N\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 .addContainerGap()\n .addComponent(tgbMarkStableNodes)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(tgbSelectStableNodes)\n .addContainerGap(657, Short.MAX_VALUE))\n );\n jPanel1Layout.setVerticalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(tgbMarkStableNodes)\n .addComponent(tgbSelectStableNodes))\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n );\n\n mainToolbar.add(jPanel1);\n\n lblRadioCoverageValue.setFont(resourceMap.getFont(\"lblRadioCoverageValue.font\")); // NOI18N\n lblRadioCoverageValue.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);\n lblRadioCoverageValue.setText(resourceMap.getString(\"lblRadioCoverageValue.text\")); // NOI18N\n lblRadioCoverageValue.setToolTipText(resourceMap.getString(\"lblRadioCoverageValue.toolTipText\")); // NOI18N\n lblRadioCoverageValue.setBorder(javax.swing.BorderFactory.createEtchedBorder());\n lblRadioCoverageValue.setMaximumSize(new java.awt.Dimension(21, 20));\n lblRadioCoverageValue.setMinimumSize(new java.awt.Dimension(21, 20));\n lblRadioCoverageValue.setName(\"lblRadioCoverageValue\"); // NOI18N\n lblRadioCoverageValue.setPreferredSize(new java.awt.Dimension(100, 20));\n mainToolbar.add(lblRadioCoverageValue);\n lblRadioCoverageValue.getAccessibleContext().setAccessibleName(resourceMap.getString(\"lblRadioCoverageValue.AccessibleContext.accessibleName\")); // NOI18N\n\n lblRoutingCoverageValue.setFont(resourceMap.getFont(\"lblRoutingCoverageValue.font\")); // NOI18N\n lblRoutingCoverageValue.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);\n lblRoutingCoverageValue.setText(resourceMap.getString(\"lblRoutingCoverageValue.text\")); // NOI18N\n lblRoutingCoverageValue.setToolTipText(resourceMap.getString(\"lblRoutingCoverageValue.toolTipText\")); // NOI18N\n lblRoutingCoverageValue.setBorder(javax.swing.BorderFactory.createEtchedBorder());\n lblRoutingCoverageValue.setName(\"lblRoutingCoverageValue\"); // NOI18N\n lblRoutingCoverageValue.setPreferredSize(new java.awt.Dimension(100, 20));\n mainToolbar.add(lblRoutingCoverageValue);\n\n lblAverageNeighborsPerNode.setFont(resourceMap.getFont(\"lblAverageNeighborsPerNode.font\")); // NOI18N\n lblAverageNeighborsPerNode.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);\n lblAverageNeighborsPerNode.setText(resourceMap.getString(\"lblAverageNeighborsPerNode.text\")); // NOI18N\n lblAverageNeighborsPerNode.setToolTipText(resourceMap.getString(\"lblAverageNeighborsPerNode.toolTipText\")); // NOI18N\n lblAverageNeighborsPerNode.setBorder(javax.swing.BorderFactory.createEtchedBorder());\n lblAverageNeighborsPerNode.setName(\"lblAverageNeighborsPerNode\"); // NOI18N\n lblAverageNeighborsPerNode.setPreferredSize(new java.awt.Dimension(100, 20));\n mainToolbar.add(lblAverageNeighborsPerNode);\n\n mainPanel.add(mainToolbar, java.awt.BorderLayout.NORTH);\n\n menuBar.setName(\"menuBar\"); // NOI18N\n\n simulationMenu.setText(resourceMap.getString(\"simulationMenu.text\")); // NOI18N\n simulationMenu.setName(\"simulationMenu\"); // NOI18N\n\n menuNewSimulation.setAction(actionMap.get(\"newSimulation\")); // NOI18N\n menuNewSimulation.setIcon(resourceMap.getIcon(\"menuNewSimulation.icon\")); // NOI18N\n menuNewSimulation.setText(resourceMap.getString(\"menuNewSimulation.text\")); // NOI18N\n menuNewSimulation.setName(\"menuNewSimulation\"); // NOI18N\n simulationMenu.add(menuNewSimulation);\n\n menuOpenSImulation.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_O, java.awt.event.InputEvent.CTRL_MASK));\n menuOpenSImulation.setIcon(resourceMap.getIcon(\"menuOpenSImulation.icon\")); // NOI18N\n menuOpenSImulation.setMnemonic('O');\n menuOpenSImulation.setText(resourceMap.getString(\"menuOpenSImulation.text\")); // NOI18N\n menuOpenSImulation.setName(\"menuOpenSImulation\"); // NOI18N\n simulationMenu.add(menuOpenSImulation);\n\n menuSaveSimulation.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_S, java.awt.event.InputEvent.CTRL_MASK));\n menuSaveSimulation.setIcon(resourceMap.getIcon(\"menuSaveSimulation.icon\")); // NOI18N\n menuSaveSimulation.setMnemonic('S');\n menuSaveSimulation.setText(resourceMap.getString(\"menuSaveSimulation.text\")); // NOI18N\n menuSaveSimulation.setName(\"menuSaveSimulation\"); // NOI18N\n simulationMenu.add(menuSaveSimulation);\n\n jSeparator3.setName(\"jSeparator3\"); // NOI18N\n simulationMenu.add(jSeparator3);\n\n simPropertiesSubMenu.setAction(actionMap.get(\"ShowSimulationProperties\")); // NOI18N\n simPropertiesSubMenu.setText(resourceMap.getString(\"simPropertiesSubMenu.text\")); // NOI18N\n simPropertiesSubMenu.setName(\"simPropertiesSubMenu\"); // NOI18N\n simulationMenu.add(simPropertiesSubMenu);\n\n jSeparator1.setName(\"jSeparator1\"); // NOI18N\n simulationMenu.add(jSeparator1);\n\n exitMenuItem.setAction(actionMap.get(\"quit\")); // NOI18N\n exitMenuItem.setIcon(resourceMap.getIcon(\"exitMenuItem.icon\")); // NOI18N\n exitMenuItem.setName(\"exitMenuItem\"); // NOI18N\n simulationMenu.add(exitMenuItem);\n\n menuBar.add(simulationMenu);\n\n ViewMenu.setText(resourceMap.getString(\"ViewMenu.text\")); // NOI18N\n ViewMenu.setName(\"ViewMenu\"); // NOI18N\n\n jMenu3.setText(resourceMap.getString(\"jMenu3.text\")); // NOI18N\n jMenu3.setName(\"jMenu3\"); // NOI18N\n\n chkRoutingLayerDebug.setAction(actionMap.get(\"EnableRoutingLayerDebug\")); // NOI18N\n chkRoutingLayerDebug.setSelected(true);\n chkRoutingLayerDebug.setText(resourceMap.getString(\"chkRoutingLayerDebug.text\")); // NOI18N\n chkRoutingLayerDebug.setName(\"chkRoutingLayerDebug\"); // NOI18N\n jMenu3.add(chkRoutingLayerDebug);\n\n chkMACLayerDebug.setAction(actionMap.get(\"EnableMacLayerDebug\")); // NOI18N\n chkMACLayerDebug.setSelected(true);\n chkMACLayerDebug.setText(resourceMap.getString(\"chkMACLayerDebug.text\")); // NOI18N\n chkMACLayerDebug.setName(\"chkMACLayerDebug\"); // NOI18N\n jMenu3.add(chkMACLayerDebug);\n\n ViewMenu.add(jMenu3);\n\n Output.setText(resourceMap.getString(\"Output.text\")); // NOI18N\n Output.setName(\"Output\"); // NOI18N\n\n viewApplicationOutput.setAction(actionMap.get(\"ShowApplicationOutputPanelAction\")); // NOI18N\n viewApplicationOutput.setText(resourceMap.getString(\"viewApplicationOutput.text\")); // NOI18N\n viewApplicationOutput.setName(\"viewApplicationOutput\"); // NOI18N\n Output.add(viewApplicationOutput);\n\n viewRoutingOutput.setAction(actionMap.get(\"ShowRoutingOutputPanelAction\")); // NOI18N\n viewRoutingOutput.setText(resourceMap.getString(\"viewRoutingOutput.text\")); // NOI18N\n viewRoutingOutput.setName(\"viewRoutingOutput\"); // NOI18N\n Output.add(viewRoutingOutput);\n\n ViewMenu.add(Output);\n\n viewInstruments.setText(resourceMap.getString(\"viewInstruments.text\")); // NOI18N\n viewInstruments.setName(\"viewInstruments\"); // NOI18N\n\n viewReliabilityControlPanel.setAction(actionMap.get(\"viewReliabilityControlPanelAction\")); // NOI18N\n viewReliabilityControlPanel.setText(resourceMap.getString(\"viewReliabilityControlPanel.text\")); // NOI18N\n viewReliabilityControlPanel.setName(\"viewReliabilityControlPanel\"); // NOI18N\n viewInstruments.add(viewReliabilityControlPanel);\n\n viewCoverageControlPanel.setAction(actionMap.get(\"viewCoverageControlPanelAction\")); // NOI18N\n viewCoverageControlPanel.setText(resourceMap.getString(\"viewCoverageControlPanel.text\")); // NOI18N\n viewCoverageControlPanel.setName(\"viewCoverageControlPanel\"); // NOI18N\n viewInstruments.add(viewCoverageControlPanel);\n\n viewEnergyControlPanel.setAction(actionMap.get(\"viewEnergyControlPanelAction\")); // NOI18N\n viewEnergyControlPanel.setText(resourceMap.getString(\"viewEnergyControlPanel.text\")); // NOI18N\n viewEnergyControlPanel.setName(\"viewEnergyControlPanel\"); // NOI18N\n viewInstruments.add(viewEnergyControlPanel);\n\n viewLatencyControlPanel.setAction(actionMap.get(\"viewLatencyControlPanelAction\")); // NOI18N\n viewLatencyControlPanel.setText(resourceMap.getString(\"viewLatencyControlPanel.text\")); // NOI18N\n viewLatencyControlPanel.setName(\"viewLatencyControlPanel\"); // NOI18N\n viewInstruments.add(viewLatencyControlPanel);\n\n ViewMenu.add(viewInstruments);\n\n jSeparator2.setName(\"jSeparator2\"); // NOI18N\n ViewMenu.add(jSeparator2);\n\n jMenu5.setText(resourceMap.getString(\"jMenu5.text\")); // NOI18N\n jMenu5.setName(\"jMenu5\"); // NOI18N\n\n viewRoutingInfo.setAction(actionMap.get(\"ShowRoutingInfoPanelAction\")); // NOI18N\n viewRoutingInfo.setText(resourceMap.getString(\"viewRoutingInfo.text\")); // NOI18N\n viewRoutingInfo.setName(\"viewRoutingInfo\"); // NOI18N\n jMenu5.add(viewRoutingInfo);\n\n viewNodeInfo.setText(resourceMap.getString(\"viewNodeInfo.text\")); // NOI18N\n viewNodeInfo.setName(\"viewNodeInfo\"); // NOI18N\n jMenu5.add(viewNodeInfo);\n\n ViewMenu.add(jMenu5);\n\n menuBar.add(ViewMenu);\n\n evaluationMenu.setText(resourceMap.getString(\"evaluationMenu.text\")); // NOI18N\n evaluationMenu.setName(\"evaluationMenu\"); // NOI18N\n\n evalSettingsMenu.setAction(actionMap.get(\"ShowEvaluationPanel\")); // NOI18N\n evalSettingsMenu.setText(resourceMap.getString(\"evalSettingsMenu.text\")); // NOI18N\n evalSettingsMenu.setName(\"evalSettingsMenu\"); // NOI18N\n evaluationMenu.add(evalSettingsMenu);\n\n menuBar.add(evaluationMenu);\n\n helpMenu.setText(resourceMap.getString(\"helpMenu.text\")); // NOI18N\n helpMenu.setName(\"helpMenu\"); // NOI18N\n\n aboutMenuItem.setAction(actionMap.get(\"showAboutBox\")); // NOI18N\n aboutMenuItem.setName(\"aboutMenuItem\"); // NOI18N\n helpMenu.add(aboutMenuItem);\n\n menuBar.add(helpMenu);\n\n statusPanel.setName(\"statusPanel\"); // NOI18N\n statusPanel.setPreferredSize(new java.awt.Dimension(508, 20));\n statusPanel.setRequestFocusEnabled(false);\n\n progressBar.setName(\"progressBar\"); // NOI18N\n\n statusAnimationLabel.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);\n statusAnimationLabel.setName(\"statusAnimationLabel\"); // NOI18N\n\n statusMessageLabel.setFont(resourceMap.getFont(\"statusMessageLabel.font\")); // NOI18N\n statusMessageLabel.setText(resourceMap.getString(\"statusMessageLabel.text\")); // NOI18N\n statusMessageLabel.setBorder(javax.swing.BorderFactory.createEtchedBorder());\n statusMessageLabel.setName(\"statusMessageLabel\"); // NOI18N\n statusMessageLabel.setPreferredSize(new java.awt.Dimension(950, 12));\n\n SimulationRealTime.setBackground(resourceMap.getColor(\"SimulationRealTime.background\")); // NOI18N\n SimulationRealTime.setFont(resourceMap.getFont(\"SimulationRealTime.font\")); // NOI18N\n SimulationRealTime.setForeground(resourceMap.getColor(\"SimulationRealTime.foreground\")); // NOI18N\n SimulationRealTime.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);\n SimulationRealTime.setText(resourceMap.getString(\"SimulationRealTime.text\")); // NOI18N\n SimulationRealTime.setToolTipText(resourceMap.getString(\"SimulationRealTime.toolTipText\")); // NOI18N\n SimulationRealTime.setBorder(javax.swing.BorderFactory.createEtchedBorder());\n SimulationRealTime.setName(\"SimulationRealTime\"); // NOI18N\n SimulationRealTime.setOpaque(true);\n\n NrSimulationNodes.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);\n NrSimulationNodes.setText(resourceMap.getString(\"NroNodes.text\")); // NOI18N\n NrSimulationNodes.setToolTipText(resourceMap.getString(\"NroNodes.toolTipText\")); // NOI18N\n NrSimulationNodes.setBorder(javax.swing.BorderFactory.createEtchedBorder());\n NrSimulationNodes.setName(\"NroNodes\"); // NOI18N\n\n SimulationStatus.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);\n SimulationStatus.setText(resourceMap.getString(\"SimulationStatus.text\")); // NOI18N\n SimulationStatus.setBorder(javax.swing.BorderFactory.createEtchedBorder());\n SimulationStatus.setName(\"SimulationStatus\"); // NOI18N\n\n NrEvents.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);\n NrEvents.setText(resourceMap.getString(\"NrEvents.text\")); // NOI18N\n NrEvents.setToolTipText(resourceMap.getString(\"NrEvents.toolTipText\")); // NOI18N\n NrEvents.setBorder(javax.swing.BorderFactory.createEtchedBorder());\n NrEvents.setName(\"NrEvents\"); // NOI18N\n\n SimulationTime.setBackground(resourceMap.getColor(\"SimulationTime.background\")); // NOI18N\n SimulationTime.setFont(resourceMap.getFont(\"SimulationTime.font\")); // NOI18N\n SimulationTime.setForeground(resourceMap.getColor(\"SimulationTime.foreground\")); // NOI18N\n SimulationTime.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);\n SimulationTime.setText(resourceMap.getString(\"SimulationTime.text\")); // NOI18N\n SimulationTime.setToolTipText(resourceMap.getString(\"SimulationTime.toolTipText\")); // NOI18N\n SimulationTime.setBorder(javax.swing.BorderFactory.createEtchedBorder());\n SimulationTime.setName(\"SimulationTime\"); // NOI18N\n SimulationTime.setOpaque(true);\n\n NrSelectedNodes.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);\n NrSelectedNodes.setText(resourceMap.getString(\"NrSelectedNodes.text\")); // NOI18N\n NrSelectedNodes.setToolTipText(resourceMap.getString(\"NrSelectedNodes.toolTipText\")); // NOI18N\n NrSelectedNodes.setBorder(javax.swing.BorderFactory.createEtchedBorder());\n NrSelectedNodes.setName(\"NrSelectedNodes\"); // NOI18N\n\n FieldSize.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);\n FieldSize.setText(resourceMap.getString(\"FieldSize.text\")); // NOI18N\n FieldSize.setToolTipText(resourceMap.getString(\"FieldSize.toolTipText\")); // NOI18N\n FieldSize.setBorder(javax.swing.BorderFactory.createEtchedBorder());\n FieldSize.setName(\"FieldSize\"); // NOI18N\n\n javax.swing.GroupLayout statusPanelLayout = new javax.swing.GroupLayout(statusPanel);\n statusPanel.setLayout(statusPanelLayout);\n statusPanelLayout.setHorizontalGroup(\n statusPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, statusPanelLayout.createSequentialGroup()\n .addComponent(statusMessageLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 458, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(SimulationStatus, javax.swing.GroupLayout.PREFERRED_SIZE, 115, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(2, 2, 2)\n .addComponent(NrSimulationNodes, javax.swing.GroupLayout.PREFERRED_SIZE, 111, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(NrSelectedNodes, javax.swing.GroupLayout.PREFERRED_SIZE, 124, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(NrEvents, javax.swing.GroupLayout.PREFERRED_SIZE, 98, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(SimulationRealTime)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(SimulationTime, javax.swing.GroupLayout.PREFERRED_SIZE, 67, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(FieldSize, javax.swing.GroupLayout.PREFERRED_SIZE, 118, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(progressBar, javax.swing.GroupLayout.PREFERRED_SIZE, 95, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(statusAnimationLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 25, javax.swing.GroupLayout.PREFERRED_SIZE))\n );\n\n statusPanelLayout.linkSize(javax.swing.SwingConstants.HORIZONTAL, new java.awt.Component[] {SimulationRealTime, SimulationTime});\n\n statusPanelLayout.linkSize(javax.swing.SwingConstants.HORIZONTAL, new java.awt.Component[] {NrSelectedNodes, NrSimulationNodes});\n\n statusPanelLayout.setVerticalGroup(\n statusPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(statusPanelLayout.createSequentialGroup()\n .addGroup(statusPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(progressBar, javax.swing.GroupLayout.DEFAULT_SIZE, 23, Short.MAX_VALUE)\n .addComponent(statusAnimationLabel, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 23, Short.MAX_VALUE)\n .addGroup(statusPanelLayout.createSequentialGroup()\n .addGroup(statusPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(NrSelectedNodes, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(NrEvents, javax.swing.GroupLayout.DEFAULT_SIZE, 19, Short.MAX_VALUE)\n .addComponent(SimulationRealTime)\n .addComponent(SimulationTime)\n .addComponent(SimulationStatus, javax.swing.GroupLayout.DEFAULT_SIZE, 19, Short.MAX_VALUE)\n .addComponent(NrSimulationNodes))\n .addGap(1, 1, 1))\n .addComponent(FieldSize, javax.swing.GroupLayout.DEFAULT_SIZE, 23, Short.MAX_VALUE)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, statusPanelLayout.createSequentialGroup()\n .addComponent(statusMessageLabel, javax.swing.GroupLayout.DEFAULT_SIZE, 19, Short.MAX_VALUE)\n .addGap(4, 4, 4)))\n .addContainerGap())\n );\n\n statusPanelLayout.linkSize(javax.swing.SwingConstants.VERTICAL, new java.awt.Component[] {NrEvents, NrSimulationNodes, SimulationStatus});\n\n statusPanelLayout.linkSize(javax.swing.SwingConstants.VERTICAL, new java.awt.Component[] {SimulationRealTime, SimulationTime});\n\n jPopupMenu1.setName(\"jPopupMenu1\"); // NOI18N\n\n jMenu2.setText(resourceMap.getString(\"jMenu2.text\")); // NOI18N\n jMenu2.setName(\"jMenu2\"); // NOI18N\n jPopupMenu1.add(jMenu2);\n\n jMenu1.setText(resourceMap.getString(\"jMenu1.text\")); // NOI18N\n jMenu1.setName(\"jMenu1\"); // NOI18N\n jPopupMenu1.add(jMenu1);\n\n jPanel2.setName(\"jPanel2\"); // NOI18N\n\n javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);\n jPanel2.setLayout(jPanel2Layout);\n jPanel2Layout.setHorizontalGroup(\n jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 100, Short.MAX_VALUE)\n );\n jPanel2Layout.setVerticalGroup(\n jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 100, Short.MAX_VALUE)\n );\n\n setComponent(mainPanel);\n setMenuBar(menuBar);\n setStatusBar(statusPanel);\n setToolBar(mainToolbar);\n }" ]
[ "0.62007856", "0.59233195", "0.5874952", "0.57537824", "0.5726322", "0.56738484", "0.5617615", "0.55596536", "0.5558557", "0.5557732", "0.555719", "0.552012", "0.5497854", "0.5455956", "0.54297155", "0.5422841", "0.5368375", "0.5348159", "0.5328167", "0.5323258", "0.5295167", "0.52916175", "0.5285478", "0.5280734", "0.5274474", "0.5260955", "0.52585006", "0.525779", "0.52522343", "0.52363193", "0.522897", "0.52271307", "0.5223235", "0.5199281", "0.51974684", "0.5193098", "0.51869136", "0.518384", "0.51829815", "0.5156888", "0.51473975", "0.51402074", "0.51391304", "0.5134945", "0.512889", "0.51255876", "0.5116934", "0.5112904", "0.5104959", "0.51026905", "0.5100094", "0.5098874", "0.5094652", "0.5092496", "0.5086874", "0.50826293", "0.5062659", "0.5061756", "0.5061704", "0.50449604", "0.50393295", "0.50237894", "0.50234956", "0.50140053", "0.50039285", "0.50007594", "0.4996478", "0.49961704", "0.49894112", "0.49776658", "0.49765924", "0.49716425", "0.4970514", "0.49685764", "0.4967404", "0.4965116", "0.49637964", "0.49611565", "0.49531087", "0.49510786", "0.49502486", "0.4944818", "0.49442983", "0.49431413", "0.49416646", "0.49380708", "0.493622", "0.49350056", "0.49323323", "0.49286664", "0.49272925", "0.49227896", "0.49206817", "0.4920069", "0.49131712", "0.49056825", "0.49040416", "0.49013153", "0.49010015", "0.49008211" ]
0.5932099
1
/ F9 The system shall provide the ability to edit a selected RUL model parameters.
@Test public void f9EditParametersTest() { clickOn("#assetTypeMenuBtn").sleep(1000); //select 1st asset type Node node = lookup("#columnName").nth(1).query(); clickOn(node).sleep(1000); //go to model tab clickOn(scene.getRoot().lookup("#modelTab")).sleep(1000); FlowPane allModels = (FlowPane) scene.getRoot().lookup("#modelsThumbPane"); Pane selectedModel = (Pane) allModels.getChildren().get(0); clickOn(selectedModel).sleep(1000); //Changing Parameters VBox paraBox = (VBox) scene.getRoot().lookup("#modelParameters"); Pane batchSizePara = (Pane) paraBox.getChildren().get(0); TextField batchSizeVal = (TextField) batchSizePara.getChildren().get(1); clickOn(batchSizeVal).type(KeyCode.BACK_SPACE).sleep(500).type(KeyCode.BACK_SPACE).sleep(500).write("60").sleep(1500); Pane qrPara = (Pane) paraBox.getChildren().get(1); CheckBox qrVal = (CheckBox) qrPara.getChildren().get(1); clickOn(qrVal).sleep(1500); Pane collinearPara = (Pane) paraBox.getChildren().get(2); CheckBox colinearVal = (CheckBox) collinearPara.getChildren().get(1); clickOn(colinearVal).sleep(1500); //Parameter after changing it from the default value should be 160 assertEquals("Batch Size value is a now 160", "160", batchSizeVal.getText()); //reset to default clickOn(scene.getRoot().lookup("#modelDefaultBtn")).sleep(1000); clickOn(paraBox.getChildren().get(0)).sleep(1500); //Now go to the last model (Multilayer Perceptron) selectedModel = (Pane) allModels.getChildren().get(allModels.getChildren().size() - 1); clickOn(scene.getRoot().lookup("#modelTab")).sleep(1000); moveBy(0, 200).scroll(65, VerticalDirection.UP); clickOn(selectedModel).sleep(1000); clickOn(scene.getRoot().lookup("#modelDefaultBtn")).sleep(2000); //Change parameters Pane autoBuildPara = (Pane) paraBox.getChildren().get(0); CheckBox autoBuildVal = (CheckBox) autoBuildPara.getChildren().get(1); clickOn(autoBuildVal).sleep(1500); Pane showGUIPara = (Pane) paraBox.getChildren().get(2); CheckBox showGUIVal = (CheckBox) showGUIPara.getChildren().get(1); clickOn(showGUIVal).sleep(1500); Pane momentumPara = (Pane) paraBox.getChildren().get(3); TextField momentumVal = (TextField) momentumPara.getChildren().get(1); clickOn(momentumVal).type(KeyCode.BACK_SPACE).sleep(500).write("1").sleep(1500); //Momentum after changing shouldn't be the default 0.2 value anymore assertFalse("Momentum is default 0.2", momentumVal.getText().equals("0.2")); Pane decayPara = (Pane) paraBox.getChildren().get(9); CheckBox decayVal = (CheckBox) decayPara.getChildren().get(1); clickOn(decayVal).sleep(1500); // //Go to RandomForest Model selectedModel = (Pane) allModels.getChildren().get(2); clickOn(selectedModel).sleep(1000); clickOn(scene.getRoot().lookup("#modelDefaultBtn")).sleep(2000); // //Change parameters Pane execPara = (Pane) paraBox.getChildren().get(1); TextField execVal = (TextField) execPara.getChildren().get(1); clickOn(execVal).sleep(1500); // Pane calcBagPara = (Pane) paraBox.getChildren().get(3); CheckBox calcBagVal = (CheckBox) calcBagPara.getChildren().get(1); clickOn(calcBagVal).sleep(1500); // Pane bagSizePara = (Pane) paraBox.getChildren().get(6); TextField bagSizeVal = (TextField) bagSizePara.getChildren().get(1); clickOn(bagSizeVal).type(KeyCode.BACK_SPACE).sleep(500).type(KeyCode.BACK_SPACE).sleep(500).write("0").sleep(1500); //Bag Size after changing shouldn't be the default 100 value anymore assertFalse("Bag size is default 100", bagSizeVal.getText().equals("100")); //Have parameters VBox assertNotNull("Parameters box for the model exists", paraBox); clickOn(scene.getRoot().lookup("#modelDefaultBtn")).sleep(2000); clickOn(paraBox.getChildren().get(0)).sleep(2000); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void editSimulationParameters() {\r\n \t\tdialogFactory.getDialog(new SimulationPanel(model, model, model, this), \"Define Simulation Parameters\");\r\n \t}", "public void editPAParameters() {\r\n \t\tdialogFactory.getDialog(new ParametricAnalysisPanel(model, model, model, this), \"Define What-if analysis parameters\");\r\n \t}", "private void edit() {\n\n\t}", "@Override\r\n\tpublic void edit() {\n\t\t\r\n\t}", "public void editOperation() {\n\t\t\r\n\t}", "public void updateEditParameter(){\r\n \tMap<String,String> params = FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap();\r\n\t\tint paramId = Integer.parseInt(params.get(\"parameterId\"));\r\n\t\tthis.getLog().info(\"parameterId:\" + paramId);\r\n\t\t\r\n\t\tif(paramId == 0){\r\n\t\t\teditParameter = new AdditionalParametersDTO();\r\n\t\t}else{\r\n\t\t\tfor (AdditionalParametersDTO p : this.getParameterList()) {\r\n\t\t\t\tif(p.getId() == paramId){\r\n\t\t\t\t\teditParameter = p;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t}\t\r\n\t\t}\r\n\t}", "private void editArguments() {\n\t\tDialog d = new EditArgumentsDialog(creator.modpack.minecraft.arguments, frame, true);\n\t\td.setVisible(true);\n\t}", "public void editOptions()\n {\n System.out.println(\"\\n\\t\\t:::::::::::::::::::::::::::::::::::\");\n System.out.println(\"\\t\\t| Select Options Below : |\");\n System.out.println(\"\\t\\t:::::::::::::::::::::::::::::::::::\");\n System.out.println(\"\\t\\t| [1] Modify Actors |\");\n System.out.println(\"\\t\\t| [2] Modify Rating |\");\n System.out.println(\"\\t\\t| [3] Modify Actors & Rating |\");\n System.out.println(\"\\t\\t| [4] Back To Menu |\");\n System.out.println(\"\\t\\t===================================\");\n System.out.print(\"\\t\\t Input the option number : \");\n }", "SrInwardTruckQualityCheck edit(SrInwardTruckQualityCheck srInwardTruckQualityCheck);", "public static void doEdit ( RunData data )\n\t{\n\t\tParameterParser params = data.getParameters ();\n\t\tSessionState state = ((JetspeedRunData)data).getPortletSessionState (((JetspeedRunData)data).getJs_peid ());\n\n\t\tMap current_stack_frame = pushOnStack(state);\n\n\t\tstate.setAttribute(STATE_LIST_SELECTIONS, new TreeSet());\n\n\t\t// cancel copy if there is one in progress\n\t\tif(! Boolean.FALSE.toString().equals(state.getAttribute (STATE_COPY_FLAG)))\n\t\t{\n\t\t\tinitCopyContext(state);\n\t\t}\n\n\t\t// cancel move if there is one in progress\n\t\tif(! Boolean.FALSE.toString().equals(state.getAttribute (STATE_MOVE_FLAG)))\n\t\t{\n\t\t\tinitMoveContext(state);\n\t\t}\n\n\t\tString id = NULL_STRING;\n\t\tid = params.getString (\"id\");\n\t\tif(id == null || id.length() == 0)\n\t\t{\n\t\t\t// there is no resource selected, show the alert message to the user\n\t\t\taddAlert(state, rb.getString(\"choosefile2\"));\n\t\t\treturn;\n\t\t}\n\n\t\tcurrent_stack_frame.put(STATE_STACK_EDIT_ID, id);\n\n\t\tString collectionId = (String) params.getString(\"collectionId\");\n\t\tif(collectionId == null)\n\t\t{\n\t\t\tcollectionId = ContentHostingService.getSiteCollection(ToolManager.getCurrentPlacement().getContext());\n\t\t\tstate.setAttribute(STATE_HOME_COLLECTION_ID, collectionId);\n\t\t}\n\t\tcurrent_stack_frame.put(STATE_STACK_EDIT_COLLECTION_ID, collectionId);\n\n\t\tEditItem item = getEditItem(id, collectionId, data);\n\n\t\tif (state.getAttribute(STATE_MESSAGE) == null)\n\t\t{\n\t\t\t// got resource and sucessfully populated item with values\n\t\t\t// state.setAttribute (STATE_MODE, MODE_EDIT);\n\t\t\tstate.setAttribute(ResourcesAction.STATE_RESOURCES_HELPER_MODE, ResourcesAction.MODE_ATTACHMENT_EDIT_ITEM_INIT);\n\t\t\tstate.setAttribute(STATE_EDIT_ALERTS, new HashSet());\n\t\t\tcurrent_stack_frame.put(STATE_STACK_EDIT_ITEM, item);\n\n\t\t}\n\t\telse\n\t\t{\n\t\t\tpopFromStack(state);\n\t\t}\n\n\t}", "public void edit() throws Exception {\n\t\topenPrimaryButtonDropdown();\n\t\tgetControl(\"editButton\").click();\n\t}", "public void updateSiteParams() {\n //get the selected IMR\n\tScalarIntensityMeasureRelationshipAPI imr = imrGuiBean.getSelectedIMR_Instance();\n\tsiteGuiBean.replaceSiteParams(imr.getSiteParamsIterator());\n\tsiteGuiBean.validate();\n siteGuiBean.repaint();\n }", "public void updateParameters(){\n\t\tp = RunEnvironment.getInstance().getParameters();\n\t\tmaxFlowerNectar = (double)p.getValue(\"maxFlowerNectar\");\n\t\tlowMetabolicRate = (double)p.getValue(\"lowMetabolicRate\");\n\t\thighMetabolicRate = (double)p.getValue(\"highMetabolicRate\");\n\t\tcolonySize = (int)p.getValue(\"colonySize\");\n\t}", "public void parameterChange( ParameterChangeEvent event ) {\n\n String S = C + \": parameterChange(): \";\n if ( D ) System.out.println( \"\\n\" + S + \"starting: \" );\n\n String name1 = event.getParameterName();\n\n // if IMR selection changed, update the site parameter list and supported IMT\n if ( name1.equalsIgnoreCase(imrGuiBean.IMR_PARAM_NAME)) {\n ScalarIntensityMeasureRelationshipAPI imr = imrGuiBean.getSelectedIMR_Instance();\n //set the intensity measure for the IMR\n imr.setIntensityMeasure(SA_Param.NAME);\n //gets the SA Period Values for the IMR\n this.getSA_PeriodForIMR(imr);\n siteGuiBean.replaceSiteParams(imr.getSiteParamsIterator());\n siteGuiBean.validate();\n siteGuiBean.repaint();\n }\n if(name1.equalsIgnoreCase(ERF_GuiBean.ERF_PARAM_NAME)) {\n /* get the selected ERF\n NOTE : We have used erfGuiBean.getSelectedERF_Instance()INSTEAD OF\n erfGuiBean.getSelectedERF.\n Difference is that erfGuiBean.getSelectedERF_Instance() does not update\n the forecast while erfGuiBean.getSelectedERF updates the\n */\n if(erfGuiBean !=null){\n\n controlComboBox.removeAllItems();\n this.initControlList();\n // add the Epistemic control panel option if Epistemic ERF is selected\n if(erfGuiBean.isEpistemicList()) {\n this.controlComboBox.addItem(EPISTEMIC_CONTROL);\n controlComboBox.setSelectedItem(EPISTEMIC_CONTROL);\n }\n }\n }\n }", "public abstract void edit();", "public void setParameters(Map<String, String> param) {\n\n // check the occurrence of required parameters\n if(!(param.containsKey(\"Indri:mu\") && param.containsKey(\"Indri:lambda\"))){\n throw new IllegalArgumentException\n (\"Required parameters for IndriExpansion model were missing from the parameter file.\");\n }\n\n this.mu = Double.parseDouble(param.get(\"Indri:mu\"));\n if(this.mu < 0) throw new IllegalArgumentException\n (\"Illegal argument: \" + param.get(\"Indri:mu\") + \", mu is a real number >= 0\");\n\n this.lambda = Double.parseDouble(param.get(\"Indri:lambda\"));\n if(this.lambda < 0) throw new IllegalArgumentException\n (\"Illegal argument: \" + param.get(\"Indri:lambda\") + \", lambda is a real number between 0.0 and 1.0\");\n\n if((param.containsKey(\"fb\") && param.get(\"fb\").equals(\"true\"))) {\n this.fb = \"true\";\n\n this.fbDocs = Integer.parseInt(param.get(\"fbDocs\"));\n if (this.fbDocs <= 0) throw new IllegalArgumentException\n (\"Illegal argument: \" + param.get(\"fbDocs\") + \", fbDocs is an integer > 0\");\n\n this.fbTerms = Integer.parseInt(param.get(\"fbTerms\"));\n if (this.fbTerms <= 0) throw new IllegalArgumentException\n (\"Illegal argument: \" + param.get(\"fbTerms\") + \", fbTerms is an integer > 0\");\n\n this.fbMu = Integer.parseInt(param.get(\"fbMu\"));\n if (this.fbMu < 0) throw new IllegalArgumentException\n (\"Illegal argument: \" + param.get(\"fbMu\") + \", fbMu is an integer >= 0\");\n\n this.fbOrigWeight = Double.parseDouble(param.get(\"fbOrigWeight\"));\n if (this.fbOrigWeight < 0) throw new IllegalArgumentException\n (\"Illegal argument: \" + param.get(\"fbOrigWeight\") + \", fbOrigWeight is a real number between 0.0 and 1.0\");\n\n if (param.containsKey(\"fbInitialRankingFile\") && param.get(\"fbInitialRankingFile\") != \"\") {\n this.fbInitialRankingFile = param.get(\"fbInitialRankingFile\");\n try{\n this.initialRanking = readRanking();\n }\n catch (Exception e){\n e.printStackTrace();\n }\n }\n\n if (param.containsKey(\"fbExpansionQueryFile\") && param.get(\"fbExpansionQueryFile\") != \"\")\n this.fbExpansionQueryFile = param.get(\"fbExpansionQueryFile\");\n }\n }", "private void edit() {\n mc.displayGuiScreen(new GuiEditAccount(selectedAccountIndex));\n }", "private void displayEditMenu()\r\n {\r\n System.out.println();\r\n System.out.println(\"--------- Edit Menu ------------\");\r\n System.out.println(\"(1) Edit Car Colour\");\r\n System.out.println(\"(2) Edit Car Price\");\r\n System.out.println(\"(3) Back to Main Menu\");\r\n }", "private void editName() {\n Routine r = list.getSelectedValue();\n\n String s = (String) JOptionPane.showInputDialog(\n this,\n \"Enter the new name:\",\n \"Edit name\",\n JOptionPane.PLAIN_MESSAGE,\n null, null, r.getName());\n\n if (s != null) {\n r.setName(s);\n }\n }", "public void setRecommand(RequestParameter rp) {\n\t\tdao.boardSetRecommand(rp);\n\t}", "@FXML\n public void editSet(MouseEvent e) {\n AnchorPane root = null;\n FXMLLoader loader = new FXMLLoader(getClass().getResource(\"/view/learn_update.fxml\"));\n try {\n root = loader.load();\n } catch (IOException ex) {\n ex.printStackTrace();\n }\n LearnUpdateController controller = loader.getController();\n controller.initData(txtTitle.getText(), rootController, learnController, apnLearn);\n rootController.setActivity(root);\n root.requestFocus();\n }", "void setEditore(String editore);", "public boolean editRegulation(Regulations r) {\n\t\tboolean result = false;\r\n\t\tSqlSession session = MybatisSqlSessionFactory.getSqlSession();\r\n\t\tint i = session.update(\"editregulation\", r);\r\n\t\tif (i > 0) {\r\n\t\t\tsession.commit();\r\n\t\t\tresult = true;\r\n\t\t\tSystem.out.println(\"修改成功\");\t\t\t\r\n\t\t} else {\r\n\t\t\tresult = false;\r\n\t\t\tSystem.out.println(\"修改失败\");\t\t\t\r\n\t\t}\r\n\t\tMybatisSqlSessionFactory.closeSqlSession();\r\n\t\treturn result;\r\n\t\t\r\n\t\t\r\n\t}", "public void editTheirProfile() {\n\t\t\n\t}", "public void editAllAssmParameters(String program, String functionalArea, String type, String date, String score) {\n selectProgram(program);\n selectPreTest();\n cmbFunctionalArea.select(functionalArea);\n selectType(type);\n inputDateAdministered(date);\n typeScore(score);\n fillInEducationalFunctionalArea();\n }", "public void updateResvOption(RoomMgr rm) {\n\t\tboolean flag = false;\n\t\tScanner sc = new Scanner(System.in);\n\t\tint ch, rNo;\n\n\t\tSystem.out.printf(\"Please key in the Reservation no: \");\n\t\trNo = sc.nextInt();\n\t\tsc.nextLine();\n\n\t\tfor (Reservation r : rList) {\n\t\t\tif (r.getResvNo() == rNo) {\n\t\t\t\tdo {\n\t\t\t\t\tSystem.out.printf(\"\\n===>Please select from the following:\\n\");\n\t\t\t\t\tSystem.out.println(\"(1) Update Room no\");\n\t\t\t\t\tSystem.out.println(\"(2) Update Adult No\");\n\t\t\t\t\tSystem.out.println(\"(3) Update kids No\");\n\t\t\t\t\tSystem.out.println(\"(4) Update Date Check-In\");\n\t\t\t\t\tSystem.out.println(\"(5) Update Date Check-Out\");\n\t\t\t\t\tSystem.out.println(\"(6) Update Reservation Status\");\n\t\t\t\t\tSystem.out.println(\"(7) Return to the previous menu\");\n\t\t\t\t\tSystem.out.print(\"Enter the number of your choice: \");\n\t\t\t\t\tch = sc.nextInt();\n\t\t\t\t\tsc.nextLine();\n\t\t\t\t\tupdateResv(rm, r, ch,r.getAdultNo()+r.getKidNo());\n\t\t\t\t} while (ch > 0 && ch < 9);\n\t\t\t\tflag = true;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tif(!flag)\n\t\t\tSystem.out.println(\"Reservation no does not exist\");\n\t}", "public void edit()\n {\n openProperties(getHighlightedActors());\n }", "private void modifierParametre() {\n if (getSelectedParamatre() == null) return;\n FenetreModifierParametre fenetreModifierParametre = new FenetreModifierParametre(getSelectedParamatre());\n fenetreModifierParametre.showAndWait();\n if (fenetreModifierParametre.getParametre() == null) return;\n Parametre temp = fenetreModifierParametre.getParametre();\n getSelectedParamatre().setNom(temp.getNom());\n getSelectedParamatre().setType(temp.getType());\n parametreListView.refresh();\n }", "public void refreshGUIConfiguration() {\n\t\tcbxFEP.setSelectedItem(Initializer.getFEPname());\n\t\ttxtPort.setText(String.valueOf(Initializer.getPortNumber()));\n\t\t\n\t\tfor(Map.Entry<String, String> value : Initializer.getConfigurationTracker().getFepPropertiesMap().entrySet()) {\n\t\t\tif(value.getKey().equals(\"valueOfBitfield76\")) {\n\t\t\t\tSystem.out.println(value.getValue());\n\t\t\t}\n\t\t}\n\t\t\n\t\tif (Initializer.getConfigurationTracker().getFepPropertiesMap()\n\t\t\t\t.get(Initializer.getBaseConstants().sendResponseVariableName).equalsIgnoreCase(\"No\")) {\n\t\t\trdbtnDontSendResponse.setSelected(true);\n\t\t} else {\n\t\t\trdbtnSendResponse.setSelected(true);\n\t\t}\n\n\t\tif (Initializer.getConfigurationTracker().getFepPropertiesMap()\n\t\t\t\t.get(Initializer.getBaseConstants().authorizationResultVariableName)\n\t\t\t\t.equalsIgnoreCase(Initializer.getBaseConstants().approvalValue)) {\n\t\t\trdbtnAuthorizationApprove.setSelected(true);\n\t\t} else if (Initializer.getConfigurationTracker().getFepPropertiesMap()\n\t\t\t\t.get(Initializer.getBaseConstants().authorizationResultVariableName)\n\t\t\t\t.equalsIgnoreCase(Initializer.getBaseConstants().declineValue)) {\n\t\t\trdbtnAuthorizationDecline.setSelected(true);\n\t\t} else if (Initializer.getConfigurationTracker().getFepPropertiesMap()\n\t\t\t\t.get(Initializer.getBaseConstants().authorizationResultVariableName)\n\t\t\t\t.equalsIgnoreCase(Initializer.getBaseConstants().partialApprovalValue)) {\n\t\t\trdbtnAuthorizationPartiallyapprove.setSelected(true);\n\t\t}\n\n\t\tif (Initializer.getConfigurationTracker().getFepPropertiesMap()\n\t\t\t\t.get(Initializer.getBaseConstants().financialSalesResultVariableName)\n\t\t\t\t.equalsIgnoreCase(Initializer.getBaseConstants().approvalValue)) {\n\t\t\trdbtnFinancialSalesApprove.setSelected(true);\n\t\t} else if (Initializer.getConfigurationTracker().getFepPropertiesMap()\n\t\t\t\t.get(Initializer.getBaseConstants().financialSalesResultVariableName)\n\t\t\t\t.equalsIgnoreCase(Initializer.getBaseConstants().declineValue)) {\n\t\t\trdbtnFinancialSalesDecline.setSelected(true);\n\t\t} else if (Initializer.getConfigurationTracker().getFepPropertiesMap()\n\t\t\t\t.get(Initializer.getBaseConstants().financialSalesResultVariableName)\n\t\t\t\t.equalsIgnoreCase(Initializer.getBaseConstants().partialApprovalValue)) {\n\t\t\trdbtnFinancialSalesPartiallyapprove.setSelected(true);\n\t\t}\n\n\t\tif (Initializer.getConfigurationTracker().getFepPropertiesMap()\n\t\t\t\t.get(Initializer.getBaseConstants().financialForceDraftResultVariableName)\n\t\t\t\t.equalsIgnoreCase(Initializer.getBaseConstants().approvalValue)) {\n\t\t\trdbtnFinancialForceDraftApprove.setSelected(true);\n\t\t} else if (Initializer.getConfigurationTracker().getFepPropertiesMap()\n\t\t\t\t.get(Initializer.getBaseConstants().financialForceDraftResultVariableName)\n\t\t\t\t.equalsIgnoreCase(Initializer.getBaseConstants().declineValue)) {\n\t\t\trdbtnFinancialForceDraftDecline.setSelected(true);\n\t\t}\n\n\t\tif (Initializer.getConfigurationTracker().getFepPropertiesMap()\n\t\t\t\t.get(Initializer.getBaseConstants().reconciliationResultVariableName)\n\t\t\t\t.equalsIgnoreCase(Initializer.getBaseConstants().approvalValue)) {\n\t\t\trdbtnReconciliationApprove.setSelected(true);\n\t\t} else if (Initializer.getConfigurationTracker().getFepPropertiesMap()\n\t\t\t\t.get(Initializer.getBaseConstants().reconciliationResultVariableName)\n\t\t\t\t.equalsIgnoreCase(Initializer.getBaseConstants().declineValue)) {\n\t\t\trdbtnReconciliationDecline.setSelected(true);\n\t\t}\n\n\t\tif (Initializer.getConfigurationTracker().getFepPropertiesMap()\n\t\t\t\t.get(Initializer.getBaseConstants().reversalResultVariableName)\n\t\t\t\t.equalsIgnoreCase(Initializer.getBaseConstants().approvalValue)) {\n\t\t\trdbtnReversalApprove.setSelected(true);\n\t\t} else if (Initializer.getConfigurationTracker().getFepPropertiesMap()\n\t\t\t\t.get(Initializer.getBaseConstants().reversalResultVariableName)\n\t\t\t\t.equalsIgnoreCase(Initializer.getBaseConstants().declineValue)) {\n\t\t\trdbtnReversalDecline.setSelected(true);\n\t\t}\n\n\t\ttxtDeclineCode\n\t\t\t\t.setText(Initializer.getConfigurationTracker().getFepPropertiesMap().get(\"ValueOfBitfield39Decline\"));\n\t\ttxtApprovalAmount.setText(Initializer.getConfigurationTracker().getFepPropertiesMap().get(\"valueOfBitfield4\"));\n\t\tif (Initializer.getConfigurationTracker().getFepPropertiesMap().get(\"isHalfApprovalRequired\")\n\t\t\t\t.equalsIgnoreCase(\"true\")) {\n\t\t\tchckbxApproveForHalf.setSelected(true);\n\t\t\ttxtApprovalAmount.setEnabled(false);\n\t\t} else {\n\t\t\tchckbxApproveForHalf.setSelected(false);\n\t\t\ttxtApprovalAmount.setEnabled(true);\n\t\t}\n\t\t\n\t\tlogger.debug(\"GUI configuration updated based on the FEP properties configured\");\n\t}", "@Override\r\n\tpublic void setParameterValuesToGUI() {\r\n\t\tthis.pb = this.workPackage.getParameters();\r\n\r\n\t\tjSpinnerLeft.removeChangeListener(this);\r\n\t\tjSpinnerRight.removeChangeListener(this);\r\n\t\tjSpinnerTop.removeChangeListener(this);\r\n\t\tjSpinnerBottom.removeChangeListener(this);\r\n\t\tjSpinnerConst.removeChangeListener(this);\r\n\r\n\t\tjSpinnerLeft.setValue(pb.getIntParameter(\"Left\"));\r\n\t\tjSpinnerRight.setValue(pb.getIntParameter(\"Right\"));\r\n\t\tjSpinnerTop.setValue(pb.getIntParameter(\"Top\"));\r\n\t\tjSpinnerBottom.setValue(pb.getIntParameter(\"Bottom\"));\r\n\t\tjSpinnerConst.setValue(pb.getIntParameter(\"Const\"));\r\n\r\n\t\tjSpinnerLeft.addChangeListener(this);\r\n\t\tjSpinnerRight.addChangeListener(this);\r\n\t\tjSpinnerTop.addChangeListener(this);\r\n\t\tjSpinnerBottom.addChangeListener(this);\r\n\t\tjSpinnerConst.addChangeListener(this);\r\n\r\n\t\tjSpinnerNewWidth.removeChangeListener(this);\r\n\t\tjSpinnerNewHeight.removeChangeListener(this);\r\n\t\tjSpinnerNewWidth.setValue(pb.getIntParameter(\"NewWidth\"));\r\n\t\tjSpinnerNewHeight.setValue(pb.getIntParameter(\"NewHeight\"));\r\n\t\tjSpinnerNewWidth.addChangeListener(this);\r\n\t\tjSpinnerNewHeight.addChangeListener(this);\r\n\r\n\t\tif (pb.getIntParameter(\"Method\") == IqmOpBorderDescriptor.ZERO) buttZero.setSelected(true);\r\n\t\tif (pb.getIntParameter(\"Method\") == IqmOpBorderDescriptor.CONSTANT) buttConst.setSelected(true);\r\n\t\tif (pb.getIntParameter(\"Method\") == IqmOpBorderDescriptor.COPY) buttCopy.setSelected(true);\r\n\t\tif (pb.getIntParameter(\"Method\") == IqmOpBorderDescriptor.REFLECT) buttReflect.setSelected(true);\r\n\t\tif (pb.getIntParameter(\"Method\") == IqmOpBorderDescriptor.WRAP) buttWrap.setSelected(true);\r\n\r\n\t\tif (buttConst.isSelected()) {\r\n\t\t\tjSpinnerConst.setEnabled(true);\r\n\t\t} else {\r\n\t\t\tjSpinnerConst.setEnabled(false);\r\n\t\t}\r\n\r\n\t\tif (pb.getIntParameter(\"BorderOrSize\") == IqmOpBorderDescriptor.PREFERENCE_BORDER) buttBorder.setSelected(true);\r\n\t\tif (pb.getIntParameter(\"BorderOrSize\") == IqmOpBorderDescriptor.PREFERENCE_SIZE) buttSize.setSelected(true);\r\n\r\n\t}", "public void updateSiteParams() {\n\t\tScalarIMR imr = imrGuiBean.getSelectedIMR_Instance();\n\t\tupdateSiteParams(imr);\n//\t\tsitesGuiBean.replaceSiteParams(imr.getSiteParamsIterator());\n//\t\tsitesGuiBean.validate();\n//\t\tsitesGuiBean.repaint();\n\t}", "public static void courseEditOption(){\n System.out.println(\"Choose 0 to repeat the option List\");\n System.out.println(\"Choose 1 to add new Course to the List\");\n System.out.println(\"Choose 2 to edit the exisiting List\");\n System.out.println(\"Choose 3 to quit editing\");\n }", "public void edit() {\n\t\tlogger.debug(\"Entering IVR dtmf edit method...\");\n\t\tif (selectedDtmfId != null && selectedDtmfId.intValue() != -1) {\n\t\t\ttry {\n\t\t\t\tIvrDtmf entry = ivrDtmfDao.findById(selectedDtmfId);\n\t\t\t\tdtmfId = entry.getDtmfId();\n\t\t\t\tdtmfName = entry.getDtmfName();\n\t\t\t\tdtmfDigit = entry.getDtmfDigit();\n\t\t\t\tdtmfDescription = entry.getDtmfDescription();\n\t\t\t\tdtmfCreateDate = entry.getDtmfCreateDate();\n\t\t\t\tdtmfUpdateDate = entry.getDtmfUpdateDate();\n\t\t\t\tselectedDtmfId = -1;\n\t\t\t} catch (Exception ex) {\n\t\t\t\tlogger.error(\"Failed to fetch the element data from db, Cause: \"+ex.getMessage(), ex);\n\t\t\t\tFacesContext.getCurrentInstance().addMessage(null, new FacesMessage(\"Failed to fetch the element data from db, Cause: \"+ex.getMessage()));\n\t\t\t}\n\t\t} else {\n\t\t\treset();\n\t\t}\n\t}", "@RequestMapping(\"/edit/{key}\")\n public String edit(@PathVariable(\"key\") String key, Model model) {\n List<CompanyVo> autogenCompanyList = autogenMgr.getAllCompany();\n \n model.addAttribute(\"autogenCompanyList\", autogenCompanyList);\n \n String[] keys = StringUtils.split(key, \"|\");\n \n Autogen autogen = autogenMgr.getAutogen(keys[0], keys[1]);\n \n model.addAttribute(\"autogen\", autogen);\n \n return \"/management/autogen/edit\";\n }", "public void propertyChange(PropertyChangeEvent e) {\n super.propertyChange(e);\n String name = e.getPropertyName();\n if (e.getSource() == paramEditor && name.equals(\"edit\")) { //$NON-NLS-1$\n initEditor.getTable().selectOnFocus = false;\n } else if (name.equals(\"angles_in_radians\") && model.trackerPanel != null) { //$NON-NLS-1$\n model.trackerPanel.getTFrame().setAnglesInRadians((Boolean) e.getNewValue());\n }\n }", "public abstract Map<String, GalaxyFile> saveSearchGUIParameters(SearchParameters searchParameters, boolean editMode);", "public void term()\n \t{\n \t\tTechEditWizardData data = wizard.getTechEditData();\n \t\tdata.setGateLength(TextUtils.atof(length.getText()));\n\t\tdata.setGateWidth(TextUtils.atof(width.getText()));\n \t\tdata.setGateContactSpacing(TextUtils.atof(contactSpacing.getText()));\n \t\tdata.setGateSpacing(TextUtils.atof(spacing.getText()));\n \t}", "void edit(Price Price);", "public void updateParametersFocusMode() {\n this.mFocusManager.overrideFocusMode(getOverrideFocusMode());\n this.mCameraSettings.setFocusMode(this.mFocusManager.getFocusMode(this.mCameraSettings.getCurrentFocusMode()));\n }", "public void refreshModelWithParams(Model model) {\n\t\t\n\t\tsuper.refreshModelWithParams(model);\n\t\t\n\t\t// assigning the selected graph and the file\n\t\tmodel.getParametersObject().setGraph(this.getSelectedSN());\n\t\tmodel.getParametersObject().setNetworkFilesPattern\n\t\t\t\t(this.fileNamesGraphs[this.getSelectedSNIndex()]);\n\t}", "public void exeHLPOK()\n\t{\n\t\ttry\n\t\t{\n\t\t super.exeHLPOK();\n\t\t\tif(M_strHLPFLD == \"txtGRPCD\")\n\t\t\t{\n\t\t\t\ttxtGRPCD.setText(cl_dat.M_strHLPSTR_pbst);\t\n\t\t\t\ttxtGRPCD.setEnabled(true);\n\t\t\t\ttxtGRPCD.requestFocus();\n\t\t\t}\n\t\t\tif(M_strHLPFLD == \"txtPRTTP\")\n\t\t\t{\n\t\t\t\ttxtPRTTP.setText(cl_dat.M_strHLPSTR_pbst); \n\t\t\t\ttxtPRTTP.setEnabled(true);\n\t\t\t\ttxtPRTTP.requestFocus();\n\t\t\t}\n\t\t}\n\t catch(Exception L_EX)\n\t\t{\n\t\t\tsetMSG(L_EX,\"Help..\");\n\t\t}\t\n\t}", "public void revise()\n {\n // check the easy stuff -- out of range parameters\n super.revise();\n \n String nm = model.get(\"name\", \"Untitled\");\n String newnm = revisePatchName(nm);\n if (!nm.equals(newnm))\n model.set(\"name\", newnm);\n \n // deal with modulation amount destinations\n for(int i = 3; i < 16; i++)\n {\n if (model.get(\"mod\" + i + \"destination\") == i + 17) // can't refer to yourself\n model.set(\"mod\" + i + \"destination\", 0); // off\n for(int j = 3; j < 16; j++)\n {\n if (model.get(\"mod\" + j + \"destination\") == i + 17 && // someone is referring to you\n model.get(\"mod\" + i + \"destination\") >= 18) // you're using a modulation destination, not legal \n model.set(\"mod\" + i + \"destination\", 0); // off\n }\n }\n }", "public void changePatch(Model tempModel)\n {\n // we need to do this in order to be able to write. See Developer FAQ\n byte[] midi_mesg = paramBytes(MIDI_MODE, MULTISET_MIDI_MODE);\n tryToSendSysex(midi_mesg);\n \n // this too.\n byte[] midi_mesg_2 = paramBytes(MIDI_MODE, PERFORMANCE_MIDI_MODE);\n tryToSendSysex(midi_mesg_2);\n\n // change the bank\n try {\n tryToSendMIDI(new ShortMessage(ShortMessage.CONTROL_CHANGE, getChannelOut(), 0, MIDI_BANKS[tempModel.get(\"bank\", 0)]));\n }\n catch (Exception e) { Synth.handleException(e); }\n\n // change the number\n try {\n tryToSendMIDI(new ShortMessage(ShortMessage.PROGRAM_CHANGE, getChannelOut(), tempModel.get(\"number\", 0) + MIDI_PROG_CHANGE_OFFSETS[tempModel.get(\"bank\", 0)], 0));\n }\n catch (Exception e) { Synth.handleException(e); }\n\n // specify that we're editing said bank\n byte[] bank_mesg = paramBytes(CURRENT_BANK, edisynToWSBank[tempModel.get(\"bank\", 0)]);\n tryToSendSysex(bank_mesg);\n\n // specify that we're editing said number\n byte[] prog_mesg = paramBytes(CURRENT_PROG, tempModel.get(\"number\", 0));\n tryToSendSysex(prog_mesg);\n }", "public void setParameters(int r, int c) {\n\t\tnr = r;\n\t\tnc = c;\n\t\tsetVisible(true);\n\t}", "public void setRetreivalParameter(String retModel, String param1,String param2, String param3) {\n \tretModelName = retModel;\n \tswitch(retModel) \n \t{\n \tcase \"lmjm\":\n \t\tretModelParam1 = param1;\n \t\tbreak;\n \tcase \"lmdir\":\n \t\tretModelParam1 = param1;\n \t\tbreak;\n \tcase \"bm25\":\n \t\tretModelParam1 = param1;\n \t\tretModelParam2 = param2;\n \t\tbreak;\n \tcase \"dfr\": \n \t\tretModelParam1 = param1;\n \t\tretModelParam2 = param2;\n \t\tretModelParam3 = param3;\n \t\t//System.out.println(retModelParam1 + retModelParam2 + retModelParam3);\n \t\tbreak;\n \tdefault :\n \t\tSystem.err.println(\"Sorry! No such retrieval models found.\");\n \t\treturn;\n \t}\n }", "private void correctParameter(){\n \tint ifObtuse;\r\n \tif(initialState.v0_direction>90)ifObtuse=1;\r\n \telse ifObtuse=0;\r\n \tdouble v0=initialState.v0_val;\r\n \tdouble r0=initialState.r0_val;\r\n \tdouble sintheta2=Math.sin(Math.toRadians(initialState.v0_direction))*Math.sin(Math.toRadians(initialState.v0_direction));\r\n \tdouble eccentricityMG=Math.sqrt(center.massG*center.massG-2*center.massG*v0*v0*r0*sintheta2+v0*v0*v0*v0*r0*r0*sintheta2);\r\n \tdouble cosmiu0=-(v0*v0*r0*sintheta2-center.massG)/eccentricityMG;\r\n \tpe=(v0*v0*r0*r0*sintheta2)/(center.massG+eccentricityMG);\r\n \tap=(v0*v0*r0*r0*sintheta2)/(center.massG-eccentricityMG);\r\n \tsemimajorAxis=(ap+pe)/2;\r\n \tsemiminorAxis=Math.sqrt(ap*pe);\r\n \tsemifocallength=(ap-pe)/2;\r\n \tSystem.out.println(semimajorAxis+\",\"+semiminorAxis+\",\"+semifocallength);\r\n \teccentricity=eccentricityMG/center.massG;\r\n \tperiod=2*Math.PI*Math.sqrt(semimajorAxis*semimajorAxis*semimajorAxis/(center.massG));\r\n \trotate=(360-Math.toDegrees(Math.acos(cosmiu0)));\r\n \torbitCalculator.angleDelta=(Math.toDegrees(Math.acos(cosmiu0))+360);\r\n \trotate=rotate+initialState.r0_direction;\r\n \t\r\n \tif(ifObtuse==1) {\r\n \t\tdouble rbuf=rotate;\r\n \t\trotate=initialState.r0_direction-rotate;\r\n \t\torbitCalculator.angleDelta+=(2*rbuf-initialState.r0_direction);\r\n \t}\r\n \tfor(;;) {\r\n \t\tif(rotate>360)rotate=rotate-360;\r\n \t\telse break;\r\n \t}\r\n \tfor(;;) {\r\n \t\tif(rotate<0)rotate=rotate+360;\r\n \t\telse break;\r\n \t}\r\n \t/*\r\n \tpe=initialState.r0_val;\r\n rotate=initialState.r0_direction;\r\n ap=(initialState.v0_val*initialState.v0_val*pe*pe)/(2*center.massG-initialState.v0_val*initialState.v0_val*pe);\r\n peSpeed=initialState.v0_val;\r\n apSpeed=(2*center.massG-initialState.v0_val*initialState.v0_val*pe)/(initialState.v0_val*pe);\r\n if(ap<pe){\r\n double lf=ap;ap=pe;pe=lf;\r\n lf=apSpeed;apSpeed=peSpeed;peSpeed=lf;\r\n }\r\n semimajorAxis=(ap+pe)/2;\r\n semifocallength=(ap-pe)/2;\r\n semiminorAxis=Math.sqrt(ap*pe);\r\n eccentricity=semifocallength/semimajorAxis;\r\n period=2*Math.PI*Math.sqrt(semimajorAxis*semimajorAxis*semimajorAxis/(center.massG));*/\r\n }", "public void clickEdit() {\r\n\t\tEdit.click();\r\n\t}", "public void setEditSpeedPressed() {\n String value = JOptionPane.showInputDialog(this, this.applicationDelayText, this.setApplicationDelayText, 3);\n if (value != null) {\n int newSpeed = Integer.parseInt(value.toString());\n this.setSpeed(newSpeed);\n }\n }", "private void editLibraries() {\n\t\tJOptionPane.showMessageDialog(this, \"No implemented yet!\");\n\t}", "private void performDirectEdit() {\n\t}", "@Override\n\tpublic void editAction(int id) {\n\t\t\n\t}", "public void setupEditMode(MainGame game){\n GLFW.glfwSetKeyCallback(DisplayManager.getWindow(), (handle, key, scancode, action, mods) -> {\n if (key == GLFW_KEY_1) {\n objectType = 1;\n MouseHandler.disable();\n } else if (key == GLFW_KEY_2){\n objectType = 2;\n MouseHandler.disable();\n } else if (key == GLFW_KEY_ESCAPE){\n objectType = -1;\n MouseHandler.enable();\n } else if (key == GLFW_KEY_F5){\n entities.removeAll(trees);\n trees.clear();\n GameLoader.loadGameFile(\"./res/courses/terrainSaveFile.txt\", game);\n entities.addAll(trees);\n terrain.updateTerrain(loader);\n } else if (key == GLFW_KEY_F10){\n GameSaver.saveGameFile(\"saveGame\", game);\n }\n });\n }", "@Override\n\t\tpublic void setModel(int model) {\n\t\t\t\n\t\t}", "public static void doSavechanges ( RunData data)\n\t{\n\t\tSessionState state = ((JetspeedRunData)data).getPortletSessionState (((JetspeedRunData)data).getJs_peid ());\n\t\tParameterParser params = data.getParameters ();\n\n\t\tString flow = params.getString(\"flow\").trim();\n\n\t\tif(flow == null || \"cancel\".equals(flow))\n\t\t{\n\t\t\tdoCancel(data);\n\t\t\treturn;\n\t\t}\n\n\t\t// get values from form and update STATE_STACK_EDIT_ITEM attribute in state\n\t\tcaptureValues(state, params);\n\n\t\tMap current_stack_frame = peekAtStack(state);\n\n\t\tEditItem item = (EditItem) current_stack_frame.get(STATE_STACK_EDIT_ITEM);\n\n\t\tif(flow.equals(\"showMetadata\"))\n\t\t{\n\t\t\tdoShow_metadata(data);\n\t\t\treturn;\n\t\t}\n\t\telse if(flow.equals(\"hideMetadata\"))\n\t\t{\n\t\t\tdoHide_metadata(data);\n\t\t\treturn;\n\t\t}\n\t\telse if(flow.equals(\"intentChanged\"))\n\t\t{\n\t\t\tdoToggle_intent(data);\n\t\t\treturn;\n\t\t}\n\t\telse if(flow.equals(\"addInstance\"))\n\t\t{\n\t\t\tString field = params.getString(\"field\");\n\t\t\taddInstance(field, item.getProperties());\n\t\t\tResourcesMetadata form = item.getForm();\n\t\t\tList flatList = form.getFlatList();\n\t\t\titem.setProperties(flatList);\n\t\t\treturn;\n\t\t}\n\t\telse if(flow.equals(\"linkResource\"))\n\t\t{\n\t\t\t// captureMultipleValues(state, params, false);\n\t\t\tcreateLink(data, state);\n\t\t\t//Map new_stack_frame = pushOnStack(state);\n\t\t\t//new_stack_frame.put(ResourcesAction.STATE_RESOURCES_HELPER_MODE, ResourcesAction.MODE_ATTACHMENT_SELECT);\n\t\t\tstate.setAttribute(ResourcesAction.STATE_RESOURCES_HELPER_MODE, ResourcesAction.MODE_ATTACHMENT_SELECT);\n\n\t\t\treturn;\n\t\t}\n\n\n\t\tSet alerts = (Set) state.getAttribute(STATE_EDIT_ALERTS);\n\n//\t\tif(item.isStructuredArtifact())\n//\t\t{\n//\t\t\tSchemaBean bean = (SchemaBean) current_stack_frame.get(STATE_STACK_STRUCT_OBJ_SCHEMA);\n//\t\t\tSaveArtifactAttempt attempt = new SaveArtifactAttempt(item, bean.getSchema());\n//\t\t\tvalidateStructuredArtifact(attempt);\n//\n//\t\t\tIterator errorIt = attempt.getErrors().iterator();\n//\t\t\twhile(errorIt.hasNext())\n//\t\t\t{\n//\t\t\t\tValidationError error = (ValidationError) errorIt.next();\n//\t\t\t\talerts.add(error.getDefaultMessage());\n//\t\t\t}\n//\t\t}\n\n\t\tif(alerts.isEmpty())\n\t\t{\n\t\t\t// populate the property list\n\t\t\ttry\n\t\t\t{\n\t\t\t\t// get an edit\n\t\t\t\tContentCollectionEdit cedit = null;\n\t\t\t\tContentResourceEdit redit = null;\n\t\t\t\tGroupAwareEdit gedit = null;\n\t\t\t\tResourcePropertiesEdit pedit = null;\n\n\t\t\t\tif(item.isFolder())\n\t\t\t\t{\n\t\t\t\t\tcedit = ContentHostingService.editCollection(item.getId());\n\t\t\t\t\tgedit = cedit;\n\t\t\t\t\tpedit = cedit.getPropertiesEdit();\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tredit = ContentHostingService.editResource(item.getId());\n\t\t\t\t\tgedit = redit;\n\t\t\t\t\tpedit = redit.getPropertiesEdit();\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\tBoolean preventPublicDisplay = (Boolean) state.getAttribute(STATE_PREVENT_PUBLIC_DISPLAY);\n\t\t\t\t\tif(preventPublicDisplay == null)\n\t\t\t\t\t{\n\t\t\t\t\t\tpreventPublicDisplay = Boolean.FALSE;\n\t\t\t\t\t\tstate.setAttribute(STATE_PREVENT_PUBLIC_DISPLAY, preventPublicDisplay);\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tif(! preventPublicDisplay.booleanValue())\n\t\t\t\t\t{\n\t\t\t\t\t\tContentHostingService.setPubView(gedit.getId(), item.isPubview());\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tif(! AccessMode.GROUPED.toString().equals(item.getAccess()) && AccessMode.GROUPED == gedit.getAccess())\n\t\t\t\t\t{\n\t\t\t\t\t\tgedit.clearGroupAccess();\n\t\t\t\t\t}\n\t\t\t\t\telse if(AccessMode.GROUPED.toString().equals(item.getAccess()) && ! item.getEntityGroupRefs().isEmpty())\n\t\t\t\t\t{\n\t\t\t\t\t\tgedit.setGroupAccess(item.getEntityGroupRefs());\n\t\t\t\t\t}\n\t\t\t\t\telse\n\t\t\t\t\t{\n\t\t\t\t\t\tgedit.clearGroupAccess();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tcatch(InconsistentException e)\n\t\t\t\t{\n\t\t\t\t\t// TODO: Should this be reported to user??\n\t\t\t\t\tlogger.debug(\"ResourcesAction.doSavechanges ***** InconsistentException changing groups ***** \" + e.getMessage());\n\t\t\t\t}\n\t\t\t\t\t\t\t\t\n\t\t\t\tif(ContentHostingService.isAvailabilityEnabled())\n\t\t\t\t{\n\t\t\t\t\tTime releaseDate = null;\n\t\t\t\t\tTime retractDate = null;\n\t\t\t\t\t\n\t\t\t\t\tboolean hidden = item.isHidden();\n\t\t\t\t\t\n\t\t\t\t\tif(item.useReleaseDate())\n\t\t\t\t\t{\n\t\t\t\t\t\treleaseDate = item.getReleaseDate();\n\t\t\t\t\t}\n\t\t\t\t\tif(item.useRetractDate())\n\t\t\t\t\t{\n\t\t\t\t\t\tretractDate = item.getRetractDate();\n\t\t\t\t\t}\n\t\t\t\t\tgedit.setAvailability(hidden, releaseDate, retractDate);\n\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\tif(item.isFolder())\n\t\t\t\t{\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tif(item.isUrl())\n\t\t\t\t\t{\n\t\t\t\t\t\tredit.setContent(item.getFilename().getBytes());\n\t\t\t\t\t}\n\t\t\t\t\telse if(item.isStructuredArtifact())\n\t\t\t\t\t{\n\t\t\t\t\t\tredit.setContentType(item.getMimeType());\n\t\t\t\t\t\tredit.setContent(item.getContent());\n\t\t\t\t\t}\n\t\t\t\t\telse if(item.contentHasChanged())\n\t\t\t\t\t{\n\t\t\t\t\t\tredit.setContentType(item.getMimeType());\n\t\t\t\t\t\tredit.setContent(item.getContent());\n\t\t\t\t\t}\n\t\t\t\t\telse if(item.contentTypeHasChanged())\n\t\t\t\t\t{\n\t\t\t\t\t\tredit.setContentType(item.getMimeType());\n\t\t\t\t\t}\n\n\t\t\t\t\tBasicRightsAssignment rightsObj = item.getRights();\n\t\t\t\t\trightsObj.addResourceProperties(pedit);\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\tString copyright = StringUtil.trimToNull(params.getString (\"copyright\"));\n\t\t\t\t\tString newcopyright = StringUtil.trimToNull(params.getCleanString (NEW_COPYRIGHT));\n\t\t\t\t\tString copyrightAlert = StringUtil.trimToNull(params.getString(\"copyrightAlert\"));\n\t\t\t\t\tif (copyright != null)\n\t\t\t\t\t{\n\t\t\t\t\t\tif (state.getAttribute(COPYRIGHT_NEW_COPYRIGHT) != null && copyright.equals(state.getAttribute(COPYRIGHT_NEW_COPYRIGHT)))\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tif (newcopyright != null)\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tpedit.addProperty (ResourceProperties.PROP_COPYRIGHT, newcopyright);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\talerts.add(rb.getString(\"specifycp2\"));\n\t\t\t\t\t\t\t\t// addAlert(state, rb.getString(\"specifycp2\"));\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if (state.getAttribute(COPYRIGHT_SELF_COPYRIGHT) != null && copyright.equals (state.getAttribute(COPYRIGHT_SELF_COPYRIGHT)))\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tString mycopyright = (String) state.getAttribute (STATE_MY_COPYRIGHT);\n\t\t\t\t\t\t\tpedit.addProperty (ResourceProperties.PROP_COPYRIGHT, mycopyright);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tpedit.addProperty(ResourceProperties.PROP_COPYRIGHT_CHOICE, copyright);\n\t\t\t\t\t}\n\n\t\t\t\t\tif (copyrightAlert != null)\n\t\t\t\t\t{\n\t\t\t\t\t\tpedit.addProperty (ResourceProperties.PROP_COPYRIGHT_ALERT, copyrightAlert);\n\t\t\t\t\t}\n\t\t\t\t\telse\n\t\t\t\t\t{\n\t\t\t\t\t\tpedit.removeProperty (ResourceProperties.PROP_COPYRIGHT_ALERT);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tif (!(item.isFolder() && (item.getId().equals ((String) state.getAttribute (STATE_HOME_COLLECTION_ID)))))\n\t\t\t\t{\n\t\t\t\t\tpedit.addProperty (ResourceProperties.PROP_DISPLAY_NAME, item.getName());\n\t\t\t\t}\t// the home collection's title is not modificable\n\n\t\t\t\tpedit.addProperty (ResourceProperties.PROP_DESCRIPTION, item.getDescription());\n\t\t\t\t// deal with quota (collections only)\n\t\t\t\tif ((cedit != null) && item.canSetQuota())\n\t\t\t\t{\n\t\t\t\t\tif (item.hasQuota())\n\t\t\t\t\t{\n\t\t\t\t\t\t// set the quota\n\t\t\t\t\t\tpedit.addProperty(ResourceProperties.PROP_COLLECTION_BODY_QUOTA, item.getQuota());\n\t\t\t\t\t}\n\t\t\t\t\telse\n\t\t\t\t\t{\n\t\t\t\t\t\t// clear the quota\n\t\t\t\t\t\tpedit.removeProperty(ResourceProperties.PROP_COLLECTION_BODY_QUOTA);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tList metadataGroups = (List) state.getAttribute(STATE_METADATA_GROUPS);\n\n\t\t\t\tstate.setAttribute(STATE_EDIT_ALERTS, alerts);\n\t\t\t\tsaveMetadata(pedit, metadataGroups, item);\n\t\t\t\talerts = (Set) state.getAttribute(STATE_EDIT_ALERTS);\n\n\t\t\t\t// commit the change\n\t\t\t\tif (cedit != null)\n\t\t\t\t{\n\t\t\t\t\tContentHostingService.commitCollection(cedit);\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tContentHostingService.commitResource(redit, item.getNotification());\n\t\t\t\t}\n\n\t\t\t\tcurrent_stack_frame.put(STATE_STACK_EDIT_INTENT, INTENT_REVISE_FILE);\n\n\t\t\t\tBoolean preventPublicDisplay = (Boolean) state.getAttribute(STATE_PREVENT_PUBLIC_DISPLAY);\n\t\t\t\tif(preventPublicDisplay == null)\n\t\t\t\t{\n\t\t\t\t\tpreventPublicDisplay = Boolean.FALSE;\n\t\t\t\t\tstate.setAttribute(STATE_PREVENT_PUBLIC_DISPLAY, preventPublicDisplay);\n\t\t\t\t}\n\t\t\t}\n\t\t\tcatch (TypeException e)\n\t\t\t{\n\t\t\t\talerts.add(rb.getString(\"typeex\") + \" \" + item.getId());\n\t\t\t\t// addAlert(state,\" \" + rb.getString(\"typeex\") + \" \" + item.getId());\n\t\t\t}\n\t\t\tcatch (IdUnusedException e)\n\t\t\t{\n\t\t\t\talerts.add(RESOURCE_NOT_EXIST_STRING);\n\t\t\t\t// addAlert(state,RESOURCE_NOT_EXIST_STRING);\n\t\t\t}\n\t\t\tcatch (PermissionException e)\n\t\t\t{\n\t\t\t\talerts.add(rb.getString(\"notpermis10\") + \" \" + item.getId());\n\t\t\t\t// addAlert(state, rb.getString(\"notpermis10\") + \" \" + item.getId() + \". \" );\n\t\t\t}\n\t\t\tcatch (InUseException e)\n\t\t\t{\n\t\t\t\talerts.add(rb.getString(\"someone\") + \" \" + item.getId());\n\t\t\t\t// addAlert(state, rb.getString(\"someone\") + \" \" + item.getId() + \". \");\n\t\t\t}\n\t\t\tcatch (ServerOverloadException e)\n\t\t\t{\n\t\t\t\talerts.add(rb.getString(\"failed\"));\n\t\t\t}\n\t\t\tcatch (OverQuotaException e)\n\t\t\t{\n\t\t\t\talerts.add(rb.getString(\"changing1\") + \" \" + item.getId() + \" \" + rb.getString(\"changing2\"));\n\t\t\t\t// addAlert(state, rb.getString(\"changing1\") + \" \" + item.getId() + \" \" + rb.getString(\"changing2\"));\n\t\t\t}\n\t\t\tcatch(RuntimeException e)\n\t\t\t{\n\t\t\t\tlogger.debug(\"ResourcesAction.doSavechanges ***** Unknown Exception ***** \" + e.getMessage());\n\t\t\t\tlogger.debug(\"ResourcesAction.doSavechanges ***** Unknown Exception ***** \", e);\n\t\t\t\talerts.add(rb.getString(\"failed\"));\n\t\t\t}\n\t\t}\t// if - else\n\n\t\tif(alerts.isEmpty())\n\t\t{\n\t\t\t// modify properties sucessful\n\t\t\tString mode = (String) state.getAttribute(STATE_MODE);\n\t\t\tpopFromStack(state);\n\t\t\tresetCurrentMode(state);\n\t\t}\t//if-else\n\t\telse\n\t\t{\n\t\t\tIterator alertIt = alerts.iterator();\n\t\t\twhile(alertIt.hasNext())\n\t\t\t{\n\t\t\t\tString alert = (String) alertIt.next();\n\t\t\t\taddAlert(state, alert);\n\t\t\t}\n\t\t\talerts.clear();\n\t\t\tstate.setAttribute(STATE_EDIT_ALERTS, alerts);\n\t\t\t// state.setAttribute(STATE_CREATE_MISSING_ITEM, missing);\n\t\t}\n\n\t}", "@Test\n public void f8DisplayParametersTest() {\n clickOn(\"#assetTypeMenuBtn\").sleep(1000);\n\n //select first asset type\n Node node = lookup(\"#columnName\").nth(1).query();\n clickOn(node).sleep(1000);\n\n //go to model tab\n clickOn(scene.getRoot().lookup(\"#modelTab\")).sleep(1000);\n\n FlowPane models = (FlowPane) scene.getRoot().lookup(\"#modelsThumbPane\");\n VBox parameters = (VBox) scene.getRoot().lookup(\"#modelParameters\");\n\n int i;\n //Iterate through all the models and their parameters\n for (int j = 0; j < models.getChildren().size(); j++) {\n i = 0;\n clickOn(models.getChildren().get(j));\n\n if (j == 4) {\n scroll(90, VerticalDirection.UP);\n }\n\n while (i < parameters.getChildren().size()) {\n clickOn(parameters.getChildren().get(i++)).sleep(500);\n\n if (i == 10) {\n scroll(60, VerticalDirection.UP);\n }\n }\n }\n\n assertEquals(\"There should be 8 models\", 8, models.getChildren().size());\n assertNotNull(\"Parameters exist\", parameters);\n }", "@Override\n\tpublic HomeModel edit(IKeyBuilder<String> keyBuilder, HomeModel model) {\n\t\treturn null;\n\t}", "@FXML\n private void editSelected() {\n if (selectedAccount == null) {\n // Warn user if no account was selected.\n noAccountSelectedAlert(\"Edit DonorReceiver\");\n } else {\n EditPaneController.setAccount(selectedAccount);\n PageNav.loadNewPage(PageNav.EDIT);\n }\n }", "public void registerModification (int type) {\n final boolean forceUpdate = true;\r\n\r\n ConfigFile topFileConfig = (ConfigFile)getConfigs().get(ConfigGroup.TOP_MODEL_FILE);\r\n // In case of spurious events ignore them (possible?)\r\n if (!topFileConfig.isUserSpecified())\r\n return;\r\n\r\n // Update the run directory whenever the top file is updated\r\n ConfigFile runDirConfig = (ConfigFile)getConfigs().get(ConfigGroup.RUN_DIR);\r\n if (forceUpdate/* || !runDirConfig.isUserSpecified()*/)\r\n runDirConfig.setValue(topFileConfig.getValueFile().getParent(), true);\r\n runDir.updateValue();\r\n\r\n // Update the top level model name\r\n ConfigString topNameConfig = (ConfigString)getConfigs().get(ConfigGroup.TOP_MODEL_NAME);\r\n if (forceUpdate/* || !topNameConfig.isUserSpecified()*/)\r\n {\r\n String name = topFileConfig.getValueFile().getName();\r\n name = name.indexOf('.') > 0 ? name.substring(0, name.lastIndexOf('.')):name;\r\n topNameConfig.setValue(name, true);\r\n }\r\n topName.updateValue();\r\n\r\n // Ensure that the model path contains the run directory\r\n ConfigList modelPathConfig = (ConfigList)getConfigs().get(ConfigGroup.MODEL_PATH);\r\n if (!modelPathConfig.getValue().contains(runDirConfig.getValue()))\r\n {\r\n // The contract for setValue on collections is to append\r\n modelPathConfig.addValue(Collections.singletonList(runDirConfig.getValue()), modelPathConfig.isUserSpecified());\r\n }\r\n modelPath.updateValue();\r\n\r\n // Update the model parameters\r\n ConfigMap paramsConfig = (ConfigMap)getConfigs().get(ConfigGroup.TOP_MODEL_PARAMS);\r\n if (forceUpdate/* || !paramsConfig.isUserSpecified()*/)\r\n {\r\n String[] modelPathArr = (String[])modelPathConfig.getValue().toArray(new String[0]);\r\n try {\r\n List<TopModelParamParse.ModelParameter> params = TopModelParamParse.parseModel(topNameConfig.getValue(), modelPathArr);\r\n Map map = new HashMap();\r\n for (ModelParameter mp : params)\r\n map.put(mp.getName(), mp.getValue());\r\n paramsConfig.setValue(map, false);\r\n } catch (TopModelParamParse.ModelAnalysisException exc) {\r\n Logging.dbg().severe(\"Error loading top model \" + exc);\r\n }\r\n }\r\n modelParams.updateValue();\r\n }", "void applyChanges() {\n trainFunction.setAlias(txtAlias.getText());\n trainFunction.getConfiguration().setAddress(txtAddress.getValue());\n\n trainFunction.getConfiguration().setBit(selectBit.getSelected().orElse(null));\n }", "@FXML\n void handleEdit(ActionEvent event) {\n if (checkFields()) {\n\n try {\n //create a pseudo new environment with the changes but same id\n Environment newEnvironment = new Environment(oldEnvironment.getId(), editTxtName.getText(), editTxtDesc.getText(), editClrColor.getValue());\n\n //edit the oldenvironment\n Environment.edit(oldEnvironment, newEnvironment);\n } catch (SQLException exception) {\n //failed to save a environment, IO with database failed\n Manager.alertException(\n resources.getString(\"error\"),\n resources.getString(\"error.10\"),\n this.dialogStage,\n exception\n );\n }\n //close the stage\n dialogStage.close();\n } else {\n //fields are not filled valid\n Manager.alertWarning(\n resources.getString(\"add.invalid\"),\n resources.getString(\"add.invalid\"),\n resources.getString(\"add.invalid.content\"),\n this.dialogStage);\n }\n Bookmark.refreshBookmarksResultsProperty();\n }", "public void onFileEditButtonPressed(View v) {\n RobotConfigFile file = getFile(v);\n robotConfigFileManager.setActiveConfig(remoteConfigure, file);\n Intent intent = makeEditConfigIntent(FtcConfigurationActivity.class, file);\n startActivityForResult(intent, FtcConfigurationActivity.requestCode.value);\n }", "public void updateParametersSceneMode() {\n Stringifier stringifier = this.mCameraCapabilities.getStringifier();\n SettingsManager settingsManager = this.mActivity.getSettingsManager();\n this.mSceneMode = stringifier.sceneModeFromString(settingsManager.getString(this.mAppController.getCameraScope(), Keys.KEY_SCENE_MODE));\n if (Keys.isHdrOn(settingsManager) && !isCameraFrontFacing() && isHdrShow()) {\n if (this.mSceneMode != SceneMode.HDR) {\n this.mSceneMode = SceneMode.HDR;\n settingsManager.set(this.mAppController.getCameraScope(), Keys.KEY_SCENE_MODE, this.mCameraCapabilities.getStringifier().stringify(this.mSceneMode));\n }\n } else if (this.mSceneMode == SceneMode.HDR) {\n this.mSceneMode = SceneMode.AUTO;\n settingsManager.set(this.mAppController.getCameraScope(), Keys.KEY_SCENE_MODE, this.mCameraCapabilities.getStringifier().stringify(this.mSceneMode));\n }\n if (!this.mCameraCapabilities.supports(this.mSceneMode)) {\n this.mSceneMode = this.mCameraSettings.getCurrentSceneMode();\n if (this.mSceneMode == null) {\n this.mSceneMode = SceneMode.AUTO;\n }\n } else if (this.mCameraSettings.getCurrentSceneMode() != this.mSceneMode) {\n this.mCameraSettings.setSceneMode(this.mSceneMode);\n if (this.mCameraDevice != null) {\n this.mCameraDevice.applySettings(this.mCameraSettings);\n this.mCameraSettings = this.mCameraDevice.getSettings();\n }\n }\n this.mCameraSettings.setSceneMode(this.mSceneMode);\n updateParametersFlashMode();\n if (SceneMode.AUTO == this.mSceneMode) {\n updateParametersFocusMode();\n } else {\n this.mFocusManager.overrideFocusMode(this.mCameraSettings.getCurrentFocusMode());\n }\n }", "void exeHLPOK()\n\t{\n\t\tsuper.exeHLPOK();\n\t\ttry\n\t\t{\n\t\t\tif(M_strHLPFLD.equals(\"txtSFTCD\"))\n\t\t\t{\n\t\t\t\t StringTokenizer L_STRTKN=new StringTokenizer(cl_dat.M_strHELP_pbst,\"|\");\n\t\t\t\t txtSFTCD.setText(L_STRTKN.nextToken());\n\t\t\t\t txtSFTDS.setText(L_STRTKN.nextToken());\n\t\t\t\t txtSRLNO.setText(L_STRTKN.nextToken());\n\t\t\t\t txtSFTCD.setEnabled(false);\n\t\t\t\t txtSRLNO.requestFocus();\n\t\t\t}\n\t\t\telse if(M_strHLPFLD.equals(\"txtVENCD\"))\n\t\t\t{\n\t\t\t\t StringTokenizer L_STRTKN=new StringTokenizer(cl_dat.M_strHELP_pbst,\"|\");\n\t\t\t\t txtVENCD.setText(L_STRTKN.nextToken());\n\t\t\t\t tblLICDL.setValueAt(L_STRTKN.nextToken(),tblLICDL.getSelectedRow(),TB1_VENNM);\n\t\t\t\t\n\t\t\t}\n\t\t\t txtSFTCD.setEnabled(true);\n\t\t}\n\t\tcatch(Exception L_EX)\n\t\t{\n\t\t\tsetMSG(L_EX,\"exeHLPOK\"); \n\t\t}\n\t}", "public void editEnabled(boolean enabled){\n }", "public String loadMainEdit(){\r\n\t\treturn \"edit\";\r\n }", "public String edit() {\n return \"edit\";\n }", "public void change_bParam (double new_bParam) throws GUIEDTException {\n\t\tcat_bParam = new_bParam;\n\n\t\t// Notify the view\n\n\t\tgui_view.view_notify_changed_bParam();\n\t\treturn;\n\t}", "void gotoEditProfile();", "public void saveParameter(){\r\n \tif(editParameter != null){\r\n \t\tint id = editParameter.getId();\r\n \t\tif(id == 0){\r\n \t\t\tthis.getLog().info(\" addParameter()\");\r\n \t\t\talgorithmList.addNewAlgorithmParameterToDB(editParameter, getSelectedAlgorithm().getId());\r\n \t }else{\r\n \t\t\tthis.getLog().info(\" updateParameter(\" + id + \")\");\r\n \t\t\talgorithmList.updateAlgorithmParameterToDB(editParameter, getSelectedAlgorithm().getId());\r\n \t\t}\r\n \t\t\r\n \t\ttry {\r\n \t\t\tthis.getSelectedAlgorithm().setParameters(ConnectionFactory.createConnection().getAlgorithmParameterArray(getSelectedAlgorithm().getId()));\r\n\t\t\t} catch (DataStorageException e) {\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t}\r\n \t}\r\n }", "public void actionPerformed(ActionEvent e) {\r\n\t\tExParValue v = ExParValue.runtimeParameterValue(\"\\\"\"\r\n\t\t\t\t+ textField.getText() + \"\\\"\");\r\n\t\tif (v != null) {\r\n\t\t\texParValue.set(v);\r\n\t\t\tcontroller.parameterSet(exParName);\r\n\t\t\t// System.out.println(\"SingleParEntryPanel.actionPerformed() \" +\r\n\t\t\t// exParName + \"=\" + v);\r\n\t\t}\r\n\t}", "void setParameters() {\n\t\t\n\t}", "@Override\r\n public void EditMap() throws Exception {\r\n printInvalidCommandMessage();\r\n }", "public EditHighLevelProcessGui(HLModel process) {\n\t\thlProcessImpl = process;\n\t\thlProcess = process.getHLProcess();\n\t\tprocessGui = new HLProcessGui(process);\n\t\tjbInit();\n\t}", "public void editMenuItem() {\n\t\tviewMenu();\n\n\t\t// Clean arraylist so that you can neatly add data from saved file\n\t\tmm.clear();\n\t\t\n\t\tString menuEdit;\n\t\tint editC;\n\n\t\tSystem.out.println(\"Which one do you want to edit?\");\n\n\t\tString toChange;\n\t\tDouble changePrice;\n\t\tScanner menuE = new Scanner(System.in);\n\t\tmenuEdit = menuE.next();\n\n\t\ttry \n\t\t{\n\t\t\t// Get data contents from saved file\n\t\t\tFileInputStream fis = new FileInputStream(\"menuData\");\n ObjectInputStream ois = new ObjectInputStream(fis);\n \n mm = (ArrayList<AlacarteMenu>) ois.readObject();\n \n ois.close();\n fis.close();\n \n try {\n \tfor (int i = 0; i < mm.size(); i++) {\n \t\t\tif (mm.get(i).getMenuName().equals(menuEdit.toUpperCase())) {\n \t\t\t\tSystem.out.println(\n \t\t\t\t\t\t\"Edit Option \\n 1 : Menu Description \\n 2 : Menu Price \\n 3 : Menu Type \");\n \t\t\t\teditC = menuE.nextInt();\n\n \t\t\t\tif (editC == 1) {\n \t\t\t\t\tmenuE.nextLine();\n \t\t\t\t\tSystem.out.println(\"Change in Menu Description : \");\n \t\t\t\t\ttoChange = menuE.nextLine();\n \t\t\t\t\tmm.get(i).setMenuDesc(toChange);\n \t\t\t\t\tbreak;\n \t\t\t\t}\n \t\t\t\telse if (editC == 2) {\n \t\t\t\t\tSystem.out.println(\"Change in Menu Price : \");\n \t\t\t\t\tchangePrice = menuE.nextDouble();\n \t\t\t\t\tmm.get(i).setMenuPrice(changePrice);\n \t\t\t\t\tbreak;\n \t\t\t\t} \n \t\t\t\telse if (editC == 3) {\n \t\t\t\t\tSystem.out.println(\"Change in Menu Type : \\n1 : Appetizers \\n2 : Main \\n3 : Sides \\n4 : Drinks\");\n \t\t\t\t\tchangePrice = menuE.nextDouble();\n \t\t\t\t\tif (changePrice == 1) {\n \t\t\t\t\t\tmm.get(i).setMenuType(\"Appetizers\");\n \t\t\t\t\t\tbreak;\n \t\t\t\t\t}\n \t\t\t\t\telse if (changePrice == 2) {\n \t\t\t\t\t\tmm.get(i).setMenuType(\"Main\");\n \t\t\t\t\t\tbreak;\n \t\t\t\t\t}\n \t\t\t\t\telse if (changePrice == 3) {\n \t\t\t\t\t\tmm.get(i).setMenuType(\"Sides\");\n \t\t\t\t\t\tbreak;\n \t\t\t\t\t} \n \t\t\t\t\telse if (changePrice == 4) {\n \t\t\t\t\t\tmm.get(i).setMenuType(\"Drinks\");\n \t\t\t\t\t\tbreak;\n \t\t\t\t\t}\n \t\t\t\t}\n \t\t\t}\n \t\t}\n \t\n \tFileOutputStream fos = new FileOutputStream(\"menuData\");\n\t\t\t\tObjectOutputStream oos = new ObjectOutputStream(fos);\n\t\t\t\toos.writeObject(mm);\n\t\t\t\toos.close();\n\t\t\t\tfos.close();\n }\n catch (IOException e) {\n \t\t\tSystem.out.println(\"Error editing menu item!\");\n \t\t\treturn;\n \t\t}\n ois.close();\n fis.close();\n\t\t} \n\t\tcatch (IOException e) {\n\t\t\t//System.out.println(\"No menu items found!\");\n\t\t\tSystem.out.format(\"+------------+---------------------------------------+-------+--------------+%n\");\n\t\t\tSystem.out.format(\"| Menu ID | Description | Price | Type |%n\");\n\t\t\tSystem.out.format(\"+------------+---------------------------------------+-------+--------------+%n\");\n\t\t\treturn;\n\t\t}\n\t\tcatch (ClassNotFoundException c) {\n\t\t\tc.printStackTrace();\n\t\t\treturn;\n\t\t}\n\t}", "public AnnotateMotifsDialog(MotifLabGUI gui) {\n super(gui.getFrame(), true);\n setTitle(\"Update Motif Properties\");\n this.gui=gui;\n initComponents();\n \n // fix accelerators\n javax.swing.ActionMap actionMap = org.jdesktop.application.Application.getInstance(motiflab.gui.MotifLabApp.class).getContext().getActionMap(AnnotateMotifsDialog.class, this);\n javax.swing.Action ac=actionMap.get(\"promptUseNewValue\"); \n promptUseNewValueButton.getActionMap().put(\"promptUseNewValue\", ac);\n promptUseNewValueButton.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).put(KeyStroke.getKeyStroke('n'), \"promptUseNewValue\"); \n ac=actionMap.get(\"promptKeepOldValue\"); \n promptKeepCurrentValueButton.getActionMap().put(\"promptKeepOldValue\", ac);\n promptKeepCurrentValueButton.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).put(KeyStroke.getKeyStroke('c'), \"promptKeepOldValue\"); \n ac=actionMap.get(\"promptMergeOrReplaceCurrent\"); \n promptMergeOrUseNewButton.getActionMap().put(\"promptMergeOrReplaceCurrent\", ac);\n promptMergeOrUseNewButton.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).put(KeyStroke.getKeyStroke('m'), \"promptMergeOrReplaceCurrent\"); \n ac=actionMap.get(\"promptMergeOrKeepCurrent\"); \n promptMergeOrKeepCurrentButton.getActionMap().put(\"promptMergeOrKeepCurrent\", ac);\n promptMergeOrKeepCurrentButton.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).put(KeyStroke.getKeyStroke('k'), \"promptMergeOrKeepCurrent\"); \n \n String[] userdefined=Motif.getAllUserDefinedProperties(gui.getEngine());\n String[] standard=Motif.getAllStandardProperties(false);\n String[] knownproperties=new String[standard.length+userdefined.length];\n System.arraycopy(standard, 0, knownproperties, 0, standard.length); // leave first position blank\n System.arraycopy(userdefined, 0, knownproperties, standard.length, userdefined.length);\n Arrays.sort(knownproperties); \n DefaultComboBoxModel propertyModel=new DefaultComboBoxModel(knownproperties);\n DefaultComboBoxModel combineStrategyModel=new DefaultComboBoxModel(new String[]{MERGE_OR_REPLACE_CURRENT,MERGE_OR_KEEP_CURRENT,REPLACE_CURRENT, INTERACTIVE_MODE});\n propertyCombobox.setModel(propertyModel);\n propertyCombobox.setEditable(true);\n propertyCombobox.setSelectedItem(standard[0]);\n combineStrategyCombobox.setModel(combineStrategyModel);\n ArrayList<DataFormat> dataformats=gui.getEngine().getDataInputFormats(MotifCollection.class);\n loadFromFilePanel=new LoadFromFilePanel(dataformats,gui,MotifCollection.class);\n importCollectionTab.add(loadFromFilePanel,BorderLayout.CENTER);\n pack();\n contextmenu=new ParseListContextMenu();\n parseListTextArea.addMouseListener(new MouseAdapter(){\n @Override\n public void mousePressed(MouseEvent e) {\n if (e.isPopupTrigger()) contextmenu.show(e.getComponent(),e.getX(),e.getY());\n }\n @Override\n public void mouseReleased(MouseEvent e) {\n if (e.isPopupTrigger()) contextmenu.show(e.getComponent(),e.getX(),e.getY());\n }\n });\n parseListTextArea.requestFocusInWindow();\n }", "void updateModel() {\n updateModel(false);\n }", "public void edit() {\n\t\tSystem.out.println(\"编写java笔记\");\r\n\t}", "public void onClickEditModules(View view)\r\n {\r\n Intent intent = new Intent(this, EditPathwaySelection.class);\r\n startActivity(intent);\r\n }", "private void setToEdit(String input){\n ToEdit = input;\n }", "public static void update(Resource resource){\n String newUpdate;\n String display = \"What would you like to update?\"+\n \"[1] Type: \" + resource.getType() + \"\\n\" +\n \"[2] Title: \" + resource.getName() + \"\\n\" +\n \"[3] Genre: \" + resource.getGenre() + \"\\n\" +\n \"[4] Author: \" + resource.getAuthor() + \"\\n\" +\n \"[5] Year: \" + resource.getYear() + \"\\n\" +\n \"[0] Exit\";\n\n int edit = getIntInput(display, 0,5);\n\n switch(edit){\n case 1:\n newUpdate = edit(\"type\", resource.getType());\n resource.setType(newUpdate);\n break;\n case 2:\n newUpdate = edit(\"title\", resource.getName());\n resource.setName(newUpdate);\n break;\n case 3:\n newUpdate = edit(\"genre\", resource.getGenre());\n resource.setGenre(newUpdate);\n break;\n case 4:\n newUpdate = edit(\"author\", resource.getAuthor());\n resource.setAuthor(newUpdate);\n break;\n case 5:\n newUpdate = edit(\"year\", resource.getYear());\n resource.setYear(newUpdate);\n break;\n case 0:\n break;\n default:\n JOptionPane.showMessageDialog(null, \"should not reach here\");\n }\n }", "@Override\n public void setFocusParameters() {\n setCameraParameters(UPDATE_PARAM_PREFERENCE);\n }", "public edit() {\n initComponents();\n }", "protected abstract void editItem();", "public void EditandSavelist(String Editlistname){\r\n\t\tString editlist = getValue(Editlistname);\r\n\r\n\r\n\r\n\t\tclass Local {};\r\n\t\tReporter.log(\"TestStepComponent\"+Local.class.getEnclosingMethod().getName());\r\n\t\tReporter.log(\"TestStepInput:-\"+\"NA\");\r\n\t\tReporter.log(\"TestStepOutput:-\"+\"NA\");\r\n\t\tReporter.log(\"TestStepExpectedResult:- Link should be edited and saved\");\r\n\t\ttry{\r\n\r\n\t\t\twaitForElement(locator_split(\"lnkeditlist\"));\r\n\t\t\tclick(locator_split(\"lnkeditlist\")); \r\n\r\n\t\t\tsleep(1000);\r\n\t\t\twaitForElement(locator_split(\"txtlistname\"));\r\n\t\t\tsendKeys(locator_split(\"txtlistname\"), editlist);\r\n\r\n\r\n\t\t\twaitForElement(locator_split(\"clksavelist\"));\r\n\t\t\tclick(locator_split(\"clksavelist\")); \r\n\r\n\r\n\t\t\tReporter.log(\"PASS_MESSAGE:- Link is edited and saved\");\r\n\t\t}\r\n\t\tcatch(Exception e){\r\n\t\t\tReporter.log(\"FAIL_MESSAGE:- Favorities is not clicked \"+elementProperties.getProperty(\"lnkFavorities\"));\r\n\t\t\tthrow new NoSuchElementException(\"The element with \"\r\n\t\t\t\t\t+ elementProperties.getProperty(\"lnkFavorities\").toString().replace(\"By.\", \" \")\r\n\t\t\t\t\t+ \" not found\");\r\n\t\t}\t\r\n\r\n\r\n\t}", "ApiResponse editState(ID id, Kiruvchi kiruvchi);", "public static void main(String[] args) {\n//\n// controller.setSoldierRank(0, \"Turai\");\n// controller.addModel(new Model(2, \"Lera\", \"RavSamal\"));\n// controller.updateViews();\n\n Controller controller = new Controller();\n controller.addModel(new Model(1, \"Gal\", \"Citizen\"));\n controller.addModel(new Model(12121, \"bubu\", \"Smar\"));\n controller.addModel(new Model(624, \"Groot\", \"Tree\"));\n controller.addModel(new Model(-10, \"Deadpool\", \"Awesome\"));\n controller.addModel(new Model(100, \"Nikita\", \"Citizen\"));\n\n controller.presentUI();\n\n controller.updateViews();\n }", "protected JSLFrame editPatch(Patch p) {\n ErrorMsg.reportError(\"Error\", \"The Driver for this patch does not support Patch Editing.\");\n return null;\n }", "public void editaLivro(Livro livro) {\n itemLivroDAOBD.editarLivro(livro);\n }", "public void editAss() throws IOException {\r\n\t\tif (listview.getSelectionModel().getSelectedItem() != null) {\r\n\t\t\tassToChoose = listview.getSelectionModel().getSelectedItem();\r\n\t\t\tfor (int i = 0; i < b.size(); i++) {\r\n\t\t\t\tif (b.get(i).getAssname().equals(assToChoose)) {\r\n\t\t\t\t\tassId = b.get(i).getAssId();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tconnectionmain.showTeacherEditAssGUI();\r\n\t\t}\r\n\t}", "public void load(JFrame anAppFrame)\n {\n if (TRACE)\n System.out.println(\"DataGenModel: load options file\");\n\n // get file for model update\n String inputFn = getInputFilename(anAppFrame);\n if (inputFn.length() == 0)\n return;\n\n // do model update\n if (readData(inputFn) == false)\n {\n JOptionPane.showMessageDialog(\n anAppFrame,\n \"Error opening selected options file.\",\n \"Notice\",\n JOptionPane.INFORMATION_MESSAGE,\n null);\n }\n }", "@Override\n\tpublic void updateParameter(String parameterLabel, double newValue) {\n\t\tif (parameterLabel.equals(PROBCATCH_PARAMETER_LABEL_GUI)) {\n\t\t\tprobCatch = newValue;\n\t\t}\n\n\t}", "public void chooseMenuOption(Number[] options) {\r\n for (int i = 0; i < options.length; i++) {\r\n switch (options[i].intValue()) {\r\n case 0:\r\n //returns the entered from console Number array corresponding to specific input colour\r\n Number[] numbers = chooseParameters(INTEGER_DELIMITERS, View.INPUT_COLOUR, true);\r\n //if there are any values corresponding to the ordinal of Colour enum,\r\n // the predicate chaining is passed to the model\r\n model.setFilterPredicate(s -> findNumberInArray(numbers, s.getColour().ordinal()));\r\n break;\r\n case 1:\r\n numbers = chooseParameters(INTEGER_DELIMITERS, View.MATERIAL_RANGE, true);\r\n model.setFilterPredicate(s -> findNumberInArray(numbers, s.getMaterial().ordinal()));\r\n break;\r\n case 2:\r\n numbers = chooseParameters(INTEGER_DELIMITERS, View.CUT_RANGE, true);\r\n model.setFilterPredicate(s -> findNumberInArray(numbers, s.getCut().ordinal()));\r\n break;\r\n case 3:\r\n numbers = chooseParameters(DOUBLE_DELIMITERS, View.WEIGHT_RANGE, false);\r\n model.setFilterPredicate(s -> findNumberInArray(numbers, s.getWeight()));\r\n break;\r\n case 4:\r\n numbers = chooseParameters(INTEGER_DELIMITERS, View.CLARITY_RANGE, true);\r\n model.setTranspFilterPredicate(s -> findNumberInArray(numbers, s.getClarity()));\r\n break;\r\n case 5:\r\n view.printMessage(View.BREAK);\r\n return;\r\n }\r\n }\r\n model.build();\r\n view.printMessage(View.SELECTED_GEMS + model.getChain() +\r\n View.NECKLACE_WEIGHT + model.calculateWeight() +\r\n View.NECKLACE_PRICE + model.calculatePrice());\r\n model.sortGems();\r\n view.printMessage(View.SORT_ON_PRICE + model.getChain());\r\n\r\n }", "public void openModel() {\r\n \t\tisReleased = true;\r\n \t\tif (checkForSave(\"<html>Save changes before opening a saved model?</html>\")) {\r\n \t\t\treturn;\r\n \t\t}\r\n \t\tif(animationHolder != null ) {\r\n \t\t\tanimationHolder.stop();\r\n \t\t}\r\n \t\tJMODELModel tmpmodel = new JMODELModel();\r\n \t\tint state = modelLoader.loadModel(tmpmodel, mainWindow);\r\n \t\tif (state == ModelLoader.SUCCESS || state == ModelLoader.WARNING) {\r\n \t\t\tresetMouseState();\r\n \t\t\t// Avoid checkForSave again...\r\n \t\t\tif (model != null) {\r\n \t\t\t\tmodel.resetSaveState();\r\n \t\t\t}\r\n \t\t\tnewModel();\r\n \t\t\t// At this point loading was successful, so substitutes old model\r\n \t\t\t// with loaded one\r\n \t\t\tmodel = tmpmodel;\r\n \t\t\tthis.populateGraph();\r\n \t\t\tsetSelect.setEnabled(true);\r\n \t\t\tcomponentBar.clickButton(setSelect);\r\n \t\t\topenedArchive = modelLoader.getSelectedFile();\r\n \t\t\tmainWindow.updateTitle(openedArchive.getName());\r\n \t\t\t// Removes selection\r\n \t\t\tgraph.clearSelection();\r\n \t\t\t// If model contains results, enable Results Window\r\n \t\t\tif (model.containsSimulationResults()) {\r\n \t\t\t\tif (model.isParametricAnalysisEnabled()) {\r\n \t\t\t\t\tthis.setResultsWindow(new PAResultsWindow(model.getParametricAnalysisModel(), (PAResultsModel) model.getSimulationResults()));\r\n \t\t\t\t\tshowResults.setEnabled(true);\r\n \t\t\t\t} else {\r\n \t\t\t\t\tthis.setResultsWindow(new ResultsWindow(model.getSimulationResults()));\r\n \t\t\t\t\tshowResults.setEnabled(true);\r\n \t\t\t\t}\r\n \t\t\t}\r\n \t\t\tmodel.resetSaveState();\r\n \t\t\tSystem.gc();\r\n \t\t} else if (state == ModelLoader.FAILURE) {\r\n \t\t\tshowErrorMessage(modelLoader.getFailureMotivation());\r\n \t\t}\r\n \t\t// Shows warnings if any\r\n \t\tif (state == ModelLoader.WARNING) {\r\n \t\t\tnew WarningWindow(modelLoader.getLastWarnings(), mainWindow, modelLoader.getInputFileFormat(), CommonConstants.JSIM).show();\r\n \t\t}\r\n \r\n \t}", "private void editSaslRealmsAction()\n {\n String selectedSaslRealms = getSelectedSaslRealms();\n\n if ( selectedSaslRealms != null )\n {\n InputDialog dialog = new InputDialog( editSaslRealmsButton.getShell(),\n Messages.getString( \"LdapLdapsServersPage.Edit\" ), //$NON-NLS-1$\n Messages.getString( \"LdapLdapsServersPage.SaslRealms\" ), //$NON-NLS-1$\n selectedSaslRealms, null );\n\n if ( dialog.open() == InputDialog.OK )\n {\n String newSaslRealms = dialog.getValue();\n\n getLdapServerBean().getLdapServerSaslRealms().remove( selectedSaslRealms );\n getLdapServerBean().addSaslRealms( newSaslRealms );\n\n saslRealmsTableViewer.refresh();\n saslRealmsTableViewer.setSelection( new StructuredSelection( newSaslRealms ) );\n\n setEditorDirty();\n }\n }\n }", "void actionEdit(int position);", "private void editScriptButtonActionPerformed() {\n // DEBUG CODE load the test script script\n String script = \"\";\n\n try {\n script = ScriptsDAO.getTextForBuiltInScript(\"utils/aspace/\", \"mapper.bsh\");\n } catch (Exception e) {\n e.printStackTrace();\n }\n\n // if we running in standalone mode in pre update 15\n if (mainFrame == null || mainFrame.getAtVersionNumber().contains(\"15\") || mainFrame.getAtVersionNumber().contains(\"16\")) {\n if (cvd == null) {\n cvd = new CodeViewerDialog(this, SyntaxConstants.SYNTAX_STYLE_JAVA, script, true, false);\n }\n\n cvd.setTitle(\"Mapper Script Editor\");\n cvd.pack();\n cvd.setVisible(true);\n } else {\n // check to see if we have a viewer dialog, if not initialize one\n if (svd == null) {\n svd = new ScriptViewerDialog(this, \"Mapper Script Editor\");\n }\n\n svd.setCurrentScript(script);\n svd.pack();\n svd.setVisible(true);\n }\n }", "public void editPrioritaet(int prioID, String bezeichnung) throws Exception;", "@GetMapping(\"/edit\")\r\n public String editView() {\r\n return \"modify\";\r\n }", "void editAssetValue(int newVal);", "@Override\n\tpublic void setParameterWidgetReadOnly(boolean isEditable){\n\t\t\n\t\tgetParameterNameTxtArea().setEnabled(isEditable);\n\t\tgetParameterAceEditor().setReadOnly(!isEditable);\n\t\tSystem.out.println(\"in setParameterWidgetReadOnly: setting Ace Editor read only flag. read only = \" + !isEditable);\n\t\tgetParameterButtonBar().getSaveButton().setEnabled(isEditable);\n\t\tgetParameterButtonBar().getDeleteButton().setEnabled(isEditable);\n\t\tgetParameterButtonBar().getInsertButton().setEnabled(isEditable);\n\t}" ]
[ "0.65231013", "0.64729995", "0.6465983", "0.6109104", "0.6094989", "0.6080432", "0.58622915", "0.57998997", "0.57893103", "0.5786668", "0.5777713", "0.57704693", "0.57174134", "0.5716992", "0.5642707", "0.5629132", "0.56216246", "0.5585655", "0.54530966", "0.5435318", "0.5426705", "0.54112166", "0.5404701", "0.53962564", "0.5390634", "0.53830963", "0.53830814", "0.5380821", "0.53806293", "0.5378", "0.53702223", "0.5366821", "0.5361958", "0.53555095", "0.53471035", "0.53458756", "0.5344243", "0.53265464", "0.5307679", "0.5306033", "0.5300987", "0.52929705", "0.52914894", "0.5265538", "0.5261057", "0.5259699", "0.5248316", "0.52404696", "0.5240278", "0.52383333", "0.52376544", "0.5232497", "0.52270955", "0.5225099", "0.5224643", "0.52047575", "0.51975626", "0.5195719", "0.5193955", "0.519124", "0.5190846", "0.5181077", "0.5174631", "0.51716995", "0.5158604", "0.5158291", "0.51567835", "0.5150787", "0.5149698", "0.51357216", "0.51282614", "0.5121244", "0.5120416", "0.51193213", "0.51148725", "0.5113833", "0.51131546", "0.51116544", "0.5111367", "0.51112765", "0.5108168", "0.51077986", "0.5105239", "0.50958866", "0.5093692", "0.5092467", "0.50922436", "0.508257", "0.50806075", "0.5079908", "0.5074998", "0.5068222", "0.5063837", "0.50614834", "0.5058258", "0.50483507", "0.5046855", "0.50353897", "0.5031843", "0.5028698" ]
0.61387753
3
/ F10 The system shall display a selected RUL model performance (RMSE).
@Test public void f10ModelPerformanceTest() { clickOn("#assetTypeMenuBtn").sleep(1000); //select first asset type Node node = lookup("#columnName").nth(1).query(); clickOn(node).sleep(1000); //go to model tab clickOn(scene.getRoot().lookup("#modelTab")).sleep(1000); //Modify sliders Slider trainSlider = (Slider) scene.getRoot().lookup("#trainSlider"); clickOn(trainSlider); type(KeyCode.TAB).type(KeyCode.RIGHT); type(KeyCode.TAB).type(KeyCode.RIGHT); moveBy(0, 10).clickOn().sleep(500).moveBy(0, 100).scroll(80, VerticalDirection.UP); FlowPane models = (FlowPane) scene.getRoot().lookup("#modelsThumbPane"); Pane additiveRegModel = (Pane) models.getChildren().get(5); Button evalButton = (Button) additiveRegModel.getChildren().get(additiveRegModel.getChildren().size() - 1); Text rmse = (Text) additiveRegModel.getChildren().get(additiveRegModel.getChildren().size() - 2); clickOn(rmse).sleep(3000); String oldRmseVal = rmse.getText(); int i = 0; clickOn(evalButton); //incrementally check for 30 seconds to see if rmse has been updated do { if (rmse.getText().equals(oldRmseVal)) { sleep(2000); } else { break; } } while (++i < 15); clickOn(rmse).sleep(3000); assertNotNull("Evaluate button exists", evalButton); assertNotNull("RMSE exists", rmse); assertFalse("Assert current RMSE is different than old RMSE", rmse.getText().equals(oldRmseVal)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void modelShow() {\n\t\tSystem.out.println(\"秀衣服\");\n\t}", "public MVSR() {\n clg = \"MVSR\";\n cmax = 10000;\n mmax = 12000;\n eemax = 13033;\n emax = 18520;\n imax = 20204;\n }", "private static void showSpr(MicroBlazeProcessor mb) {\r\n SpecialPurposeRegisters spr = mb.getSpecialRegisters();\r\n //System.out.println(\"Special Register Values:\");\r\n console.print(\"Special Register Values:\");\r\n for (SpecialRegister reg : SpecialRegister.values()) {\r\n int value = spr.read(reg);\r\n String stringValue;\r\n switch(reg) {\r\n case rmsr:\r\n stringValue = Integer.toBinaryString(value);\r\n stringValue = BitOperations.padBinaryString(stringValue, 32);\r\n //System.out.println(reg.name() + \":\" + stringValue);\r\n console.print(reg.name() + \":\" + stringValue);\r\n break;\r\n case resr:\r\n stringValue = Integer.toBinaryString(value);\r\n stringValue = BitOperations.padBinaryString(stringValue, 32);\r\n //System.out.println(reg.name() + \":\" + stringValue);\r\n console.print(reg.name() + \":\" + stringValue);\r\n break;\r\n case rpc:\r\n stringValue = Integer.toHexString(value);\r\n stringValue = BitOperations.padHexString(stringValue, 8);\r\n //System.out.println(reg.name() + \":\" + stringValue);\r\n console.print(reg.name() + \":\" + stringValue);\r\n break;\r\n default:\r\n //System.out.println(reg.name() + \":\" + value);\r\n console.print(reg.name() + \":\" + value);\r\n break;\r\n\r\n }\r\n \r\n }\r\n }", "public final void report() {\n double err = classError();\n assert _valid : \"Trying to report status of invalid CM!\";\n\n SpeeDRFModel model = UKV.get(_SpeeDRFModelKey);\n String s =\n \" Type of random forest: classification\\n\"\n + \" Number of trees: \" + model.size() + \"\\n\"\n + \"No of variables tried at each split: \" + model.mtry + \"\\n\"\n + \" Estimate of err. rate: \" + Math.round(err * 10000) / 100 + \"% (\" + err + \")\\n\"\n + \" OOBEE: \" + (_computedOOB ? \"YES (sampling rate: \"+model.sample*100+\"%)\" : \"NO\")+ \"\\n\"\n + \" Confusion matrix:\\n\"\n + toString() + \"\\n\"\n + \" CM domain: \" + Arrays.toString(_domain) + \"\\n\"\n + \" Avg tree depth (min, max): \" + model.depth() + \"\\n\"\n + \" Avg tree leaves (min, max): \" + model.leaves() + \"\\n\"\n + \" Validated on (rows): \" + rows() + \"\\n\"\n + \" Rows skipped during validation: \" + skippedRows() + \"\\n\"\n + \" Mispredictions per tree (in rows): \" + Arrays.toString(_errorsPerTree)+\"\\n\";\n Log.info(Sys.RANDF,s);\n }", "public String getDisplayName() {\n return \"Test website performance using Rigor Optimization\";\n }", "public static void displaySingleModel(String model) {\n\t\tSystem.out.println(model);\n\t}", "public double GetStandardDev();", "public String display(){\r\n\t\tif(this.AWD==true){\r\n\t\t\treturn super.display()+\" \"+model+\" \"+this.price+\"$ SF: \"+this.safetyRating+\" RNG: \" +this.maxRange+\" AWD\";\r\n\t\t}\r\n\t\telse{\r\n\t\t\treturn super.display()+\" \"+model+\" \"+this.price+\"$ SF: \"+this.safetyRating+\" RNG: \" +this.maxRange+\" 2WD\";\r\n\t\t}\r\n \r\n\t}", "private void displayRent(){\r\n\r\n System.out.println(\"To rent:\");\r\n for(HardwareDevice devices: hardwares){\r\n\r\n devices.displayDescription();\r\n }\r\n }", "private void showrecordthroughmodel()\n {\n if(treatmentRequestModel != null)\n {\n tv_right_hand_dia.setText(\"\" + treatmentRequestModel.getSYSBeforeRight());\n tv_right_hand_sys.setText(\"\" + treatmentRequestModel.getDIABeforeRight());\n tv_right_hand_pulse.setText(\"\" + treatmentRequestModel.getPulseBeforeRight());\n\n tv_left_hand_dia.setText(\"\" + treatmentRequestModel.getDIABeforeLeft());\n tv_left_hand_sys.setText(\"\" + treatmentRequestModel.getSYSBeforeLeft());\n tv_left_hand_pulse.setText(\"\" + treatmentRequestModel.getPulseBeforeLeft());\n }\n\n }", "public void displayResults() {\r\n Preferences.debug(\" ******* FitMultiExponential ********* \\n\\n\", Preferences.DEBUG_ALGORITHM);\r\n dumpTestResults();\r\n }", "public static void main( String args[] )\n {\n double Ei = 500;\n double EPS = 10;\n double phi = 60;\n float mutS = 0.1f;\n float mutA = 0.2f;\n float gamma = 45;\n double energy = Ei - EPS;\n\n double self = SelfShielding( energy, Ei, phi, mutS, mutA, gamma );\n System.out.println( \"self shielding factor = \" + self );\n // result should be: 1.1944503488285683\n\n String filename = \"/usr2/HRCS_TEST/hrcs3084.run\";\n RunfileRetriever rr = new RunfileRetriever( filename );\n DataSet ds = rr.getDataSet(1);\n Operator ToEL = new SpectrometerTofToEnergyLoss( ds, 0, 0, 0 );\n ds = (DataSet)ToEL.getResult();\n new ViewManager( ds, IViewManager.IMAGE );\n\n Vector result = SelfShielding( ds, mutS, mutA, gamma, true );\n\n DataSet ss_ds_1 = (DataSet)result.elementAt(0); \n new ViewManager( ss_ds_1, IViewManager.IMAGE );\n\n DataSet ss_ds_2 = (DataSet)result.elementAt(1); \n new ViewManager( ss_ds_2, IViewManager.IMAGE );\n }", "public static void main(String[] args) {\n\t\tdouble richter;\n\t\tScanner in = new Scanner(System.in);\n\t\tSystem.out.println(\"What is the richter Scale value?\");\n\t\trichter = in.nextDouble();\n\t\t\n\t\tif (richter >= 8.0)\n\t\t\tSystem.out.println(\"Most structures will fall.\");\n\t\t\n\t\telse if(richter >= 7.0)\n\t\t\tSystem.out.println(\"Many buildings destroyed.\");\n\t\t\n\t\telse if (richter >= 6.0)\n\t\t\tSystem.out.println(\"Many buildings considerably damaged, some collapse.\");\n\t\t\n\t\telse if (richter >= 4.5)\n\t\t\tSystem.out.println(\"Damage to poorly constructed buildings.\");\n\t\t\n\t\telse \n\t\t\tSystem.out.println(\"No damage occurs\");\n\t\t\n\t\t\n\t\t\n\t\t\n\t}", "public void visitMSR( DevCat devCat ) {}", "public static void display() { System.err.println(\"Train parameters: smooth=\" + smoothing + \" PA=\" + PA + \" GPA=\" + gPA + \" selSplit=\" + selectiveSplit + \" (\" + selectiveSplitCutOff + (deleteSplitters != null ? \"; deleting \" + deleteSplitters : \"\") + \")\" + \" mUnary=\" + markUnary + \" mUnaryTags=\" + markUnaryTags + \" sPPT=\" + splitPrePreT + \" tagPA=\" + tagPA + \" tagSelSplit=\" + tagSelectiveSplit + \" (\" + tagSelectiveSplitCutOff + \")\" + \" rightRec=\" + rightRec + \" leftRec=\" + leftRec + \" xOverX=\" + xOverX + \" collinsPunc=\" + collinsPunc + \" markov=\" + markovFactor + \" mOrd=\" + markovOrder + \" hSelSplit=\" + hSelSplit + \" (\" + HSEL_CUT + \")\" + \" compactGrammar=\" + compactGrammar() + \" leaveItAll=\" + leaveItAll + \" postPA=\" + postPA + \" postGPA=\" + postGPA + \" selPSplit=\" + selectivePostSplit + \" (\" + selectivePostSplitCutOff + \")\" + \" tagSelPSplit=\" + tagSelectivePostSplit + \" (\" + tagSelectivePostSplitCutOff + \")\" + \" postSplitWithBase=\" + postSplitWithBaseCategory + \" fractionBeforeUnseenCounting=\" + fractionBeforeUnseenCounting + \" openClassTypesThreshold=\" + openClassTypesThreshold); }", "@Override\n public String getToolDescription() {\n \treturn \"Preforms a stochastic analysis of depressions within a DEM\";\n }", "public void print() {\n\t\tSystem.out.println(\"[System] 펫 정보입니다.\\n 이름 : \"+TMGCSYS.tmgcName+\", 레벨 : \"+TMGCSYS.tmgcLV+\", 경험치 : \"+TMGCSYS.tmgcEXP+\"/\"+(100*TMGCSYS.tmgcLV)+\", 체력 : \"+TMGCSYS.tmgcHP+\", 스트레스 : \"+TMGCSYS.tmgcStress);\r\n\t}", "protected void redisplay() {\n\t\tdisplay.setText(\"\" + calc.getDisplayValue());\n\t}", "public void displayModelDetails() {\n System.out.println(\"Name: \" + getFirstName() + \" \" + getLastName());\n System.out.println(\"Height: \" + getHeightInFeetAndInches());\n System.out.println(\"Weight: \" + getWeight() + \" pounds\");\n String travelMessage = canTravel ? \"yep\" : \"nope\";\n System.out.println(\"Travels: \" + travelMessage);\n String smokeMessage = smokes ? \"yep\" : \"nope\";\n System.out.println(\"Smokes\" + smokeMessage);\n System.out.println(\"Hourly rate: $\" + calculatePayDollarsPerHour());\n }", "void showRealSenseCongratulations() {\n\t\tshowInput3DCongratulations(\n\t\t\t\tgetLocalization().getMenu(\"RealSense.DetectedMessage\"),\n\t\t\t\tREALSENSE_TUTORIAL);\n\t}", "public void print_dev() {\n\t\tSystem.out.println(\r\n\t\t\t\t\t\t\t\t\t\"[System] 펫 정보입니다.\\n 이름 : \"+TMGCSYS.tmgcName\r\n\t\t\t\t\t\t\t\t+\t\", 레벨 : \"+TMGCSYS.tmgcLV+\", 경험치 : \"+TMGCSYS.tmgcEXP+\"/\"+(100*TMGCSYS.tmgcLV)\r\n\t\t\t\t\t\t\t\t+\t\", 체력 : \"+TMGCSYS.tmgcHP+\", 스트레스 : \"+TMGCSYS.tmgcStress+\"\\n\\n\\n\"\r\n\t\t\t\t\t\t\t\t+\t\" Function Limit Count\\n\"\r\n\t\t\t\t\t\t\t\t+\t\" Eat : \"+TMGCSYS.tmgcLimitEat+\", Sleep : \"+TMGCSYS.tmgcLimitSleep\r\n\t\t\t\t\t\t\t\t+\t\", Walk : \"+TMGCSYS.tmgcLimitWalk+\", Study : \"+TMGCSYS.tmgcLimitStudy+\"\\n\\n\\n\"\r\n\t\t\t\t\t\t\t\t+\t\" Character Ability\\n\"\r\n\t\t\t\t\t\t\t\t+\t\" STR : \"+TMGCSYS.tmgcSTR+\", INT : \"+TMGCSYS.tmgcINT\r\n\t\t\t\t\t\t\t\t+\t\", DEB : \"+TMGCSYS.tmgcDEB+\", HET : \"+TMGCSYS.tmgcHET+\"\\n\\n\\n\"\r\n\t\t\t\t\t\t\t\t+\t\" Character Job : \"+TMGCSYS.tmgc2ndJob\r\n\t\t\t\t\t\t\t\t);\r\n\t}", "public double getRms() {\n return this.rms;\n }", "public void model() \n\t{\n\t\t\n\t\ttry \n\t\t{\n\t\t GRBEnv env = new GRBEnv();\n\t\t GRBModel model = new GRBModel(env, \"resources/students.lp\");\n\n\t\t model.optimize();\n\n\t\t int optimstatus = model.get(GRB.IntAttr.Status);\n\n\t\t if (optimstatus == GRB.Status.INF_OR_UNBD) {\n\t\t model.getEnv().set(GRB.IntParam.Presolve, 0);\n\t\t model.optimize();\n\t\t optimstatus = model.get(GRB.IntAttr.Status);\n\t\t }\n\n\t\t if (optimstatus == GRB.Status.OPTIMAL) {\n\t\t double objval = model.get(GRB.DoubleAttr.ObjVal);\n\t\t System.out.println(\"Optimal objective: \" + objval);\n\t\t } else if (optimstatus == GRB.Status.INFEASIBLE) {\n\t\t System.out.println(\"Model is infeasible\");\n\n\t\t // Compute and write out IIS\n\t\t model.computeIIS();\n\t\t model.write(\"model.ilp\");\n\t\t } else if (optimstatus == GRB.Status.UNBOUNDED) {\n\t\t System.out.println(\"Model is unbounded\");\n\t\t } else {\n\t\t System.out.println(\"Optimization was stopped with status = \"\n\t\t + optimstatus);\n\t\t }\n\n\t\t // Dispose of model and environment\n\t\t model.write(\"resources/model.sol\");\n\t\t model.dispose();\n\t\t env.dispose();\n\n\t\t } catch (GRBException e) {\n\t\t System.out.println(\"Error code: \" + e.getErrorCode() + \". \" +\n\t\t e.getMessage());\n\t\t }\n\t\t\n\t}", "public String getMlSdef10() {\n return mlSdef10;\n }", "public void SetStandardDev(double standard_dev);", "public void ShowData() {\t\n\t\t\t\n\t\t\tShort SR0= cpu.getR0();\n\t\t\tString strR0 = String.format(\"%16s\",Integer.toBinaryString(SR0.intValue())).replace(' ', '0');\n\t\t\tif(strR0.length()>16){\n\t\t\t\tstrR0=strR0.substring(strR0.length()-16,strR0.length());\n\t\t\t}\n\t\t\tint a = 0;\n\t\t\twhile(a < strR0.length()) {\n\t\t\t\tchar[] chara = strR0.toCharArray();\n\t\t\t\tif (chara[a] == '1') {\n\t\t\t\t\tR0[a].setSelected(true);\n\t\t\t\t} else {\n\t\t\t\t\tR0[a].setSelected(false);\n\t\t\t\t}\n\t\t\t\ta++;\n\t\t\t}\n\n\t\t\tShort SR1 = cpu.getR1();\n\t\t\tString strR1 = String.format(\"%16s\",Integer.toBinaryString(SR1.intValue())).replace(' ', '0');\n\t\t\tif(strR1.length()>16){\n\t\t\t\tstrR1=strR1.substring(strR1.length()-16,strR1.length());\n\t\t\t}\n\t\t\tint b = 0;\n\t\t\twhile(b < strR1.length()) {\n\t\t\t\tchar[] charb = strR1.toCharArray();\n\t\t\t\tif (charb[b] == '1') {\n\t\t\t\t\tR1[b].setSelected(true);\n\t\t\t\t} else {\n\t\t\t\t\tR1[b].setSelected(false);\n\t\t\t\t}\n\t\t\t\tb++;\n\t\t\t}\n\t\t\t\n\t\t\tShort SR2 = cpu.getR2();\n\t\t\tString strR2 = String.format(\"%16s\",Integer.toBinaryString(SR2.intValue())).replace(' ', '0');\n\t\t\tif(strR2.length()>16){\n\t\t\t\tstrR2=strR2.substring(strR2.length()-16,strR2.length());\n\t\t\t}\n\t\t\tint c = 0;\n\t\t\twhile(c < strR2.length()) {\n\t\t\t\tchar[] charc = strR2.toCharArray();\n\t\t\t\tif (charc[c] == '1') {\n\t\t\t\t\tR2[c].setSelected(true);\n\t\t\t\t} else {\n\t\t\t\t\tR2[c].setSelected(false);\n\t\t\t\t}\n\t\t\t\tc++;\n\t\t\t}\n\t\t\t\n\t\t\tShort SR3 = cpu.getR3();\n\t\t\tString strR3 = String.format(\"%16s\",Integer.toBinaryString(SR3.intValue())).replace(' ', '0');\n\t\t\tif(strR3.length()>16){\n\t\t\t\tstrR3=strR3.substring(strR3.length()-16,strR3.length());\n\t\t\t}\n\t\t\tint d = 0;\n\t\t\twhile(d < strR3.length()) {\n\t\t\t\tchar[] chard = strR3.toCharArray();\n\t\t\t\tif (chard[d] == '1') {\n\t\t\t\t\tR3[d].setSelected(true);\n\t\t\t\t} else {\n\t\t\t\t\tR3[d].setSelected(false);\n\t\t\t\t}\n\t\t\t\td++;\n\t\t\t}\n\t\t\t\n\t\t\tShort SX1 = cpu.getX1();\n\t\t\tString strX1 = String.format(\"%16s\",Integer.toBinaryString(SX1.intValue())).replace(' ', '0');\n\t\t\tif(strX1.length()>16){\n\t\t\t\tstrX1=strX1.substring(strX1.length()-16,strX1.length());\n\t\t\t}\n\t\t\tint f = 0;\n\t\t\twhile(f < strX1.length()) {\n\t\t\t\tchar[] charf = strX1.toCharArray();\n\t\t\t\tif (charf[f] == '1') {\n\t\t\t\t\tX1[f].setSelected(true);\n\t\t\t\t} else {\n\t\t\t\t\tX1[f].setSelected(false);\n\t\t\t\t}\n\t\t\t\tf++;\n\t\t\t}\n\t\t\t\n\t\t\tShort SX2 = cpu.getX2();\n\t\t\tString strX2 = String.format(\"%16s\",Integer.toBinaryString(SX2.intValue())).replace(' ', '0');\n\t\t\tif(strX2.length()>16){\n\t\t\t\tstrX2=strX2.substring(strX2.length()-16,strX2.length());\n\t\t\t}\n\t\t\tint g = 0;\n\t\t\twhile(g < strX2.length()) {\n\t\t\t\tchar[] charg = strX2.toCharArray();\n\t\t\t\tif (charg[g] == '1') {\n\t\t\t\t\tX2[g].setSelected(true);\n\t\t\t\t} else {\n\t\t\t\t\tX2[g].setSelected(false);\n\t\t\t\t}\n\t\t\t\tg++;\n\t\t\t}\n\t\t\t\n\t\t\tShort SX3 = cpu.getX3();\n\t\t\tString strX3 = String.format(\"%16s\",Integer.toBinaryString(SX3.intValue())).replace(' ', '0');\n\t\t\tif(strX3.length()>16){\n\t\t\t\tstrX3=strX3.substring(strX3.length()-16,strX3.length());\n\t\t\t}\n\t\t\tint h = 0;\n\t\t\twhile(h < strX3.length()) {\n\t\t\t\tchar[] charh = strX3.toCharArray();\n\t\t\t\tif (charh[h] == '1') {\n\t\t\t\t\tX3[h].setSelected(true);\n\t\t\t\t} else {\n\t\t\t\t\tX3[h].setSelected(false);\n\t\t\t\t}\n\t\t\t\th++;\n\t\t\t}\n\t\t\t\n\t\t\tShort SMAR = cpu.getMar();\n\t\t\tString strMAR = String.format(\"%16s\",Integer.toBinaryString(SMAR.intValue())).replace(' ', '0');\n\t\t\tif(strX3.length()>16){\n\t\t\t\tstrMAR=strMAR.substring(strMAR.length()-16,strMAR.length());\n\t\t\t}\n\t\t\tint j = 0;\n\t\t\twhile(j < strMAR.length()) {\n\t\t\t\tchar[] charj = strMAR.toCharArray();\n\t\t\t\tif (charj[j] == '1') {\n\t\t\t\t\tMAR[j].setSelected(true);\n\t\t\t\t} else {\n\t\t\t\t\tMAR[j].setSelected(false);\n\t\t\t\t}\n\t\t\t\tj++;\n\t\t\t}\n\t\t\t\n\t\t\tShort SMBR = cpu.getMbr();\n\t\t\tString strMBR = String.format(\"%16s\",Integer.toBinaryString(SMBR.intValue())).replace(' ', '0');\n\t\t\tif(strMBR.length()>16){\n\t\t\t\tstrMBR=strMBR.substring(strMBR.length()-16,strMBR.length());\n\t\t\t}\n\t\t\tint k = 0;\n\t\t\twhile(k < strMBR.length()) {\n\t\t\t\tchar[] chark = strMBR.toCharArray();\n\t\t\t\tif (chark[k] == '1') {\n\t\t\t\t\tMBR[k].setSelected(true);\n\t\t\t\t} else {\n\t\t\t\t\tMBR[k].setSelected(false);\n\t\t\t\t}\n\t\t\t\tk++;\n\t\t\t}\n\t\t\t\n\t\t\tShort SIR = cpu.getIr();\n\t\t\tString strIR = String.format(\"%16s\",Integer.toBinaryString(SIR.intValue())).replace(' ', '0');\n\t\t\tif(strIR.length()>12){\n\t\t\t\tstrIR=strIR.substring(strIR.length()-16,strIR.length());\n\t\t\t}\n\t\t\tint l = 0;\n\t\t\twhile(l < strIR.length()) {\n\t\t\t\tchar[] charl = strIR.toCharArray();\n\t\t\t\tif (charl[l] == '1') {\n\t\t\t\t\tIR[l].setSelected(true);\n\t\t\t\t} else {\n\t\t\t\t\tIR[l].setSelected(false);\n\t\t\t\t}\n\t\t\t\tl++;\n\t\t\t}\t\t\t\n\t\t\t\n\t\t\tShort SPC = cpu.getPc();\n\t\t\tString strPC = String.format(\"%12s\",Integer.toBinaryString(SPC.intValue())).replace(' ', '0');\n\t\t\tif(strPC.length()>12){\n\t\t\t\tstrPC=strPC.substring(strPC.length()-16,strPC.length());\n\t\t\t}\n\t\t\tint m = 0;\n\t\t\twhile(m < strPC.length()) {\n\t\t\t\tchar[] charm = strPC.toCharArray();\n\t\t\t\tif (charm[m] == '1') {\n\t\t\t\t\tPC[m].setSelected(true);\n\t\t\t\t} else {\n\t\t\t\t\tPC[m].setSelected(false);\n\t\t\t\t}\n\t\t\t\tm++;\n\t\t\t}\t\t\t\n\t\t\t\n\t}", "public void disp(){\r\n\t\t\t\r\n\t\t\t\r\n\t\t\tSystem.out.println(\"------------------------------------------- \");\r\n\t\t\tSystem.out.println(\"Feature Model \");\r\n\t\t\tSystem.out.println(\"------------------------------------------- \");\r\n\t\t\tSystem.out.println(\"The mandatory feature:\");\r\n\t\t\tfor(int i = 0; i < this.mandatoryFeatures.size(); i++ ){\r\n\t\t\t\tthis.mandatoryFeatures.get(i).disp();\r\n\t\t\t}//for\r\n\t\t\tSystem.out.println(\"Optional features:\");\r\n\t\t\tfor(int i = 0; i < this.optionalFeatures.size(); i++ ){\r\n\t\t\t\tthis.optionalFeatures.get(i).disp();\r\n\t\t\t}//for\r\n\t\t\tfor(int i = 0; i < this.alternativeFeatureGroup.size(); i++ ){\r\n\t\t\t\tSystem.out.println(\"Alternative features:\");\r\n\t\t\t\tfor(int j = 0; j < alternativeFeatureGroup.get(i).getFeatures().size(); j++ ){\r\n\t\t\t\t\talternativeFeatureGroup.get(i).getFeatures().get(j).disp();\r\n\t\t\t\t}//for\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t\r\n\t\t\tfor(int i = 0; i < this.orFeatureGroup.size(); i++ ){\r\n\t\t\t\tSystem.out.println(\"Or features:\");\r\n\t\t\t\tfor(int j = 0; j < orFeatureGroup.get(i).getFeatures().size(); j++ ){\r\n\t\t\t\t\torFeatureGroup.get(i).getFeatures().get(j).disp();\r\n\t\t\t\t}//for\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t\r\n\t\t\tSystem.out.println(\"Constraints:\");\r\n\t\t\tfor(int i = 0; i < this.constraints.size(); i++ ){\r\n\t\t\t\tthis.constraints.get(i).disp();\r\n\t\t\t}//for\r\n\t\t}", "public void display() {\r\n System.out.println(firstPrompt + \"[\" + minScale + \"-\" + maxScale + \"]\");\r\n }", "public static void MCLSPIFB(){\n\t\tMountainCar mcGen = new MountainCar(); // default: reward 100 on the right side and 0 everywhere else\n\t\t\n\t\t\n\t\t// Define terminal function and reward function\t\n\t\tStateConditionTest terminalTest = new StateConditionTest() {\n\t\t\t\n\t\t\t@Override\n\t\t\tpublic boolean satisfies(State s) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\tif ((Double)s.get(\"x\") >= 0.5) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\treturn false;\n\t\t\t}\n\t\t};\n\t\t\n\t\tTerminalFunction tf = new TerminalFunction() {\n\t\t\t\n\t\t\t@Override\n\t\t\tpublic boolean isTerminal(State s) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\treturn terminalTest.satisfies(s);\n\t\t\t}\n\t\t};\n\t\t\n\t\tRewardFunction rf = /*new GoalBasedRF(tf, 100, 0);*/\n\t\t\t\tnew RewardFunction() {\n\t\t\t\n\t\t\t@Override\n\t\t\tpublic double reward(State s1, Action a, State s2) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\tif ((Double)s2.get(\"x\") >= 0.5) {\n\t\t\t\t\treturn 100;\n\t\t\t\t}\n\t\t\t\tif ((Double)s2.get(\"x\") == mcGen.physParams.xmin) {\n\t\t\t\t\treturn -100;\n\t\t\t\t}\n\t\t\t\treturn 0;\n\t\t\t}\n\t\t};\n\t\tmcGen.setRf(rf);\n\t\tSADomain domain = mcGen.generateDomain();\n\t\tSystem.out.println(\"physParams:\\n===========================\");\n\t\tSystem.out.println(\"xmin:\" + mcGen.physParams.xmin + \", xmax:\" + mcGen.physParams.xmax + \", vallypos:\" + mcGen.physParams.valleyPos());\n\t\tSystem.out.println(\"vmin:\" + mcGen.physParams.vmin + \", vmax:\" + mcGen.physParams.vmax);\n\t\tSystem.out.println(\"===========================\");\n\t\t\n\t\t// Generate data from random state\n\t\tStateGenerator rstateGenerator = new MCRandomStateGenerator(mcGen.physParams);\n\t\tSARSCollector collector = new SARSCollector.UniformRandomSARSCollector(domain);\n\t\tSARSData dataset = collector.collectNInstances(rstateGenerator, domain.getModel(), 5000, 20, null);\n\n\t\t\n\t\tSARS xData = dataset.get(0);\n\t\tMCState xState = (MCState) xData.s;\n\t\tMCState xState2 = (MCState) xData.sp;\n\t\tSystem.out.println(\"s: x:\" + xState.x\n\t\t\t\t+ \", v:\" + xState.v + \n\t\t\t\t\", action:\" + xData.a.actionName() + \n\t\t\t\t\", reward:\" + xData.r);\n\t\tSystem.out.println(\"s': x:\" + xState2.x\n\t\t\t\t+ \", v:\" + xState2.v);\n\t\tSystem.out.println(\"===========================\");\n\t\t\n\t\t// Generate 5000 SARS tuple instances for our dataset.\n\t\t// Car state generator for no more than 20 steps at a time or until we hit a terminal state.\n\t\t\n\t\t// Generate Fourier Basis\n\t\t// Fourier Basis: mapping from states to features\n\t\tNormalizedVariableFeatures inputFeatures = new NormalizedVariableFeatures()\n\t\t\t\t.variableDomain(\"x\", new VariableDomain(mcGen.physParams.xmin, mcGen.physParams.xmax))\n\t\t\t\t.variableDomain(\"v\", new VariableDomain(mcGen.physParams.vmin, mcGen.physParams.vmax));\n\t\tFourierBasis fBasis = new FourierBasis(inputFeatures, 4); // order(4) means the number of basis functions\n\t\t\n\t\t// Instantiate LSPI\n\t\t// LSPI needs mapping from state to action features, so\n\t\t// first define a state feature representation, \n\t\t// and then construct state-action features by taking the cross product of those features with each action\n\t\tLSPI lspi = new LSPI(domain, 0.99, new DenseCrossProductFeatures(fBasis, 3), dataset); // 3: number of actions: FORWARD, COSTA, BACKWARD\n\t\tPolicy policy = lspi.runPolicyIteration(30, 1e-6);\n\t\t\n\t\t// Visualization\n\t\tMCState laststate = new MCState(mcGen.physParams.valleyPos(), 0);\n\t\tSystem.out.println(\"===========================\\nState process according to policy:\\n\");\n\n\t\t\n\t\tfor (int i = 0; i < 1000; i++) {\n\t\t\tif (terminalTest.satisfies(laststate)) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tAction curAction = policy.action(laststate);\n\t\t\tMCModel model = new MCModel(mcGen.physParams);\n\t\t\tMCState curState = (MCState) model.sample(laststate, curAction);\n\t\t\tif (i % 10 == 0) {\n\t\t\t\tSystem.out.println(\"State \" + i +\n\t\t\t\t\t\t\":\\tx = \" + laststate.x + \n\t\t\t\t\t\t\";\\tv = \" + laststate.v + \n\t\t\t\t\t\t\";\\taction = \" + curAction.actionName());\n\t\t\t}\t\t\t\n\t\t\tlaststate = curState;\n\t\t}\n\t\tVisualizer visualizer = MountainCarVisualizer.getVisualizer(mcGen);\n\t\tVisualActionObserver vo = new VisualActionObserver(visualizer);\n\t\tvo.initGUI();\n\t\t\n\t\tSimulatedEnvironment environment = new SimulatedEnvironment(domain, new MCState(mcGen.physParams.valleyPos(), 0));\n\t\tenvironment.addObservers(vo);\n\t\t\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tPolicyUtils.rollout(policy, environment);\n\t\t\tenvironment.resetEnvironment();\n\t\t}\n\t\tSystem.out.println(\"Finished\");\n\t\tSystem.out.println(policy.action(new MCState(0.05, -8)));\n\t}", "void updateRealSense() {\n\t\tLog.debug(\"\\n========== updating RealSense\");\n\t}", "private void printEvaList(){\n\t\tEvaluatedlistModel = new DefaultListModel();\n\t\tEvaluatedList.setModel(EvaluatedlistModel);\n\t\t\n\t}", "public static void main(String[] args) {\n\t\tScanner scn=new Scanner(System.in);\n\t\t System.out.print(\"金錢:\");\n\t\t int m = scn.nextInt();\n\t\t System.out.print(\"蘋果數量為:\");\n\t\t int a = scn.nextInt();\n\t\t System.out.print(\"柳丁數量為:\");\n\t\t int o = scn.nextInt();\n\t\t System.out.print(\"桃子數量為:\");\n\t\t int p = scn.nextInt();\n\t int fsum = a*15+o*20+p*30;\n\t int urm = m-fsum;\n\t if (urm>=0){\n\t System.out.println(urm/50+\"個50元\");\n\t System.out.println((urm-(urm/50)*50)/5+\"個5元\");\n\t System.out.println((urm-(urm/50)*50)-(urm-(urm/50)*50)/5*5+\"個1元\");}\n\t else if(urm<0){\n\t \t System.out.println(0);\n\t }\n\t}", "private static double simpleSpeedupRun(String [] args){\n\t\tString applicationPath = convertApplication(args[2], new String[] {\"1\", \"2\"});\n\t\tConfMan configManager;\n\n\t\tconfigManager = new ConfMan(args[1],applicationPath, false);\n\t\t\n\t\tTrace speedupTrace = new Trace(System.out, System.in, \"\", \"\");\n\t\tif(configManager.getTraceActivation(\"config\")){\n\t\t\tspeedupTrace.setPrefix(\"config\");\n\t\t\tconfigManager.printConfig(speedupTrace);\n\t\t}\n\t\tspeedupTrace.setPrefix(\"speedup\");\n\t\t\n\t\t\n\t\tspeedupTrace.printTableHeader(\"Measuring simple speedup\");\n\t\tspeedupTrace.printTableHeader(\"Running without Synthesis\");\n\t\tAmidarSimulationResult resultsOFF = run(configManager, null, false);\n\n\t\t\n\t\t\n\t\tspeedupTrace.printTableHeader(\"Running again with Synthesis\");\n\t\tconfigManager.setSynthesis(true);\n\t\tAmidarSimulationResult resultsON = run(configManager, null, false);\n\n\t\tdouble speedup = (double)resultsOFF.getTicks()/(double)resultsON.getTicks();\n\t\tdouble energySavings = (double)resultsON.getEnergy()/(double)resultsOFF.getEnergy();\n\n\t\tDecimalFormatSymbols symbols = new DecimalFormatSymbols();\n\t\tsymbols.setGroupingSeparator(',');\n\t\tsymbols.setDecimalSeparator('.');\n\t\tDecimalFormat formater = new DecimalFormat(\"#0.000\", symbols);\n\n\t\tif(configManager.getTraceActivation(\"results\")){\n\t\t\tspeedupTrace.setPrefix(\"results\");\n\t\t\tspeedupTrace.printTableHeader(\"Simulated \"+applicationPath+\" - Simple Speedup Measurement\");\n\t\t\tspeedupTrace.println(\"Ticks without synthesis: \"+resultsOFF.getTicks());\n\t\t\tspeedupTrace.println(\"Ticks with synthesis: \"+resultsON.getTicks());\n\t\t\tspeedupTrace.println(\"Speedup: \"+formater.format(speedup));\n\t\t\tspeedupTrace.println();\n\t\t\tspeedupTrace.println(\"Energy without synthesis: \"+formater.format(resultsOFF.getEnergy()));\n\t\t\tspeedupTrace.println(\"Energy with synthesis: \"+formater.format(resultsON.getEnergy()));\n\t\t\tspeedupTrace.println(\"Energy savings: \"+formater.format((1-energySavings)*100) + \"%\");\n\t\t\t\n\t\t\tspeedupTrace.printTableHeader(\"Loop Profiling\");\n\t\t\tresultsON.getProfiler().reportProfile(speedupTrace);\n\t\t\tspeedupTrace.printTableHeader(\"Kernel Profiling\");\n\t\t\tresultsON.getKernelProfiler().reportProfile(speedupTrace, resultsON.getTicks());\n\t\t}\n\t\t\t\n\t\treturn speedup;\n\n\t}", "@Override\n\tpublic float calculateRunRate() {\n\t\tint remaingrun=Math.abs((super.getTarget()-super.getCurrentscore()));\n\t\tfloat remaingOver=20-super.getCurrentover();\n\t\treturn remaingrun/remaingOver;\n\t}", "@Override\r\n\tpublic void showSpeed() {\n\t\tSystem.out.println(\"i can run at 100km/h\");\r\n\t}", "private static void runRankBasedSVD(int loss, int rank, double learningRate, boolean verbose) {\n\t\tint maxIter = 20;\r\n\t\tdouble regularizer = 1E-6;\r\n\t\t\r\n\t\tRankBasedSVD rsvd = new RankBasedSVD(\r\n\t\t\tuserCount, itemCount, maxValue, minValue,\r\n\t\t\trank, learningRate, regularizer, 0, maxIter,\r\n\t\t\tloss, testMatrix, null, null, verbose);\r\n\t\t\t\r\n\t\tSystem.out.println(\"RSVD\" + \"\\t\" + loss + \"\\t\" + rank + \"\\t\" + testRecommender(\"RSVD\", rsvd));\r\n\t}", "public static void Result(Matriks M, int flag) { \r\n\t\tint n = M.KolEff;\r\n \tSystem.out.print(\"Hasilnya adalah: \"); \r\n \r\n \tif (flag == 2){ \r\n \t\tSystem.out.println(\"Solusi banyak\");\r\n \t} \r\n \telse if (flag == 3){ \r\n \t\tSystem.out.println(\"Tidak memiliki solusi\"); \r\n \t}\r\n \telse { \r\n \tfor (int i = 0; i < n; i++) \r\n \tSystem.out.print(M.Elmt[i][n] / M.Elmt[i][i] + \" \"); \r\n \t} \r\n\t}", "boolean isForceRM();", "@Override\n\tpublic float calculateRunRate() {\n\t\tint remaingrun=Math.abs((super.getTarget()-super.getCurrentscore()));\n\t\tfloat remaingOver=50-super.getCurrentover();\n\t\treturn remaingrun/remaingOver;\n\t}", "@Override\r\n\tpublic void work() {\n\t\tSystem.out.println(\"0.5 FTE\");\r\n\t}", "int main()\n{\n int units,r;\n cin>>units;\n if (units<=200) {\n r=units*0.5;\n cout<<\"Rs.\"<<r;\n }\n else if (units>=200 && units<=400){\n r=0.65*units+100;\n cout<<\"Rs.\"<<r;\n }\n else if (units>=400 && units<=600){\n r=0.8*units+200;\n cout<<\"Rs.\"<<r;\n }\n else{\n r=1.25*units+425;\n cout<<\"Rs.\"<<r;\n }\n}", "private static void ThridUmpireReview() {\n\t\tSystem.out.println(\" Umpier Reviews the Score Board\");\n\t\t \n\t\t\n\t}", "public static void displaySta() {\n System.out.println(\"\\n\\n\");\n System.out.println(\"average service time: \" + doAvgProcessingTime() /100 + \" milliseconds\");\n System.out.println(\"max service time: \" + maxProcessingTime /100 + \" milliseconds\");\n System.out.println(\"average turn around time \" + doAvgTurnAroundTime()/100 + \" milliseconds\");\n System.out.println(\"max turn around time \" + maxTurnAroundTime/100 + \" milliseconds\");\n System.out.println(\"average wait time \" + doAvgWaitTime()/10000 + \" milliseconds\");\n System.out.println(\"max wait time \" + maxWaitTime/10000 + \" milliseconds\");\n System.out.println(\"end time \" + endProgramTime);\n System.out.println(\"start time \" + startProgramTime);\n System.out.println(\"processor utilization: \" + doCPU_usage() + \" %\");\n System.out.println(\"Throughput: \" + doThroughPut());\n System.out.println(\"---------------------------\");\n\n\n }", "public void showSaturation()\r\n {\r\n\tshowSaturation(\"Saturation\");\r\n }", "public void utilization() {\r\n\t\tfloat fAktuell = this.aktuelleLast;\r\n\t\tfloat fMax = this.raumsonde.getMaxNutzlast();\r\n\t\tfloat prozent = fAktuell / fMax * 100;\r\n\r\n\t\tSystem.out.println(\" \" + fAktuell + \"/\" + fMax + \" (\" + prozent + \"%)\");\r\n\t}", "public void display() {\n \n //Print the features representation\n System.out.println(\"\\nDENSE REPRESENTATION\\n\");\n \n //Print the header\n System.out.print(\"ID\\t\");\n for (short i = 0 ; i < dimension; i++) {\n System.out.format(\"%s\\t\\t\", i);\n }\n System.out.println();\n \n //Print all the instances\n for (Entry<String, Integer> entry : mapOfInstances.entrySet()) {\n System.out.format(\"%s\\t\", entry.getKey());\n for (int i = 0; i < vectorDimension(); i++) {\n //System.out.println(allFeatures.get(entry.getValue())[i]);\n System.out.format(\"%f\\t\", allValues.get(entry.getValue())[i]); \n }\n System.out.println();\n }\n }", "private void standardJMenuItemActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_standardJMenuItemActionPerformed\n float stdev = standardDeviation();\n if(stdev >= 1)\n {\n String first = \"Standard deviation gross pay\";\n String second = \"for all employees = \" + dollars.format(stdev);\n displayResults(first, second);\n printJMenuItem.setEnabled(true);\n }\n else\n {\n displayResults(\"More than one employee required to estimate Standard Deviation.\",\n \"Add more employees.\");\n standardJMenuItem.setEnabled(false);\n printJMenuItem.setEnabled(true);\n }\n }", "public void setRisultato(double risultato) {\r\n this.risultato = risultato;\r\n }", "public void setRe(double re) {\r\n this.re = re;\r\n }", "@ActionTrigger(action=\"QUERY_RECS\")\n\t\tpublic void spriden_QueryRecs()\n\t\t{\n\t\t\t\n\n\t\t\t\tSpridenAdapter spridenElement = (SpridenAdapter)this.getFormModel().getSpriden().getRowAdapter(true);\n\t\t\t\tSgbstdnAdapter sgbstdnElement = (SgbstdnAdapter)this.getFormModel().getSgbstdn().getRowAdapter(true);\n\t\t\t\tSovlcurAdapter sovlcurElement = (SovlcurAdapter)this.getFormModel().getSovlcur().getRowAdapter(true);\n\n\t\t\t\tif(spridenElement!=null && sgbstdnElement!=null && sovlcurElement!=null){\n\n\t\t\t\ttry { \n\t\t\t\t\tMessageServices.setMessageLevel(OracleMessagesLevel.decodeMessageLevel(5));\n\t\t\t\t// \n\t\t\t\tnextBlock();\n\t\t\t\t// soundex\n\t\t\t\tnextBlock();\n\t\t\t\t// spraddr \n\t\t\t\texecuteQuery();\n\t\t\t\tnextBlock();\n\t\t\t\t// sgbstdn \n\t\t\t\texecuteQuery();\n\t\t\t\tnextBlock();\n\t\t\t\t// sfbetrm \n\t\t\t\texecuteQuery();\n\t\t\t\t// execute the query on sovlcur and sovlfos \n\t\t\t\tgetFormModel().getSCurriculaSummary().setSummaryPidm(spridenElement.getSpridenPidm());\n\t\t\t\tgetFormModel().getSCurriculaSummary().setSummaryCode(SbCurriculumStr.fLearner());\n\t\t\t\tgetFormModel().getSCurriculaSummary().setSummaryKeySeqno(toNumber(99));\n\t\t\t\tgetFormModel().getSCurriculaSummary().setSummaryTermCode(sgbstdnElement.getSgbstdnTermCodeEff());\n\t\t\t\tgetFormModel().getSCurriculaSummary().setSummaryEndTerm(SbLearner.fQueryEnd(spridenElement.getSpridenPidm(), sgbstdnElement.getSgbstdnTermCodeEff()));\n\t\t\t\tif ( !sgbstdnElement.getSgbstdnTermCodeEff().isNull() )\n\t\t\t\t{\n\t\t\t\t\t// Create SOTVCUR since this is a learner curriculum \n\t\t\t\t\tSoklcur.pCreateSotvcur(/*pPidm=>*/getFormModel().getSCurriculaSummary().getSummaryPidm(), /*pTermCode=>*/getFormModel().getSCurriculaSummary().getSummaryTermCode(), /*pLmodCode=>*/getFormModel().getSCurriculaSummary().getSummaryCode());\n\t\t\t\t\t// Now execute the query on summary blocks \n\t\t\t\t\tgoBlock(\"SOVLCUR\");\n\t\t\t\t\texecuteQuery();\n\t\t\t\t\tif ( !sovlcurElement.getSummaryRowid().isNull() )\n\t\t\t\t\t{\n\t\t\t\t\t\tgoBlock(\"SOVLFOS\");\n\t\t\t\t\t\texecuteQuery();\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tgoBlock(\"SOVLFOS\");\n\t\t\t\t\t\tclearBlock();\n\t\t\t\t\t}\n\t\t\t\t\tgoBlock(\"SFBETRM\");\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tgoBlock(\"SOVLFOS\");\n\t\t\t\t\tclearBlock();\n\t\t\t\t\tgoBlock(\"SOVLCUR\");\n\t\t\t\t\tclearBlock();\n\t\t\t\t}\n\t\t\t\t// - sgbstdn term is not null \n\t\t\t\tgoBlock(\"SFBETRM\");\n\t\t\t\tpreviousBlock();\n\t\t\t\t// sgbstdn\n\t\t\t\tpreviousBlock();\n\t\t\t\t// spraddr\n\t\t\t\tpreviousBlock();\n\t\t\t\t// soundex \n\t\t\t\tpreviousBlock();\n\t\t\t\t// spriden \n\t\t\t\t// \n\t\t\t\t\n\t\t\t\t} finally {\n\t\t\t\t\t\t\t\n\t\t\t\t\tMessageServices.setMessageLevel(OracleMessagesLevel.decodeMessageLevel(0));\n\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t}\n\t\t}", "@Override\r\n\tpublic int evaluateSens(Robot robot) {\n\t\treturn robot.getFuel();\r\n\t}", "@Override\n\tpublic float calculateRunRate() {\n\t\tint remaingrun=Math.abs((super.getTarget()-super.getCurrentscore()));\n\t\tfloat remaingOver=30-super.getCurrentover();\n\t\treturn remaingrun/remaingOver;\n\t}", "public void display() {\r\n String kind;\r\n if (profit == true) {\r\n kind = \"profit\";\r\n }\r\n\r\n else kind = \"non-profit\";\r\n System.out.println(name + \" is a \" + kind + \" organization that has\" + \" \" + revenue + \" dollars in revenue\" );\r\n }", "public double getSvAccuracy() {\n return svAccuracy;\n }", "private void doResearch() {\n\t\tSystem.out.println(\"Students must do research\");\n\t}", "public void showMetrics() {\n }", "public void recallPaint() { advw.showResearchersPanel();}", "public double getRtStdev() {\n\t\t\treturn this.rtStdev;\n\t\t}", "@Test\n\tpublic void testUniformRWR() {\n\t\tlog.debug(\"Test logging\");\n\t\tint maxT = 10;\n\t\t\n\t\tAnnotatedGraph<String> g = brGraphs.get(0);\n\t\t\n\t\tTreeMap<String,Double> startVec = new TreeMap<String,Double>();\n\t\tstartVec.put(\"r0\",1.0);\n\t\tMap<String,Double> baseLineVec = myRWR(startVec,g,maxT);\n\t\tTreeMap<String,Double>uniformWeightVec = new TreeMap<String,Double>();\n\t\tuniformWeightVec.put(\"fromb\",1.0);\n\t\tuniformWeightVec.put(\"tob\",1.0);\n\t\tuniformWeightVec.put(\"fromr\",1.0);\n\t\tuniformWeightVec.put(\"tor\",1.0);\n\t\tuniformWeightVec.put(\"restart\",1.0);\n\t\tMap<String,Double> newVec = srw.rwrUsingFeatures(g, startVec, uniformWeightVec);\n\t\tequalScores(baseLineVec,newVec);\n\t}", "public String getRhesus()\n\t{\n\t\treturn rhesus;\n\t}", "private void showRate() {\r\n\t\tString currencyCode = signalThreeLetters();\r\n\t\tif (currencyCode == null){\r\n\t\t\treturn;\r\n }\r\n //needed if-else to check if currencies is null. As currencies.getCurrencyByCode doesn't work if currencies is null\r\n if (currencies == null){\r\n \tSystem.out.println(\"There are currently no currencies in the system.\");\r\n \tSystem.out.println();}\r\n \t\r\n else{\r\n Currency currency = currencies.getCurrencyByCode(currencyCode);\r\n if (currency == null) {\r\n\t\t\t// No, so complain and return\r\n\t\t\tSystem.out.println(\"\\\"\" + currencyCode + \"\\\" is is not in the system.\");\r\n\t\t\tSystem.out.println();}\r\n else {\r\n System.out.println(\"Currency \" +currencyCode+ \" has exchange rate \" + currency.getExchangeRate() + \".\");\r\n System.out.println();}\r\n \r\n }\r\n \r\n\t}", "@Test\r\n\tpublic void calculMetricInferiorStudentBetterScoreTest() {\r\n\t\tAssert.assertEquals(UtilCalculGrade.calculMetricInferior(new ModelValue(25f, 2f), 12f, 8f), new Float(0));\r\n\t}", "public void train() {\r\n\t\texp += 2;\r\n\t\tenergy -= 5;\r\n\t\tSystem.out.println(\"Gained 2 experience.\");\t\r\n\t}", "public void printTotalRentProfit () {\n System.out.println(\"The total rent profit is currently: \" + totalRent + \" US Dollars.\");\n }", "public void setMaxSR(float maxSR) {\n this.maxSR = maxSR;\n }", "@Override\n public void refreshGui() {\n int count = call(\"getCountAndReset\", int.class);\n long nextTime = System.currentTimeMillis();\n long elapsed = nextTime - lastTime; // ms\n double frequency = 1000 * count / elapsed;\n lastTime = nextTime;\n stats.addValue(frequency);\n\n outputLbl.setText(String.format(\"%3.1f Hz\", stats.getGeometricMean()));\n }", "public void displaySpectrum() {\n if (this.spectrum == null) { // there is no data to display\n UI.println(\"No spectrum to display\");\n return;\n }\n UI.clearText();\n UI.println(\"Printing, please wait...\");\n\n UI.clearGraphics();\n\n // calculate the mode of each element\n ArrayList<Double> spectrumMod = new ArrayList<Double>();\n double max = 0;\n for (int i = 0; i < spectrum.size(); i++) {\n if (i == MAX_SAMPLES)\n break;\n\n double value = spectrum.get(i).mod();\n max = Math.max(max, value);\n spectrumMod.add(spectrum.get(i).mod());\n }\n\n double scaling = 300 / max;\n for (int i = 0; i < spectrumMod.size(); i++) {\n spectrumMod.set(i, spectrumMod.get(i) * scaling);\n }\n\n // draw x axis (showing where the value 0 will be)\n UI.setColor(Color.black);\n UI.drawLine(GRAPH_LEFT, ZERO_LINE, GRAPH_LEFT + GRAPH_WIDTH, ZERO_LINE);\n\n // plot points: blue line between each pair of values\n UI.setColor(Color.blue);\n\n double x = GRAPH_LEFT;\n for (int i = 1; i < spectrumMod.size(); i++) {\n double y1 = ZERO_LINE;\n double y2 = ZERO_LINE - spectrumMod.get(i);\n if (i > MAX_SAMPLES) {\n UI.setColor(Color.red);\n }\n UI.drawLine(x, y1, x + X_STEP, y2);\n x = x + X_STEP;\n }\n\n UI.println(\"Printing completed!\");\n }", "@Override\n\tprotected void UpdateUI() {\n\t\tDisplayFuelData(AverageFuelRate, LatestFuelConsumed);\n\t\t\n\t\tif(bCursurIndex == false && ParentActivity.ScreenIndex == Home.SCREEN_STATE_MENU_MONITORING_FUELHISTORY_GENERALRECORD)\n\t\t\tCursurDisplay(CursurIndex);\n\t}", "public void showIntensity()\r\n {\r\n\tshowIntensity(\"Intensity\");\r\n }", "@Override\n public double getMeasure() {\n return getFuelEffieciency();\n }", "@Override\n\tpublic double calRate() {\n\t\treturn 0.9f;\n\t}", "public void term()\n \t{\n //\t\tfor(Iterator<Technology> tIt = Technology.getTechnologies(); tIt.hasNext(); )\n //\t\t{\n //\t\t\tTechnology tech = tIt.next();\n //\n // for (Iterator<Foundry> itF = tech.getFoundries(); itF.hasNext();)\n // {\n // Foundry foundry = itF.next();\n // HashMap<Layer,String> gdsLayers = new HashMap<Layer,String>();\n // for(Iterator<Layer> lIt = tech.getLayers(); lIt.hasNext(); )\n // {\n // Layer layer = lIt.next();\n // String str = get(foundry, layer);\n // GDSLayers numbers = GDSLayers.parseLayerString(str);\n // if (numbers == null) continue;\n //\n // Setting setting = foundry.getGDSLayerSetting(layer);\n // String oldStr = getString(setting);\n // GDSLayers oldNumbers = oldStr != null ? GDSLayers.parseLayerString(oldStr) : GDSLayers.EMPTY;\n // if (!oldNumbers.equals(numbers))\n // setString(setting, numbers.toString());\n // }\n // }\n //\t\t}\n setBoolean(gdsOutMergesBoxesSetting, gdsOutputMergesBoxes.isSelected());\n setBoolean(gdsOutWritesExportPinsSetting, gdsOutputWritesExportPins.isSelected());\n setBoolean(gdsOutUpperCaseSetting, gdsOutputUpperCase.isSelected());\n setInt(gdsOutDefaultTextLayerSetting, TextUtils.atoi(gdsDefaultTextLayer.getText()));\n setBoolean(gdsOutputConvertsBracketsInExportsSetting, gdsOutputConvertsBracketsInExports.isSelected());\n setInt(gdsCellNameLenMaxSetting, TextUtils.atoi(gdsCellNameLenMax.getText()));\n \t}", "@Override\r\n\tpublic Double getModel_lufax_prop_score() {\n\t\treturn super.getModel_lufax_prop_score();\r\n\t}", "@Test\n public void testSetM_rpmLow() {\n System.out.println(\"setM_rpmLow\");\n double rpmLow = 1200;\n Regime instance = r1;\n instance.setM_rpmLow(rpmLow);\n double result=instance.getRPMLow();\n double expResult=1200;\n assertEquals(expResult, result, 0.0);\n }", "@Test\n public void test23() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n Evaluation evaluation0 = new Evaluation(instances0);\n SerializedClassifier serializedClassifier0 = new SerializedClassifier();\n Object[] objectArray0 = new Object[25];\n double[] doubleArray0 = evaluation0.evaluateModel((Classifier) serializedClassifier0, instances0, objectArray0);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01D);\n }", "@Test(groups ={Slingshot,Regression,SubmitMeterRead})\npublic void TitileFieldErrorValidation(){\t\t\t \n\tReport.createTestLogHeader(\"Anonymous Submit meter read\", \"Verify the functionality of Title drop down and its appropriate error messages\");\n\tSMRAccountDetails smrProfile = new TestDataHelper().getAllSMRUserProfile(\"SAPSMRElectricityUserforsingleMeter\");\n\tnew SubmitMeterReadAction()\n\t.openSMRpage(\"Electricity\")\n\t.verifyAndValidateSMRTitleFieldContent(smrProfile); \n}", "public static void main(String[] args) {\n\t\t// apresentando informações em tela, salario e VR.\n\t\tSystem.out.println(\" SALARIO: R$ 1641,00\");\n\t\tSystem.out.println(\" VALE-REFEIÇÃO: R$ 409,00\");\n\t\t\n//fim\n\t}", "private static void simpleRun(String [] args){\n\t\tString applicationPath = convertApplication(args[2], null);\n\t\tboolean testHardware = args[0].equals(\"-testCGRAVerilog\");\n\t\t\n\t\t\n\t\tboolean synthesis = false;\n\t\tif(args[0].equals(\"-testCGRAVerilog\") || args[3].equals(\"true\")){\n\t\t\tsynthesis = true;\n\t\t} else if (args[3].equals(\"false\")){\n\t\t\tsynthesis = false;\n\t\t} else{\n\t\t\tSystem.out.println(\"Synthesis parameter not set correctly: \" + args[3]+ \"\");\n\t\t\tSystem.out.println(\"Valid values are \\\"true\\\" and \\\"false\\\"\");\n\t\t\tSystem.out.println(\"Aborting...\");\n\t\t\treturn;\n\t\t}\n\t\t\n\t\t\n\t\tConfMan configManager = new ConfMan(args[1], applicationPath, synthesis);\n\t\t\n\t\tTrace simpleRunTrace = new Trace(System.out, System.in, \"\", \"\");\n\t\tif(configManager.getTraceActivation(\"config\")){\n\t\t\tsimpleRunTrace.setPrefix(\"config\");\n\t\t\tconfigManager.printConfig(simpleRunTrace);\n\t\t}\n\n\t\tDecimalFormatSymbols symbols = new DecimalFormatSymbols();\n\t\tsymbols.setGroupingSeparator(',');\n\t\tsymbols.setDecimalSeparator('.');\n\t\tDecimalFormat formater = new DecimalFormat(\"#.000\", symbols);\n\t\t\n\t\tAmidarSimulationResult results = run(configManager, null, testHardware);\n\t\t\n\t\tif(configManager.getTraceActivation(\"results\")){\n\t\t\tsimpleRunTrace.setPrefix(\"results\");\n\t\t\tsimpleRunTrace.printTableHeader(\"Simulated \"+applicationPath+\" - Synthesis \"+(configManager.getSynthesis()?\"ON\":\"OFF\"));\n\t\t\tsimpleRunTrace.println(\"Ticks: \"+results.getTicks());\n\t\t\tsimpleRunTrace.println(\"Bytecodes: \"+results.getByteCodes());\n\t\t\tsimpleRunTrace.println(\"Energy consumption: \"+formater.format(results.getEnergy()));\n\t\t\tsimpleRunTrace.println(\"Execution Time: \"+results.getExecutionDuration()+\" ms\");\n\t\t\tsimpleRunTrace.printTableHeader(\"Loop Profiling\");\n\t\t\tresults.getProfiler().reportProfile(simpleRunTrace);\n\t\t\tsimpleRunTrace.printTableHeader(\"Kernel Profiling\");\n\t\t\tresults.getKernelProfiler().reportProfile(simpleRunTrace, results.getTicks());\n\t\t}\n\t\t\n\t\tif(testHardware){\n\t\t\tsimpleRunTrace.setPrefix(\"CGRA verilog test\");\n\t\t\tsimpleRunTrace.printTableHeader(\"Testing CGRA Verilog descrption\");\n\t\t\tAmidar core = results.getAmidarCore();\n\t\t\tCGRA myCGRA = (CGRA)core.functionalUnits[core.functionalUnits.length-1]; // CGRA is the last one\n\t\t\t\n\t\t VerilogGenerator gen = target.Processor.Instance.getGenerator();\n\t\t CgraModel model = myCGRA.getModel();\n\t\t model.finalizeCgra();\n\t\t simpleRunTrace.println(\"Generate Verilog...\");\n\t\t gen.printVerilogDescription(\"out\",model);\n\t\t TestbenchGeneratorAmidar tbgen = new TestbenchGeneratorAmidar((VerilogGeneratorAmidar) gen);\n\t\t StimulusAmidar[] stimuli = new StimulusAmidar[1];\n\t\t stimuli = myCGRA.getStimulus().toArray(stimuli);\n\t\t TestbenchContextGenerator tbcongen = new TestbenchContextGenerator(model);\n\t\t tbcongen.exportContext(myCGRA.getContextCopyPEs(), myCGRA.getContextCopyCBOX(), myCGRA.getContextCopyCCU());\n//\t\t for(Stimulus stim : stimuli){\n//\t\t \tSystem.out.println(stim);\n//\t\t }\n\t\t \n\t\t tbgen.exportAppAndPrintTestbench(stimuli);\n\t\t \n//\t\t tbgen.importAppAndPrintTestbench(\"SimpleTest.main\");\n\t\t TestbenchExecutor tbex = new TestbenchExecutor();\n\t\t \n\t\t if(tbex.runTestbench()){\n\t\t \tsimpleRunTrace.println(\"Run was successful - Cosimulation succeeded\");\n\t\t }\n\t\t else{\n\t\t \tConsistencyChecker sammi = new ConsistencyChecker();\n\t\t \tboolean mismatch = sammi.findRegfileMismatch();\n\t\t \tif(mismatch){\n\t\t \t\tsimpleRunTrace.println(\"Error(s) during Simulation. Something went wrong in the data path\");\n\t\t \t}\n\t\t \telse{\n\t\t \t\tsimpleRunTrace.println(\"Emulation / HDL missmatch. Maybe there's is something not equal concerning the communication or FSM.\");\n\t\t \t}\n\t\t }\n\t\t}\n\t\t\n\n\t}", "private static void showRegs(MicroBlazeProcessor mb) {\r\n RegisterFile regs = mb.getRegisterFile();\r\n //System.out.println(\"General Purpose Registers Values:\");\r\n console.print(\"General Purpose Registers Values:\");\r\n for(int i=0; i<regs.numRegisters(); i++) {\r\n console.print(\"[\" + i + \"]:\" + regs.read(i));\r\n //System.out.println(\"[\" + i + \"]:\" + regs.read(i));\r\n }\r\n }", "public void display()\r\n\t{\r\n\t\tSystem.out.println(\"Dollar: $\"+getAmount());\r\n\t\tSystem.out.println(\"Rupiah: Rp.\"+dollarTorp());\r\n\t}", "@Test\n public void test14() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.SFEntropyGain();\n assertEquals(0.0, double0, 0.01D);\n }", "public MSRModel getMSRModel() throws DeviceException;", "public float getMaxSR() {\n return maxSR;\n }", "@Override\r\n\tpublic String getName() {\r\n\t\treturn \"Marginal Modes Monte Carlo inference\\t\" + numSimulations;\r\n\t}", "public synchronized void PrintDisplayList()\t{\n\t\tSystem.out.print(\"\\n\\tCar Model:\"+getModel()+\"\\n\\tBase Price is:\"\n +getBasePrice());\n\t\tfor(OptionSet Temp: opset)\n System.out.print(Temp.DisplayOptionSet());\n }", "@Test(description = \"Test to validate the EMI feature with different tenure and interest rate\", priority = 0)\n\tpublic void UserStory2() throws HeadlessException, AWTException, IOException, InterruptedException\n\t{\n\t\tLoanCalculatorPage loan_cal = new LoanCalculatorPage();\n\t\tloan_cal.validateCalHomePage();\n\t\t//testLog.log(Status.INFO, \"Loan calculator page launched\");\n\n\t\t\n\t\tint testCaseID = 3;\n\t\t\n\t\t//Enter the values in calculator and validate output\n\t\tloan_cal.ValidateDetails(loan_cal.GetEMI(testCaseID));\n\t\t\n\t}", "public void display(){\n\t\tSystem.out.print(programGrade + \" \" + examGrade );\n\t\t\n\t\t\n\t}", "private void instruct() {\n\t\tif (vsComputer) {\n\t\t\tSystem.out.println(\"\"\"\n 1. Stone\n 2. Paper\n 3. Scissors\n You have to enter your choice\n \"\"\");\n\t\t}\n\t}", "public void tune() {\n\t\tSystem.out.println(\"ting.. ting...\");\n\t}", "public void setValuesForDisplay() {\n \tthis.trainModelGUI.tempLabel.setText(Integer.toString(this.temperature) + DEGREE + \"F\");\n\n //this.trainCars = this.trainModelGUI.numCars();\n this.trainWheels = this.trainCars * TRAIN_NUM_WHEELS;\n this.trainModelGUI.crewCountLabel.setText(Integer.toString(crew));\n this.trainModelGUI.heightVal.setText(Double.toString(truncateTo(this.trainHeight, 2)));\n this.trainModelGUI.widthVal.setText(Double.toString(truncateTo(this.trainWidth, 2)));\n this.trainModelGUI.lengthVal.setText(Double.toString(truncateTo(this.trainLength, 2)));\n this.trainModelGUI.weightVal.setText(Integer.toString(((int)this.trainWeight)));\n this.trainModelGUI.capacityVal.setText(Integer.toString(this.trainCapacity));\n this.trainModelGUI.powerVal.setText(Double.toString(truncateTo(this.powerIn/1000,2)));\n \n GPSAntenna = this.trainModelGUI.signalFailStatus();\n if(!GPSAntenna) {\n \tthis.trainModelGUI.gpsAntennaStatusLabel.setText(\"ON\");\n } else {\n \tthis.trainModelGUI.gpsAntennaStatusLabel.setText(\"OFF\");\n }\n MBOAntenna = this.trainModelGUI.signalFailStatus();\n if(!MBOAntenna) {\n \tthis.trainModelGUI.mboAntennaStatusLabel.setText(\"ON\");\n } else {\n \tthis.trainModelGUI.mboAntennaStatusLabel.setText(\"OFF\");\n }\n \t\n \tthis.trainModelGUI.timeVal.setText(trnMdl.currentTime.toString());\n \tthis.trainModelGUI.stationVal.setText(this.station);\n \t\n \tif(rightDoorIsOpen == true) {\n \tthis.trainModelGUI.rightDoorStatusLabel.setText(\"OPEN\");\n } else {\n \tthis.trainModelGUI.rightDoorStatusLabel.setText(\"CLOSED\");\n }\n \tif(leftDoorIsOpen == true) {\n \tthis.trainModelGUI.leftDoorStatusLabel.setText(\"OPEN\");\n } else {\n \tthis.trainModelGUI.leftDoorStatusLabel.setText(\"CLOSED\");\n }\n\n \tif(lightsAreOn == true) {\n \t\tthis.trainModelGUI.lightStatusLabel.setText(\"ON\");\n } else {\n \tthis.trainModelGUI.lightStatusLabel.setText(\"OFF\");\n }\n \t\n \tthis.trainModelGUI.numPassengers.setText(Integer.toString(this.numPassengers));\n \tthis.trainModelGUI.numCarsSpinner.setText(Integer.toString(this.trainCars));\n \tthis.trainModelGUI.authorityVal.setText(Double.toString(truncateTo(this.CTCAuthority/METERS_PER_MILE,2)));\n \tthis.trainModelGUI.ctcSpeedLabel.setText(Double.toString(truncateTo(this.CTCSpeed*KPH_TO_MPH,2)));\n \t\n \tif(serviceBrake) {\n \t\tthis.trainModelGUI.serviceLabel.setText(\"ON\");\n } else {\n \tthis.trainModelGUI.serviceLabel.setText(\"OFF\");\n }\n \tif(emerBrake) {\n \t\tthis.trainModelGUI.emergencyLabel.setText(\"ON\");\n } else {\n \tthis.trainModelGUI.emergencyLabel.setText(\"OFF\");\n }\n \t\n \tif(this.arrivalStatus == ARRIVING) {\n \t\tthis.trainModelGUI.arrivalStatusLabel.setText(\"ARRIVING\");\n \t} else if (this.arrivalStatus == EN_ROUTE) {\n \t\tthis.trainModelGUI.arrivalStatusLabel.setText(\"EN ROUTE\");\n \t} else if (this.arrivalStatus == APPROACHING) {\n \t\tthis.trainModelGUI.arrivalStatusLabel.setText(\"APPROACHING\");\n \t} else {\n \t\tthis.trainModelGUI.arrivalStatusLabel.setText(\"DEPARTING\");\n embarkingPassengersSet = false;\n \t}\n\n \tthis.trainModelGUI.currentSpeedLabel.setText(Double.toString(truncateTo((this.currentSpeed*MS_TO_MPH), 2)));\n \n \tif (this.lineColor.equals(\"GREEN\")) {\n \t\tthis.trainModelGUI.lblLine.setText(lineColor);\n \t\tthis.trainModelGUI.lblLine.setForeground(Color.GREEN);\n \t} else {\n \t\tthis.trainModelGUI.lblLine.setText(\"RED\");\n \t\tthis.trainModelGUI.lblLine.setForeground(Color.RED);\n }\n \t\n }", "public void printRules_RVLR () {\n \n System.out.println(\"PRINTING RULESET ID : \" + this.id + \" (\" + this.size() + \") entries.\");\n for (int i = 0; i < this.size(); i++) {\n \n System.out.println(\"Rule \" + (i+1) + \" (ID \" + references.get(i) + \") : \" + this.rulelist.getRuleByID(references.get(i)) + \" Prob : \" + this.rulelist.getRuleByID(references.get(i)).getProb() + \" TIMES \" + this.rulelist.getRuleByID(references.get(i)).occurrencies + \" PREC \" + this.rulelist.getRuleByID(references.get(i)).prec_occurrencies + \" Value : \" + this.rulelist.getRuleByID(references.get(i)).get_RVRL());\n }\n System.out.println(\"Total Prob : \" + this.totalProb);\n //System.out.println(\"Precedences : \" + this.precedences);\n }", "private double generateEngineSize(String model) {\n\t\tif (model.equals(\"compact\")) {\n\t\t\treturn (double) Math.round((90 + (150 - 90) * randomGenerator.nextDouble()) * 100) / 100;\n\t\t} else if (model.equals(\"intermediate\")) {\n\t\t\treturn (double) Math.round((150 + (250 - 150) * randomGenerator.nextDouble()) * 100) / 100;\n\t\t} else {\n\t\t\treturn (double) Math.round((250 + (400 - 250) * randomGenerator.nextDouble()) * 100) / 100;\n\t\t}\n\t}", "private void displayNeuralNetwork() {\n \n float[] inputSignals = this.task.getInputSignalsVector();\n \n float positiveState = network.getNeuralLayer().getNeuron(0).getState(inputSignals);\n float negativeState = network.getNeuralLayer().getNeuron(1).getState(inputSignals);\n \n this.neuralLayerPanel.displayNeuralLayer(network.getNeuralLayer().getNeuron(0).getWeightsVector(),\n positiveState,\n network.getNeuralLayer().getNeuron(1).getWeightsVector(),\n negativeState); \n \n String answer = \"not your color\";\n if (positiveState > negativeState) {\n answer = \"your color\";\n }\n this.answerLabel.setText(answer);\n \n }", "public void cal_FireLoadRating(){\r\n\tFLOAD=1.75*Math.log10(TIMBER)+0.32*Math.log10(BUO)-1.640;\r\n\t//ensure that FLOAD is greater than 0, otherwise set it to 0;\r\n\tif (FLOAD<0){FLOAD=0;\r\n\t\t}else{FLOAD=Math.pow(10, FLOAD);\r\n\t}\r\n}", "public String getMlSdef11() {\n return mlSdef11;\n }", "@Test(timeout = 4000)\n public void test093() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n Evaluation evaluation0 = new Evaluation(instances0);\n Object[] objectArray0 = new Object[2];\n evaluation0.evaluateModel((Classifier) null, instances0, objectArray0);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n }", "@Test\n public void f4RULModelsTest() {\n //Parts of this test uses f12 (Associate asset type)\n\n //Go to first asset\n clickOn(\"#thumbnailTab\");\n FlowPane root = (FlowPane) scene.getRoot().lookup(\"#assetsThumbPane\");\n clickOn(root.getChildren().get(0)).sleep(1000);\n\n clickOn(\"#modelOutput\").sleep(3000);\n Text firstModel = (Text) scene.getRoot().lookup(\"#modelOutput\");\n String modelBefore = firstModel.getText();\n\n //Go to asset type info\n clickOn(\"#assetTypeMenuBtn\").sleep(2000);\n\n //select first asset type\n Node node = lookup(\"#columnName\").nth(1).query();\n clickOn(node).sleep(1000);\n clickOn(\"#associatedModelLabel\").sleep(1000);\n\n //go to model tab\n clickOn(scene.getRoot().lookup(\"#modelTab\")).sleep(1000);\n FlowPane models = (FlowPane) scene.getRoot().lookup(\"#modelsThumbPane\");\n\n //change to LSTM\n clickOn(models.getChildren().get(1)).sleep(1000);\n clickOn(\"#modelSaveBtn\").sleep(1000);\n\n //Go back to first asset to check the model again\n clickOn(\"#assetMenuBtn\").sleep(1000);\n clickOn(\"#thumbnailTab\").sleep(1000);\n root = (FlowPane) scene.getRoot().lookup(\"#assetsThumbPane\");\n\n //Check that the model of first asset changed\n clickOn(root.getChildren().get(0)).sleep(1000);\n clickOn(\"#modelOutput\").sleep(3000);\n Text secondModel = (Text) scene.getRoot().lookup(\"#modelOutput\");\n String modelAfter = secondModel.getText();\n\n assertNotSame(\"Models should be different after updating\", modelBefore, modelAfter);\n clickOn(\"#backBtn\").sleep(2000);\n }", "@Override\r\n public void updatedSalePrice(RevenueDTO revenue) {\r\n this.runningTotal = revenue.getRunningTotal();\r\n this.VAT = revenue.getVAT();\r\n String separator = \"=======================\\n\";\r\n System.out.println(\"Total: \" + this.runningTotal + \"kr\\tVAT Total: \" + this.VAT + \"kr\\n\" +\r\n separator);\r\n }", "public void executeView()\n\t{\n\t\tString cmd = \"\";\n\t\tString opar = Deducer.getUniqueName(\"opar\");\n\t\tcmd += (opar + \" <- par()\"); //save the original margin parameters\n\t\tcmd += (\"\\npar(mar=c(8, 4, 4, 0.5))\"); //give the plot more space at the bottom for long words.\n\t\tcmd += (\n\t\t\t\t\"\\nbarplot(\" \n\t\t\t\t+ \n\t\t\t\ttfDialog.getTermFreqCall(this.getExtraTermFreqArgs()) + \",\" \n\t\t\t\t+\n\t\t\t\t\"cex.names=0.8,\" //make the terms a bit smaller\n\t\t\t\t+\n\t\t\" las=2);\");\n\t\tcmd += (\"\\npar(\"+ opar +\")\");\n\t\tDeducer.execute(cmd);\n\t\tDeducer.execute(\"dev.set()\", false); //give the plot focus\n\t\t\n\t\t\n\t}", "@Override\n public String getName() {\n return \"StochasticDepressionAnalysis\";\n }" ]
[ "0.5747913", "0.57087165", "0.55736125", "0.54126155", "0.53939104", "0.5311854", "0.5287497", "0.52865636", "0.5272431", "0.52652985", "0.52389276", "0.5224544", "0.52034694", "0.51999754", "0.51633626", "0.5149013", "0.5146759", "0.51290834", "0.51207644", "0.5113878", "0.5107934", "0.51020867", "0.5030149", "0.5017575", "0.5009241", "0.4997404", "0.4985755", "0.4957481", "0.49399632", "0.49350488", "0.49309054", "0.49246666", "0.49196815", "0.49089226", "0.4893858", "0.48930225", "0.48815402", "0.4874465", "0.48708436", "0.48695415", "0.48691237", "0.4863108", "0.4861411", "0.48595238", "0.48578775", "0.48533207", "0.4849414", "0.48391625", "0.48385653", "0.48225778", "0.48224857", "0.48201665", "0.48148623", "0.48119983", "0.48096567", "0.48089665", "0.48066217", "0.48043147", "0.48005062", "0.47988158", "0.47978655", "0.4796496", "0.4794196", "0.47923437", "0.4790774", "0.4788904", "0.47856215", "0.4785414", "0.47830355", "0.47823328", "0.47749507", "0.47741282", "0.47723168", "0.47707278", "0.4767208", "0.47586372", "0.47534788", "0.474892", "0.47477764", "0.47474408", "0.4729966", "0.4720518", "0.47190556", "0.47170448", "0.47165534", "0.4716182", "0.47137347", "0.47108537", "0.47069237", "0.47059816", "0.4700116", "0.46950385", "0.46899414", "0.46889487", "0.4685987", "0.46850494", "0.46790615", "0.46775296", "0.46774802", "0.4672388" ]
0.652384
0
/ F11 The system shall provide the ability to add and remove a asset type
@Test @SuppressWarnings("unchecked") public void f11AddRemoveAssetTypeTest() { clickOn("#assetTypeMenuBtn").sleep(1000).moveBy(100, 0); clickOn("#assetName").moveBy(40, 200); TableView<AssetTypeList> assetTypes = (TableView<AssetTypeList>) scene.getRoot().lookup("#tableView"); int assetTypesDefaultSize = assetTypes.getItems().size(); //default size should be 4 assetTypes.scrollTo(assetTypesDefaultSize); Button button = (Button) scene.getRoot().lookup("#addAssetTypeBtn"); sleep(2000).clickOn(button).sleep(2000); //Enter info for new asset type clickOn("#assetTypeName").write("My New Engine").sleep(1000); clickOn("#assetTypeDescription").write("Adding a new asset for system testing.").sleep(1000); clickOn("#thresholdAdvisoryValue").write("300").sleep(1000); clickOn("#thresholdCautionValue").write("200").sleep(1000); clickOn("#thresholdWarningValue").write("100").sleep(1000); clickOn("#thresholdFailedValue").write("50").sleep(1000); clickOn("#saveBtn").sleep(1000); assetTypes = (TableView<AssetTypeList>) scene.getRoot().lookup("#tableView"); clickOn("#assetName").sleep(1000); assertEquals("Asset list contains an additional asset", assetTypes.getItems().size(), (assetTypesDefaultSize + 1)); //should now have default size + 1 item //Select last row Node node = lookup("#columnName").nth(assetTypes.getItems().size()).query(); clickOn(node).sleep(1000); //Delete the new asset type clickOn("#assetTypeName").sleep(1000); clickOn("#deleteBtn").sleep(500); type(KeyCode.SPACE).sleep(500); assetTypes = (TableView<AssetTypeList>) scene.getRoot().lookup("#tableView"); moveBy(0, 200); assetTypes.scrollTo(assetTypesDefaultSize); //back to original table sleep(3000); //Table should return to original size (of rows) after deleting the newly added asset. assertEquals("Asset list contains the same number of assets as before adding and deleting.", assetTypes.getItems().size(), assetTypesDefaultSize); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void f17AddRemoveAssetTest() {\n Button button = (Button) scene.getRoot().lookup(\"#addAssetBtn\");\n\n assertNotNull(\"Button to add asset exists\", button);\n assertEquals(\"Add Asset\", button.getText());\n\n clickOn(button).sleep(1000);\n //Enter info for new asset\n clickOn(\"#assetNameInput\").write(\"My New Asset\").sleep(1000);\n clickOn(\"#assetTypeChoiceBox\").type(KeyCode.DOWN).sleep(1000).type(KeyCode.ENTER).sleep(1000);\n clickOn(\"#assetDescriptionInput\").write(\"Adding a new asset for system testing\").sleep(1000);\n clickOn(\"#serialNumberInput\").write(\"192837465\").sleep(1000);\n clickOn(\"#manufacturerInput\").write(\"Asset in good condition\").sleep(1000);\n clickOn(\"#categoryInput\").write(\"Category 2\").sleep(1000);\n clickOn(\"#siteInput\").write(\"Regularly checked\").sleep(1000);\n clickOn(\"#locationInput\").write(\"Montreal Qc\").sleep(1000);\n\n // TODO: Complete the test (save button) once Add Asset bug is fixed.\n clickOn(scene.getRoot().lookup(\"#cancelBtn\")).sleep(3000);\n }", "default AssetType getAssetType() {\n throw new UnsupportedOperationException();\n }", "public void addResourceCard(HexType type){\n \n }", "public void create(AssetType type) {\n entityManager.persist(type);\n return;\n }", "public void removeFromInventoryDHandles (String inputType, String inputColor, String inputStandard){\n }", "public void deleteAssetClass(String name_);", "public String assetType() {\n return assetType;\n }", "gov.nih.nlm.ncbi.www.MedlineSiDocument.MedlineSi.Type addNewType();", "@Override\n\tpublic void deleteMechanicalAssetType(String aMechanicalAssetTypeId) {\n\t}", "@Override\n public void onProjectNodeAdded(Project project, ProjectNode node) {\n if (node instanceof YoungAndroidAssetNode) {\n String assetName = node.getName();\n\n // Add it to the list if it isn't already there.\n // It could already be there if the user adds an asset that's already there, which is the way\n // to replace the asset.\n if (!choices.containsValue(assetName)) {\n choices.addItem(assetName);\n }\n\n // Check whether our asset was updated.\n String currentValue = property.getValue();\n if (assetName.equals(currentValue)) {\n // Our asset was updated.\n // Set the property value to blank and then back to the current value.\n // This will force the component to update itself (for example, it will refresh its image).\n property.setValue(\"\");\n property.setValue(currentValue);\n }\n }\n }", "com.microsoft.schemas.xrm._2013.metadata.AttributeTypeDisplayName addNewAttributeTypeDisplayName();", "protected void addInventoryItemType() {\n\t\tProperties props = new Properties();\n\n\t\t/* DEBUG\n\t\t\n\t\tSystem.out.println(typeNameTF.getText());\n\t\tSystem.out.println(unitsTF.getText());\n\t\tSystem.out.println(unitMeasureTF.getText());\n\t\tSystem.out.println(validityDaysTF.getText());\n\t\tSystem.out.println(reorderPointTF.getText());\n\t\tSystem.out.println(notesTF.getText());\n\t\tSystem.out.println(statusCB.getValue());\n\t\n\t\t*/ \n\n\t\t// Set the values.\n\t\tprops.setProperty(\"ItemTypeName\", typeNameTF.getText());\n\t\tprops.setProperty(\"Units\", unitsTF.getText());\n\t\tprops.setProperty(\"UnitMeasure\", unitMeasureTF.getText());\n\t\tprops.setProperty(\"ValidityDays\", validityDaysTF.getText());\n\t\tprops.setProperty(\"ReorderPoint\", reorderPointTF.getText());\n\t\tprops.setProperty(\"Notes\", notesTF.getText());\n\t\tprops.setProperty(\"Status\", (String) statusCB.getValue());\n\n\t\t// Create the inventory item type.\n\t\tInventoryItemType iit = new InventoryItemType(props);\n\n\t\t// Save it into the database.\n\t\tiit.update();\n\n\t\tpopulateFields();\n\t\t\n\t\t// Display message on GUI.\n\t\t//submitBTN.setVisible(false);\n\t\tcancelBTN.setText(\"Back\");\n\t\tmessageLBL.setText(\"Inventory Item Type added.\");\n\t}", "private static void populateArtworkTypes() {\r\n if (artworkTypes.isEmpty()) {\r\n artworkTypes.add(TYPE_CLEARART);\r\n artworkTypes.add(TYPE_CLEARLOGO);\r\n artworkTypes.add(TYPE_SEASONTHUMB);\r\n artworkTypes.add(TYPE_TVTHUMB);\r\n artworkTypes.add(TYPE_CHARACTERART);\r\n artworkTypes.add(TYPE_CDART);\r\n }\r\n }", "String getType() {\n\t\treturn \"Athlete\";\n\t}", "public void discard(Type type) {\n \t\tType choice = type;\n \n \t\t// pick random type if none is specified\n \t\tif (choice == null) {\n \t\t\twhile (true) {\n \t\t\t\tint pick = (int) (Math.random() * Hexagon.TYPES.length);\n \t\t\t\tif (resources[pick] > 0) {\n \t\t\t\t\tchoice = Hexagon.TYPES[pick];\n \t\t\t\t\tbreak;\n \t\t\t\t}\n \t\t\t}\n \t\t}\n \n \t\tuseResources(choice, 1);\n \n \t\tint res = Hexagon.getTypeStringResource(choice);\n \t\tappendAction(R.string.player_discarded, res);\n \t}", "private Asset() {\r\n super(IAsset.TYPE_ID);\r\n }", "public void setType(Material type) {\n this.type = type;\n }", "public void actionTYPE(Node<TokenAttributes> node) {\n if (node.getChildren().get(0).getNodeData().getText().equals(\"TYPE\")) {\n BIB.removeNode(node);\n }\n }", "@Test\n public void f12AssociateAssetTypeWithModelTest() {\n clickOn(\"#assetTypeMenuBtn\").sleep(2000);\n\n //select second asset type\n Node node = lookup(\"#columnName\").nth(2).query();\n clickOn(node).sleep(1000);\n\n clickOn(\"#associatedModelLabel\").sleep(1000);\n Label label = (Label) scene.getRoot().lookup(\"#associatedModelLabel\");\n String modelBefore = label.getText();\n\n //go to model tab\n clickOn(scene.getRoot().lookup(\"#modelTab\")).sleep(1000);\n FlowPane models = (FlowPane) scene.getRoot().lookup(\"#modelsThumbPane\");\n\n //change to RandomForest\n clickOn(models.getChildren().get(2)).sleep(1000);\n clickOn(\"#modelSaveBtn\").sleep(1000);\n\n node = lookup(\"#columnName\").nth(2).query();\n clickOn(node);\n\n label = (Label) scene.getRoot().lookup(\"#associatedModelLabel\");\n String modelAfter = label.getText();\n\n clickOn(\"#associatedModelLabel\").sleep(3000);\n //model after changing should not be the same\n assertFalse(\"Model after changing is the same as it was before.\", modelBefore.equals(modelAfter));\n }", "public void setType(String type);", "public void setType(String type);", "public void setType(String type);", "public void addType(TypeData type) { types.add(type); }", "boolean registerType(SpawnType spawnType);", "@FXML\n\tpublic void enableType(ActionEvent event) {\n\t\t// boolean typeExists=false;\n\t\tif (!txtNameDisableProductType.getText().isEmpty()) {\n\t\t\tProductType productType = restaurant.returnProductType(txtNameDisableProductType.getText());\n\t\t\tif (productType != null) {\n\n\t\t\t\ttry {\n\t\t\t\t\tproductType.setCondition(Condition.ACTIVE);\n\t\t\t\t\trestaurant.saveProductTypeData();\n\t\t\t\t\tDialog<String> dialog = createDialog();\n\t\t\t\t\tdialog.setContentText(\"El tipo de producto ha sido habilitado\");\n\t\t\t\t\tdialog.setTitle(\"Tipo de producto habilitado\");\n\t\t\t\t\tdialog.show();\n\t\t\t\t\ttxtNameDisableProductType.setText(\"\");\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t\tDialog<String> dialog = createDialog();\n\t\t\t\t\tdialog.setContentText(\"No se ha podido guardar el nuevo estado del tipo de producto\");\n\t\t\t\t\tdialog.setTitle(\"Error al guardar datos\");\n\t\t\t\t\tdialog.show();\n\n\t\t\t\t}\n\n\t\t\t\t/*\n\t\t\t\t * for(int i=0;i<typeOptions.size() && !typeExists;i++) {\n\t\t\t\t * if(typeOptions.get(i).equals(productType.getName())) typeExists=true; }\n\t\t\t\t * \n\t\t\t\t * if (typeExists==false) { typeOptions.add(productType.getName()); }\n\t\t\t\t */\n\n\t\t\t} else {\n\t\t\t\ttypeOptions.add(txtNameDisableProductType.getText());\n\t\t\t\tDialog<String> dialog = createDialog();\n\t\t\t\tdialog.setContentText(\"Este tipo de producto no existe. Ha sido añadido\");\n\t\t\t\tdialog.setTitle(\"Error, objeto no existente\");\n\t\t\t\tdialog.show();\n\t\t\t}\n\t\t}\n\n\t\telse {\n\t\t\tDialog<String> dialog = createDialog();\n\t\t\tdialog.setContentText(\"Todos los campos deben de ser llenados\");\n\t\t\tdialog.setTitle(\"Error al guardar datos\");\n\t\t\tdialog.show();\n\t\t}\n\n\t}", "public void clear_type(String type) {\n\t\t/* Iterate through draw list */\n\t\tIterator<ArrayList<Drawable>> iter = this.drawlist.iterator();\n\t\twhile(iter.hasNext()) {\n\t\t\tArrayList<Drawable> layer = iter.next();\n\t\t\t/* Iterate through the layer. */\n\t\t\tIterator<Drawable> jter = layer.iterator();\n\t\t\twhile(jter.hasNext()) {\n\t\t\t\tif(jter.next().getType().equals(type)) {\n\t\t\t\t\tjter.remove();\n\t\t\t\t}//fi\n\t\t\t}//elihw\n\t\t}//elihw\n\t}", "private void addToOutOfTypeSystemData(String typeName, Attributes attrs)\n throws XCASParsingException {\n if (this.outOfTypeSystemData != null) {\n FSData fsData = new FSData();\n fsData.type = typeName;\n fsData.indexRep = null; // not indexed\n String attrName, attrValue;\n for (int i = 0; i < attrs.getLength(); i++) {\n attrName = attrs.getQName(i);\n attrValue = attrs.getValue(i);\n if (attrName.startsWith(reservedAttrPrefix)) {\n if (attrName.equals(XCASSerializer.ID_ATTR_NAME)) {\n fsData.id = attrValue;\n } else if (attrName.equals(XCASSerializer.CONTENT_ATTR_NAME)) {\n this.currentContentFeat = attrValue;\n } else if (attrName.equals(XCASSerializer.INDEXED_ATTR_NAME)) {\n fsData.indexRep = attrValue;\n } else {\n fsData.featVals.put(attrName, attrValue);\n }\n } else {\n fsData.featVals.put(attrName, attrValue);\n }\n }\n this.outOfTypeSystemData.fsList.add(fsData);\n this.currentOotsFs = fsData;\n // Set the state; we're ready to accept the \"content\" feature,\n // if one is specified\n this.state = OOTS_CONTENT_STATE;\n }\n }", "@Override\n\tpublic void addInstrumentType(String type) {\n\t\t\n\t}", "public void addFuelTankType(FuelCapacity Ftype) {\n\t\t\r\n\t}", "void stageAutomatorTypeResource(String id, String resourceType, String resourceName, String version)\n throws IOException;", "void setType(java.lang.String type);", "String getAssetTypeRestriction();", "public AssetType createAssetType(AssetType assetType) throws IOException {\n try {\n String strBody = null;\n Map<String, String> params = null;\n String correctPath = \"/AssetTypes\";\n UriBuilder uriBuilder = UriBuilder.fromUri(apiClient.getBasePath() + correctPath);\n String url = uriBuilder.build().toString();\n\n \n strBody = apiClient.getObjectMapper().writeValueAsString(assetType);\n\n String response = this.DATA(url, strBody, params, \"POST\");\n TypeReference<AssetType> typeRef = new TypeReference<AssetType>() {};\n return apiClient.getObjectMapper().readValue(response, typeRef);\n\n } catch (IOException e) {\n throw xeroExceptionHandler.handleBadRequest(e.getMessage());\n } catch (XeroApiException e) {\n throw xeroExceptionHandler.handleBadRequest(e.getMessage(), e.getResponseCode(),JSONUtils.isJSONValid(e.getMessage()));\n }\n }", "public void onFinishClicked(View view) {\n Type type = super.readFields(MainActivity.typeIdCount++);\n MainActivity.db.addType(type);\n MainActivity.updateTypeNames();\n\n //Display confirmation message\n Toast.makeText(getApplicationContext(), \"Type added!\", Toast.LENGTH_SHORT).show();\n finish();\n }", "public void setUsageType(String usageType);", "public abstract void setType();", "public static void destroyType() {\n\t\t\n\t}", "public void delete(AssetType assetType) {\n if (entityManager.contains(assetType))\n entityManager.remove(assetType);\n else\n entityManager.remove(entityManager.merge(assetType));\n return;\n }", "static void TinkersEdits()\n\t{\n\t\tGameRegistry.addShapelessRecipe(new ItemStack(14276/*Seared Brick Ingot*/,3,2), new ItemStack(1474/*Seared Brick Block*/,1,2));\n\t}", "boolean isApplicableForAssetType(final AssetType assetType);", "public String createAssetClass(AssetClass assetClass_);", "public boolean add(Type item);", "public void addType(String value) {\n/* 380 */ addStringToBag(\"type\", value);\n/* */ }", "@FXML\n\tpublic void disableType(ActionEvent event) {\n\t\tif (!txtNameDisableProductType.getText().equals(\"\")) {\n\t\t\tProductType productType = restaurant.returnProductType(txtNameDisableProductType.getText());\n\t\t\tif (productType != null) {\n\t\t\t\ttry {\n\t\t\t\t\tproductType.setCondition(Condition.INACTIVE);\n\t\t\t\t\ttypeOptions.remove(productType.getName());\n\t\t\t\t\trestaurant.saveProductTypeData();\n\t\t\t\t\tDialog<String> dialog = createDialog();\n\t\t\t\t\tdialog.setContentText(\"El tipo de producto ha sido deshabilitado\");\n\t\t\t\t\tdialog.setTitle(\"Tipo de producto Deshabilitado\");\n\t\t\t\t\tdialog.show();\n\t\t\t\t\ttxtNameDisableProductType.setText(\"\");\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t\tDialog<String> dialog = createDialog();\n\t\t\t\t\tdialog.setContentText(\"No se ha podido guardar el nuevo estado del tipo de producto\");\n\t\t\t\t\tdialog.setTitle(\"Error al guardar datos\");\n\t\t\t\t\tdialog.show();\n\t\t\t\t}\n\n\t\t\t} else {\n\t\t\t\tDialog<String> dialog = createDialog();\n\t\t\t\tdialog.setContentText(\"Este tipo de producto no existe\");\n\t\t\t\tdialog.setTitle(\"Error, objeto no existente\");\n\t\t\t\tdialog.show();\n\t\t\t}\n\n\t\t} else {\n\t\t\tDialog<String> dialog = createDialog();\n\t\t\tdialog.setContentText(\"Todos los campos deben de ser llenados\");\n\t\t\tdialog.setTitle(\"Error al guardar datos\");\n\t\t\tdialog.show();\n\t\t}\n\t}", "public void useResources(Type type, int count) {\n \t\tresources[type.ordinal()] -= count;\n \t}", "public <T extends Asset> void load(T asset, String key, Class<T> type)\n {\n if (AssetManager.UNSAFE && this.getFamily(type) == null)\n {\n Engine.Log.warning(\"[ASSETMANAGER] unsafe asset family creation with family type '\" + type.getSimpleName() + \"'\");\n this.registerFamily(new AssetFamily<>(type));\n }\n\n AssetFamily<T> family = this.getFamily(type);\n family.put(key, asset);\n asset.key(key);\n\n Engine.Log.info(\"[ASSETMANAGER] [LOADING] asset \" + key + \" in family \" + type.getSimpleName());\n }", "public String relatedAssetType() {\n return relatedAssetType;\n }", "public void handleChangedAssets(Enumeration newAssets) {\n handleNewAssets (newAssets);\n }", "@Override\n public String getDescription() {\n return \"Asset issuance\";\n }", "@Override\n\tpublic MechanicalAssetType addAMechanicalAssetType(MechanicalAssetType aMechanicalAssetType) {\n\t\treturn null;\n\t}", "@Override\n public boolean onOptionsItemSelected(@NonNull MenuItem item) {\n\n switch (item.getItemId()){\n\n case R.id.save:\n\n if (assetDB.assetCount() == 0)\n {\n Toast.makeText(this, \"Fill all the fields\", Toast.LENGTH_SHORT).show();\n }\n else {\n Intent back = new Intent(this, AddAssetsLiabilities.class);\n String save = \"Assets\";\n back.putExtra(\"saved\", save);\n startActivity(back);\n }\n\n return true;\n default:\n return super.onOptionsItemSelected(item);\n }\n\n }", "public static void putAsset(Asset asset) {\n \n \t\tif (asset == null) {\n \t\t\treturn;\n \t\t}\n \n \t\tassetMap.put(asset.getId(), asset);\n \n \t\t// Invalid images are represented by empty assets.\n \t\t// Don't persist those\n \t\tif (asset.getImage().length > 0) {\n \t\t\tputInPersistentCache(asset);\n \t\t}\n \n \t\t// Clear the waiting status\n \t\tassetLoader.completeRequest(asset.getId());\n \n \t\t// Listeners\n \t\tList<AssetAvailableListener> listenerList = assetListenerListMap.get(asset.getId());\n \t\tif (listenerList != null) {\n \t\t\tfor (AssetAvailableListener listener : listenerList) {\n \t\t\t\tlistener.assetAvailable(asset.getId());\n \t\t\t}\n \n \t\t\tassetListenerListMap.remove(asset.getId());\n \t\t}\n \t}", "public AssetClass updateAssetClass(AssetClass changedAssetClassModel_);", "@Override\n public void changeDescriptorType(CatalogItem item, int index, int descriptorType) {\n\n }", "@Override\r\n\tpublic int getType() {\n\t\treturn EyeTrackerItem.TYPE_INVALID;\r\n\t}", "public void settype(String cat) { this.type = cat; }", "public abstract String typeIcon();", "public void set_surface_type(int st) {\n surface_type = st;\n }", "public void addDataformatToSaveToSystemList(FileType type) {\r\n\t\tList<String> dataformatsToSystem;\r\n\t\tif(this.settings.containsKey(\"dataformatsToSystem\")) {\r\n\t\t\tdataformatsToSystem = new ArrayList<String>(Arrays.asList(String.valueOf(this.settings.get(\"dataformatsToSystem\")).split(\",\")));\r\n\t\t\tif(!dataformatsToSystem.contains(type.toString())) {\r\n\t\t\t\tdataformatsToSystem.add(type.toString());\r\n\t\t\t}\r\n\t\t\tthis.settings.setProperty(\"dataformatsToSystem\", String.join(\",\", dataformatsToSystem));\r\n\t\t} else {\r\n\t\t\tdataformatsToSystem = new ArrayList<>();\r\n\t\t\tdataformatsToSystem.add(type.toString());\r\n\t\t\tthis.settings.setProperty(\"dataformatsToSystem\", String.join(\",\", dataformatsToSystem));\r\n\t\t}\t\t\r\n\t\tthis.saveChanges();\r\n\t}", "public void addStorage(StackType option);", "void editAssetValue(int newVal);", "public void setType(String type) {\n this.type = type;\n }", "public void addNewPicture() {\n ImageView imgView = (ImageView)findViewById(R.id.poll_object_btn_image);\n Resources res = getContext().getResources();\n if(this.type == \"generic\") {\n //add the new pciture for the generic type\n Bitmap bitmap = BitmapFactory.decodeResource(res, R.drawable.generic_new);\n imgView.setImageBitmap(bitmap);\n }else if(this.type == \"location\") {\n //add the new picture for the location type\n Bitmap bitmap = BitmapFactory.decodeResource(res, R.drawable.generic_new);\n imgView.setImageBitmap(bitmap);\n }else if(this.type == \"picture\") {\n //add the new picture for the picture type\n Bitmap bitmap = BitmapFactory.decodeResource(res, R.drawable.generic_new);\n imgView.setImageBitmap(bitmap);\n }\n }", "void setType(Type type)\n {\n this.type = type;\n }", "public void setTypeList(String type, boolean checkOrNo) {\n if(checkOrNo){\n typesCheckList.add(type);\n if(VV)System.out.println(\"adding\");\n } else{\n typesCheckList.remove(type);\n if(VV)System.out.println(\"deleting\");\n }\n }", "@Override\n public void onClick(View view) {\n selectedAsset = null;\n changeActivity(Activities.DAP_ASSET_EDITOR_ACTIVITY.getCode(), getAssetForEdit());\n }", "public void evt_DeleteCurrentType(short nType)\r\n {\r\n bts(rh4PickFlags, nType);\r\n\r\n int oil;\r\n CObjInfo oilPtr;\r\n for (oil = 0; oil < rhPtr.rhMaxOI; oil++)\r\n {\r\n oilPtr = rhPtr.rhOiList[oil];\r\n if (oilPtr.oilType == nType)\r\n {\r\n oilPtr.oilEventCount = rh2EventCount;\r\n oilPtr.oilListSelected = -1;\r\n oilPtr.oilNumOfSelected = 0;\r\n }\r\n }\r\n }", "public void saveResourceType(ResourceType resourceType);", "void setType(String type) {\n this.type = type;\n }", "public void rbListAddElement() {\n rbProductType.clear();\n rbProductType.add(rbScs);\n rbProductType.add(rbSko);\n rbProductType.add(rbMko);\n rbProductType.add(rbZko);\n }", "private void deleteBeatType(final BeatType beatType) {\n\t\t\n // panel that uses a filter to show any BeatTypes which reference this sound file so they can be dealt with\n final DeleteDialog refRhythms = new DeleteDialog(beatType);\n\n if (!refRhythms.hasData()) {\n // do the delete command, no fk references so those 2 params are null\n \t\tnew BeatTypesAndSoundsCommand.DeleteBeatType(beatType, null, null).execute();\n }\n else {\n ArrayList<Widget> widgets = new ArrayList<Widget>();\n widgets.add(new Label(String.format(resourceManager.getLocalisedString(TwlLocalisationKeys.CONFIRM_DELETE_PARAM), beatType.getName())));\n \n \twidgets.add(new Label(resourceManager.getLocalisedString((TwlLocalisationKeys.DELETE_BEAT_TYPE_REFERENCES))));\n \twidgets.add(refRhythms);\n \n ConfirmationPopup.Validation validation = new ConfirmationPopup.Validation() {\n \t\t\t@Override\n \t\t\tpublic boolean isValid(Widget byWidget) {\n \t\t\t\terrorText = null;\n \t\t\t\tBeatType newBeatType = refRhythms.getSelectedBeatType();\n \t\t\t\tif (refRhythms.hasData() && newBeatType == null) {\n \t\t\t\t\terrorText = resourceManager.getLocalisedString(TwlLocalisationKeys.DELETE_BEAT_TYPE_PROMPT_ANOTHER);\n \t\t\t\t\treturn false;\n \t\t\t\t}\n \t\t\t\telse\n \t\t\t\t\treturn true;\n \t\t\t}\n \t\t};\n \n \t\tCallbackWithReason<ConfirmationPopup.CallbackReason> callback = new CallbackWithReason<ConfirmationPopup.CallbackReason>() {\n public void callback(ConfirmationPopup.CallbackReason reason) {\n \tif (reason == ConfirmationPopup.CallbackReason.OK) {\n \t\tRhythm[] changeRhythms = null;\n \t\t\tBeatType newBeatType = null;\n \t\t\t\n \t\t\t// already tested above, so this is always true\n \t\tif (refRhythms.hasData()) {\n \t\t\t// update the beats to the new sound\n \t\t\tnewBeatType = refRhythms.getSelectedBeatType();\n \t\t\tFilteredListModel<RhythmXmlImpl> listRhythms = refRhythms.getReferencedRhythms();\n \t\t\t\n \t\t\t// have to copy the rhythms out of the filtered list because as they are updated they will\n \t\t\t// fail to be visible and model changes, so the following for loop is going to miss entries\n \t\t\t// later in the list \n \t\t\tchangeRhythms = new RhythmXmlImpl[listRhythms.size()];\n \t\t\tfor (int i = 0; i < listRhythms.size(); i++) {\n \t\t\t\tchangeRhythms[i] = listRhythms.get(i);\n \t\t\t}\n\n \t\t}\n \t\t\n \t\t// do the delete command\n \t\tnew BeatTypesAndSoundsCommand.DeleteBeatType(beatType, changeRhythms, newBeatType).execute();\n \t}\n \trefRhythms.dispose();\n \t\tinvalidateLayout();\n }\n };\n \t\t\t\t\n ConfirmationPopup.showDialogConfirm(validation, callback, BeatTypesList.this\n \t\t, resourceManager.getLocalisedString(TwlLocalisationKeys.CONFIRM_DELETE_TITLE), \n \t\tConfirmationPopup.OK_AND_CANCEL_BUTTONS, null, null, false, widgets.toArray(new Widget[widgets.size()]));\n }\n\n\t}", "private void clearMediaAssetScaleType() {\n \n mediaAssetScaleType_ = 0;\n }", "public void setType(String type) \n {\n this.type = type;\n }", "@Override\r\n public boolean canAddElement( int type ) {\n return type == Controller.GLOBAL_STATE;\r\n }", "void addToMyAssets(String userId,\n String assetGUID) throws InvalidParameterException,\n PropertyServerException,\n UserNotAuthorizedException;", "public void addReflector() throws IOException {\r\n\t\tSystem.out.println(\"Enter the reflector type you want to add\");\r\n\t\tString type = this.readStringFromCmd();\r\n\t\t\r\n\t\tenigma.addReflector(new Reflector(\"reflector\"+type));\r\n\t}", "@Test\n\tpublic void testModifySymbolTypefaceFromCatalog() throws Exception {\n\n\t\t// Modify the typeface of selected symbol\n\t\tint oldSymbolTypefaceIndex = mathEditSymbolsDlgTypeface.getSelIndex();\n\t\tint modifiedSymbolTypefaceIndex = (oldSymbolTypefaceIndex + 1 == mathEditSymbolsDlgTypeface\n\t\t\t\t.getItemCount()) ? 0 : (oldSymbolTypefaceIndex + 1);\n\t\tmathEditSymbolsDlgTypeface.select(modifiedSymbolTypefaceIndex);\n\t\t// select the next typeface of old typeface\n\t\tString modifiedSymbolTypeface = mathEditSymbolsDlgTypeface.getSelText();\n\t\tString selectedSymbol = mathEditSymbolsDlgSymbol.getText();\n\t\tmathEditSymbolsDlgModify.click();\n\t\tmathEditSymbolsDlg.ok();\n\n\t\t// Verify if the typeface of symbol is modified successfully\n\t\tmathSymbolsDlgEditButton.click();\n\t\tmathEditSymbolsDlgSymbol.select(selectedSymbol);\n\t\tassertEquals(\"Typeface of symbol is not modified successfully\",\n\t\t\t\tmodifiedSymbolTypeface, mathEditSymbolsDlgTypeface.getSelText());\n\t}", "public void setStorageType(short type) {\n\tstorageType = type;\n }", "private void addPressed() {\n\n\t\tJFileChooser fc = new JFileChooser();\n\t\tfc.setFileFilter(SwingFileFilterFactory.newMediaFileFilter());\n\t\tint returnVal = fc.showOpenDialog(Library.this);\n\t\tif (returnVal == JFileChooser.APPROVE_OPTION) {\n\t\t\tString newFile = fc.getSelectedFile().getAbsolutePath();\n\t\t\t// Check that file is a video or audio file.\n\t\t\tInvalidCheck i = new InvalidCheck();\n\t\t\tboolean isValidMedia = i.invalidCheck(newFile);\n\n\t\t\tif (!isValidMedia) {\n\t\t\t\tJOptionPane.showMessageDialog(Library.this, \"You have specified an invalid file.\", \"Error\", JOptionPane.ERROR_MESSAGE);\n\t\t\t\treturn;\n\t\t\t}else{\n\t\t\t\tselectedFile = fc.getSelectedFile();\n\t\t\t\tl.addElement(selectedFile.getName());\n\t\t\t\tpaths.put(selectedFile.getName(), selectedFile.getAbsolutePath());\n\t\t\t\tsizes.put(selectedFile.getName(),selectedFile.length());\n\t\t\t}\n\t\t}\n\t}", "boolean hasAsset();", "public void setType(String newtype)\n {\n type = newtype;\n }", "@Override\n\tpublic void type() {\n\t\t\n\t}", "public void addOrRemoveAssetInMaps(final CheckBox assetBox, boolean assetBoxChecked, String assetNameTV, String assetValueET){\n\n if (assetBoxChecked){\n\n if(!assetValueET.isEmpty() && countDecimals(assetValueET)){\n // assigningAsset.addAssets(assetNameTV, assetValueET);\n assetDB.addAsset(assetNameTV, assetValueET); //storing in db\n// int size1 = assigningAsset.assetNameList.size();\n// String size2 = size1.toString();\n //Toast.makeText(AssetsTable.this,String.valueOf(assigningAsset.assetNameList.size()) , Toast.LENGTH_SHORT).show();\n\n }\n\n else{\n assetBox.setChecked(false);\n Toast.makeText(this, \"Enter the correct value\", Toast.LENGTH_SHORT).show();\n }\n }\n else{\n Toast.makeText(this, \"CheckBox is unchecked\", Toast.LENGTH_SHORT).show();\n }\n\n\n }", "protected void setTypeId(String typeId) {\n\t\tcontext.getElement().setAttribute(\"typeId\", \"org.csstudio.opibuilder.widgets.\" + typeId);\n\t}", "@Schema(description = \"The specific asset type(s) the user wishes to receive leg options for\")\n \n public List<String> getUseAssetTypes() {\n return useAssetTypes;\n }", "private void tagDataType()\n {\n List<DataTypeInfo> dtList = myDataTypesSupplier.get();\n if (!dtList.isEmpty())\n {\n List<DataTypeInfoDisplayNameProxy> pxyList = DataTypeInfoDisplayNameProxy.toProxyList(dtList, null);\n Object selected = JOptionPane.showInputDialog(myToolbox.getUIRegistry().getMainFrameProvider().get(),\n CHOOSE_DATA_TYPE, CHOOSE_DATA_TYPE, JOptionPane.QUESTION_MESSAGE, null, pxyList.toArray(), pxyList.get(0));\n\n if (selected != null)\n {\n DataTypeInfoDisplayNameProxy proxy = (DataTypeInfoDisplayNameProxy)selected;\n StringBuilder sb = new StringBuilder(128);\n sb.append(\"Data Type: \").append(proxy.getItem().getDisplayName()).append(\"\\n\" + \"Current Tags Are:\\n \")\n .append(proxy.getItem().getTags().toString())\n .append(\"\\n\\n\" + \"Add a tag by typing in a NEW string that is not in the list.\\n\"\n + \"Remove a tag by typing in an EXISTING tag name.\");\n String result = JOptionPane.showInputDialog(myToolbox.getUIRegistry().getMainFrameProvider(), sb.toString());\n if (result != null)\n {\n if (proxy.getItem().hasTag(result))\n {\n proxy.getItem().removeTag(result, this);\n }\n else\n {\n proxy.getItem().addTag(result, this);\n }\n }\n }\n }\n }", "void addUses(Equipment newUses);", "void recallAutomatorTypeResource(String id, String resourceType, String resourceName, String version)\n throws IOException;", "public final native void setType(String type) /*-{\n this.setType(type);\n }-*/;", "public void addExemption(ExemptionType type) {\n exemptionTypes.put(type, -1L);\n }", "public void addCrafting(StackType option);", "public void harvest(Type type1, Type type2) {\n \t\taddResources(type1, 1);\n \t\taddResources(type2, 1);\n \n \t\tappendAction(R.string.player_got_resource, Hexagon\n \t\t\t\t.getTypeStringResource(type1));\n \t\tappendAction(R.string.player_got_resource, Hexagon\n \t\t\t\t.getTypeStringResource(type2));\n \t}", "public void createItem(View view) {\n \t\n String[] temp = getCurrentItemTypes();\n \n Intent intent = new Intent(this, CreateItem.class);\n intent.putExtra(EDIT, \"no\");\n intent.putExtra(TYPES, temp);\n startActivityForResult(intent, 1);\n }", "public void setType(int type)\n {\n editor.putInt(KEY_TYPE, type);\n // commit changes\n editor.commit();\n Log.d(TAG,\"user type modified in pref\");\n }", "private void setHabitType() {\n String title = getIntent().getStringExtra(\"ClickedHabitType\");\n habit_type = findHabitType(allHabits, title);\n }", "public void setType(String type){\n this.type = type;\n }", "public void setIconMode(IconMode currentInventoryMode);", "public void set_type(String type)\r\n\t{\r\n\t\tthis.type = type;\r\n\t}", "org.apache.geronimo.corba.xbeans.csiv2.tss.TSSGssExportedNameType addNewGssExportedName();", "public void setType( final int type )\n {\n this.type = type;\n fireActionChanged();\n }" ]
[ "0.6526167", "0.61671275", "0.61590314", "0.5798925", "0.5748833", "0.5729117", "0.57228684", "0.56750363", "0.56049114", "0.5447244", "0.5438705", "0.54355145", "0.542679", "0.53845406", "0.5373044", "0.5368006", "0.5337393", "0.5322285", "0.532034", "0.53057945", "0.53057945", "0.53057945", "0.5298597", "0.52939034", "0.52935237", "0.52879995", "0.52669245", "0.5266715", "0.5263822", "0.5254199", "0.52535933", "0.52350175", "0.52341956", "0.52300704", "0.52114457", "0.5211177", "0.51715714", "0.51241934", "0.5123843", "0.5117077", "0.51148146", "0.5106736", "0.5104486", "0.5096891", "0.50790733", "0.5062325", "0.5061578", "0.50610346", "0.50334877", "0.5033239", "0.50327146", "0.50242335", "0.50228715", "0.50158703", "0.50092", "0.4999469", "0.49990648", "0.499871", "0.49962685", "0.4995908", "0.49943653", "0.49932268", "0.49906072", "0.49827337", "0.4977282", "0.49741834", "0.49721178", "0.4971786", "0.49638495", "0.49515596", "0.49514115", "0.49499622", "0.49468574", "0.49439648", "0.49414", "0.49388778", "0.4934461", "0.49297178", "0.4929059", "0.49287355", "0.49242294", "0.49226987", "0.4922075", "0.4920767", "0.4918229", "0.49131176", "0.49127528", "0.49117285", "0.49086973", "0.49065727", "0.48933086", "0.48919955", "0.48901698", "0.48878038", "0.48859748", "0.48835534", "0.48809302", "0.48781893", "0.48766497", "0.48721084" ]
0.5766328
4
/ F12 The system shall provide the ability to associate a asset type with RUL model
@Test public void f12AssociateAssetTypeWithModelTest() { clickOn("#assetTypeMenuBtn").sleep(2000); //select second asset type Node node = lookup("#columnName").nth(2).query(); clickOn(node).sleep(1000); clickOn("#associatedModelLabel").sleep(1000); Label label = (Label) scene.getRoot().lookup("#associatedModelLabel"); String modelBefore = label.getText(); //go to model tab clickOn(scene.getRoot().lookup("#modelTab")).sleep(1000); FlowPane models = (FlowPane) scene.getRoot().lookup("#modelsThumbPane"); //change to RandomForest clickOn(models.getChildren().get(2)).sleep(1000); clickOn("#modelSaveBtn").sleep(1000); node = lookup("#columnName").nth(2).query(); clickOn(node); label = (Label) scene.getRoot().lookup("#associatedModelLabel"); String modelAfter = label.getText(); clickOn("#associatedModelLabel").sleep(3000); //model after changing should not be the same assertFalse("Model after changing is the same as it was before.", modelBefore.equals(modelAfter)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String assetType() {\n return assetType;\n }", "String getAssetTypeRestriction();", "@Override\n public String getDescription() {\n return \"Asset issuance\";\n }", "public String relatedAssetType() {\n return relatedAssetType;\n }", "default AssetType getAssetType() {\n throw new UnsupportedOperationException();\n }", "public void addResourceCard(HexType type){\n \n }", "@Override\n\tpublic String type() {\n\t\treturn \"armour\";\n\t}", "private String getAltRegType() { // TODO - fix Register reference hardcoded in reg defines parm default?\n\t\tString firstChar = regProperties.getId().substring(0, 1);\n\t\t// change case of first character in name to create type\n\t\tString regTypeParam;\n\t\tif (firstChar.equals(firstChar.toUpperCase()))\n\t\t regTypeParam = regProperties.getId().replaceFirst(firstChar, firstChar.toLowerCase()); // change to lc\n\t\telse\n\t\t regTypeParam = regProperties.getId().replaceFirst(firstChar, firstChar.toUpperCase()); // change to uc \n\t\tString regBaseType = regProperties.isReplicated()? \"RegisterArray\" : \"Register\";\n\t\treturn regBaseType + \" #(\" + getAltBlockType() + \"::\" + regTypeParam + \")\"; // TODO - make parameterizable, getAddressMapName() + \"_\" + regProperties.getBaseName() + \"_t\" \n\t}", "private Asset() {\r\n super(IAsset.TYPE_ID);\r\n }", "void stageAutomatorTypeResource(String id, String resourceType, String resourceName, String version)\n throws IOException;", "boolean isApplicableForAssetType(final AssetType assetType);", "gov.nih.nlm.ncbi.www.MedlineSiDocument.MedlineSi.Type addNewType();", "@Override\r\n\tpublic void vehicleType() {\n\r\n\t}", "void recallAutomatorTypeResource(String id, String resourceType, String resourceName, String version)\n throws IOException;", "@Override\n\tpublic void addInstrumentType(String type) {\n\t\t\n\t}", "public <T extends Asset> void load(T asset, String key, Class<T> type)\n {\n if (AssetManager.UNSAFE && this.getFamily(type) == null)\n {\n Engine.Log.warning(\"[ASSETMANAGER] unsafe asset family creation with family type '\" + type.getSimpleName() + \"'\");\n this.registerFamily(new AssetFamily<>(type));\n }\n\n AssetFamily<T> family = this.getFamily(type);\n family.put(key, asset);\n asset.key(key);\n\n Engine.Log.info(\"[ASSETMANAGER] [LOADING] asset \" + key + \" in family \" + type.getSimpleName());\n }", "public void create(AssetType type) {\n entityManager.persist(type);\n return;\n }", "@Override\n public Class<EAssetRecord> getRecordType() {\n return EAssetRecord.class;\n }", "protected void setResourceType(ResourceType resrcType) {\n\tthis.resourceType = resrcType;\n }", "void addVehicle(String type, int speed, int roadRef) {\n if (type.equals(\"Car\")) {\n roads.get(roadRef).addCar(speed);\n roads.get(roadRef).vehicles.get(roads.get(roadRef).vehicles.size() - 1).setRoadRef(roadRef);\n\n\n } else if (type.equals(\"Bus\")) {\n roads.get(roadRef).addBus(speed);\n roads.get(roadRef).vehicles.get(roads.get(roadRef).vehicles.size() - 1).setRoadRef(roadRef);\n\n } else if (type.equals(\"Motorbike\")) {\n roads.get(roadRef).addMotorbike(speed);\n roads.get(roadRef).vehicles.get(roads.get(roadRef).vehicles.size() - 1).setRoadRef(roadRef);\n\n\n }\n }", "@Test\n public void f4RULModelsTest() {\n //Parts of this test uses f12 (Associate asset type)\n\n //Go to first asset\n clickOn(\"#thumbnailTab\");\n FlowPane root = (FlowPane) scene.getRoot().lookup(\"#assetsThumbPane\");\n clickOn(root.getChildren().get(0)).sleep(1000);\n\n clickOn(\"#modelOutput\").sleep(3000);\n Text firstModel = (Text) scene.getRoot().lookup(\"#modelOutput\");\n String modelBefore = firstModel.getText();\n\n //Go to asset type info\n clickOn(\"#assetTypeMenuBtn\").sleep(2000);\n\n //select first asset type\n Node node = lookup(\"#columnName\").nth(1).query();\n clickOn(node).sleep(1000);\n clickOn(\"#associatedModelLabel\").sleep(1000);\n\n //go to model tab\n clickOn(scene.getRoot().lookup(\"#modelTab\")).sleep(1000);\n FlowPane models = (FlowPane) scene.getRoot().lookup(\"#modelsThumbPane\");\n\n //change to LSTM\n clickOn(models.getChildren().get(1)).sleep(1000);\n clickOn(\"#modelSaveBtn\").sleep(1000);\n\n //Go back to first asset to check the model again\n clickOn(\"#assetMenuBtn\").sleep(1000);\n clickOn(\"#thumbnailTab\").sleep(1000);\n root = (FlowPane) scene.getRoot().lookup(\"#assetsThumbPane\");\n\n //Check that the model of first asset changed\n clickOn(root.getChildren().get(0)).sleep(1000);\n clickOn(\"#modelOutput\").sleep(3000);\n Text secondModel = (Text) scene.getRoot().lookup(\"#modelOutput\");\n String modelAfter = secondModel.getText();\n\n assertNotSame(\"Models should be different after updating\", modelBefore, modelAfter);\n clickOn(\"#backBtn\").sleep(2000);\n }", "private static void populateArtworkTypes() {\r\n if (artworkTypes.isEmpty()) {\r\n artworkTypes.add(TYPE_CLEARART);\r\n artworkTypes.add(TYPE_CLEARLOGO);\r\n artworkTypes.add(TYPE_SEASONTHUMB);\r\n artworkTypes.add(TYPE_TVTHUMB);\r\n artworkTypes.add(TYPE_CHARACTERART);\r\n artworkTypes.add(TYPE_CDART);\r\n }\r\n }", "public static void saveReligionName(Context context, String type) {\n SharedPreferences sharedPreferences = PreferenceManager\n .getDefaultSharedPreferences(context);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n editor.putString(GMSConstants.KEY_RELIGION, type);\n editor.apply();\n }", "@Schema(description = \"The specific asset type(s) the user wishes to receive leg options for\")\n \n public List<String> getUseAssetTypes() {\n return useAssetTypes;\n }", "public void setResType(int ResType) {\n\t\tthis.ResType = ResType;\n\t}", "OurIfcRelDefinesByType createOurIfcRelDefinesByType();", "com.microsoft.schemas.xrm._2013.metadata.AttributeTypeDisplayName addNewAttributeTypeDisplayName();", "private String getType(){\r\n return type;\r\n }", "public AssetType createAssetType(AssetType assetType) throws IOException {\n try {\n String strBody = null;\n Map<String, String> params = null;\n String correctPath = \"/AssetTypes\";\n UriBuilder uriBuilder = UriBuilder.fromUri(apiClient.getBasePath() + correctPath);\n String url = uriBuilder.build().toString();\n\n \n strBody = apiClient.getObjectMapper().writeValueAsString(assetType);\n\n String response = this.DATA(url, strBody, params, \"POST\");\n TypeReference<AssetType> typeRef = new TypeReference<AssetType>() {};\n return apiClient.getObjectMapper().readValue(response, typeRef);\n\n } catch (IOException e) {\n throw xeroExceptionHandler.handleBadRequest(e.getMessage());\n } catch (XeroApiException e) {\n throw xeroExceptionHandler.handleBadRequest(e.getMessage(), e.getResponseCode(),JSONUtils.isJSONValid(e.getMessage()));\n }\n }", "private void setActivity(int relType){\n\t\tActivity act = new Activity();\n\t\tActivityDefinition actDef = new ActivityDefinition();\n\t\tactDef.setType(INTERACT_TYPE);\n\t\tactDef.setInteractionType(INTERACT_TYPE);\n\t\t//InteractionComponent iac = new InteractionComponent();\n\t\tact.setDefinition(actDef);\n\t\t\n\t\tHashMap<String, String> names = new HashMap<String, String>();\n\t\t//names.put(\"en\",\"Identifying problems\");\n\t\tnames.put(\"en\", IntlConfiguration.getValue(\"scoretype.\"+ relType, new Locale(\"en\")));\n\t\tnames.put(\"de\", IntlConfiguration.getValue(\"scoretype.\"+ relType, new Locale(\"de\")));\n\n\t\tactDef.setName(names);\n\t\tthis.setObject(act);\n\t\n\t}", "public void setUsageType(String usageType);", "public String createAssetClass(AssetClass assetClass_);", "void setRendererType(String rendererType);", "public HexType giveResourceCard(HexType type){\n return type;\n }", "public void setType(URI type) {\n this.type = type;\n }", "public String getEntityType() {\r\n return \"Material\";\r\n }", "public String getPredefinedType() {\n return \"purchase\";\n }", "public void setResourceType (String resourceType) {\n this.resourceType = resourceType;\n }", "protected void addInventoryItemType() {\n\t\tProperties props = new Properties();\n\n\t\t/* DEBUG\n\t\t\n\t\tSystem.out.println(typeNameTF.getText());\n\t\tSystem.out.println(unitsTF.getText());\n\t\tSystem.out.println(unitMeasureTF.getText());\n\t\tSystem.out.println(validityDaysTF.getText());\n\t\tSystem.out.println(reorderPointTF.getText());\n\t\tSystem.out.println(notesTF.getText());\n\t\tSystem.out.println(statusCB.getValue());\n\t\n\t\t*/ \n\n\t\t// Set the values.\n\t\tprops.setProperty(\"ItemTypeName\", typeNameTF.getText());\n\t\tprops.setProperty(\"Units\", unitsTF.getText());\n\t\tprops.setProperty(\"UnitMeasure\", unitMeasureTF.getText());\n\t\tprops.setProperty(\"ValidityDays\", validityDaysTF.getText());\n\t\tprops.setProperty(\"ReorderPoint\", reorderPointTF.getText());\n\t\tprops.setProperty(\"Notes\", notesTF.getText());\n\t\tprops.setProperty(\"Status\", (String) statusCB.getValue());\n\n\t\t// Create the inventory item type.\n\t\tInventoryItemType iit = new InventoryItemType(props);\n\n\t\t// Save it into the database.\n\t\tiit.update();\n\n\t\tpopulateFields();\n\t\t\n\t\t// Display message on GUI.\n\t\t//submitBTN.setVisible(false);\n\t\tcancelBTN.setText(\"Back\");\n\t\tmessageLBL.setText(\"Inventory Item Type added.\");\n\t}", "private String getType( )\n\t{\n\t\treturn this.getModuleName( ) + \"$\" + this.getSimpleName( ) + \"$\" + this.getSystem( );\n\t}", "private void setActivity(int relType){\n\t\tActivity act = new Activity();\n\t\tActivityDefinition actDef = new ActivityDefinition();\n\t\tactDef.setType(INTERACT_TYPE);\n\t\tactDef.setInteractionType(INTERACT_TYPE);\n\t\t//InteractionComponent iac = new InteractionComponent();\n\t\tact.setDefinition(actDef);\n\t\t\n\t\tHashMap<String, String> names = new HashMap<String, String>();\n\t\tnames.put(\"en\", IntlConfiguration.getValue(\"scoretype.\"+ relType, new Locale(\"en\")));\n\t\tnames.put(\"de\", IntlConfiguration.getValue(\"scoretype.\"+ relType, new Locale(\"de\")));\n\n\t\tactDef.setName(names);\n\t\tthis.setObject(act);\n\t\n\t}", "protected String getStrainType()\n{\n\treturn \"Met E\";\n}", "public void setType(Material type) {\n this.type = type;\n }", "public String getAssetId();", "public void setDescriptionType(int param){\n \n // setting primitive attribute tracker to true\n localDescriptionTypeTracker =\n param != java.lang.Integer.MIN_VALUE;\n \n this.localDescriptionType=param;\n \n\n }", "public void setResourceType (String resourceType) {\n this.resourceType = resourceType;\n }", "@Override\r\n\tpublic String resourceAddress(int augID) {\n\t\treturn Main.MODID + \":skills/novice/Rejuvenate.png\";\r\n\t}", "public Material type()\n\t{\n\t\treturn type;\n\t}", "public void registerVariants(){\n\t\tModelResourceLocation[] variants = new ModelResourceLocation[metaNames.length];\r\n\t\tfor(int i = 0; i < metaNames.length; i++){\r\n\t\t\tvariants[i] = new ModelResourceLocation(ElementsMod.MODID + \":\" + getNameFromDamage(i), \"inventory\");\r\n\t\t}\r\n\t\tModelBakery.registerItemVariants(ItemManager.apple, variants);\r\n\t}", "public void setRoomTypeDescription(String rm_typ) {\n this.room_type_description=rm_typ;\n }", "@Override\n public void onRPClassAddAttribute(RPClass rpclass,\n String name, Definition.Type type) {\n }", "public static String getAddassetCodeParam(RestAssetCodeModel asset) {\n\t\tString s = \"\";\n\t\t//System.out.println(\"asset in gp\"+asset);\n\t\tif (asset.getAssetCode() != null && asset.getAssetCode() != \"\") {\n\t\t\ts = s + \"@p_assetCodeId='\" + asset.getAssetCode() + \"',\";\n\t\t}\n\n\t\tif (asset.getAssetCodeName() != null && asset.getAssetCodeName() != \"\") {\n\t\t\ts = s + \"@p_assetCodeName='\" + asset.getAssetCodeName() + \"',\";\n\t\t}\n\n\t\tif (asset.getSku() != null && asset.getSku() != \"\") {\n\t\t\ts = s + \"@p_sku='\" + asset.getSku() + \"',\";\n\t\t}\n\t\t\n\t\tif (asset.getItem() != null && asset.getItem() != \"\") {\n\t\t\ts = s + \"@p_item='\" + asset.getItem() + \"',\";\n\t\t}\n\t\t\n\t\tif (asset.getStore() != null && asset.getStore() != \"\") {\n\t\t\ts = s + \"@p_store='\" + asset.getStore() + \"',\";\n\t\t}\n\t\t\n\t\tif (asset.getSerialNo() != null && asset.getSerialNo() != \"\") {\n\t\t\ts = s + \"@p_serialno='\" + asset.getSerialNo() + \"',\";\n\t\t}\n\t\tif (asset.getDateOfPurchase() != null && asset.getDateOfPurchase() != \"\") {\n\t\t\ts = s + \"@p_dop='\" + asset.getDateOfPurchase() + \"',\";\n\t\t}\n\n\t\tif (asset.getGuaranty() != null && asset.getGuaranty() != \"\") {\n\t\t\ts = s + \"@p_grrnty='\" + asset.getGuaranty() + \"',\";\n\t\t}\n\n\t\tif (asset.getBrandId() != null && asset.getBrandId() != \"\") {\n\t\t\ts = s + \"@p_brndNm='\" + asset.getBrandId() + \"',\";\n\t\t}\n\n\t\tif (asset.getEmail() != null && asset.getEmail() != \"\") {\n\t\t\ts = s + \"@p_custEmail='\" + asset.getEmail() + \"',\";\n\t\t}\n\n\t\tif (asset.getCustPhone() != null && asset.getCustPhone() != \"\") {\n\t\t\ts = s + \"@p_custPhone='\" + asset.getCustPhone() + \"',\";\n\t\t}\n\n\t\tif (asset.getDescription() != null && asset.getDescription() != \"\") {\n\t\t\ts = s + \"@p_description='\" + asset.getDescription() + \"',\";\n\t\t}\n\t\tif (asset.getBarcode() != null && asset.getBarcode() != \"\") {\n\t\t\ts = s + \"@p_barcode='\" + asset.getBarcode() + \"',\";\n\t\t}\n\t\tif (asset.getCategory() != null && asset.getCategory() != \"\") {\n\t\t\ts = s + \"@p_Category='\" + asset.getCategory() + \"',\";\n\t\t}\n\t\tif (asset.getGrnInvoice() != null && asset.getGrnInvoice() != \"\") {\n\t\t\ts = s + \"@p_Grn='\" + asset.getGrnInvoice() + \"',\";\n\t\t}\n\t\tif (asset.getClassificationId() != null && asset.getClassificationId() != \"\") {\n\t\t\ts = s + \"@p_class='\" + asset.getClassificationId() + \"',\";\n\t\t}\n\t\tif (asset.getWorkingStatus() != null && asset.getWorkingStatus() != \"\") {\n\t\t\ts = s + \"@p_WorkingStatus='\" + asset.getWorkingStatus() + \"',\";\n\t\t}\n\t\tif (asset.getStatus() != null && asset.getStatus() != \"\") {\n\t\t\ts = s + \"@p_status='\" + asset.getStatus() + \"',\";\n\t\t}\n\t\tif (asset.getCreatedBy() != null && asset.getCreatedBy() != \"\") {\n\t\t\ts = s + \"@p_createdBy='\" + asset.getCreatedBy() + \"',\";\n\t\t}\n\n\t\t\n\n\t\tif (s != \"\") {\n\t\t\ts = s.substring(0, s.length() - 1);\n\n\t\t\ts = \"SET \" + s + \";\";\n\t\t}\nSystem.out.println(\"Generate Parameter=====\"+s);\n\t\treturn s;\n\t}", "ResourceRequirement getRequirementFor(AResourceType type);", "public void setRiskLocation(typekey.APDRiskLocationType value);", "@Override\r\n\tpublic int getType() {\n\t\treturn EyeTrackerItem.TYPE_INVALID;\r\n\t}", "@Test\n public void f17AddRemoveAssetTest() {\n Button button = (Button) scene.getRoot().lookup(\"#addAssetBtn\");\n\n assertNotNull(\"Button to add asset exists\", button);\n assertEquals(\"Add Asset\", button.getText());\n\n clickOn(button).sleep(1000);\n //Enter info for new asset\n clickOn(\"#assetNameInput\").write(\"My New Asset\").sleep(1000);\n clickOn(\"#assetTypeChoiceBox\").type(KeyCode.DOWN).sleep(1000).type(KeyCode.ENTER).sleep(1000);\n clickOn(\"#assetDescriptionInput\").write(\"Adding a new asset for system testing\").sleep(1000);\n clickOn(\"#serialNumberInput\").write(\"192837465\").sleep(1000);\n clickOn(\"#manufacturerInput\").write(\"Asset in good condition\").sleep(1000);\n clickOn(\"#categoryInput\").write(\"Category 2\").sleep(1000);\n clickOn(\"#siteInput\").write(\"Regularly checked\").sleep(1000);\n clickOn(\"#locationInput\").write(\"Montreal Qc\").sleep(1000);\n\n // TODO: Complete the test (save button) once Add Asset bug is fixed.\n clickOn(scene.getRoot().lookup(\"#cancelBtn\")).sleep(3000);\n }", "public AssetClass updateAssetClass(AssetClass changedAssetClassModel_);", "public void saveResourceType(ResourceType resourceType);", "@Override\n public String getDescription() {\n return \"Asset transfer\";\n }", "boolean isApplicableForAllAssetTypes();", "private void setHabitType() {\n String title = getIntent().getStringExtra(\"ClickedHabitType\");\n habit_type = findHabitType(allHabits, title);\n }", "@DISPID(11)\n\t// = 0xb. The runtime will prefer the VTID if present\n\t@VTID(22)\n\tint riskAnalysisType();", "String getType() {\n\t\treturn \"Athlete\";\n\t}", "@TestRailCase(selfReporting = true, automationId = \"1000\")\n @Test(priority = 101, enabled = true)\n public void stockAsset0002() {\n num = rand.nextInt(1000000) + 1;\n repairAsset = \"A\" + num;\n serialNumber = \"S\" + num;\n stockAsset.execute(stockLDC, serializedPartCode, assetCode, serialNumber);\n Assert.assertEquals(stockAsset.getResult(), true);\n }", "public String getType()\r\n/* 11: */ {\r\n/* 12:10 */ return \"extrautils:slope\";\r\n/* 13: */ }", "private String getAltBlockType() {\n\t\tString blockBase = (regSetProperties.getBaseName().isEmpty())? \"\" : \"_\" + regSetProperties.getBaseName();\n\t\treturn altModelRootType + blockBase; // TODO - make parameterizable, getAddressMapName() + \"_\" + regSetProperties.getBaseName() + \"_t\"\n\t}", "@Override\n\tpublic String getAiType() {\n\t\treturn App.ATZGB_AI_TYPE;\n\t}", "public boolean isTypeAvailable(Class<? extends Resource> resourceType, OgemaLocale locale);", "boolean containsRequirementFor(AResourceType type);", "public void matchType()\n {\n if(this.getGameType() == 1)\n {\n this.setType(\"s\");\n }\n else if(this.getGameType() == 2)\n {\n this.setType(\"r\");\n }\n else if(this.getGameType() == 3)\n {\n this.setType(\"c\");\n }\n }", "public static void addMediaType(Model model, org.ontoware.rdf2go.model.node.Resource instanceResource, java.lang.String value) {\r\n\t\tBase.add(model, instanceResource, MEDIATYPE, value);\r\n\t}", "public String getLBR_ICMS_TaxReliefType();", "public void set_type(String type)\r\n\t{\r\n\t\tthis.type = type;\r\n\t}", "public ModelResourceLocation getCustomModelResourceLocation(String variant) { return new ModelResourceLocation(\"thaumcraft:\" + variant); }", "BundleType getType();", "@Override\r\n\tpublic void vehicleBrand() {\n\r\n\t}", "public String onChangeResidenceCode()\r\n {\r\n\ttry\r\n\t{\r\n\r\n\t SessionCO sessionCO = returnSessionObject();\r\n\t residenceTypesSC.setCompCode(sessionCO.getCompanyCode());\r\n\t residenceTypesSC.setPreferredLanguage(sessionCO.getPreferredLanguage());\r\n\t residenceTypesVO = residenceTypesBO.returnDependencyByCode(residenceTypesSC);\r\n\t if(residenceTypesVO == null)\r\n\t {\r\n\t\tthrow new BOException(MessageCodes.INVALID_MISSING_CODE);\r\n\t }\r\n\r\n\t}\r\n\tcatch(Exception e)\r\n\t{\r\n\t residenceTypesVO = new RESIDENCE_TYPESVO();\r\n\t handleException(e, null, null);\r\n\t}\r\n\treturn SUCCESS;\r\n }", "public void setResourceType(String resourceType) {\n this.resourceType = resourceType;\n }", "public void setResourceType(String resourceType) {\n this.resourceType = resourceType;\n }", "public void addVehicleType(String s){\n\t\tVehicleType v = new VehicleType(s);\n\t\ttypes.add(v);\n\t}", "public String getType() {return type;}", "@DISPID(11)\n\t// = 0xb. The runtime will prefer the VTID if present\n\t@VTID(23)\n\tvoid riskAnalysisType(int pVal);", "@Override\n\tpublic int getType() {\n\t\treturn 1;\n\t}", "public void preInit() {\n \tfor(int i=1;i<ItemAmmo.AMMO_TYPES.length;i++){\n \t\tif(i!=10 && i !=12){\n \t\tModelLoader.setCustomModelResourceLocation(TF2weapons.itemAmmo, i, new ModelResourceLocation(TF2weapons.MOD_ID+\":ammo_\"+ItemAmmo.AMMO_TYPES[i], \"inventory\"));\n \t\t}\n \t}\n \t\n \t//ModelLoader.registerItemVariants(TF2weapons.itemTF2, new ModelResourceLocation(TF2weapons.MOD_ID+\":copper_ingot\", \"inventory\"),new ModelResourceLocation(TF2weapons.MOD_ID+\":lead_ingot\", \"inventory\"));\n \tModelLoader.setCustomModelResourceLocation(TF2weapons.itemAmmoFire, 0, new ModelResourceLocation(TF2weapons.MOD_ID+\":ammo_fire\", \"inventory\"));\n \tModelLoader.setCustomModelResourceLocation(TF2weapons.itemChocolate, 0, new ModelResourceLocation(TF2weapons.MOD_ID+\":chocolate\", \"inventory\"));\n \tModelLoader.setCustomModelResourceLocation(TF2weapons.itemHorn, 0, new ModelResourceLocation(TF2weapons.MOD_ID+\":horn\", \"inventory\"));\n \tModelLoader.setCustomModelResourceLocation(TF2weapons.itemMantreads, 0, new ModelResourceLocation(TF2weapons.MOD_ID+\":mantreads\", \"inventory\"));\n \tModelLoader.setCustomModelResourceLocation(TF2weapons.itemScoutBoots, 0, new ModelResourceLocation(TF2weapons.MOD_ID+\":scout_shoes\", \"inventory\"));\n \tModelLoader.setCustomModelResourceLocation(TF2weapons.itemAmmoMedigun, 0, new ModelResourceLocation(TF2weapons.MOD_ID+\":ammo_medigun\", \"inventory\"));\n \tModelLoader.setCustomModelResourceLocation(TF2weapons.itemTF2, 0, new ModelResourceLocation(TF2weapons.MOD_ID+\":copper_ingot\", \"inventory\"));\n \tModelLoader.setCustomModelResourceLocation(TF2weapons.itemTF2, 1, new ModelResourceLocation(TF2weapons.MOD_ID+\":lead_ingot\", \"inventory\"));\n \tModelLoader.setCustomModelResourceLocation(TF2weapons.itemTF2, 2, new ModelResourceLocation(TF2weapons.MOD_ID+\":australium_ingot\", \"inventory\"));\n \tModelLoader.setCustomModelResourceLocation(TF2weapons.itemTF2, 3, new ModelResourceLocation(TF2weapons.MOD_ID+\":scrap_metal\", \"inventory\"));\n \tModelLoader.setCustomModelResourceLocation(TF2weapons.itemTF2, 4, new ModelResourceLocation(TF2weapons.MOD_ID+\":reclaimed_metal\", \"inventory\"));\n \tModelLoader.setCustomModelResourceLocation(TF2weapons.itemTF2, 5, new ModelResourceLocation(TF2weapons.MOD_ID+\":refined_metal\", \"inventory\"));\n \tModelLoader.setCustomModelResourceLocation(TF2weapons.itemTF2, 6, new ModelResourceLocation(TF2weapons.MOD_ID+\":australium_nugget\", \"inventory\"));\n \tModelLoader.setCustomModelResourceLocation(TF2weapons.itemTF2, 7, new ModelResourceLocation(TF2weapons.MOD_ID+\":key\", \"inventory\"));\n \tModelLoader.setCustomModelResourceLocation(TF2weapons.itemTF2, 8, new ModelResourceLocation(TF2weapons.MOD_ID+\":crate\", \"inventory\"));\n \tModelLoader.setCustomModelResourceLocation(TF2weapons.itemTF2, 9, new ModelResourceLocation(TF2weapons.MOD_ID+\":random_weapon\", \"inventory\"));\n \tModelLoader.setCustomModelResourceLocation(TF2weapons.itemTF2, 10, new ModelResourceLocation(TF2weapons.MOD_ID+\":random_hat\", \"inventory\"));\n \t\n \tRenderingRegistry.registerEntityRenderingHandler(EntityTF2Character.class, new IRenderFactory<EntityTF2Character>(){\n\t\t\t@Override\n\t\t\tpublic Render<EntityTF2Character> createRenderFor(RenderManager manager) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\treturn new RenderTF2Character(manager);\n\t\t\t}\n \t});\n \t/*RenderingRegistry.registerEntityRenderingHandler(EntityProjectileBase.class, new IRenderFactory<Entity>(){\n\t\t\t@Override\n\t\t\tpublic Render<Entity> createRenderFor(RenderManager manager) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\treturn new RenderEntity(manager);\n\t\t\t}\n \t});*/\n \tRenderingRegistry.registerEntityRenderingHandler(EntityRocket.class, new IRenderFactory<EntityRocket>(){\n\t\t\t@Override\n\t\t\tpublic Render<EntityRocket> createRenderFor(RenderManager manager) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\treturn new RenderRocket(manager);\n\t\t\t}\n \t});\n \t/*RenderingRegistry.registerEntityRenderingHandler(EntityFlame.class, new IRenderFactory<EntityFlame>(){\n\t\t\t@Override\n\t\t\tpublic Render<EntityFlame> createRenderFor(RenderManager manager) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\treturn (Render<EntityFlame>) new RenderEntity();\n\t\t\t}\n \t});*/\n \tRenderingRegistry.registerEntityRenderingHandler(EntityGrenade.class, new IRenderFactory<EntityGrenade>(){\n\t\t\t@Override\n\t\t\tpublic Render<EntityGrenade> createRenderFor(RenderManager manager) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\treturn new RenderGrenade(manager);\n\t\t\t}\n \t});\n \tRenderingRegistry.registerEntityRenderingHandler(EntityStickybomb.class, new IRenderFactory<EntityStickybomb>(){\n\t\t\t@Override\n\t\t\tpublic Render<EntityStickybomb> createRenderFor(RenderManager manager) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\treturn new RenderStickybomb(manager);\n\t\t\t}\n \t});\n \tRenderingRegistry.registerEntityRenderingHandler(EntitySyringe.class, new IRenderFactory<EntitySyringe>(){\n\t\t\t@Override\n\t\t\tpublic Render<EntitySyringe> createRenderFor(RenderManager manager) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\treturn new RenderSyringe(manager);\n\t\t\t}\n \t});\n \tRenderingRegistry.registerEntityRenderingHandler(EntityBall.class, new IRenderFactory<EntityBall>(){\n\t\t\t@Override\n\t\t\tpublic Render<EntityBall> createRenderFor(RenderManager manager) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\treturn new RenderBall(manager);\n\t\t\t}\n \t});\n \tRenderingRegistry.registerEntityRenderingHandler(EntityFlare.class, new IRenderFactory<EntityFlare>(){\n\t\t\t@Override\n\t\t\tpublic Render<EntityFlare> createRenderFor(RenderManager manager) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\treturn new RenderFlare(manager);\n\t\t\t}\n \t});\n \tRenderingRegistry.registerEntityRenderingHandler(EntityJar.class, new IRenderFactory<EntityJar>(){\n\t\t\t@Override\n\t\t\tpublic Render<EntityJar> createRenderFor(RenderManager manager) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\treturn new RenderJar(manager);\n\t\t\t}\n \t});\n \tRenderingRegistry.registerEntityRenderingHandler(EntitySentry.class, new IRenderFactory<EntitySentry>(){\n\t\t\t@Override\n\t\t\tpublic Render<EntitySentry> createRenderFor(RenderManager manager) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\treturn new RenderSentry(manager);\n\t\t\t}\n \t});\n \tRenderingRegistry.registerEntityRenderingHandler(EntityDispenser.class, new IRenderFactory<EntityDispenser>(){\n\t\t\t@Override\n\t\t\tpublic Render<EntityDispenser> createRenderFor(RenderManager manager) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\treturn new RenderDispenser(manager);\n\t\t\t}\n \t});\n \tRenderingRegistry.registerEntityRenderingHandler(EntityTeleporter.class, new IRenderFactory<EntityTeleporter>(){\n\t\t\t@Override\n\t\t\tpublic Render<EntityTeleporter> createRenderFor(RenderManager manager) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\treturn new RenderTeleporter(manager);\n\t\t\t}\n \t});\n \tRenderingRegistry.registerEntityRenderingHandler(EntityStatue.class, new IRenderFactory<EntityStatue>(){\n\t\t\t@Override\n\t\t\tpublic Render<EntityStatue> createRenderFor(RenderManager manager) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\treturn new RenderStatue(manager);\n\t\t\t}\n \t});\n \tRenderingRegistry.registerEntityRenderingHandler(EntitySaxtonHale.class, new IRenderFactory<EntitySaxtonHale>(){\n\t\t\t@Override\n\t\t\tpublic Render<EntitySaxtonHale> createRenderFor(RenderManager manager) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\treturn new RenderBiped<EntitySaxtonHale>(manager, new ModelBiped(), 0.5F, 1.0F){\n\t\t\t\t\tprivate final ResourceLocation TEXTURE=new ResourceLocation(TF2weapons.MOD_ID,\"textures/entity/tf2/SaxtonHale.png\");\n\t\t\t\t\tprotected ResourceLocation getEntityTexture(EntitySaxtonHale entity)\n\t\t\t\t\t{\n\t\t\t\t\t\treturn TEXTURE;\n\t\t\t\t }\n\t\t\t\t};\n\t\t\t}\n \t});\n\t}", "@Override\n\tpublic MechanicalAssetType addAMechanicalAssetType(MechanicalAssetType aMechanicalAssetType) {\n\t\treturn null;\n\t}", "public static APIAsset GetAPIAsset(HttpServletRequest request) throws Exception {\n\n //Assign values from textboxes/controls to Asset resource, and return Asset\n\n APIAsset API_Asset = new APIAsset();\n\n API_Asset.setAssetID(\"\".equals(request.getParameter(\"txtAssetID\")) ? null\n : new JAXBElement(new QName(API_Constants.NamespaceURI, \"AssetID\"), \"\".getClass(),\n request.getParameter(\"txtAssetID\")));\n\n API_Asset.setAssetName(\"\".equals(request.getParameter(\"txtAssetName\")) ? null\n : new JAXBElement(new QName(API_Constants.NamespaceURI, \"AssetName\"), \"\".getClass(),\n request.getParameter(\"txtAssetName\")));\n\n API_Asset.setAssetTag(\"\".equals(request.getParameter(\"txtAssetTag\")) ? null\n : new JAXBElement(new QName(API_Constants.NamespaceURI, \"AssetTag\"), \"\".getClass(),\n request.getParameter(\"txtAssetTag\")));\n\n API_Asset.setAssetTypeID(\"\".equals(request.getParameter(\"txtAssetTypeID\")) ? null\n : new JAXBElement(new QName(API_Constants.NamespaceURI, \"AssetTypeID\"), \"\".getClass(),\n request.getParameter(\"txtAssetTypeID\")));\n\n API_Asset.setConnType(\"\".equals(request.getParameter(\"txtConnType\")) ? null\n : new JAXBElement(new QName(API_Constants.NamespaceURI, \"ConnType\"), APIEnumAssetConnectionType.class,\n APIEnumAssetConnectionType.valueOf(APIEnumAssetConnectionType.fromValue(request.getParameter(\"txtConnType\")).toString())));\n\n API_Asset.setDateOfPurchase(\"\".equals(request.getParameter(\"txtDateOfPurchase\")) ? null\n : new JAXBElement(new QName(API_Constants.NamespaceURI, \"DateOfPurchase\"), XMLGregorianCalendar.class,\n DatatypeFactory.newInstance().newXMLGregorianCalendar(request.getParameter(\"txtDateOfPurchase\"))));\n\n API_Asset.setDriverID(\"\".equals(request.getParameter(\"txtDriverID\")) ? null\n : new JAXBElement(new QName(API_Constants.NamespaceURI, \"DriverID\"), \"\".getClass(),\n request.getParameter(\"txtDriverID\")));\n\n API_Asset.setIPAddress(\"\".equals(request.getParameter(\"txtIPAddress\")) ? null\n : new JAXBElement(new QName(API_Constants.NamespaceURI, \"IPAddress\"), \"\".getClass(),\n request.getParameter(\"txtIPAddress\")));\n\n API_Asset.setIPID(\"\".equals(request.getParameter(\"txtIPID\")) ? null\n : new JAXBElement(new QName(API_Constants.NamespaceURI, \"IPID\"), Integer.class,\n Integer.parseInt(request.getParameter(\"txtIPID\"))));\n\n API_Asset.setLastModified(\"\".equals(request.getParameter(\"txtLastModified\")) ? null\n : new JAXBElement(new QName(API_Constants.NamespaceURI, \"LastModified\"), XMLGregorianCalendar.class,\n DatatypeFactory.newInstance().newXMLGregorianCalendar(request.getParameter(\"txtLastModified\"))));\n\n API_Asset.setLastService(\"\".equals(request.getParameter(\"txtLastService\")) ? null\n : new JAXBElement(new QName(API_Constants.NamespaceURI, \"LastService\"), XMLGregorianCalendar.class,\n DatatypeFactory.newInstance().newXMLGregorianCalendar(request.getParameter(\"txtLastService\"))));\n\n API_Asset.setLifeSpanYears(\"\".equals(request.getParameter(\"txtLifeSpanYears\")) ? null\n : new JAXBElement(new QName(API_Constants.NamespaceURI, \"LifeSpanYears\"), Integer.class,\n Integer.parseInt(request.getParameter(\"txtLifeSpanYears\"))));\n\n API_Asset.setMACAddress(\"\".equals(request.getParameter(\"txtMACAddress\")) ? null\n : new JAXBElement(new QName(API_Constants.NamespaceURI, \"MACAddress\"), \"\".getClass(),\n request.getParameter(\"txtMACAddress\")));\n\n API_Asset.setMaintenanceContractID(\"\".equals(request.getParameter(\"txtMaintenanceContractID\")) ? null\n : new JAXBElement(new QName(API_Constants.NamespaceURI, \"MaintenanceContractID\"), \"\".getClass(),\n request.getParameter(\"txtMaintenanceContractID\")));\n\n API_Asset.setMake(\"\".equals(request.getParameter(\"txtMake\")) ? null\n : new JAXBElement(new QName(API_Constants.NamespaceURI, \"Make\"), \"\".getClass(),\n request.getParameter(\"txtMake\")));\n\n API_Asset.setModel(\"\".equals(request.getParameter(\"txtModel\")) ? null\n : new JAXBElement(new QName(API_Constants.NamespaceURI, \"Model\"), \"\".getClass(),\n request.getParameter(\"txtModel\")));\n\n API_Asset.setNotes(\"\".equals(request.getParameter(\"txtNotes\")) ? null\n : new JAXBElement(new QName(API_Constants.NamespaceURI, \"Notes\"), \"\".getClass(),\n request.getParameter(\"txtNotes\")));\n\n API_Asset.setPassword(\"\".equals(request.getParameter(\"txtPassword\")) ? null\n : new JAXBElement(new QName(API_Constants.NamespaceURI, \"Password\"), \"\".getClass(),\n request.getParameter(\"txtPassword\")));\n\n API_Asset.setPort(\"\".equals(request.getParameter(\"txtPort\")) ? null\n : new JAXBElement(new QName(API_Constants.NamespaceURI, \"Port\"), Integer.class,\n Integer.parseInt(request.getParameter(\"txtPort\"))));\n\n API_Asset.setRoomID(\"\".equals(request.getParameter(\"txtRoomID\")) ? null\n : new JAXBElement(new QName(API_Constants.NamespaceURI, \"RoomID\"), \"\".getClass(),\n request.getParameter(\"txtRoomID\")));\n\n API_Asset.setSSL(\"\".equals(request.getParameter(\"txtSSL\")) ? null\n : new JAXBElement(new QName(API_Constants.NamespaceURI, \"SSL\"), Boolean.class,\n Boolean.parseBoolean(request.getParameter(\"txtSSL\"))));\n\n API_Asset.setSerialNumber(\"\".equals(request.getParameter(\"txtSerialNumber\")) ? null\n : new JAXBElement(new QName(API_Constants.NamespaceURI, \"SerialNumber\"), \"\".getClass(),\n request.getParameter(\"txtSerialNumber\")));\n\n API_Asset.setServiceInterval(\"\".equals(request.getParameter(\"txtServiceInterval\")) ? null\n : new JAXBElement(new QName(API_Constants.NamespaceURI, \"ServiceInterval\"), Integer.class,\n Integer.parseInt(request.getParameter(\"txtServiceInterval\"))));\n\n API_Asset.setServiceIntervalIncrement(\"\".equals(request.getParameter(\"txtServiceIntervalIncrement\")) ? null\n : new JAXBElement(new QName(API_Constants.NamespaceURI, \"ServiceIntervalIncrement\"), \"\".getClass(),\n request.getParameter(\"txtServiceIntervalIncrement\")));\n\n API_Asset.setStatus(\"\".equals(request.getParameter(\"txtStatus\")) ? null\n : new JAXBElement(new QName(API_Constants.NamespaceURI, \"Status\"), APIEnumAssetStatus.class,\n APIEnumAssetStatus.valueOf(APIEnumAssetStatus.fromValue(request.getParameter(\"txtStatus\")).toString())));\n\n API_Asset.setWarrantyExpiration(\"\".equals(request.getParameter(\"txtWarrantyExpiration\")) ? null\n : new JAXBElement(new QName(API_Constants.NamespaceURI, \"WarrantyExpiration\"), XMLGregorianCalendar.class,\n DatatypeFactory.newInstance().newXMLGregorianCalendar(request.getParameter(\"txtWarrantyExpiration\"))));\n\n\n return API_Asset;\n\n }", "public void addFuelTankType(FuelCapacity Ftype) {\n\t\t\r\n\t}", "public void setLanguageEnglishButtonImageAsset(ImageAsset imageAsset) {\n/*Generated! Do not modify!*/ replyDTO.getVariablesToSet().add(\"overviewSmall_languageEnglishButton_propertyImageSource\");\n/*Generated! Do not modify!*/ replyDTO.getVariableValues().put(\"overviewSmall_languageEnglishButton_propertyImageSource\", imageAsset.getFilename());\n/*Generated! Do not modify!*/ if (recordMode){\n/*Generated! Do not modify!*/ addRecordedAction(ReplyActionType.SET_IMAGE_ASSET, \"setLanguageEnglishButtonImageAsset(\", imageAsset);\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ }", "public void setLanguageGermanButtonImageAsset(ImageAsset imageAsset) {\n/*Generated! Do not modify!*/ replyDTO.getVariablesToSet().add(\"overviewSmall_languageGermanButton_propertyImageSource\");\n/*Generated! Do not modify!*/ replyDTO.getVariableValues().put(\"overviewSmall_languageGermanButton_propertyImageSource\", imageAsset.getFilename());\n/*Generated! Do not modify!*/ if (recordMode){\n/*Generated! Do not modify!*/ addRecordedAction(ReplyActionType.SET_IMAGE_ASSET, \"setLanguageGermanButtonImageAsset(\", imageAsset);\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ }", "public int getRenderType()\n {\n return 2;\n }", "public void setRegTypeName(String regTypeName) {\r\n\t\tthis.regTypeName = regTypeName;\r\n\t}", "public void setVehicleType(java.lang.CharSequence value) {\n this.vehicleType = value;\n }", "MaterialStatsId getStatType();", "public String getPartString() { return \"Type\"; }", "ItemType(String code) {\n this.code = code;\n }", "ItemType(String code) {\n this.code = code;\n }", "@Override\n public void onRPClassAddAttribute(RPClass rpclass,\n String name, Definition.Type type, byte flags) {\n }", "public String getType() { return type; }", "public String assetName() {\n return assetName;\n }", "com.google.protobuf.StringValue getExternalAttributionModel();" ]
[ "0.644101", "0.5891871", "0.5780955", "0.5773444", "0.5739082", "0.573814", "0.5562218", "0.54770225", "0.542961", "0.54278654", "0.53727275", "0.5325767", "0.52540284", "0.5170802", "0.51692766", "0.51653564", "0.51647407", "0.51558095", "0.5155429", "0.51444465", "0.5124066", "0.5115869", "0.50996685", "0.5093926", "0.5087502", "0.5085852", "0.5070383", "0.5061604", "0.5046842", "0.50415784", "0.5027773", "0.5012317", "0.5011024", "0.5003425", "0.49990743", "0.4996907", "0.49944592", "0.49920088", "0.49917024", "0.49823582", "0.4981999", "0.49813542", "0.49790424", "0.4978419", "0.49731335", "0.4967115", "0.4958854", "0.49577034", "0.49575552", "0.49440172", "0.4940461", "0.49388316", "0.49353492", "0.4921188", "0.4919502", "0.4912345", "0.4908065", "0.4904005", "0.490343", "0.4900344", "0.48989984", "0.4897625", "0.4896603", "0.48916358", "0.48880157", "0.48869127", "0.48741007", "0.48699003", "0.4868179", "0.48660123", "0.4865669", "0.48560122", "0.48556736", "0.48536602", "0.4848651", "0.48470587", "0.48405552", "0.48402426", "0.48402426", "0.48398602", "0.48367885", "0.48348507", "0.48336768", "0.48330423", "0.4810787", "0.48089033", "0.48084494", "0.48066348", "0.4799197", "0.47989058", "0.47963738", "0.47905293", "0.47903425", "0.47893238", "0.47851038", "0.47851038", "0.47831547", "0.47814694", "0.4777587", "0.47768775" ]
0.6437921
1
/ F13 The system shall display a monitored asset in RUL order (lowest RUL first)
@Test public void f13OrderRULTest() { clickOn("#thumbnailTab").moveBy(90, 200); scroll(50, VerticalDirection.UP).sleep(1000); scroll(50, VerticalDirection.DOWN).sleep(1000); clickOn("#sortAsset").type(KeyCode.DOWN).type(KeyCode.ENTER); sleep(1000).moveBy(-90, 200).scroll(50, VerticalDirection.UP).sleep(1000); boolean isOrdered = true; double[] ruls = getRuls(); //Check if the ascending ruls are ordered for (int i = 0; i < ruls.length - 1; i++) { if (ruls[i] > ruls[i + 1]) { isOrdered = false; break; } } sleep(1000).scroll(50, VerticalDirection.DOWN).sleep(1000); assertTrue("All RULs after sorting by ascending are ordered from smallest to largest.", isOrdered); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void printRestocks(){\n\t\tint i;\n\t\tint listSize = inventoryOrdersDone.size();\n\t\tRoll temp;\n\t\tString outputText;\n\t\toutputText = \"\\nInventory Restock Orders Per Roll: \";\n\t\t//outputText = inventoryOrdersDone.get(0).getRoll().getType() + \" Roll Current stock: \" + inventoryOrdersDone.get(0).getStock();\n\n\t\tfor(i = 0; i < listSize; i++){\n\t\t\tif(i % 3 == 0){\n\t\t\t\toutputText = outputText + \"\\n\";\n\t\t\t}\n\t\t\toutputText = outputText + inventoryOrdersDone.get(i).getRoll().getType() + \": \" + inventoryOrdersDone.get(i).getStock() + \" \";\n\n\t\t}\n\n\t\tSystem.out.println(outputText);\n\t\tthis.status = outputText;\n\t\tsetChanged();\n notifyObservers();\n\t}", "@Override\n\tpublic String StatistiqueNbrRisuqe(){\n float m= accountRepository.NbrStatus(\"a risque\");\n float s=accountRepository.NbrStatus(\"Stable\");\n float res =( m / s)*100;\n return res+\"%\";\n\n\t}", "public String annulerRv(){\n\t\t// Traitement ici ... \n\t\treturn AFFICHER;\n\t}", "public static void RCommand() {\n if (Interface.songs.size(Interface.songs) < 3) {\n System.out.println(\"There are not 3 different songs have been added before.\");\n return;\n }\n LinkedList<Song> sorted = Interface.songs.sort(Interface.songs);\n System.out.println(\"Most popular 3 songs are: \" +\n \"\\n1) \" + sorted.get(sorted, 0) +\n \"\\n2) \" + sorted.get(sorted, 1) +\n \"\\n3) \" + sorted.get(sorted, 2));\n }", "@Override\n\tprotected void UpdateUI() {\n\t\tDisplayFuelData(AverageFuelRate, LatestFuelConsumed);\n\t\t\n\t\tif(bCursurIndex == false && ParentActivity.ScreenIndex == Home.SCREEN_STATE_MENU_MONITORING_FUELHISTORY_GENERALRECORD)\n\t\t\tCursurDisplay(CursurIndex);\n\t}", "@Override\n public com.gensym.util.Symbol getDisplayUpdatePriority() throws G2AccessException {\n java.lang.Object retnValue = getAttributeValue (SystemAttributeSymbols.DISPLAY_UPDATE_PRIORITY_);\n return (com.gensym.util.Symbol)retnValue;\n }", "private void displayRent(){\r\n\r\n System.out.println(\"To rent:\");\r\n for(HardwareDevice devices: hardwares){\r\n\r\n devices.displayDescription();\r\n }\r\n }", "private void populatePreviousODOReading() {\n\n fuelViewModel.getAllFuel()\n .observe(getActivity(), new Observer<List<Fuel>>() {\n @Override\n public void onChanged(List<Fuel> fuels) {\n\n // if list is not empty\n if (!fuels.isEmpty()){\n\n Log.d(TAG, \"onChanged: fuels.size() = \" + fuels.size());\n\n // fuels.size()-1 displayed last item in the list, so I tested and found that 0 item is the first item\n Fuel mostRecentFuel = fuels.get(0); // most recent item is zero item on the list means first item\n Log.d(TAG, \"onChanged: mostRecentFuel.getFuelID() = \" + mostRecentFuel.getFuelID());\n\n lastODOreading = mostRecentFuel.getCurrentKm();\n tin_startingKm.setText(String.valueOf(lastODOreading));\n\n }\n\n\n }\n });\n\n }", "private void displayUrgent(ToDoList toDoList) {\n int i = 1;\n\n System.out.println(\"Urgent Items:\");\n\n for (Item item : toDoList.getItems()) {\n if (Integer.parseInt(item.getDaysBeforeDue()) <= 1) {\n Categories c = item.getCategory();\n System.out.println(i + \". \" + item.getTitle() + \" due in \" + item.getDaysBeforeDue() + \" days, \" + c);\n i++;\n }\n }\n }", "private void RptStockItem() {\n try {\n pnUmum.removeAll();\n pnUmum.repaint();\n pnUmum.revalidate();\n String sql = \"SELECT `ProdName`,`SellPrice`,`CostPrice`,`Netto`,`Stock`,ProdUnit.UnitName AS Unit FROM `Products` \"\n + \"INNER JOIN ProdUnit ON Products.UnitID = ProdUnit.UnitID ORDER BY Products.ProductID ASC\";\n JRDesignQuery jQuery = new JRDesignQuery();\n jQuery.setText(sql);\n JasperDesign jDesign = JRXmlLoader.load(System.getProperty(\"user.dir\") + \"/src/com/resources/jrxml/RptStokBarang.jrxml\");\n jDesign.setQuery(jQuery);\n JasperReport jReport = JasperCompileManager.compileReport(jDesign);\n JasperPrint jPrint = JasperFillManager.fillReport(jReport, null, new ConfigDB().getConnection());\n JRViewer jView = new JRViewer(jPrint);\n pnUmum.setLayout(new BorderLayout());\n jView.setFitPageZoomRatio();\n jView.setFont(new java.awt.Font(\"Arial\", 0, 14));\n pnUmum.add(jView);\n } catch (JRException ex) {\n JOptionPane.showMessageDialog(null, \"Terjadi Error Pada:\\n\" + ex.toString(), \"Kesalahan\", JOptionPane.ERROR_MESSAGE);\n }\n }", "private static void statACricri() {\n \tSession session = new Session();\n \tNSTimestamp dateRef = session.debutAnnee();\n \tNSArray listAffAnn = EOAffectationAnnuelle.findAffectationsAnnuelleInContext(session.ec(), null, null, dateRef);\n \tLRLog.log(\">> listAffAnn=\"+listAffAnn.count() + \" au \" + DateCtrlConges.dateToString(dateRef));\n \tlistAffAnn = LRSort.sortedArray(listAffAnn, \n \t\t\tEOAffectationAnnuelle.INDIVIDU_KEY + \".\" + EOIndividu.NOM_KEY);\n \t\n \tEOEditingContext ec = new EOEditingContext();\n \tCngUserInfo ui = new CngUserInfo(new CngDroitBus(ec), new CngPreferenceBus(ec), ec, new Integer(3065));\n \tStringBuffer sb = new StringBuffer();\n \tsb.append(\"service\").append(ConstsPrint.CSV_COLUMN_SEPARATOR);\n \tsb.append(\"agent\").append(ConstsPrint.CSV_COLUMN_SEPARATOR);\n \tsb.append(\"contractuel\").append(ConstsPrint.CSV_COLUMN_SEPARATOR);\n \tsb.append(\"travaillees\").append(ConstsPrint.CSV_COLUMN_SEPARATOR);\n \tsb.append(\"conges\").append(ConstsPrint.CSV_COLUMN_SEPARATOR);\n \tsb.append(\"dues\").append(ConstsPrint.CSV_COLUMN_SEPARATOR);\n \tsb.append(\"restant\");\n \tsb.append(ConstsPrint.CSV_NEW_LINE);\n \t\n \n \tfor (int i = 0; i < listAffAnn.count(); i++) {\n \t\tEOAffectationAnnuelle itemAffAnn = (EOAffectationAnnuelle) listAffAnn.objectAtIndex(i);\n \t\t//\n \t\tEOEditingContext edc = new EOEditingContext();\n \t\t//\n \t\tNSArray array = EOAffectationAnnuelle.findSortedAffectationsAnnuellesForOidsInContext(\n \t\t\t\tedc, new NSArray(itemAffAnn.oid()));\n \t\t// charger le planning pour forcer le calcul\n \t\tPlanning p = Planning.newPlanning((EOAffectationAnnuelle) array.objectAtIndex(0), ui, dateRef);\n \t\t// quel les contractuels\n \t\t//if (p.affectationAnnuelle().individu().isContractuel(p.affectationAnnuelle())) {\n \t\ttry {p.setType(\"R\");\n \t\tEOCalculAffectationAnnuelle calcul = p.affectationAnnuelle().calculAffAnn(\"R\");\n \t\tint minutesTravaillees3112 = calcul.minutesTravaillees3112().intValue();\n \t\tint minutesConges3112 = calcul.minutesConges3112().intValue();\n \t\t\n \t\t// calcul des minutes dues\n \t\tint minutesDues3112 = /*0*/ 514*60;\n \t\t/*\tNSArray periodes = p.affectationAnnuelle().periodes();\n \t\tfor (int j=0; j<periodes.count(); j++) {\n \t\t\tEOPeriodeAffectationAnnuelle periode = (EOPeriodeAffectationAnnuelle) periodes.objectAtIndex(j);\n \t\tminutesDues3112 += periode.valeurPonderee(p.affectationAnnuelle().minutesDues(), septembre01, decembre31);\n \t\t}*/\n \t\tsb.append(p.affectationAnnuelle().structure().libelleCourt()).append(ConstsPrint.CSV_COLUMN_SEPARATOR);\n \t\tsb.append(p.affectationAnnuelle().individu().nomComplet()).append(ConstsPrint.CSV_COLUMN_SEPARATOR);\n \t\tsb.append(p.affectationAnnuelle().individu().isContractuel(p.affectationAnnuelle())?\"O\":\"N\").append(ConstsPrint.CSV_COLUMN_SEPARATOR);\n \t\tsb.append(TimeCtrl.stringForMinutes(minutesTravaillees3112)).append(ConstsPrint.CSV_COLUMN_SEPARATOR);\n \t\tsb.append(TimeCtrl.stringForMinutes(minutesConges3112)).append(ConstsPrint.CSV_COLUMN_SEPARATOR);\n \t\tsb.append(TimeCtrl.stringForMinutes(minutesDues3112)).append(ConstsPrint.CSV_COLUMN_SEPARATOR);\n \t\tsb.append(TimeCtrl.stringForMinutes(minutesTravaillees3112 - minutesConges3112 - minutesDues3112)).append(ConstsPrint.CSV_NEW_LINE);\n \t\tLRLog.log((i+1)+\"/\"+listAffAnn.count() + \" (\" + p.affectationAnnuelle().individu().nomComplet() + \")\");\n \t\t} catch (Throwable e) {\n \t\t\te.printStackTrace();\n \t\t}\n \t\tedc.dispose();\n \t\t//}\n \t}\n \t\n\t\tString fileName = \"/tmp/stat_000_\"+listAffAnn.count()+\".csv\";\n \ttry {\n\t\t\tBufferedWriter fichier = new BufferedWriter(new FileWriter(fileName));\n\t\t\tfichier.write(sb.toString());\n\t\t\tfichier.close();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\tLRLog.log(\"writing \" + fileName);\n\t\t}\n }", "public static void display(ArrayList<Update> listU) {\n if (listU.isEmpty()) {\n System.err.println(\"List empty.\");\n return;\n }\n System.out.printf(\"%-5s%-15s%-5s%-10s%-10s%-20s\\n\", \"Code\", \"Name\", \"Age\",\n \"Salary\", \"Status\", \"Date\");\n Collections.sort(listU);\n //print history from first to last list\n for (Update history : listU) {\n printHistory(history);\n }\n }", "public static void orderRoastSliders(int orders) {\r\n System.out.println(\"Cookin' up \" + orders + \" roast beef sliders\");\r\n roastOrdered += orders;\r\n }", "@Override\n\tpublic String morder() {\n\t\treturn \"Los anelidos muerden y se aferran\";\n\t}", "private void GetDetailAnalysisText() {\n\t\tMap<Integer, ArrayList<ReportPluDayComboModifier>> combMap = getCombItemMap(this.comb);\n\n\t\tComparatorPluDayItem comparatorPluDayItem = new ComparatorPluDayItem();\n\t\tCollections.sort(reportPluDayItems, comparatorPluDayItem);\n//\t\tList<ReportPluDayItem> cop = new ArrayList<ReportPluDayItem>();\n\t\tint allQty = 0;\n\t\tBigDecimal allAmount = BH.getBD(ParamConst.DOUBLE_ZERO);\n//\t\t\tboolean showMainCategory = true;\n//\t\t\tint mainCategoryId = 0;\n\t\tboolean lastLinePrinted = false;\n//\t\tBigDecimal categoryAmount = BH.getBD(ParamConst.DOUBLE_ZERO);\n//\t\tString name = \"\";\n//\t\tint id = 0;\n\t\tMap<Integer, ReportPluDayItem> map = new HashMap<Integer, ReportPluDayItem>();\n\t\tfor (int j = 0; j < reportPluDayItems.size(); j++) {\n\n\t\t\tReportPluDayItem reportPluDayItem = reportPluDayItems.get(j);\n\t\t\t//ObjectFactory.getInstance().getReportPluDayItem(reportPluDayItem);\n\t\t\tif(map.containsKey(reportPluDayItem.getItemMainCategoryId().intValue())){\n\t\t\t\tReportPluDayItem amountReportPluDayItem = map.get(reportPluDayItem.getItemMainCategoryId().intValue());\n\t\t\t\tBigDecimal amount = BH.add(BH.getBD(amountReportPluDayItem.getItemAmount()), BH.getBD(reportPluDayItem.getItemAmount()), false);\n\t\t\t\tamountReportPluDayItem.setItemAmount(amount.toString());\n\t\t\t}else{\n\t\t\t\tReportPluDayItem rr = new ReportPluDayItem();\n\t\t\t\trr.setItemMainCategoryId(reportPluDayItem.getItemMainCategoryId());\n\t\t\t\trr.setItemMainCategoryName(reportPluDayItem.getItemMainCategoryName());\n\t\t\t\trr.setItemAmount(BH.formatMoney(reportPluDayItem.getItemAmount()));\n\t\t\t\tmap.put(reportPluDayItem.getItemMainCategoryId().intValue(), rr);\n\t\t\t}\n//\t\t\t\tif(mainCategoryId == 0 || mainCategoryId == reportPluDayItem.getItemMainCategoryId().intValue()){\n//\t\t\t\t\tcategoryAmount = BH.add(categoryAmount,\n//\t\t\t\t\t\t\tBH.getBD(reportPluDayItem.getItemAmount()), true);\n//\t\t\t\t\tname = reportPluDayItem.getItemMainCategoryName();\n//\t\t\t\t\tid = reportPluDayItem.getItemMainCategoryId().intValue();\n//\n//\t\t\t\t\tif(mainCategoryId == 0)\n//\t\t\t\t\t\tmainCategoryId = id;\n//\n//\t\t\t\t\tif( j == reportPluDayItems.size() - 1){\n//\t\t\t\t\t\tReportPluDayItem rr = new ReportPluDayItem();\n//\t\t\t\t\t\trr.setItemMainCategoryId(id);\n//\t\t\t\t\t\trr.setItemMainCategoryName(name);\n//\t\t\t\t\t\trr.setItemAmount(categoryAmount.toString());\n//\t\t\t\t\t\tcop.add(rr);\n//\t\t\t\t\t}\n//\t\t\t\t}else{\n//\t\t\t\t\tReportPluDayItem rr = new ReportPluDayItem();\n//\t\t\t\t\trr.setItemMainCategoryId(id);\n//\t\t\t\t\trr.setItemMainCategoryName(name);\n//\t\t\t\t\trr.setItemAmount(categoryAmount.toString());\n//\t\t\t\t\tcop.add(rr);\n//\t\t\t\t\tname = reportPluDayItem.getItemMainCategoryName();\n//\t\t\t\t\tid = reportPluDayItem.getItemMainCategoryId().intValue();\n//\t\t\t\t\tmainCategoryId = id;\n//\t\t\t\t\tcategoryAmount = BH.getBD(ParamConst.DOUBLE_ZERO);\n//\t\t\t\t\tcategoryAmount = BH.add(categoryAmount,\n//\t\t\t\t\t\t\tBH.getBD(reportPluDayItem.getItemAmount()), true);\n//\n//\t\t\t\t}\n\t\t}\n\n\t\tIterator<Map.Entry<Integer, ReportPluDayItem>> entries = map.entrySet().iterator();\n\t\tboolean isFirst = true;\n\t\twhile (entries.hasNext()){\n\t\t\tMap.Entry<Integer, ReportPluDayItem> entry = entries.next();\n\t\t\tif(!isFirst){\n\t\t\t\tthis.addHortionalLine(this.charSize);\n\t\t\t}\n\t\t\tisFirst = false;\n\t\t\tReportPluDayItem amontReportPluDayItem = entry.getValue();\n\t\t\tthis.AddItem(amontReportPluDayItem.getItemMainCategoryName(), \"\", \"\", BH.formatMoney(amontReportPluDayItem.getItemAmount()).toString(), 1);\n\t\t\tthis.addHortionalLine(this.charSize);\n\t\t\tfor (int j = 0; j < reportPluDayItems.size(); j++) {\n\n\t\t\t\tReportPluDayItem reportPluDayItem = reportPluDayItems.get(j);\n\t\t\t\tif (amontReportPluDayItem.getItemMainCategoryId().intValue() == reportPluDayItem.getItemMainCategoryId().intValue()) {\n\t\t\t\t\t// Print comb modifier\n\t\t\t\t\tint itmId = reportPluDayItem.getItemDetailId().intValue();\n\t\t\t\t\tArrayList<ReportPluDayComboModifier> comItems = combMap.get(itmId);\n\t\t\t\t\tif (comItems != null && comItems.size() > 0) {\n\n\t\t\t\t\t\tint mm = 0;\n\t\t\t\t\t\tthis.AddItem(\" \"+reportPluDayItem.getItemName(), BH.formatMoney(reportPluDayItem.getItemPrice()),\n\t\t\t\t\t\t\t\treportPluDayItem.getItemCount().toString(),\n\t\t\t\t\t\t\t\tBH.formatThree(reportPluDayItem.getItemAmount()), 1);\n\t\t\t\t\t\tlastLinePrinted = false;\n\t\t\t\t\t\tthis.addHortionalLine(this.charSize);\n\t\t\t\t\t\tfor (mm = 0; mm < comItems.size(); mm++) {\n\t\t\t\t\t\t\tReportPluDayComboModifier pluModifier = comItems.get(mm);\n\t\t\t\t\t\t\tint count = pluModifier.getModifierCount().intValue() - pluModifier.getVoidModifierCount().intValue() - pluModifier.getBillVoidCount().intValue();\n\t\t\t\t\t\t\tif (count > 0) {\n\t\t\t\t\t\t\t\tBigDecimal modifierAmount = BH.mul(BH.getBD(1.00), BH.getBD(pluModifier.getModifierPrice()), true);\n\t\t\t\t\t\t\t\tBigDecimal modifierPrice = BH.mul(BH.getBD(1.00), BH.getBD(pluModifier.getModifierItemPrice()), true);\n\t\t\t\t\t\t\t\tthis.AddItem(\" (\" + pluModifier.getModifierName() + \")\",\n\t\t\t\t\t\t\t\t\t\t\"(\" + BH.formatThree(modifierPrice.toString()) + \")\", \"(\" + String.valueOf(count) + \")\", \"(\" + BH.formatThree(modifierAmount.toString())+ \")\", 1);\n\t\t\t\t\t\t\t\tlastLinePrinted = false;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (mm == comItems.size() && mm > 0) {\n\t\t\t\t\t\t\tif (!lastLinePrinted)\n\t\t\t\t\t\t\t\tthis.addHortionalLine(this.charSize);\n\t\t\t\t\t\t\tlastLinePrinted = true;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t} else {\n\n\t\t\t\t\t\tthis.AddItem(\" \"+reportPluDayItem.getItemName(), BH.formatMoney(reportPluDayItem.getItemPrice()),\n\t\t\t\t\t\t\t\treportPluDayItem.getItemCount().toString(), \"\" + BH.formatMoney(reportPluDayItem.getItemAmount()), 1);\n\t\t\t\t\t\tlastLinePrinted = false;\n\t\t\t\t\t}\n\t\t\t\t\t//END Comb modifier print\n\t\t\t\t\tallQty += reportPluDayItem.getItemCount();\n\t\t\t\t\tallAmount = BH.add(allAmount,\n\t\t\t\t\t\t\tBH.getBD(reportPluDayItem.getItemAmount()), true);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n//\t\tfor(ReportPluDayItem category : cop) {\n//\t\t\t\tif(cop.indexOf(category) != 0){\n//\t\t\t\t\tthis.addHortionalLine(this.charSize);\n//\t\t\t\t}\n//\t\t\t\tthis.AddItem(category.getItemMainCategoryName(), \"\", \"\", category.getItemAmount(), 1);\n//\t\t\t\tthis.addHortionalLine(this.charSize);\n//\t\t\t\tfor (int j = 0; j < reportPluDayItems.size(); j++) {\n//\n//\t\t\t\t\tReportPluDayItem reportPluDayItem = reportPluDayItems.get(j);\n////\t\t\t\t\tif (mainCategoryId != reportPluDayItem.getItemMainCategoryId().intValue()) {\n////\t\t\t\t\t\tif (mainCategoryId != 0) {\n////\t\t\t\t\t\t\tif (!lastLinePrinted)\n////\t\t\t\t\t\t\t\tthis.addHortionalLine(this.charSize);\n////\t\t\t\t\t\t\tlastLinePrinted = true;\n////\t\t\t\t\t\t}\n////\t\t\t\t\t\tmainCategoryId = reportPluDayItem.getItemMainCategoryId().intValue();\n////\t\t\t\t\t\tshowMainCategory = true;\n////\t\t\t\t\t}\n////\t\t\t\t\tif (showMainCategory) {\n////\t\t\t\t\t\tthis.AddItem(reportPluDayItem.getItemMainCategoryName(), \"\", \"\", \"\", 1);\n////\t\t\t\t\t\tthis.addHortionalLine(this.charSize);\n////\t\t\t\t\t\tshowMainCategory = false;\n////\t\t\t\t\t\tlastLinePrinted = true;\n////\t\t\t\t\t}\n//\t\t\t\t\tif (category.getItemMainCategoryId().intValue() == reportPluDayItem.getItemMainCategoryId().intValue()) {\n//\t\t\t\t\t\t//Bob: Print comb modifier\n//\t\t\t\t\t\tint itmId = reportPluDayItem.getItemDetailId().intValue();\n//\t\t\t\t\t\tArrayList<ReportPluDayComboModifier> comItems = combMap.get(itmId);\n//\t\t\t\t\t\tif (comItems != null && comItems.size() > 0) {\n//\n//\t\t\t\t\t\t\tint mm = 0;\n//\t\t\t\t\t\t\tthis.AddItem(\" \"+reportPluDayItem.getItemName(), reportPluDayItem.getItemPrice(),\n//\t\t\t\t\t\t\t\t\treportPluDayItem.getItemCount().toString(),\n//\t\t\t\t\t\t\t\t\treportPluDayItem.getItemAmount(), 1);\n//\t\t\t\t\t\t\tlastLinePrinted = false;\n//\t\t\t\t\t\t\tthis.addHortionalLine(this.charSize);\n//\t\t\t\t\t\t\tfor (mm = 0; mm < comItems.size(); mm++) {\n//\t\t\t\t\t\t\t\tReportPluDayComboModifier pluModifier = comItems.get(mm);\n//\t\t\t\t\t\t\t\tint count = pluModifier.getModifierCount().intValue() - pluModifier.getVoidModifierCount().intValue() - pluModifier.getBillVoidCount().intValue();\n//\t\t\t\t\t\t\t\tif (count > 0) {\n//\t\t\t\t\t\t\t\t\tBigDecimal modifierAmount = BH.mul(BH.getBD(1.00), BH.getBD(pluModifier.getModifierPrice()), true);\n//\t\t\t\t\t\t\t\t\tBigDecimal modifierPrice = BH.mul(BH.getBD(1.00), BH.getBD(pluModifier.getModifierItemPrice()), true);\n//\t\t\t\t\t\t\t\t\tthis.AddItem(\" (\" + pluModifier.getModifierName() + \")\",\n//\t\t\t\t\t\t\t\t\t\t\t\"(\" + modifierPrice.toString() + \")\", \"(\" + String.valueOf(count) + \")\", \"(\" + modifierAmount.toString() + \")\", 1);\n//\t\t\t\t\t\t\t\t\tlastLinePrinted = false;\n//\t\t\t\t\t\t\t\t}\n//\t\t\t\t\t\t\t}\n//\t\t\t\t\t\t\tif (mm == comItems.size() && mm > 0) {\n//\t\t\t\t\t\t\t\tif (!lastLinePrinted)\n//\t\t\t\t\t\t\t\t\tthis.addHortionalLine(this.charSize);\n//\t\t\t\t\t\t\t\tlastLinePrinted = true;\n//\t\t\t\t\t\t\t}\n//\n//\t\t\t\t\t\t} else {\n//\n//\t\t\t\t\t\t\tthis.AddItem(\" \"+reportPluDayItem.getItemName(), reportPluDayItem.getItemPrice(),\n//\t\t\t\t\t\t\t\t\treportPluDayItem.getItemCount().toString(), \"\" + reportPluDayItem.getItemAmount(), 1);\n//\t\t\t\t\t\t\tlastLinePrinted = false;\n//\t\t\t\t\t\t}\n//\t\t\t\t\t\t//END Comb modifier print\n//\t\t\t\t\t\tallQty += reportPluDayItem.getItemCount();\n//\t\t\t\t\t\tallAmount = BH.add(allAmount,\n//\t\t\t\t\t\t\t\tBH.getBD(reportPluDayItem.getItemAmount()), true);\n//\t\t\t\t\t}\n//\t\t\t\t}\n//\t\t\t}\n\t\tif (allQty != 0) {\n\t\t\tthis.addHortionalLine(this.charSize);\n\t\t\tthis.AddItem(PrintService.instance.getResources().getString(R.string.total), \"\", allQty + \"\", BH.formatMoney(allAmount.toString()), 1);\n\t\t}\n\n\n\t}", "public void printInventory(){\n\t\tint i;\n\t\tint listSize = inventory.size();\n\t\tRoll temp;\n\t\tString outputText;\n\t\toutputText = \"Inventory Stocks Per Roll: \";\n\t\t//outputText = inventory.get(0).getRoll().getType() + \" Roll Current stock: \" + inventory.get(0).getStock();\n\t\tfor(i = 0; i < listSize; i++){\n\t\t\tif(i % 3 == 0){\n\t\t\t\toutputText = outputText + \"\\n\";\n\t\t\t}\n\t\t\toutputText = outputText + inventory.get(i).getRoll().getType() + \" : \" + inventory.get(i).getStock() + \" \";\n\t\t}\n\t\tSystem.out.println(outputText);\n\t\tthis.status = outputText;\n\t\tsetChanged();\n notifyObservers();\n\t}", "private void viewBackpack() {\n Item[] inventory = GameControl.getSortedInventoryList();\r\n \r\n System.out.println(\"\\n List of inventory Items\");\r\n System.out.println(\"Description\" + \"\\t\" + \r\n \"Required\" + \"\\t\" +\r\n \"In Stock\");\r\n \r\n // For each inventory item\r\n for (Item inventoryItem : inventory){\r\n // Display the description, the required amount and amount in stock\r\n System.out.println(InventoryItem.getType + \"\\t \" +\r\n InventoryItem.requiredAmount + \"\\t \" +\r\n InventoryItem.getQuantity);\r\n }\r\n \r\n }", "public void sortInventory() {\n int i = 0;\n //update all the the button icons with our inventory for if the inventory is less than full (10 items)\n for (; i < inventory.items.size(); i++) {\n //set the button to display the item in the inventory\n buttonsArray[i].setType(inventory.items.get(i).type);\n }\n //clears the remaining items in the inventory if the inventory has less than 10 items\n for (; i < 10; i++) {\n //set any button in the inventory panel to empty if there is not item in that inventory slot\n buttonsArray[i].setType(null);\n }\n\n this.parent.itemsPanel.updateItems();\n }", "private void printUpdateOrderMenu()\n {\n System.out.println(\"\");\n System.out.println(\"*** Opdater Salg ***\");\n System.out.println(\"(0) Tilbage\");\n System.out.println(\"(1) Opdater Medarbejder\");\n System.out.println(\"(2) Opdater Kunde\");\n System.out.println(\"(3) Opdater Produkt\");\n System.out.println(\"(4) Tilføj Produkt\");\n System.out.println(\"(5) Bekræft\");\n System.out.print(\"Valg: \");\n }", "private void raceFormat()\n {\n topLine();\n secondLine();\n thirdLine();\n fourthLine();\n }", "public void updateDrawingOrder(){\n\n //get all actors in the objectStage\n Array<Actor> actorsList = objectStage.getActors();\n actorsList.sort(new ActorComparator());\n }", "@Override\n public void onChanged(List<Fuel> fuels) {\n if (!fuels.isEmpty()){\n\n Log.d(TAG, \"onChanged: fuels.size() = \" + fuels.size());\n\n // fuels.size()-1 displayed last item in the list, so I tested and found that 0 item is the first item\n Fuel mostRecentFuel = fuels.get(0); // most recent item is zero item on the list means first item\n Log.d(TAG, \"onChanged: mostRecentFuel.getFuelID() = \" + mostRecentFuel.getFuelID());\n\n lastODOreading = mostRecentFuel.getCurrentKm();\n tin_startingKm.setText(String.valueOf(lastODOreading));\n\n }\n\n\n }", "void sort() {\n\t//\t... fill this in ...\n\t//how do I get teh next item? where is the reader in the interface that returns the next item??? \n\tif (sorter==null || sorter.nextItem()==false) \n\treturn ;\n\t while(sorter.nextItem())\n\t {\n\t /*Red, if the decoration is more than 35% red\nGreen, if the decoration is more than 30% green\nReject, if the decoration is both more than 35% red and 30% green - these are just too \"loud\". \n*/\n\t //ScannerAndSorter item=sorter.read();\n\t if (sorter.redPercentage()>35.00)\n\t if (sorter.greenPercentage()>30)\n\t sorter.reject();\n\t else\n\t sorter.sendToRed();\n\t else if (sorter.greenPercentage()>30)\n\t sorter.sendToGreen();\n\t }\n\t \n\t}", "@Override\n public String toString() {\n StringBuilder builder = new StringBuilder();\n if (this.high.compareTo(low) == -1) {\n return \"\";\n }\n Note temLow = new Note(this.low.getDuration(), this.low.getOctave(),\n this.low.getStartMeasure(), this.low.getPitch(), this.low.getIsHead(),\n this.low.getInstrument(), this.low.getVolume());\n builder.append(\" \");\n for (int i = 0; this.high.compareTo(temLow) != -1; i++) {\n if (temLow.toString().length() == 3) {\n builder.append(temLow.toString());\n } else {\n builder.append(\" \" + temLow.toString());\n }\n temLow.up();\n }\n builder.append(\"\\n\");\n\n for (int i = 0; i < this.sheet.size(); i++) {\n if (i < 10) {\n builder.append(i + \" \");\n } else {\n builder.append(i);\n }\n List<Note> list = new ArrayList<Note>(this.sheet.get(i));\n Collections.sort(list);\n int listIndex = 0;\n Note comparator = new Note(this.low.getDuration(), this.low.getOctave(),\n this.low.getStartMeasure(), this.low.getPitch(), this.low.getIsHead(),\n this.low.getInstrument(), this.low.getVolume());\n\n // when the measure is empty.\n if (list.size() == 0) {\n builder.append(\" \");\n }\n for (int j = 0; listIndex < list.size() && j <= this.high.howFarUp(this.low); j++) {\n if (list.get(listIndex).compareTo(comparator) == 0) {\n if (list.get(listIndex).getIsHead()) {\n builder.append(\" X \");\n listIndex++;\n } else {\n builder.append(\" | \");\n listIndex++;\n }\n } else {\n builder.append(\" \");\n }\n comparator.up();\n }\n builder.append(\"\\n\");\n }\n return builder.toString();\n }", "private void viewList() {\n ToDoList highPriority = new ToDoList(\"high priority\");\n ToDoList midPriority = new ToDoList(\"mid priority\");\n ToDoList lowPriority = new ToDoList(\"high priority\");\n\n for (int i = 0; i < toDoList.getSize(); i++) {\n if (toDoList.getItemAtIndex(i + 1).getCategory().equals(Categories.HIGHPRIORITY)) {\n highPriority.insert(toDoList.getItemAtIndex(i + 1));\n }\n\n if (toDoList.getItemAtIndex(i + 1).getCategory().equals(Categories.MIDPRIORITY)) {\n midPriority.insert(toDoList.getItemAtIndex(i + 1));\n }\n\n if (toDoList.getItemAtIndex(i + 1).getCategory().equals(Categories.LOWPRIORITY)) {\n lowPriority.insert(toDoList.getItemAtIndex(i + 1));\n }\n }\n\n System.out.println(\"HIGH PRIORITY: \");\n display(highPriority);\n System.out.println(\"MID PRIORITY: \");\n display(midPriority);\n System.out.println(\"LOW PRIORITY: \");\n display(lowPriority);\n displayUrgent(toDoList);\n }", "@Override\n public String toString() {\n return \"2. \" + rb.getString(\"Title.DefDefCurr\");\n }", "private void updateCFRABC(int num) {\r\n if (num < 0) {\r\n window.removeAllShapes();\r\n }\r\n else {\r\n State currentState = covidCalculator.getLL().get(num);\r\n ArrayList<Race> currentRacesSorted = covidCalculator.sortByABC(\r\n currentState);\r\n\r\n for (int i = 0; i < currentRacesSorted.size(); i++) {\r\n String cfrPercentage = String.valueOf(currentRacesSorted.get(i)\r\n .getCFR());\r\n\r\n if (!cfrPercentage.equals(\"-1%\")) {\r\n TextShape cfrName = new TextShape(0, 0, cfrPercentage);\r\n cfrName.moveTo(barXPos + (spacingSize * spacingCounter),\r\n +barYPos + 25);\r\n window.addShape(cfrName);\r\n }\r\n spacingCounter++;\r\n }\r\n }\r\n lastStateMemory = num;\r\n spacingCounter = 1;\r\n }", "@Override\n\tpublic void onRed() {\n\t\taddSequential(new DriveStraightByDistance(PEG_STRAIGHT - ROBOT_LENGTH / 2), 3.5);\n\t\t//TODO: might need to change to a little less\n\t\taddSequential(new TurnDegrees(90), 2.5);\n\t\taddSequential(new DriveStraightByDistance(EXTRA_DIS), 4);\n\t\taddSequential(new OpenPlacer2());\n\t\taddSequential(new ArcadeDriveByValues(-0.5, -0.5), 1);// TODO change commad\n\t\taddSequential(new ClosePlacer());\n\t}", "public void evolve() {\n\t\tfurniturePriority++;\r\n\t}", "public void showBowlingOrder()\n\t{\n\t\twhile(bowlers.size()!=0)\n\t\t{\n\t\t\tbowlers.get(0).setBall(bowlers.get(0).getBall()-1);\n\t\t\tSystem.out.println(bowlers.get(0).getName()+\" throw this ball and left with \"+bowlers.get(0).getBall());\n\t\t\tif(bowlers.get(0).getBall()==0)\n\t\t\t{\n\t\t\t\tbowlers.remove(0);\n\t\t\t}\n\t\t\tthis.shortSort();\n\t\t}\n\t}", "void sortUI();", "public void display_inventory() {\n\t\t// displays all identified crystals\n\t\tfor(int i = 0;i<maxInvSize;i++) {\n\t\t\tif(identifiedArray[i] != null) {\n\t\t\t\tcrystal_description(identifiedArray[i]);\n\t\t\t}\n\t\t}\n\t\t\n\t}", "public int getCurrRuptures();", "public void Show(int _order){\n\t\tSystem.out.println(_order + \": \" + name + \" is at floor #\" + actualFloor + \", he wants to go to floor #\" + targetFloor);\n\t}", "private static void incrementLaunchOrder()\r\n\t{\r\n\t\tlaunchOrder++;\r\n\t}", "public void printOL() {\n\t\tString format = \"%-30s %30s %n\";\n\t\tSystem.out.format(format,\"Item Name:\",this.item.getName());\n\t\tSystem.out.format(format,\"Quantity:\",this.quantity);\n\t\tSystem.out.format(format,\"Supplier:\",this.supplierName);\n\t\t\n\t}", "public int getModelOutputChartOrder();", "public String pressureTrendIcon() {\n String trendIcon = \" \";\n if (readings.size() >= 3) {\n float t1 = readings.get(readings.size() - 3).pressure;\n float t2 = readings.get(readings.size() - 2).pressure;\n float t3 = readings.get(readings.size() - 1).pressure;\n if (t3 > t2 && t2 > t1) {\n trendIcon += \" huge long arrow alternate up icon \";\n } else if (t3 < t2 && t2 < t1) {\n trendIcon += \" huge long arrow alternate down icon \";\n } else {\n trendIcon += \" huge arrows alternate horizontal icon\";\n }\n }\n return trendIcon;\n }", "@Override\n public String race() {\n mounts.forEach((list) -> list.randomizeSpeed());\n Collections.sort(mounts, new Comparator<Observer>() {\n @Override\n public int compare(Observer o1, Observer o2) {\n return o2.getResult() - o1.getResult();\n }\n });\n winners = new ArrayList<>();\n int win = 0;\n for (Observer horse : mounts) {\n if (horse.getResult() >= win) {\n win = horse.getResult();\n winners.add(horse);\n } else {\n break;\n }\n }\n winners.forEach((list) -> System.out.println(Answer.RACE.toString(1) + \" \" + list.getName()));\n return Answer.RACE.toString(6);\n }", "private List<TrackElement> getRenderOrder(Timeline timeline) {\n List<Track> tracks = new ArrayList<>(timeline.getTracks());\n Collections.reverse(tracks);\n return tracks.stream().flatMap(t -> t.getAllElements().stream()).collect(Collectors.toList());\n }", "private float horisontalTicker() {\n\t\t\t\treturn (ticker_horisontal += 0.8f);\n\t\t\t}", "private void updateBar() {\n\t\tString resources = String.format(\"Money: $%d\\nAgents: %d\\nMedia reach: %d\\nPopulation unrest: %d\"\n\t\t\t\t, player.getMoney(), player.getAgentNumber(), player.getMediaReach(), player.getUnrestSpread());\n\t\t((TextView) findViewById(R.id.text_resource_display_left)).setText(resources);\n\t\t\n\t\tresources = String.format(\"\\nAgent skill: %.0f%%\\nMedia influence: %.0f%%\\nPopulation care: %.0f%%\"\n\t\t\t\t, player.getAgentSkill(), player.getMediaPerception(), player.getUnrestStrength());\n\t\t((TextView) findViewById(R.id.text_resource_display_right)).setText(resources);\n\t}", "private int getRL(Entity entity){\n\t\treturn Mappers.renderLevel.get(entity).renderLevel;\n\t}", "@FXML\n private void updateOrganOrder(ActionEvent event) {\n\n if (sortOrder == Order.ORGAN_ASC) {\n\n sortOrder = Order.ORGAN_DESC;\n\n } else if (sortOrder == Order.ORGAN_DESC) {\n\n sortOrder = Order.DEFAULT;\n\n } else {\n\n sortOrder = Order.ORGAN_ASC;\n\n }\n\n updateOrderButtons();\n\n }", "void regListValueChanged(){\r\n\t\tseries = dealer.getSeriesQueue();\r\n\t\tIterator<BuzzardSeriesInfo> it = series.iterator();\r\n\t\tint i=0;\r\n\t\tint selInd = reList.getSelectedIndex();\r\n\t\twhile(i<=selInd&&it.hasNext()){\r\n\t\t\tinfo = it.next();\r\n\t\t\ti++;\r\n\t\t}\r\n\t\tnrLabel.setText(nrLabelText + String.valueOf(info.getNoOfMatches()));\r\n\t\t// Welch Freude... wir sehen den Fragezeichenoperator in action ;)\r\n\t\tviLabel.setText(viLabelText + (info.isSimulated()?\"Ja\":\"Nein\"));\r\n\t\tgeList.clear();\r\n\t\tgeList.displayPlayers(info.getPlayers());\r\n\t}", "@Override\n\tpublic int getOrder() {\n\t\treturn 1;\n\t}", "public String display(){\r\n\t\tif(this.AWD==true){\r\n\t\t\treturn super.display()+\" \"+model+\" \"+this.price+\"$ SF: \"+this.safetyRating+\" RNG: \" +this.maxRange+\" AWD\";\r\n\t\t}\r\n\t\telse{\r\n\t\t\treturn super.display()+\" \"+model+\" \"+this.price+\"$ SF: \"+this.safetyRating+\" RNG: \" +this.maxRange+\" 2WD\";\r\n\t\t}\r\n \r\n\t}", "private void updateCFRCFR(int num) {\r\n if (num < 0) {\r\n window.removeAllShapes();\r\n }\r\n else {\r\n State currentState = covidCalculator.getLL().get(num);\r\n ArrayList<Race> currentRacesSorted = covidCalculator.sortByCFR(\r\n currentState);\r\n\r\n for (int i = 0; i < currentRacesSorted.size(); i++) {\r\n String cfrPercentage = String.valueOf(currentRacesSorted.get(i)\r\n .getCFR());\r\n\r\n if (!cfrPercentage.equals(\"-1%\")) {\r\n TextShape cfrName = new TextShape(0, 0, cfrPercentage);\r\n cfrName.moveTo(barXPos + (spacingSize * spacingCounter),\r\n +barYPos + 25);\r\n window.addShape(cfrName);\r\n }\r\n spacingCounter++;\r\n }\r\n }\r\n lastStateMemory = num;\r\n spacingCounter = 1;\r\n }", "public void look() {\n\t\tthis.print((this.observe().get(0)).toString());\n\t\t\n\t}", "private void updateRaceCFR(int num) {\r\n window.removeAllShapes();\r\n\r\n if (!(num < 0)) {\r\n State currentState = covidCalculator.getLL().get(num); // state\r\n ArrayList<Race> currentRacesSorted = covidCalculator.sortByCFR(\r\n currentState);\r\n\r\n for (int i = 0; i < currentRacesSorted.size(); i++) {\r\n String currentRace = currentRacesSorted.get(i).getRaceName();\r\n TextShape raceNameShape = new TextShape(0, 0, currentRace);\r\n\r\n raceNameShape.moveTo(barXPos + (spacingSize * spacingCounter),\r\n barYPos);\r\n window.addShape(raceNameShape);\r\n spacingCounter++;\r\n }\r\n\r\n }\r\n lastStateMemory = num;\r\n spacingCounter = 1;\r\n }", "public void journalistCommentary() {\r\n Map<Competitor,Integer> res = this.ranking();\r\n System.out.println(\"\\n<<<<<<< Media >>>>>>>\");\r\n for (Map.Entry<Competitor,Integer> entry : res.entrySet()) \r\n System.out.println(entry.getKey().toString2());\r\n }", "protected void ligneDroite() {\n\t\tboolean accelerer = true;\n\t\twhile (ev3.SUIVRE == seenColor) {\n\t\t\tev3.begSync();\n\t\t\tev3.avance();\n\t\t\tev3.endSync();\n\t\t\tif (ev3.getLigne() < 15 && accelerer) {\n\t\t\t\tev3.accelerer();\n\t\t\t\tev3.setLigne(ev3.getLigne() + 1);\n\t\t\t} else if (ev3.getLigne() == 30 && accelerer) {\n\t\t\t\taccelerer = false;\n\t\t\t} else if (ev3.getLigne() == 7) {\n\t\t\t\taccelerer = true;\n\t\t\t} else if (accelerer == false) {\n\t\t\t\tev3.decelerer();\n\t\t\t\tev3.setLigne(ev3.getLigne() - 1);\n\t\t\t}\n\t\t\tseenColor = find.whatColor(ev3.lireColor());\n\t\t}\n\t}", "private void prnFOOTR()\n\t{\n\t\ttry\n\t\t{\n\t\t\tif(cl_dat.M_intLINNO_pbst >= 64)\n\t\t\t{\n\t\t\t\tdosREPORT.writeBytes(\"-------------------------------------------------------------------------------------------------------------------------------------\");\t\t\n\t\t\t\tif(cl_dat.M_cmbOPTN_pbst.getSelectedItem().toString().equals(cl_dat.M_OPPRN_pbst) && (M_rdbTEXT.isSelected()))\n\t\t\t\t\tprnFMTCHR(dosREPORT,M_strEJT);\n\t\t\t\tif(M_rdbHTML.isSelected())\n\t\t\t\t\tdosREPORT.writeBytes(\"<P CLASS = \\\"breakhere\\\">\");\t\t\t\t\t\t\t\t\n\t\t\t\tprnHEADER();\n\t\t\t}\n\t\t\tdosREPORT.writeBytes(\"-------------------------------------------------------------------------------------------------------------------------------------\\n\");\n\t\t\tdosREPORT.writeBytes (\"\\n\\n\\n\\n\\n\");\n\t\t\tdosREPORT.writeBytes(padSTRING('L',\" \",10));//margin\n\t\t\tif(cl_dat.M_cmbOPTN_pbst.getSelectedItem().toString().equals(cl_dat.M_OPPRN_pbst) && (M_rdbTEXT.isSelected()))\n\t\t\t\tprnFMTCHR(dosREPORT,M_strBOLD);\n\t\t\tif(M_rdbHTML.isSelected())\n\t\t\t\tdosREPORT.writeBytes(\"<B>\");\n\t\t\tdosREPORT.writeBytes(padSTRING('R',\"PREPARED BY\",40));\n\t\t\tdosREPORT.writeBytes(padSTRING('R',\"CHECKED BY \",40));\n\t\t\tdosREPORT.writeBytes(padSTRING('R',\"H.O.D (MHD) \",40));\n\t\t\tif(cl_dat.M_cmbOPTN_pbst.getSelectedItem().toString().equals(cl_dat.M_OPPRN_pbst) && (M_rdbTEXT.isSelected()))\n\t\t\t\tprnFMTCHR(dosREPORT,M_strNOBOLD);\n\t\t\tif(M_rdbHTML.isSelected())\n\t\t\t\tdosREPORT.writeBytes(\"</B>\");\n\t\t\tdosREPORT.writeBytes(\"\\n\");\n\t\t\tdosREPORT.writeBytes(\"-------------------------------------------------------------------------------------------------------------------------------------\\n\");\n\t\t\t\n\t\t\tdosREPORT.writeBytes(\" System generated report, hence signature not required \\n\");\n\t\t\tcl_dat.M_intLINNO_pbst += 8;\n\t\t\tif(cl_dat.M_cmbOPTN_pbst.getSelectedItem().toString().equals(cl_dat.M_OPPRN_pbst))\n\t\t { \n\t\t\t\tprnFMTCHR(dosREPORT,M_strEJT);\n\t\t\t\tprnFMTCHR(dosREPORT,M_strNOCPI17);\n\t\t\t\tprnFMTCHR(dosREPORT,M_strCPI10);\n\t\t\t}\t\n\t\t}\n\t catch(Exception L_EX)\n\t {\n\t\t\tsetMSG(L_EX + \" prnFOOTR\",'E');\n\t\t}\t\n\t}", "@FXML\n private void updateRegionOrder(ActionEvent event) {\n\n if (sortOrder == Order.REGION_ASC) {\n\n sortOrder = Order.REGION_DESC;\n\n } else if (sortOrder == Order.REGION_DESC) {\n\n sortOrder = Order.DEFAULT;\n\n } else {\n\n sortOrder = Order.REGION_ASC;\n\n }\n\n updateOrderButtons();\n\n }", "public void sortSubstrateSwitchByResource() {\n\t\tCollections.sort(this.listNode, new Comparator<SubstrateSwitch>() {\n\t\t\t@Override\n\t\t\tpublic int compare(SubstrateSwitch o1, SubstrateSwitch o2) {\n\n\t\t\t\tif (o1.getCpu() < o2.getCpu()) {\n\t\t\t\t\treturn 1;\n\t\t\t\t}\n\t\t\t\tif (o1.getCpu() > o2.getCpu()) {\n\t\t\t\t\treturn -1;\n\t\t\t\t}\n\n\t\t\t\treturn 0;\n\t\t\t}\n\t\t});\n\t}", "public String listLowStock() {\r\n\t\tString toReturn = \"\";\r\n\t\ttoReturn = String.format(\"Warehouse Name: %s%nPhone Number: %s%nAddress: %s\", this.name, this.phone, this.address);\r\n\t\ttoReturn += String.format(\"%nInventory Stock:%n%-30s|%-15s|%-15s|%-20s|%-15s|%-10s\", \"Product Name\", \"Wholesale Cost\", \"Retail Price\", \"Product Category\", \"Quantity Sold\", \"In Stock\");\r\n\t\tLinkedList<HashMap.Entry<Integer, Integer>> entries = new LinkedList<HashMap.Entry<Integer, Integer>>(inventory.entrySet());\r\n\t\tCollections.sort(entries, HashMap.Entry.comparingByValue());\r\n\t\tIterator<HashMap.Entry<Integer, Integer>> iter = entries.iterator();\r\n\t\twhile(iter.hasNext()) {\r\n\t\t\tHashMap.Entry<Integer, Integer> entry = iter.next();\r\n\t\t\tif(entry.getValue() >= 0 && entry.getValue() <= 5) {\r\n\t\t\t\tfor(Product p : Data.productArr) {\r\n\t\t\t\t\tif(p.getID() == entry.getKey()) {\r\n\t\t\t\t\t\ttoReturn += \"\\n\" + p.toString() + \"|\" + entry.getValue();\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\treturn toReturn;\r\n\t}", "public void plum() {\n plum = true;\n }", "private static void printRanking(List<Instruction> list,final String settlementType) {\n\t\tfinal Map<String, Double> entityMap = new HashMap<>();\n\t\tfor(Instruction instruction : list) {\n\t\t\tif(entityMap.get(instruction.getEntity())!=null) {\n\t\t\t\t//if multiple trades happened for same entity \n\t\t\t\tentityMap.put(instruction.getEntity(),(entityMap.get(instruction.getEntity()) + instruction.getTotalAmount()));\n\t\t\t}else {\n\t\t\t\tentityMap.put(instruction.getEntity(), instruction.getTotalAmount());\n\t\t\t}\n\t\t}\n\t\t// sort entity map based on TotoalAmount\n\t\tfinal Map<String, Double> sortedMap = entityMap.entrySet().stream()\n\t\t.sorted(Map.Entry.<String,Double>comparingByValue().reversed())\n\t\t.collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue, (e1, e2) -> e1, HashMap<String,Double>::new));\n\t\t\n\t\tSystem.out.println(settlementType +\" Ranking :\\n\");\n\t\tSet<String> keySet = sortedMap.keySet();\n\t\tint rank = 1;\n\t\tfor(String key : keySet) {\n\t\t\tSystem.out.println(key +\" - \"+ rank++);\n\t\t}\n\t}", "@Override\r\n\tpublic String toString() {\n\t\tString change = \"\";\r\n\t\tString min_change = \"\";\r\n\t\tString max_change = \"\";\r\n\r\n\t\tif (this.runaway_change != null) {\r\n\t\t\tchange += Unit.getDescriptionByCode(runaway_change);\r\n\t\t}\r\n\r\n\t\tif (this.containsV) {\r\n\t\t\tif (this.min_range_change != null) {\r\n\t\t\t\tmin_change += Unit.getDescriptionByCode(min_range_change);\r\n\t\t\t}\r\n\t\t\tif (this.max_range_change != null) {\r\n\t\t\t\tmax_change += Unit.getDescriptionByCode(max_range_change);\r\n\t\t\t}\r\n\t\t\treturn this.runaway_number + runaway_LCR==null?Unit.getDescriptionByCode(runaway_LCR):\"\" + \"跑道,最小跑道视程\" + this.min_range + \"米,\"\r\n\t\t\t\t\t+ min_change + \",最大跑道视程\" + this.max_range + \"米,\" + max_change + \",\";\r\n\r\n\t\t} else {\r\n\r\n\t\t\treturn this.runaway_number + Unit.getDescriptionByCode(runaway_LCR) + \"跑道,跑道视程\" + this.viusal_range + \"米,\"+change;\r\n\t\t}\r\n\t}", "public String display()\n {\n\t return super.display() + \" \" + \"EL, BAT: \" + batteryType + \" RCH: \" + rechargeTime;\n }", "private void initialTitle(TYPE type){\r\n\t\thas_args = false;\r\n\t\tString tail = \"\";\r\n\t\tString period = \"\"; \r\n\t\tprefix=\"\";\r\n\t\tStringBuilder sb = new StringBuilder();\r\n\t\tswitch(type){\r\n\t\tcase MONTH:\r\n\t\t\tperiod = RECENT_MONTH;\r\n\t\t\tbreak;\r\n\t\tcase SEASON:\r\n\t\t\tperiod = RECENT_SEASON;\r\n\t\t\tbreak;\r\n\t\tcase YEAR:\r\n\t\t\tperiod = RECENT_YEAR;\r\n\t\t\tbreak;\r\n\t\tcase ALL:\r\n\t\t\tperiod = RECENT_ALL;\r\n\t\t\tbreak;\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t\tif(item1.getExpanded()){\r\n\t\t\thas_args = true;\r\n\t\t\tshipment_profit = true;//shipment\r\n\t\t\ttail = \"的出货量\";\r\n\t\t\tif(combo_brand_shipment.getText().equals(AnalyzerConstants.ALL_BRAND)){\r\n\t\t\t\tbrand = AnalyzerConstants.ALL_BRAND;\r\n\t\t\t\tsub = \"\";\r\n\t\t\t}else{\r\n\t\t\t\tbrand = combo_brand_shipment.getText();\r\n\t\t\t\tsub = combo_sub_shipment.getText();\r\n\t\t\t}\r\n\t\t\tif(combo_area_shipment.getText().equals(AnalyzerConstants.ALL_AREA)){\r\n\t\t\t\tarea = AnalyzerConstants.ALL_AREA;\r\n\t\t\t\tcustomer = \"\";\r\n\t\t\t}else{\r\n\t\t\t\tarea = combo_area_shipment.getText();\r\n\t\t\t\tcustomer = combo_cus_shipment.getText();\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tsb.append(area);\r\n\t\t\tsb.append(customer);\r\n\t\t\tsb.append(period);\r\n\t\t\tsb.append(brand);\r\n\t\t\tsb.append(sub);\r\n\t\t\tsb.append(tail+\"\\n\");\r\n\t\t\t\r\n\t\t\tprefix+=(sb.toString());\r\n\t\t}\r\n\t\tif(item2.getExpanded()){\r\n\t\t\thas_args = true;\r\n\t\t\tshipment_profit = false;\r\n\t\t\ttail = \"的利润\";\r\n\t\t\tif(combo_brand_profit.getText().equals(AnalyzerConstants.ALL_BRAND)){\r\n\t\t\t\tbrand = AnalyzerConstants.ALL_BRAND;\r\n\t\t\t\tsub = \"\";\r\n\t\t\t}else{\r\n\t\t\t\tbrand = combo_brand_profit.getText();\r\n\t\t\t\tsub = combo_sub_profit.getText();\r\n\t\t\t}\r\n\t\t\tif(combo_area_profit.getText().equals(AnalyzerConstants.ALL_AREA)){\r\n\t\t\t\tarea = AnalyzerConstants.ALL_AREA;\r\n\t\t\t\tcustomer = \"\";\r\n\t\t\t}else{\r\n\t\t\t\tarea = combo_area_profit.getText();\r\n\t\t\t\tcustomer = combo_cus_profit.getText();\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tsb.append(area);\r\n\t\t\tsb.append(customer);\r\n\t\t\tsb.append(period);\r\n\t\t\tsb.append(brand);\r\n\t\t\tsb.append(sub);\r\n\t\t\tsb.append(tail+\"\\n\");\r\n\t\t\tprefix+=(sb.toString());\r\n\t\t}\r\n\t\t\r\n\t\tstyledText.setText(prefix);\r\n\t\tStyleRange styleRange = new StyleRange();\r\n\t\tstyleRange.start = 0;\r\n\t\tstyleRange.length = prefix.length();\r\n\t\tstyleRange.fontStyle = SWT.BOLD;\r\n\t\tstyledText.setStyleRange(styleRange);\r\n\t}", "private static void printSortActorMenu() {\n\t\tprintln(\"Actor Sorting Options:\");\n\t\tprintln(\"\\tAA: Alphabetically Ascending\");\n\t\tprintln(\"\\tAD: Alphabetically Descending\");\n\t\tprintln(\"\\tNA: By Number of Movies They Are In Ascending\");\n\t\tprintln(\"\\tND: By Number of Movies They Are In\");\n\t}", "public void display() {\n String box = \"\\n+--------------------------------------------+\\n\";\n String header = \"| \" + name;\n String lvlStat = \"Lv\" + level;\n for (int i=0; i<42-name.length()-lvlStat.length(); i++) {\n header += \" \";\n }\n header += lvlStat + \" |\\n\";\n System.out.println(box + header + \"| \" + getHealthBar() + \" |\" + box);\n }", "public void display() {\r\n String kind;\r\n if (profit == true) {\r\n kind = \"profit\";\r\n }\r\n\r\n else kind = \"non-profit\";\r\n System.out.println(name + \" is a \" + kind + \" organization that has\" + \" \" + revenue + \" dollars in revenue\" );\r\n }", "@Override\n\t\tvoid display() {\n\t\t\tSystem.out.println(\"I am in THIRD: \" + r);\n\t\t}", "public void showRRQueue()\n {\n boolean goodTogo = true;\n SimProcess p;\n while(goodTogo)\n {\n //Retreive the element from the queue and display it with its arrival time and process number\n try\n {\n p = rrQueue.remove();\n System.out.println(\"Arrival Time: \" + p.getArrivalTime() + \" , Process#: \" + p.getProcessNumber());\n }\n catch(NoSuchElementException e)\n {\n goodTogo = false;\n }\n }\n }", "public java.lang.String getLocalizedFrequencyString(java.lang.String r3) {\n /*\n r2 = this;\n int r0 = r3.hashCode()\n r1 = -791707519(0xffffffffd0cf8081, float:-2.78504428E10)\n if (r0 == r1) goto L_0x0028\n r1 = 95346201(0x5aede19, float:1.6444467E-35)\n if (r0 == r1) goto L_0x001e\n r1 = 1236635661(0x49b5900d, float:1487361.6)\n if (r0 == r1) goto L_0x0014\n goto L_0x0032\n L_0x0014:\n java.lang.String r0 = \"monthly\"\n boolean r3 = r3.equals(r0)\n if (r3 == 0) goto L_0x0032\n r3 = 2\n goto L_0x0033\n L_0x001e:\n java.lang.String r0 = \"daily\"\n boolean r3 = r3.equals(r0)\n if (r3 == 0) goto L_0x0032\n r3 = 0\n goto L_0x0033\n L_0x0028:\n java.lang.String r0 = \"weekly\"\n boolean r3 = r3.equals(r0)\n if (r3 == 0) goto L_0x0032\n r3 = 1\n goto L_0x0033\n L_0x0032:\n r3 = -1\n L_0x0033:\n switch(r3) {\n case 0: goto L_0x0054;\n case 1: goto L_0x0046;\n case 2: goto L_0x0038;\n default: goto L_0x0036;\n }\n L_0x0036:\n r3 = 0\n return r3\n L_0x0038:\n android.content.Context r3 = r2.context\n android.content.res.Resources r3 = r3.getResources()\n r0 = 2131888385(0x7f120901, float:1.9411404E38)\n java.lang.String r3 = r3.getString(r0)\n return r3\n L_0x0046:\n android.content.Context r3 = r2.context\n android.content.res.Resources r3 = r3.getResources()\n r0 = 2131889601(0x7f120dc1, float:1.941387E38)\n java.lang.String r3 = r3.getString(r0)\n return r3\n L_0x0054:\n android.content.Context r3 = r2.context\n android.content.res.Resources r3 = r3.getResources()\n r0 = 2131886962(0x7f120372, float:1.9408518E38)\n java.lang.String r3 = r3.getString(r0)\n return r3\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.myfitnesspal.shared.service.reminders.RemindersServiceImpl.getLocalizedFrequencyString(java.lang.String):java.lang.String\");\n }", "public void visitRemoteOrderDisplay( DevCat devCat ) {}", "@Override\n\tpublic void order() {\n\t\tSystem.out.println(\"고객 판매 주문\");\n\t}", "@FXML\n private void updateNameOrder(ActionEvent event) {\n\n if (sortOrder == Order.NAME_ASC) {\n\n sortOrder = Order.NAME_DESC;\n\n } else if (sortOrder == Order.NAME_DESC) {\n\n sortOrder = Order.DEFAULT;\n\n } else {\n\n sortOrder = Order.NAME_ASC;\n\n }\n\n updateOrderButtons();\n\n }", "private void sort() {\n Collections.sort(mEntries, new Comparator<BarEntry>() {\n @Override\n public int compare(BarEntry o1, BarEntry o2) {\n return o1.getX() > o2.getX() ? 1 : o1.getX() < o2.getX() ? -1 : 0;\n }\n });\n }", "private void updateBarCFR(int num) {\r\n if (num < 0) {\r\n window.removeAllShapes();\r\n }\r\n else {\r\n State currentState = covidCalculator.getLL().get(num);\r\n ArrayList<Race> currentRacesSorted = covidCalculator.sortByCFR(\r\n currentState);\r\n\r\n for (int i = 0; i < currentRacesSorted.size(); i++) {\r\n double currentCFR = currentRacesSorted.get(i).getCFR();\r\n if (currentCFR > 1) {\r\n Shape cfrBar = new Shape(0, 0, 25, (int)(10 * currentCFR),\r\n Color.RED);\r\n cfrBar.moveTo(barXPos + (spacingSize * spacingCounter) + 5,\r\n barYPos - cfrBar.getHeight());\r\n window.addShape(cfrBar);\r\n }\r\n else {\r\n TextShape name = new TextShape(0, 0, \"NA\");\r\n name.moveTo(barXPos + (spacingSize * spacingCounter) + 5,\r\n barYPos - 20);\r\n }\r\n spacingCounter++;\r\n }\r\n }\r\n lastStateMemory = num;\r\n spacingCounter = 1;\r\n }", "private static void sortingMemo() {\n\t\t\n\t}", "private void showrecordthroughmodel()\n {\n if(treatmentRequestModel != null)\n {\n tv_right_hand_dia.setText(\"\" + treatmentRequestModel.getSYSBeforeRight());\n tv_right_hand_sys.setText(\"\" + treatmentRequestModel.getDIABeforeRight());\n tv_right_hand_pulse.setText(\"\" + treatmentRequestModel.getPulseBeforeRight());\n\n tv_left_hand_dia.setText(\"\" + treatmentRequestModel.getDIABeforeLeft());\n tv_left_hand_sys.setText(\"\" + treatmentRequestModel.getSYSBeforeLeft());\n tv_left_hand_pulse.setText(\"\" + treatmentRequestModel.getPulseBeforeLeft());\n }\n\n }", "public void adjust_FineFuelMoisture(){\r\n\t// If FFM is one or less we set it to one\t\t\r\n\tif ((FFM-1)<=0){\r\n\t\tFFM=1;\r\n\t}else{\r\n\t\t//add 5 percent FFM for each Herb stage greater than one\r\n\t\tFFM=FFM+(iherb-1)*5;\r\n\t}\r\n}", "protected void viewToPresentOrGoIrRefresh()\n {\n if(widgg.common.bFreeze){\n //assume that the same time is used for actual shown data spread as need\n //for the future.\n \n //int timeRight = timeValues[(ixDataShowRight >> shIxiData) & mIxiData];\n //int timeRightNew = timeRight + timeorg.timeSpread * 7/8;\n \n int ixdDataSpread = ixDataShowRight - ixDataShown[pixelOrg.xPixelCurve * 5/8];\n if((ixDataShowRight - widgg.ixDataWr)<0 && (ixDataShowRight - widgg.ixDataWr + ixdDataSpread) >=0){\n //right end reached.\n ixDataShowRight = widgg.ixDataWr;\n widgg.common.bFreeze = false;\n } else {\n ixDataShowRight += ixdDataSpread;\n }\n //ixDataShowRight += ixdDataSpread;\n //if((ixDataShowRight - ixDataWr) > 0 && (ixDataShowRight - ixDataWr) < ixdDataSpread * 2) {\n //right end reached.\n //ixDataShowRight = ixDataWr;\n //common.bFreeze = false;\n //ixDataShowRight1 = ixDataWr + ixdDataSpread;\n //}\n //ixDataShowRight += ixDataShown[0] - ixDataShown[nrofValuesShow-1]; \n widgg.redraw(100, 200);\n \n } else {\n setPaintAllCmd(); //refresh\n }\n //System.out.println(\"right-bottom\");\n }", "public static void Ln10() {\r\n EBAS.L10_Timestamp.setText(GtDates.ldate);\r\n \r\n EBAS.L10_First_Sku.setEnabled(false);\r\n EBAS.L10_Qty_Out.setEnabled(false);\r\n EBAS.L10_First_Desc.setEnabled(false);\r\n EBAS.L10_Orig_Sku.setEnabled(false);\r\n EBAS.L10_Orig_Desc.setEnabled(false);\r\n EBAS.L10_Orig_Attr.setEnabled(false);\r\n EBAS.L10_Orig_Size.setEnabled(false);\r\n EBAS.L10_Orig_Retail.setEnabled(false);\r\n EBAS.L10_Manuf_Inspec.setEnabled(false);\r\n EBAS.L10_New_Used.setEnabled(false);\r\n EBAS.L10_Reason_DropDown.setEnabled(false);\r\n EBAS.L10_Desc_Damage.setEnabled(false);\r\n EBAS.L10_Cust_Satisf_ChkBox.setEnabled(false);\r\n EBAS.L10_Warranty_ChkBox.setEnabled(false);\r\n \r\n try {\r\n upDB();\r\n } catch (ClassNotFoundException | SQLException ex) {\r\n Logger.getLogger(EBAS.class.getName()).log(Level.SEVERE, null, ex);\r\n }\r\n }", "static void displayMinProfitableStock(ForeighStockHolding array[])\r\n\t{\n\t\tForeighStockHolding temp = array[0];\r\n\t\t\r\n\t\t//traversing the array to find the min profitable stock\r\n\t\tfor(int i=1; i<array.length; i++)\r\n\t\t{\r\n\t\t\tif((temp.valueInDollars()-temp.costInDollars()) > (array[i].valueInDollars()-array[i].costInDollars()))\r\n\t\t\t{\r\n\t\t\t\ttemp = array[i];\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\t//printing the minimum profitable stock\r\n\t\tSystem.out.println(\"Minimum Profitable Stock :\");\r\n\t\tSystem.out.println(\"Company Name : \"+temp.companyName);\r\n\t\tSystem.out.println(\"Purchase Share Price : \"+temp.purchaseSharePrice);\r\n\t\tSystem.out.println(\"Current Share Price : \"+temp.currentSharePrice);\r\n\t\tSystem.out.println(\"Number of Shares : \"+temp.numberOfShares);\r\n\t\tSystem.out.println(\"Conversion Rate : \"+temp.conversionRate);\r\n\t\tSystem.out.println();\r\n\t}", "private void updateUI() {\n mUser.weight.sortListByDate();\n mUser.bloodPressure.sortListsByDate();\n updateText();\n updateChart();\n }", "public int doMostFavourAction() {\n if (this.eatable > this.playable && this.eatable > this.ignorable) {\n this.raiseEatable(1.1, 0.9);\n return 0;\n } else if (this.playable > this.eatable && this.playable > this.ignorable) {\n this.raisePlayable(1.1, 0.9);\n return 1;\n } else if (this.ignorable > this.eatable && this.ignorable > this.playable) {\n this.raiseIgnorable(1.1, 0.9);\n return 2;\n } else {\n int random = (int) (Math.random()*3);\n if (random == 0) {\n this.raiseEatable(1.1, 0.9);\n } else if (random == 1) {\n this.raisePlayable(1.1, 0.9);\n } else {\n this.raiseIgnorable(1.1, 0.9);\n }\n return random;\n }\n }", "public void displayReceivedRewards() {\n ;////System.out.println(\"\");\n ;////System.out.println(\"displayReceivedRewards() called...\");\n ;////System.out.println(\"-playerModelDiff1: \" + playerModelDiff1.toString());\n ;////System.out.println(\"-playerModelDiff4: \" + playerModelDiff4.toString());\n ;////System.out.println(\"-playerModelDiff7: \" + playerModelDiff7.toString());\n }", "@Override\n\tpublic int getOrder() {\n\t\treturn Ordered.HIGHEST_PRECEDENCE + 10000;\n\t}", "protected void setDisplayOrder(UiAction uiAction, ResultSet rs, int rowNumber) throws SQLException{\n\t\t\n\t\tInteger displayOrder = rs.getInt(UiActionTable.COLUMN_DISPLAY_ORDER);\n\t\t\n\t\tif(displayOrder == null){\n\t\t\t//do nothing when nothing found in database\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tuiAction.setDisplayOrder(displayOrder);\n\t}", "public void reinforceAction(){\n\t\tint u = MainPlayScreen.this.game.getCurrentPlayer().getUnplacedArmies();\n\t\t\n\t\tif( u == 0){\n\t\t\tnumberOfArmies[1].removeAllItems();\n\t\t}\t// end of if statement\n\t\t\n\t\telse{\t\t\t\t\t\n\t\t\tnumberOfArmies[1].removeAllItems();\n\t\t\tfor( int i = 1; i <= u; i++){\n\t\t\t\tSystem.out.print(i);\n\t\t\t\t\n\t\t\t\tnumberOfArmies[1].addItem(i);\n\t\t\t\t\n\t\t\t}// end of else\n\t\t} // end of else\n\t\t\n\t\tnumberOfArmies[1].repaint();\n\t}", "public void toggleFurnitureSortOrder() {\n this.home.setFurnitureDescendingSorted(!this.home.isFurnitureDescendingSorted());\n }", "private void m27461a() {\n if (this.f25303r >= 2) {\n if (this.f25303r % 2 == 0) {\n this.f25303r++;\n }\n this.f25304s = this.f25303r + 2;\n this.f25305t = this.f25304s / 2;\n return;\n }\n throw new ArithmeticException(\"Wheel's visible item count can not be less than 2!\");\n }", "@Override\n\tpublic VisualizarR listarRanking() throws RemoteException {\n\t\treturn null;\n\t}", "@Override\r\n\tpublic int getOrder() {\n\t\treturn 0;\r\n\t}", "public void sortByFuelConsumption(){\n for (int d = carPark.getCars().size() / 2; d >= 1; d /= 2)\n for (int i = d; i < carPark.getCars().size(); i++)\n for (int j = i; j >= d && carPark.getCars().get(j-d).getFuelConsumption() > carPark.getCars().get(j).getFuelConsumption(); j -= d) {\n Car temp = carPark.getCars().get(j);\n carPark.getCars().remove(j);\n carPark.getCars().add(j - 1, temp);\n }\n }", "private void displayRacerList(ArrayList<Racer> raceList, int finishIndex, int startIndex) {\n\t\tfor(int i = startIndex; i >= finishIndex; i--) {\n\t\t\tif(timestamp.equals(\"\")) {\n\t\t\t\tif(raceList == finishList) {\n\t\t\t\t\tcTEH.display += raceList.get(i).getNumber() + \" \" + \n\t\t\t\t\t\t\tcTEH.timer.getRunDuration(raceList.get(i).getStartTime(), raceList.get(i).getFinishTime());\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tcTEH.display += raceList.get(i).getNumber() + \" \" + \n\t\t\t\t\t\t\tcTEH.timer.getRunDuration(raceList.get(i).getStartTime(), cTEH.timer.getCurrentChronoTime());\n\t\t\t\t}\n\t\t\t}\n\t\t\telse\n\t\t\t\tcTEH.display += raceList.get(i).getNumber() + \" \" + //for testing purposes\n\t\t\t\t\t\tcTEH.timer.getRunDuration(raceList.get(i).getStartTime(), timestamp);\n\t\t\t\n\t\t\tif(raceList == startList && i == 0) \n\t\t\tcTEH.display += \" >\\n\";\n\t\t\telse if(raceList == runningList) \n\t\t\t\tcTEH.display += \" R\\n\";\n\t\t\telse if (raceList == finishList)\n\t\t\t\tcTEH.display += \" F\\n\";\n\t\t\telse\n\t\t\t\tcTEH.display += \"\\n\";\n\t\t}\n\t}", "@Override\n public void windowOpened(WindowEvent e) {\n String t1= \"0$00\", t2;\n int min= 0;\n try {\n t1= dis.readUTF();\n min= Integer.parseInt(dis.readUTF());\n } catch (IOException ioException) {\n ioException.printStackTrace();\n }\n StringTokenizer ss= new StringTokenizer(t1, \"$\");\n t1= ss.nextToken();\n t2= ss.nextToken();\n if(t1.equals(\"0\") && t2.equals(\"0\"))\n bookStatus.setText(\"Slot and Seat Not Declared\");\n else{\n b1.setEnabled(false);\n bookStatus.setText(\"Slot= \"+t1+\"And Seat= \"+t2);\n }\n if(min>= -60){\n b1.setEnabled(false);\n }\n }", "private String calculateRefillSize() { // ORDER [k - s - f - n]\n\t\tArrayList<Integer> items_stock = new ArrayList<>();\n\t\tint k, s, f, n;\n\t\tk = getSetUpMachine().getKnife_stock() > 0 ? 20 - getSetUpMachine().getKnife_stock() : 0;\n\t\ts = getSetUpMachine().getSpoon_stock() > 0 ? 20 - getSetUpMachine().getSpoon_stock() : 0;\n\t\tf = getSetUpMachine().getFork_stock() > 0 ? 20 - getSetUpMachine().getFork_stock() : 0;\n\t\tn = getSetUpMachine().getNapkin_stock() > 0 ? 20 - getSetUpMachine().getNapkin_stock() : 0;\n\t\titems_stock.add(k);\n\t\titems_stock.add(s);\n\t\titems_stock.add(f);\n\t\titems_stock.add(n);\n\n\t\tSystem.out.format(\"\\n[ %d: K %d: S %d: F %d: N ]\\n\", k, s, f, n);\n\t\treturn String.format(\"\\n[ %d: K %d: S %d: F %d: N ]\\n\", k, s, f, n);\n\n\t}", "private static void printSortMovieMenu() {\n\t\tprintln(\"Movie Sorting Options:\");\n\t\tprintln(\"\\tTA: Title Ascending (A-Z)\");\n\t\tprintln(\"\\tTD: Title Descending (Z-A)\");\n\t\tprintln(\"\\tYA: Year Ascending\");\n\t\tprintln(\"\\tYD: Year Descending\");\n\t}", "private void updateRaceABC(int num) {\r\n window.removeAllShapes();\r\n\r\n if (!(num < 0)) {\r\n State currentState = covidCalculator.getLL().get(num); // state\r\n ArrayList<Race> currentRacesSorted = covidCalculator.sortByABC(\r\n currentState);\r\n\r\n for (int i = 0; i < currentRacesSorted.size(); i++) {\r\n String currentRace = currentRacesSorted.get(i).getRaceName();\r\n TextShape raceNameShape = new TextShape(0, 0, currentRace);\r\n\r\n raceNameShape.moveTo(barXPos + (spacingSize * spacingCounter),\r\n barYPos);\r\n window.addShape(raceNameShape);\r\n spacingCounter++;\r\n }\r\n\r\n }\r\n lastStateMemory = num;\r\n spacingCounter = 1;\r\n }", "public void displayAmount(char r,int t,double s){\n ObjectListNode p=payroll.getFirstNode();\n Employee e;\n r=Character.toUpperCase(r);\n System.out.printf(\"\\nEmployees of %d or more years with a %s salary of %.2f or greater:\\n\",t,r=='H'?\"hourly\":\"weekly\",s);\n pw.printf(\"\\nEmployees of %d or more years with a %s salary of %.2f or greater:\\n\",t,r=='H'?\"hourly\":\"weekly\",s);\n while(p!=null){\n e=(Employee)p.getInfo();\n if(e.getTenure()<t&&e.getRate()==r&&\n s<=(e.getSalary())){\n System.out.printf(\"\\n%s %s %.2f\\n\",e.getLastName(),e.getFirstName(),e.getSalary());\n pw.printf(\"\\n%s %s %.2f\\n\",e.getLastName(),e.getFirstName(),e.getSalary());\n }\n p=p.getNext();\n }\n }", "public void clickedSortCFRButton(Button button) {\r\n this.updateRaceCFR(lastStateMemory);\r\n this.updateCFRCFR(lastStateMemory);\r\n this.updateBarCFR(lastStateMemory);\r\n }", "private void displayExp(int disp_nr){\r\n\t\tswitch (disp_nr){\r\n\t\t\tcase 0 :\r\n\t\t\t\texpl = lang.newSourceCode(new Coordinates(200,100), \"\", null, expl_props);\r\n\t\t\t\texpl.addCodeLine(\"Bei 'Fletcher's Checksum' handelt es sich, wie beim Namen ersichtlich,\", null, 0, null);\r\n\t\t\t\texpl.addCodeLine(\"um einen Pruefsummen-Algorithmus zur Erkennung von Datenuebertragungsfehlern.\", null, 0, null);\r\n\t\t\t\texpl.addCodeLine(\"Er ist aehnlich stark wie das CRC-Verfahren,\", null, 0, null);\r\n\t\t\t\texpl.addCodeLine(\"hat aber einen teils wesentlich geringeren Rechenaufwand.\", null, 0, null);\r\n\t\t\t\texpl.addCodeLine(\"\", null, 0, null);\r\n\t\t\t\texpl.addCodeLine(\"Wir sehen uns den Algorithmus in 2 Faellen an:\", null, 0, null);\r\n\t\t\t\texpl.addCodeLine(\"- Korrekte uebertragung der Daten\", null, 0, null);\r\n\t\t\t\texpl.addCodeLine(\"- Fehlerhafte uebertragung der Daten\", null, 0, null);\r\n\t\t\t\texpl.addCodeLine(\"\", null, 0, null);\r\n\t\t\t\texpl.addCodeLine(\"Doch zuerst muessen die Pruefsummen selbst berechnet werden.\", null, 0, null);\r\n\t\t\t\texpl.addCodeLine(\"\", null, 0, null);\r\n\t\t\t\texpl.addCodeLine(\"In der urspruenglichen Variante des Algorithmus wird hierfuer der Datenstream\", null, 0, null);\r\n\t\t\t\texpl.addCodeLine(\"in Bytes (8-Bit Bloecke) zerlegt...\", null, 0, null);\r\n\t\t\t\tbreak;\r\n\t\t\t\r\n\t\t\tcase 1 :\r\n\t\t\t\texpl = lang.newSourceCode(new Coordinates(300,150), \"\", null, expl_props);\r\n\t\t\t\texpl.addCodeLine(\"Nun stehen die zwei Pruefsummen fest.\",null,0,null);\r\n\t\t\t\texpl.addCodeLine(\"Damit aber die Qualitaet von CRC in Sachen Fehlererkennung erreicht wird,\", null, 0, null);\r\n\t\t\t\texpl.addCodeLine(\"muessen diese noch einmal verarbeitet werden und zwar wie folgt:\", null, 0, null);\r\n\t\t\t\tbreak;\r\n\t\t\tcase 2 :\r\n\t\t\t\texpl = lang.newSourceCode(new Coordinates(300,150), \"\", null, expl_props);\r\n\t\t\t\texpl.addCodeLine(\"Diese 2 Werte werden nun an die zu versendende Nachricht drangehaengt\", null, 0, null);\r\n\t\t\t\tbreak;\r\n\t\t\t\r\n\t\t\tcase 3 :\r\n\t\t\t\texpl = lang.newSourceCode(new Coordinates(300,150), \"\", null, expl_props);\r\n\t\t\t\texpl.addCodeLine(\"Zur Fehlerpruefung muss der Empfaenger nun den Algorithmus erneut\", null, 0, null);\r\n\t\t\t\texpl.addCodeLine(\"auf die empfangene Nachricht, samt Prueffeldern, andwenden\", null, 0, null);\r\n\t\t\t\tbreak;\r\n\t\t\t\r\n\t\t\tcase 4 :\r\n\t\t\t\texpl = lang.newSourceCode(new Coordinates(300,150), \"\", null, expl_props);\r\n\t\t\t\texpl.addCodeLine(\"Die Pruefsumme (sum1 + sum2) ist 0! Somit kann von einer\", null, 0, null);\r\n\t\t\t\texpl.addCodeLine(\"korrekten uebertragung der Daten ausgegangen werden!\", null, 0, null);\r\n\t\t\t\tbreak;\r\n\t\t\t\r\n\t\t\tcase 5 :\r\n\t\t\t\texpl = lang.newSourceCode(new Coordinates(300,150), \"\", null, expl_props);\r\n\t\t\t\texpl.addCodeLine(\"Nun ein anderes Szenario: Bei der uebertragung ist ein Fehler \", null, 0, null);\r\n\t\t\t\texpl.addCodeLine(\"aufgetreten - hier : in Byte #\" + error_position, null, 0, null);\r\n\t\t\t\tbreak;\r\n\t\t\t\r\n\t\t\tcase 6 :\r\n\t\t\t\texpl = lang.newSourceCode(new Coordinates(300,150), \"\", null, expl_props);\r\n\t\t\t\texpl.addCodeLine(\"Wir pruefen erneut wie vorher...\", null, 0, null);\r\n\t\t\t\tbreak;\r\n\t\t\t\r\n\t\t\tcase 7 :\r\n\t\t\t\texpl = lang.newSourceCode(new Coordinates(300,150), \"\", null, expl_props);\r\n\t\t\t\texpl.addCodeLine(\"Die Pruefsumme ist NICHT 0. Somit weiss der Empfaenger,\", null, 0, null);\r\n\t\t\t\texpl.addCodeLine(\"dass ein Fehler aufgetreten ist\", null, 0, null);\r\n\t\t\t\tbreak;\r\n\t\t\tcase 9 :\r\n\t\t\t\texpl = lang.newSourceCode(new Coordinates(300,150), \"\", null, expl_props);\r\n\t\t\t\texpl.addCodeLine(\"Es wurden\",null,0,null);\r\n\t\t\t\texpl.addCodeLine(\"\",null,0,null);\r\n\t\t\t\texpl.addCodeLine(\"- Beim ersten Errechnen von sum1 und sum2 \"+op_counts[0]+\" Operationen\",null,0,null);\r\n\t\t\t\texpl.addCodeLine(\"- Beim Pruefen der Nachricht jeweils \"+op_counts[2]+\" Operationen\",null,0,null);\r\n\t\t\t\texpl.addCodeLine(\"... durchgefuehrt\",null,0,null);\r\n\t\t\t\texpl.addCodeLine(\"\",null,0,null);\r\n\t\t\t\texpl.addCodeLine(\"Man erkennt, dass die Zeitkomplexitaet ( der Hauptschleife ) bei n*4 liegt\",null,0,null);\r\n\t\t\t\texpl.addCodeLine(\"wobei n die Laenge der Nachricht ( die zu erweitern oder zu pruefen ist ) in Bytes ist.\",null,0,null);\r\n\t\t\t\texpl.addCodeLine(\"Dies steht im Gegensatz zu - zB. - dem CRC-Verfahren, welches (im schlimmsten Fall) von der Anzahl der einzelnen Bits abhaengt.\",null,0,null);\r\n\t\t\t\texpl.addCodeLine(\"\",null,0,null);\r\n\t\t\t\texpl.addCodeLine(\"Fazit: Ein einfacher, aber effektiver Algorithmus zur Erkennung\" +\r\n\t\t\t\t\t\t\" von uebertragungsfehlern. Hoffentlich war diese Animation aufschlussreich!\", null, 0, null);\r\n\t\t\t\tbreak;\r\n\t\t\tcase 10 : \r\n\t\t\t\texpl = lang.newSourceCode(new Coordinates(300,150), \"\", null, expl_props);\r\n\t\t\t\texpl.addCodeLine(\"Die Schwaeche dieses Verfahrens liegt darin, dass es nicht zwischen den Bytes 11111111 und 00000000,\", null, 0, null);\r\n\t\t\t\texpl.addCodeLine(\"bzw. 255 und 0 ( in Dezimal ) unterscheiden kann, weswegen sich die Pruefsummen nicht geaendert und folgich der Fehler\", null, 0, null);\r\n\t\t\t\texpl.addCodeLine(\"leider nicht entdeckt wurde\", null, 0, null);\r\n\t\t\t\tbreak;\r\n\t\t\tdefault : break;\r\n\t\t}\r\n\t\tlang.nextStep();\r\n\t}", "private static void mostrarEmpateRonda() {\r\n\t\tSystem.out.println(\"¡RONDA \" + juego.getNRonda()\r\n\t\t\t\t+ \" EMPATADA!\\n Se repite la ronda \" + juego.getNRonda());\r\n\t}", "private void wechsleRaum(Befehl befehl)\n {\n if(!befehl.hatZweitesWort()) {\n \t// Gibt es kein zweites Wort, wissen wir nicht, wohin...\n System.out.println(\"Wohin m�chten Sie gehen?\");\n return;\n }else if(spieler.getAktuellerZustand().toString().equals(\"Bewegungsunf�hig\")) {\n \tSystem.out.println(\"Sie sind bewegungsunf�hig und m�ssen sich heilen bevor sie weiter k�nnen\");\n \treturn;\n }\n\n String richtung = befehl.gibZweitesWort();\n\n // Wir versuchen den Raum zu verlassen.\n Raum naechsterRaum = spieler.getAktuellerRaum().getAusgang(richtung);\n\n if (naechsterRaum == null) {\n System.out.println(\"Dort ist keine T�r!\");\n }\n else {\n \tif(naechsterRaum.getClass().getName().equals(\"Level.Teleporter\")) {\n \t\tspieler.setAktuellerRaum(landkarte.getZufaelligenRaum());\n \t\tSystem.out.println(\"Du wurdest Teleportiert\");\n \t}else {\n \t\t spieler.setAktuellerRaum(naechsterRaum);\n \t}\n\n \trauminfoAusgeben();\n }\n }", "public void display()\r\n\t{\r\n\t\tSystem.out.println(\"Dollar: $\"+getAmount());\r\n\t\tSystem.out.println(\"Rupiah: Rp.\"+dollarTorp());\r\n\t}" ]
[ "0.55300474", "0.530368", "0.529919", "0.5231585", "0.51995206", "0.5140797", "0.5118752", "0.5067053", "0.49974066", "0.49960023", "0.49708652", "0.49628842", "0.49482602", "0.4926311", "0.49202785", "0.48950368", "0.48945224", "0.48866907", "0.4886047", "0.48858643", "0.48715615", "0.48670787", "0.48614377", "0.48362812", "0.48200887", "0.48030123", "0.47914672", "0.4789993", "0.47894874", "0.4787179", "0.4772465", "0.47709942", "0.47591773", "0.4757079", "0.4756987", "0.47564298", "0.47499692", "0.47454107", "0.47443298", "0.47432494", "0.47379863", "0.47373268", "0.47217128", "0.47167233", "0.47105426", "0.47100466", "0.4708078", "0.47052968", "0.4704741", "0.4698229", "0.4696015", "0.4695207", "0.46948943", "0.4685012", "0.4683243", "0.4681804", "0.46817344", "0.4680231", "0.46801594", "0.46715456", "0.4663317", "0.46628302", "0.46567693", "0.4648769", "0.4639424", "0.4639272", "0.4629489", "0.4626716", "0.4613491", "0.46087775", "0.45984134", "0.459448", "0.4591454", "0.45850262", "0.45846307", "0.4583886", "0.45804688", "0.45802867", "0.45720991", "0.45707443", "0.45705307", "0.4570433", "0.45701733", "0.45672986", "0.45654893", "0.4564882", "0.4559709", "0.4557977", "0.4554775", "0.454947", "0.45467257", "0.45421618", "0.453291", "0.45298487", "0.4529468", "0.45216286", "0.45156315", "0.45076767", "0.4504012", "0.45038742" ]
0.59646475
0
get double[] RUL values after it's been sorted in ascending order.
public double[] getRuls() { FlowPane root = (FlowPane) scene.getRoot().lookup("#assetsThumbPane"); double[] ruls = new double[root.getChildren().size()]; int i = 0; do { Pane pane = (Pane) root.getChildren().get(i); //each pane HBox hBox = (HBox) pane.getChildren().get(3); Text text = (Text) hBox.getChildren().get(0); //rul ruls[i] = Double.parseDouble(text.getText()); //add to array } while (++i < ruls.length); return ruls; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public double[] getDoubleList();", "private static double[] toArray(ArrayList<Double> dbls) {\n double[] r = new double[dbls.size()];\n int i = 0;\n for( double d:dbls ) r[i++] = d;\n return r;\n }", "double[] getReferenceValues();", "public double[] getDoubles()\r\n {\r\n return resultDoubles;\r\n }", "@Nonnull\n public double [] getDoublePivot ()\n {\n final double [] vals = new double [m_nRows];\n for (int i = 0; i < m_nRows; i++)\n vals[i] = m_aPivot[i];\n return vals;\n }", "public double[] getValues() {\n return values.clone();\n }", "public static double[] readDoubles() {\n return readAllDoubles();\n }", "public abstract double[] toDoubleArray();", "public ArrayDouble getRecordValues(State state) {\n return new ArrayDouble(opensimSimulationJNI.ExpressionBasedPointToPointForce_getRecordValues(swigCPtr, this, State.getCPtr(state), state), true);\n }", "public double[] getDoubleArray() {\r\n\t\treturn (value.getDoubleArray());\r\n\t}", "public abstract double[] getLowerBound();", "public double[] ds() {\n double rval[] = new double[size()];\n for (int i = 0; i < rval.length; i++) {\n rval[i] = get(i) == null ? Double.NaN : get(i).doubleValue();\n }\n\n return rval;\n }", "public double[] getAsDoubles() {\n return (double[])data;\n }", "public double[] getRealData() {\r\n return realData;\r\n }", "public double[] getData(){\r\n\t\t//make a deeeeeep copy of data\r\n\t\tdouble[] returnData = new double[this.data.length];\r\n\t\t\r\n\t\t//fill with data values\r\n\t\tfor (int i = 0; i < this.data.length; i++){\r\n\t\t\treturnData[i] = this.data[i];\r\n\t\t}\r\n\t\t//return a ref to my deep copy\r\n\t\treturn returnData;\r\n\t}", "public double[] getOutputRealValues(){\r\n\t\treturn realValues[1];\r\n\t}", "public double[] sort(double[] data) {\r\n for (int pass = 1; pass < data.length; pass++) {\r\n for (int element=0;element<data.length-1;element++) {\r\n if (data[element] > data[element + 1]){\r\n double hold = data[element];\r\n this.countOp();\r\n data[element] = data[element + 1];\r\n this.countOp();\r\n data[element + 1] = hold;\r\n this.countOp();\r\n }\r\n }\r\n }\r\n return data;\r\n }", "public double[] getValues(Array2D input) {\n\t\treturn listToDArray( getValuesD(input) );\n\t}", "double[] getSplitRatios();", "public double[] toArray() {\n\t\treturn acc.toArray();\n\t}", "public FractileArray (double[] the_values, int lo) {\n\t\t\tif (the_values == null) {\n\t\t\t\tvalues = null;\n\t\t\t} else {\n\t\t\t\tvalues = Arrays.copyOfRange (the_values, lo, the_values.length);\n\t\t\t}\n\t\t}", "public double[] getAllInputValues(){\r\n\t\treturn realValues[0];\r\n\t}", "public ArrayList<Double> getAllValues()\n {\n return allValues;\n }", "public double[] getRowVals() {\n return rowVals;\n }", "public double[] getNormalizedOutputValues(){\r\n\t\tdouble [] norm = new double[realValues[1].length];\r\n\t\tfor (int i=0; i<norm.length; i++){\r\n\t\t\tif (!missingValues[1][i])\r\n\t\t\t\tnorm[i] = Attributes.getOutputAttribute(i).normalizeValue(realValues[1][i]);\r\n\t\t\telse\r\n\t\t\t\tnorm[i] = -1.;\r\n\t\t}\r\n\t\treturn norm;\r\n\t}", "public Solmu[] getLapset(){\r\n Solmu[] s = new Solmu[Lapset.getKoko()];\r\n for( int i = 0; i< s.length; i++){\r\n s[i] = (Solmu) Lapset.get(i+1);\r\n }\r\n return s;\r\n }", "public double getOutputRealValues(int pos){\r\n\t\treturn realValues[1][pos];\r\n\t}", "public double[] getDoubleArray(final String key) {\n return getDoubleArray(key, ArrayUtils.EMPTY_DOUBLE_ARRAY);\n }", "public double[] getAllOutputValues(){\r\n\t\treturn realValues[1];\r\n\t}", "public double[][] getValuesSamples() {\n return fArr.clone();\n }", "public double get(Double[] ipos);", "public Object[] getScriptOfValuesAsDouble() {\r\n\t\tArrayList valueDouble;\r\n\t\tvalueDouble = new ArrayList<Double>();\r\n\r\n\t\tfor (DataVariable var : dataTestModel) {\r\n\t\t\tif (var.getType().equals(\"double\") || var.getType().equals(\"int\")) {\r\n\r\n\t\t\t\tif (var.getValue() != null && !var.getValue().equals(\"\") && !var.getValue().equals(\"NaN\")) {\r\n\r\n\t\t\t\t\tvalueDouble.add(var.getValue());\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\tvalueDouble.add(0);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t}\r\n\t\tObject[] values = new Object[valueDouble.size()];\r\n\t\tint i = 0;\r\n\t\tfor (Object d : valueDouble) {\r\n\t\t\tif (d == null) {\r\n\t\t\t\td = 0.0;\r\n\t\t\t}\r\n\r\n\t\t\tvalues[i] = d;\r\n\r\n\t\t\ti++;\r\n\t\t}\r\n\t\treturn values;\r\n\r\n\t}", "public double[] getArray(){\n\t\t\tdouble[] temp = new double[count];\n\t\t\tfor (int i = 0; i < count; i++){\n\t\t\t\ttemp[i] = anArray[i];\n\t\t\t}\n\t\t\treturn temp;\n\t\t}", "public double[] asArray() {\n final double[] result = new double[COMPONENTS];\n asArray(result);\n return result;\n }", "@Override\n public LinkedList<Double> call() {\n for (int string = 0; string < line.length; string++) {\n String numberString = super.cleanTextContent(line[string]);\n try {\n double number = Double.parseDouble(numberString);\n values.add(number);\n } catch (NumberFormatException numberFormatException) {\n numberFormatException.printStackTrace();\n }\n }\n Collections.sort(values);\n while (values.size() > valuesToKeep) {\n values.removeLast();\n }\n return values;\n }", "public double[] getPrimaryReinforcements() { \r\n return r;\r\n }", "public double[] orderedEigenValues(){\n if(!this.pcaDone)this.pca();\n return this.orderedEigenValues;\n }", "public double[] getArray(){\n\t\t\treturn anArray; //FAIL\n\t\t}", "public abstract void read_double_array(double[] value, int offset, int\nlength);", "static double [] quickSort (double a[]){\r\n \tif(a==null||a.length==0) {\r\n \t\tSystem.out.print(\"Array empty\");\r\n \t\treturn null;\r\n \t}\r\n \tdoQuickSort(a,0,a.length-1);\r\n \treturn a;\r\n\r\n }", "public long[] getAsRational(int index) {\n return ((long[][])data)[index];\n }", "public double[] calcNormHistogram()\r\n {\r\n\tdouble [] normHistogram = new double[histogram.length];\r\n\t\r\n\t//Find the normalized histogram by dividing each element of\r\n\t//the histogram by sum\r\n\tfor( int n = 0; n < histogram.length; n++ )\r\n\t normHistogram[n] = (double)histogram[n]/sum;\r\n\t\r\n\treturn normHistogram;\r\n }", "public double[] percentiles() {\n return values;\n }", "public List<Double> getData( ) {\r\n return data;\r\n }", "public double[] toArray() \r\n\t{ \r\n\t\treturn Arrays.copyOf(storico, storico.length) ; \r\n\t}", "public double[] getRange();", "private List<Double> double2List(final double[] array) {\n\t\tList<Double> result = new ArrayList<Double>();\n\t\tfor (double n : array) {\n\t\t\tresult.add(new Double(n));\n\t\t}\n\t\treturn result;\n\t}", "public static final double[] normalize(final double[] V)\n {\n double []vec = new double[periodNum];\t\n\t//Vector vec = new Vector(periodNum);\n\t//Double zero = new Double(0);\n\t//for(int i=0;i<periodNum;i++)\n\t// vec.insertElementAt(zero,i);\n\n\tdouble sum =0;\n\t\n\tfor(int i=0;i<periodNum;i++)\n\t{\n\t\tsum += V[i];\n\t\t//sum += ((Double)V.elementAt(i)).doubleValue();\n\t}\n\t// if sum is 0, can't divide using it\n\tif(sum ==0)\n\t return V;\n\n\n\tfor(int i=0;i<periodNum;i++)\n\t{\n\t double d = V[i];//((Double)V.elementAt(i)).doubleValue();\n\t double dd = d/sum;\n\n\t vec[i] = dd;\n\t //vec.addElement(new Double(dd));\n\t}\n\t \n\treturn vec;\n }", "public static double[] doubleArraySort(double[]tab) {\n\t\tdouble[]tabRet=new double[tab.length];\n\t\tArrayList<Double> list=new ArrayList<Double>();\n\t\tfor(double dou : tab)list.add(dou);\n\t\tCollections.sort(list);\n\t\tfor(int i=0;i<list.size();i++)tabRet[i]=list.get(i);\n\t\treturn tabRet;\n\t}", "@Override\n\tpublic List<Double> computeValues() {\n\t\treturn null;\n\t}", "public long[][] getAsRationals() {\n return (long[][])data;\n }", "public abstract double[] getasDouble(int tuple);", "public double[] getData() {\n return data;\n }", "public long[] toArray() {\n/* 406 */ long[] array = new long[(int)(this.max - this.min + 1L)];\n/* 407 */ for (int i = 0; i < array.length; i++) {\n/* 408 */ array[i] = this.min + i;\n/* */ }\n/* 410 */ return array;\n/* */ }", "public Listof<V> sortedVals() {\n return this.bst.toSortedList().map(i -> i.right);\n }", "public double getRSI(double[] hArr) throws Exception {\n\t\tdouble up=0;\n\t\tdouble down=0;\n\t\tSystem.out.println(\"plz\" + hArr.length + \"?\" + period_day);\n\t\tfor(int i = 0; i < period_day; i++) {\n\t\t\t\n\t\t\tif(hArr[i] < hArr[i+1]) {\n\t\t\t\tup += hArr[i+1] - hArr[i];\n\t\t\t}\n\t\t\telse if(hArr[i] > hArr[i+1]){\n\t\t\t\tdown += hArr[i] - hArr[i+1];\n\t\t\t}\n\t\t}\n\t\t\n\t\tdouble RS = (up/period_day) / (down/period_day);\n\t\t\n\t\tdouble RSI = up / (up+down) * 100.0;\n\t\tRSI = 100 - (100 / (1 + RS));\n\t\t//System.out.println(\"RSI test cnt : \" + cnt);\n\t\treturn RSI;\n\t}", "public double[] getNormalizedInputValues(){\r\n\t\tdouble [] norm = new double[realValues[0].length];\r\n\t\tfor (int i=0; i<norm.length; i++){\r\n\t\t\tif (!missingValues[0][i])\r\n\t\t\t\tnorm[i] = Attributes.getInputAttribute(i).normalizeValue(realValues[0][i]);\r\n\t\t\telse \r\n\t\t\t\tnorm[i] = -1.;\r\n\t\t}\r\n\t\treturn norm;\r\n\t}", "public static ArrayList<Double> twoDArrToArrList(Double[][] dataSet) {\n List<Double> collection = Arrays.stream(dataSet) \n .flatMap(Arrays::stream)\n .collect(Collectors.toList());\n\n ArrayList<Double> arrList = new ArrayList<Double>(collection); \n return arrList; \n }", "public FSArray getLDSOrdRec() {\n if (GEDCOMType_Type.featOkTst && ((GEDCOMType_Type)jcasType).casFeat_lDSOrdRec == null)\n jcasType.jcas.throwFeatMissing(\"lDSOrdRec\", \"net.myerichsen.gedcom.GEDCOMType\");\n return (FSArray)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((GEDCOMType_Type)jcasType).casFeatCode_lDSOrdRec)));}", "public List<Double> getData() {\n return data;\n }", "protected double[] getValues(String varName) {\n if (_dataMap == null) readAllData();\n double[] values = _dataMap.get(varName);\n return values;\n }", "public double[] getRealBounds(RealVar r) {\n if (empty) {\n throw new UnsupportedOperationException(\"Empty solution. No solution found\");\n }\n return realmap.get(r);\n }", "public long get(double val[])\n {\n\t\tSensorData d = data.get();\n\t\tdouble[] v = d.getValues();\n\t\tif (v == null) return 0;\n\t\tfor (int i=0; i<v.length; ++i)\n\t\t\tval[i] = v[i];\n\t\treturn d.getTimestamp();\n }", "public static void main(String[] args) {\n\t\t\n\t\tint[] arr= {10,89,20,300,10,900,0,1};\n\t\tarr=SortDe(arr);\n\t\tSystem.out.println(Arrays.toString(arr));\n\t\t\n\t\tdouble[] arr2 = {10.5,5.5,300,2.0,6.5};\n\t\t// arr2=SortDe(arr2);\n\t\tSystem.out.println(Arrays.toString(SortDe(arr2)));\n\t\t\n\t\t\n\t\t\n\t}", "public static List<Double> toList(final double[] array) {\n List<Double> list = new ArrayList<Double>(array.length);\n for (int i = 0; i < array.length; i++) {\n list.add(array[i]);\n }\n return list;\n }", "public double[][] asDoubleArray() {\r\n\r\n double returnList[][] = new double[getRowCount()][getLogicalColumnCount()];\r\n for (int i = 0; i < getRowCount(); i++) {\r\n for (int j = 0; j < getLogicalColumnCount(); j++) {\r\n returnList[i][j] = this.getLogicalValueAt(i, j);\r\n }\r\n }\r\n return returnList;\r\n }", "public List<Double> unique(Double[][] dataSet) {\n ArrayList<Double> uniqueList = DataClean.twoDArrToArrList(dataSet);\n List<Double> uniqueNumbers = uniqueList.stream().distinct().collect(Collectors.toList());\n\n return uniqueNumbers;\n }", "private double[] normalize(double[] p) {\n double sum = 0;\n double[] output = new double[p.length];\n for (double i : p) {\n sum += i;\n }\n for (int i = 0; i < output.length; i++) {\n output[i] = p[i]/sum;\n }\n return output;\n }", "public double[][] getArray() {\n return data;\n }", "double[][] asDouble();", "private double[] getMenuItemPrices() {\n double[] prices = new double[menuItemPrices.size()];\n for (int i = 0; i < menuItemPrices.size(); i ++) {\n prices[i] = menuItemPrices.get(i).doubleValue();\n }\n return prices;\n }", "public void get_InputValues(){\r\n\tA[1]=-0.185900;\r\n\tA[2]=-0.85900;\r\n\tA[3]=-0.059660;\r\n\tA[4]=-0.077373;\r\n\tB[1]=30.0;\r\n\tB[2]=19.2;\r\n\tB[3]=13.8;\r\n\tB[4]=22.5;\r\n\tC[1]=4.5;\r\n\tC[2]=12.5;\r\n\tC[3]=27.5;\r\n\tD[1]=16.0;\r\n\tD[2]=10.0;\r\n\tD[3]=7.0;\r\n\tD[4]=5.0;\r\n\tD[5]=4.0;\r\n\tD[6]=3.0;\r\n\t\r\n}", "public static final double[] cumulate(double[] V){\n\t\n \tdouble[]vec = new double[periodNum];\t\n\t//Vector vec = new Vector(periodNum);\n\t//\tfor(int i=0;i<periodNum;i++)\n\t// vec.insertElementAt((new Double(0)),i);\n\t\n\tdouble sum =0;\n\tfor(int i=0;i<periodNum;i++)\n\t{\n\t sum += V[i];//((Double)V.elementAt(i)).doubleValue();\n\t vec[i] = sum;\n\t //vec.addElement(new Double(sum));\n\t}\n\t\n\treturn vec;\n }", "public static Double[] convertirTableau(ArrayList<Double> valeurs) {\n\t\tDouble[] tab = new Double[valeurs.size()];\n\t\tfor(int i = 0; i <valeurs.size(); i++) {\n\t\t\ttab[i] = valeurs.get(i);\n\t\t}\n\t\treturn tab;\n\t}", "private static double[] normalize(double[] data)\n {\n double sum = 0;\n \n for (double d : data)\n sum += d;\n \n if (sum != 1 && sum != 0)\n {\n for (int i = 0; i < data.length; i++)\n data[i] /= sum;\n }\n \n return data;\n }", "private double[] toDoubleArray(float[] arr) {\n\t\tif (arr == null)\n\t\t\treturn null;\n\t\tint n = arr.length;\n\t\tdouble[] outputFloat = new double[n];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\toutputFloat[i] = (double) arr[i];\n\n\t\t}\n\t\treturn outputFloat;\n\t}", "public ArrayList<ArrayList<Double>> getXValues(){\n\t\treturn totalIncrements;\n\t}", "protected final double[] getParametersArray() {\n\treturn parameters;\n }", "public double[] getLowerRight() {\n this.lowerRight = new double[]{minX, minY};\n return lowerRight;\n }", "@Override\n\tpublic double[] toDoubleArray() {\n\t\treturn null;\n\t}", "public abstract double[] getUpperBound();", "public ArrayList<Double> getValues() {\n\n ArrayList<Double> values = new ArrayList<Double>(); //create new arraylist to return\n FreqNode tmpNode; //create temp node \n\n //traverse entire table \n for (FreqNode node : frequencyTable) {\n //set node \n tmpNode = node;\n while (true) {\n if (tmpNode == null) {\n break;\n } else {\n //add value to node in table and cast to double \n values.add((node.getValue() * 1.0));\n //set it to the next node \n tmpNode = tmpNode.getNext();\n } //end else \n }//end if \n }\n // Return the keys\n return values;\n }", "java.util.List<java.lang.Double> getFileList();", "private T[] sortArray() {\n \n int middleIndex = elements.length / 2;\n\n T[] sArr1 = Arrays.copyOfRange(elements, 0, middleIndex);\n T[] sArr2 = Arrays.copyOfRange(elements, middleIndex, elements.length);\n\n Arrays.sort(sArr1);\n Arrays.sort(sArr2);\n\n return merge(sArr1, sArr2);\n }", "static long[] riddle(long[] arr) {\n // complete this function\n return arr;\n }", "public static double [] getFinalAxis(double gyro){\n\t\treturn (ramp(adjustGetAxisValue(gyro)));\n\t\t//return (ramp(getAxisValue()));\n\t\t//three things happen in this class.\n\t\t//1)you get axis values\n\t\t//2)then you deadzone the values\n\t\t//3) You transform the deadzoned values into a cubic equation\n\t}", "public int[] getArray(){\n return this.sortArray;\n }", "List<double[]> getVerticalDoors();", "public static void main (String[] args) {\n \n double[] arr = { 3.4, 2.3, 5.7, 6.7, 9.0, 2.2, 2.1, 5.0, 6.5, 3.7, 4.6, 6.0, 7.0, 7.1, 0.3 };\n System.out.println(Arrays.toString(arr));\n Arrays.sort(arr);\n System.out.println(Arrays.toString(arr));\n }", "private void getArr()\r\n {\r\n // Create array of '0'\r\n Random rand = new Random();\r\n arr = new int[Integer.parseInt(SizeField.getText())];\r\n\r\n // InOrder creates a list in ascending order\r\n if (InOrderRadio.isSelected())\r\n {\r\n for (int i = 0; i < arr.length; i++)\r\n {\r\n arr[i] = i;\r\n }\r\n\r\n // AlmostOrder creates a list which is 50% sorted and 50% unsorted\r\n } else if (AlmostOrderRadio.isSelected())\r\n {\r\n for (int i = 0; i < arr.length / 2; i++)\r\n {\r\n arr[i] = i;\r\n }\r\n\r\n for (int i = arr.length / 2; i < arr.length; i++)\r\n {\r\n arr[i] = rand.nextInt(arr.length);\r\n }\r\n\r\n // ReverseOrder creates list in descending order\r\n } else if (ReverseOrderRadio.isSelected())\r\n {\r\n for (int i = arr.length, j = 0; i > 0; i--, j++)\r\n {\r\n arr[j] = i;\r\n }\r\n\r\n // RandomOrder creates 100% unsorted list\r\n } else\r\n {\r\n for (int i = 0; i < arr.length; i++)\r\n {\r\n arr[i] = rand.nextInt(arr.length);\r\n }\r\n }\r\n }", "private static double[] randomDoubles(int elements) {\n double[] array = new double[elements];\n for (int i = 0; i < array.length; i++) {\n double chance = Math.random();\n if (chance < 0.25) \n array[i] = Math.random() * (1000);\t\n else if (chance <= 0.50)\n array[i] = Math.random() * (1001);\t\n else if (chance <= 0.75)\n array[i] = Math.random() * (1002);\n else\n array[i] = Math.random() * (1003);\t\n }\n return array;\n }", "public double[] Regresi() {\r\n\t\t// KAMUS LOKAL\r\n\t\tint Kol = 0;\r\n\t\t\r\n\t\tdouble[] ans = new double[KolEff];\r\n\t\t\r\n\t\tMatriks MRegres;\r\n\t\t\r\n\t\t// ALGORITMA\r\n\t\tfor (int i=KolEff; i>0; i++) {\r\n\t\t Kol = Kol + KolEff;\r\n\t\t}\r\n\t\t\r\n\t\tMRegres = new Matriks(KolEff, KolEff+1);\r\n\t\t\r\n\t\t\r\n\t\tMRegres.Elmt[0][0] = this.BrsEff;\r\n\t\tMRegres.Elmt[0][MRegres.KolEff-1] = this.SigmaKol(this.KolEff-1);\r\n\t\t\r\n\t\tfor (int j=1; j<MRegres.BrsEff; j++) {\r\n\t\t double sum = this.SigmaKol(j-1);\r\n\t\t MRegres.Elmt[0][j] = sum;\r\n\t\t MRegres.Elmt[j][0] = sum;\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t\tfor (int i=1; i<MRegres.BrsEff; i++) {\r\n\t\t for (int j=i; j<MRegres.KolEff-1; j++) {\r\n\t\t double sum = this.SigmaMult2Kol(i-1, j-1);\r\n\t\t MRegres.Elmt[i][j] = sum;\r\n\t\t MRegres.Elmt[j][i] = sum;\r\n\t\t }\r\n\t\t}\r\n\t\t\r\n\t\tfor (int i=1; i<MRegres.BrsEff; i++) {\r\n\t\t int j = MRegres.KolEff-1;\r\n\t\t MRegres.Elmt[i][j] = SigmaMult2Kol(i-1, j-1);\r\n\t\t}\r\n\r\n\t\tans = Gauss(MRegres);\r\n\t\t\r\n\t\treturn ans;\r\n\t}", "public double[] toArray() {\n\t\treturn new double[] {x, y, z};\n\t}", "public long get(double val[])\n {\n \tlock.AcquireRead();\n \t try {\n \t\t if (time == 0)\n \t\t\t return 0;\n \t\t else{\n \t\t\t for (int i = 0; i<data.length; ++i)\n \t\t\t\t val[i] = data[i];\n \t\t\t return time;\n \t\t }\n \t }finally{\n \t\t lock.ReleaseRead();\n \t }\n }", "double[][][] getReduced(){\n \n return A4;\n }", "public static List<Double> asList(double[] array) {\n\t\treturn new DoubleArrayList(array);\n\t}", "public double[] getRange() \n{\n\treturn range;\n}", "public static double [] insertionSort(double a[]) {\n insertionSort(a, 0, a.length-1);\n return a;\n }", "static double[] mergeSortRecursive (double a[]) {\r\n \tif(a==null){\r\n \t\tSystem.out.print(\"Array empty\");\r\n \t\treturn null;\r\n \t}\r\n \tif(a.length>1) {\r\n \t\tint mid=a.length/2;\r\n \t\t//spilt left part\r\n \t\tdouble[] left =new double[mid];\r\n \t\tfor(int i =0 ; i <mid;i++) {\r\n \t\t\tleft[i]=a[i];\r\n \t\t}\r\n \t\t//spilt right part\r\n \t\tdouble[] right =new double[a.length-mid];\r\n \t\tfor(int i=mid; i< a.length;i++) {\r\n \t\t\tright[i-mid]=a[i];\r\n \t\t}\r\n \t\tmergeSortIterative(left);\r\n \t\tmergeSortIterative(right);\r\n \t\tint i=0;\r\n \t\tint j=0;\r\n \t\tint k=0;\r\n \t\t//Merge left and right arrays\r\n \t\twhile(i<left.length && j<right.length) {\r\n \t\t\tif(left[i]<right[j]) {\r\n \t\t\t\ta[k]=left[i];\r\n \t\t\t\ti++;\r\n \t\t\t}else {\r\n \t\t\t\ta[k]=right[j];\r\n \t\t\t\tj++;\r\n \t\t\t}\r\n \t\t\tk++;\r\n \t\t}\r\n \t\t//Collect remaining elements\r\n \t\twhile(i<left.length) {\r\n \t\t\ta[k]=left[i];\r\n \t\t\ti++;\r\n \t\t\tk++;\r\n \t\t}\r\n \t\twhile(j<right.length) {\r\n \t\t\ta[k]=right[j];\r\n \t\t\tj++;\r\n \t\t\tk++;\r\n \t\t}\r\n \t}\r\n\r\n \treturn a;\r\n }", "public static List<Double> sortScores(List<Double> results) {\n\t\t\n\t\t\n\t\tfor (int i = 0; i < results.size()-1; i++) {\n\t\t\tif (results.get(i)>results.get(i+1)) {\n\t\t\t\t//highScore = results.get(i);\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tDouble temp = results.get(i);\n\t\t\t\t\n\t\t\t\tresults.set(i, results.get(i+1));\n\t\t\t\t\n\t\t\tresults.set(i+1, temp);\n\t\t\t\t\n\t\t\t}\n\t\t\n\t\t}\n\t\n\t\t\n\t\treturn results;\n\t\t//return null;\n\t}" ]
[ "0.6541136", "0.63212657", "0.6301921", "0.6231547", "0.60978085", "0.59999454", "0.5979771", "0.5945767", "0.58784384", "0.58691865", "0.5840384", "0.5819648", "0.580237", "0.578773", "0.57865626", "0.57826835", "0.5749187", "0.5745098", "0.57278836", "0.5713228", "0.57081854", "0.56854975", "0.56626695", "0.56459117", "0.56430733", "0.56342614", "0.559854", "0.55919397", "0.55879235", "0.5577415", "0.55709344", "0.55490786", "0.55357826", "0.5533914", "0.5530174", "0.55168486", "0.5516767", "0.55058783", "0.5503454", "0.5501276", "0.54990435", "0.5492339", "0.5475154", "0.5470396", "0.54698884", "0.54480606", "0.543894", "0.5428361", "0.5424692", "0.5424216", "0.5419976", "0.5417744", "0.5413911", "0.540723", "0.5397984", "0.5379004", "0.5364762", "0.535935", "0.53519285", "0.5336323", "0.5334301", "0.53319645", "0.5331778", "0.5326288", "0.5313502", "0.5305491", "0.5304759", "0.53010297", "0.5298611", "0.5296877", "0.5295154", "0.5293198", "0.52821153", "0.5280664", "0.52751756", "0.5270482", "0.52662516", "0.5265865", "0.5263835", "0.52564114", "0.5248971", "0.5248526", "0.52469224", "0.5244401", "0.5238628", "0.52331954", "0.52323407", "0.52261096", "0.5225033", "0.5222822", "0.52212405", "0.5220799", "0.5219189", "0.5216546", "0.52090573", "0.5208168", "0.5204387", "0.52040464", "0.520365", "0.52030855" ]
0.6632383
0
/ F14 The system shall provide the ability to select a asset
@Test public void f14SelectAssetTest() { FlowPane assets; int i = 0; Random random = new Random(); //select 4 random assets out of the first 12 visible assets in the window do { clickOn("#thumbnailTab").moveBy(300, 500); scroll(10, VerticalDirection.UP).sleep(2000); assets = (FlowPane) scene.getRoot().lookup("#assetsThumbPane"); clickOn(assets.getChildren().get(random.nextInt(12))); sleep(1000).clickOn("#serialNumberOutput").sleep(1000); clickOn("#backBtn"); } while (++i < 4); assertTrue("There are selectable assets on the main page.", assets.getChildren().size() > 0); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void onClick(View view) {\n selectedAsset = null;\n changeActivity(Activities.DAP_ASSET_EDITOR_ACTIVITY.getCode(), getAssetForEdit());\n }", "public void checkAssetSelected() throws ParameterValuesException {\n\t\tif (gridTaiSan.getItemCount() == 0) {\n\t\t\tthrow new ParameterValuesException(\"Bạn cần tìm kiếm tài sản muốn lập thẻ\", null);\n\t\t}\n\t\tif (gridTaiSan.getSelection()[0] == null) {\n\t\t\tthrow new ParameterValuesException(\"Bạn cần chọn tài sản muốn lập thẻ\", null);\n\t\t}\n\t}", "@Override\n public void onClick(View view) {\n\n if (material_type.getSelectedItem().equals(\"--Select Material Type--\")) {\n Toast.makeText(Activity_Sell.this, \"Select Material Type to continue\", Toast.LENGTH_SHORT).show();\n } else {\n\n// LoadMaterialTypeSpinner();\n alertDialog.dismiss();\n getMaterial();\n /* getMaterialClasses();\n getMaterialDetails();\n getMaterialUnits();*/\n\n }\n }", "@Test\n public void f17AddRemoveAssetTest() {\n Button button = (Button) scene.getRoot().lookup(\"#addAssetBtn\");\n\n assertNotNull(\"Button to add asset exists\", button);\n assertEquals(\"Add Asset\", button.getText());\n\n clickOn(button).sleep(1000);\n //Enter info for new asset\n clickOn(\"#assetNameInput\").write(\"My New Asset\").sleep(1000);\n clickOn(\"#assetTypeChoiceBox\").type(KeyCode.DOWN).sleep(1000).type(KeyCode.ENTER).sleep(1000);\n clickOn(\"#assetDescriptionInput\").write(\"Adding a new asset for system testing\").sleep(1000);\n clickOn(\"#serialNumberInput\").write(\"192837465\").sleep(1000);\n clickOn(\"#manufacturerInput\").write(\"Asset in good condition\").sleep(1000);\n clickOn(\"#categoryInput\").write(\"Category 2\").sleep(1000);\n clickOn(\"#siteInput\").write(\"Regularly checked\").sleep(1000);\n clickOn(\"#locationInput\").write(\"Montreal Qc\").sleep(1000);\n\n // TODO: Complete the test (save button) once Add Asset bug is fixed.\n clickOn(scene.getRoot().lookup(\"#cancelBtn\")).sleep(3000);\n }", "private void selectImage() {\n Intent intent = new Intent();\n intent.setType(\"image/*\");\n intent.setAction(Intent.ACTION_GET_CONTENT);\n startActivityForResult(\n Intent.createChooser(\n intent,\n \"Select Image from here...\"),\n PICK_IMAGE_REQUEST);\n }", "private void select()\n\t{\n\t\tSoundPlayer.playClip(\"select.wav\");\n\t if(currentChoice == 0)\n\t\t{\n\t\t\tsuper.isFadingOut = true;\n\t\t\tSoundPlayer.animVolume(-40.0F);\n\t\t}\n\t\tif(currentChoice == 1)\n\t\t{\n\t\t\tbottomFadeOut = true;\n\t\t\t//gsm.setState(GameStateManager.CONTROLSTATE);\n\t\t}\n\t\tif(currentChoice == 2)\n\t\t{\n\t\t\tbottomFadeOut = true;\n\t\t\t//gsm.setState(GameStateManager.CREDITSTATE);\n\t\t}\n\t\tif(currentChoice == 3)\n\t\t{\n\t\t\tnew Timer().schedule(new TimerTask()\n\t\t\t{\n\t\t\t\tpublic void run()\n\t\t\t\t{\n\t\t\t\t\tSystem.exit(0);\t\t\n\t\t\t\t}\n\t\t\t}, 500);\n\t\t}\n\t}", "protected void ACTION_B_SELECT(ActionEvent arg0) {\n\t\tchoseInterface();\r\n\t}", "public void clickOnVehicleNameDropdownButton() {\r\n\t\tsafeClick(vehicleLinkPath.replace(\"ant-card-head-title\", \"ant-select ant-select-enabled\"), MEDIUMWAIT);\r\n\t}", "public void selectPressed() {\n\t\tif (edit) {\n\t\t\tdisplayCardHelp = !displayCardHelp;\n\t\t} else {\n\t\t\tSoundPlayer.playSound(SoundMap.MENU_ERROR);\n\t\t}\n\t}", "@Override\n public String getDescription() {\n return \"Asset issuance\";\n }", "private void use() {\n switch (choices.get(selection)) {\n case INFO : { \n AbstractInMenu newMenu = new ItemInfo(sourceMenu, item);\n this.sourceMenu.setMenu(newMenu);\n newMenu.setVisible(true);\n } break;\n case USE : {\n entity.use(item); \n sourceMenu.activate();\n sourceMenu.setState(true);\n } break;\n case EQUIP : {\n entity.equip(item);\n sourceMenu.activate();\n sourceMenu.setState(true);\n } break;\n case ACTIVE : {\n entity.setActiveItem(item);\n sourceMenu.activate();\n sourceMenu.setState(true);\n } break;\n case UNEQUIP : {\n entity.equip(item);\n sourceMenu.activate();\n sourceMenu.setState(true);\n } break;\n case UNACTIVE : {\n entity.setActiveItem(null);\n sourceMenu.activate();\n sourceMenu.setState(true);\n } break;\n case DROP : {\n entity.drop(item);\n sourceMenu.activate();\n sourceMenu.setState(true);\n } break; \n case PLACE : {\n entity.placeItem(item);\n entity.removeItem(item); \n sourceMenu.activate();\n sourceMenu.setState(true); \n } break;\n case CLOSE : { \n sourceMenu.activate();\n } break;\n case DESTROY : {\n entity.removeItem(item);\n sourceMenu.activate();\n sourceMenu.setState(true); \n } break;\n }\n }", "void editAssetValue(int newVal);", "public void selectSlot() {\n\t\t\r\n\t}", "public void onLaunchSelect() {\n Intent intent = new Intent(Intent.ACTION_PICK,\n MediaStore.Images.Media.EXTERNAL_CONTENT_URI);\n\n\n // If you call startActivityForResult() using an intent that no app can handle, your app will crash.\n // So as long as the result is not null, it's safe to use the intent.\n if (intent.resolveActivity(getPackageManager()) != null) {\n // Bring up gallery to select a photo\n startActivityForResult(intent, SELECT_IMAGE_REQUEST_CODE);\n }\n }", "public void approveSelection(){\n\t\t\t\tFile file=getSelectedFile();\n\t\t\t\tSupportedImageFilesFilter filter=new SupportedImageFilesFilter();\n\t\t\t\tif (file.exists() && filter.accept(file)) \n\t\t\t\t\tsuper.approveSelection(); \n\t\t\t\telse \n\t\t\t\t\tJOptionPane.showMessageDialog(this, \"The selected file is not supported or does not exist!\", \"Error\", JOptionPane.ERROR_MESSAGE); \n\t\t\t}", "public String assetType() {\n return assetType;\n }", "private void optionSelected(MenuActionDataItem action){\n \t\tString systemAction = action.getSystemAction();\n \t\tif(!systemAction.equals(\"\")){\n \t\t\t\n \t\t\tif(systemAction.equals(\"back\")){\n \t\t\t\tonBackPressed();\n \t\t\t}else if(systemAction.equals(\"home\")){\n \t\t\t\tIntent launchHome = new Intent(this, CoverActivity.class);\t\n \t\t\t\tstartActivity(launchHome);\n \t\t\t}else if(systemAction.equals(\"tts\")){\n \t\t\t\ttextToSearch();\n \t\t\t}else if(systemAction.equals(\"search\")){\n \t\t\t\tshowSearch();\n \t\t\t}else if(systemAction.equals(\"share\")){\n \t\t\t\tshowShare();\n \t\t\t}else if(systemAction.equals(\"map\")){\n \t\t\t\tshowMap();\n \t\t\t}else\n \t\t\t\tLog.e(\"CreateMenus\", \"No se encuentra el el tipo de menu: \" + systemAction);\n \t\t\t\n \t\t}else{\n \t\t\tNextLevel nextLevel = action.getNextLevel();\n \t\t\tshowNextLevel(this, nextLevel);\n \t\t\t\n \t\t}\n \t\t\n \t}", "protected void mCertificateImageSelection() {\n final CharSequence[] options = {\"Camera\", \"Gallery\", \"Cancel\"};\n\n AlertDialog.Builder builder = new AlertDialog.Builder(new ContextThemeWrapper\n (ApplicationActivity.this, R.style.AlertDialogCustom));\n\n builder.setIcon(R.mipmap.birth_icon);\n builder.setTitle(\"Birth Certificate\");\n builder.setItems(options, new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int item) {\n\n //Camera Option\n if (options[item].equals(\"Camera\")) {\n Intent intent = new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE);\n startActivityForResult(intent, CAMERA_REQUEST_1);\n }\n\n //Gallery Option\n else if (options[item].equals(\"Gallery\")) {\n Intent intent = new Intent(Intent.ACTION_PICK,\n android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI);\n intent.setType(\"image/*\");\n startActivityForResult(intent, GALLERY_REQUEST_1);\n }\n\n //Cancel Option\n else if (options[item].equals(\"Cancel\")) {\n dialog.dismiss();\n }\n }\n });\n\n builder.show();\n }", "public void AssetUseManage(Administrator ad){\n\t\tStaffManage staff=new StaffManage();\n\t\tStaff s=new Staff();\n\t\tAsset a=new Asset();\n\t\tString name=null;\n\t\tint id=0;\n\t\tAdministrator admin=new Administrator();\n\t\tScanner input=new Scanner(System.in);\n\t\tSystem.out.println(\"Please choose function:\");\n\t\tSystem.out.println(\"1.Lend a fixed asset\");\n\t\tSystem.out.println(\"2.Return a fixed asset\");\n\t\tint choice=input.nextInt();\n\t\tswitch(choice){\n\t\tcase 1:\n\t\t\t//资产领用\t\t\n\t\t\tSystem.out.println(\"Who wants to lend assets?Please enter his name.\");\n\t\t\tname=input.next();\n\t\t\ts.setName(name);\n\t\t\tSystem.out.println(\"Please enter asset's id.\");\n\t\t\tid=input.nextInt();\n\t\t\ta.setId(id);\n\t\t\tAssetManage am=new AssetManage();\n\t\t\ta=am.queryById(id);\n\t\t\tif(a!=null){\n\t\t\t\tint num=staff.lend(s,a,ad);\n\t\t\t\tif(num!=0){\n\t\t\t\t\tSystem.out.println(\"Lend assets succeed.\");\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println(\"Lend assets failed.\");\n\t\t\t\t}\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"Lend assets failed.\");\n\t\t\t}\n\t\t\tMenu(ad);\n\t\t\tbreak;\n\t\tcase 2:\n\t\t\t//归还资产\n\t\t\tSystem.out.println(\"Please enter asset's id which will be returned.\");\n\t\t\tid=input.nextInt();\n\t\t\ta.setId(id);\n\t\t\tAssetManage am1=new AssetManage();\n\t\t\ta=am1.queryById(id);\n\t\t\tint num1=staff.returnAsset(a);\n\t\t\tif(num1!=0){\n\t\t\t\tSystem.out.println(\"Return assets succeed.\");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"Return assets failed.\");\n\t\t\t}\n\t\t\tMenu(ad);\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tSystem.out.println(\"Without this option!\");\n\t\t\tMenu(ad);\n\t\t\tbreak;\n\t\t}\n\t}", "private void itemBrowseTextureActionPerformed(java.awt.event.ActionEvent evt) {\n }", "@Override\n public boolean onSelection(MaterialDialog dialog, View view, int which, CharSequence text) {\n if(which == 1){\n Crop.pickImage(ProductDetailActivity.this);\n }\n return true;\n }", "private void selectImage(){\n final CharSequence[] options = { \"Choose from Gallery\",\"Cancel\" };\n AlertDialog.Builder builder = new AlertDialog.Builder(activity);\n builder.setItems(options, new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int item) {\n if (options[item].equals(\"Choose from Gallery\"))\n {\n Intent intent = new Intent(Intent.ACTION_PICK, android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI);\n intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);\n startActivityForResult(intent, 2);\n }\n else if (options[item].equals(\"Cancel\")) {\n dialog.dismiss();\n }\n }\n });\n builder.show();\n }", "public void selectEntity(int en) {\n // hmm, sometimes this gets called when there's no ready entities?\n if (clientgui.getClient().getGame().getEntity(en) == null) {\n disableButtons();\n setNextEnabled(true);\n System.err.println(\"DeploymentDisplay: \" //$NON-NLS-1$\n + \"tried to select non-existant entity: \" + en); //$NON-NLS-1$\n return;\n }\n \n if ((ce() != null) && ce().isWeapOrderChanged()) {\n clientgui.getClient().sendEntityWeaponOrderUpdate(ce());\n }\n\n // FIXME: Hack alert: remove C3 sprites from earlier here, or we might\n // crash when\n // trying to draw a c3 sprite belonging to the previously selected,\n // but not deployed entity. BoardView1 should take care of that itself.\n if (clientgui.bv instanceof BoardView1) {\n ((BoardView1) clientgui.bv).clearC3Networks();\n }\n cen = en;\n clientgui.setSelectedEntityNum(en);\n clientgui.getBoardView().select(null);\n clientgui.getBoardView().cursor(null);\n // RACE : if player clicks fast enough, ce() is null.\n if (null != ce()) {\n setTurnEnabled(true);\n butDone.setEnabled(false);\n clientgui.getBoardView().markDeploymentHexesFor(ce());\n // set facing according to starting position\n switch (ce().getStartingPos()) {\n case Board.START_W:\n ce().setFacing(1);\n ce().setSecondaryFacing(1);\n break;\n case Board.START_SW:\n ce().setFacing(1);\n ce().setSecondaryFacing(1);\n break;\n case Board.START_S:\n ce().setFacing(0);\n ce().setSecondaryFacing(0);\n break;\n case Board.START_SE:\n ce().setFacing(5);\n ce().setSecondaryFacing(5);\n break;\n case Board.START_E:\n ce().setFacing(5);\n ce().setSecondaryFacing(5);\n break;\n case Board.START_NE:\n ce().setFacing(4);\n ce().setSecondaryFacing(4);\n break;\n case Board.START_N:\n ce().setFacing(3);\n ce().setSecondaryFacing(3);\n break;\n case Board.START_NW:\n ce().setFacing(2);\n ce().setSecondaryFacing(2);\n break;\n case Board.START_ANY:\n ce().setFacing(0);\n ce().setSecondaryFacing(0);\n break;\n }\n setAssaultDropEnabled(ce().canAssaultDrop()\n && ce().getGame().getOptions()\n .booleanOption(\"assault_drop\"));\n if (!ce().canAssaultDrop()\n && ce().getGame().getOptions()\n .booleanOption(\"assault_drop\")) {\n buttons.get(DeployCommand.DEPLOY_ASSAULTDROP).setText(Messages\n .getString(\"DeploymentDisplay.AssaultDrop\")); //$NON-NLS-1$\n assaultDropPreference = false;\n }\n \n List<Entity> loadableUnits = getLoadableEntities();\n setLoadEnabled(loadableUnits.size() > 0);\n setUnloadEnabled(ce().getLoadedUnits().size() > 0);\n \n setNextEnabled(true);\n setRemoveEnabled(true);\n\n clientgui.mechD.displayEntity(ce());\n clientgui.mechD.showPanel(\"movement\"); //$NON-NLS-1$\n\n // Update the menu bar.\n clientgui.getMenuBar().setEntity(ce());\n } else {\n disableButtons();\n setNextEnabled(true);\n }\n }", "private void selectImage() {\n final CharSequence[] items = {\"Take Photo\", \"Choose from Library\",\n \"Cancel\"};\n\n AlertDialog.Builder builder = new AlertDialog.Builder(Timetable.this);\n builder.setTitle(\"Add Photo!\");\n builder.setItems(items, new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int item) {\n if (items[item].equals(\"Take Photo\")) {\n Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);\n startActivityForResult(intent, REQUEST_CAMERA);\n } else if (items[item].equals(\"Choose from Library\")) {\n Intent intent = new Intent(\n Intent.ACTION_PICK,\n android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI);\n intent.setType(\"image/*\");\n startActivityForResult(\n Intent.createChooser(intent, \"Select File\"),\n SELECT_FILE);\n } else if (items[item].equals(\"Cancel\")) {\n dialog.dismiss();\n }\n }\n });\n builder.show();\n }", "default AssetType getAssetType() {\n throw new UnsupportedOperationException();\n }", "public abstract void chooseMedia();", "@Override\n\t\t\t\tpublic void onClick(DialogInterface arg0, int arg1) {\n\t\t\t\t\tcardType = cardTypeSet[arg1];\n\t\t\t\t}", "private void selectOptionOfPicture() {\n final CharSequence[] options = { \"Take Photo\", \"Choose from Gallery\",\"Cancel\" };\n AlertDialog.Builder builder = new AlertDialog.Builder(view.getContext());\n builder.setTitle(\"Add Photo!\");\n builder.setItems(options, new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int item) {\n if (options[item].equals(\"Take Photo\"))\n {\n Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);\n startActivityForResult(intent, 1);\n }\n else if (options[item].equals(\"Choose from Gallery\"))\n {\n Intent intent = new Intent(Intent.ACTION_PICK, MediaStore.Images.Media.INTERNAL_CONTENT_URI);\n startActivityForResult(intent, 2);\n }\n else if (options[item].equals(\"Cancel\")) {\n dialog.dismiss();\n }\n }\n });\n builder.show();\n }", "public void selectDeal() {\n\t}", "private void selectResource() {\n IWorkspace workspace = ResourcesPlugin.getWorkspace();\n IWorkspaceRoot root = workspace.getRoot();\n FilteredResourcesSelectionDialog dialog = new FilteredResourcesSelectionDialog(getShell(),\n false, root, IResource.FILE);\n dialog.setTitle(\"Select a resource to launch\");\n dialog.setInitialPattern(\"*.app\", FilteredItemsSelectionDialog.FULL_SELECTION);\n IPath path = new Path(getResourcePath());\n if (workspace.validatePath(path.toString(), IResource.FILE).isOK()) {\n IFile file = root.getFile(path);\n if (file != null && file.exists()) {\n dialog.setInitialSelections(new Object[] {path});\n }\n }\n dialog.open();\n Object[] results = dialog.getResult();\n if ((results != null) && (results.length > 0) && (results[0] instanceof IFile)) {\n setResourcePath(((IFile) results[0]).getFullPath());\n }\n }", "@Override\n\t\t\tpublic void changed(ChangeEvent event, Actor actor) {\n\t\t\t\tbuttonSound.play((game.setting.sfxVol()*(game.setting.masterVol()/100))/100);\n\t\t\t\t//screen.getActions().makeArt(typeSelBox.getSelectedIndex(), subjectSelBox.getSelectedIndex());\n\t\t\t\t\n\t\t\t\t// Call player actor to make art\n\t\t\t\tGameScreen screen = (GameScreen)game.getScreen();\n\t\t\t\t\n\t\t\t\t// If you can make art, make art\n\t\t\t\tif(screen.getActions().canMakeArt(typeSelBox.getSelectedIndex()))\t\n\t\t\t\t\tscreen.getPlayer().makeArt(typeSelBox.getSelectedIndex(), subjectSelBox.getSelectedIndex());\n\n\t\t\t\tclosePopups();\n\t\t\t}", "@Test\n public void f12AssociateAssetTypeWithModelTest() {\n clickOn(\"#assetTypeMenuBtn\").sleep(2000);\n\n //select second asset type\n Node node = lookup(\"#columnName\").nth(2).query();\n clickOn(node).sleep(1000);\n\n clickOn(\"#associatedModelLabel\").sleep(1000);\n Label label = (Label) scene.getRoot().lookup(\"#associatedModelLabel\");\n String modelBefore = label.getText();\n\n //go to model tab\n clickOn(scene.getRoot().lookup(\"#modelTab\")).sleep(1000);\n FlowPane models = (FlowPane) scene.getRoot().lookup(\"#modelsThumbPane\");\n\n //change to RandomForest\n clickOn(models.getChildren().get(2)).sleep(1000);\n clickOn(\"#modelSaveBtn\").sleep(1000);\n\n node = lookup(\"#columnName\").nth(2).query();\n clickOn(node);\n\n label = (Label) scene.getRoot().lookup(\"#associatedModelLabel\");\n String modelAfter = label.getText();\n\n clickOn(\"#associatedModelLabel\").sleep(3000);\n //model after changing should not be the same\n assertFalse(\"Model after changing is the same as it was before.\", modelBefore.equals(modelAfter));\n }", "@Then(\"^I choose the park on combobox$\")\n public void i_choose_the_park_on_combobox() {\n onViewWithId(R.id.spinnerParks).click();\n onViewWithText(\"Parque D\").isDisplayed();\n onViewWithText(\"Parque D\").click();\n }", "@Override\n public void onItemSelected(AdapterView<?> arg0, View arg1,\n int arg2, long arg3) {\n actionType = String.valueOf(actionTypeSpiner\n .getSelectedItem());\n if (actionType == \"Upload\"\n || actionType.equals(\"Upload\")) {\n viewLay.setVisibility(View.GONE);\n action = true;\n fileNameTxt.setVisibility(View.GONE);\n doOpen();\n } else if (actionType == \"View\"\n || actionType.equals(\"View\")) {\n action = false;\n fileNameTxt.setVisibility(View.GONE);\n submitTxt.setEnabled(true);\n }\n }", "public void changePickOnClick(View v) {\n\n\n Dexter.withActivity(this)\n .withPermissions(Manifest.permission.CAMERA, Manifest.permission.WRITE_EXTERNAL_STORAGE)\n .withListener(new MultiplePermissionsListener() {\n @Override\n public void onPermissionsChecked(MultiplePermissionsReport report) {\n if (report.areAllPermissionsGranted()) {\n showImagePickerOptions();\n }\n\n if (report.isAnyPermissionPermanentlyDenied()) {\n showSettingsDialog();\n }\n }\n\n @Override\n public void onPermissionRationaleShouldBeShown(List<PermissionRequest> permissions, PermissionToken token) {\n token.continuePermissionRequest();\n }\n }).check();\n }", "public YoungAndroidAssetSelectorPropertyEditor(final YaFormEditor editor) {\n Project project = Ode.getInstance().getProjectManager().getProject(editor.getProjectId());\n assetsFolder = ((YoungAndroidProjectNode) project.getRootNode()).getAssetsFolder();\n project.addProjectChangeListener(this);\n\n VerticalPanel selectorPanel = new VerticalPanel();\n assetsList = new ListBox();\n assetsList.setVisibleItemCount(10);\n assetsList.setWidth(\"100%\");\n assetsList.addChangeHandler(new ChangeHandler() {\n @Override\n public void onChange(ChangeEvent event) {\n setOkButtonEnabled(true);\n }\n });\n selectorPanel.add(assetsList);\n\n choices = new ListWithNone(MESSAGES.noneCaption(), new ListWithNone.ListBoxWrapper() {\n @Override\n public void addItem(String item) {\n assetsList.addItem(item);\n }\n\n @Override\n public String getItem(int index) {\n return assetsList.getItemText(index);\n }\n\n @Override\n public void removeItem(int index) {\n assetsList.removeItem(index);\n }\n\n @Override\n public void setSelectedIndex(int index) {\n assetsList.setSelectedIndex(index);\n }\n });\n\n // Fill choices with the assets.\n if (assetsFolder != null) {\n for (ProjectNode node : assetsFolder.getChildren()) {\n choices.addItem(node.getName());\n }\n }\n\n Button addButton = new Button(MESSAGES.addButton());\n addButton.setWidth(\"100%\");\n addButton.addClickHandler(new ClickHandler() {\n @Override\n public void onClick(ClickEvent event) {\n FileUploadedCallback callback = new FileUploadedCallback() {\n @Override\n public void onFileUploaded(FolderNode folderNode, FileNode fileNode) {\n // At this point, the asset has been uploaded to the server, and\n // has even been added to the assetsFolder. We are all set!\n choices.selectValue(fileNode.getName());\n closeAdditionalChoiceDialog(true);\n }\n };\n FileUploadWizard uploader = new FileUploadWizard(assetsFolder, callback);\n uploader.show();\n }\n });\n selectorPanel.add(addButton);\n selectorPanel.setWidth(\"100%\");\n\n // At this point, the editor hasn't finished loading.\n // Use a DeferredCommand to finish the initialization after the editor has finished loading.\n DeferredCommand.addCommand(new Command() {\n @Override\n public void execute() {\n if (editor.isLoadComplete()) {\n finishInitialization();\n } else {\n // Editor still hasn't finished loading.\n DeferredCommand.addCommand(this);\n }\n }\n });\n\n initAdditionalChoicePanel(selectorPanel);\n }", "private ResourceCubeType humanResourceChoice() {\r\n\t\tfinal String[] playerOptions = new String[4];\r\n\r\n\t\t// Options for the JOption Pane\r\n\t\tplayerOptions[ResourceCubeType.FAVOR.getValue()] = ResourceCubeType.FAVOR.getName();\r\n\t\tplayerOptions[ResourceCubeType.FOOD.getValue()] = ResourceCubeType.FOOD.getName();\r\n\t\tplayerOptions[ResourceCubeType.GOLD.getValue()] = ResourceCubeType.GOLD.getName();\r\n\t\tplayerOptions[ResourceCubeType.WOOD.getValue()] = ResourceCubeType.WOOD.getName();\r\n\r\n\t\tfinal JFrame frame = new JFrame();\r\n\t\tfinal String humanResponse = (String) JOptionPane.showInputDialog(frame,\r\n\t\t\t\t\"Please select which type of Resource to gather from.\", \"Select Resource Type\",\r\n\t\t\t\tJOptionPane.QUESTION_MESSAGE, null, playerOptions, playerOptions[0]);\r\n\r\n\t\treturn ResourceCubeType.getTypeForString(humanResponse);\r\n\t}", "public void selectModelItem(final String type, final String name){\n\t\tactivate();\n\t\tDisplay.syncExec(new Runnable() {\n\t\t\t@Override\n\t\t\tpublic void run() {\n DefaultCTabItem tabItem = new DefaultCTabItem(1);\n\t\t\t\ttabItem.activate();\n\t\t\t\tGraphicalViewer viewer = ((IEditorPart) tabItem.getSWTWidget().getData()).getAdapter(GraphicalViewer.class);\n\t\t\t\tviewer.select(ViewerHandler.getInstance().getEditParts(viewer, new ModelEditorItemMatcher(type, name)).get(0));\n\t\t\t}\n\t\t});\n\t}", "@FXML\n\tpublic void setSelectedItem(MouseEvent event) {\n\t\ttry {\n\t\t\tString s=inventoryList.getSelectionModel().getSelectedItem();\t// Get selected item\n\t\t\tItem i=Item.getItem(ItemList, s);\n\t\t\titemselect.setText(s);\t// Set selected item information\n\t\t\tif(i.getStat().equals(\"HP\"))\n\t\t\t\titemStats.setText(\"+\"+i.getChange()+\" Health\");\n\t\t\telse if(i.getStat().equals(\"DMG\"))\n\t\t\t\titemStats.setText(\"+\"+i.getChange()+\" Damage\");\n\t\t\telse\n\t\t\t\titemStats.setText(\"+\"+i.getChange()+\" Evasion\");\n\t\t} catch(Exception e) {\n\t\t\treturn;\n\t\t}\n\t\t\n\t}", "@FXML\n void selectMoneyMarket(ActionEvent event) {\n \tdirectDep.setSelected(false);\n \tisLoyal.setSelected(false);\n \tdirectDep.setDisable(true);\n \tisLoyal.setDisable(true);\n }", "@Override\n public void onClick(View v) {\n\n Intent intent = new Intent( Intent.ACTION_PICK, android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI);\n intent.setType(\"image/*\");\n startActivityForResult(Intent.createChooser(intent, \"Select File\"), 1);\n }", "private void helperSwitchSelectOn()\r\n\t{\r\n\t\tImageIcon iconButton = FormUtils.getIconResource(FormStyle.RESOURCE_PATH_ICO_SELECT_PRESSED);\r\n\r\n\t\tmainFormLink.getComponentToolbar().getComponentButtonSelect().setIcon(iconButton);\r\n\r\n\t\tFormMainMouse.isSampleSelectOn = true;\r\n\t}", "abstract public void cabMultiselectPrimaryAction();", "public void selected(String action);", "public void onSelectCarPic() {\n String playerPicked = playerList.getSelectionModel().getSelectedItem();\n try {\n Profile profile = Profile.readProfile(playerPicked);\n profile.setLevel();\n String carSelected = \"car\";\n switch(currentIndexCar) {\n case 0:\n carSelected = \"car\";\n break;\n case 1:\n carSelected = \"truck\";\n break;\n case 2:\n carSelected = \"bike\";\n break;\n case 3:\n carSelected = \"sportscar\";\n break;\n }\n\n if (profile.getCarIcon().equals(carSelected)) {\n playerRecord.setStyle(\"-fx-background-color:red\");\n playerRecord.setText(profile.getName() + \" has already selected this vehicle!\");\n return;\n }\n\n if (!carIconLevelCheck(carSelected, profile.getLevel())) {\n playerRecord.setStyle(\"-fx-background-color:red\");\n carIcon.setOpacity(.5);\n playerRecord.setText(profile.getName() + \" is not high enough level to choose this vehicle!\");\n return;\n }\n playerRecord.setStyle(\"-fx-background-color: transparent\");\n PrintWriter user = new PrintWriter(new FileWriter(\"SaveData\\\\UserData\\\\\" + playerPicked + \".txt\"));\n user.flush();\n user.write(profile.getWins() + \" \" + profile.getLosses() + \" \" + profile.getXp() + \" \"\n + profile.getWinStreak() + \" \" + profile.getIcon() + \" \" + carSelected);\n user.close();\n playerRecord.setText(profile.getName() + \" has changed their vehicle to \" + carSelected + \".\");\n MAIN_MENU_AUDIO.play(Double.parseDouble(getInitData().get(\"SFXVol\")));\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "private void btnSelectPlaneActionPerformed(java.awt.event.ActionEvent evt) {\n this.airplaneSelected = true;\n SelectAirplaneScreen select = new SelectAirplaneScreen(this.rightPanel, this.agency, this.index, this.f);\n \n this.rightPanel.add(\"SelectAirplaneScreen\", select);\n CardLayout layout = (CardLayout) this.rightPanel.getLayout();\n layout.next(this.rightPanel);\n\n }", "public void onClick(View arg0) {\n Intent intent = new Intent();\r\n intent.setType(\"image/*\");\r\n intent.setAction(Intent.ACTION_GET_CONTENT);\r\n startActivityForResult(Intent.createChooser(intent,\r\n \"Select Picture\"), SELECT_PICTURE);\r\n }", "public void selectAgent(int selected) {\n this.selected = selected;\n }", "@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tIntent intent = new Intent(Intent.ACTION_PICK, null);\n\n\t\t\t\tintent.setDataAndType(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, \"image/*\");\n\t\t\t\tstartActivityForResult(intent, 1);\n\t\t\t\tmenu_mine.setVisibility(View.GONE);\n\t\t\t}", "public void selectAProduct() {\n specificProduct.click();\n }", "@FXML\n void selectSavings(ActionEvent event) {\n \tdirectDep.setSelected(false);\n \tisLoyal.setSelected(false);\n \tdirectDep.setDisable(true);\n \tisLoyal.setDisable(false);\n }", "public void flavorChosen()\n {\n changeSubtotalTextField();\n }", "@Override\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t\t dia.dismiss();\n\t\t\t\tIntent intent = new Intent( Intent.ACTION_PICK,android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI);\n\t\t\t\t startActivityForResult(intent, 1);\n\t\t\t\t\n\t\t\t}", "@Override\n public void onClick(View v) {\n Intent camIntent = new Intent(Intent.ACTION_PICK, android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI);\n\n camIntent.setType(\"image/*\");\n startActivityForResult(camIntent,CAMERA_REQUEST);\n }", "@FXML\r\n\tvoid open_btn_clicked(MouseEvent event) {\r\n\t\tsale_selected = sales_table.getSelectionModel().getSelectedItem();\r\n\t\tif (sale_selected != null) {\r\n\t\t\tswitchScenes(\"/client/boundry/MarketingAgentSaleShowForm.fxml\",\r\n\t\t\t\t\t\"/client/boundry/MarketingAgentMainCustomer.css\");\r\n\t\t} else {\r\n\t\t\tAlert alert = new Alert(AlertType.ERROR);\r\n\t\t\talert.setTitle(\"No sale pattern selected\");\r\n\t\t\talert.setHeaderText(null);\r\n\t\t\talert.setContentText(\"Please select sale pattern\");\r\n\t\t\talert.show();\r\n\t\t\treturn;\r\n\t\t}\r\n\t}", "public void AssetInfoManage(Administrator ad){\n\t\tScanner input=new Scanner(System.in);\n\t\tAsset a=new Asset();\n\t\tint id=0;\n\t\tString name=null;\n\t\tString model=null;\n\t\tString category=null;\n\t\tString subcategory=null;\n\t\tString buyTime=null;\n\t\tint state=-1;\n\t\tint worth=0;\n\t\tString user=null;\n\t\tString ps=null;\n\t\tAssetManage asset=new AssetManage();\n\t\tSystem.out.println(\"Please choose function:\");\n\t\tSystem.out.println(\"1.Add fixed assets category\");\n\t\tSystem.out.println(\"2.Delete fixed assets subcategory\");\n\t\tSystem.out.println(\"3.Delete fixed assets category\");\n\t\tSystem.out.println(\"4.Add fixed assets information\");\n\t\tSystem.out.println(\"5.Delete fixed assets information\");\n\t\tSystem.out.println(\"6.Modify fixed assets information\");\n\t\tSystem.out.println(\"7.Inquiry assets information by subcategory\");\n\t\tSystem.out.println(\"8.Inquiry assets information by category\");\n\t\tSystem.out.println(\"9.Inquiry assets information by assets'id\");\n\t\tSystem.out.println(\"10.Inquiry assets information by assets'user\");\n\t\tint choice=input.nextInt();\n\t\tswitch(choice){\n\t\tcase 1:\n\t\t\t//增加资产类\t\t\n\t\t\tSystem.out.println(\"Please enter the subcategory you want add.\");\n\t\t\tsubcategory=input.next();\n\t\t\tSystem.out.println(\"Please enter the category the subcategory belongs to.\");\n\t\t\tcategory=input.next();\n\t\t\tint num=asset.addCategory(subcategory,category);\n\t\t\tif(num==1){\n\t\t\t\tSystem.out.println(\"Add succeed.\");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"Add failed.\");\n\t\t\t}\n\t\t\tMenu(ad);\n\t\t\tbreak;\n\t\tcase 2:\n\t\t\t//删除资产小类\n\t\t\tSystem.out.println(\"Please enter the subcategory you want delete.\");\n\t\t\tcategory=input.next();\n\t\t\tint num1=asset.deleteSubCategory(category);\n\t\t\tif(num1!=0){\n\t\t\t\tSystem.out.println(\"Delete subcategory succeed.\");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"Delete subcategory failed.\");\n\t\t\t}\n\t\t\tMenu(ad);\n\t\t\tbreak;\n\t\tcase 3:\t\n\t\t\t//删除资产大类\n\t\t\tSystem.out.println(\"Please enter the category you want delete.\");\n\t\t\tcategory=input.next();\n\t\t\tint num2=asset.deleteCategory(category);\n\t\t\tif(num2!=0){\n\t\t\t\tSystem.out.println(\"Delete category succeed.\");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"Delete category failed.\");\n\t\t\t}\n\t\t\tMenu(ad);\n\t\t\tbreak;\n\t\tcase 4:\n\t\t\t//增加资产信息\n\t\t\tSystem.out.println(\"Please enter the asset's name.\");\n\t\t\tname=input.next();\n\t\t\ta.setName(name);\n\t\t\tSystem.out.println(\"Please enter the asset's subcategory.\");\n\t\t\tsubcategory=input.next();\n\t\t\ta.setCategory(subcategory);\n\t\t\tSystem.out.println(\"Please enter the asset's model.\");\n\t\t\tmodel=input.next();\n\t\t\ta.setModel(model);\n\t\t\tSystem.out.println(\"Please enter the asset's worth.\");\n\t\t\tworth=input.nextInt();\n\t\t\ta.setWorth(worth);\n\t\t\tSystem.out.println(\"Please enter the asset's buyTime.\");\n\t\t\tbuyTime=input.next();\n\t\t\ta.setBuyTime(buyTime);\n\t\t\tSystem.out.println(\"Please enter the asset's state.\");\n\t\t\tSystem.out.println(\"Asset state: 0.normal 1.repairing 2.unusable.\");\n\t\t\tstate=input.nextInt();\n\t\t\ta.setState(state);\n\t\t\tSystem.out.println(\"If you have sth to remark,please enter the asset's ps else enter ' ' .\");\n\t\t\tSystem.out.println(\"Please enter the asset's ps.\");\n\t\t\tps=input.next();\n\t\t\ta.setPs(ps);\n\t\t\tint num3=asset.add(a);\n\t\t\tif(num3!=0){\n\t\t\t\tSystem.out.println(\"Add asset succeed.\");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"Add asset failed.\");\n\t\t\t}\n\t\t\tMenu(ad);\n\t\t\tbreak;\n\t\tcase 5:\n\t\t\t//删除资产信息\n\t\t\tSystem.out.println(\"Please enter the asset's id which you want to delete.\");\n\t\t\tid=input.nextInt();\n\t\t\ta.setId(id);\n\t\t\tint num4=asset.delete(a);\n\t\t\tif(num4==1){\n\t\t\t\tSystem.out.println(\"Delete asset succeed.\");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"Delete asset failed.\");\n\t\t\t}\n\t\t\tMenu(ad);\n\t\t\tbreak;\n\t\tcase 6:\n\t\t\t//修改资产信息\n\t\t\tSystem.out.println(\"Please enter the asset's id which you want to modify.\");\n\t\t\tid=input.nextInt();\n\t\t\ta.setId(id);\n\t\t\tSystem.out.println(\"Please enter the asset's name.\");\n\t\t\tname=input.next();\n\t\t\ta.setName(name);\n\t\t\tSystem.out.println(\"Please enter the asset's subcategory.\");\n\t\t\tsubcategory=input.next();\n\t\t\ta.setCategory(subcategory);\n\t\t\tSystem.out.println(\"Please enter the asset's model.\");\n\t\t\tmodel=input.next();\n\t\t\ta.setModel(model);\n\t\t\tSystem.out.println(\"Please enter the asset's worth.\");\n\t\t\tworth=input.nextInt();\n\t\t\ta.setWorth(worth);\n\t\t\tSystem.out.println(\"Please enter the asset's buyTime.\");\n\t\t\tbuyTime=input.next();\n\t\t\ta.setBuyTime(buyTime);\n\t\t\tSystem.out.println(\"Please enter the asset's state.\");\n\t\t\tSystem.out.println(\"Asset state: 0.normal 1.repairing 2.unusable.\");\n\t\t\tstate=input.nextInt();\n\t\t\ta.setState(state);\n\t\t\tSystem.out.println(\"If you have sth to remark,please enter the asset's ps else enter ' ' .\");\n\t\t\tSystem.out.println(\"Please enter the asset's ps.\");\n\t\t\tps=input.next();\n\t\t\ta.setPs(ps);\t\t\n\t\t\tint num5=asset.update(a);\n\t\t\tif(num5==1){\n\t\t\t\tSystem.out.println(\"Modify asset succeed.\");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"Modify asset failed.\");\n\t\t\t}\n\t\t\tMenu(ad);\n\t\t\tbreak;\n\t\tcase 7:\n\t\t\t//通过小类查询资产\n\t\t\tSystem.out.println(\"Please enter the asset's subcategory which you want to inquiry.\");\n\t\t\tsubcategory=input.next();\n\t\t\tList<Asset> as=asset.queryBySubCtg(subcategory);\n\t\t\tfor(Asset a1:as){\n\t\t\t\ta1.show();\n\t\t\t}\n\t\t\tif(as.isEmpty()){\n\t\t\t\tSystem.out.println(\"No result!\");\n\t\t\t}\n\t\t\tMenu(ad);\n\t\t\tbreak;\n\t\tcase 8:\n\t\t\t//通过大类查询资产\n\t\t\tSystem.out.println(\"Please enter the asset's category which you want to inquiry.\");\n\t\t\tcategory=input.next();\n\t\t\tList<Asset> as1=asset.queryByCtg(category);\n\t\t\tfor(Asset a1:as1){\n\t\t\t\ta1.show();\n\t\t\t}\n\t\t\tif(as1.isEmpty()){\n\t\t\t\tSystem.out.println(\"No result!\");\n\t\t\t}\n\t\t\tMenu(ad);\n\t\t\tbreak;\n\t\tcase 9:\n\t\t\t//通过id查询资产\n\t\t\tSystem.out.println(\"Please enter the asset's id which you want to inquiry.\");\n\t\t\tid=input.nextInt();\n\t\t\tAsset a1=asset.queryById(id);\n\t\t\tif(a1!=null){\n\t\t\t\ta1.show();\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"No result!\");\n\t\t\t}\n\t\t\tMenu(ad);\n\t\t\tbreak;\n\t\tcase 10:\n\t\t\t//通过用户查询资产\n\t\t\tSystem.out.println(\"Please enter the asset's user which you want to inquiry.\");\n\t\t\tuser=input.next();\n\t\t\tList<Asset> as2=asset.queryByUser(user);\n\t\t\tfor(Asset a2:as2){\n\t\t\t\ta2.show();\n\t\t\t}\n\t\t\tif(as2.isEmpty()){\n\t\t\t\tSystem.out.println(\"No result!\");\n\t\t\t}\n\t\t\tMenu(ad);\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tSystem.out.println(\"Without this option!\");\n\t\t\tMenu(ad);\n\t\t\tbreak;\n\t\t}\n\t}", "protected void handleCreateAsset(Optional<T> asset) {\n JFrame frame = new JFrame(assetName + \" Editor\");\n frame.add(getEditorPanel(asset, frame), BorderLayout.CENTER);\n \n // Display the window.\n frame.pack();\n frame.setVisible(true);\n\t}", "@FXML\n private void handleChooseBtn(ActionEvent event)\n {\n try\n {\n sm.initializeFile();\n txtDuration.setText(sm.getDuration());\n txtTitleInput.setText(sm.getSongTitle());\n txtFile.setText(sm.getFilePath());\n txtArtistInput.setText(sm.getArtist());\n } catch (MTBllException ex)\n {\n displayError(ex);\n }\n }", "@Override\n public void onClick(View v) {\n Intent i = new Intent(\n Intent.ACTION_PICK,\n android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI);\n startActivityForResult(i, SELECTED_PICTURE);\n }", "MaterialAsset resolveAsset( MaterialAsset asset );", "@Override\n public void onClick(View v) {\n\n Intent intent = new Intent();\n intent.setType(\"image/*\");\n intent.setAction(Intent.ACTION_GET_CONTENT);\n Intent pickIntent = new Intent(Intent.ACTION_PICK, MediaStore.Images.Media.EXTERNAL_CONTENT_URI);\n pickIntent.setType(\"image/*\");\n Intent chooserIntent = Intent.createChooser(intent, \"Select Image\");\n chooserIntent.putExtra(Intent.EXTRA_INITIAL_INTENTS, new Intent[] {pickIntent});\n startActivityForResult(chooserIntent,PICK_IMAGE_REQUEST);\n }", "@Override\r\n\tpublic void onItemSelected(AdapterView<?> arg0, View arg1, int arg2,\r\n\t\t\tlong arg3) {\n\t\tvariety = editvariety.getItemAtPosition(arg2).toString();\r\n\t\tif (variety.equals(\"Select Variety\")) {\r\n\t\t\tVariety = null;\r\n\t\t} else {\r\n\t\t\tVariety = variety;\r\n\t\t}\r\n\t}", "void imageChooser() {\n\n // create an instance of the\n // intent of the type image\n Intent i = new Intent();\n i.setType(\"image/*\");\n i.setAction(Intent.ACTION_GET_CONTENT);\n\n\n // pass the constant to compare it\n // with the returned requestCode\n startActivityForResult(Intent.createChooser(i, \"Select Picture\"), SELECT_PICTURE);\n }", "public String getAssetId();", "public void selectItem(String itemName) {\t\t\n\t\tQTiumAutomation.click(BrandPageEntity.DYNAMIC_ITEM, itemName);\n\t}", "private void openFileChoose() {\n Intent intent = new Intent();\n intent.setType(\"image/*\");\n intent.setAction(Intent.ACTION_GET_CONTENT);\n startActivityForResult(intent, PEGA_IMAGEM);\n }", "@SuppressWarnings({ \"deprecation\", \"unchecked\" })\r\n\tpublic void init() throws Exception{\r\n\t\tAsset CurrentAsset;\r\ndouble TotalAmount = CurrentPortfolio.getTotalAmount(CurrentDate);\r\nCurrentPortfolio.sellAssetCollection(CurrentDate);\r\n\r\n\t\t\r\nCurrentAsset = new Asset();\r\nCurrentAsset.setAssetStrategyID(getStrategyID(\"STATIC\"));\r\nCurrentAsset.setName(\"US large cap\");\r\nCurrentAsset.setClassID(getAssetClassID(\"US Equity\"));\r\nCurrentAsset.setTargetPercentage(0.1428);\r\nCurrentPortfolio.addAsset(CurrentAsset);\r\nCurrentPortfolio.buy(CurrentAsset.getName(), \"^GSPC\", TotalAmount/7,\r\n\t\tCurrentDate);\r\n\t\r\n\t\t\r\nCurrentAsset = new Asset();\r\nCurrentAsset.setAssetStrategyID(getStrategyID(\"STATIC\"));\r\nCurrentAsset.setName(\"IUS small cap\");\r\nCurrentAsset.setClassID(52l);\r\nCurrentAsset.setTargetPercentage(0.1428);\r\nCurrentPortfolio.addAsset(CurrentAsset);\r\nCurrentPortfolio.buy(CurrentAsset.getName(), \"^RUT\", TotalAmount /7,\r\n\t\tCurrentDate);\r\n\t\t\r\nCurrentAsset = new Asset();\r\nCurrentAsset.setAssetStrategyID(getStrategyID(\"STATIC\"));\r\nCurrentAsset.setName(\"International Equity\");\r\nCurrentAsset.setClassID(9l);\r\nCurrentAsset.setTargetPercentage(0.1428);\r\nCurrentPortfolio.addAsset(CurrentAsset);\r\nCurrentPortfolio.buy(CurrentAsset.getName(), \"VGTSX\", TotalAmount /7,CurrentDate);\r\n\r\nCurrentAsset = new Asset();\r\nCurrentAsset.setAssetStrategyID(getStrategyID(\"STATIC\"));\r\nCurrentAsset.setName(\"Real Estate\");\r\nCurrentAsset.setClassID(5l);\r\nCurrentAsset.setTargetPercentage(0.1428);\r\nCurrentPortfolio.addAsset(CurrentAsset);\r\nCurrentPortfolio.buy(CurrentAsset.getName(), \"VGSIX\",\r\n\t\tTotalAmount /7, CurrentDate);\r\n\t\t\r\nCurrentAsset = new Asset();\r\nCurrentAsset.setAssetStrategyID(getStrategyID(\"STATIC\"));\r\nCurrentAsset.setName(\"Commodity\");\r\nCurrentAsset.setClassID(getAssetClassID(\"Commodity\"));\r\nCurrentAsset.setTargetPercentage(0.1428);\r\nCurrentPortfolio.addAsset(CurrentAsset);\r\nCurrentPortfolio.buy(CurrentAsset.getName(), \"QRAAX\",\r\n\t\tTotalAmount /7, CurrentDate);\r\n\r\n\r\n\r\n\t\t\r\nCurrentAsset = new Asset();\r\nCurrentAsset.setAssetStrategyID(getStrategyID(\"STATIC\"));\r\nCurrentAsset.setName(\"Cash\");\r\nCurrentAsset.setClassID(3l);\r\nCurrentAsset.setTargetPercentage(0.1428);\r\nCurrentPortfolio.addAsset(CurrentAsset);\r\nCurrentPortfolio.buy(CurrentAsset.getName(), \"CASH\",\r\n\t\tTotalAmount /7, CurrentDate);\r\n\t\t\r\nCurrentAsset = new Asset();\r\nCurrentAsset.setAssetStrategyID(getStrategyID(\"STATIC\"));\r\nCurrentAsset.setName(\"US Bond\");\r\nCurrentAsset.setClassID(2l);\r\nCurrentAsset.setTargetPercentage(0.1428);\r\nCurrentPortfolio.addAsset(CurrentAsset);\r\nCurrentPortfolio.buy(CurrentAsset.getName(), \"VBMFX\", TotalAmount /7,\r\n\t\tCurrentDate);\r\n\r\ninitialAmount=TotalAmount;\r\nwithdrawRate=0.05;\r\n\t}", "private void selectImagesDeviceSerialNubmer() {\n Intent galleryIntent = new Intent(Intent.ACTION_PICK, MediaStore.Images.Media.INTERNAL_CONTENT_URI);\n startActivityForResult(galleryIntent, GALLERY_DEVICE_SERIAL_NUMBER);\n }", "public void selectImage(View view){\n Intent intent = new Intent(Intent.ACTION_PICK, MediaStore.Images.Media.INTERNAL_CONTENT_URI);\n startActivityForResult(intent,PICK_IMAGE);\n }", "int getAssetValue();", "public void setLanguageGermanButtonImageAsset(ImageAsset imageAsset) {\n/*Generated! Do not modify!*/ replyDTO.getVariablesToSet().add(\"overviewSmall_languageGermanButton_propertyImageSource\");\n/*Generated! Do not modify!*/ replyDTO.getVariableValues().put(\"overviewSmall_languageGermanButton_propertyImageSource\", imageAsset.getFilename());\n/*Generated! Do not modify!*/ if (recordMode){\n/*Generated! Do not modify!*/ addRecordedAction(ReplyActionType.SET_IMAGE_ASSET, \"setLanguageGermanButtonImageAsset(\", imageAsset);\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ }", "public void verifyAssetsAreDisplayedInTheCompletedList(String asset) {\n\t\tWebElement completeAsset =driver.findElement(By.xpath(\"//span[text()='Completed']/../../div/span[text()='\"+asset+\"']\"));\n\t\tmoveToElement(completeAsset);\n\t\tAssert.assertTrue(completeAsset.isDisplayed());\n \treportInfo();\n\n\t}", "public void onActivityResult(int requestCode, int resultCode, Intent intent) {\n Log.d(LOG_TAG, \"onActivityResult\");\n if (resultCode == Activity.RESULT_OK) {\n Log.d(LOG_TAG, \"requestCode: \" + requestCode);\n switch (requestCode) {\n case 300:\n AdobeSelection selection = getSelection(intent);\n\n Intent data = new Intent();\n data.putExtras(intent);\n setResult(Activity.RESULT_OK,data);\n finish();\n\n break;\n }\n } else if (resultCode == Activity.RESULT_CANCELED) {\n //this.callbackContext.error(\"Asset Browser Canceled\");\n Log.d(LOG_TAG, \"Asset Browser Canceled\");\n finish();\n }\n }", "public void setSelectedImgURI(Uri select){\n this.selectedImageUri = select;\n }", "boolean isApplicableForAssetType(final AssetType assetType);", "public boolean AssetIDEnable() {\r\n\t\t// return IsElementEnabledStatus(DefineSetup_AssetID_txtBx);\r\n\t\t// DefineSetup_AssetID_txtBx.isDisplayed();\r\n\t\t// return DefineSetup_AssetID_txtBx.isDisplayed();\r\n\t\treturn IsElementEnabledStatus(DefineSetup_AssetID_txtBx);\r\n\t}", "private void chooseImageAndUpload() {\n Intent intent = new Intent();\n intent.setType(\"image/*\");\n intent.setAction(Intent.ACTION_GET_CONTENT);\n startActivityForResult(Intent.createChooser(intent, \"Select Picture\"), Common.PICK_IMAGE_REQUEST);\n\n }", "@Override\n public void onClick(View v) {\n Intent photoPickerIntent = new Intent(Intent.ACTION_PICK);\n photoPickerIntent.setType(\"image/*\");\n startActivityForResult(photoPickerIntent, SELECT_PHOTO);\n }", "public void onClick(View v) {\n intent = new Intent(Intent.ACTION_PICK, MediaStore.Images.Media.EXTERNAL_CONTENT_URI);\n startActivityForResult(intent, SELECTED_IMAGE);\n }", "@Override\n public boolean onOptionsItemSelected(@NonNull MenuItem item) {\n\n switch (item.getItemId()){\n\n case R.id.save:\n\n if (assetDB.assetCount() == 0)\n {\n Toast.makeText(this, \"Fill all the fields\", Toast.LENGTH_SHORT).show();\n }\n else {\n Intent back = new Intent(this, AddAssetsLiabilities.class);\n String save = \"Assets\";\n back.putExtra(\"saved\", save);\n startActivity(back);\n }\n\n return true;\n default:\n return super.onOptionsItemSelected(item);\n }\n\n }", "@Override\n public void onClick(View v) {\n Intent intent = new Intent();\n intent.setType(\"image/*\");\n intent.setAction(Intent.ACTION_GET_CONTENT);\n // image k selection k liey requesting code jo hai upar vo 1234 hai ye dena hota hai\n startActivityForResult(Intent.createChooser(intent, \"Select Image\"), REQUEST_CODE);\n }", "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tgsv.startSelectState();\n\t\t\t}", "@Override\n public void onClick(DialogInterface dialog, int which) {\n input_prac_type.setText(renewal[which]);\n Currentitem = mParam1.get(which);\n input_prac_price.setText(\"RM\"+String.valueOf(mParam1.get(which).price));\n Log.e(\"equipment select\",Currentitem.name);\n }", "public void chooseForMe() {\n }", "@Override\n public void onClick(View view) {\n mayRequestStoragePermission(view);\n pickFromGal();\n\n\n }", "private void select_image() {\n\n final CharSequence[] items = {\"Camera\", \"Gallery\", \"Cancel\"};\n\n AlertDialog.Builder builder = new AlertDialog.Builder(step4.this);\n builder.setTitle(\"Add Image\");\n builder.setItems(items, new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface DialogInterface, int i) {\n if (items[i].equals(\"Camera\")) {\n\n Intent camera = new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE);\n if (ActivityCompat.checkSelfPermission(step4.this, Manifest.permission.CAMERA) != PackageManager.PERMISSION_GRANTED) {\n Toast.makeText(getApplicationContext(), \"Please grant permission to access Camera\", Toast.LENGTH_LONG).show();\n ActivityCompat.requestPermissions(step4.this, new String[]{Manifest.permission.CAMERA}, 1);\n startActivityForResult(camera,REQUEST_CAMERA);\n\n } else {\n startActivityForResult(camera,REQUEST_CAMERA);\n\n }\n\n\n\n } else if (items[i].equals(\"Gallery\")) {\n\n Intent gallery = new Intent(Intent.ACTION_PICK, MediaStore.Images.Media.EXTERNAL_CONTENT_URI);\n gallery.setType(\"image/*\");\n startActivityForResult(gallery, select_file);\n\n\n } else if (items[i].equals(\"Cancel\")) {\n\n DialogInterface.dismiss();\n\n\n }\n }\n\n\n });\n builder.show();\n }", "public abstract void pickUp();", "private void useInventoryByAI() {\n\t\tChampion AI = currentTask.getCurrentChamp();\n\t\tArrayList<Collectible> inventory = ((Wizard)AI).getInventory();\n\t\tif(inventory.size()>0){\n\t\t\tint randomPotion = (int)(Math.random()*inventory.size());\n\t\t\tcurrentTask.usePotion((Potion)inventory.get(randomPotion));\n\t\t}\n\n\t\t\n\t}", "private Asset() {\r\n super(IAsset.TYPE_ID);\r\n }", "public void chooseFile(String fileName) {\n getQueueTool().waitEmpty();\n output.printTrace(\"Choose file by JFileChooser\\n : \" + fileName\n + \"\\n : \" + toStringSource());\n JTextFieldOperator fieldOper = new JTextFieldOperator(getPathField());\n fieldOper.copyEnvironment(this);\n fieldOper.setOutput(output.createErrorOutput());\n //workaround\n fieldOper.setText(fileName);\n //fieldOper.clearText();\n //fieldOper.typeText(fileName);\n //approveSelection();\n approve();\n }", "@Override\n public void actionPerformed(ActionEvent e) {\n String src;\n JFileChooser fileChooser = new JFileChooser();\n fileChooser.setCurrentDirectory(new File(System.getProperty(\"user.home\")));\n int result = fileChooser.showOpenDialog(getParent());\n if (result == JFileChooser.APPROVE_OPTION) {\n File selectedFile = fileChooser.getSelectedFile();\n textSalida.append(\"\\nAutómata seleccionado \" + selectedFile.getAbsolutePath() );\n automa = null;\n automataready = false;\n compilar.setEnabled(false);\n try {\n src = selectedFile.getAbsolutePath();\n automa = new AFDVault(src);\n automataready = automa.allready();\n if (automataready){\n compilar.setEnabled(true);\n textSalida.append(\"\\nAutomata cargado\");\n //automa.PrintAFD();\n }else{\n compilar.setEnabled(false);\n textSalida.append(\"\\nAutomata no cargado verifique el archivo\");\n }\n }catch (IOException|ParserException ex){\n textSalida.append(ex.getMessage()+\"\\n\");\n }\n }\n }", "public void setSelectionBateau(String actionCommand) {\n\t\tif (actionCommand.equals(\"bateau0\")) {\n\t\t\tpartie.setBoatChoose(0);\n\t\t} else if (actionCommand.equals(\"bateau1\")) {\n\t\t\tpartie.setBoatChoose(1);\n\t\t} else if (actionCommand.equals(\"bateau2\")) {\n\t\t\tpartie.setBoatChoose(2);\n\t\t} else if (actionCommand.equals(\"bateau3\")) {\n\t\t\tpartie.setBoatChoose(3);\n\t\t}\n\n\t\tpartie.managerPartie();\n\n\t}", "@FXML\n public void massSelect(ActionEvent event) {\n \tmassSelection = massCombo.getSelectionModel().getSelectedItem().toString();\n \tmassCombo.setValue(massSelection);\n }", "private void choseImage() {\n Intent intent = new Intent(Intent.ACTION_GET_CONTENT);\n intent.setType(\"image/*\");\n\n if (intent.resolveActivity(getPackageManager()) != null) {\n startActivityForResult(intent, GALLERY_REQ_CODE);\n } else {\n Toast.makeText(this, R.string.no_image_picker, Toast.LENGTH_SHORT).show();\n }\n }", "@Override\n public void onClick(DialogInterface dialog, int item) {\n if (options[item].equals(\"Take Photo\")) {\n Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);\n startActivityForResult(intent, 0);\n } else if (options[item].equals(\"Choose from Library\")) {\n Intent intent = new Intent(\n Intent.ACTION_PICK,\n android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI);\n intent.setType(\"image/*\");\n startActivityForResult(\n Intent.createChooser(intent, \"Select File\"),\n 1);\n } else if (options[item].equals(\"Cancel\")) {\n dialog.dismiss();\n }\n }", "public void showConsumableVendorScreen(){\n try{\n FXMLLoader loader = new FXMLLoader();\n loader.setLocation(Game.class.getResource(\"view/VendorSelectedScreen.fxml\"));\n mainScreenController.getSecondaryScreen().getChildren().clear();\n mainScreenController.getSecondaryScreen().getChildren().add((AnchorPane) loader.load());\n \n VendorSelectedScreenController controller = loader.getController();\n controller.setGame(this, gameData.getConsumableVendor());\n }catch(IOException e){\n }\n }", "protected abstract void chooseSprite();", "public void clickOnGroupNameDropdownButton() {\r\n\t\tsafeClick(vehicleLinkPath.replace(\"ant-card-head-title\", \"ant-select ant-select-enabled\"), MEDIUMWAIT);\r\n\t}", "void selectActivityOptions(int activity_number, Model model);", "public boolean ifAvia() {\n return choiceSelect == AVIA_CHOICE;\n }" ]
[ "0.5966289", "0.5863818", "0.5828685", "0.5685124", "0.55463874", "0.55443776", "0.55396926", "0.5519045", "0.55030245", "0.5487593", "0.54823375", "0.5475122", "0.54741246", "0.54703224", "0.5448164", "0.54480493", "0.54359084", "0.54302585", "0.5425349", "0.54228276", "0.5417156", "0.5402801", "0.5397362", "0.53956723", "0.5376103", "0.53709495", "0.5364364", "0.5362313", "0.53580934", "0.5353432", "0.5353204", "0.53206587", "0.5319014", "0.531888", "0.5313292", "0.5301894", "0.5292827", "0.5279989", "0.52752167", "0.5271119", "0.52569896", "0.52393866", "0.5223153", "0.5218994", "0.5217459", "0.52105945", "0.5190161", "0.5187107", "0.51856226", "0.51810855", "0.5180113", "0.51708394", "0.516979", "0.51504743", "0.5150453", "0.51492125", "0.5147088", "0.51462585", "0.5145961", "0.5141202", "0.5132417", "0.51314837", "0.51310676", "0.5129038", "0.5126295", "0.5123471", "0.5122832", "0.5122763", "0.5117154", "0.5114592", "0.5112136", "0.5104482", "0.5104473", "0.5099058", "0.50978965", "0.50937927", "0.5092516", "0.50886816", "0.50849515", "0.50821733", "0.5080696", "0.5067576", "0.50649285", "0.50551283", "0.5055027", "0.50528187", "0.5052503", "0.5050324", "0.5049394", "0.50466377", "0.50459576", "0.50394565", "0.50344086", "0.50342023", "0.50331885", "0.50311023", "0.5029259", "0.50277597", "0.5027145", "0.5023978" ]
0.6291444
0
/ F15 The system shall display a selected asset raw data
@Test @SuppressWarnings("unchecked") public void f15DisplayRawDataTest() { clickOn("#thumbnailTab").sleep(1000); FlowPane root = (FlowPane) scene.getRoot().lookup("#assetsThumbPane"); //Go to the 2nd asset clickOn(root.getChildren().get(1)).sleep(2000); clickOn("#rawDataTab").sleep(1000); moveBy(90, 200).sleep(1000); TableView<ObservableList<String>> table = (TableView<ObservableList<String>>) scene.getRoot().lookup("#RawDataTable"); table.scrollToColumnIndex(15); //scroll to show the end columns sleep(3000).clickOn("#backBtn").sleep(1000); assertTrue("There is a raw data table for the selected asset.", table.getItems().size() > 0); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\t\t\tpublic void onClick(View v) \r\n\t\t\t{\n\r\n\t\t\t\tAssetManager am = context.getAssets();\r\n\t\t\t\ttry {\r\n\t\t\t\t\tInputStream is = am.open(\"syb11.txt\"); \r\n\t\t\t\t\tBufferedReader in = new BufferedReader(new InputStreamReader(is));\r\n\t\t\t\t\tString inputLine;\r\n\t\t\t\t\twhile ((inputLine = in.readLine()) != null)\r\n\t\t\t\t\t\tSystem.out.println(inputLine);\r\n\t\t\t\t\tin.close();\r\n\t\t\t\t} catch (IOException e) {\r\n\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t}\r\n\t\t\t}", "public void ShowData() {\t\n\t\t\t\n\t\t\tShort SR0= cpu.getR0();\n\t\t\tString strR0 = String.format(\"%16s\",Integer.toBinaryString(SR0.intValue())).replace(' ', '0');\n\t\t\tif(strR0.length()>16){\n\t\t\t\tstrR0=strR0.substring(strR0.length()-16,strR0.length());\n\t\t\t}\n\t\t\tint a = 0;\n\t\t\twhile(a < strR0.length()) {\n\t\t\t\tchar[] chara = strR0.toCharArray();\n\t\t\t\tif (chara[a] == '1') {\n\t\t\t\t\tR0[a].setSelected(true);\n\t\t\t\t} else {\n\t\t\t\t\tR0[a].setSelected(false);\n\t\t\t\t}\n\t\t\t\ta++;\n\t\t\t}\n\n\t\t\tShort SR1 = cpu.getR1();\n\t\t\tString strR1 = String.format(\"%16s\",Integer.toBinaryString(SR1.intValue())).replace(' ', '0');\n\t\t\tif(strR1.length()>16){\n\t\t\t\tstrR1=strR1.substring(strR1.length()-16,strR1.length());\n\t\t\t}\n\t\t\tint b = 0;\n\t\t\twhile(b < strR1.length()) {\n\t\t\t\tchar[] charb = strR1.toCharArray();\n\t\t\t\tif (charb[b] == '1') {\n\t\t\t\t\tR1[b].setSelected(true);\n\t\t\t\t} else {\n\t\t\t\t\tR1[b].setSelected(false);\n\t\t\t\t}\n\t\t\t\tb++;\n\t\t\t}\n\t\t\t\n\t\t\tShort SR2 = cpu.getR2();\n\t\t\tString strR2 = String.format(\"%16s\",Integer.toBinaryString(SR2.intValue())).replace(' ', '0');\n\t\t\tif(strR2.length()>16){\n\t\t\t\tstrR2=strR2.substring(strR2.length()-16,strR2.length());\n\t\t\t}\n\t\t\tint c = 0;\n\t\t\twhile(c < strR2.length()) {\n\t\t\t\tchar[] charc = strR2.toCharArray();\n\t\t\t\tif (charc[c] == '1') {\n\t\t\t\t\tR2[c].setSelected(true);\n\t\t\t\t} else {\n\t\t\t\t\tR2[c].setSelected(false);\n\t\t\t\t}\n\t\t\t\tc++;\n\t\t\t}\n\t\t\t\n\t\t\tShort SR3 = cpu.getR3();\n\t\t\tString strR3 = String.format(\"%16s\",Integer.toBinaryString(SR3.intValue())).replace(' ', '0');\n\t\t\tif(strR3.length()>16){\n\t\t\t\tstrR3=strR3.substring(strR3.length()-16,strR3.length());\n\t\t\t}\n\t\t\tint d = 0;\n\t\t\twhile(d < strR3.length()) {\n\t\t\t\tchar[] chard = strR3.toCharArray();\n\t\t\t\tif (chard[d] == '1') {\n\t\t\t\t\tR3[d].setSelected(true);\n\t\t\t\t} else {\n\t\t\t\t\tR3[d].setSelected(false);\n\t\t\t\t}\n\t\t\t\td++;\n\t\t\t}\n\t\t\t\n\t\t\tShort SX1 = cpu.getX1();\n\t\t\tString strX1 = String.format(\"%16s\",Integer.toBinaryString(SX1.intValue())).replace(' ', '0');\n\t\t\tif(strX1.length()>16){\n\t\t\t\tstrX1=strX1.substring(strX1.length()-16,strX1.length());\n\t\t\t}\n\t\t\tint f = 0;\n\t\t\twhile(f < strX1.length()) {\n\t\t\t\tchar[] charf = strX1.toCharArray();\n\t\t\t\tif (charf[f] == '1') {\n\t\t\t\t\tX1[f].setSelected(true);\n\t\t\t\t} else {\n\t\t\t\t\tX1[f].setSelected(false);\n\t\t\t\t}\n\t\t\t\tf++;\n\t\t\t}\n\t\t\t\n\t\t\tShort SX2 = cpu.getX2();\n\t\t\tString strX2 = String.format(\"%16s\",Integer.toBinaryString(SX2.intValue())).replace(' ', '0');\n\t\t\tif(strX2.length()>16){\n\t\t\t\tstrX2=strX2.substring(strX2.length()-16,strX2.length());\n\t\t\t}\n\t\t\tint g = 0;\n\t\t\twhile(g < strX2.length()) {\n\t\t\t\tchar[] charg = strX2.toCharArray();\n\t\t\t\tif (charg[g] == '1') {\n\t\t\t\t\tX2[g].setSelected(true);\n\t\t\t\t} else {\n\t\t\t\t\tX2[g].setSelected(false);\n\t\t\t\t}\n\t\t\t\tg++;\n\t\t\t}\n\t\t\t\n\t\t\tShort SX3 = cpu.getX3();\n\t\t\tString strX3 = String.format(\"%16s\",Integer.toBinaryString(SX3.intValue())).replace(' ', '0');\n\t\t\tif(strX3.length()>16){\n\t\t\t\tstrX3=strX3.substring(strX3.length()-16,strX3.length());\n\t\t\t}\n\t\t\tint h = 0;\n\t\t\twhile(h < strX3.length()) {\n\t\t\t\tchar[] charh = strX3.toCharArray();\n\t\t\t\tif (charh[h] == '1') {\n\t\t\t\t\tX3[h].setSelected(true);\n\t\t\t\t} else {\n\t\t\t\t\tX3[h].setSelected(false);\n\t\t\t\t}\n\t\t\t\th++;\n\t\t\t}\n\t\t\t\n\t\t\tShort SMAR = cpu.getMar();\n\t\t\tString strMAR = String.format(\"%16s\",Integer.toBinaryString(SMAR.intValue())).replace(' ', '0');\n\t\t\tif(strX3.length()>16){\n\t\t\t\tstrMAR=strMAR.substring(strMAR.length()-16,strMAR.length());\n\t\t\t}\n\t\t\tint j = 0;\n\t\t\twhile(j < strMAR.length()) {\n\t\t\t\tchar[] charj = strMAR.toCharArray();\n\t\t\t\tif (charj[j] == '1') {\n\t\t\t\t\tMAR[j].setSelected(true);\n\t\t\t\t} else {\n\t\t\t\t\tMAR[j].setSelected(false);\n\t\t\t\t}\n\t\t\t\tj++;\n\t\t\t}\n\t\t\t\n\t\t\tShort SMBR = cpu.getMbr();\n\t\t\tString strMBR = String.format(\"%16s\",Integer.toBinaryString(SMBR.intValue())).replace(' ', '0');\n\t\t\tif(strMBR.length()>16){\n\t\t\t\tstrMBR=strMBR.substring(strMBR.length()-16,strMBR.length());\n\t\t\t}\n\t\t\tint k = 0;\n\t\t\twhile(k < strMBR.length()) {\n\t\t\t\tchar[] chark = strMBR.toCharArray();\n\t\t\t\tif (chark[k] == '1') {\n\t\t\t\t\tMBR[k].setSelected(true);\n\t\t\t\t} else {\n\t\t\t\t\tMBR[k].setSelected(false);\n\t\t\t\t}\n\t\t\t\tk++;\n\t\t\t}\n\t\t\t\n\t\t\tShort SIR = cpu.getIr();\n\t\t\tString strIR = String.format(\"%16s\",Integer.toBinaryString(SIR.intValue())).replace(' ', '0');\n\t\t\tif(strIR.length()>12){\n\t\t\t\tstrIR=strIR.substring(strIR.length()-16,strIR.length());\n\t\t\t}\n\t\t\tint l = 0;\n\t\t\twhile(l < strIR.length()) {\n\t\t\t\tchar[] charl = strIR.toCharArray();\n\t\t\t\tif (charl[l] == '1') {\n\t\t\t\t\tIR[l].setSelected(true);\n\t\t\t\t} else {\n\t\t\t\t\tIR[l].setSelected(false);\n\t\t\t\t}\n\t\t\t\tl++;\n\t\t\t}\t\t\t\n\t\t\t\n\t\t\tShort SPC = cpu.getPc();\n\t\t\tString strPC = String.format(\"%12s\",Integer.toBinaryString(SPC.intValue())).replace(' ', '0');\n\t\t\tif(strPC.length()>12){\n\t\t\t\tstrPC=strPC.substring(strPC.length()-16,strPC.length());\n\t\t\t}\n\t\t\tint m = 0;\n\t\t\twhile(m < strPC.length()) {\n\t\t\t\tchar[] charm = strPC.toCharArray();\n\t\t\t\tif (charm[m] == '1') {\n\t\t\t\t\tPC[m].setSelected(true);\n\t\t\t\t} else {\n\t\t\t\t\tPC[m].setSelected(false);\n\t\t\t\t}\n\t\t\t\tm++;\n\t\t\t}\t\t\t\n\t\t\t\n\t}", "@Override\n public String getDescription() {\n return \"Asset issuance\";\n }", "@Override\n public String getDescription() {\n return \"Asset transfer\";\n }", "private void showProgramData(ItemEvent itemEvent) {\n\n if (itemEvent.getStateChange() == ItemEvent.SELECTED) {\n\n setCurrentChannel(itemEvent.getItem().toString());\n scheduledUpdate();\n\n }\n }", "@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\t\n\t\t\t\tInputStream input=null;\n\t\t\t\tinput=resources.openRawResource(R.raw.test); //获取指定资源文件的输入流对象\n\t\t\t\ttry { \n\t\t\t\t\t//读取文件内容,操作类似于FileInputStream\n\t\t\t\t\tbyte[] reader=new byte[input.available()]; //必须用try块包围\n\t\t\t\t\tString out=\"\";\n\t\t\t\t\twhile (input.read(reader)!=-1){\n\t\t\t\t\t\tout+=new String(reader,\"GBK\");\n\t\t\t\t\t\t//第二个参数为编码,必须与raw文件的属性中的编码相符,否则乱码\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\t//显示文件内容\n\t\t\t\t\tinfo.setText(out);\n\t\t\t\t\t\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}finally{ //关闭输入流对象\n\t\t\t\t\tif (input!=null){\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tinput.close(); //必须用try块包围\n\t\t\t\t\t\t} catch (IOException 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}\n\t\t\t\t}\n\t\t\t}", "public void display_inventory() {\n\t\t// displays all identified crystals\n\t\tfor(int i = 0;i<maxInvSize;i++) {\n\t\t\tif(identifiedArray[i] != null) {\n\t\t\t\tcrystal_description(identifiedArray[i]);\n\t\t\t}\n\t\t}\n\t\t\n\t}", "private void displayCarData() {\n\t\tmHeaderText.setText(mCar.getBrand() + \" \" + mCar.getModel());\n\t\tmBrandText.setText(mCar.getBrand());\n\t\tmModelText.setText(mCar.getModel());\n\t\tmColorText.setText(mCar.getColor());\n\t\tmSeatsText.setText(String.valueOf(mCar.getNSeats()));\n\t\tmPlateText.setText(mCar.getPlate());\n\t\tmFuelText.setText(mCar.getCarFuel().name());\n\t\tmConsumptionText.setText(String.valueOf(mCar.getConsumptionPerKm()));\n\t}", "public void view(){\r\n System.out.println(\"\tNombre: \"+name);\r\n\t\tSystem.out.println(\"\tTipo: \"+type.id);\r\n\t\tSystem.out.println(\"\tVal: \"+((Integer)val).intValue());\r\n\t\tif(block==true){\r\n\t\t\tSystem.out.println(\"\tBLOQUEADA\");\r\n\t\t}else{\r\n\t\t\tSystem.out.println(\"\tDESBLOQUEADO\");\r\n\t\t}\r\n //System.out.println(\"\tTipo2: \"+kind);\r\n //System.out.println(\"\tAnidamiento: \"+level);\r\n //System.out.println(\"\tSigDireccion: \"+nextAdr);\r\n System.out.println(\"\t*********************\");\r\n\t\tSystem.out.println();\r\n }", "@Test\n public void rawAsset() throws Exception {\n try (\n final MkContainer container = new MkGrizzlyContainer().next(\n new MkAnswer.Simple(HttpURLConnection.HTTP_OK, \"\")\n ).start(this.resource.port());\n ) {\n final RtReleaseAsset asset = new RtReleaseAsset(\n new ApacheRequest(container.home()),\n release(),\n 4\n );\n final InputStream stream = asset.raw();\n final MkQuery query = container.take();\n MatcherAssert.assertThat(\n query.method(), Matchers.equalTo(Request.GET)\n );\n MatcherAssert.assertThat(\n IOUtils.toString(stream, StandardCharsets.UTF_8),\n Matchers.notNullValue()\n );\n container.stop();\n }\n }", "@Override\r\n\t\t\tpublic void onClick(View v) \r\n\t\t\t{\n\t\t\t\ttry {\r\n\t\t\t\t\t// get input stream for text\r\n\t\t\t\t\tInputStream is = getAssets().open(\"syb12.txt\");\r\n\t\t\t\t\t// check size\r\n\t\t\t\t\tint size = is.available();\r\n\t\t\t\t\t// create buffer for IO\r\n\t\t\t\t\tbyte[] buffer = new byte[size];\r\n\t\t\t\t\t// get data to buffer\r\n\t\t\t\t\tis.read(buffer);\r\n\t\t\t\t\t// close stream\r\n\t\t\t\t\tis.close();\r\n\t\t\t\t\t// set result to TextView\r\n\t\t\t\t\tsyb.setText(new String(buffer));\r\n\t\t\t\t}\r\n\t\t\t\tcatch (IOException ex) {\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\r\n\r\n\r\n\t\t\t}", "private void loadInv() {\n\t\titem = Main.inventory.business.getAllBaked();\n\t\tString test = \"ID, Name, Amount, Price\\n\";\n\t\t//formatting for string to load into the screen\n\t\tfor(int i=0 ; i< item.size() ; i++) {\n\t\t\ttest += (i+1) + \" \" + item.get(i).getName() +\", \" \n\t\t\t\t\t+ item.get(i).getQuantity() + \n\t\t\t\t\t\", $\"+ Main.inventory.business.getItemCost(item.get(i).getName()) +\"\\n\";\n\t\t}\n\t\tthis.inv.setText(test);\n\t}", "protected void ACTION_B_LOAD(ActionEvent arg0) {\n\t\tString capturedata=\"\";\r\n\t\ttry {\r\n\t\t\tFile DATA = new File(\"capturedata.txt\");\r\n\t\t\t\r\n\t\t\tFileInputStream datastream = new FileInputStream(DATA);\r\n\t\t\tInputStreamReader input = new InputStreamReader(datastream);\r\n\t\t\tBufferedReader reader = new BufferedReader(input);\r\n\t\t\t\r\n\t\t\twhile(reader.read() != -1)\r\n\t\t\t{\r\n\t\t\t\tcapturedata=capturedata+reader.readLine();\r\n\t\t\t\tcapturedata=capturedata + \"\\n\";\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\treader.close();\r\n\t\t\tinput.close();\r\n\t\t\tdatastream.close();\r\n\t\t\t\r\n\t\t\ttextArea_1.setText(capturedata);\r\n\t\t\t\r\n\t\t\tJOptionPane.showMessageDialog(null, \"Data Loaded Successfully\");\r\n\t\t} catch (FileNotFoundException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t} catch (IOException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\tJOptionPane.showMessageDialog(null, \"File Access Error !! Unable to Load data\");\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\t\r\n\t}", "@Override\n\tvoid putData() {\n\t\tSystem.out.println(\"Brand : \"+brand);\n\t\tSystem.out.println(\"Model : \"+model);\n\t\tSystem.out.println(\"Year of manufacture : \"+year_of_manufacture);\n\t\tSystem.out.println(\"CC : \"+cc);\n\t}", "private void displayFromAsset(String assetFileName) {\n pdfFileName = assetFileName;\n\n pdfView.fromAsset(SAMPLE_FILE)\n .defaultPage(pageNumber)\n .enableSwipe(true)\n\n .swipeHorizontal(false)\n .enableAnnotationRendering(true)\n .scrollHandle(new DefaultScrollHandle(this))\n .load();\n\n }", "@Override\n protected void onActivityResult(int requestCode, int resultCode, Intent data) {\n if(data!=null&&data.getStringExtra(\"Format\")!=null)\n Toast.makeText(this, \"Contents = \" + data.getStringExtra(\"Contents\") +\n \", Format = \" + data.getStringExtra(\"Format\"), Toast.LENGTH_SHORT).show();\n }", "@Test\n public void f16DisplayAssetInfoTest() {\n clickOn(\"#thumbnailTab\").sleep(1000);\n FlowPane root;\n FlowPane totalAttributes;\n\n boolean isValidAttributesAmount = true;\n int i = 0;\n\n //test the first 3 assets:\n while (i < 3) {\n root = (FlowPane) scene.getRoot().lookup(\"#assetsThumbPane\");\n clickOn(root.getChildren().get(i));\n sleep(2000).clickOn(\"#informationTab\");\n moveBy(200, 500).scroll(150, VerticalDirection.UP);\n\n totalAttributes = (FlowPane) scene.getRoot().lookup(\"#attributeFlowPane\");\n\n //should have 26 total attributes\n if (totalAttributes.getChildren().size() != 26) {\n isValidAttributesAmount = false;\n break;\n }\n\n clickOn(\"#backBtn\").sleep(1000);\n i++;\n }\n\n assertTrue(\"Assets have 26 attributes.\", isValidAttributesAmount);\n }", "int getAssetValue();", "private void displayData() {\n if (mOutlet1State) {\n //print value\n mCurrent1.setText(returnCurrent(4));\n } else {\n mCurrent1.setText(R.string.off);\n }\n //print timer data\n if (mTimer1State) {\n //print time remaining\n mTimer1.setText(returnControllerTime(7));\n } else {\n mTimer1.setText(R.string.disabled);\n }\n\n //outlet 2\n //print current\n if (mOutlet2State) {\n //print value\n mCurrent2.setText(returnCurrent(12));\n } else {\n mCurrent2.setText(R.string.off);\n }\n //print timer data\n if (mTimer2State) {\n //print time remaining\n mTimer2.setText(returnControllerTime(15));\n } else {\n mTimer2.setText(R.string.disabled);\n }\n }", "void showUI(Player player) {\n\t\tString title = (this.range!=-1 ? \"BCL:\"+this.getOwnerName()+\"@\"+this.getLoc() : \"New \"+(this.isAdminChunkLoader()?\"Admin \":\"\")+\"BetterChunkLoader\");\n\t\tif (title.length()>32) {\n\t\t\ttitle=title.substring(0, 32);\n\t\t}\n\t\tInventory inventory = Bukkit.createInventory(this, 9, title);\n\n\t\taddInventoryOption(inventory, 0, Material.REDSTONE_TORCH_ON, \"Remove\");\n\t\t\n\t\tfor (byte i=0; i<5; i++) {\n\t\t\taddInventoryOption(inventory, i+2, Material.MAP, \"Size \"+this.sizeX(i)+(this.getRange()==i?\" [selected]\":\"\"));\n\t\t}\n\t\t\n\t\tplayer.openInventory(inventory);\n\t}", "public void displayData();", "public void render(){\n//\t\tsetCards();\n//\t\tsetMurderInfo();\n\t}", "private void viewBackpack() {\n Item[] inventory = GameControl.getSortedInventoryList();\r\n \r\n System.out.println(\"\\n List of inventory Items\");\r\n System.out.println(\"Description\" + \"\\t\" + \r\n \"Required\" + \"\\t\" +\r\n \"In Stock\");\r\n \r\n // For each inventory item\r\n for (Item inventoryItem : inventory){\r\n // Display the description, the required amount and amount in stock\r\n System.out.println(InventoryItem.getType + \"\\t \" +\r\n InventoryItem.requiredAmount + \"\\t \" +\r\n InventoryItem.getQuantity);\r\n }\r\n \r\n }", "public void inventoryPrint() {\n System.out.println(\"Artifact Name: \" + name);\r\n System.out.println(\"Desc:\" + description);\r\n System.out.println(\"Value: \" + value);\r\n System.out.println(\"Mobility: \" + mobility); \r\n }", "public void showbitmap3() {\n \n \t}", "public String displayData() {\n\t String s = \"\";\n\t s += super.toString() + \"\\nNumber of Rentable Units: \" + numRentableUnits + \"\\nAverage Unit Size: \" + avgUnitSize + \"\\nParking Available: \" + ((parkingAvailable == true) ? \"Y\" : \"N\");\n\t return s;\n\t}", "public String assetType() {\n return assetType;\n }", "public void display()\n\t{\n\t\tmediaType = \"Picture\";\n\t\t\n\t\tSystem.out.println(mediaType + \": \" + name + \", \" + resolution + \" dpi, is rated \" + rating + \" stars.\" );\n\t}", "private void actionComboboxChangedImage ()\r\n\t{\r\n\r\n\t\tint tableSize = DataController.getTable().getTableSize();\r\n\r\n\t\t//---- Check if the project is empty or not\r\n\t\tif (tableSize != 0)\r\n\t\t{\r\n\t\t\tif (isDisplaySamples) { helperDisplayDetectedSamples(); }\r\n\t\t\telse { helperDisplayInputImage(); }\r\n\r\n\t\t\thelperDisplaySamplesCombobox();\r\n\t\t\thelperDisplayResults();\r\n\t\t\thelperDisplayChart(true);\r\n\t\t}\r\n\t}", "public String assetName() {\n return assetName;\n }", "@Test\n public void f14SelectAssetTest() {\n FlowPane assets;\n int i = 0;\n Random random = new Random();\n\n //select 4 random assets out of the first 12 visible assets in the window\n do {\n clickOn(\"#thumbnailTab\").moveBy(300, 500);\n scroll(10, VerticalDirection.UP).sleep(2000);\n\n assets = (FlowPane) scene.getRoot().lookup(\"#assetsThumbPane\");\n clickOn(assets.getChildren().get(random.nextInt(12)));\n sleep(1000).clickOn(\"#serialNumberOutput\").sleep(1000);\n clickOn(\"#backBtn\");\n\n } while (++i < 4);\n\n assertTrue(\"There are selectable assets on the main page.\", assets.getChildren().size() > 0);\n }", "private void helperDisplayInputImage()\r\n\t{\r\n\t\ttry\r\n\t\t{\r\n\t\t\t//---- Get currently selected file index in the combo box\r\n\t\t\tint index = mainFormLink.getComponentPanelLeft().getComponentComboboxFileName().getSelectedIndex();\r\n\r\n\t\t\t//---- Check the index if the action is invoked by image deletion then causes error\r\n\t\t\tint imageCount = DataController.getTable().getTableSize();\r\n\r\n\t\t\tif (index >= 0 && index < imageCount)\r\n\t\t\t{\r\n\t\t\t\t//---- Get file path of the table\r\n\r\n\t\t\t\tString filePath = DataController.getTable().getElement(index).getDataFile().getFilePath();\r\n\r\n\t\t\t\tmainFormLink.getComponentPanelCenter().getComponentPanelImageView().displayPolygonStop();\r\n\t\t\t\tmainFormLink.getComponentPanelCenter().getComponentPanelImageView().loadImage(filePath);\r\n\t\t\t}\r\n\t\t}\r\n\t\tcatch (ExceptionMessage e)\r\n\t\t{\r\n\t\t\tExceptionHandler.processException(e);\r\n\t\t}\r\n\t}", "public void showMetadata() {\n String title;\n String description;\n if (fileHandler.metaTitle.equals(\"\")) {\n title = \"No title\";\n } else {\n title = fileHandler.metaTitle;\n }\n if (fileHandler.metaData.equals(\"\")) {\n description = \"No description available. Try loading an RLE-file!\";\n } else {\n description = fileHandler.metaData;\n }\n PopUpAlerts.metaData(title, description);\n }", "void editAssetValue(int newVal);", "public void showResources(byte devCard) {\r\n\t\tif (devCard == Constants.GETRESOURCES)\r\n\t\t\tisResourceCard = true;\r\n\t\tif (devCard == Constants.MONOPOLY)\r\n\t\t\tisMonopolyCard = true;\r\n\t\tresourcePanel.setVisible(true);\r\n\t}", "@Override\n\tpublic void outputData() {\n\t\tSystem.out.println(\"输出显示器中的相对物理坐标!\");\n\t}", "@Override\r\n public void executeAction() throws Exception {\r\n\r\n BufferedImage originalImage;\r\n\r\n\r\n if (getAssetVersionId() <= 0) {\r\n throw new IllegalArgumentException(\"The asset version id is not positive\");\r\n }\r\n\r\n AssetVersion assetVersion = getAssetVersionService().getAssetVersion(getAssetVersionId());\r\n\r\n if (assetVersion == null) {\r\n throw new IllegalArgumentException(\"The specific asset version does not exist\");\r\n }\r\n\r\n // now we need to check if user has access to the asset the asset version belong to\r\n Asset assetToCheck = getAssetService().getAsset(assetVersion.getAssetId());\r\n checkIfAssetDownloadAllowed(assetToCheck, DirectUtils.getTCSubjectFromSession());\r\n\r\n File imageFile = null;\r\n\r\n if (isPreview()) {\r\n imagePath = assetVersion.getPreviewImagePath();\r\n } else {\r\n imagePath = assetVersion.getFilePath();\r\n }\r\n\r\n imageFile = new File(imagePath);\r\n\r\n originalImage = ImageIO.read(imageFile);\r\n\r\n // convert BufferedImage to byte array\r\n\r\n ByteArrayOutputStream baos = new ByteArrayOutputStream();\r\n\r\n ImageIO.write(originalImage, FilenameUtils.getExtension(imagePath).toLowerCase(), baos);\r\n\r\n baos.flush();\r\n imageInByte = baos.toByteArray();\r\n baos.close();\r\n }", "protected void showShare() {\n \t\tApplicationData applicationData;\n \t\ttry {\n \t\t\tapplicationData = ApplicationData.readApplicationData(this);\n \t\t\tif(applicationData != null){\n \t\t\t\tIntent intent = getIntent();\n \t\t\t\tNextLevel nextLevel = (NextLevel)intent.getSerializableExtra(ApplicationData.NEXT_LEVEL_TAG);\n \t\t\t\tAppLevelDataItem item = applicationData.getDataItem(this, nextLevel);\t\t\t\t\n \t\t\t\tAppDataItemText textItem;\n \t\t\t\ttry {\n \t\t\t\t\ttextItem = (AppDataItemText)item;\n \t\t\t\t\t\n \t\t\t\t\tIntent sharingIntent = new Intent(Intent.ACTION_SEND);\n \t\t\t\t\tsharingIntent.setType(\"text/plain\");\n \t\t\t\t\t//sharingIntent.putExtra(android.content.Intent.EXTRA_EMAIL, new String[] { \"[email protected]\" });\n \t\t\t\t\tsharingIntent.putExtra(android.content.Intent.EXTRA_TEXT, textItem.getItemText());\n \t\t\t\t\tstartActivity(Intent.createChooser(sharingIntent,\"Compartir contenido\"));\n \n \t\t\t\t}catch (ClassCastException e) {\n \t\t\t\t}\n \t\t\t}\n \t\t} catch (InvalidFileException e) {\n \t\t}\n \t}", "public void plzreadDataFiles(){\n\n //This line opens the file and returns an Input Stream data type\n InputStream itemIs = getResources().openRawResource(R.raw.card_data);\n\n //Read the file line by line\n BufferedReader reader = new BufferedReader(new InputStreamReader(itemIs, Charset.forName(\"UTF-8\")));\n\n //Initialize a var to track the line of the file being read in\n String line =\"\";\n\n // error proofing if the file is weird\n try {\n int i = 0;\n int k = 0;\n while ((line = reader.readLine()) != null){\n //split data by commas into an array of strings\n String[] token = line.split(\",\");\n\n itemArray[i] = new itemInfo();\n\n //Read the data\n itemArray[i].setCardType(token[0]);\n itemArray[i].setCardName(token[1]);\n itemArray[i].setItemType(token[2]);\n itemArray[i].setFrontText(token[3]);\n itemArray[i].setRearText(token[4]);\n itemArray[i].setDuration(token[5]);\n\n\n // Create a list of ITEM names for the autocomplete\n if ((itemArray[i].getCardType().intern()) == (\"Common Item\")){\n //itemSearchArray[i] = token[1];\n itemsOnlyList[k] = token[1];\n k = k + 1;\n }\n\n else if ((itemArray[i].getCardType().intern()) == (\"Unique Item\")){\n //itemSearchArray[i] = token[1];\n itemsOnlyList[k] = token[1];\n k = k + 1;\n }\n\n else if ((itemArray[i].getCardType().intern()) == (\"Spell\")){\n //itemSearchArray[i] = token[1];\n itemsOnlyList[k] = token[1];\n k = k + 1;\n }\n\n //Check that the damage column has a number in it, and write it in\n if (token[5].intern() != \"-\"){\n itemArray[i].setDamage(Integer.parseInt(token[5]));\n }\n else{\n //Set it to zero if the dash is detected\n itemArray[i].setDamage(0);\n }\n itemArray[i].setDuration(token[6]);\n\n i = i + 1;\n\n Log.d(\"My Activity\", \"Just added: \"+itemArray[i]);\n }\n\n } catch (IOException e) {\n Log.wtf(\"MyActivity\",\"Error reading data file on line\"+line,e);\n e.printStackTrace();\n }\n }", "public void displaySelections() {\n List<VendingItem> listOfItems = service.getAllItemsNonZero(); //<-- uses lambda\n view.displaySelections(listOfItems);\n }", "@Override\n\tpublic void showContents() {\n\t\tprogram.add(background);\n\t\tprogram.add(topMatte);\n\t\tprogram.add(bottomMatte);\n\t\tprogram.add(stackLabel);\n\t\t\n\t\tprogram.add(basePurp);\n\t\tprogram.add(currPurp);\n\t\tbasePurp.sendToFront();\n\t\tfor (int i = 0; i < callStack; i++) {\n\t\t\tprogram.add(stackBricks[i]);\n\t\t}\n\n\t\tprogram.add(player.getImage());\n\t\tplayer.move(0, 0);\n\n\t\tAudioPlayer.getInstance().playSound(\"sounds\", \"LevelMusic.mp3\", true);\n\t\tif (portalLeft != null) {\n\t\t\tprogram.add(portalLeft.getImage());\n\t\t}\n\t\tif (portalRight != null) {\n\t\t\tprogram.add(portalRight.getImage());\n\t\t\tprogram.add(portalLabel);\n\t\t}\n\t\tif (next == null || next.payloadRetrieved) {\n\t\t\tprogram.add(payload.getImage());\n\t\t}\n\n\t\tArrayList<Payload> collectedPayload = player.getPayloads();\n\n\t\tprogram.add(psuedocode);\n\n\t\tfor (int i = 0; i < collectedPayload.size(); i++) {\n\t\t\tprogram.add(collectedPayload.get(i).getImage());\n\t\t\tpsuedocode.addRtnLong();\n\t\t}\n\t}", "private void displayData() {\n ChildStatement childStmt = app.getChildStatement();\n\n //---Child\n childModelViewSynchronizer = new ModelViewSynchronizer<Child>(CHILD_CLASS,\n getChildMetadata(), rootView, AppConstants.EMPTY_STRING);\n childModelViewSynchronizer.setLabels();\n childModelViewSynchronizer.setHeaderTitle(R.id.section_child_particulars,\n R.string.label_child);\n childModelViewSynchronizer.displayDataObject(childStmt.getChildItem().getChild());\n\n //---CDA Trustee\n cdaTrusteeModelViewSynchronizer = new ModelViewSynchronizer<Adult>(ADULT_CLASS,\n getCdaTrusteeMetaData(), rootView, AppConstants.EMPTY_STRING);\n cdaTrusteeModelViewSynchronizer.setLabels();\n cdaTrusteeModelViewSynchronizer.setHeaderTitle(R.id.section_cdat_particulars,\n R.string.label_adult_type_cdat);\n cdaTrusteeModelViewSynchronizer.displayDataObject(childStmt.getChildDevAccountTrustee());\n\n //---Child Development Bank Account\n cdaBankModelViewSynchronizer = new ModelViewSynchronizer<CdaBankAccount>(CDA_BANK_ACCOUNT_CLASS,\n getChildDevAccountMetaData(), rootView, AppConstants.EMPTY_STRING);\n cdaBankModelViewSynchronizer.setLabels();\n cdaBankModelViewSynchronizer.setHeaderTitle(R.id.section_cda_details,\n R.string.label_child_dev_acc_detail);\n cdaBankModelViewSynchronizer.displayDataObject(childStmt.getCdaBankAccount());\n\n //--- To From Date\n displayFromToDates();\n\n //Screen - Title and Instructions\n fragmentContainer.setFragmentTitle(rootView,\n R.string.title_activity_family_view_cda_details);\n fragmentContainer.setInstructions(rootView.findViewById(R.id.screen_instructions),\n CURRENT_POSITION, 0, false);\n }", "private void ShowCurrentFace() \n {\n if( m_DoneInit )\n {\n String file = \"/tsbtool_gui/facepackage/\"+String.format(\"%02x.BMP\",m_ImageNumber).toUpperCase();\n //new javax.swing.ImageIcon(getClass().getResource(\"/tsbtool_gui/facepackage/00.png\")\n Image face = GetImage(file);\n if( face != null )\n {\n mFaceBox.setIcon( new ImageIcon( face));\n m_FaceLabel.setText(String.format(\"%02x\",m_ImageNumber).toUpperCase());\n }\n else\n JOptionPane.showMessageDialog(this, \"Problem with \"+file);\n AutoUpdateRoster();\n }\n }", "void getTvAttrib() {\n for (HDTV item : vendor) {\r\n System.out.println(\"Brand: \" + item.brandname + \" Size: \" + item.size);\r\n }\r\n\r\n }", "private void displayTenantUnit(){\n Landlord landlord = dm.getLandlord();\n if (unit.getPhoto() != null) {\n GlideApp.with(this /* context */)\n .load(unit.getPhoto())\n .placeholder(R.drawable.unit_placeholder).transition(withCrossFade())\n .into(imgUnitPhoto);\n }\n colToolbar.setTitle(unit.getName());\n lblName.setText(unit.getName());\n lblAddress.setText(unit.getAddress().toString());\n lblType.setText(unit.getTypeString());\n String beds = Integer.toString(unit.getBeds());\n lblBeds.setText(beds);\n String baths = Double.toString(unit.getBaths());\n lblBaths.setText(baths);\n String sqft = Integer.toString(unit.getSquareFeet());\n lblSqFt.setText(sqft);\n String rent = Double.toString(unit.getRent());\n lblCost.setText(rent);\n String rentDay = Integer.toString(unit.getRentDueDay());\n lblRentDue.setText(rentDay);\n String year = Integer.toString(unit.getYearBuilt());\n lblYearBuilt.setText(year);\n String name = landlord.getFirstName() + \" \" + landlord.getLastName();\n lblUnitLandlord.setText(name);\n }", "public String render()\r\n/* 24: */ {\r\n/* 25:51 */ if (!this.init_flag)\r\n/* 26: */ {\r\n/* 27:52 */ this.init_flag = true;\r\n/* 28:53 */ return \"\";\r\n/* 29: */ }\r\n/* 30: */ try\r\n/* 31: */ {\r\n/* 32:56 */ ConnectorResultSet res = this.sql.get_variants(this.request);\r\n/* 33:57 */ return render_set(res);\r\n/* 34: */ }\r\n/* 35: */ catch (ConnectorOperationException e) {}\r\n/* 36:59 */ return \"\";\r\n/* 37: */ }", "public void display()\n\t{\n\t\tSystem.out.println(data+\" \");\n\t}", "private void showImageDetail() {\n }", "public void setContents(MaterialData materialData) {\n/* 91 */ Material mat = materialData.getItemType();\n/* */ \n/* 93 */ if (mat == Material.RED_ROSE) {\n/* 94 */ setData((byte)1);\n/* 95 */ } else if (mat == Material.YELLOW_FLOWER) {\n/* 96 */ setData((byte)2);\n/* 97 */ } else if (mat == Material.RED_MUSHROOM) {\n/* 98 */ setData((byte)7);\n/* 99 */ } else if (mat == Material.BROWN_MUSHROOM) {\n/* 100 */ setData((byte)8);\n/* 101 */ } else if (mat == Material.CACTUS) {\n/* 102 */ setData((byte)9);\n/* 103 */ } else if (mat == Material.DEAD_BUSH) {\n/* 104 */ setData((byte)10);\n/* 105 */ } else if (mat == Material.SAPLING) {\n/* 106 */ TreeSpecies species = ((Tree)materialData).getSpecies();\n/* */ \n/* 108 */ if (species == TreeSpecies.GENERIC) {\n/* 109 */ setData((byte)3);\n/* 110 */ } else if (species == TreeSpecies.REDWOOD) {\n/* 111 */ setData((byte)4);\n/* 112 */ } else if (species == TreeSpecies.BIRCH) {\n/* 113 */ setData((byte)5);\n/* */ } else {\n/* 115 */ setData((byte)6);\n/* */ } \n/* 117 */ } else if (mat == Material.LONG_GRASS) {\n/* 118 */ GrassSpecies species = ((LongGrass)materialData).getSpecies();\n/* */ \n/* 120 */ if (species == GrassSpecies.FERN_LIKE) {\n/* 121 */ setData((byte)11);\n/* */ }\n/* */ } \n/* */ }", "@Override\n public void render() {\n DepictedItem item = getContent();\n checkedView.setChecked(item.isSelected());\n depictsLabel.setText(item.getName());\n description.setText(item.getDescription());\n final String imageUrl = item.getImageUrl();\n if (TextUtils.isEmpty(imageUrl)) {\n imageView.setImageURI(UriUtil.getUriForResourceId(R.drawable.ic_wikidata_logo_24dp));\n } else {\n imageView.setImageURI(Uri.parse(imageUrl));\n }\n }", "private void displayAll() {\n\t\tif(inventoryObject.totalNumCards() == 0) { // checks to see if there are 0 StockIndexCards\n\t\t\tSystem.out.println(\"The Inventory is empty\\n\");\n\t\t\tgetUserInfo();\n\t\t}\n\t\telse {\n\t\tSystem.out.println(inventoryObject.displayAll());\n\t\tgetUserInfo();\n\t\t}\n\t}", "public void fileHexCodeIO(){\n deviceName = MySharedPreferences.readString(mContext, MySharedPreferences.DEVICE_NAME, \"Samsung\");\n\n //open file for reading\n try {\n br = new BufferedReader(new InputStreamReader(mContext.getAssets().open(\"devices/\"+deviceName+ ButtonNames.MUTE)));\n } catch (IOException e) {\n e.printStackTrace();\n }\n try {\n MuteHexCode = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n try {\n br.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "private void diplay() {\n\t\tSystem.out.println(new StringBuilder(HUMIDITY_CONSTANT + humidity + TEMPRETURE_CONSTANT + temp\n\t\t\t\t+ PRESSURE_CONSTANT + pressure));\n\n\t}", "public String get_AssetID_text() {\r\n\t\treturn FetchText(DefineSetup_AssetID_txtBx);\r\n\t}", "@Override\r\n\t\t\tpublic void handleEvent(Event event) {\n\t\t\t\tString ttText = item.getText();\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t//recupero la view el\r\n\t\t\t\tBMQResourceView bmResource = (BMQResourceView) PlatformUI.getWorkbench().getActiveWorkbenchWindow()\r\n\t\t\t\t.getActivePage().findView(\"bi.bmm.views.bmq.bmqresource\");\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t//inserisco i dati nella view el\r\n\t\t\t\t\r\n\t\t\t\t//chiedo conferma \r\n\t\t\t\tif (MessageDialog.openConfirm(new Shell(), \"Extract BM\",\"Would you extract entities from this BM?\")){\r\n\t\t\t\t\tbmResource.addResource(bcList,cbcList,ttText);\r\n\t\t\t\t}\r\n\t\t\t\r\n\t\t\t}", "private void displayByID() { \n\t\tint sic_idHolder; // declares sic_idHolder\n\t\t\n\t\tSystem.out.println(\"Please enter the SIC-ID of the book you would like displayed:\");\n\t\tsic_idHolder = scan.nextInt();\n\t\tscan.nextLine();\n\t\tSystem.out.println(inventoryObject.displayBySICID(sic_idHolder));\n\t\tgetUserInfo();\n\t}", "public void showInventory()\n\t{\n\t\tSystem.out.print(\"________________________________________________________\"\n\t\t\t+ \"__________________\\n\\n\");\n\t\tSystem.out.print(\"\\t\\t\\t\\tInventory\");\n\t\t\n\t\tfor (String s: inventory)\n\t\t{\n\t\t\tSystem.out.print(\"\\n\" + s);\n\t\t}\n\t\t\n\t\tSystem.out.print(\"\\n\\n[R] Return\\n\");\n\t\tSystem.out.print(\"________________________________________________________\"\n\t\t\t+ \"__________________\\n\\n\");\n\t\tSystem.out.print(\"Action: \");\n\t\t\n\t}", "private void showrecordthroughmodel()\n {\n if(treatmentRequestModel != null)\n {\n tv_right_hand_dia.setText(\"\" + treatmentRequestModel.getSYSBeforeRight());\n tv_right_hand_sys.setText(\"\" + treatmentRequestModel.getDIABeforeRight());\n tv_right_hand_pulse.setText(\"\" + treatmentRequestModel.getPulseBeforeRight());\n\n tv_left_hand_dia.setText(\"\" + treatmentRequestModel.getDIABeforeLeft());\n tv_left_hand_sys.setText(\"\" + treatmentRequestModel.getSYSBeforeLeft());\n tv_left_hand_pulse.setText(\"\" + treatmentRequestModel.getPulseBeforeLeft());\n }\n\n }", "public void display(String name) {\r\n\t\tthis.getShield(name).display();\r\n\t}", "private void viewExtractedData() {\n txtViewer.setText(extractedData);\n }", "private void setData() {\n\t\t\n\t\tString str = readInternalStorage();\n\t\tString[] arr = str.split(\"--\");\n\t\tLog.v(\"CONSOLE\", arr.length+\" \"+arr);\n\t\t\n\t\tLog.v(\"CONSOLE\", \"path\"+arr[0]+\n\t\t\t\t\" name \"+arr[1]+\n\t\t\t\t\" date \"+arr[2]+\n\t\t\t\t\" desc \"+arr[3]); \n\t\t\n\t\tString desc =str;\n\t\t\n\t\ttxtName.setText(entity.getName());\n\t\ttxtDate.setText(entity.getDate());\n\t\ttxtDesc.setText(desc);\n\t}", "public void show(){\n sensorTextView.setText(String.format(Locale.US,\"Earth\\nx: %f\\n\" +\"y: %f\\nz: %f\", earthMag[0], earthMag[1], earthMag[2]));\n }", "public View getGraphic(AppFile anItem) { return anItem.getGraphic(); }", "public void displayPatientPicture(Resident res){\n }", "@EventHandler(ignoreCancelled = true)\n public void onPageThreeTerminalClick(InventoryClickEvent event) {\n Inventory inv = event.getInventory();\n String name = inv.getTitle();\n if (name.equals(\"§4Even More Presets\")) {\n event.setCancelled(true);\n int slot = event.getRawSlot();\n final Player player = (Player) event.getWhoClicked();\n if (slot >= 0 && slot < 54) {\n ItemStack is = inv.getItem(slot);\n if (is != null) {\n // get the TARDIS the player is in\n HashMap<String, Object> wheres = new HashMap<String, Object>();\n wheres.put(\"uuid\", player.getUniqueId().toString());\n ResultSetTravellers rst = new ResultSetTravellers(plugin, wheres, false);\n if (rst.resultSet()) {\n int id = rst.getTardis_id();\n HashMap<String, Object> where = new HashMap<String, Object>();\n where.put(\"tardis_id\", id);\n ResultSetTardis rs = new ResultSetTardis(plugin, where, \"\", false, 0);\n if (rs.resultSet()) {\n Tardis tardis = rs.getTardis();\n String last_line = TARDISStaticUtils.getLastLine(tardis.getChameleon());\n final boolean bool = tardis.isChamele_on();\n final boolean adapt = tardis.isAdapti_on();\n String preset = tardis.getPreset().toString();\n HashMap<String, Object> set = new HashMap<String, Object>();\n HashMap<String, Object> set_oo = new HashMap<String, Object>();\n QueryFactory qf = new QueryFactory(plugin);\n HashMap<String, Object> wherec = new HashMap<String, Object>();\n wherec.put(\"tardis_id\", id);\n switch (slot) {\n case 0:\n // toggle chameleon circuit\n String onoff;\n String engage;\n int oo;\n if (tardis.isChamele_on()) {\n onoff = ChatColor.RED + plugin.getLanguage().getString(\"SET_OFF\");\n engage = plugin.getLanguage().getString(\"SET_ON\");\n oo = 0;\n } else {\n onoff = ChatColor.GREEN + plugin.getLanguage().getString(\"SET_ON\");\n engage = plugin.getLanguage().getString(\"SET_OFF\");\n oo = 1;\n }\n ItemMeta im = is.getItemMeta();\n im.setLore(Arrays.asList(onoff, String.format(plugin.getLanguage().getString(\"CHAM_CLICK\"), engage)));\n is.setItemMeta(im);\n // set sign text\n TARDISStaticUtils.setSign(tardis.getChameleon(), 2, onoff, player);\n set_oo.put(\"chamele_on\", oo);\n break;\n case 2:\n player.performCommand(\"tardis rebuild\");\n close(player);\n if (plugin.getConfig().getBoolean(\"circuits.damage\") && !plugin.getDifficulty().equals(DIFFICULTY.EASY) && plugin.getConfig().getInt(\"circuits.uses.chameleon\") > 0) {\n TARDISCircuitChecker tcc = new TARDISCircuitChecker(plugin, id);\n tcc.getCircuits();\n // decrement uses\n int uses_left = tcc.getChameleonUses();\n new TARDISCircuitDamager(plugin, DISK_CIRCUIT.CHAMELEON, uses_left, id, player).damage();\n }\n break;\n case 4:\n // toggle biome adaption\n String biome;\n String to_turn;\n int ba;\n if (tardis.isAdapti_on()) {\n biome = ChatColor.RED + plugin.getLanguage().getString(\"SET_OFF\");\n to_turn = plugin.getLanguage().getString(\"SET_ON\");\n ba = 0;\n } else {\n biome = ChatColor.GREEN + plugin.getLanguage().getString(\"SET_ON\");\n to_turn = plugin.getLanguage().getString(\"SET_OFF\");\n ba = 1;\n }\n ItemMeta bio = is.getItemMeta();\n bio.setLore(Arrays.asList(biome, String.format(plugin.getLanguage().getString(\"CHAM_CLICK\"), to_turn)));\n is.setItemMeta(bio);\n set_oo.put(\"adapti_on\", ba);\n break;\n case 8:\n // page one\n close(player);\n plugin.getServer().getScheduler().scheduleSyncDelayedTask(plugin, new Runnable() {\n @Override\n public void run() {\n TARDISChameleonInventory tci = new TARDISChameleonInventory(plugin, bool, adapt);\n ItemStack[] items = tci.getTerminal();\n Inventory chaminv = plugin.getServer().createInventory(player, 54, \"§4Chameleon Circuit\");\n chaminv.setContents(items);\n player.openInventory(chaminv);\n }\n }, 2L);\n break;\n case 18:\n // Gazebo\n if (!last_line.equals(\"GAZEBO\")) {\n set.put(\"chameleon_preset\", \"GAZEBO\");\n TARDISStaticUtils.setSign(tardis.getChameleon(), 3, \"GAZEBO\", player);\n }\n TARDISMessage.send(player, \"CHAM_SET\", ChatColor.AQUA + \"Gazebo\");\n break;\n case 20:\n // Apperture Science\n if (!last_line.equals(\"APPERTURE\")) {\n set.put(\"chameleon_preset\", \"APPERTURE\");\n TARDISStaticUtils.setSign(tardis.getChameleon(), 3, \"APPERTURE\", player);\n }\n TARDISMessage.send(player, \"CHAM_SET\", ChatColor.AQUA + \"Apperture Science\");\n break;\n case 22:\n // Lighthouse\n if (!last_line.equals(\"LIGHTHOUSE\")) {\n set.put(\"chameleon_preset\", \"LIGHTHOUSE\");\n TARDISStaticUtils.setSign(tardis.getChameleon(), 3, \"LIGHTHOUSE\", player);\n }\n TARDISMessage.send(player, \"CHAM_SET\", ChatColor.AQUA + \"Tiny Lighthouse\");\n break;\n case 24:\n // Library\n if (!last_line.equals(\"LIBRARY\")) {\n set.put(\"chameleon_preset\", \"LIBRARY\");\n TARDISStaticUtils.setSign(tardis.getChameleon(), 3, \"LIBRARY\", player);\n }\n TARDISMessage.send(player, \"CHAM_SET\", ChatColor.AQUA + \"Library\");\n break;\n case 26:\n // Snowman\n if (!last_line.equals(\"SNOWMAN\")) {\n set.put(\"chameleon_preset\", \"SNOWMAN\");\n TARDISStaticUtils.setSign(tardis.getChameleon(), 3, \"SNOWMAN\", player);\n }\n TARDISMessage.send(player, \"CHAM_SET\", ChatColor.AQUA + \"Snowman\");\n break;\n case 28:\n // Jail Cell\n if (!last_line.equals(\"JAIL\")) {\n set.put(\"chameleon_preset\", \"JAIL\");\n TARDISStaticUtils.setSign(tardis.getChameleon(), 3, \"JAIL\", player);\n }\n TARDISMessage.send(player, \"CHAM_SET\", ChatColor.AQUA + \"Jail Cell\");\n break;\n case 30:\n // Pandorica\n if (!last_line.equals(\"PANDORICA\")) {\n set.put(\"chameleon_preset\", \"PANDORICA\");\n TARDISStaticUtils.setSign(tardis.getChameleon(), 3, \"PANDORICA\", player);\n }\n TARDISMessage.send(player, \"CHAM_SET\", ChatColor.AQUA + \"Pandorica\");\n break;\n case 32:\n // double helix\n if (!last_line.equals(\"HELIX\")) {\n set.put(\"chameleon_preset\", \"HELIX\");\n TARDISStaticUtils.setSign(tardis.getChameleon(), 3, \"HELIX\", player);\n }\n TARDISMessage.send(player, \"CHAM_SET\", ChatColor.AQUA + \"Double Helix\");\n break;\n case 34:\n // Prismarine\n if (!last_line.equals(\"PRISMARINE\")) {\n set.put(\"chameleon_preset\", \"PRISMARINE\");\n TARDISStaticUtils.setSign(tardis.getChameleon(), 3, \"PRISMARINE\", player);\n }\n TARDISMessage.send(player, \"CHAM_SET\", ChatColor.AQUA + \"Guardian Temple\");\n break;\n case 36:\n // Chorus\n if (!last_line.equals(\"CHORUS\")) {\n set.put(\"chameleon_preset\", \"CHORUS\");\n TARDISStaticUtils.setSign(tardis.getChameleon(), 3, \"CHORUS\", player);\n }\n TARDISMessage.send(player, \"CHAM_SET\", ChatColor.AQUA + \"Chorus Flower\");\n break;\n case 38:\n // Andesite\n if (!last_line.equals(\"ANDESITE\")) {\n set.put(\"chameleon_preset\", \"ANDESITE\");\n TARDISStaticUtils.setSign(tardis.getChameleon(), 3, \"ANDESITE\", player);\n }\n TARDISMessage.send(player, \"CHAM_SET\", ChatColor.AQUA + \"Andesite Box\");\n break;\n case 40:\n // Diorite\n if (!last_line.equals(\"DIORITE\")) {\n set.put(\"chameleon_preset\", \"DIORITE\");\n TARDISStaticUtils.setSign(tardis.getChameleon(), 3, \"DIORITE\", player);\n }\n TARDISMessage.send(player, \"CHAM_SET\", ChatColor.AQUA + \"Diorite Box\");\n break;\n case 42:\n // Granite\n if (!last_line.equals(\"GRANITE\")) {\n set.put(\"chameleon_preset\", \"GRANITE\");\n TARDISStaticUtils.setSign(tardis.getChameleon(), 3, \"GRANITE\", player);\n }\n TARDISMessage.send(player, \"CHAM_SET\", ChatColor.AQUA + \"Granite Box\");\n break;\n case 48:\n // Invisibility\n if (!last_line.equals(\"INVISIBLE\")) {\n // check they have an Invisibility Circuit\n TARDISCircuitChecker tcc = new TARDISCircuitChecker(plugin, id);\n tcc.getCircuits();\n if (!plugin.getDifficulty().equals(DIFFICULTY.EASY)) {\n if (!plugin.getUtils().inGracePeriod(player, false) && !tcc.hasInvisibility()) {\n close(player);\n TARDISMessage.send(player, \"INVISIBILITY_MISSING\");\n break;\n }\n }\n if (plugin.getConfig().getBoolean(\"circuits.damage\") && !plugin.getDifficulty().equals(DIFFICULTY.EASY) && plugin.getConfig().getInt(\"circuits.uses.invisibility\") > 0) {\n // decrement uses\n int uses_left = tcc.getInvisibilityUses();\n new TARDISCircuitDamager(plugin, DISK_CIRCUIT.INVISIBILITY, uses_left, id, player).damage();\n }\n set.put(\"chameleon_preset\", \"INVISIBLE\");\n TARDISStaticUtils.setSign(tardis.getChameleon(), 3, \"INVISIBLE\", player);\n }\n TARDISMessage.send(player, \"CHAM_SET\", ChatColor.AQUA + \"Invisibility\");\n break;\n case 50:\n // constructor GUI\n close(player);\n plugin.getServer().getScheduler().scheduleSyncDelayedTask(plugin, new Runnable() {\n @Override\n public void run() {\n TARDISChameleonConstructorGUI tci = new TARDISChameleonConstructorGUI(plugin);\n ItemStack[] items = tci.getConstruct();\n Inventory chamcon = plugin.getServer().createInventory(player, 54, \"§4Chameleon Construction\");\n chamcon.setContents(items);\n player.openInventory(chamcon);\n }\n }, 2L);\n break;\n default:\n close(player);\n }\n if (set.size() > 0) {\n set.put(\"chameleon_demat\", preset);\n qf.doUpdate(\"tardis\", set, wherec);\n }\n if (set_oo.size() > 0) {\n qf.doUpdate(\"tardis\", set_oo, wherec);\n }\n }\n }\n }\n }\n }\n }", "@Override\n public void onShow(String s) {\n Log.d(\"TAG\",\"TAG---RV onShow-------->\"+RVisReady()+\" (RVisReady())\");\n }", "public void loadShow(File f) {\n \n }", "@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tFileInputStream fi;\n\t\t\t\ttry {\n\t\t\t\t\tfi = new FileInputStream(JASONFILE);\n\t\t\t\t\tproducts_readed = readJsonStream(fi);\n\t\t\t\t\t\n\t\t\t\t\tString result = \"\";\n\t\t\t\t\tif(products_readed != null){\n\t\t\t\t\t\t\n\t\t\t\t\t\tfor(Product p:products_readed){\n\t\t\t\t\t\t\tresult += \"id: \"+ p.getId() + \" name:\"+ p.getName() +\" price:\" + p.getPrice() + \"\\n\";\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tToast.makeText(MainActivity.this, result, Toast.LENGTH_SHORT).show();\n\t\t\t\t} catch (FileNotFoundException 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}", "private void display(){\n out.println(\"\\n-STOCK EXCHANGE-\");\n out.println(\"Apple - Share Price: \" + game.apple.getSharePrice() + \" [\" + game.apple.top() + \"]\");\n out.println(\"BP - Share Price: \" + game.bp.getSharePrice() + \" [\" + game.bp.top() + \"]\");\n out.println(\"Cisco - Share Price: \" + game.cisco.getSharePrice() + \" [\" + game.cisco.top() + \"]\");\n out.println(\"Dell - Share Price: \" + game.dell.getSharePrice() + \" [\" + game.dell.top() + \"]\");\n out.println(\"Ericsson - Share Price: \" + game.ericsson.getSharePrice() + \" [\" + game.ericsson.top() + \"]\");\n\n out.println(\"\\n-PLAYERS-\");\n// System.out.println(playerList.toString());\n for (Player e : playerList) {\n if (e.equals(player)) {\n out.println(e.toString() + \" (you)\");\n } else {\n out.println(e.toString());\n }\n }\n }", "public void showIntensity()\r\n {\r\n\tshowIntensity(\"Intensity\");\r\n }", "private void systemGenerated(){\n\n //gets the averages\n mEDB.calcSysBudget();\n double [] averages = mEDB.getAverages();\n DecimalFormat df = new DecimalFormat(\"#.00\");\n\n //sets the averages\n vehicle.setText(df.format(averages[0]));\n pets.setText(df.format(averages[1]));\n home.setText(df.format(averages[2]));\n food.setText(df.format(averages[3]));\n entertainment.setText(df.format(averages[4]));\n other.setText(df.format(averages[5]));\n\n //locks the edit texts\n vehicle.setInputType(0);\n pets.setInputType(0);\n home.setInputType(0);\n food.setInputType(0);\n entertainment.setInputType(0);\n other.setInputType(0);\n }", "private void onUpdate(FrameTime frameTime) {\n Frame frame = arFragment.getArSceneView().getArFrame();\n Collection<AugmentedImage> images = frame.getUpdatedTrackables(AugmentedImage.class);\n //Iterate through the image database\n for (AugmentedImage image : images) {\n // Check if scanned image existed in the image database\n if (image.getTrackingMethod() == AugmentedImage.TrackingMethod.FULL_TRACKING) {\n //Set the scene\n RelativeLayout gallery = findViewById(R.id.gallery);\n ArFragment arFragment = (ArFragment) getSupportFragmentManager().findFragmentById(R.id.arFragment);\n String name = image.getName();\n //check which image was scanned\n switch (name) {\n case \"argon.png\":\n //Set string\n string = \"argon.sfb\";\n //Set the text that appears to the student\n text=getString(R.string.argon2);\n //call the 3D object\n callAR();\n break;\n case \"bromine.png\":\n string = \"bariumatom.sfb\";\n text=getString(R.string.bromine2);\n callAR();\n break;\n case \"calcium.png\":\n string = \"calcium.sfb\";\n text=getString(R.string.calcium2);\n callAR();\n break;\n case \"chlorine.png\":\n string = \"chlorineatom.sfb\";\n text=getString(R.string.chlorine2);\n callAR();\n break;\n case \"fluorine.png\":\n string = \"fluorineatom.sfb\";\n text=getString(R.string.fluorine2);\n callAR();\n break;\n case \"helium.png\":\n string = \"heliumatom.sfb\";\n text=getString(R.string.helium2);\n callAR();\n break;\n case \"hydrogen.png\":\n string = \"hydrogen.sfb\";\n text=getString(R.string.hydrogen2);\n callAR();\n break;\n case \"lithium.png\":\n string = \"Lithiumatom.sfb\";\n text=getString(R.string.lithium2);\n callAR();\n break;\n case \"magnesium.png\":\n string = \"magnesiumatomm.sfb\";\n text=getString(R.string.magnesium2);\n callAR();\n break;\n case \"neon.png\":\n string = \"neonn.sfb\";\n text=getString(R.string.neon2);\n callAR();\n break;\n case \"sodium.png\":\n string = \"sodium.sfb\";\n text=getString(R.string.sodium2);\n callAR();\n break;\n }\n\n\n }\n }\n }", "public void display() {\r\n String kind;\r\n if (profit == true) {\r\n kind = \"profit\";\r\n }\r\n\r\n else kind = \"non-profit\";\r\n System.out.println(name + \" is a \" + kind + \" organization that has\" + \" \" + revenue + \" dollars in revenue\" );\r\n }", "private void receiveData()\n {\n Intent i = getIntent();\n productSelected = Paper.book().read(Prevalent.currentProductKey);\n vendorID = i.getStringExtra(\"vendorID\");\n if (productSelected != null) {\n\n productName = i.getStringExtra(\"productName\");\n productImage = i.getStringExtra(\"imageUrl\");\n productLongDescription = i.getStringExtra(\"productLongDescription\");\n productCategory = i.getStringExtra(\"productCategory\");\n productPrice = i.getStringExtra(\"productPrice\");\n productSizesSmall = i.getStringExtra(\"productSizesSmall\");\n productSizesMedium = i.getStringExtra(\"productSizesMedium\");\n productSizesLarge = i.getStringExtra(\"productSizesLarge\");\n productSizesXL = i.getStringExtra(\"productSizesXL\");\n productSizesXXL = i.getStringExtra(\"productSizesXXL\");\n productSizesXXXL = i.getStringExtra(\"productSizesXXXL\");\n productQuantity = i.getStringExtra(\"productQuantity\");\n }\n }", "private void displaySelectedImage(Intent data) {\n if (data == null) {\n return;\n }\n\n // checkPicture = true; depreciated, try catch to catch if photo exists\n Uri selectedImage = data.getData();\n String[] filePathColumn = {MediaStore.Images.Media.DATA};\n Cursor cursor = getContentResolver().query(selectedImage,\n filePathColumn, null, null, null);\n cursor.moveToFirst();\n int columnIndex = cursor.getColumnIndex(filePathColumn[0]);\n currentPhotoPath = cursor.getString(columnIndex);\n cursor.close();\n Bitmap temp = fixOrientation(BitmapFactory.decodeFile(currentPhotoPath));\n bitmapForAnalysis = temp;\n imageView.setImageBitmap(temp);\n }", "private void showBitmap() {\n Bitmap bitmap = BitmapFactory.decodeByteArray(mImgData, 0, mImgData.length);\n mImgView.setImageBitmap(bitmap);\n }", "@Override\n public void onClick(View view) {\n selectedAsset = null;\n changeActivity(Activities.DAP_ASSET_EDITOR_ACTIVITY.getCode(), getAssetForEdit());\n }", "public void show() {\n\t\t// TODO Auto-generated method stub\n\n\t}", "public void run() {\n UIManager.put(\"swing.boldMetal\", Boolean.FALSE); \n String str = FileChooserDemo.selectFile();\n if (str == null){\n \t\n }else{\n \ttext_field.setText(str);\n }\n }", "private String addDisplay() {\n\t\t// One Parameter: DisplayName\n\t\tStringBuilder tag = new StringBuilder();\n\t\ttag.append(\"|image:\" + parameters[0]);\n\t\treturn tag.toString();\n\n\t}", "void putdata()\n {\n System.out.printf(\"\\nCD Title \\\"%s\\\", is of %d minutes length and of %d rupees.\",title,length,price);\n }", "@Override\n\t\tpublic void onClick(View arg0) {\n\t\t\tDataInfo info1 = (DataInfo) arg0.getTag();\n\t\t\tSystem.out.println(\"MyDownloadVideoActivity on item clicked\" + \"name = \" + info1.getName() + \"position = \" + info1.getPosition() + \"url = \" + info1.getUrl() );\t\n\t\t\t\n\t\t\tif(info1.getSecurity()!=null &&info1.getSecurity().equals(\"1\")){\n\t\t\t\tshowInputPsw(info1);\n\t\t\t}else{\n\t\t\t\texecute(info1);\n\t\t\t}\n\t\t}", "public void showDisplayName(byte[] byteArr);", "public void showSamples(){\n\t\tfor(int i=0; i<arrIns.size(); i++){\n\t\t\tfor(int j=0; j<arrIns.get(i).numAttributes(); j++){\n\t\t\t\tSystem.out.print(\" | \" + arrIns.get(i).value(j) + \" | \");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}", "@Override\n\tprotected void UpdateUI() {\n\t\tDisplayFuelData(AverageFuelRate, LatestFuelConsumed);\n\t\t\n\t\tif(bCursurIndex == false && ParentActivity.ScreenIndex == Home.SCREEN_STATE_MENU_MONITORING_FUELHISTORY_GENERALRECORD)\n\t\t\tCursurDisplay(CursurIndex);\n\t}", "public void prerender() {\n try{\n if (getSessionBean1().getCurrentAnalysisDSID() == null ) {\n //Select no rows\n getSessionBean1().getAnalysisdsfilelumiRowSet().setObject(1, \"-1\");\n analysisdsfilelumiDataProvider.cursorFirst();\n //analysisdsfilelumiDataProvider.refresh();\n }\n } catch (Exception e) {\n log(\"Cannot switch tso \" + e.getMessage());\n }\n \n analysisdsfilelumiDataProvider.refresh();\n \n }", "private void show(AvgData data,String ... args){\n String pos=args[2];\n String playername=args[3];\n String statename=args[4];\n data.getDataMap().replace(pos+\"-name\",playername);\n data.getDataMap().replace(pos+\"-state\",statename);\n }", "public void onClick(View v) {\n\t\t\t\tlist.clearTextFilter();\n\t\t\t\tsavedString = null;\n\t\t\t\tstorage = JSONstorage.getInstance();\n\t\t\t\tString JSONString = storage.readStringFile(mContext, \"cars_json\");\n\t\t\t\tdisplayCars(JSONString);\n\t\t\t}", "public void run() {\n barcodeInfo.setText( // Update the TextView\n barcodes.valueAt(0).displayValue\n );\n }", "public void displayCurrentValues() {\n currentX.setText(Float.toString(singleSample[0]));\n currentY.setText(Float.toString(singleSample[1]));\n currentZ.setText(Float.toString(singleSample[2]));\n }", "private void displayContents(String file)throws CoeusException, MalformedURLException{\r\n int selectedRow = subAwardBudget.tblSubAwardBudget.getSelectedRow();\r\n if(selectedRow == -1) {\r\n CoeusOptionPane.showInfoDialog(\"Select a Row\");\r\n return ;\r\n }\r\n BudgetSubAwardBean budgetSubAwardBean= (BudgetSubAwardBean)this.data.get(selectedRow);\r\n if(file.equals(BudgetSubAwardConstants.PDF) && budgetSubAwardBean.getPdfAcType() != null) {\r\n //PDF Updated. open file from local filesystem\r\n File fileObj = new File(budgetSubAwardBean.getPdfFileName());\r\n URL url = fileObj.toURL();\r\n URLOpener.openUrl(url);\r\n }else {\r\n displayContents(file, budgetSubAwardBean);\r\n }\r\n }", "private void getImage() {\n\n Intent intent = new Intent(\n Intent.ACTION_PICK,\n android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI);\n\n //intent.setType(\"text/xls\");\n intent.setAction(Intent.ACTION_GET_CONTENT);\n\n try {\n startActivityForResult(\n Intent.createChooser(intent, \"Complete action using\"),\n MY_INTENT_CLICK);\n }catch (Exception e) {\n e.getMessage();\n }\n }", "@Override\r\n\tpublic void display() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void display() {\n\t\t\r\n\t}", "public void showbitmap4() {\n \n \t}", "public void show() {\n\t\t System.out.println(\"这是A型产品\"); \r\n\t}", "private void viewAudio() {\r\n View.au(audioFileName, this.getSize().width + 5, 0);\r\n }", "public void setSummary() {\n\t\tString dataset = datasetInfo.getSelectedFile().getAbsolutePath();\n\t\tdatasetLabel.setText(\"<html><center><font size='4' color='#9e1503'>\" + dataset + \"</font></center></html>\");\n\t\t\n\t\tfloat putNumber = privacyInfo.getPUTNumber();\n\t\tString privacyExceptions = privacyInfo.getPrivacyExceptions().toString();\n\t\tif(privacyExceptions == null || privacyExceptions.trim().length() == 0 || privacyExceptions.equals(\"[]\"))\n\t\t\tprivacyExceptions = \"<b><i>None</i></b>\";\n\t\telse\n\t\t\tprivacyExceptions = \"{\" + privacyExceptions.substring(1, privacyExceptions.length()-1) + \"}\";\n\t\tString utilityExceptions = privacyInfo.getUtilityExceptions().toString();\n\t\tif(utilityExceptions == null || utilityExceptions.trim().length() == 0 || utilityExceptions.equals(\"[]\"))\n\t\t\tutilityExceptions = \"<b><i>None</i></b>\";\n\t\telse\n\t\t\tutilityExceptions = \"{\" + utilityExceptions.substring(1, utilityExceptions.length()-1) + \"}\";\n\t\t\n\t\tputLabel.setText(\"<html><center><font size='4' color='#9e1503'>\" + putNumber + \"</font></center></html>\");\n\t\tprivacyExceptionsLabel.setText(\"<html><center><font size='4' color='#9e1503'>\" + privacyExceptions + \"</font></center></html>\");\n\t\tutilityExceptionsLabel.setText(\"<html><center><font size='4' color='#9e1503'>\" + utilityExceptions + \"</font></center></html>\");\n\t\t\n\t\tfloat vExpense = expenseInfo.getVerticalExpense();\n\t\tfloat hExpense = expenseInfo.getHorizontalExpense();\n\t\t\n\t\tverticalExpenseLabel.setText(\"<html><center><font size='4' color='#9e1503'>\" + vExpense + \"</font></center></html>\");\n\t\thorizontalExpenseLabel.setText(\"<html><center><font size='4' color='#9e1503'>\" + hExpense + \"</font></center></html>\");\n\t\t\n\t\tString classifier = classifierInfo.getClassifier();\n\t\tString classifierOptions = classifierInfo.getCustomOptions();\n\t\tif(classifierOptions == null || classifierOptions.trim().length() == 0 || classifierOptions.equals(\"{}\"))\n\t\t\tclassifierOptions = \"<b><i>None</i></b>\";\n\t\t\n\t\tclassifierLabel.setText(\"<html><center><font size='4' color='#9e1503'>\" + classifier + \"</font></center></html>\");\n\t\tclassifierOptionsLabel.setText(\"<html><center><font size='4' color='#9e1503'>\" + classifierOptions + \"</font></center></html>\");\n\t}", "public abstract void showStat();", "private void actionStatisticalData() {\n String message = getStatisticalMsg(true);\n\n JOptionPane.showMessageDialog(null, message, \"Statistical data\",\n JOptionPane.PLAIN_MESSAGE);\n }" ]
[ "0.5745219", "0.56515026", "0.55781704", "0.5557102", "0.5485156", "0.54614544", "0.54564834", "0.5432517", "0.54208326", "0.541378", "0.5396714", "0.5378611", "0.53620225", "0.53050184", "0.52910495", "0.5206755", "0.5192719", "0.5170744", "0.51583743", "0.5145856", "0.51397616", "0.51247406", "0.5122554", "0.5115958", "0.5112665", "0.50996155", "0.50962347", "0.5075685", "0.5061611", "0.5061474", "0.50609004", "0.50539595", "0.50516355", "0.5047692", "0.50224704", "0.5020706", "0.5015025", "0.50117785", "0.5007374", "0.49822998", "0.49755386", "0.49689308", "0.49569058", "0.49512884", "0.4948887", "0.4946398", "0.49404198", "0.4929537", "0.49262622", "0.49233764", "0.49198917", "0.49184495", "0.49082738", "0.49078864", "0.4897231", "0.4895901", "0.4893729", "0.4891594", "0.48846012", "0.48822057", "0.48814213", "0.48782292", "0.48733407", "0.48710302", "0.48704067", "0.48666826", "0.48648912", "0.4860715", "0.4860284", "0.48564515", "0.48560432", "0.48555", "0.48554844", "0.485144", "0.48487467", "0.4847122", "0.48460126", "0.4845171", "0.48450473", "0.48433048", "0.48396218", "0.48245242", "0.48233166", "0.48197594", "0.48189318", "0.48181796", "0.48152518", "0.48107064", "0.48084787", "0.48071086", "0.48057184", "0.4802217", "0.48018882", "0.48018882", "0.47992492", "0.4790909", "0.4790502", "0.4787814", "0.47840774", "0.4783698" ]
0.59290683
0
/ F16 The system shall display a selected asset information
@Test public void f16DisplayAssetInfoTest() { clickOn("#thumbnailTab").sleep(1000); FlowPane root; FlowPane totalAttributes; boolean isValidAttributesAmount = true; int i = 0; //test the first 3 assets: while (i < 3) { root = (FlowPane) scene.getRoot().lookup("#assetsThumbPane"); clickOn(root.getChildren().get(i)); sleep(2000).clickOn("#informationTab"); moveBy(200, 500).scroll(150, VerticalDirection.UP); totalAttributes = (FlowPane) scene.getRoot().lookup("#attributeFlowPane"); //should have 26 total attributes if (totalAttributes.getChildren().size() != 26) { isValidAttributesAmount = false; break; } clickOn("#backBtn").sleep(1000); i++; } assertTrue("Assets have 26 attributes.", isValidAttributesAmount); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public String getDescription() {\n return \"Asset issuance\";\n }", "public void display_inventory() {\n\t\t// displays all identified crystals\n\t\tfor(int i = 0;i<maxInvSize;i++) {\n\t\t\tif(identifiedArray[i] != null) {\n\t\t\t\tcrystal_description(identifiedArray[i]);\n\t\t\t}\n\t\t}\n\t\t\n\t}", "@Override\n public String displayUponBeingSelected() {\n\n StringBuilder sb = new StringBuilder();\n sb.append(String.format(\"Information about '%s'\\n\", foodLabel));\n sb.append(String.format(\"Brand: %s\\n\", brand));\n sb.append(String.format(\"Category: %s\\n\", category));\n sb.append(String.format(\"Item type: %s\\n\", StringUtils.capitalize(categoryLabel)));\n sb.append(String.format(\"Measure(s): %s\\n\", StringUtils.join(measures, \", \")));\n sb.append(String.format(\"Food ID: %s\\n\", foodId));\n sb.append(String.format(\"Food URI: %s\\n\", foodUri));\n sb.append(String.format(\"Image link: %s\\n\", imageLink));\n sb.append(String.format(\"Yielding search term: %s\\n\", yieldingSearchTerm));\n sb.append(formatBasicNutrients());\n\n return sb.toString();\n\n }", "private void info(ActionEvent x) {\n\t\tProject p = this.list.getSelectedValue();\n\t\tif (p != null) {\n\t\t\tcontroller.moreinfo(p.getName());\n\t\t}\n\t}", "@Override\r\n\t\t\tpublic void onClick(View v) \r\n\t\t\t{\n\r\n\t\t\t\tAssetManager am = context.getAssets();\r\n\t\t\t\ttry {\r\n\t\t\t\t\tInputStream is = am.open(\"syb11.txt\"); \r\n\t\t\t\t\tBufferedReader in = new BufferedReader(new InputStreamReader(is));\r\n\t\t\t\t\tString inputLine;\r\n\t\t\t\t\twhile ((inputLine = in.readLine()) != null)\r\n\t\t\t\t\t\tSystem.out.println(inputLine);\r\n\t\t\t\t\tin.close();\r\n\t\t\t\t} catch (IOException e) {\r\n\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t}\r\n\t\t\t}", "public void inventoryPrint() {\n System.out.println(\"Artifact Name: \" + name);\r\n System.out.println(\"Desc:\" + description);\r\n System.out.println(\"Value: \" + value);\r\n System.out.println(\"Mobility: \" + mobility); \r\n }", "private void showProgramData(ItemEvent itemEvent) {\n\n if (itemEvent.getStateChange() == ItemEvent.SELECTED) {\n\n setCurrentChannel(itemEvent.getItem().toString());\n scheduledUpdate();\n\n }\n }", "public void showConsumableVendorScreen(){\n try{\n FXMLLoader loader = new FXMLLoader();\n loader.setLocation(Game.class.getResource(\"view/VendorSelectedScreen.fxml\"));\n mainScreenController.getSecondaryScreen().getChildren().clear();\n mainScreenController.getSecondaryScreen().getChildren().add((AnchorPane) loader.load());\n \n VendorSelectedScreenController controller = loader.getController();\n controller.setGame(this, gameData.getConsumableVendor());\n }catch(IOException e){\n }\n }", "@FXML\n private void btnShowInfoPressed() {\n Tournament t = tblTournaments.getSelectionModel().getSelectedItem();\n\n // Pass in some way the tournament name to the tournament info scene\n stateManager.TournamentName = t.tournamentName.get();\n\n Renderer.getInstance().show(\"tournamentInfoScene\");\n }", "private void updateInfoBarOnClick() {\n\t\tif (!selectedList.isEmpty()) {\n\t\t\tStringBuilder label = new StringBuilder(\"Se selecciono: \");\n\t\t\tfor (Render<? extends MovableDrawing> selectedDrawing : selectedList) {\n\t\t\t\tlabel.append(selectedDrawing.getFigure().toString()).append(\", \");\n\t\t\t}\n\t\t\tlabel.setLength(label.length() - 2);\n\t\t\tstatusPane.updateStatus(label.toString());\n\t\t} else {\n\t\t\tstatusPane.updateStatus(\"Ninguna figura encontrada\");\n\t\t}\n\t}", "public void AssetInfoManage(Administrator ad){\n\t\tScanner input=new Scanner(System.in);\n\t\tAsset a=new Asset();\n\t\tint id=0;\n\t\tString name=null;\n\t\tString model=null;\n\t\tString category=null;\n\t\tString subcategory=null;\n\t\tString buyTime=null;\n\t\tint state=-1;\n\t\tint worth=0;\n\t\tString user=null;\n\t\tString ps=null;\n\t\tAssetManage asset=new AssetManage();\n\t\tSystem.out.println(\"Please choose function:\");\n\t\tSystem.out.println(\"1.Add fixed assets category\");\n\t\tSystem.out.println(\"2.Delete fixed assets subcategory\");\n\t\tSystem.out.println(\"3.Delete fixed assets category\");\n\t\tSystem.out.println(\"4.Add fixed assets information\");\n\t\tSystem.out.println(\"5.Delete fixed assets information\");\n\t\tSystem.out.println(\"6.Modify fixed assets information\");\n\t\tSystem.out.println(\"7.Inquiry assets information by subcategory\");\n\t\tSystem.out.println(\"8.Inquiry assets information by category\");\n\t\tSystem.out.println(\"9.Inquiry assets information by assets'id\");\n\t\tSystem.out.println(\"10.Inquiry assets information by assets'user\");\n\t\tint choice=input.nextInt();\n\t\tswitch(choice){\n\t\tcase 1:\n\t\t\t//增加资产类\t\t\n\t\t\tSystem.out.println(\"Please enter the subcategory you want add.\");\n\t\t\tsubcategory=input.next();\n\t\t\tSystem.out.println(\"Please enter the category the subcategory belongs to.\");\n\t\t\tcategory=input.next();\n\t\t\tint num=asset.addCategory(subcategory,category);\n\t\t\tif(num==1){\n\t\t\t\tSystem.out.println(\"Add succeed.\");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"Add failed.\");\n\t\t\t}\n\t\t\tMenu(ad);\n\t\t\tbreak;\n\t\tcase 2:\n\t\t\t//删除资产小类\n\t\t\tSystem.out.println(\"Please enter the subcategory you want delete.\");\n\t\t\tcategory=input.next();\n\t\t\tint num1=asset.deleteSubCategory(category);\n\t\t\tif(num1!=0){\n\t\t\t\tSystem.out.println(\"Delete subcategory succeed.\");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"Delete subcategory failed.\");\n\t\t\t}\n\t\t\tMenu(ad);\n\t\t\tbreak;\n\t\tcase 3:\t\n\t\t\t//删除资产大类\n\t\t\tSystem.out.println(\"Please enter the category you want delete.\");\n\t\t\tcategory=input.next();\n\t\t\tint num2=asset.deleteCategory(category);\n\t\t\tif(num2!=0){\n\t\t\t\tSystem.out.println(\"Delete category succeed.\");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"Delete category failed.\");\n\t\t\t}\n\t\t\tMenu(ad);\n\t\t\tbreak;\n\t\tcase 4:\n\t\t\t//增加资产信息\n\t\t\tSystem.out.println(\"Please enter the asset's name.\");\n\t\t\tname=input.next();\n\t\t\ta.setName(name);\n\t\t\tSystem.out.println(\"Please enter the asset's subcategory.\");\n\t\t\tsubcategory=input.next();\n\t\t\ta.setCategory(subcategory);\n\t\t\tSystem.out.println(\"Please enter the asset's model.\");\n\t\t\tmodel=input.next();\n\t\t\ta.setModel(model);\n\t\t\tSystem.out.println(\"Please enter the asset's worth.\");\n\t\t\tworth=input.nextInt();\n\t\t\ta.setWorth(worth);\n\t\t\tSystem.out.println(\"Please enter the asset's buyTime.\");\n\t\t\tbuyTime=input.next();\n\t\t\ta.setBuyTime(buyTime);\n\t\t\tSystem.out.println(\"Please enter the asset's state.\");\n\t\t\tSystem.out.println(\"Asset state: 0.normal 1.repairing 2.unusable.\");\n\t\t\tstate=input.nextInt();\n\t\t\ta.setState(state);\n\t\t\tSystem.out.println(\"If you have sth to remark,please enter the asset's ps else enter ' ' .\");\n\t\t\tSystem.out.println(\"Please enter the asset's ps.\");\n\t\t\tps=input.next();\n\t\t\ta.setPs(ps);\n\t\t\tint num3=asset.add(a);\n\t\t\tif(num3!=0){\n\t\t\t\tSystem.out.println(\"Add asset succeed.\");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"Add asset failed.\");\n\t\t\t}\n\t\t\tMenu(ad);\n\t\t\tbreak;\n\t\tcase 5:\n\t\t\t//删除资产信息\n\t\t\tSystem.out.println(\"Please enter the asset's id which you want to delete.\");\n\t\t\tid=input.nextInt();\n\t\t\ta.setId(id);\n\t\t\tint num4=asset.delete(a);\n\t\t\tif(num4==1){\n\t\t\t\tSystem.out.println(\"Delete asset succeed.\");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"Delete asset failed.\");\n\t\t\t}\n\t\t\tMenu(ad);\n\t\t\tbreak;\n\t\tcase 6:\n\t\t\t//修改资产信息\n\t\t\tSystem.out.println(\"Please enter the asset's id which you want to modify.\");\n\t\t\tid=input.nextInt();\n\t\t\ta.setId(id);\n\t\t\tSystem.out.println(\"Please enter the asset's name.\");\n\t\t\tname=input.next();\n\t\t\ta.setName(name);\n\t\t\tSystem.out.println(\"Please enter the asset's subcategory.\");\n\t\t\tsubcategory=input.next();\n\t\t\ta.setCategory(subcategory);\n\t\t\tSystem.out.println(\"Please enter the asset's model.\");\n\t\t\tmodel=input.next();\n\t\t\ta.setModel(model);\n\t\t\tSystem.out.println(\"Please enter the asset's worth.\");\n\t\t\tworth=input.nextInt();\n\t\t\ta.setWorth(worth);\n\t\t\tSystem.out.println(\"Please enter the asset's buyTime.\");\n\t\t\tbuyTime=input.next();\n\t\t\ta.setBuyTime(buyTime);\n\t\t\tSystem.out.println(\"Please enter the asset's state.\");\n\t\t\tSystem.out.println(\"Asset state: 0.normal 1.repairing 2.unusable.\");\n\t\t\tstate=input.nextInt();\n\t\t\ta.setState(state);\n\t\t\tSystem.out.println(\"If you have sth to remark,please enter the asset's ps else enter ' ' .\");\n\t\t\tSystem.out.println(\"Please enter the asset's ps.\");\n\t\t\tps=input.next();\n\t\t\ta.setPs(ps);\t\t\n\t\t\tint num5=asset.update(a);\n\t\t\tif(num5==1){\n\t\t\t\tSystem.out.println(\"Modify asset succeed.\");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"Modify asset failed.\");\n\t\t\t}\n\t\t\tMenu(ad);\n\t\t\tbreak;\n\t\tcase 7:\n\t\t\t//通过小类查询资产\n\t\t\tSystem.out.println(\"Please enter the asset's subcategory which you want to inquiry.\");\n\t\t\tsubcategory=input.next();\n\t\t\tList<Asset> as=asset.queryBySubCtg(subcategory);\n\t\t\tfor(Asset a1:as){\n\t\t\t\ta1.show();\n\t\t\t}\n\t\t\tif(as.isEmpty()){\n\t\t\t\tSystem.out.println(\"No result!\");\n\t\t\t}\n\t\t\tMenu(ad);\n\t\t\tbreak;\n\t\tcase 8:\n\t\t\t//通过大类查询资产\n\t\t\tSystem.out.println(\"Please enter the asset's category which you want to inquiry.\");\n\t\t\tcategory=input.next();\n\t\t\tList<Asset> as1=asset.queryByCtg(category);\n\t\t\tfor(Asset a1:as1){\n\t\t\t\ta1.show();\n\t\t\t}\n\t\t\tif(as1.isEmpty()){\n\t\t\t\tSystem.out.println(\"No result!\");\n\t\t\t}\n\t\t\tMenu(ad);\n\t\t\tbreak;\n\t\tcase 9:\n\t\t\t//通过id查询资产\n\t\t\tSystem.out.println(\"Please enter the asset's id which you want to inquiry.\");\n\t\t\tid=input.nextInt();\n\t\t\tAsset a1=asset.queryById(id);\n\t\t\tif(a1!=null){\n\t\t\t\ta1.show();\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"No result!\");\n\t\t\t}\n\t\t\tMenu(ad);\n\t\t\tbreak;\n\t\tcase 10:\n\t\t\t//通过用户查询资产\n\t\t\tSystem.out.println(\"Please enter the asset's user which you want to inquiry.\");\n\t\t\tuser=input.next();\n\t\t\tList<Asset> as2=asset.queryByUser(user);\n\t\t\tfor(Asset a2:as2){\n\t\t\t\ta2.show();\n\t\t\t}\n\t\t\tif(as2.isEmpty()){\n\t\t\t\tSystem.out.println(\"No result!\");\n\t\t\t}\n\t\t\tMenu(ad);\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tSystem.out.println(\"Without this option!\");\n\t\t\tMenu(ad);\n\t\t\tbreak;\n\t\t}\n\t}", "@Override\n public String getDescription() {\n return \"Asset transfer\";\n }", "public String assetType() {\n return assetType;\n }", "public String assetName() {\n return assetName;\n }", "void getTvAttrib() {\n for (HDTV item : vendor) {\r\n System.out.println(\"Brand: \" + item.brandname + \" Size: \" + item.size);\r\n }\r\n\r\n }", "public void showArmorVendorScreen(){\n try{\n FXMLLoader loader = new FXMLLoader();\n loader.setLocation(Game.class.getResource(\"view/VendorSelectedScreen.fxml\"));\n mainScreenController.getSecondaryScreen().getChildren().clear();\n mainScreenController.getSecondaryScreen().getChildren().add((AnchorPane) loader.load());\n \n VendorSelectedScreenController controller = loader.getController();\n controller.setGame(this, gameData.getArmorVendor());\n }catch(IOException e){\n }\n }", "private void ShowCurrentFace() \n {\n if( m_DoneInit )\n {\n String file = \"/tsbtool_gui/facepackage/\"+String.format(\"%02x.BMP\",m_ImageNumber).toUpperCase();\n //new javax.swing.ImageIcon(getClass().getResource(\"/tsbtool_gui/facepackage/00.png\")\n Image face = GetImage(file);\n if( face != null )\n {\n mFaceBox.setIcon( new ImageIcon( face));\n m_FaceLabel.setText(String.format(\"%02x\",m_ImageNumber).toUpperCase());\n }\n else\n JOptionPane.showMessageDialog(this, \"Problem with \"+file);\n AutoUpdateRoster();\n }\n }", "@FXML public void showInfo(ActionEvent e){\n\t\tAlert alert = new Alert(AlertType.INFORMATION);\n\t\talert.setTitle(\"Picture Information\");\n\t\talert.setHeaderText(\"Current Photo Information\");\n\t\talert.setContentText(listOfPhotos.get(photoNumber).printAttributes());\n\n\t\talert.showAndWait();\n\t}", "void showUI(Player player) {\n\t\tString title = (this.range!=-1 ? \"BCL:\"+this.getOwnerName()+\"@\"+this.getLoc() : \"New \"+(this.isAdminChunkLoader()?\"Admin \":\"\")+\"BetterChunkLoader\");\n\t\tif (title.length()>32) {\n\t\t\ttitle=title.substring(0, 32);\n\t\t}\n\t\tInventory inventory = Bukkit.createInventory(this, 9, title);\n\n\t\taddInventoryOption(inventory, 0, Material.REDSTONE_TORCH_ON, \"Remove\");\n\t\t\n\t\tfor (byte i=0; i<5; i++) {\n\t\t\taddInventoryOption(inventory, i+2, Material.MAP, \"Size \"+this.sizeX(i)+(this.getRange()==i?\" [selected]\":\"\"));\n\t\t}\n\t\t\n\t\tplayer.openInventory(inventory);\n\t}", "public void display(String name) {\r\n\t\tthis.getShield(name).display();\r\n\t}", "public void showInfo(){\n\t\tfor (int i = 0; i < this.cd.size(); i++) {\n\t\t\tthis.cd.get(i).showInfo();\n\t\t}\n\t\tSystem.out.println(\"\\tToatl amount: \" + calTotalAmount());\n\t}", "public void display(){\r\n System.out.println(\"The Vacancy Number is : \" + getVacancyNumber());\r\n System.out.println(\"The Designation is : \" + getDesignation());\r\n System.out.println(\"The Job Type is : \" + getJobType());\r\n }", "@Override\n public void onClick(View view) {\n\n if (material_type.getSelectedItem().equals(\"--Select Material Type--\")) {\n Toast.makeText(Activity_Sell.this, \"Select Material Type to continue\", Toast.LENGTH_SHORT).show();\n } else {\n\n// LoadMaterialTypeSpinner();\n alertDialog.dismiss();\n getMaterial();\n /* getMaterialClasses();\n getMaterialDetails();\n getMaterialUnits();*/\n\n }\n }", "public void viewBestCompressionForSelected() throws IOException {\n\t\tfinal List<Project> selectedItems = selectionList.getSelectionModel().getSelectedItems();\n\t\tif (selectedItems.size() == 1) {\n\t\t\tfinal Project project = selectedItems.get(0);\n\t\t\tfinal FXMLSpringLoader loader = new FXMLSpringLoader(appContext);\n\t\t\tfinal Dialog<Project> dialog = loader.load(\"classpath:view/Home_ViewRuleSet.fxml\");\n\t\t\t((ViewRuleSetController) loader.getController()).setProject(project);\n\t\t\tdialog.initOwner(addProject.getScene().getWindow());\n\t\t\tdialog.showAndWait();\n\t\t}\n\t}", "public static String addAssetInfo(Context context){\n\n p.setAssets(p.getAssets()-1);\n if(fullGame)DBHandler.setAssets(p.getAssets());\n\n String info =\"\";\n Random r = new Random();\n int reference = r.nextInt(f.getNumComp());\n info+= context.getString(R.string.InfoUser)+\"9001: \"; //\"USER 9001: \";\n\n info+=context.getString(R.string.Info1, f.getName(reference));\n\n if(f.isScam(reference)) {\n info += context.getString(R.string.InfoIlligalPos);\n if (Infos.contains(info)) return addCertainInfo(context, reference, 9001);\n if (MainActivity.Infos.contains(context.getString(R.string.noInfo)))\n MainActivity.Infos.remove(context.getString(R.string.noInfo));\n MainActivity.Infos.add(info);\n return info;\n }\n\n double a = f.getAvg(reference)/f.getCap(reference) - 1.0;\n if(a>0) {\n info+=context.getString(R.string.InfoShareUp);\n } else {\n info+=context.getString(R.string.InfoShareDown);\n }\n if (MainActivity.Infos.contains(context.getString(R.string.noInfo))) MainActivity.Infos.remove(context.getString(R.string.noInfo));\n\n if(!MainActivity.Infos.contains(info)){\n MainActivity.Infos.add(info);\n return info;\n } else {\n return addAssetInfo(context); //If the info is already given, get new info instead (recursive call)\n }\n }", "private void actionComboboxChangedImage ()\r\n\t{\r\n\r\n\t\tint tableSize = DataController.getTable().getTableSize();\r\n\r\n\t\t//---- Check if the project is empty or not\r\n\t\tif (tableSize != 0)\r\n\t\t{\r\n\t\t\tif (isDisplaySamples) { helperDisplayDetectedSamples(); }\r\n\t\t\telse { helperDisplayInputImage(); }\r\n\r\n\t\t\thelperDisplaySamplesCombobox();\r\n\t\t\thelperDisplayResults();\r\n\t\t\thelperDisplayChart(true);\r\n\t\t}\r\n\t}", "public void display() {\r\n String kind;\r\n if (profit == true) {\r\n kind = \"profit\";\r\n }\r\n\r\n else kind = \"non-profit\";\r\n System.out.println(name + \" is a \" + kind + \" organization that has\" + \" \" + revenue + \" dollars in revenue\" );\r\n }", "public void info(){\r\n System.out.println(\"Title : \" + title);\r\n System.out.println(\"Author . \" + author);\r\n System.out.println(\"Location : \" + location);\r\n if (isAvailable){\r\n System.out.println(\"Available\");\r\n }\r\n else {\r\n System.out.println(\"Not available\");\r\n }\r\n\r\n }", "public void showInventory()\n\t{\n\t\tSystem.out.print(\"________________________________________________________\"\n\t\t\t+ \"__________________\\n\\n\");\n\t\tSystem.out.print(\"\\t\\t\\t\\tInventory\");\n\t\t\n\t\tfor (String s: inventory)\n\t\t{\n\t\t\tSystem.out.print(\"\\n\" + s);\n\t\t}\n\t\t\n\t\tSystem.out.print(\"\\n\\n[R] Return\\n\");\n\t\tSystem.out.print(\"________________________________________________________\"\n\t\t\t+ \"__________________\\n\\n\");\n\t\tSystem.out.print(\"Action: \");\n\t\t\n\t}", "private void viewBackpack() {\n Item[] inventory = GameControl.getSortedInventoryList();\r\n \r\n System.out.println(\"\\n List of inventory Items\");\r\n System.out.println(\"Description\" + \"\\t\" + \r\n \"Required\" + \"\\t\" +\r\n \"In Stock\");\r\n \r\n // For each inventory item\r\n for (Item inventoryItem : inventory){\r\n // Display the description, the required amount and amount in stock\r\n System.out.println(InventoryItem.getType + \"\\t \" +\r\n InventoryItem.requiredAmount + \"\\t \" +\r\n InventoryItem.getQuantity);\r\n }\r\n \r\n }", "public void showResources(byte devCard) {\r\n\t\tif (devCard == Constants.GETRESOURCES)\r\n\t\t\tisResourceCard = true;\r\n\t\tif (devCard == Constants.MONOPOLY)\r\n\t\t\tisMonopolyCard = true;\r\n\t\tresourcePanel.setVisible(true);\r\n\t}", "public void showInfo() {\n\t\tsuper.showInfo();\n\t\tSystem.out.println(\n\t\t\t\t\" Your Savings Account Features: \" +\n\t\t\t\t\"\\n debitCardNumber: \" + debitCardNumber + \n\t\t\t\t\"\\n debitCardPIN: \" + debitCardPIN);\n\t}", "@Test\n public void f14SelectAssetTest() {\n FlowPane assets;\n int i = 0;\n Random random = new Random();\n\n //select 4 random assets out of the first 12 visible assets in the window\n do {\n clickOn(\"#thumbnailTab\").moveBy(300, 500);\n scroll(10, VerticalDirection.UP).sleep(2000);\n\n assets = (FlowPane) scene.getRoot().lookup(\"#assetsThumbPane\");\n clickOn(assets.getChildren().get(random.nextInt(12)));\n sleep(1000).clickOn(\"#serialNumberOutput\").sleep(1000);\n clickOn(\"#backBtn\");\n\n } while (++i < 4);\n\n assertTrue(\"There are selectable assets on the main page.\", assets.getChildren().size() > 0);\n }", "public void showInfo()\n\t{\n\t\tSystem.out.println(\"Account Number : \"+getAccountNumber());\n\t\tSystem.out.println(\"Balance : \"+getBalance());\n\t\tSystem.out.println(\"Tenure Year : \"+tenureYear);\n\t}", "@OnShow\n\tpublic void onShow() {\n\t\tviewForm.setValue(\n\t\t\t\t// load product using the \"id\" parameter\n\t\t\t\tdatastore.query().target(TARGET).filter(ID.eq(id)).findOne(PRODUCT)\n\t\t\t\t\t\t// throw an exception if not found\n\t\t\t\t\t\t.orElseThrow(() -> new DataAccessException(\"Product not found: \" + id)));\n\t}", "@Override\n public void onClick(View view) {\n selectedAsset = null;\n changeActivity(Activities.DAP_ASSET_EDITOR_ACTIVITY.getCode(), getAssetForEdit());\n }", "public void displayActionItemScreen() throws SQLException, ClassNotFoundException {\n String item = console_actionItemList.getSelectionModel().getSelectedItem();\n all_teams();\n all_members();\n if(item != null && !item.isEmpty())\n getAction_Name().setDisable(true);\n actionItemClass obj = new actionItemClass();\n obj.displayActionItemScreen(this,item);\n }", "public void showDetails (Player player) {\r\n\t\tString \tc\t= Term.COLOR_INACTIVE.get();\r\n\t\t\r\n\t\t// Get the color\r\n\t\tif (getActivity() == Activity.SELL\t\t&& isActive())\r\n\t\t\tc\t= Term.COLOR_SELL.get();\r\n\t\t\r\n\t\telse if (getActivity() == Activity.BUY\t\t&& isActive())\r\n\t\t\tc\t= Term.COLOR_BUY.get();\r\n\t\t\r\n\t\telse if (getActivity() == Activity.EXCHANGE\t&& isActive())\r\n\t\t\tc\t= Term.COLOR_EXCHANGE.get();\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\tList<String>\tmessage\t= new ArrayList<String>();\r\n\t\t\t\t\t\tmessage.add(Term.INFO_1.get() + c + getActivity().toString() \t+ Term.INFO_2.get() + c +scs.formatCurrency(getPrice())\t\t+ Term.INFO_9.get() + c + getOwner());\r\n\t\t\r\n\t\tString \ttext\t= null;\r\n\t\tString\tname\t= getItemName();\r\n\t\t\r\n\t\tif (!isUnlimited()) {\r\n\t\t\tif (getActivity() == Activity.BUY)\r\n\t\t\t\ttext = getAmount()+ \"/\" + getMaxAmount();\r\n\t\t\telse\r\n\t\t\t\ttext = \"\" + getAmount();\r\n\t\t} else {\r\n\t\t\ttext = Term.INFO_UNLIMITED.get();\r\n\t\t}\r\n\t\t\r\n\t\tif (getItemStack().getType() == Material.WRITTEN_BOOK)\r\n\t\t\tname = getNBTStorage().getBookTitle();\r\n\t\t\r\n\t\tmessage.add(Term.INFO_4.get() + c + name\t\t\t\t+ Term.INFO_3.get() + c + text);\r\n//\t\t\t\t\t\tmessage.add(Term.INFO_4.get() + c + getItemName()\t\t\t\t+ Term.INFO_3.get() + c + (!isUnlimited() ? (getActivity() == Activity.BUY ? getMaxAmount() : getAmount()) : Term.INFO_UNLIMITED.get()));\r\n\t\t\r\n\t\tStringBuffer\tbuffer \t= new StringBuffer();\r\n\t\tString\t\t\tdelim\t= \"\";\r\n\t\r\n\t\tfor (Enchantment en : getEnchantments().keySet()) {\r\n\t\t\tint lvl\t= getEnchantments().get(en);\r\n\t\t\t\r\n\t\t\tbuffer.append(delim + en.getName() + \" lvl \" + lvl);\r\n\t\t\tdelim\t= \", \";\r\n\t\t}\r\n\t\t\r\n\t\tif (buffer.toString().length() > 0)\r\n\t\t\tmessage.add(Term.INFO_8.get() + c + buffer.toString());\r\n\t\t\r\n\t\tif (player.hasPermission(Properties.permAdmin))\r\n\t\t\tmessage.add(c + getSHA1());\r\n\t\t\r\n\t\tMessaging.mlSend(player, message);\r\n\t}", "private static void displayOwner() {\n // Clear the screen\n clearScreen();\n\n // Display UI\n System.out.println(\"Welcome, Owner.\\n\\n\"\n + \"Choose an option:\\n\"\n + \"- (O)ccupancy - View occupancy of rooms\\n\"\n + \"- (D)ata [(c)ounts|(d)ays|(r)evenue] - View data on \"\n + \"counts, days, or revenue of each room\\n\"\n + \"- (S)tays - Browse list of reservations\\n\"\n + \"- (R)ooms - View list of rooms\\n\"\n + \"- (B)ack - Goes back to main menu\\n\");\n }", "public String getDescription() {return \"Use an item in your inventory\"; }", "public void showWeaponVendorScreen(){\n try{\n FXMLLoader loader = new FXMLLoader();\n loader.setLocation(Game.class.getResource(\"view/VendorSelectedScreen.fxml\"));\n mainScreenController.getSecondaryScreen().getChildren().clear();\n mainScreenController.getSecondaryScreen().getChildren().add((AnchorPane) loader.load());\n \n VendorSelectedScreenController controller = loader.getController();\n controller.setGame(this, gameData.getWeaponVendor());\n }catch(IOException e){\n }\n }", "void showSelectedAgentView();", "public String get_AssetID_text() {\r\n\t\treturn FetchText(DefineSetup_AssetID_txtBx);\r\n\t}", "public abstract void displayInfo();", "private void edit() {\n mc.displayGuiScreen(new GuiEditAccount(selectedAccountIndex));\n }", "public boolean visible_SetupAssetIDField() {\r\n\t\treturn IsElementVisibleStatus(DefineSetup_AssetID_txtBx);\r\n\t}", "private void helperDisplayInputImage()\r\n\t{\r\n\t\ttry\r\n\t\t{\r\n\t\t\t//---- Get currently selected file index in the combo box\r\n\t\t\tint index = mainFormLink.getComponentPanelLeft().getComponentComboboxFileName().getSelectedIndex();\r\n\r\n\t\t\t//---- Check the index if the action is invoked by image deletion then causes error\r\n\t\t\tint imageCount = DataController.getTable().getTableSize();\r\n\r\n\t\t\tif (index >= 0 && index < imageCount)\r\n\t\t\t{\r\n\t\t\t\t//---- Get file path of the table\r\n\r\n\t\t\t\tString filePath = DataController.getTable().getElement(index).getDataFile().getFilePath();\r\n\r\n\t\t\t\tmainFormLink.getComponentPanelCenter().getComponentPanelImageView().displayPolygonStop();\r\n\t\t\t\tmainFormLink.getComponentPanelCenter().getComponentPanelImageView().loadImage(filePath);\r\n\t\t\t}\r\n\t\t}\r\n\t\tcatch (ExceptionMessage e)\r\n\t\t{\r\n\t\t\tExceptionHandler.processException(e);\r\n\t\t}\r\n\t}", "public void show() {\n\t\t// TODO Auto-generated method stub\n\n\t}", "private void displayByID() { \n\t\tint sic_idHolder; // declares sic_idHolder\n\t\t\n\t\tSystem.out.println(\"Please enter the SIC-ID of the book you would like displayed:\");\n\t\tsic_idHolder = scan.nextInt();\n\t\tscan.nextLine();\n\t\tSystem.out.println(inventoryObject.displayBySICID(sic_idHolder));\n\t\tgetUserInfo();\n\t}", "public void showSelectedItemScreen(Item item){\n try{\n FXMLLoader loader = new FXMLLoader();\n loader.setLocation(Game.class.getResource(\"view/SelectedItemScreen.fxml\"));\n AnchorPane janela = (AnchorPane) loader.load();\n \n Stage equippedItemsStage = new Stage();\n equippedItemsStage.setTitle(\"Item info\");\n equippedItemsStage.initModality(Modality.WINDOW_MODAL);\n equippedItemsStage.initOwner(primaryStage);\n Scene scene = new Scene(janela);\n equippedItemsStage.setScene(scene);\n \n SelectedItemScreenController controller = loader.getController();\n controller.setGame(this, item);\n \n equippedItemsStage.showAndWait();\n }catch(IOException e){\n }\n }", "private void showSelectedBatik(Batik batik){\n Toast.makeText(this, \"detail to : \" + batik.getName(), Toast.LENGTH_SHORT).show();\n\n // Cara 1\n Batik mBatik = new Batik();\n mBatik.setName(batik.getName());\n mBatik.setFrom(batik.getFrom());\n mBatik.setContent(batik.getContent());\n mBatik.setPhoto(batik.getPhoto());\n\n // Cara 2 dengan parcelable\n Intent intentDetailBatik = new Intent(MainActivity.this, DetailBatikActivity.class);\n intentDetailBatik.putExtra(DetailBatikActivity.EXTRA_DETAIL, mBatik);\n startActivity(intentDetailBatik);\n\n }", "public String showItemInfo()\n {\n return \"The room has 1 \" + currentItem.getDescription() \n + \" weighted \" + currentItem.getWeight() + \" pounds\"; \n }", "public void verifyAssetsAreDisplayedInTheCompletedList(String asset) {\n\t\tWebElement completeAsset =driver.findElement(By.xpath(\"//span[text()='Completed']/../../div/span[text()='\"+asset+\"']\"));\n\t\tmoveToElement(completeAsset);\n\t\tAssert.assertTrue(completeAsset.isDisplayed());\n \treportInfo();\n\n\t}", "public void ShowData() {\t\n\t\t\t\n\t\t\tShort SR0= cpu.getR0();\n\t\t\tString strR0 = String.format(\"%16s\",Integer.toBinaryString(SR0.intValue())).replace(' ', '0');\n\t\t\tif(strR0.length()>16){\n\t\t\t\tstrR0=strR0.substring(strR0.length()-16,strR0.length());\n\t\t\t}\n\t\t\tint a = 0;\n\t\t\twhile(a < strR0.length()) {\n\t\t\t\tchar[] chara = strR0.toCharArray();\n\t\t\t\tif (chara[a] == '1') {\n\t\t\t\t\tR0[a].setSelected(true);\n\t\t\t\t} else {\n\t\t\t\t\tR0[a].setSelected(false);\n\t\t\t\t}\n\t\t\t\ta++;\n\t\t\t}\n\n\t\t\tShort SR1 = cpu.getR1();\n\t\t\tString strR1 = String.format(\"%16s\",Integer.toBinaryString(SR1.intValue())).replace(' ', '0');\n\t\t\tif(strR1.length()>16){\n\t\t\t\tstrR1=strR1.substring(strR1.length()-16,strR1.length());\n\t\t\t}\n\t\t\tint b = 0;\n\t\t\twhile(b < strR1.length()) {\n\t\t\t\tchar[] charb = strR1.toCharArray();\n\t\t\t\tif (charb[b] == '1') {\n\t\t\t\t\tR1[b].setSelected(true);\n\t\t\t\t} else {\n\t\t\t\t\tR1[b].setSelected(false);\n\t\t\t\t}\n\t\t\t\tb++;\n\t\t\t}\n\t\t\t\n\t\t\tShort SR2 = cpu.getR2();\n\t\t\tString strR2 = String.format(\"%16s\",Integer.toBinaryString(SR2.intValue())).replace(' ', '0');\n\t\t\tif(strR2.length()>16){\n\t\t\t\tstrR2=strR2.substring(strR2.length()-16,strR2.length());\n\t\t\t}\n\t\t\tint c = 0;\n\t\t\twhile(c < strR2.length()) {\n\t\t\t\tchar[] charc = strR2.toCharArray();\n\t\t\t\tif (charc[c] == '1') {\n\t\t\t\t\tR2[c].setSelected(true);\n\t\t\t\t} else {\n\t\t\t\t\tR2[c].setSelected(false);\n\t\t\t\t}\n\t\t\t\tc++;\n\t\t\t}\n\t\t\t\n\t\t\tShort SR3 = cpu.getR3();\n\t\t\tString strR3 = String.format(\"%16s\",Integer.toBinaryString(SR3.intValue())).replace(' ', '0');\n\t\t\tif(strR3.length()>16){\n\t\t\t\tstrR3=strR3.substring(strR3.length()-16,strR3.length());\n\t\t\t}\n\t\t\tint d = 0;\n\t\t\twhile(d < strR3.length()) {\n\t\t\t\tchar[] chard = strR3.toCharArray();\n\t\t\t\tif (chard[d] == '1') {\n\t\t\t\t\tR3[d].setSelected(true);\n\t\t\t\t} else {\n\t\t\t\t\tR3[d].setSelected(false);\n\t\t\t\t}\n\t\t\t\td++;\n\t\t\t}\n\t\t\t\n\t\t\tShort SX1 = cpu.getX1();\n\t\t\tString strX1 = String.format(\"%16s\",Integer.toBinaryString(SX1.intValue())).replace(' ', '0');\n\t\t\tif(strX1.length()>16){\n\t\t\t\tstrX1=strX1.substring(strX1.length()-16,strX1.length());\n\t\t\t}\n\t\t\tint f = 0;\n\t\t\twhile(f < strX1.length()) {\n\t\t\t\tchar[] charf = strX1.toCharArray();\n\t\t\t\tif (charf[f] == '1') {\n\t\t\t\t\tX1[f].setSelected(true);\n\t\t\t\t} else {\n\t\t\t\t\tX1[f].setSelected(false);\n\t\t\t\t}\n\t\t\t\tf++;\n\t\t\t}\n\t\t\t\n\t\t\tShort SX2 = cpu.getX2();\n\t\t\tString strX2 = String.format(\"%16s\",Integer.toBinaryString(SX2.intValue())).replace(' ', '0');\n\t\t\tif(strX2.length()>16){\n\t\t\t\tstrX2=strX2.substring(strX2.length()-16,strX2.length());\n\t\t\t}\n\t\t\tint g = 0;\n\t\t\twhile(g < strX2.length()) {\n\t\t\t\tchar[] charg = strX2.toCharArray();\n\t\t\t\tif (charg[g] == '1') {\n\t\t\t\t\tX2[g].setSelected(true);\n\t\t\t\t} else {\n\t\t\t\t\tX2[g].setSelected(false);\n\t\t\t\t}\n\t\t\t\tg++;\n\t\t\t}\n\t\t\t\n\t\t\tShort SX3 = cpu.getX3();\n\t\t\tString strX3 = String.format(\"%16s\",Integer.toBinaryString(SX3.intValue())).replace(' ', '0');\n\t\t\tif(strX3.length()>16){\n\t\t\t\tstrX3=strX3.substring(strX3.length()-16,strX3.length());\n\t\t\t}\n\t\t\tint h = 0;\n\t\t\twhile(h < strX3.length()) {\n\t\t\t\tchar[] charh = strX3.toCharArray();\n\t\t\t\tif (charh[h] == '1') {\n\t\t\t\t\tX3[h].setSelected(true);\n\t\t\t\t} else {\n\t\t\t\t\tX3[h].setSelected(false);\n\t\t\t\t}\n\t\t\t\th++;\n\t\t\t}\n\t\t\t\n\t\t\tShort SMAR = cpu.getMar();\n\t\t\tString strMAR = String.format(\"%16s\",Integer.toBinaryString(SMAR.intValue())).replace(' ', '0');\n\t\t\tif(strX3.length()>16){\n\t\t\t\tstrMAR=strMAR.substring(strMAR.length()-16,strMAR.length());\n\t\t\t}\n\t\t\tint j = 0;\n\t\t\twhile(j < strMAR.length()) {\n\t\t\t\tchar[] charj = strMAR.toCharArray();\n\t\t\t\tif (charj[j] == '1') {\n\t\t\t\t\tMAR[j].setSelected(true);\n\t\t\t\t} else {\n\t\t\t\t\tMAR[j].setSelected(false);\n\t\t\t\t}\n\t\t\t\tj++;\n\t\t\t}\n\t\t\t\n\t\t\tShort SMBR = cpu.getMbr();\n\t\t\tString strMBR = String.format(\"%16s\",Integer.toBinaryString(SMBR.intValue())).replace(' ', '0');\n\t\t\tif(strMBR.length()>16){\n\t\t\t\tstrMBR=strMBR.substring(strMBR.length()-16,strMBR.length());\n\t\t\t}\n\t\t\tint k = 0;\n\t\t\twhile(k < strMBR.length()) {\n\t\t\t\tchar[] chark = strMBR.toCharArray();\n\t\t\t\tif (chark[k] == '1') {\n\t\t\t\t\tMBR[k].setSelected(true);\n\t\t\t\t} else {\n\t\t\t\t\tMBR[k].setSelected(false);\n\t\t\t\t}\n\t\t\t\tk++;\n\t\t\t}\n\t\t\t\n\t\t\tShort SIR = cpu.getIr();\n\t\t\tString strIR = String.format(\"%16s\",Integer.toBinaryString(SIR.intValue())).replace(' ', '0');\n\t\t\tif(strIR.length()>12){\n\t\t\t\tstrIR=strIR.substring(strIR.length()-16,strIR.length());\n\t\t\t}\n\t\t\tint l = 0;\n\t\t\twhile(l < strIR.length()) {\n\t\t\t\tchar[] charl = strIR.toCharArray();\n\t\t\t\tif (charl[l] == '1') {\n\t\t\t\t\tIR[l].setSelected(true);\n\t\t\t\t} else {\n\t\t\t\t\tIR[l].setSelected(false);\n\t\t\t\t}\n\t\t\t\tl++;\n\t\t\t}\t\t\t\n\t\t\t\n\t\t\tShort SPC = cpu.getPc();\n\t\t\tString strPC = String.format(\"%12s\",Integer.toBinaryString(SPC.intValue())).replace(' ', '0');\n\t\t\tif(strPC.length()>12){\n\t\t\t\tstrPC=strPC.substring(strPC.length()-16,strPC.length());\n\t\t\t}\n\t\t\tint m = 0;\n\t\t\twhile(m < strPC.length()) {\n\t\t\t\tchar[] charm = strPC.toCharArray();\n\t\t\t\tif (charm[m] == '1') {\n\t\t\t\t\tPC[m].setSelected(true);\n\t\t\t\t} else {\n\t\t\t\t\tPC[m].setSelected(false);\n\t\t\t\t}\n\t\t\t\tm++;\n\t\t\t}\t\t\t\n\t\t\t\n\t}", "public void checkAssetSelected() throws ParameterValuesException {\n\t\tif (gridTaiSan.getItemCount() == 0) {\n\t\t\tthrow new ParameterValuesException(\"Bạn cần tìm kiếm tài sản muốn lập thẻ\", null);\n\t\t}\n\t\tif (gridTaiSan.getSelection()[0] == null) {\n\t\t\tthrow new ParameterValuesException(\"Bạn cần chọn tài sản muốn lập thẻ\", null);\n\t\t}\n\t}", "private void use() {\n switch (choices.get(selection)) {\n case INFO : { \n AbstractInMenu newMenu = new ItemInfo(sourceMenu, item);\n this.sourceMenu.setMenu(newMenu);\n newMenu.setVisible(true);\n } break;\n case USE : {\n entity.use(item); \n sourceMenu.activate();\n sourceMenu.setState(true);\n } break;\n case EQUIP : {\n entity.equip(item);\n sourceMenu.activate();\n sourceMenu.setState(true);\n } break;\n case ACTIVE : {\n entity.setActiveItem(item);\n sourceMenu.activate();\n sourceMenu.setState(true);\n } break;\n case UNEQUIP : {\n entity.equip(item);\n sourceMenu.activate();\n sourceMenu.setState(true);\n } break;\n case UNACTIVE : {\n entity.setActiveItem(null);\n sourceMenu.activate();\n sourceMenu.setState(true);\n } break;\n case DROP : {\n entity.drop(item);\n sourceMenu.activate();\n sourceMenu.setState(true);\n } break; \n case PLACE : {\n entity.placeItem(item);\n entity.removeItem(item); \n sourceMenu.activate();\n sourceMenu.setState(true); \n } break;\n case CLOSE : { \n sourceMenu.activate();\n } break;\n case DESTROY : {\n entity.removeItem(item);\n sourceMenu.activate();\n sourceMenu.setState(true); \n } break;\n }\n }", "private void displayMenu() {\r\n System.out.println(\"\\nSelect an option from below:\");\r\n System.out.println(\"\\t1. View current listings\");\r\n System.out.println(\"\\t2. List your vehicle\");\r\n System.out.println(\"\\t3. Remove your listing\");\r\n System.out.println(\"\\t4. Check if you won bid\");\r\n System.out.println(\"\\t5. Save listings file\");\r\n System.out.println(\"\\t6. Exit application\");\r\n\r\n }", "public void AssetUseManage(Administrator ad){\n\t\tStaffManage staff=new StaffManage();\n\t\tStaff s=new Staff();\n\t\tAsset a=new Asset();\n\t\tString name=null;\n\t\tint id=0;\n\t\tAdministrator admin=new Administrator();\n\t\tScanner input=new Scanner(System.in);\n\t\tSystem.out.println(\"Please choose function:\");\n\t\tSystem.out.println(\"1.Lend a fixed asset\");\n\t\tSystem.out.println(\"2.Return a fixed asset\");\n\t\tint choice=input.nextInt();\n\t\tswitch(choice){\n\t\tcase 1:\n\t\t\t//资产领用\t\t\n\t\t\tSystem.out.println(\"Who wants to lend assets?Please enter his name.\");\n\t\t\tname=input.next();\n\t\t\ts.setName(name);\n\t\t\tSystem.out.println(\"Please enter asset's id.\");\n\t\t\tid=input.nextInt();\n\t\t\ta.setId(id);\n\t\t\tAssetManage am=new AssetManage();\n\t\t\ta=am.queryById(id);\n\t\t\tif(a!=null){\n\t\t\t\tint num=staff.lend(s,a,ad);\n\t\t\t\tif(num!=0){\n\t\t\t\t\tSystem.out.println(\"Lend assets succeed.\");\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println(\"Lend assets failed.\");\n\t\t\t\t}\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"Lend assets failed.\");\n\t\t\t}\n\t\t\tMenu(ad);\n\t\t\tbreak;\n\t\tcase 2:\n\t\t\t//归还资产\n\t\t\tSystem.out.println(\"Please enter asset's id which will be returned.\");\n\t\t\tid=input.nextInt();\n\t\t\ta.setId(id);\n\t\t\tAssetManage am1=new AssetManage();\n\t\t\ta=am1.queryById(id);\n\t\t\tint num1=staff.returnAsset(a);\n\t\t\tif(num1!=0){\n\t\t\t\tSystem.out.println(\"Return assets succeed.\");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"Return assets failed.\");\n\t\t\t}\n\t\t\tMenu(ad);\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tSystem.out.println(\"Without this option!\");\n\t\t\tMenu(ad);\n\t\t\tbreak;\n\t\t}\n\t}", "void display()\r\n\t{\r\n\t\tSystem.out.println(\"bikeid=\"+bikeid+\" bike name==\"+bikename);\r\n\t}", "public void showSelectedRecipe() {\n selected = recipeList.getSelectedValue().toString();\n recipeName.setText(selected);\n recipeInfo.setText(model.getRecipeInformation(selected));\n }", "@Override\n\tpublic void showDetails(Manufacturer entity) {\n\n\t}", "@Override\n\t\t\tpublic void onItemSelected(AdapterView<?> arg0, View arg1,\n\t\t\t\t\tint arg2, long arg3) {\n\t\t\t\tif (arg2 == 0) {\n\t\t\t\t\tarticle_model.setVisibility(View.VISIBLE);\n\t\t\t\t\tmodels = \"\";\n\t\t\t\t} else {\n\t\t\t\t\tindex4=arg2;\n\t\t\t\t\tarticle_model.setVisibility(View.GONE);\n\t\t\t\t\tarticle_model.setText(\"\");\n\t\t\t\t\tmodels = spn5.get(arg2).getType_name();\n\t\t\t\t}\n\t\t\t}", "public boolean AssetIDEnable() {\r\n\t\t// return IsElementEnabledStatus(DefineSetup_AssetID_txtBx);\r\n\t\t// DefineSetup_AssetID_txtBx.isDisplayed();\r\n\t\t// return DefineSetup_AssetID_txtBx.isDisplayed();\r\n\t\treturn IsElementEnabledStatus(DefineSetup_AssetID_txtBx);\r\n\t}", "private void displayCarData() {\n\t\tmHeaderText.setText(mCar.getBrand() + \" \" + mCar.getModel());\n\t\tmBrandText.setText(mCar.getBrand());\n\t\tmModelText.setText(mCar.getModel());\n\t\tmColorText.setText(mCar.getColor());\n\t\tmSeatsText.setText(String.valueOf(mCar.getNSeats()));\n\t\tmPlateText.setText(mCar.getPlate());\n\t\tmFuelText.setText(mCar.getCarFuel().name());\n\t\tmConsumptionText.setText(String.valueOf(mCar.getConsumptionPerKm()));\n\t}", "private static void showMatchedDeckInfo() {\n }", "protected void showShare() {\n \t\tApplicationData applicationData;\n \t\ttry {\n \t\t\tapplicationData = ApplicationData.readApplicationData(this);\n \t\t\tif(applicationData != null){\n \t\t\t\tIntent intent = getIntent();\n \t\t\t\tNextLevel nextLevel = (NextLevel)intent.getSerializableExtra(ApplicationData.NEXT_LEVEL_TAG);\n \t\t\t\tAppLevelDataItem item = applicationData.getDataItem(this, nextLevel);\t\t\t\t\n \t\t\t\tAppDataItemText textItem;\n \t\t\t\ttry {\n \t\t\t\t\ttextItem = (AppDataItemText)item;\n \t\t\t\t\t\n \t\t\t\t\tIntent sharingIntent = new Intent(Intent.ACTION_SEND);\n \t\t\t\t\tsharingIntent.setType(\"text/plain\");\n \t\t\t\t\t//sharingIntent.putExtra(android.content.Intent.EXTRA_EMAIL, new String[] { \"[email protected]\" });\n \t\t\t\t\tsharingIntent.putExtra(android.content.Intent.EXTRA_TEXT, textItem.getItemText());\n \t\t\t\t\tstartActivity(Intent.createChooser(sharingIntent,\"Compartir contenido\"));\n \n \t\t\t\t}catch (ClassCastException e) {\n \t\t\t\t}\n \t\t\t}\n \t\t} catch (InvalidFileException e) {\n \t\t}\n \t}", "@Override\n\tprotected void UpdateUI() {\n\t\tDisplayFuelData(AverageFuelRate, LatestFuelConsumed);\n\t\t\n\t\tif(bCursurIndex == false && ParentActivity.ScreenIndex == Home.SCREEN_STATE_MENU_MONITORING_FUELHISTORY_GENERALRECORD)\n\t\t\tCursurDisplay(CursurIndex);\n\t}", "@Override\n public void onClick(DialogInterface dialog, int which) {\n input_prac_type.setText(renewal[which]);\n Currentitem = mParam1.get(which);\n input_prac_price.setText(\"RM\"+String.valueOf(mParam1.get(which).price));\n Log.e(\"equipment select\",Currentitem.name);\n }", "private void loadInv() {\n\t\titem = Main.inventory.business.getAllBaked();\n\t\tString test = \"ID, Name, Amount, Price\\n\";\n\t\t//formatting for string to load into the screen\n\t\tfor(int i=0 ; i< item.size() ; i++) {\n\t\t\ttest += (i+1) + \" \" + item.get(i).getName() +\", \" \n\t\t\t\t\t+ item.get(i).getQuantity() + \n\t\t\t\t\t\", $\"+ Main.inventory.business.getItemCost(item.get(i).getName()) +\"\\n\";\n\t\t}\n\t\tthis.inv.setText(test);\n\t}", "private void updateResourceText() {\n String resourceTextString=\"Available resources: \\n\";\n boolean none=true;\n for (Resource resource :resources.values()) {\n if (resource.getStock()>0) {\n resourceTextString+=resource.getName()+\": \"+resource.getStock()+\"\\n\";\n none=false;\n }\n }\n if (none) {resourceTextString=\"\";}\n resourceText.setText(resourceTextString);\n }", "public void actionPerformed(ActionEvent e) {\n RenderManager rm = ClientContextJME.getWorldManager().getRenderManager();\n if (rm.supportsOpenGL20() == false ||\n rm.getContextCaps().GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB < 1000) {\n String msg = \"Unfortunately your system graphics does not\" +\n \" support the shaders which are required to configure\" +\n \" the avatar system.\";\n String title = \"Advanced Shaders Required\";\n JFrame frame = JmeClientMain.getFrame().getFrame();\n JOptionPane.showMessageDialog(frame, msg, title, JOptionPane.ERROR_MESSAGE);\n return;\n }\n AvatarConfigFrame f = new AvatarConfigFrame();\n f.setVisible(true);\n }", "@Override\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t\tString typeString2;// 物品类别\n\t\t\t\tString typenameString2;\n\t\t\t\tif (type1.equals(\"\")) {\n\t\t\t\t\tToastManager.getInstance(context)\n\t\t\t\t\t\t\t.showToastcenter(\"请选择物品类别!\");\n\t\t\t\t\treturn;\n\t\t\t\t} else if (type3.equals(\"\")) {\n\t\t\t\t\tToastManager.getInstance(context)\n\t\t\t\t\t\t\t.showToastcenter(\"请选择物品品牌!\");\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tif (type2.equals(\"\")) {// 物品品牌\n\t\t\t\t\ttypeString2 = type1;\n\t\t\t\t\ttypenameString2 = type_name1;\n\t\t\t\t} else {\n\t\t\t\t\ttypeString2 = type2;\n\t\t\t\t\ttypenameString2 = type_name2;\n\t\t\t\t}\n\t\t\t\tString modelmString = \"\";// 物品型号\n\t\t\t\tString model = article_model.getText().toString();\n\t\t\t\tif(null==models||null==model){\n\t\t\t\t\tToastManager.getInstance(context)\n\t\t\t\t\t.showToastcenter(\"数据出现异常,请重新选择物品名称\");\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tif (models.equals(\"\") && model.equals(\"\")) {\n\t\t\t\t\tToastManager.getInstance(context)\n\t\t\t\t\t\t\t.showToastcenter(\"请填写物品型号!\");\n\t\t\t\t\treturn;\n\t\t\t\t} else if (!models.equals(\"\")) {\n\t\t\t\t\tmodelmString = models;\n\t\t\t\t} else if (!model.equals(\"\")) {\n\t\t\t\t\tmodelmString = model;\n\t\t\t\t}\n\t\t\t\tString need_num = article_need_num.getText().toString();\n\t\t\t\tString prod_unit = article_prod_unit.getText().toString();\n\t\t\t\tString unit_price = article_unit_price.getText().toString();\n\t\t\t\tif (need_num.equals(\"\")) {\n\t\t\t\t\tToastManager.getInstance(context)\n\t\t\t\t\t\t\t.showToastcenter(\"物品数量不能为空!\");\n\t\t\t\t\treturn;\n\t\t\t\t} else if (prod_unit.equals(\"\")) {\n\t\t\t\t\tToastManager.getInstance(context)\n\t\t\t\t\t\t\t.showToastcenter(\"物品单位不能为空!\");\n\t\t\t\t\treturn;\n\t\t\t\t} else if (unit_price.equals(\"\")) {\n\t\t\t\t\tToastManager.getInstance(context)\n\t\t\t\t\t\t\t.showToastcenter(\"物品单价不能为空!\");\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tString url = article_url.getText().toString();\n\t\t\t\tString remark = article_remark.getText().toString();\n\n\t\t\t\tRequisition_Swipe_Entity mlist = new Requisition_Swipe_Entity(\n\t\t\t\t\t\ttype0, type_name, typeString2, typenameString2, type3,\n\t\t\t\t\t\ttype_name3, modelmString, need_num, prod_unit,\n\t\t\t\t\t\tunit_price, url, remark, index1, index2, index22, index3, index4);\n\t\t\t\t\n\t\t\t\tIntent intent = new Intent();\n\t\t\t\tBundle bl = new Bundle();\n\t\t\t\tbl.putSerializable(\"mlist\", (Serializable) mlist);\n\t\t\t\tintent.putExtras(bl);\n\t\t\t\tif(tag){\n\t\t\t\t\tintent.putExtra(\"position\",getIntent().getExtras().getInt(\"position\"));\n\t\t\t\t}\n\t\t\t\tAddNewArticleActivity.this.setResult(1, intent);\n\t\t\t\tAddNewArticleActivity.this.finish();\n\t\t\t}", "private void showInfo() {\n JOptionPane.showMessageDialog(\n this,\n \"Пока что никакой\\nинформации тут нет.\\nДа и вряд ли будет.\",\n \"^^(,oO,)^^\",\n JOptionPane.INFORMATION_MESSAGE);\n }", "public void info() {\r\n System.out.println(\" Name: \" + name + \" Facility: \" + facility + \" Floor: \" + floor + \" Covid: \"\r\n + positive + \" Age: \" + age + \" ID: \" + id);\r\n }", "public void displaySelections() {\n List<VendingItem> listOfItems = service.getAllItemsNonZero(); //<-- uses lambda\n view.displaySelections(listOfItems);\n }", "public void displaySaveGameView()\n {\n System.out.println(\"\\nSave Game View selected.\");\n }", "private void displayTenantUnit(){\n Landlord landlord = dm.getLandlord();\n if (unit.getPhoto() != null) {\n GlideApp.with(this /* context */)\n .load(unit.getPhoto())\n .placeholder(R.drawable.unit_placeholder).transition(withCrossFade())\n .into(imgUnitPhoto);\n }\n colToolbar.setTitle(unit.getName());\n lblName.setText(unit.getName());\n lblAddress.setText(unit.getAddress().toString());\n lblType.setText(unit.getTypeString());\n String beds = Integer.toString(unit.getBeds());\n lblBeds.setText(beds);\n String baths = Double.toString(unit.getBaths());\n lblBaths.setText(baths);\n String sqft = Integer.toString(unit.getSquareFeet());\n lblSqFt.setText(sqft);\n String rent = Double.toString(unit.getRent());\n lblCost.setText(rent);\n String rentDay = Integer.toString(unit.getRentDueDay());\n lblRentDue.setText(rentDay);\n String year = Integer.toString(unit.getYearBuilt());\n lblYearBuilt.setText(year);\n String name = landlord.getFirstName() + \" \" + landlord.getLastName();\n lblUnitLandlord.setText(name);\n }", "private static final void displayAttractionSummary()\r\n {\r\n System.out.println(\"Display Attraction Summary Feature Selected!\");\r\n System.out.println(\"--------------------------------------\");\r\n \r\n // step through array of attractions with for loop\r\n for(int i = 0; i < attractionCount; i++)\r\n {\r\n attractionList[i].printDetails();\r\n System.out.println();\r\n }\r\n }", "private static void showDeckInfo() {\n }", "void editAssetValue(int newVal);", "int getAssetValue();", "private void displaySell()\r\n {\r\n\r\n System.out.println(\"To sell:\");\r\n for(HardwareDevice devices: hardwares)\r\n {\r\n\r\n devices.displayDescription();\r\n }\r\n }", "private void viewFileChooser() {\n try {\n JFileChooser chooser = new JFileChooser();\n chooser.showOpenDialog(null);\n f = chooser.getSelectedFile();\n// this.attachmentName = f.getName();\n// this.attachmentPath = f.getAbsolutePath();//dan mokdda karanna ona// meke file ek \n// txtAttachment.setText(attachmentPath);\n System.out.println(f.getName());\n System.out.println(f.getAbsolutePath());\n \n// Icon icon = new ImageIcon(getClass().getResource(\"/image/file.png\"));\n lblPath.setText(f.getName());\n// lblPath.setIcon(icon);\n lblPath.setVisible(true);\n \n \n } catch (NullPointerException e) {\n \n } \n }", "private void showChooser() {\n Intent target = FileUtils.createGetContentIntent();\n // Create the chooser Intent\n Intent intent = Intent.createChooser(\n target, getString(R.string.chooser_title));\n try {\n startActivityForResult(intent, REQUEST_CODE);\n } catch (ActivityNotFoundException e) {\n // The reason for the existence of aFileChooser\n }\n }", "public void showTexturePage(String selection, int page){\n \n ArrayList<String> idSubStages = control.getIdsSubStages(selection);\n ArrayList<String> idsTexturesOrSubMeshes = control.getIdsTexturesORSubMeshes(idSubStages.get(0));\n unCheck();\n subStageSelected = \"\";\n nifty.getScreen(stageType).findElementByName(\"panel_color\").setVisible(false);\n for(int i=page*TEXTURES_PAGE; i<control.getNumTexturesORSubMeshes(idSubStages.get(0)); i++){\n if(i<((page+1)*TEXTURES_PAGE)){\n Element image = nifty.getScreen(stageType).findElementByName(\"i\"+Integer.toString(i%TEXTURES_PAGE));\n List<Effect> effects = image.getEffects(EffectEventId.onHover,Tooltip.class);\n String idTexturesOrSubMeshes = i18nModel.getString(control.getTextTexturesORSubMeshes(idsTexturesOrSubMeshes.get(i)));\n if(idTexturesOrSubMeshes==null){\n idTexturesOrSubMeshes=control.getTextTexturesORSubMeshes(idsTexturesOrSubMeshes.get(i));\n }\n effects.get(0).getParameters().setProperty(\"hintText\",idTexturesOrSubMeshes);\n image.setVisible(true);\n ImageRenderer imager = image.getRenderer(ImageRenderer.class);\n String imagePath = control.getIconPathTexturesORSubMeshes(idsTexturesOrSubMeshes.get(i));\n if(imagePath!=null){\n imager.setImage(nifty.getRenderEngine().createImage(imagePath, false));\n }\n else{\n imager.setImage(nifty.getRenderEngine().createImage(Resources.x, false));\n }\n if (control.isChecked(idSubStages.get(0), idsTexturesOrSubMeshes.get(i))){\n nifty.getScreen(stageType).findElementByName(\"t\"+Integer.toString(i%TEXTURES_PAGE)).setVisible(true);\n subStageSelected = idSubStages.get(0);\n if(!seleccionado.containsKey(subStageSelected)){\n seleccionado.put(subStageSelected, idsTexturesOrSubMeshes.get(i));\n }\n }\n else{\n nifty.getScreen(stageType).findElementByName(\"t\"+Integer.toString(i%TEXTURES_PAGE)).setVisible(false);\n }\n }\n }\n if(seleccionado.containsKey(subStageSelected)){\n if(!(control.getTextureType(seleccionado.get(subStageSelected)) == TexturesMeshType.simpleTexture)){\n nifty.getScreen(stageType).findElementByName(\"panel_color\").setVisible(true);\n }\n else{\n nifty.getScreen(stageType).findElementByName(\"panel_color\").setVisible(false);\n }\n }\n else{\n nifty.getScreen(stageType).findElementByName(\"panel_color\").setVisible(false);\n }\n for(int i=control.getNumTexturesORSubMeshes(idSubStages.get(0));i<((page+1)*TEXTURES_PAGE);i++){\n Element image = nifty.getScreen(stageType).findElementByName(\"i\"+Integer.toString(i%TEXTURES_PAGE));\n image.setVisible(false);\n }\n if(page > 0){\n nifty.getScreen(stageType).findElementByName(\"leftT\").setVisible(true);\n }\n else{\n nifty.getScreen(stageType).findElementByName(\"leftT\").setVisible(false);\n }\n if((((double)control.getNumTexturesORSubMeshes(idSubStages.get(0))/(double)TEXTURES_PAGE) - page) > 1){\n nifty.getScreen(stageType).findElementByName(\"rightT\").setVisible(true);\n }\n else{\n nifty.getScreen(stageType).findElementByName(\"rightT\").setVisible(false);\n }\n }", "private void display(){\n out.println(\"\\n-STOCK EXCHANGE-\");\n out.println(\"Apple - Share Price: \" + game.apple.getSharePrice() + \" [\" + game.apple.top() + \"]\");\n out.println(\"BP - Share Price: \" + game.bp.getSharePrice() + \" [\" + game.bp.top() + \"]\");\n out.println(\"Cisco - Share Price: \" + game.cisco.getSharePrice() + \" [\" + game.cisco.top() + \"]\");\n out.println(\"Dell - Share Price: \" + game.dell.getSharePrice() + \" [\" + game.dell.top() + \"]\");\n out.println(\"Ericsson - Share Price: \" + game.ericsson.getSharePrice() + \" [\" + game.ericsson.top() + \"]\");\n\n out.println(\"\\n-PLAYERS-\");\n// System.out.println(playerList.toString());\n for (Player e : playerList) {\n if (e.equals(player)) {\n out.println(e.toString() + \" (you)\");\n } else {\n out.println(e.toString());\n }\n }\n }", "private void displayEditMenu()\r\n {\r\n System.out.println();\r\n System.out.println(\"--------- Edit Menu ------------\");\r\n System.out.println(\"(1) Edit Car Colour\");\r\n System.out.println(\"(2) Edit Car Price\");\r\n System.out.println(\"(3) Back to Main Menu\");\r\n }", "private void showAboutDialog() {\n JOptionPane.showMessageDialog(this, \"Sea Battle II Version 1.0\\nCS 232 (Computer Programming II), Fall 2018\");\n }", "public static void f_menu(){\n System.out.println(\"╔══════════════════════╗\");\r\n System.out.println(\"║ SoftAverageHeight ║\");\r\n System.out.println(\"║Version 1.0 20200428 ║\");\r\n System.out.println(\"║Created by:Andres Diaz║\");\r\n System.out.println(\"╚══════════════════════╝\");\r\n\r\n }", "@Override\n public void onItemSelected(AdapterView<?> arg0, View arg1,\n int arg2, long arg3) {\n actionType = String.valueOf(actionTypeSpiner\n .getSelectedItem());\n if (actionType == \"Upload\"\n || actionType.equals(\"Upload\")) {\n viewLay.setVisibility(View.GONE);\n action = true;\n fileNameTxt.setVisibility(View.GONE);\n doOpen();\n } else if (actionType == \"View\"\n || actionType.equals(\"View\")) {\n action = false;\n fileNameTxt.setVisibility(View.GONE);\n submitTxt.setEnabled(true);\n }\n }", "void setTvAttrib() {\r\n obj1.brandname = \"PANASONIC\"; //setting brandname for obj1\r\n obj1.size = 65; //setting size for obj1\r\n vendor.add(obj1); //adding to arraylist vendor\r\n\r\n obj2.brandname = \"KELVIN\"; //setting brandname for obj2\r\n obj2.size = 51; //setting size for obj2\r\n vendor.add(obj2); //adding to arraylist vendor\r\n\r\n obj3.brandname = \"SONY\"; //setting size for obj2\r\n obj3.size = 42; //setting size for obj2\r\n vendor.add(obj3); //adding to arraylist vendor\r\n\r\n }", "@FXML\n public void viewInformationOfPacket(ActionEvent event) throws IOException {\n String selectedPacketHeader = unseenPacketList.getSelectionModel().getSelectedItem();\n if (selectedPacketHeader != null) {\n \tif (selectedPacketHeader.contains(\"Snort\")) {\n //If snort packet\n selectedPacket = unseenPacketList.getSelectionModel().getSelectedIndex();\n ViewSnortPacketGUI snortInfo = new ViewSnortPacketGUI();\n snortInfo.start(new Stage());\n } else {\n //If portscan packet\n selectedPacket = unseenPacketList.getSelectionModel().getSelectedIndex();\n ViewPortScanPacketGUI snortInfo = new ViewPortScanPacketGUI();\n snortInfo.start(new Stage());\n }\n } else {\n \tJOptionPane.showMessageDialog(null, \"Please select packet before pressing view information.\");\n }\n }", "public void actionPerformed (ActionEvent event) {\n RainRunGUI.c1.show(RainRunGUI.cards, RainRunGUI.MENUPANEL);\n }", "private void cs5() {\n\t\t\tif(ctx.widgets.widget(519).component(1).text().contains(\"You get some\")){\n\t\t\t\tctx.widgets.widget(519).component(2).click();\n\t\t\t}\n\t\t\tif(ctx.inventory.selectedItem().valid()){\n\t\t\t\tMethod.interactInventory(2511, \"Use\", \"Logs\");\n\t\t\t}else Method.interactInventory(590, \"Use\", \"Tinder box\");\n\t\t\t\n\t\t}", "private void showImageDetail() {\n }", "public void visKontingenthaandteringMenu ()\r\n {\r\n System.out.println(\"Du har valgt kontingent.\");\r\n System.out.println(\"Hvad oensker du at foretage dig?\");\r\n System.out.println(\"1: Se priser\");\r\n System.out.println(\"2: Se medlemmer i restance\");\r\n System.out.println(\"0: Afslut\");\r\n\r\n }", "public void options() {\n\n audio.playSound(LDSound.SMALL_CLICK);\n if (canViewOptions()) {\n Logger.info(\"HUD Presenter: options\");\n uiStateManager.setState(GameUIState.OPTIONS);\n }\n }", "public void view(){\r\n System.out.println(\"\tNombre: \"+name);\r\n\t\tSystem.out.println(\"\tTipo: \"+type.id);\r\n\t\tSystem.out.println(\"\tVal: \"+((Integer)val).intValue());\r\n\t\tif(block==true){\r\n\t\t\tSystem.out.println(\"\tBLOQUEADA\");\r\n\t\t}else{\r\n\t\t\tSystem.out.println(\"\tDESBLOQUEADO\");\r\n\t\t}\r\n //System.out.println(\"\tTipo2: \"+kind);\r\n //System.out.println(\"\tAnidamiento: \"+level);\r\n //System.out.println(\"\tSigDireccion: \"+nextAdr);\r\n System.out.println(\"\t*********************\");\r\n\t\tSystem.out.println();\r\n }", "public void showInfo() {\n\t\t\n\t\tsuper.showInfo();\n\t\tSystem.out.println(\"Your Checking Account features: \"\n\t\t\t\t+ \"\\nDebit Card Number: \" + debitCardNumber\n\t\t\t\t+ \"\\nDebit Card PIN: \" + debitCardPin\n\t\t\t\t+ \"\\n****************\"\n\t\t\t\t);\n\t\t\n\t}", "public static void ViewNewBagType()\r\n{\r\n\r\n\r\n\tselectBagType(RandomString);\r\n\tSystem.out.println(\"BagTypeName Viewed Successfully\");\r\n\t\r\n}" ]
[ "0.58396846", "0.57344747", "0.5675579", "0.565523", "0.56124717", "0.5610437", "0.55915207", "0.5589209", "0.55719423", "0.5546618", "0.55280685", "0.55044377", "0.5501648", "0.55013007", "0.54937047", "0.54919773", "0.54734457", "0.546684", "0.54446805", "0.54321283", "0.54058117", "0.54036653", "0.5379829", "0.53764534", "0.5363351", "0.5356773", "0.5351922", "0.53509796", "0.5345179", "0.5343264", "0.53415453", "0.53353286", "0.5333909", "0.53276134", "0.5325473", "0.53246796", "0.5311939", "0.5297003", "0.5284888", "0.52732086", "0.52721286", "0.5265392", "0.52558064", "0.52487385", "0.52453595", "0.5243581", "0.5237673", "0.52302814", "0.52204204", "0.5219091", "0.52109796", "0.52097404", "0.5203185", "0.51869375", "0.51850146", "0.5182665", "0.51819366", "0.51786387", "0.5177444", "0.51721483", "0.51640123", "0.51609975", "0.5157256", "0.5156085", "0.51549774", "0.51543206", "0.5150336", "0.51383674", "0.51307034", "0.5128141", "0.5124878", "0.5111891", "0.5110384", "0.5108429", "0.51073754", "0.51067936", "0.5104864", "0.5104752", "0.51033473", "0.510321", "0.51015884", "0.5099577", "0.50958496", "0.50878966", "0.5086232", "0.50856304", "0.5084697", "0.5081931", "0.5081256", "0.5081171", "0.5075257", "0.5073934", "0.50717026", "0.50676286", "0.50620496", "0.5061727", "0.5059983", "0.5059732", "0.5059231", "0.50571024" ]
0.54465795
18
/ F17 The system shall provide the ability to add or remove a asset.
@Test public void f17AddRemoveAssetTest() { Button button = (Button) scene.getRoot().lookup("#addAssetBtn"); assertNotNull("Button to add asset exists", button); assertEquals("Add Asset", button.getText()); clickOn(button).sleep(1000); //Enter info for new asset clickOn("#assetNameInput").write("My New Asset").sleep(1000); clickOn("#assetTypeChoiceBox").type(KeyCode.DOWN).sleep(1000).type(KeyCode.ENTER).sleep(1000); clickOn("#assetDescriptionInput").write("Adding a new asset for system testing").sleep(1000); clickOn("#serialNumberInput").write("192837465").sleep(1000); clickOn("#manufacturerInput").write("Asset in good condition").sleep(1000); clickOn("#categoryInput").write("Category 2").sleep(1000); clickOn("#siteInput").write("Regularly checked").sleep(1000); clickOn("#locationInput").write("Montreal Qc").sleep(1000); // TODO: Complete the test (save button) once Add Asset bug is fixed. clickOn(scene.getRoot().lookup("#cancelBtn")).sleep(3000); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void addToMyAssets(String userId,\n String assetGUID) throws InvalidParameterException,\n PropertyServerException,\n UserNotAuthorizedException;", "public static void putAsset(Asset asset) {\n \n \t\tif (asset == null) {\n \t\t\treturn;\n \t\t}\n \n \t\tassetMap.put(asset.getId(), asset);\n \n \t\t// Invalid images are represented by empty assets.\n \t\t// Don't persist those\n \t\tif (asset.getImage().length > 0) {\n \t\t\tputInPersistentCache(asset);\n \t\t}\n \n \t\t// Clear the waiting status\n \t\tassetLoader.completeRequest(asset.getId());\n \n \t\t// Listeners\n \t\tList<AssetAvailableListener> listenerList = assetListenerListMap.get(asset.getId());\n \t\tif (listenerList != null) {\n \t\t\tfor (AssetAvailableListener listener : listenerList) {\n \t\t\t\tlistener.assetAvailable(asset.getId());\n \t\t\t}\n \n \t\t\tassetListenerListMap.remove(asset.getId());\n \t\t}\n \t}", "boolean hasAsset();", "private boolean psDoAddAsset(String assetPath, String localAssetPath) {\n downloadedProjectAssets.put(assetPath, localAssetPath);\n if (DEBUG) {\n System.out.println(\"Adding asset \" + assetPath);\n }\n final String assetName = assetNameFromAssetPath(assetPath);\n return psPushAssetToPhone(assetName, localAssetPath, false);\n }", "void removeFromMyAssets(String userId,\n String assetGUID) throws InvalidParameterException,\n PropertyServerException,\n UserNotAuthorizedException;", "@Test\n public void removesAsset() throws Exception {\n try (\n final MkContainer container = new MkGrizzlyContainer().next(\n new MkAnswer.Simple(HttpURLConnection.HTTP_NO_CONTENT, \"\")\n ).start(this.resource.port());\n ) {\n final RtReleaseAsset asset = new RtReleaseAsset(\n new ApacheRequest(container.home()),\n release(),\n 3\n );\n asset.remove();\n final MkQuery query = container.take();\n MatcherAssert.assertThat(\n query.method(),\n Matchers.equalTo(Request.DELETE)\n );\n container.stop();\n }\n }", "@Override\n public String getDescription() {\n return \"Asset issuance\";\n }", "@Override\n public void onProjectNodeAdded(Project project, ProjectNode node) {\n if (node instanceof YoungAndroidAssetNode) {\n String assetName = node.getName();\n\n // Add it to the list if it isn't already there.\n // It could already be there if the user adds an asset that's already there, which is the way\n // to replace the asset.\n if (!choices.containsValue(assetName)) {\n choices.addItem(assetName);\n }\n\n // Check whether our asset was updated.\n String currentValue = property.getValue();\n if (assetName.equals(currentValue)) {\n // Our asset was updated.\n // Set the property value to blank and then back to the current value.\n // This will force the component to update itself (for example, it will refresh its image).\n property.setValue(\"\");\n property.setValue(currentValue);\n }\n }\n }", "void verifyNewAsset(Asset newAsset) throws InvalidJsonAssetException {\n String id = newAsset.get_id();\n if (id != null) {\n throw new InvalidJsonAssetException(\"When creating a new asset, the _id field must be blank\");\n }\n }", "public boolean allowAddAction(ResourceToolAction action, ContentEntity entity);", "public interface IAssetManager {\n\n}", "void editAssetValue(int newVal);", "private Asset() {\r\n super(IAsset.TYPE_ID);\r\n }", "public void AssetUseManage(Administrator ad){\n\t\tStaffManage staff=new StaffManage();\n\t\tStaff s=new Staff();\n\t\tAsset a=new Asset();\n\t\tString name=null;\n\t\tint id=0;\n\t\tAdministrator admin=new Administrator();\n\t\tScanner input=new Scanner(System.in);\n\t\tSystem.out.println(\"Please choose function:\");\n\t\tSystem.out.println(\"1.Lend a fixed asset\");\n\t\tSystem.out.println(\"2.Return a fixed asset\");\n\t\tint choice=input.nextInt();\n\t\tswitch(choice){\n\t\tcase 1:\n\t\t\t//资产领用\t\t\n\t\t\tSystem.out.println(\"Who wants to lend assets?Please enter his name.\");\n\t\t\tname=input.next();\n\t\t\ts.setName(name);\n\t\t\tSystem.out.println(\"Please enter asset's id.\");\n\t\t\tid=input.nextInt();\n\t\t\ta.setId(id);\n\t\t\tAssetManage am=new AssetManage();\n\t\t\ta=am.queryById(id);\n\t\t\tif(a!=null){\n\t\t\t\tint num=staff.lend(s,a,ad);\n\t\t\t\tif(num!=0){\n\t\t\t\t\tSystem.out.println(\"Lend assets succeed.\");\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println(\"Lend assets failed.\");\n\t\t\t\t}\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"Lend assets failed.\");\n\t\t\t}\n\t\t\tMenu(ad);\n\t\t\tbreak;\n\t\tcase 2:\n\t\t\t//归还资产\n\t\t\tSystem.out.println(\"Please enter asset's id which will be returned.\");\n\t\t\tid=input.nextInt();\n\t\t\ta.setId(id);\n\t\t\tAssetManage am1=new AssetManage();\n\t\t\ta=am1.queryById(id);\n\t\t\tint num1=staff.returnAsset(a);\n\t\t\tif(num1!=0){\n\t\t\t\tSystem.out.println(\"Return assets succeed.\");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"Return assets failed.\");\n\t\t\t}\n\t\t\tMenu(ad);\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tSystem.out.println(\"Without this option!\");\n\t\t\tMenu(ad);\n\t\t\tbreak;\n\t\t}\n\t}", "public void addOrRemoveAssetInMaps(final CheckBox assetBox, boolean assetBoxChecked, String assetNameTV, String assetValueET){\n\n if (assetBoxChecked){\n\n if(!assetValueET.isEmpty() && countDecimals(assetValueET)){\n // assigningAsset.addAssets(assetNameTV, assetValueET);\n assetDB.addAsset(assetNameTV, assetValueET); //storing in db\n// int size1 = assigningAsset.assetNameList.size();\n// String size2 = size1.toString();\n //Toast.makeText(AssetsTable.this,String.valueOf(assigningAsset.assetNameList.size()) , Toast.LENGTH_SHORT).show();\n\n }\n\n else{\n assetBox.setChecked(false);\n Toast.makeText(this, \"Enter the correct value\", Toast.LENGTH_SHORT).show();\n }\n }\n else{\n Toast.makeText(this, \"CheckBox is unchecked\", Toast.LENGTH_SHORT).show();\n }\n\n\n }", "public static boolean hasAsset(Asset asset) {\n \t\treturn hasAsset(asset.getId());\n \t}", "public AjaxResponse addNewAsset(AjaxSubmitEvent event) {\n\n\t\tAjaxResponse response = new AjaxResponseImpl();\n\n\t\tManufacturingOrder dto = (ManufacturingOrder) event.getCommandObject();\n\n\t\tif ((dto.getError() != null) && !(dto.getError().isEmpty())) {\n\n\t\t\tReplaceContentAction action = new ReplaceContentAction(\n\t\t\t\t\t\"statusMessage\", new SimpleText(\n\t\t\t\t\t\t\t\"<font color=\\\"red\\\" size=\\\"2px\\\">\"\n\t\t\t\t\t\t\t\t\t+ dto.getError() + \"</font>\"));\n\t\t\tresponse.addAction(action);\n\n\t\t\tExecuteJavascriptFunctionAction enableFields = new ExecuteJavascriptFunctionAction(\n\t\t\t\t\t\"enableFields\", new HashMap<String, Object>());\n\t\t\tresponse.addAction(enableFields);\n\n\t\t} else {\n\n\t\t\tgetNewAssetTable(response, dto);\n\n\t\t}\n\n\t\treturn response;\n\n\t}", "public boolean isAssetSpecial(T asset);", "public boolean addAsset(final String assetPath, final String localAssetPath) {\n Callable<Boolean> addAssetCallable = new Callable<Boolean>() {\n @Override\n public Boolean call() {\n return psDoAddAsset(assetPath, localAssetPath);\n }\n };\n try {\n return phoneSynchronizer.sendNow(addAssetCallable);\n } catch (PhoneCommunicationException e) {\n e.printStackTrace();\n return false;\n }\n }", "default AssetType getAssetType() {\n throw new UnsupportedOperationException();\n }", "public Asset createAsset(Asset asset) throws IOException {\n try {\n String strBody = null;\n Map<String, String> params = null;\n String correctPath = \"/Assets\";\n UriBuilder uriBuilder = UriBuilder.fromUri(apiClient.getBasePath() + correctPath);\n String url = uriBuilder.build().toString();\n\n \n strBody = apiClient.getObjectMapper().writeValueAsString(asset);\n\n String response = this.DATA(url, strBody, params, \"POST\");\n TypeReference<Asset> typeRef = new TypeReference<Asset>() {};\n return apiClient.getObjectMapper().readValue(response, typeRef);\n\n } catch (IOException e) {\n throw xeroExceptionHandler.handleBadRequest(e.getMessage());\n } catch (XeroApiException e) {\n throw xeroExceptionHandler.handleBadRequest(e.getMessage(), e.getResponseCode(),JSONUtils.isJSONValid(e.getMessage()));\n }\n }", "public void actionPerformed(ActionEvent e) {\n\t\t\t\t\t\t\tAsset asset = ((ImageFileImagePanelModel)imagePanel.getModel()).getAsset(index);\n\t\t\t\t\t\t\tif (!AssetManager.hasAsset(asset)) {\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tAssetManager.putAsset(asset);\n\t\t\t\t\t\t\t\tMapTool.serverCommand().putAsset(asset);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tZone zone = new Zone(asset.getId());\n\t\t\t\t\t\t\tzone.setType(Zone.Type.MAP);\n\t\t\t\t\t\t\t\n\t\t MapTool.addZone(zone);\n\t\t\t\t\t\t}", "private void updateAsset(\n\t\tLead lead, ServiceContext serviceContext)\n\t\tthrows PortalException {\n\n\t\tassetEntryLocalService.updateEntry(\n\t\t\tserviceContext.getUserId(), serviceContext.getScopeGroupId(),\n\t\t\tlead.getCreateDate(), lead.getModifiedDate(),\n\t\t\tLead.class.getName(), lead.getLeadId(),\n\t\t\tlead.getUuid(), 0, serviceContext.getAssetCategoryIds(),\n\t\t\tserviceContext.getAssetTagNames(), true, true,\n\t\t\tlead.getCreateDate(), null, null, null,\n\t\t\tContentTypes.TEXT_HTML,\n\t\t\tlead.getTitle(serviceContext.getLocale()),\n\t\t\tlead.getDescription(), null, null, null, 0, 0,\n\t\t\tserviceContext.getAssetPriority());\n\t}", "public void saveAssets() {\r\n int size = Main.materialList.size();\r\n for (int i=0; i<size; i++) {\r\n RawMaterial m = Main.materialList.get(i);\r\n if (materials.containsKey(m)) {\r\n myMaterials.add(m);\r\n materialAmounts.add(materials.get(m));\r\n }\r\n }\r\n size = Main.currencyList.size();\r\n for (int i=0; i<size; i++) {\r\n Currency c = Main.currencyList.get(i);\r\n if (currencies.containsKey(c)) {\r\n myCurrencies.add(c);\r\n currencyAmounts.add(currencies.get(c));\r\n }\r\n }\r\n }", "public String getAssetId();", "@Override\n public String getDescription() {\n return \"Asset transfer\";\n }", "@SuppressWarnings({ \"deprecation\", \"unchecked\" })\r\n\tpublic void init() throws Exception{\r\n\t\tAsset CurrentAsset;\r\ndouble TotalAmount = CurrentPortfolio.getTotalAmount(CurrentDate);\r\nCurrentPortfolio.sellAssetCollection(CurrentDate);\r\n\r\n\t\t\r\nCurrentAsset = new Asset();\r\nCurrentAsset.setAssetStrategyID(getStrategyID(\"STATIC\"));\r\nCurrentAsset.setName(\"US large cap\");\r\nCurrentAsset.setClassID(getAssetClassID(\"US Equity\"));\r\nCurrentAsset.setTargetPercentage(0.1428);\r\nCurrentPortfolio.addAsset(CurrentAsset);\r\nCurrentPortfolio.buy(CurrentAsset.getName(), \"^GSPC\", TotalAmount/7,\r\n\t\tCurrentDate);\r\n\t\r\n\t\t\r\nCurrentAsset = new Asset();\r\nCurrentAsset.setAssetStrategyID(getStrategyID(\"STATIC\"));\r\nCurrentAsset.setName(\"IUS small cap\");\r\nCurrentAsset.setClassID(52l);\r\nCurrentAsset.setTargetPercentage(0.1428);\r\nCurrentPortfolio.addAsset(CurrentAsset);\r\nCurrentPortfolio.buy(CurrentAsset.getName(), \"^RUT\", TotalAmount /7,\r\n\t\tCurrentDate);\r\n\t\t\r\nCurrentAsset = new Asset();\r\nCurrentAsset.setAssetStrategyID(getStrategyID(\"STATIC\"));\r\nCurrentAsset.setName(\"International Equity\");\r\nCurrentAsset.setClassID(9l);\r\nCurrentAsset.setTargetPercentage(0.1428);\r\nCurrentPortfolio.addAsset(CurrentAsset);\r\nCurrentPortfolio.buy(CurrentAsset.getName(), \"VGTSX\", TotalAmount /7,CurrentDate);\r\n\r\nCurrentAsset = new Asset();\r\nCurrentAsset.setAssetStrategyID(getStrategyID(\"STATIC\"));\r\nCurrentAsset.setName(\"Real Estate\");\r\nCurrentAsset.setClassID(5l);\r\nCurrentAsset.setTargetPercentage(0.1428);\r\nCurrentPortfolio.addAsset(CurrentAsset);\r\nCurrentPortfolio.buy(CurrentAsset.getName(), \"VGSIX\",\r\n\t\tTotalAmount /7, CurrentDate);\r\n\t\t\r\nCurrentAsset = new Asset();\r\nCurrentAsset.setAssetStrategyID(getStrategyID(\"STATIC\"));\r\nCurrentAsset.setName(\"Commodity\");\r\nCurrentAsset.setClassID(getAssetClassID(\"Commodity\"));\r\nCurrentAsset.setTargetPercentage(0.1428);\r\nCurrentPortfolio.addAsset(CurrentAsset);\r\nCurrentPortfolio.buy(CurrentAsset.getName(), \"QRAAX\",\r\n\t\tTotalAmount /7, CurrentDate);\r\n\r\n\r\n\r\n\t\t\r\nCurrentAsset = new Asset();\r\nCurrentAsset.setAssetStrategyID(getStrategyID(\"STATIC\"));\r\nCurrentAsset.setName(\"Cash\");\r\nCurrentAsset.setClassID(3l);\r\nCurrentAsset.setTargetPercentage(0.1428);\r\nCurrentPortfolio.addAsset(CurrentAsset);\r\nCurrentPortfolio.buy(CurrentAsset.getName(), \"CASH\",\r\n\t\tTotalAmount /7, CurrentDate);\r\n\t\t\r\nCurrentAsset = new Asset();\r\nCurrentAsset.setAssetStrategyID(getStrategyID(\"STATIC\"));\r\nCurrentAsset.setName(\"US Bond\");\r\nCurrentAsset.setClassID(2l);\r\nCurrentAsset.setTargetPercentage(0.1428);\r\nCurrentPortfolio.addAsset(CurrentAsset);\r\nCurrentPortfolio.buy(CurrentAsset.getName(), \"VBMFX\", TotalAmount /7,\r\n\t\tCurrentDate);\r\n\r\ninitialAmount=TotalAmount;\r\nwithdrawRate=0.05;\r\n\t}", "private void buy() {\n if (asset >= S_I.getPirce()) {\n Item item = S_I.buy();\n asset -= item.getPrice();\n S_I.setAsset(asset);\n } else {\n System.out.println(\"cannot afford\");\n }\n }", "public void unlockAdd(){\n\t\tthis.canAdd = true;\n\t}", "public void AssetInfoManage(Administrator ad){\n\t\tScanner input=new Scanner(System.in);\n\t\tAsset a=new Asset();\n\t\tint id=0;\n\t\tString name=null;\n\t\tString model=null;\n\t\tString category=null;\n\t\tString subcategory=null;\n\t\tString buyTime=null;\n\t\tint state=-1;\n\t\tint worth=0;\n\t\tString user=null;\n\t\tString ps=null;\n\t\tAssetManage asset=new AssetManage();\n\t\tSystem.out.println(\"Please choose function:\");\n\t\tSystem.out.println(\"1.Add fixed assets category\");\n\t\tSystem.out.println(\"2.Delete fixed assets subcategory\");\n\t\tSystem.out.println(\"3.Delete fixed assets category\");\n\t\tSystem.out.println(\"4.Add fixed assets information\");\n\t\tSystem.out.println(\"5.Delete fixed assets information\");\n\t\tSystem.out.println(\"6.Modify fixed assets information\");\n\t\tSystem.out.println(\"7.Inquiry assets information by subcategory\");\n\t\tSystem.out.println(\"8.Inquiry assets information by category\");\n\t\tSystem.out.println(\"9.Inquiry assets information by assets'id\");\n\t\tSystem.out.println(\"10.Inquiry assets information by assets'user\");\n\t\tint choice=input.nextInt();\n\t\tswitch(choice){\n\t\tcase 1:\n\t\t\t//增加资产类\t\t\n\t\t\tSystem.out.println(\"Please enter the subcategory you want add.\");\n\t\t\tsubcategory=input.next();\n\t\t\tSystem.out.println(\"Please enter the category the subcategory belongs to.\");\n\t\t\tcategory=input.next();\n\t\t\tint num=asset.addCategory(subcategory,category);\n\t\t\tif(num==1){\n\t\t\t\tSystem.out.println(\"Add succeed.\");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"Add failed.\");\n\t\t\t}\n\t\t\tMenu(ad);\n\t\t\tbreak;\n\t\tcase 2:\n\t\t\t//删除资产小类\n\t\t\tSystem.out.println(\"Please enter the subcategory you want delete.\");\n\t\t\tcategory=input.next();\n\t\t\tint num1=asset.deleteSubCategory(category);\n\t\t\tif(num1!=0){\n\t\t\t\tSystem.out.println(\"Delete subcategory succeed.\");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"Delete subcategory failed.\");\n\t\t\t}\n\t\t\tMenu(ad);\n\t\t\tbreak;\n\t\tcase 3:\t\n\t\t\t//删除资产大类\n\t\t\tSystem.out.println(\"Please enter the category you want delete.\");\n\t\t\tcategory=input.next();\n\t\t\tint num2=asset.deleteCategory(category);\n\t\t\tif(num2!=0){\n\t\t\t\tSystem.out.println(\"Delete category succeed.\");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"Delete category failed.\");\n\t\t\t}\n\t\t\tMenu(ad);\n\t\t\tbreak;\n\t\tcase 4:\n\t\t\t//增加资产信息\n\t\t\tSystem.out.println(\"Please enter the asset's name.\");\n\t\t\tname=input.next();\n\t\t\ta.setName(name);\n\t\t\tSystem.out.println(\"Please enter the asset's subcategory.\");\n\t\t\tsubcategory=input.next();\n\t\t\ta.setCategory(subcategory);\n\t\t\tSystem.out.println(\"Please enter the asset's model.\");\n\t\t\tmodel=input.next();\n\t\t\ta.setModel(model);\n\t\t\tSystem.out.println(\"Please enter the asset's worth.\");\n\t\t\tworth=input.nextInt();\n\t\t\ta.setWorth(worth);\n\t\t\tSystem.out.println(\"Please enter the asset's buyTime.\");\n\t\t\tbuyTime=input.next();\n\t\t\ta.setBuyTime(buyTime);\n\t\t\tSystem.out.println(\"Please enter the asset's state.\");\n\t\t\tSystem.out.println(\"Asset state: 0.normal 1.repairing 2.unusable.\");\n\t\t\tstate=input.nextInt();\n\t\t\ta.setState(state);\n\t\t\tSystem.out.println(\"If you have sth to remark,please enter the asset's ps else enter ' ' .\");\n\t\t\tSystem.out.println(\"Please enter the asset's ps.\");\n\t\t\tps=input.next();\n\t\t\ta.setPs(ps);\n\t\t\tint num3=asset.add(a);\n\t\t\tif(num3!=0){\n\t\t\t\tSystem.out.println(\"Add asset succeed.\");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"Add asset failed.\");\n\t\t\t}\n\t\t\tMenu(ad);\n\t\t\tbreak;\n\t\tcase 5:\n\t\t\t//删除资产信息\n\t\t\tSystem.out.println(\"Please enter the asset's id which you want to delete.\");\n\t\t\tid=input.nextInt();\n\t\t\ta.setId(id);\n\t\t\tint num4=asset.delete(a);\n\t\t\tif(num4==1){\n\t\t\t\tSystem.out.println(\"Delete asset succeed.\");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"Delete asset failed.\");\n\t\t\t}\n\t\t\tMenu(ad);\n\t\t\tbreak;\n\t\tcase 6:\n\t\t\t//修改资产信息\n\t\t\tSystem.out.println(\"Please enter the asset's id which you want to modify.\");\n\t\t\tid=input.nextInt();\n\t\t\ta.setId(id);\n\t\t\tSystem.out.println(\"Please enter the asset's name.\");\n\t\t\tname=input.next();\n\t\t\ta.setName(name);\n\t\t\tSystem.out.println(\"Please enter the asset's subcategory.\");\n\t\t\tsubcategory=input.next();\n\t\t\ta.setCategory(subcategory);\n\t\t\tSystem.out.println(\"Please enter the asset's model.\");\n\t\t\tmodel=input.next();\n\t\t\ta.setModel(model);\n\t\t\tSystem.out.println(\"Please enter the asset's worth.\");\n\t\t\tworth=input.nextInt();\n\t\t\ta.setWorth(worth);\n\t\t\tSystem.out.println(\"Please enter the asset's buyTime.\");\n\t\t\tbuyTime=input.next();\n\t\t\ta.setBuyTime(buyTime);\n\t\t\tSystem.out.println(\"Please enter the asset's state.\");\n\t\t\tSystem.out.println(\"Asset state: 0.normal 1.repairing 2.unusable.\");\n\t\t\tstate=input.nextInt();\n\t\t\ta.setState(state);\n\t\t\tSystem.out.println(\"If you have sth to remark,please enter the asset's ps else enter ' ' .\");\n\t\t\tSystem.out.println(\"Please enter the asset's ps.\");\n\t\t\tps=input.next();\n\t\t\ta.setPs(ps);\t\t\n\t\t\tint num5=asset.update(a);\n\t\t\tif(num5==1){\n\t\t\t\tSystem.out.println(\"Modify asset succeed.\");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"Modify asset failed.\");\n\t\t\t}\n\t\t\tMenu(ad);\n\t\t\tbreak;\n\t\tcase 7:\n\t\t\t//通过小类查询资产\n\t\t\tSystem.out.println(\"Please enter the asset's subcategory which you want to inquiry.\");\n\t\t\tsubcategory=input.next();\n\t\t\tList<Asset> as=asset.queryBySubCtg(subcategory);\n\t\t\tfor(Asset a1:as){\n\t\t\t\ta1.show();\n\t\t\t}\n\t\t\tif(as.isEmpty()){\n\t\t\t\tSystem.out.println(\"No result!\");\n\t\t\t}\n\t\t\tMenu(ad);\n\t\t\tbreak;\n\t\tcase 8:\n\t\t\t//通过大类查询资产\n\t\t\tSystem.out.println(\"Please enter the asset's category which you want to inquiry.\");\n\t\t\tcategory=input.next();\n\t\t\tList<Asset> as1=asset.queryByCtg(category);\n\t\t\tfor(Asset a1:as1){\n\t\t\t\ta1.show();\n\t\t\t}\n\t\t\tif(as1.isEmpty()){\n\t\t\t\tSystem.out.println(\"No result!\");\n\t\t\t}\n\t\t\tMenu(ad);\n\t\t\tbreak;\n\t\tcase 9:\n\t\t\t//通过id查询资产\n\t\t\tSystem.out.println(\"Please enter the asset's id which you want to inquiry.\");\n\t\t\tid=input.nextInt();\n\t\t\tAsset a1=asset.queryById(id);\n\t\t\tif(a1!=null){\n\t\t\t\ta1.show();\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"No result!\");\n\t\t\t}\n\t\t\tMenu(ad);\n\t\t\tbreak;\n\t\tcase 10:\n\t\t\t//通过用户查询资产\n\t\t\tSystem.out.println(\"Please enter the asset's user which you want to inquiry.\");\n\t\t\tuser=input.next();\n\t\t\tList<Asset> as2=asset.queryByUser(user);\n\t\t\tfor(Asset a2:as2){\n\t\t\t\ta2.show();\n\t\t\t}\n\t\t\tif(as2.isEmpty()){\n\t\t\t\tSystem.out.println(\"No result!\");\n\t\t\t}\n\t\t\tMenu(ad);\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tSystem.out.println(\"Without this option!\");\n\t\t\tMenu(ad);\n\t\t\tbreak;\n\t\t}\n\t}", "public void resourceOwnershipChanged(ResourceOwnership item, boolean added)\n {\n event(\"ResourceOwnershipChange\",\n item.getOwner().getId(),\n item.getResource().getId(),\n -1,\n added);\n }", "void addUses(Equipment newUses);", "@Test\n public void addUpdateDeleteInformationalArtifactApi() throws Exception {\n ResourceReqDetails vfMetaData = createVFviaAPI();\n\n //Go to Catalog and find the created VF\n CatalogUIUtilitis.clickTopMenuButton(TopMenuButtonsEnum.CATALOG);\n GeneralUIUtils.findComponentAndClick(vfMetaData.getName());\n\n ResourceGeneralPage.getLeftMenu().moveToInformationalArtifactScreen();\n\n ArtifactInfo informationalArtifact = new ArtifactInfo(filePath, \"asc_heat 0 2.yaml\", \"kuku\", \"artifact1\", \"OTHER\");\n InformationalArtifactPage.clickAddNewArtifact();\n ArtifactUIUtils.fillAndAddNewArtifactParameters(informationalArtifact);\n\n AssertJUnit.assertTrue(\"artifact table does not contain artifacts uploaded\", InformationalArtifactPage.checkElementsCountInTable(1));\n\n String newDescription = \"new description\";\n InformationalArtifactPage.clickEditArtifact(informationalArtifact.getArtifactLabel());\n InformationalArtifactPage.artifactPopup().insertDescription(newDescription);\n InformationalArtifactPage.artifactPopup().clickDoneButton();\n String actualArtifactDescription = InformationalArtifactPage.getArtifactDescription(informationalArtifact.getArtifactLabel());\n AssertJUnit.assertTrue(\"artifact description is not updated\", newDescription.equals(actualArtifactDescription));\n\n InformationalArtifactPage.clickDeleteArtifact(informationalArtifact.getArtifactLabel());\n InformationalArtifactPage.clickOK();\n AssertJUnit.assertTrue(\"artifact \" + informationalArtifact.getArtifactLabel() + \"is not deleted\", InformationalArtifactPage.checkElementsCountInTable(0));\n }", "public static void removeAsset(MD5Key id) {\n \t\tassetMap.remove(id);\n \t}", "public void deleteAssetClass(String name_);", "@Test\n @SuppressWarnings(\"unchecked\")\n public void f11AddRemoveAssetTypeTest() {\n clickOn(\"#assetTypeMenuBtn\").sleep(1000).moveBy(100, 0);\n clickOn(\"#assetName\").moveBy(40, 200);\n\n TableView<AssetTypeList> assetTypes = (TableView<AssetTypeList>) scene.getRoot().lookup(\"#tableView\");\n int assetTypesDefaultSize = assetTypes.getItems().size(); //default size should be 4\n\n assetTypes.scrollTo(assetTypesDefaultSize);\n Button button = (Button) scene.getRoot().lookup(\"#addAssetTypeBtn\");\n sleep(2000).clickOn(button).sleep(2000);\n\n //Enter info for new asset type\n clickOn(\"#assetTypeName\").write(\"My New Engine\").sleep(1000);\n clickOn(\"#assetTypeDescription\").write(\"Adding a new asset for system testing.\").sleep(1000);\n clickOn(\"#thresholdAdvisoryValue\").write(\"300\").sleep(1000);\n clickOn(\"#thresholdCautionValue\").write(\"200\").sleep(1000);\n clickOn(\"#thresholdWarningValue\").write(\"100\").sleep(1000);\n clickOn(\"#thresholdFailedValue\").write(\"50\").sleep(1000);\n\n clickOn(\"#saveBtn\").sleep(1000);\n\n assetTypes = (TableView<AssetTypeList>) scene.getRoot().lookup(\"#tableView\");\n clickOn(\"#assetName\").sleep(1000);\n\n assertEquals(\"Asset list contains an additional asset\", assetTypes.getItems().size(), (assetTypesDefaultSize + 1)); //should now have default size + 1 item\n\n //Select last row\n Node node = lookup(\"#columnName\").nth(assetTypes.getItems().size()).query();\n clickOn(node).sleep(1000);\n //Delete the new asset type\n clickOn(\"#assetTypeName\").sleep(1000);\n clickOn(\"#deleteBtn\").sleep(500);\n type(KeyCode.SPACE).sleep(500);\n\n assetTypes = (TableView<AssetTypeList>) scene.getRoot().lookup(\"#tableView\");\n moveBy(0, 200);\n assetTypes.scrollTo(assetTypesDefaultSize); //back to original table\n sleep(3000);\n\n //Table should return to original size (of rows) after deleting the newly added asset.\n assertEquals(\"Asset list contains the same number of assets as before adding and deleting.\", assetTypes.getItems().size(), assetTypesDefaultSize);\n }", "private Assets (){}", "public String assetName() {\n return assetName;\n }", "@PostMapping(\"/asset\")\n public ResponseEntity<Asset> createAsset(@RequestBody Asset asset){\n Asset newAsset = new Asset();\n newAsset.setName(asset.getName());\n newAsset.setDevices(asset.getDevices());\n assetsService.addAsset(newAsset);\n this.template.convertAndSend(\"/topic/assets\", newAsset);\n return new ResponseEntity<>(newAsset, HttpStatus.OK);\n\n }", "@Override\n public boolean onOptionsItemSelected(@NonNull MenuItem item) {\n\n switch (item.getItemId()){\n\n case R.id.save:\n\n if (assetDB.assetCount() == 0)\n {\n Toast.makeText(this, \"Fill all the fields\", Toast.LENGTH_SHORT).show();\n }\n else {\n Intent back = new Intent(this, AddAssetsLiabilities.class);\n String save = \"Assets\";\n back.putExtra(\"saved\", save);\n startActivity(back);\n }\n\n return true;\n default:\n return super.onOptionsItemSelected(item);\n }\n\n }", "public abstract boolean depleteItem();", "MaterialAsset resolveAsset( MaterialAsset asset );", "@Override\n public void onClick(View view) {\n selectedAsset = null;\n changeActivity(Activities.DAP_ASSET_EDITOR_ACTIVITY.getCode(), getAssetForEdit());\n }", "@Override\n public void addBundle(Context context, Item item, Bundle b) throws SQLException, AuthorizeException\n {\n // Check authorisation\n authorizeService.authorizeAction(context, item, Constants.ADD);\n\n log.info(LogManager.getHeader(context, \"add_bundle\", \"item_id=\"\n + item.getID() + \",bundle_id=\" + b.getID()));\n\n // Check it's not already there\n if (item.getBundles().contains(b)) {\n // Bundle is already there; no change\n return;\n }\n\n // now add authorization policies from owning item\n // hmm, not very \"multiple-inclusion\" friendly\n authorizeService.inheritPolicies(context, item, b);\n\n // Add the bundle to in-memory list\n item.addBundle(b);\n b.setItems(Arrays.asList(item));\n\n // Insert the mapping\n context.addEvent(new Event(Event.ADD, Constants.ITEM, item.getID(), Constants.BUNDLE, b.getID(), b.getName()));\n }", "public void updateAssetState(Asset.StateAction action, String id) throws RepositoryResourceLifecycleException, NonExistentArtefactException {\n Asset existingAsset = persistenceBean.retrieveAsset(id);\n\n action.performAction(existingAsset);\n existingAsset.setLastUpdatedOn(IsoDate.format(new Date()));\n\n try {\n persistenceBean.updateAsset(id, existingAsset);\n } catch (InvalidJsonAssetException e) {\n // This should never happen, as the asset was retrieved from the persistence layer,\n // and the only changes were by us. Don't percolate the json exception, as that would\n // make it look like user error.\n throw new RepositoryException(\"JSON retrieved from asset store could not be save back again\", e);\n }\n\n }", "public void assignAsset(String name, int empID) {\n asset asset = getAssetById(empID);\n asset.setAssignmentStatus(\"Assigned\");\n asset.setAssignedEmployeeId(empID);\n saveOrUpdate(asset);\n }", "public void handleChangedAssets(Enumeration newAssets) {\n handleNewAssets (newAssets);\n }", "@Test\n public void addDeploymentArtifactInCompositionScreenTestApi() throws Exception {\n ResourceReqDetails vfMetaData = createVFviaAPI();\n\n //Go to Catalog and find the created VF\n CatalogUIUtilitis.clickTopMenuButton(TopMenuButtonsEnum.CATALOG);\n GeneralUIUtils.findComponentAndClick(vfMetaData.getName());\n\n ResourceGeneralPage.getLeftMenu().moveToCompositionScreen();\n\n ArtifactInfo artifact = new ArtifactInfo(filePath, \"Heat-File.yaml\", \"kuku\", \"artifact3\", \"OTHER\");\n CompositionPage.showDeploymentArtifactTab();\n CompositionPage.clickAddArtifactButton();\n ArtifactUIUtils.fillAndAddNewArtifactParameters(artifact, CompositionPage.artifactPopup());\n\n List<WebElement> actualArtifactList = GeneralUIUtils.getWebElementsListBy(By.className(\"i-sdc-designer-sidebar-section-content-item-artifact\"));\n AssertJUnit.assertEquals(1, actualArtifactList.size());\n }", "public void addArtifact(ArtifactModel artifact);", "public void saveOrUpdate(asset asset) {\n assetRepository.save(asset);\n }", "public EAsset() {\n this(DSL.name(\"E_ASSET\"), null);\n }", "public String assetType() {\n return assetType;\n }", "@Test\n public void addDeploymentArtifactAndVerifyInCompositionScreenApi() throws Exception {\n ResourceReqDetails vfMetaData = createVFviaAPI();\n\n //Go to Catalog and find the created VF\n CatalogUIUtilitis.clickTopMenuButton(TopMenuButtonsEnum.CATALOG);\n GeneralUIUtils.findComponentAndClick(vfMetaData.getName());\n\n ResourceGeneralPage.getLeftMenu().moveToDeploymentArtifactScreen();\n\n ArtifactInfo deploymentArtifact = new ArtifactInfo(filePath, \"asc_heat 0 2.yaml\", \"kuku\", \"artifact1\", \"OTHER\");\n DeploymentArtifactPage.clickAddNewArtifact();\n ArtifactUIUtils.fillAndAddNewArtifactParameters(deploymentArtifact);\n AssertJUnit.assertTrue(DeploymentArtifactPage.checkElementsCountInTable(1));\n\n ResourceGeneralPage.getLeftMenu().moveToCompositionScreen();\n\n CompositionPage.showDeploymentArtifactTab();\n List<WebElement> deploymentArtifactsFromScreen = CompositionPage.getDeploymentArtifacts();\n AssertJUnit.assertTrue(1 == deploymentArtifactsFromScreen.size());\n\n String actualArtifactFileName = deploymentArtifactsFromScreen.get(0).getText();\n AssertJUnit.assertTrue(\"asc_heat-0-2.yaml\".equals(actualArtifactFileName));\n }", "public void setAssets(nl.webservices.www.soap.GCRAssets assets) {\n this.assets = assets;\n }", "public void add_ab_to_storage(String ab_name, Ability ab){\n ab_store.put(ab_name, ab);\n }", "public static String addAssetInfo(Context context){\n\n p.setAssets(p.getAssets()-1);\n if(fullGame)DBHandler.setAssets(p.getAssets());\n\n String info =\"\";\n Random r = new Random();\n int reference = r.nextInt(f.getNumComp());\n info+= context.getString(R.string.InfoUser)+\"9001: \"; //\"USER 9001: \";\n\n info+=context.getString(R.string.Info1, f.getName(reference));\n\n if(f.isScam(reference)) {\n info += context.getString(R.string.InfoIlligalPos);\n if (Infos.contains(info)) return addCertainInfo(context, reference, 9001);\n if (MainActivity.Infos.contains(context.getString(R.string.noInfo)))\n MainActivity.Infos.remove(context.getString(R.string.noInfo));\n MainActivity.Infos.add(info);\n return info;\n }\n\n double a = f.getAvg(reference)/f.getCap(reference) - 1.0;\n if(a>0) {\n info+=context.getString(R.string.InfoShareUp);\n } else {\n info+=context.getString(R.string.InfoShareDown);\n }\n if (MainActivity.Infos.contains(context.getString(R.string.noInfo))) MainActivity.Infos.remove(context.getString(R.string.noInfo));\n\n if(!MainActivity.Infos.contains(info)){\n MainActivity.Infos.add(info);\n return info;\n } else {\n return addAssetInfo(context); //If the info is already given, get new info instead (recursive call)\n }\n }", "@TestRailCase(selfReporting = true, automationId = \"1000\")\n @Test(priority = 101, enabled = true)\n public void stockAsset0002() {\n num = rand.nextInt(1000000) + 1;\n repairAsset = \"A\" + num;\n serialNumber = \"S\" + num;\n stockAsset.execute(stockLDC, serializedPartCode, assetCode, serialNumber);\n Assert.assertEquals(stockAsset.getResult(), true);\n }", "public void saveMaterials() {\n\t}", "public void removeArtifact() {\r\n \t\tRationaleUpdateEvent l_updateEvent = m_eventGenerator.MakeUpdated();\r\n \t\tl_updateEvent.setTag(\"artifacts\");\r\n \t\tm_eventGenerator.Broadcast(l_updateEvent);\r\n \t}", "public boolean isAssetValid(T asset);", "void addArt(Art art);", "public void addResourceCard(HexType type){\n \n }", "protected abstract void addMaterialStats();", "public interface IItem extends IAction {\n\n\t/**\n\t * Additional bag option to handle quantity manifest\n\t * @return bagEmpty\n\t */\n\tpublic abstract boolean depleteItem();\n}", "public static APIAsset GetAPIAsset(HttpServletRequest request) throws Exception {\n\n //Assign values from textboxes/controls to Asset resource, and return Asset\n\n APIAsset API_Asset = new APIAsset();\n\n API_Asset.setAssetID(\"\".equals(request.getParameter(\"txtAssetID\")) ? null\n : new JAXBElement(new QName(API_Constants.NamespaceURI, \"AssetID\"), \"\".getClass(),\n request.getParameter(\"txtAssetID\")));\n\n API_Asset.setAssetName(\"\".equals(request.getParameter(\"txtAssetName\")) ? null\n : new JAXBElement(new QName(API_Constants.NamespaceURI, \"AssetName\"), \"\".getClass(),\n request.getParameter(\"txtAssetName\")));\n\n API_Asset.setAssetTag(\"\".equals(request.getParameter(\"txtAssetTag\")) ? null\n : new JAXBElement(new QName(API_Constants.NamespaceURI, \"AssetTag\"), \"\".getClass(),\n request.getParameter(\"txtAssetTag\")));\n\n API_Asset.setAssetTypeID(\"\".equals(request.getParameter(\"txtAssetTypeID\")) ? null\n : new JAXBElement(new QName(API_Constants.NamespaceURI, \"AssetTypeID\"), \"\".getClass(),\n request.getParameter(\"txtAssetTypeID\")));\n\n API_Asset.setConnType(\"\".equals(request.getParameter(\"txtConnType\")) ? null\n : new JAXBElement(new QName(API_Constants.NamespaceURI, \"ConnType\"), APIEnumAssetConnectionType.class,\n APIEnumAssetConnectionType.valueOf(APIEnumAssetConnectionType.fromValue(request.getParameter(\"txtConnType\")).toString())));\n\n API_Asset.setDateOfPurchase(\"\".equals(request.getParameter(\"txtDateOfPurchase\")) ? null\n : new JAXBElement(new QName(API_Constants.NamespaceURI, \"DateOfPurchase\"), XMLGregorianCalendar.class,\n DatatypeFactory.newInstance().newXMLGregorianCalendar(request.getParameter(\"txtDateOfPurchase\"))));\n\n API_Asset.setDriverID(\"\".equals(request.getParameter(\"txtDriverID\")) ? null\n : new JAXBElement(new QName(API_Constants.NamespaceURI, \"DriverID\"), \"\".getClass(),\n request.getParameter(\"txtDriverID\")));\n\n API_Asset.setIPAddress(\"\".equals(request.getParameter(\"txtIPAddress\")) ? null\n : new JAXBElement(new QName(API_Constants.NamespaceURI, \"IPAddress\"), \"\".getClass(),\n request.getParameter(\"txtIPAddress\")));\n\n API_Asset.setIPID(\"\".equals(request.getParameter(\"txtIPID\")) ? null\n : new JAXBElement(new QName(API_Constants.NamespaceURI, \"IPID\"), Integer.class,\n Integer.parseInt(request.getParameter(\"txtIPID\"))));\n\n API_Asset.setLastModified(\"\".equals(request.getParameter(\"txtLastModified\")) ? null\n : new JAXBElement(new QName(API_Constants.NamespaceURI, \"LastModified\"), XMLGregorianCalendar.class,\n DatatypeFactory.newInstance().newXMLGregorianCalendar(request.getParameter(\"txtLastModified\"))));\n\n API_Asset.setLastService(\"\".equals(request.getParameter(\"txtLastService\")) ? null\n : new JAXBElement(new QName(API_Constants.NamespaceURI, \"LastService\"), XMLGregorianCalendar.class,\n DatatypeFactory.newInstance().newXMLGregorianCalendar(request.getParameter(\"txtLastService\"))));\n\n API_Asset.setLifeSpanYears(\"\".equals(request.getParameter(\"txtLifeSpanYears\")) ? null\n : new JAXBElement(new QName(API_Constants.NamespaceURI, \"LifeSpanYears\"), Integer.class,\n Integer.parseInt(request.getParameter(\"txtLifeSpanYears\"))));\n\n API_Asset.setMACAddress(\"\".equals(request.getParameter(\"txtMACAddress\")) ? null\n : new JAXBElement(new QName(API_Constants.NamespaceURI, \"MACAddress\"), \"\".getClass(),\n request.getParameter(\"txtMACAddress\")));\n\n API_Asset.setMaintenanceContractID(\"\".equals(request.getParameter(\"txtMaintenanceContractID\")) ? null\n : new JAXBElement(new QName(API_Constants.NamespaceURI, \"MaintenanceContractID\"), \"\".getClass(),\n request.getParameter(\"txtMaintenanceContractID\")));\n\n API_Asset.setMake(\"\".equals(request.getParameter(\"txtMake\")) ? null\n : new JAXBElement(new QName(API_Constants.NamespaceURI, \"Make\"), \"\".getClass(),\n request.getParameter(\"txtMake\")));\n\n API_Asset.setModel(\"\".equals(request.getParameter(\"txtModel\")) ? null\n : new JAXBElement(new QName(API_Constants.NamespaceURI, \"Model\"), \"\".getClass(),\n request.getParameter(\"txtModel\")));\n\n API_Asset.setNotes(\"\".equals(request.getParameter(\"txtNotes\")) ? null\n : new JAXBElement(new QName(API_Constants.NamespaceURI, \"Notes\"), \"\".getClass(),\n request.getParameter(\"txtNotes\")));\n\n API_Asset.setPassword(\"\".equals(request.getParameter(\"txtPassword\")) ? null\n : new JAXBElement(new QName(API_Constants.NamespaceURI, \"Password\"), \"\".getClass(),\n request.getParameter(\"txtPassword\")));\n\n API_Asset.setPort(\"\".equals(request.getParameter(\"txtPort\")) ? null\n : new JAXBElement(new QName(API_Constants.NamespaceURI, \"Port\"), Integer.class,\n Integer.parseInt(request.getParameter(\"txtPort\"))));\n\n API_Asset.setRoomID(\"\".equals(request.getParameter(\"txtRoomID\")) ? null\n : new JAXBElement(new QName(API_Constants.NamespaceURI, \"RoomID\"), \"\".getClass(),\n request.getParameter(\"txtRoomID\")));\n\n API_Asset.setSSL(\"\".equals(request.getParameter(\"txtSSL\")) ? null\n : new JAXBElement(new QName(API_Constants.NamespaceURI, \"SSL\"), Boolean.class,\n Boolean.parseBoolean(request.getParameter(\"txtSSL\"))));\n\n API_Asset.setSerialNumber(\"\".equals(request.getParameter(\"txtSerialNumber\")) ? null\n : new JAXBElement(new QName(API_Constants.NamespaceURI, \"SerialNumber\"), \"\".getClass(),\n request.getParameter(\"txtSerialNumber\")));\n\n API_Asset.setServiceInterval(\"\".equals(request.getParameter(\"txtServiceInterval\")) ? null\n : new JAXBElement(new QName(API_Constants.NamespaceURI, \"ServiceInterval\"), Integer.class,\n Integer.parseInt(request.getParameter(\"txtServiceInterval\"))));\n\n API_Asset.setServiceIntervalIncrement(\"\".equals(request.getParameter(\"txtServiceIntervalIncrement\")) ? null\n : new JAXBElement(new QName(API_Constants.NamespaceURI, \"ServiceIntervalIncrement\"), \"\".getClass(),\n request.getParameter(\"txtServiceIntervalIncrement\")));\n\n API_Asset.setStatus(\"\".equals(request.getParameter(\"txtStatus\")) ? null\n : new JAXBElement(new QName(API_Constants.NamespaceURI, \"Status\"), APIEnumAssetStatus.class,\n APIEnumAssetStatus.valueOf(APIEnumAssetStatus.fromValue(request.getParameter(\"txtStatus\")).toString())));\n\n API_Asset.setWarrantyExpiration(\"\".equals(request.getParameter(\"txtWarrantyExpiration\")) ? null\n : new JAXBElement(new QName(API_Constants.NamespaceURI, \"WarrantyExpiration\"), XMLGregorianCalendar.class,\n DatatypeFactory.newInstance().newXMLGregorianCalendar(request.getParameter(\"txtWarrantyExpiration\"))));\n\n\n return API_Asset;\n\n }", "public void giveResourcesToPlayer(Resource resource){\n resources.addResource(resource);\n }", "void addAction(Action a) {\n ensureNotFrozen();\n ineligibleActions.add(a);\n }", "public void addPet() {\n floatingActionButton.hide();\n changeFragment(getFragment(RegisterPetFragment.class));\n toolbar.setTitle(getString(R.string.register_new_pet));\n }", "protected void handleCreateAsset(Optional<T> asset) {\n JFrame frame = new JFrame(assetName + \" Editor\");\n frame.add(getEditorPanel(asset, frame), BorderLayout.CENTER);\n \n // Display the window.\n frame.pack();\n frame.setVisible(true);\n\t}", "public UpdateAssetAttributesResponse process(UpdateAssetAttributesRequest request) {\n Registry wso2 = RSProviderUtil.getRegistry();\n List<CommonErrorData> errorDataList = new ArrayList<CommonErrorData>();\n UpdateAssetAttributesResponse response = new UpdateAssetAttributesResponse();\n\n try {\n AssetKey assetKey = request.getAssetKey();\n BasicAssetInfo basicInfo = populateMinBasicAssetInfo(assetKey);\n\n AssetFactory factory = new AssetFactory(basicInfo, wso2);\n Asset asset = factory.createAsset();\n\n if (!asset.exists()) {\n return createAssetNotFoundError(errorDataList, response);\n }\n\n asset.findAsset();\n if (!asset.isLocked()) {\n asset.lockAsset();\n asset.save();\n }\n\n // get the existing assetInfo\n AssetInfo assetInfo = getAssetInfo(asset);\n\n if (assetInfo == null) {\n return createAssetTypeException(errorDataList, response);\n }\n\n ExtendedAssetInfo extInfo = request.getExtendedAssetInfo();\n List<AttributeNameValue> attributes = extInfo.getAttribute();\n List<String> respattrs = response.getAttributeName();\n\n if (attributes.size() > 0) {\n if (request.isReplaceCurrent()) {\n replaceAllAttributes(asset, attributes, respattrs);\n } else {\n mergeAttributes(asset, attributes, respattrs);\n }\n asset.save();\n }\n\n // populate the response\n response.setVersion(assetInfo.getBasicAssetInfo().getVersion());\n return RSProviderUtil.setSuccessResponse(response);\n\n } catch (Exception ex) {\n return RSProviderUtil.handleException(ex, response,\n RepositoryServiceErrorDescriptor.SERVICE_PROVIDER_EXCEPTION);\n }\n\n }", "public abstract BossBar addPlayer(UUID player);", "public void lockAdd(){\n\t\tthis.canAdd = false;\n\t}", "void addHadithVolumeNo(Object newHadithVolumeNo);", "boolean hasCampaignAsset();", "public AssetElements getAssetAccess() {\n\t\treturn pAsset;\n\t}", "private void useInventoryByAI() {\n\t\tChampion AI = currentTask.getCurrentChamp();\n\t\tArrayList<Collectible> inventory = ((Wizard)AI).getInventory();\n\t\tif(inventory.size()>0){\n\t\t\tint randomPotion = (int)(Math.random()*inventory.size());\n\t\t\tcurrentTask.usePotion((Potion)inventory.get(randomPotion));\n\t\t}\n\n\t\t\n\t}", "public void add(String name) {\n File f = new File(name);\n if (!f.exists()) {\n Utils.message(\"File does not exist.\");\n throw new GitletException();\n }\n Blob blob = new Blob(f);\n untracked.remove(name);\n HashMap<String, Blob> files = head.getContents();\n if (files.containsKey(name)\n && files.get(name).getContent().equals(blob.getContent())) {\n return;\n } else if (!(files.containsKey(name) && files.get(name).equals(blob))) {\n stagingarea.put(blob.getName(), blob);\n File stagefile = Utils.join(staging, blob.getHash());\n Utils.writeObject(stagefile, blob);\n }\n\n }", "@Test\n public void patchesAsset() throws Exception {\n try (\n final MkContainer container = new MkGrizzlyContainer().next(\n new MkAnswer.Simple(HttpURLConnection.HTTP_OK, \"\")\n ).start(this.resource.port())\n ) {\n final RtReleaseAsset asset = new RtReleaseAsset(\n new ApacheRequest(container.home()),\n release(),\n 2\n );\n final JsonObject json = Json.createObjectBuilder()\n .add(\"name\", \"hello\").build();\n asset.patch(json);\n final MkQuery query = container.take();\n MatcherAssert.assertThat(\n query.method(), Matchers.equalTo(Request.PATCH)\n );\n MatcherAssert.assertThat(\n query.body(),\n Matchers.containsString(\"{\\\"name\\\":\\\"hello\\\"}\")\n );\n MatcherAssert.assertThat(\n query.uri().toString(),\n Matchers.endsWith(\"/repos/john/blueharvest/releases/assets/2\")\n );\n container.stop();\n }\n }", "public void add(Avion avion)\n\t{\n\t}", "org.hl7.fhir.Attachment addNewValueAttachment();", "@EventHandler\n\tpublic void onClick(InventoryClickEvent e){\n\t\tInventory inv = e.getInventory();\n\t\tPlayer p = (Player) e.getWhoClicked();\n\t\tif(inv.getName().equals(ChatColor.AQUA+\"EffectGui\")){\n\t\t\n\t\t\tif(e.getSlot() == 0){\n\t\t\t\tPacketUtils.sendTitle(p, ChatColor.RED+\"Flame Effect\", \"Has Been Enabled\", 1, 2, 1);\n\t\t\t\tflame.add(p.getUniqueId());\n\t\t\t\tgetConfig().set(p.getName()+\"'s Flame.enabled\", \"yes\");\n\t\t\t\tsaveConfig();\n\t\t\t\tp.closeInventory();\n\t\t\t\te.setCancelled(true);\n\t\t\t}\n\t\t\t\n\t\t\tif(e.getSlot() == 1){\n\t\t\t\tPacketUtils.sendTitle(p, ChatColor.RED+\"Flame Effect\", \"Has Been Disabled\", 1, 2, 1);\n\t\t\t\tflame.remove(p.getUniqueId());\n\t\t\t\tgetConfig().set(p.getName()+\"'s Flame.enabled\", \"no\");\n\t\t\t\tsaveConfig();\n\t\t\t\tp.closeInventory();\n\t\t\t\te.setCancelled(true);\n\t\t\t}\n\t\t\n\t\t}\n}", "public EAsset(Name alias) {\n this(alias, E_ASSET);\n }", "@Override\r\n\tpublic void removeItem(String absPath) throws VersionException,\r\n\t\t\tLockException, ConstraintViolationException, AccessDeniedException,\r\n\t\t\tRepositoryException {\n\t\t\r\n\t}", "@Override\n public <L> void resourcesAdded(InventoryEvent<L> event) {\n return;\n }", "public String changeUnlockSound(String asset) {\n\t\ttry {\n\n\t\t\tString[] hin1 = { \"su\", \"-c\",\n\t\t\t\t\t\"cp \" + UNLOCK_SOUND + \" \" + UNLOCK_SOUND_COPY };\n\n\t\t\tRuntime.getRuntime().exec(hin1).waitFor();\n\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\ttry {\n\t\t\tAssetManager assetManager = cntx.getAssets();\n\t\t\tString[] files = null;\n\n\t\t\tfiles = assetManager.list(\"\");\n\n\t\t\tboolean exists = false;\n\t\t\tfor (String filename : files) {\n\t\t\t\tLog.d(\"ASSETS\", \"name \" + filename);\n\t\t\t\tif (filename.equalsIgnoreCase(asset)) {\n\t\t\t\t\texists = true;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (exists) {\n\t\t\t\tFileUtil f = new FileUtil(cntx);\n\t\t\t\tf.copyAsset(asset, UNLOCK_SOUND);\n\t\t\t\treturn MESSAGE_OK;\n\t\t\t} else {\n\t\t\t\tLog.d(\"ASSETS\", \"don't exist this asset for sound\");\n\n\t\t\t\treturn MESSAGE_ERROR;\n\t\t\t}\n\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\n\t\t}\n\t\treturn MESSAGE_ERROR;\n\t}", "int getAssetValue();", "public void addItemInventory(Item item){\n playerItem.add(item);\n System.out.println(item.getDescription() + \" was taken \");\n System.out.println(item.getDescription() + \" was removed from the room\"); // add extra information to inform user that the item has been taken\n }", "public void addCard(Card cardToAdd) {\n storageCards.add(cardToAdd);\n }", "public void delete(int id){\n assetRepository.deleteById(id);\n }", "@Test\n public void addUpdateDeleteDeploymentArtifactToVfTestApi() throws Exception {\n ResourceReqDetails vfMetaData = createVFviaAPI();\n\n //Go to Catalog and find the created VF\n CatalogUIUtilitis.clickTopMenuButton(TopMenuButtonsEnum.CATALOG);\n GeneralUIUtils.findComponentAndClick(vfMetaData.getName());\n\n ResourceGeneralPage.getLeftMenu().moveToDeploymentArtifactScreen();\n\n List<ArtifactInfo> deploymentArtifactList = new ArrayList<ArtifactInfo>();\n deploymentArtifactList.add(new ArtifactInfo(filePath, \"asc_heat 0 2.yaml\", \"kuku\", \"artifact1\", \"OTHER\"));\n deploymentArtifactList.add(new ArtifactInfo(filePath, \"sample-xml-alldata-1-1.xml\", \"cuku\", \"artifact2\", \"YANG_XML\"));\n for (ArtifactInfo deploymentArtifact : deploymentArtifactList) {\n DeploymentArtifactPage.clickAddNewArtifact();\n ArtifactUIUtils.fillAndAddNewArtifactParameters(deploymentArtifact);\n }\n AssertJUnit.assertTrue(\"artifact table does not contain artifacts uploaded\", DeploymentArtifactPage.checkElementsCountInTable(deploymentArtifactList.size()));\n\n String newDescription = \"new description\";\n DeploymentArtifactPage.clickEditArtifact(deploymentArtifactList.get(0).getArtifactLabel());\n DeploymentArtifactPage.artifactPopup().insertDescription(newDescription);\n DeploymentArtifactPage.artifactPopup().clickDoneButton();\n String actualArtifactDescription = DeploymentArtifactPage.getArtifactDescription(deploymentArtifactList.get(0).getArtifactLabel());\n AssertJUnit.assertTrue(\"artifact description is not updated\", newDescription.equals(actualArtifactDescription));\n\n DeploymentArtifactPage.clickDeleteArtifact(deploymentArtifactList.get(0).getArtifactLabel());\n DeploymentArtifactPage.clickOK();\n AssertJUnit.assertTrue(\"artifact \" + deploymentArtifactList.get(0).getArtifactLabel() + \"is not deleted\", DeploymentArtifactPage.checkElementsCountInTable(deploymentArtifactList.size() - 1));\n\n AssertJUnit.assertTrue(\"artifact \" + deploymentArtifactList.get(1).getArtifactLabel() + \"is not displayed\", DeploymentArtifactPage.clickOnArtifactDescription(deploymentArtifactList.get(1).getArtifactLabel()).isDisplayed());\n }", "boolean addSteam(ItemStack me, int amount, EntityPlayer player);", "public static void add() {\n Application.currentUserCan( 1 );\n render();\n }", "boolean add( Software s );", "public void saveAsset() throws IOException {\n file.saveAsset();\n }", "public static String requestAsset(String file) {\n\t\tString newFile = GEN_FOLDER + file;\n\t\tif (assetExists(newFile)){\n\t\t\treturn newFile;\n\t\t}\n\t\tif (!assetExists(file)){\n\t\t\tLog.warn(\"Error requesting asset (maybe its internal):\"+file);\n\t\t\treturn file;\n\t\t}\n\t\t\t\n\t\tif (!CRJavaUtils.isRelease()) {\n\t\t\tif (!assetExists(newFile)) {\n\t\t\t\tcopyAsset(file, newFile);\n\t\t\t}\n\t\t}\n\t\treturn newFile;\n\t}", "boolean add(SysFile model);", "void addElementToInventory(String elementName);", "public void addStorageCard(com.hps.july.persistence.StorageCard arg0) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException {\n\n instantiateEJB();\n ejbRef().addStorageCard(arg0);\n }", "protected void addAllowedArmor(Material armor) {\r\n\t\tthis.allowedArmor.add(armor);\r\n\t}", "com.google.ads.googleads.v6.resources.Asset getAsset();" ]
[ "0.63746345", "0.62155205", "0.61063427", "0.5860429", "0.58469146", "0.5798075", "0.5751032", "0.57099766", "0.5636821", "0.55928797", "0.5498845", "0.5486502", "0.5473161", "0.5461573", "0.545047", "0.54318434", "0.5430704", "0.53940487", "0.5344006", "0.53357774", "0.53271997", "0.53244543", "0.5324309", "0.530597", "0.5295562", "0.5293321", "0.52889895", "0.52865076", "0.52537256", "0.52311903", "0.5204522", "0.5203059", "0.5199222", "0.5194103", "0.51932675", "0.518793", "0.5184217", "0.51673025", "0.51564384", "0.5137796", "0.5128385", "0.5114889", "0.51116395", "0.5097655", "0.5090752", "0.50882834", "0.50830567", "0.5073909", "0.5063134", "0.504867", "0.5045954", "0.5038387", "0.5035913", "0.5024085", "0.5015884", "0.5008025", "0.49990168", "0.49872658", "0.498571", "0.49817616", "0.4978118", "0.49778417", "0.49710095", "0.4968426", "0.4965751", "0.49622098", "0.49516565", "0.49485567", "0.4940264", "0.49397764", "0.4927252", "0.4921286", "0.49151868", "0.49147543", "0.49111038", "0.4909461", "0.4908973", "0.4906015", "0.48911905", "0.48871088", "0.48816708", "0.4872893", "0.48693258", "0.48655865", "0.48633552", "0.48586628", "0.48517165", "0.4848571", "0.48474547", "0.48440275", "0.48408642", "0.48384932", "0.48373848", "0.48315528", "0.48262113", "0.48215592", "0.48190188", "0.4815885", "0.48138708", "0.4813778" ]
0.71681696
0
Publish message to each enabled service
@Async public void publishMessage(QPEvent event) throws Exception { if(webhookService.isEnabled()) { log.debug("Webhook service enabled, publishing..."); webhookService.publishMessage(event); } if(websocketService.isEnabled()) { log.debug("Websocket service enabled, publishing..."); websocketService.publishMessage(event); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int publishToAll(Message message);", "Collection<Service> getAllSubscribeService();", "protected void connectEnrichers() {\n \n subscribeToMembers(this, SERVICE_UP, new SensorEventListener<Boolean>() {\n @Override public void onEvent(SensorEvent<Boolean> event) {\n setAttribute(SERVICE_UP, calculateServiceUp());\n }\n });\n }", "public PartialFunction<Object, BoxedUnit> publishingEnabled(Optional<IEventService> eventService,\n\t\t\tOptional<ITelemetryService> telemetryService) {\n\t\treturn ReceiveBuilder\n\t\t\t\t.match(McsPosDemand.class, t -> publishMcsPositionDemand(eventService, t.configKey, t.azItem, t.elItem))\n\t\t\t\t.match(EcsPosDemand.class, t -> publishEcsPositionDemand(eventService, t.configKey, t.azItem, t.elItem))\n\t\t\t\t.match(M3PosDemand.class,\n\t\t\t\t\t\tt -> publishM3PositionDemand(eventService, t.configKey, t.rotationItem, t.tiltItem))\n\t\t\t\t.match(LocationService.Location.class,\n\t\t\t\t\t\tlocation -> handleLocations(location, eventService, telemetryService))\n\t\t\t\t.matchAny(t -> log.warning(\"Inside TpkEventPublisher Unexpected message in publishingEnabled: \" + t)).\n\n\t\t\t\tbuild();\n\t}", "void publish(Message message, PubSubService pubSubService);", "@Override\n public void publish(PubSubObject pbObj, PubSubService pubSubService) {\n pubSubService.addObjectToQueue(pbObj);\n }", "private static void send() {\n Map<String, ArrayList<Event>> eventsByStream = new HashMap<>();\n for (Event event : QUEUE) {\n String stream = event.getStream();\n if (!eventsByStream.containsKey(stream) || eventsByStream.get(stream) == null) {\n eventsByStream.put(stream, new ArrayList<>());\n }\n eventsByStream.get(stream).add(event);\n }\n for (String stream : eventsByStream.keySet()) {\n if (Prefs.INSTANCE.isEventLoggingEnabled()) {\n sendEventsForStream(STREAM_CONFIGS.get(stream), eventsByStream.get(stream));\n }\n }\n }", "public boolean canSendNotifications() {\n return serviceEnabled;\n }", "public void onServiceConnected() {\r\n\t\tapiEnabled = true;\r\n\r\n\t\t// Display the list of calls\r\n\t\tupdateList();\r\n }", "private void registerWithService() {\n\n try {\n\n Message msg = Message.obtain(null, TallyDeviceService.MSG_REGISTER_MESSAGE_ACTIVITY);\n if (msg == null) { return; }\n msg.obj = this;\n msg.replyTo = messenger;\n service.send(msg);\n\n } catch (Exception e) {\n Log.e(LOG_TAG, \"Line 306 :: \" + e.getMessage());\n service = null;\n }\n\n }", "private void triggerDiscoveryAndScheduleEventService(UUID serviceUuid) {\n triggerDiscovery(serviceUuid);\n subscribeAndScheduleEventService(serviceUuid);\n }", "private void publish() {\n Log.i(TAG, \"Publishing\");\n PublishOptions options = new PublishOptions.Builder()\n .setStrategy(PUB_SUB_STRATEGY)\n .setCallback(new PublishCallback() {\n @Override\n public void onExpired() {\n super.onExpired();\n Log.i(TAG, \"No longer publishing\");\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n mPublishSwitch.setChecked(false);\n }\n });\n }\n }).build();\n\n Nearby.Messages.publish(mGoogleApiClient, mPubMessage, options)\n .setResultCallback(new ResultCallback<Status>() {\n @Override\n public void onResult(@NonNull Status status) {\n if (status.isSuccess()) {\n Log.i(TAG, \"Published successfully.\");\n } else {\n logAndShowSnackbar(\"Could not publish, status = \" + status);\n mPublishSwitch.setChecked(false);\n }\n }\n });\n }", "public void transmitEvents(){\n Log.info(\"Transmitting Events\", EventShare.class);\n for(Entry<Class, List<EventTrigger>> eventGroup: HandlerRegistry.getHandlers().entrySet()){\n String annotation = eventGroup.getKey().getName();\n for(EventTrigger trigger : eventGroup.getValue()){\n if(trigger.getServer()!=this) { // do not send own events...\n if(trigger.getMethod()!=null){ // its a local event\n if(trigger.getMethod().isAnnotationPresent(ES.class)){\n try {\n eventBusServer.write(new ESSharedEvent(annotation, trigger.getTrigger()));\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n }else {\n try {\n eventBusServer.write(new ESSharedEvent(annotation, trigger.getTrigger()));\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n }\n }\n }\n }", "public abstract void enableSubscribes(boolean paramBoolean);", "@Override\n public void broadcast(T msg) {\n for (Integer i : activeUsers.keySet()) {\n this.send(Integer.valueOf(i), msg);\n }\n\n }", "void publish();", "@Override\n\tprotected void handleServiceConnected()\n\t{\n\t\t\n\t}", "Collection<Service> getAllPublishedService();", "@Scheduled(fixedRate=20000)\n\tpublic void generateMessages()\n\t{\t\t\n\t\tsynchronized (map_)\n\t\t{\n\t\t\tif (!map_.isEmpty())\n\t\t\t{\n\t\t\t\tint index = generateIndex(map_.size());\n\t\t\t\tint messageIdx = generateIndex(1000);\n\t\t\t\tString topic = topics_.get(index);\n\t\t\t\tBroadcaster b = map_.get(topic);\n\t\t\t\tUserDTO dto = dtoMap_.get(topic);\n\t\t\t\tdto.setAvailability(\"\" + messageIdx);\n\t\t\t\tString stringified;\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\tstringified = mapper_.writeValueAsString(dto);\n\t\t\t\t\tSystem.out.println(\"broadcasting to topic \" + topic + \" message: \" + stringified);\n\t\t\t\t\tb.broadcast(stringified);\n\t\t\t\t} catch (JsonGenerationException e)\n\t\t\t\t{\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t} catch (JsonMappingException e)\n\t\t\t\t{\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t} catch (IOException e)\n\t\t\t\t{\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\telse\n\t\t\t{\n\t\t\t\tSystem.out.println(\"publisher map was empty, skipping this time\");\n\t\t\t}\n\t\t}\n\t}", "public void onServiceRegistered() {\r\n \t// Nothing to do here\r\n }", "private void send() {\n vertx.eventBus().publish(GeneratorConfigVerticle.ADDRESS, toJson());\n }", "public interface OnMessagingServiceConnetcedListenner {\n void onServiceConnected();\n}", "@Override\n\tpublic void sendBroadcast(Broadcast b) {\n\t\tArrayList<MicroService> a = registrationHashMap.get(b);\n\t\t// adding the broadcast message to the queue of each microservice on the subscribed list\n\t\tfor (Object o : a) {\n\t\t\tint index = registeredMicroservice.indexOf(o);\n\t\t\tmicroserviceMessageQueue.get(index).add(b);\n\t\t}\n\t}", "@Override\n public void onServiceConnected(ComponentName className,\n IBinder service) {\n WebsocketService.WebsocketBinder binder = (WebsocketService.WebsocketBinder) service;\n mService = binder.getService();\n mWebsocketServiceBound = true;\n\n if (mAvatarUrl == null) {\n mAvatarUrl = mService.getAvatarUrl();\n }\n\n mRoomName = mService.getCurrentRoomName();\n\n ArrayList<User> users = mService.getUsersInRoom(mRoomName.equals(getString(R.string.default_room)) ? \"\" : mRoomName);\n\n ArrayList<ChatItem> messages = mService.getMessages(mRoomName.equals(getString(R.string.default_room)) ? \"\" : mRoomName);\n\n if (messages != null && users != null) {\n HashMap<String, User> userMap = new HashMap<>();\n for (User user : users) {\n userMap.put(user.Id, user);\n }\n\n clearMessages();\n for (ChatItem chatItem : messages) {\n User user = userMap.get(chatItem.Id);\n if (user != null) {\n addMessage(chatItem, user, false);\n }\n else {\n // self\n user = userMap.get(chatItem.getRecipient());\n addMessage(chatItem, user, false);\n }\n\n }\n\n prepareChatDisplay();\n }\n }", "@Override\r\n\t\tpublic void onServiceConnected(ComponentName className, IBinder service) {\n\t\t\ttry {\r\n\t\t\t\tmSpiderX = SpiderX.Stub.asInterface(service);\r\n\t\t\t\tif(mSpiderX != null && spiderCallback != null){\r\n\t\t\t\t\tmSpiderX.setSpiderCallBack(spiderCallback);\r\n\t\t\t\t}\r\n\t\t\t\tfor(EventBus handler:mEventBus){\r\n\t\t\t\t\thandler.onEvent(TYPE_SERVICEBINDER_SUCESS,\"\",\"\");\r\n\t\t\t\t}\r\n\t\t\t} catch (RemoteException e) {\r\n\t\t\t\tLog.d(TAG, \" \"+e);\r\n\t\t\t}\r\n\t\t}", "public abstract boolean isSubscribesEnabled();", "@Override\n public void notifyServiceCreated(){\n List<Fragment> frags = getChildFragmentManager().getFragments();\n for(Fragment frag : frags){\n if(frag instanceof BasePanelFragment){\n ((BasePanelFragment)frag).notifyServiceCreated();\n }\n }\n }", "@Override\n public void publish(Object event) {\n System.out.println(\"Sending Event\");\n\n List<Hub> hubList = hubFacade.findAll();\n Iterator<Hub> it = hubList.iterator();\n while (it.hasNext()) {\n Hub hub = it.next();\n restEventPublisher.publish(hub, event);\n\n\n //Thread.currentThread().sleep(1000);\n }\n System.out.println(\"Sending Event After\");\n }", "boolean addServiceSubscriber(Service service, Subscriber subscriber);", "private void registerWithNotificationHubs() {\n Intent intent = new Intent(this, RegistrationIntentService.class);\n startService(intent);\n }", "@Override\r\n public void onSdlEnabled(Context context, Intent intent) {\n\r\n LogHelper.d(TAG, \"onSdlEnabled\");\r\n\r\n intent.setClass(context, MultiSdlService.class);\r\n context.startService(intent);\r\n }", "@Inject\n public ChatMessageEventsSubscriber(ChannelService channelService) {\n channelService.createdChannelTopic()\n .subscribe()\n .atLeastOnce(Flow.fromFunction((ChannelEvent channelEvent) -> {\n logger.info(\"CHAT MESSAGE EVENT: new Channel created \" + channelEvent);\n return Done.getInstance();\n }));\n\n channelService.updatedChannelTopic()\n .subscribe()\n .atLeastOnce(Flow.fromFunction((ChannelEvent event) -> {\n logger.info(\"CHAT MESSAGE EVENT: Channel updated \" + event);\n return Done.getInstance();\n })\n );\n }", "@Override\n public void onServiceConnected(ComponentName name, IBinder service) {\n\n messengerService = new Messenger(service);\n messengerServiceBound = true;\n }", "public void doService() {\n EventManager eventManager = new EventManager();\n while (!queue.isEmpty()) {\n Event firstEvent = queue.poll();\n if (!(firstEvent instanceof ServerBackEvent) &&\n !(firstEvent instanceof ServerRestEvent)) {\n System.out.println(firstEvent);\n } \n Event nextEvent = eventManager.getNext(servers, gen, firstEvent, stats, probability);\n if (nextEvent != null) {\n queue.add(nextEvent);\n }\n }\n System.out.println(stats);\n \n\n }", "public void serviceAdded(ServiceDescription service) {\n System.out.println(\"service added\");\n current = service;\n //set up channel to communicate with server\n //multiple beds -> multiple channels\n channel = ManagedChannelBuilder.forAddress(service.getAddress(), service.getPort())\n .usePlaintext(true)\n .build();\n\n //To call service methods, we first need to create a stub, \n //a blocking/synchronous stub: this means that the RPC call waits for the server to respond, \n //and will either return a response or raise an exception.\n blockingStub = ProjectorGrpc.newBlockingStub(channel);\n\n activateProjector();\n //listInputs();\n\n }", "public interface SendOutService {\n\n String BEAN_NAME = \"SendOutService\";\n\n /**\n * Returns all the sendInfo nodes associated with given document.\n *\n * @param document document NodeRef\n * @return list of sendInfo nodes associated with given document\n */\n List<SendInfo> getDocumentSendInfos(NodeRef document);\n\n /**\n * Update searchable send info properties according to document's sendInfo child nodes\n *\n * @param document document NodeRef\n */\n void updateSearchableSendInfo(NodeRef document);\n\n /**\n * Build searchable send info data from document's sendInfo child nodes\n *\n * @param document document NodeRef\n * @return Map with documents properties populated with document's sendInfo values\n */\n Map<QName, Serializable> buildSearchableSendInfo(NodeRef document);\n\n /**\n * Sends out document.\n * Inspects all the given recipients and based on send mode sends out the document through DVK to those who support it (based on addressbook) and through email to others.\n * Registers sendInfo child entries under document and checks if given document is a reply outgoing letter and updates originating document info if needed.\n *\n * @param document subject document for sending out\n * @param names list of recipient names\n * @param emails list of recipient email addresses\n * @param modes list of recipient send modes\n * @param idCodes TODO\n * @param fromEmail from email address\n * @param subject mail subject\n * @param content mail content text\n * @param zipIt if attachments should be zipped into single file, or sent as separate files\n * @param fileNodeRefs list of file node refs as strings to match those files which should be sent out as attachments from given document\n * @return true\n */\n boolean sendOut(NodeRef document, List<String> names, List<String> emails, List<String> modes, List<String> idCodes, List<String> encryptionIdCodes, List<X509Certificate> allCertificates, \n \t\tString fromEmail, String subject, String content, List<NodeRef> fileRefs, boolean zipIt);\n\n /** @return {@code List<Pair<recipientName, recipientRegistrationNr>> } */\n List<Pair<String, String>> forward(NodeRef document, List<String> names, List<String> emails, List<String> modes, String fromEmail, String content, List<NodeRef> fileRefs);\n\n NodeRef addSendinfo(NodeRef document, Map<QName, Serializable> props);\n\n /**\n * If updateSearchableSendInfo is false then updateSearchableSendInfo() must manually be called later\n */\n NodeRef addSendinfo(NodeRef document, Map<QName, Serializable> props, boolean updateSearchableSendInfo);\n\n List<ContentToSend> prepareContents(NodeRef document, List<NodeRef> fileRefs, boolean zipIt) throws Exception;\n \n List<ContentToSend> prepareContents(List<EmailAttachment> attachments);\n\n void addSapSendInfo(Node document, String dvkId);\n\n boolean hasDocumentSendInfos(NodeRef document);\n\n Long sendForInformation(List<String> authorityIds, Node docNode, String emailTemplate, String subject, String content);\n\n Date getEarliestSendInfoDate(NodeRef docRef);\n\n}", "public interface IMessageService {\n\n /**\n * Notifies subscribed clients with the given message.\n *\n * @param m Message (e.g. object, status, warning)\n */\n void notify(Message m);\n\n /**\n * Notifies subscribed clients with the given message.\n *\n * @param m Message (e.g. object, status, warning)\n */\n void notify(PushMessage m);\n\n /**\n * Notifies subscribed clients with the given message and push-type (e.g. ALERT)\n * \n * @param data message which should be send to the client\n * @param type type of the notification (manual step, ...)\n */\n void notify(String data, PushType type);\n\n /**\n * Subscribes a client for push-notifications.\n *\n * @param id id of the client (address)\n */\n void subscribe(String id);\n\n /**\n * unsubscribes a client for push-notifications.\n *\n * @param id id of the client (address)\n */\n void unsubscribe(String id);\n\n /**\n * Informs all subscribed devices that something went wrong and the brewing process wasnt\n * successfull and could cause damage\n * \n * @param text message which should be shown to the user\n */\n void alarm(String text);\n}", "@Override\n public void notifyServiceIsBound() {\n getAllExercises();\n }", "public interface ServicesManager {\n\tCompletable sendGCMToken();\n\n\tCompletable clearGCMToken();\n}", "public void StartAllServices()\n\t{\n\t\tm_oCommServ.StartCmdService(m_oConfig.CmdPort()); //Giving introducer port here\n\t\t// bring up the heartbeat receiver\n\t\tm_oCommServ.StartHeartBeatRecvr();\n\t\t//breing up the file report recvr\n\t\tm_oCommServ.StartFileReportRecvr();\n\t}", "void publishMe();", "@Override\n public void onServiceConnected(ComponentName name, IBinder service)\n {\n mEngagementService = IEngagementService.Stub.asInterface(service);\n\n /* We are not binding anymore */\n mBindingService = false;\n\n /* Send pending commands */\n for (Runnable cmd : mPendingCmds)\n cmd.run();\n mPendingCmds.clear();\n\n /* Schedule unbind (if not in session) */\n scheduleUnbind();\n }", "public void onServiceConnected(ComponentName className, IBinder service) {\n \tmServiceMessenger = new Messenger(service);\r\n // We want to monitor the service for as long as we are\r\n // connected to it.\r\n try {\r\n Message message = Message.obtain(null, WATCHiTServiceInterface.REGISTER_CLIENT);\r\n message.replyTo = mMessenger;\r\n mServiceMessenger.send(message);\r\n } catch (RemoteException e) {\r\n // In this case the service has crashed before we could even\r\n // do anything with it; we can count on soon being\r\n // disconnected (and then reconnected if it can be restarted)\r\n // so there is no need to do anything here.\r\n }\r\n // Toast.makeText(MainActivity.this, R.string.remote_service_bound, Toast.LENGTH_SHORT).show();\r\n }", "@Override\r\n\tpublic void sendNotifications() {\n\r\n\t}", "Set<ServiceProducer> getAllServiceProviders();", "private void send(Iterable<T> aMessages) {\n for (Listener<T> myL : _listeners)\n myL.arrived(aMessages);\n }", "@Override\n\tpublic void streamingServiceListUpdate() {\n\t\t\n\t}", "@Override\n public void onServiceConnected(ComponentName name, IBinder service) {\n System.out.println(\"绑定成功\");\n }", "public static synchronized void setEnabled(boolean enabled) {\n ENABLED = enabled;\n\n if (ENABLED) {\n /*\n * Try immediately to send any enqueued items. Otherwise another\n * item must be enqueued before sending is triggered.\n */\n OutputBuffer.sendAllScheduled();\n }\n }", "@Override\n public void doService(AdaptrisMessage msg) throws ServiceException {\n String serviceKey = createServiceKey(msg);\n String nextServiceId = valueMatcher.getNextServiceId(serviceKey, getMetadataToServiceIdMappings());\n\n if (nextServiceId == null) {\n if (isEmpty(getDefaultServiceId())) {\n throw new ServiceException(\"no ServiceId configured against key [\" + serviceKey + \"] and no default ServiceId configured\");\n }\n nextServiceId = getDefaultServiceId();\n log.debug(\"Using default ServiceId : {}\", getDefaultServiceId());\n }\n msg.setNextServiceId(nextServiceId);\n // logging is in BranchingServiceCollection\n }", "private void broadcast(String msg) {\n\t\tfor (PrintWriter out : clients) {\n\t\t\tout.println(msg);\n\t\t\tout.flush();\n\t\t}\n\t}", "public interface ExportableServiceConduit\r\n{\r\n /**\r\n * Register a service as added.\r\n * \r\n * @param serviceID an identifier for the service which should be unique within the meem server.\r\n * @param service the object providing the service.\r\n * @param itemList a list of Jini Entry objects.\r\n */\r\n public void serviceAdded(String serviceID, Remote service, List<?> itemList);\r\n\r\n /**\r\n * Register a service as removed.\r\n * \r\n * @param serviceID an identifier for the service which should be unique within the meem server.\r\n */\r\n public void serviceRemoved(String serviceID);\r\n}", "public void broadcast(String message){\n Iterator it = subscribedClientsOutputStreams.iterator(); \n while(it.hasNext()){\n try{\n PrintWriter writer = (PrintWriter) it.next();\n writer.println(message);\n writer.flush();\n }catch(Exception ex){\n ex.printStackTrace();\n }\n }\n }", "public interface StuAnswerDataToMqService {\n\n /**\n * 向RabbitMq推送已做对的、未批改的习题数据\n * @param dataList\n * @throws Exception\n */\n void sendExerciseData2Mq(List<StudentWorkAnswer> dataList) throws BizLayerException;\n\n\n}", "public void onServiceConnected(ComponentName className, IBinder service) {\n\t mBoundAutopilotService = new Messenger(service);\n\t //mCallbackText.setText(\"Attached.\");\n\n\t // We want to monitor the service for as long as we are\n\t // connected to it.\n\t try {\n\t Message msg = Message.obtain(null, autopilotService.MSG_REGISTER_CLIENT);\n\t msg.replyTo = mMessenger;\n\t mBoundAutopilotService.send(msg);\n\n\t // Give it some value as an example.\n\t //msg = Message.obtain(null, autopilotService.MSG_ECHO, this.hashCode(), 0);\n\t //mBoundAutopilotService.send(msg);\n\t msg = Message.obtain(null, autopilotService.MSG_IS_SERVICE_RUNNING, 0, 0);\n\t mBoundAutopilotService.send(msg);\n\t Log.i(\"anemoi\", \"Here 0\");\n\t } catch (RemoteException e) {\n\t // In this case the service has crashed before we could even\n\t // do anything with it; we can count on soon being\n\t // disconnected (and then reconnected if it can be restarted)\n\t // so there is no need to do anything here.\n\t }\n\t Log.i(\"anemoi\", \"Buuu\");\n\t }", "@Override\r\n public void publishStart(Publisher publisher) {\n }", "@Override\n public void publish(\n String serviceName,\n String hostName,\n String type,\n int port,\n String[] textEntriesKeys,\n byte[][] textEntriesDatas,\n String[] subTypes) {\n if (serviceName.contains(\"-\") && mMFServiceName.contains(serviceName)) {\n Log.w(TAG, \"publish: duplicate MF nsdService\");\n return;\n }\n NsdServiceInfo serviceInfo = new NsdServiceInfo();\n serviceInfo.setServiceName(serviceName);\n\n /**\n * Note, subtypes registration is using an undocumented feature of android dns-sd\n * service/mDNSResponder which MAY STOP WORKING in future Android versions. Here, set type =\n * \"${type},${subtypes1},${subtypes2},...\", then subtypes1, subtypes2 etc are all registered to\n * this dns-sd server, we can usd `dns-sd -B ${type},${subtypes}` or avahi-browse\n * ${subtypes}._sub.${type} -r to browser it\n */\n StringBuilder sb = new StringBuilder(type);\n for (String subType : subTypes) {\n sb.append(\",\").append(subType);\n }\n serviceInfo.setServiceType(sb.toString());\n\n serviceInfo.setPort(port);\n Log.i(TAG, \"publish serviceName=\" + serviceName + \" type=\" + sb.toString() + \" port=\" + port);\n int cnt = Math.min(textEntriesDatas.length, textEntriesKeys.length);\n for (int i = 0; i < cnt; i++) {\n String value = new String(textEntriesDatas[i]);\n serviceInfo.setAttribute(textEntriesKeys[i], value);\n Log.i(TAG, \" \" + textEntriesKeys[i] + \"=\" + value);\n }\n\n NsdManager.RegistrationListener registrationListener =\n new NsdManager.RegistrationListener() {\n @Override\n public void onRegistrationFailed(NsdServiceInfo serviceInfo, int errorCode) {\n Log.w(\n TAG,\n \"service \" + serviceInfo.getServiceName() + \" onRegistrationFailed:\" + errorCode);\n }\n\n @Override\n public void onUnregistrationFailed(NsdServiceInfo serviceInfo, int errorCode) {\n Log.w(\n TAG,\n \"service \" + serviceInfo.getServiceName() + \" onUnregistrationFailed:\" + errorCode);\n }\n\n @Override\n public void onServiceRegistered(NsdServiceInfo serviceInfo) {\n Log.i(\n TAG,\n \"service \" + serviceInfo.getServiceName() + \"(\" + this + \") onServiceRegistered\");\n }\n\n @Override\n public void onServiceUnregistered(NsdServiceInfo serviceInfo) {\n Log.i(\n TAG,\n \"service \" + serviceInfo.getServiceName() + \"(\" + this + \") onServiceUnregistered\");\n }\n };\n if (registrationListeners.size() == 0) {\n multicastLock.acquire();\n }\n registrationListeners.add(registrationListener);\n mMFServiceName.add(serviceName);\n\n nsdManager.registerService(serviceInfo, NsdManager.PROTOCOL_DNS_SD, registrationListener);\n Log.d(TAG, \"publish \" + registrationListener + \" count = \" + registrationListeners.size());\n }", "public void onServiceConnected(ComponentName className, IBinder service) {\n mService = new Messenger(service);\n mBound = true;\n }", "public void onServiceConnected(ComponentName className, IBinder service) {\n mService = new Messenger(service);\n mBound = true;\n }", "public static void deliverMessages(Map<Serializable, ClientMessage> map, List<IService> sServices) {\n\t\t\n\t\tIterator<Serializable> it = map.keySet().iterator();\n\t\tRandom rand = new Random();\n\t\tint bound = sServices.size();\n\t\t\n\t\twhile (it.hasNext()) {\n\t\t\tClientMessage msg = map.get(it.next());\n\t\t\tint idx = rand.nextInt(bound);\n\t\t\t\n\t\t\tStorageService ss = (StorageService) sServices.get(idx);\n\t\t\tClientMessage res = ss.deliverMessage(msg);\n\t\t\tAssert.assertTrue(\"status: \" + res.status, res.status == Message.SUCCESS);\n\t\t}\n\t\t\n\t}", "@Activate\n public void activate(ComponentContext ctx) {\n try {\n this.serverContainer.addEndpoint(RealTimeWebSocketServerMsgHandler.class);\n LOG.info(\"Hydra Data-collection service Websocket: Server endpoint for key-value stream deployed\"); //endpoint is immediately available //$NON-NLS-1$\n this.serverContainer.addEndpoint(MessageWebSocketServerMsgHandler.class);\n LOG.info(\"Hydra Data-collection service Websocket: Server endpoint for messages deployed\"); //endpoint is immediately available //$NON-NLS-1$\n } catch (DeploymentException e) {\n LOG.error(\"Hydra Data-collection service Websocket: Error occurred while deploying the server endpoint\", e); //$NON-NLS-1$\n }\n }", "public void createAndRegisterActors(){\n //stressAppNetworkService.getAbstractNetworkServiceList().forEach((type,ns)->{\n stressAppNetworkService.getChatNetworkServicePluginRootList().forEach(ns->{\n //System.out.println(\"Network Service type: \"+type);\n nsPublicKeyMap.put(ns.getPublicKey(), (ChatNetworkServicePluginRoot) ns);\n ((ChatNetworkServicePluginRoot) ns).setMessageReceiver(this);\n int actorCounter = 0;\n for(ActorProfile actor : actorProfileList){\n createAndRegisterActor(actor,(ChatNetworkServicePluginRoot) ns, actorCounter);\n actorCounter++;\n actorsCreated++;\n report(ReportType.ACTOR_CREATED);\n }\n nsStarted++;\n report(ReportType.NS_STARED);\n });\n }", "private void sendRegisterTopics(PrintWriter pw)\n {\n if(clientTopicsTable.containsKey(clientSocket))\n {\n sendToClient(pw, \"*topics-\" + clientTopicsTable.get(clientSocket).toString());\n }\n else\n {\n sendToClient(pw,\"*topics-empty\");\n }\n }", "private void serverPublished(MqttPublishMessage message) {\n if (log.isDebugEnabled()) {\n log.debug(\"Server published: \" + message);\n }\n\n Handler<MqttPublishMessage> publishHandler = this.messageHandler;\n if (publishHandler != null) {\n publishHandler.handle(message);\n }\n }", "public interface MessagingService {\n\n /**\n * Checks whether message receivers are registered for this channel.\n * \n * @param ccid the channel id\n * @return <code>true</code> if there are message receivers on this channel,\n * <code>false</code> if not.\n */\n boolean hasMessageReceiver(String ccid);\n\n /**\n * Passes the message to the registered message receiver.\n * \n * @param ccid the channel to pass the message on\n * @param serializedMessage the message to send (serialized SMRF message)\n */\n void passMessageToReceiver(String ccid, byte[] serializedMessage);\n\n /**\n * Check whether the messaging component is responsible to send messages on\n * this channel.<br>\n * \n * In scenarios with only one messaging component, this will always return\n * <code>true</code>. In scenarios in which channels are assigned to several\n * messaging components, only the component that the channel was assigned\n * to, returns <code>true</code>.\n * \n * @param ccid\n * the channel ID or cluster controller ID, respectively.\n * @return <code>true</code> if the messaging component is responsible for\n * forwarding messages on this channel, <code>false</code>\n * otherwise.\n */\n boolean isAssignedForChannel(String ccid);\n\n /**\n * Check whether the messaging component was responsible before but the\n * channel has been assigned to a new messaging component in the mean time.\n * \n * @param ccid the channel id\n * @return <code>true</code> if the messaging component was responsible\n * before but isn't any more, <code>false</code> if it either never\n * was responsible or still is responsible.\n */\n boolean hasChannelAssignmentMoved(String ccid);\n}", "public interface SendService {\n\n void send(String exchange,String routingKey,String content);\n}", "public interface Publisher {\n\t// Publishes new message to PubSubService\n\tvoid publish(Message message, PubSubService pubSubService);\n}", "public void onServiceToggleClicked(View v) {\n\t\tboolean on = ((ToggleButton) v).isChecked();\n\t\tif (on) {\n\t\t\tbNotification = true;\n\t\t\tstartAccelService();\n\t\t\tstartGyroService();\n\t\t\tstartMagneService();\n\t\t\tstartLightService();\n\t\t\tdoAccelBindService();\n\t\t\tdoGyroBindService();\n\t\t\tdoMagneBindService();\n\t\t\tdoLightBindService();\n\t\t} else {\n\t\t\tbNotification = false;\n\t\t\tstopAccelService();\n\t\t\tstopGyroService();\n\t\t\tstopMagneService();\n\t\t\tstopLightService();\n\t\t\ttaskCancel();\n\t\t}\n\t\tifNotificationOnChecked();\n\t\tifServiceOnChecked();\n\t}", "@Override\n\t\t\tpublic void onServiceConnected(ComponentName name, IBinder service) {\n\t\t\t}", "boolean shouldAutoSubscribe();", "static void sendNotifications() {\n\t\testablishConnection();\n\t\tSystem.out.println(\"sending multiple notificatiosn\");\n\t}", "@Override\n public void onEnabled() {\n mDiscovery.startDiscovery(mEvents, mWifiStateManager.getWifiManager());\n updateList();\n }", "@Override\r\n protected Set<Object> serviceInstances(Injector injector) {\r\n return Sets.newHashSet(\r\n injector.getInstance(RabbitMQAPI.class));\r\n }", "public interface MnsService {\n\n void init();\n\n String pop();\n\n boolean sendMsg(BaseConsumer.Message entity);\n\n String getTopicName();\n\n void destroy();\n}", "@Override\n public void onEndpointConnected(String id, List<String> names) {\n Log.d(TAG, \"endpoint connected: \" + id + \" \" + names);\n }", "private void publishChargingText() {\n chargeSampleList = chargingSampleViewModel.getAll();\n chargeSampleList.observeForever(chargeSamplesObserver);\n }", "@Override\n\tpublic void onServiceConnected(ComponentName name, IBinder service) {\n\t\tserviceMessenger = new Messenger(service);\n\t\tsendMessageToService(ConnectionService.GET_MESSENGER);\n\t\tsendMessageToService(ConnectionService.CONNECT, host, port, key,\n\t\t\t\tinterval);\n\t}", "public void onServiceConnected() {\r\n \t// Display the list of sessions\r\n\t\tupdateList();\r\n }", "public void serviceLoop() {\n this.transactionServices.linkServices();\n this.accountServices.linkServices();\n //this.userServices.linkServices();\n\n new UserMenu(this).displayMenu();\n\n new MainMenu(this).displayMenu();\n\n logOut();\n\n serviceLoop();\n }", "public interface SystemMessageService {\n void subscribe(long lastSystemMessageId, User user);\n\n void message(SystemMessage systemMessage, User user);\n}", "@Override\n public void publish(List<EthLog.LogResult> logs) {\n if (logs.isEmpty()) {\n log.warn(\"[KAFKA] logs is empty, ignore sending!\");\n return;\n }\n final long start = System.currentTimeMillis();\n log.info(\"[KAFKA] sending {} events\", logs.size());\n logs.stream()\n .map(logResult -> (EthLog.LogObject) logResult)\n .map(EventMessage::new)\n .filter(logMessage -> !logMessage.getTopics().isEmpty())\n .peek(logMessage -> log.debug(\"[KAFKA] sending event topic {}\", logMessage.getTopics().get(0)))\n .forEach(this::sendEvent);\n\n long tookMs = System.currentTimeMillis() - start;\n log.info(\"[KAFKA] sent {} messages in {} ms.\", logs.size(), tookMs);\n }", "public interface ProducerService {\n}", "void firePluginsMonitored()\n {\n // Set that at least one iteration was done. That means that \"all available\" plugins\n // have been loaded by now.\n if ( !XMPPServer.getInstance().isSetupMode() )\n {\n executed = true;\n }\n\n for ( final PluginManagerListener listener : pluginManagerListeners )\n {\n firePluginsMonitored(listener);\n }\n }", "@Override\n\t\t\tpublic IAMQPPublishAction messages(Collection<byte[]> messages) {\n\t\t\t\treturn null;\n\t\t\t}", "@Override\n\t\t\tpublic IAMQPPublishAction messages(Collection<byte[]> messages) {\n\t\t\t\treturn null;\n\t\t\t}", "InstancePublishInfo getInstancePublishInfo(Service service);", "void publish(Context context);", "public void onServiceConnected(ComponentName className, IBinder service) {\n // Following the example above for an AIDL interface,\n // this gets an instance of the IRemoteInterface, which we can use to call on the service\n wsService = IWindscribeInterface.Stub.asInterface(service);\n System.out.println(\"on service connected in activity (#\"+myPid()+\")\");\n try {\n wsService.startVPN(\"LOL\");\n Event res = wsService.sendAndReceive(new Event(\"to service from activity\"));\n System.out.println(\"from service in activity:\"+res);\n\n } catch (RemoteException e) {\n e.printStackTrace();\n }\n }", "private ServiceManage() {\r\n\t\tInitialThreads();\r\n\t}", "public void onServiceConnected(ComponentName className, IBinder service) {\n\t\t\tmBoundService = ((LocalService.LocalBinder) service).getService();\r\n\r\n\t\t\t// Wenn während des Setups der Service noch nicht fertig geladen\r\n\t\t\t// ist, wird solange Warte-Overlay angezeigt\r\n\t\t\t// Wenn der Service fertig ist wird das Overlay ausgeblendet\r\n\r\n\t\t\t// if (OverlayActivity.isCreated) {\r\n\t\t\t// OverlayActivity.getInstance().dismiss();\r\n\t\t\t// }\r\n\t\t\tSetupSearchDevicesFragment fragment = (SetupSearchDevicesFragment) getFragmentById(\"SetupSearchDevicesFragment\");\r\n\t\t\tif (fragment.isVisible()) {\r\n\t\t\t\tfragment.initViewBluetooth();\r\n\t\t\t}\r\n\r\n\t\t\t// Tell the user about this for our demo.\r\n\t\t\tLog.i(TAG, \"Service connected with app...\");\r\n\t\t\t// Toast.makeText(MainActivity.this, \"Service connected.\", Toast.LENGTH_SHORT).show();\r\n\r\n\t\t\t// Verbinde mit gespeichertem Device (falls noch keine Verbindung\r\n\t\t\t// besteht)\r\n\t\t\tif (mSharedPrefs.getConnectivityType() == 1) { // BEI BT\r\n\r\n\t\t\t\tfinal ConnectionInterface connection = mBoundService.getConnection();\r\n\t\t\t\tif (connection != null) {\r\n\t\t\t\t\tif (!connection.isConnected()) {\r\n\r\n\t\t\t\t\t\t// OnConnectedListener\r\n\t\t\t\t\t\tconnection.setOnConnectedListener(new OnConnectedListener() {\r\n\t\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\t\tpublic void onConnectedListener(String deviceName) {\r\n\r\n\t\t\t\t\t\t\t\tconnection.registerDisconnectHandler();\r\n\r\n\t\t\t\t\t\t\t\tif (mSharedPrefs.getDeviceMode() == 1) { // ELTERN\r\n\t\t\t\t\t\t\t\t\t// HELLO Nachricht senden\r\n\t\t\t\t\t\t\t\t\tString msg = mContext.getString(R.string.BABYFON_MSG_CONNECTION_HELLO) + \";\"\r\n\t\t\t\t\t\t\t\t\t\t\t+ mSharedPrefs.getHostAddress() + \";\" + mSharedPrefs.getPassword();\r\n\t\t\t\t\t\t\t\t\tconnection.sendMessage(msg);\r\n\r\n\t\t\t\t\t\t\t\t\tmSharedPrefs.setRemoteOnlineState(true);\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\r\n\t\t\t\t\t\tif (mSharedPrefs.getDeviceMode() == 1) { // ELTERN\r\n\t\t\t\t\t\t\tif (mSharedPrefs.getRemoteAddress() != null) { // Gespeichertes Gerät\r\n\t\t\t\t\t\t\t\t// Verbinde\r\n\t\t\t\t\t\t\t\tmBoundService.connectTo(mSharedPrefs.getRemoteAddress());\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t} else if (mSharedPrefs.getDeviceMode() == 0) { // BABY\r\n\t\t\t\t\t\t\t// Warte auf Verbindung\r\n\t\t\t\t\t\t\tmBoundService.startServer();\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\r\n\t\t}", "@Override\n\tpublic void onEnabled(Context context) {\n\t\tsuper.onEnabled(context);\n\t\tIntent intent = new Intent(context, UpdateWidgetService.class);\n\t\tcontext.startService(intent);\n\t}", "public void service() {\n\t}", "void doBindService() {\n\t\tbindService(new Intent(this, eidService.class), mConnection, Context.BIND_AUTO_CREATE);\n//\t\tLog.i(\"Convert\", \"At doBind2.\");\n\n\t\tmIsBound = true;\n\t\n\t\tif (mService != null) {\n//\t\t\tLog.i(\"Convert\", \"At doBind3.\");\n\t\t\ttry {\n\t\t\t\t//Request status update\n\t\t\t\tMessage msg = Message.obtain(null, eidService.MSG_UPDATE_STATUS, 0, 0);\n\t\t\t\tmsg.replyTo = mMessenger;\n\t\t\t\tmService.send(msg);\n\t\t\t\tLog.i(\"Convert\", \"At doBind4.\");\n\t\t\t\t//Request full log from service.\n\t\t\t\tmsg = Message.obtain(null, eidService.MSG_UPDATE_LOG_FULL, 0, 0);\n\t\t\t\tmService.send(msg);\n\t\t\t} catch (RemoteException e) {}\n\t\t}\n//\t\tLog.i(\"Convert\", \"At doBind5.\");\n\t}", "public void onServiceConnected();", "public synchronized void changeServiceStatus() {\n\t\tthis.serviced = true;\n\t}", "public void run() {\n sendServerRegistrationMessage();\n if (serviceConnectedListener != null) {\n serviceConnectedListener.onServiceConnected(serviceDevice);\n }\n\n isRegistered = true;\n }", "public void run(){\n ExecutionPlan executionPlan = new ExecutionPlan().invoke();\n\n Thread thisThread = Thread.currentThread();\n\n while (sidhdiThread == thisThread) {\n InputHandler inputHandler = executionPlan.getInputHandler();\n\n //Sending events to Siddhi\n try {\n List<BLE> bleReadings = read();\n for(BLE ble : bleReadings){\n System.out.println(\"Publishing data...\");\n inputHandler.send(new Object[]{ble.getId(), ble.getTimeStamp(), ble.getLocation()});\n }\n\n thisThread.sleep(INTERVAL);\n } catch (InterruptedException e) {\n e.printStackTrace();\n break;\n }\n }\n }", "@Override\n public void configureMessageBroker(MessageBrokerRegistry registry) {\n registry.enableSimpleBroker(\"/topic/\");\n }", "public interface NotificationActionsService {\n\n void sendNotification(String event, String description);\n\n}", "@Override\n public void configureMessageBroker(MessageBrokerRegistry registry) {\n registry.enableSimpleBroker(TOPIC);\n }" ]
[ "0.60192686", "0.59572417", "0.5844085", "0.57764", "0.5756414", "0.5690808", "0.564587", "0.5575479", "0.5560885", "0.5558923", "0.55569845", "0.5542719", "0.55268496", "0.5502864", "0.5453705", "0.54286516", "0.5418467", "0.541035", "0.5401309", "0.53641987", "0.5284994", "0.52754986", "0.5269313", "0.52648395", "0.5264059", "0.5260672", "0.5260537", "0.52549624", "0.5241659", "0.52393556", "0.52359843", "0.5231498", "0.5230178", "0.5229315", "0.5221489", "0.52194655", "0.52105176", "0.5187365", "0.5180814", "0.5178358", "0.517425", "0.5171132", "0.51651496", "0.51627386", "0.5161243", "0.5155835", "0.51543796", "0.5133828", "0.5128806", "0.5122843", "0.51154226", "0.51114106", "0.51069504", "0.5106017", "0.509532", "0.50896823", "0.50805026", "0.5079902", "0.5079902", "0.5077827", "0.5075631", "0.5069821", "0.5068287", "0.50553316", "0.50504", "0.5044863", "0.5037934", "0.5012904", "0.50070405", "0.50016916", "0.50009495", "0.49996442", "0.4999324", "0.49964163", "0.4995274", "0.4994381", "0.49886152", "0.49886125", "0.49827892", "0.4981922", "0.49793974", "0.4974793", "0.49711165", "0.49678576", "0.49678576", "0.4967542", "0.49666026", "0.49633497", "0.49582955", "0.49569702", "0.4956184", "0.49550864", "0.4951649", "0.49421778", "0.49406287", "0.49381077", "0.49362487", "0.49360836", "0.49335313", "0.49328378" ]
0.5332665
20
Returns the output file wrapped in one Output object.
public Output getOutput() { return OutputFactory.of(outputFile.toPath()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public File getOutputFilePath() {\n return outputFile;\n }", "public File getOutput(){\n return outputDir;\n }", "@Override\r\n\tpublic String getOutputFile() {\n\t\t\r\n\t\treturn fileOutputPath;\r\n\t}", "public final File getOutPutFile() {\n\t\treturn outPutFile;\n\t}", "public File getFile() {\n\t\treturn outputFile;\n\t}", "public String getOutputFile() {\n return outputFile;\n }", "public abstract String FileOutput();", "Output createOutput();", "public Output<T> output() {\n return output;\n }", "public StreamResult getOutput() {\n return output;\n }", "public String getOutputFile()\r\n {\n return \"\";\r\n }", "public Output getOutput() {\n\t\treturn output;\n\t}", "public String getOutputFileName() {\n\t\treturn outputFile;\n\t}", "public Object getOutputTarget()\n/* */ {\n/* 101 */ return this._writer;\n/* */ }", "TemplateOutputStream getOutput();", "public String getOutputFilePath() {\t\n\t\treturn outputFilePath; \n\t}", "public FileQuerySerialization getOutputSerialization() {\n return outputSerialization;\n }", "String getFileOutput();", "public TestOut getOutput() {\n\treturn(output);\n }", "public String getOutputPath()\n {\n return __m_OutputPath;\n }", "public String getOutput() {\n return output.toString();\n }", "public String getOutput(){\r\n // add assembly code to outputFile\r\n outputFile.append(assemblyCode.getOutputFile());\r\n \r\n // add a line spaces so the reader of the output file can determine\r\n // that a new assembly code sequence has started\r\n outputFile.append(System.lineSeparator());\r\n outputFile.append(\"************\");\r\n outputFile.append(System.lineSeparator());\r\n \r\n // return outputFile to a String\r\n return outputFile.toString();\r\n }", "public String getOutputPath() {\n\t\treturn outputPath;\n\t}", "public abstract boolean isFileOutput();", "public String getOutput() {\n return output;\n }", "public String getOutputFilename() {\n\t\treturn outputFilename;\n\t}", "public File generateFile()\r\n {\r\n return generateFile(null);\r\n }", "public interface OutputFile extends VariantOutput {\n\n /**\n * Returns the output file for this artifact's output.\n * Depending on whether the project is an app or a library project, this could be an apk or\n * an aar file. If this {@link com.android.build.OutputFile} has filters, this is a split\n * APK.\n *\n * For test artifact for a library project, this would also be an apk.\n *\n * @return the output file.\n */\n @NonNull\n File getOutputFile();\n}", "public File getOutputDirectory() {\n\t\treturn outputDirectory;\n\t}", "public abstract Object getOutput ();", "public JCoresScript io(Output _output) {\n return io(null, _output);\n }", "public IOutputType getOutputType(String outputExtension);", "private static File determineOutputFile(CommandLine optionLine)\n {\n String output = optionLine.getOptionValue(Environment.OUTPUT);\n if (!StringUtils.isEmpty(output)) {\n return new File(output);\n }\n System.err.println(\"Output file is missing\"); //$NON-NLS-1$\n System.exit(1);\n return null;\n }", "public File getOutputFileForNode(Node node) {\n// String portName = nodeNameToPortName.get(node.getBottomLevelNode().getName());\n// if(portName != null) {\n// System.out.println(\"IWIR output port \" + portName);\n// for(OutputPort outputPort : outputPortToFileMap.keySet()){\n// if(outputPort.getName().equals(portName)){\n// File file = outputPortToFileMap.get(outputPort);\n// System.out.println(\"Output node to file : \" + file.getAbsolutePath());\n// return file;\n// }\n// }\n// }\n\n// ArrayList<ExecutableNode> execNodes = getExecutableNodes(false);\n for(ExecutableNode executableNode : executableNodes) {\n if(executableNode.getNode() != null) {\n if(executableNode.getNode().getName().equals(node.getName())){\n String filename = executableNode.getFilename();\n if(filename != null && !filename.equals(\"\")) {\n return new File(workingDir, filename);\n }\n }\n }\n }\n return null; //To change body of created methods use File | Settings | File Templates.\n }", "public T caseOutputFile(OutputFile object) {\n\t\treturn null;\n\t}", "public String outputFileName() {\n return outputFileName;\n }", "public void createOutput() {\n\t\tsetOutput(new Output());\n\t}", "@Override\n\t\t\tpublic Result createOutput(String ns, String file)\n\t\t\t\t\tthrows IOException {\n\t\t\t\tStreamResult res = new StreamResult(writer);\n\t\t\t\tres.setSystemId(\"no-id\");\n\t\t\t\treturn res;\n\t\t\t}", "protected final ByteSink getOutput(String name) {\n try {\n if (name.equals(\"-\")) {\n return new StandardOutputSink();\n } else {\n File file = new File(name);\n if (file.isDirectory()) {\n throw new IOException(name); // TODO Message? Exception?\n } else if (file.exists() && !file.canWrite()) {\n throw new IOException(name); // TODO Message? Exception?\n } else {\n return Files.asByteSink(file);\n }\n }\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }\n }", "public String getOutputFileName() {\n return outputFileName.getText();\n }", "@Provides\r\n public DataOutput provideOutputWriter() {\r\n DataOutput out = null;\r\n final PrintWriter oWriter = outWriter;\r\n if ((oWriter != null) && (outputFormat != null)) {\r\n if (\"csv\".equalsIgnoreCase(outputFormat)) {\r\n out = new CSVDataOutput(oWriter);\r\n } else if (\"json\".equalsIgnoreCase(outputFormat)) {\r\n out = new JSONDataOutput(oWriter);\r\n } else\r\n throw new IllegalArgumentException(\"Output format \"\r\n + outputFormat + \" not supported.\"\r\n + \" Valid types are csv, json\");\r\n out.verboseOptions(verboseStream, verbose);\r\n }\r\n return out;\r\n }", "public Format getOutputFormat() {\n return outputFormat;\n }", "public void write(File output) throws IOException {\n }", "public String outputStringForWritingToFile() {\n if (stringBuilder.length() >= ProjectConstants.BUFFER_CAPACITY || bytesProcessed == numberOfBytesToBeProcessed) {\n String temp = stringBuilder.toString();\n stringBuilder.setLength(0);\n return temp;\n } else {\n return null;\n }\n }", "public void outputToFile(String filemame)\n {\n }", "public String getOutput() {\r\n return innerStream.getString();\r\n }", "public void setOutput(String outputFile) {\n this.output = outputFile;\n }", "void output(OUT out) throws IOException;", "public String getFileNameOut() {\r\n\t\treturn fileNameOut;\r\n\t}", "private Output() {}", "public static BufferedOutputStream getOutput(File file) throws IOException {\n return getOutput(file.toPath());\n }", "public void setOutput(File output) {\r\n this.output = output;\r\n }", "public File getOutputFile() throws TavernaException, ProcessException{\n if (!wasSuccessful()){\n throw new TavernaException(\"Workflow was not run successfully.\");\n }\n if (baclavaFile.exists()){\n return baclavaFile;\n } else {\n return null;\n }\n }", "public Table getOutputFiles() {\n\treturn _outputFiles;\n }", "public com.google.protobuf.ByteString\n getOutputBytes() {\n java.lang.Object ref = output_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n output_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public String getOutput() throws TavernaException, ProcessException{\n if (outputFile == null){\n return saveOutput();\n }\n try {\n return runner.getOutput();\n } catch (InterruptedException ex) {\n throw new TavernaException (\"Workflow was interrupted.\", ex);\n }\n }", "Output getOutputs();", "public interface OutputStrategy {\n\n\tpublic OutputStream getOutputStream(Config config);\n\tpublic void close();\n}", "private void writeOutput() {\n\n textMergeScript.setCurrentDirectoryFromFile (chosenOutputFile);\n tabFileOutput = new TabDelimFile (chosenOutputFile);\n tabFileOutput.setLog (log);\n tabFileOutput.setDataLogging (false);\n boolean outputOK = true;\n try {\n tabFileOutput.openForOutput (list.getRecDef());\n } catch (IOException e) {\n outputOK = false;\n log.recordEvent (LogEvent.MEDIUM,\n \"Problem opening Output File\",\n false);\n }\n if (outputOK) {\n list.openForInput();\n DataRecord inRec;\n int count = 0;\n do {\n inRec = list.nextRecordIn ();\n if (inRec != null) {\n try {\n tabFileOutput.nextRecordOut (inRec);\n count++;\n } catch (IOException e) {\n log.recordEvent (LogEvent.MEDIUM,\n \"Problem writing to Output File\",\n true);\n }\n } // end if in rec not null\n } while (list.hasMoreRecords());\n\n list.close();\n\n try {\n tabFileOutput.close();\n } catch (IOException e) {\n }\n\n log.recordEvent(LogEvent.NORMAL,\n String.valueOf(count) + \" records output\",\n false);\n\n tabNameOutput = chosenOutputFile.getName();\n openOutputDataName.setText (tabNameOutput);\n if (usingDictionary) {\n tabFileName =\n new FileName (chosenOutputFile.getAbsolutePath());\n dictFile =\n new TabDelimFile (textMergeScript.getCurrentDirectory(),\n tabFileName.replaceExt(DICTIONARY_EXT));\n dictFile.setLog (log);\n try {\n dataDict.store (dictFile);\n } catch (IOException e) {\n log.recordEvent (LogEvent.MEDIUM,\n \"Problem writing Output Dictionary\",\n true);\n }\n } // end if using dictionary\n\n textMergeScript.recordScriptAction (\n ScriptConstants.OUTPUT_MODULE,\n ScriptConstants.OPEN_ACTION,\n ScriptConstants.NO_MODIFIER,\n ScriptConstants.NO_OBJECT,\n chosenOutputFile.getAbsolutePath());\n\n } // end if output ok\n\n }", "public Type getOutputType() {\n Preconditions.checkState(prepared);\n Preconditions.checkState(!closed);\n return outputType;\n }", "public String getPathFileOut() {\r\n\t\treturn pathFileOut;\r\n\t}", "public com.google.protobuf.ByteString\n getOutputBytes() {\n java.lang.Object ref = output_;\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 output_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public String getOutputString()\n\t{\n\t\treturn outputString;\n\t}", "protected String getOutputFileParameter() {\n if (outputFile == null) {\n return null;\n }\n return \"/output=\" + outputFile.toString();\n }", "public String getOutput() {\n myLock.lock();\n try {\n return myOutput.toString();\n }\n finally {\n myLock.unlock();\n }\n }", "public File getResultFile() {\n\t\treturn resultFile;\n\t}", "public Element getOutput(){\n\t\treturn output;\n\t}", "public static OutputFactory getOutputFactory() {\n\n return m_OutputFactory;\n\n }", "public String getOutput() {\n\t\treturn results.getOutput() ;\n\t}", "public OutputArchive(ObjectOutput output) {\n this.output = output;\n }", "String getOutput();", "public File getResultFile() {\r\n\t\treturn resultFile;\r\n\t}", "static File getOutputFileFromArguments(String[] args)\n {\n return new File(args[args.length - 1]);\n }", "public Path getOutputBase() {\n return outputBase;\n }", "public String getOutputPath () \n\t{\n\t\treturn outputPathTextField.getText();\n\t}", "@Nullable\n @Override\n public Path getPathToOutputFile() {\n return null; // I mean, seriously? OK.\n }", "private PrintWriter createOutputFile(String outputFile) throws IOException {\n return new PrintWriter(new BufferedWriter(new FileWriter(outputFile)));\n }", "public IOutputType getPrimaryOutputType();", "private PrintWriter getOutWriter(StringWriter outStr, String outFile)\n\t throws IOException {\n\tPrintWriter outWriter = null;\n\t// create the output writer\n\tif (outStr == null) {\n\t // create file writer\n\t // output file\n\t FileWriter fw = new FileWriter(outFile);\n\t BufferedWriter bw = new BufferedWriter(fw);\n\t outWriter = new PrintWriter(bw);\n\t} else {\n\t // create string writer\n\t // output to string\n\t BufferedWriter bw = new BufferedWriter(outStr);\n\t outWriter = new PrintWriter(bw);\n\t}\n\treturn outWriter;\n }", "public OutputStream getOutputStream() throws IOException {\n \t\t \tOutputStream stream = new RSuiteOutputStream();\r\n \t\t \r\n \t\t \tClassLoader saved = Thread.currentThread().getContextClassLoader();\r\n\t\t\ttry {\r\n\t\t\t\t Thread.currentThread().setContextClassLoader(this.getClass().getClassLoader());\r\n\t\t\t\t \r\n\t\t\t\t log.println(\"CREATED RSUITE OUTPUT STREAM.\");\t\t\t\t \r\n\t\t\t\t log.println(\"RETURNING RSUITE OUTPUT STREAM TO OXYGEN...\");\r\n\t\t\t}\r\n\t\t\tcatch(Throwable t){\r\n\t\t\t\tif (log != null) t.printStackTrace(log);\r\n\t\t\t}\r\n\t\t\tfinally{\r\n\t\t\t\tThread.currentThread().setContextClassLoader(saved);\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\treturn stream;\r\n\t\t}", "public void setOutput(File out) {\r\n this.output = out;\r\n incompatibleWithSpawn = true;\r\n }", "@Deprecated\n public String getOutput() {\n return logFile;\n }", "public IInputOutput getConstantOuput();", "public String lastOutput() throws IOException {\n stream.flush();\n os.flush();\n return os.asString();\n }", "public boolean getSaveOutputToFile() {\n return saveOutputToFile;\n }", "private interface OutputBuffer {\n String getName();\n\n String getOutput();\n\n PrintWriter getPrintWriter();\n }", "public String getoutputString() {\r\n\t\treturn outputString;\r\n\t}", "public static BufferedOutputStream getOutput(String fileName) throws IOException {\n return getOutput(getPath(fileName));\n }", "private com.google.protobuf.SingleFieldBuilderV3<\n org.hyperledger.fabric.protos.token.Transaction.PlainOutput, org.hyperledger.fabric.protos.token.Transaction.PlainOutput.Builder, org.hyperledger.fabric.protos.token.Transaction.PlainOutputOrBuilder> \n getOutputFieldBuilder() {\n if (outputBuilder_ == null) {\n outputBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n org.hyperledger.fabric.protos.token.Transaction.PlainOutput, org.hyperledger.fabric.protos.token.Transaction.PlainOutput.Builder, org.hyperledger.fabric.protos.token.Transaction.PlainOutputOrBuilder>(\n getOutput(),\n getParentForChildren(),\n isClean());\n output_ = null;\n }\n return outputBuilder_;\n }", "public void writeOutput() {\n // Create json object to be written\n Map<String, Object> jsonOutput = new LinkedHashMap<>();\n // Get array of json output objects for consumers\n List<Map<String, Object>> jsonConsumers = writeConsumers();\n // Add array for consumers to output object\n jsonOutput.put(Constants.CONSUMERS, jsonConsumers);\n // Get array of json output objects for distributors\n List<Map<String, Object>> jsonDistributors = writeDistributors();\n // Add array for distributors to output objects\n jsonOutput.put(Constants.DISTRIBUTORS, jsonDistributors);\n // Get array of json output objects for producers\n List<Map<String, Object>> jsonProducers = writeProducers();\n // Add array for producers to output objects\n jsonOutput.put(Constants.ENERGYPRODUCERS, jsonProducers);\n // Write to output file and close\n try {\n ObjectMapper mapper = new ObjectMapper();\n ObjectWriter writer = mapper.writer(new DefaultPrettyPrinter());\n writer.writeValue(Paths.get(outFile).toFile(), jsonOutput);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }", "Map<File, File> getOutputFileMap();", "public static OutputStream nullOutput() {\n if(nullOut == null) {\n nullOut = new NullOutputStream();\n }\n return nullOut;\n }", "String getOutputName();", "OutputsType getOutputs();", "void generateContent(OutputStream output) throws Exception;", "public java.lang.String getOutput() {\n java.lang.Object ref = output_;\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 output_ = s;\n return s;\n }\n }", "public String getpathOutput() {\r\n\t\treturn pathOutput;\r\n\t}", "public static Output out(Object byValue) {\n\t\treturn new Output(byValue);\n\t}", "private File getOutputMediaFile(){\n\t\tFile file = new File( getExternalFilesDir(null), \"DemoFile.jpg\" );\n\t\treturn file;\n\t}", "public java.lang.String getOutput() {\n java.lang.Object ref = output_;\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 output_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }" ]
[ "0.7231809", "0.71503305", "0.7022816", "0.6979239", "0.6932194", "0.68139297", "0.6765719", "0.6755831", "0.67246455", "0.66611654", "0.65597016", "0.655372", "0.6506053", "0.64572453", "0.6446237", "0.63494676", "0.6348015", "0.63457805", "0.63234967", "0.63215625", "0.62870336", "0.6225316", "0.62023157", "0.6133445", "0.613148", "0.61161894", "0.60878074", "0.6076972", "0.60755867", "0.6042953", "0.60420847", "0.602665", "0.60252005", "0.60179377", "0.6007974", "0.6002465", "0.6002044", "0.5999137", "0.59905416", "0.5951237", "0.59393334", "0.5892822", "0.58868605", "0.58843154", "0.58796304", "0.58793455", "0.5879119", "0.58700573", "0.5868164", "0.58650094", "0.58603644", "0.5857716", "0.58440924", "0.5843899", "0.5840895", "0.58388674", "0.5836124", "0.5835497", "0.58325535", "0.5826217", "0.5826138", "0.5824384", "0.58228374", "0.58112144", "0.58077824", "0.5805019", "0.58046556", "0.57964694", "0.5793626", "0.5792088", "0.5780524", "0.57801443", "0.57784057", "0.577539", "0.576468", "0.5747479", "0.5716079", "0.5703716", "0.5688168", "0.5668768", "0.5639952", "0.5628948", "0.5626577", "0.5622183", "0.5621119", "0.5598793", "0.5596016", "0.5593029", "0.5590539", "0.5590155", "0.55862004", "0.55712384", "0.5561701", "0.5557457", "0.554182", "0.55347115", "0.5534324", "0.5530134", "0.55204815", "0.5516628" ]
0.8236479
0
Gets the output file
public File getFile() { return outputFile; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getFileOutput();", "public File getOutputFilePath() {\n return outputFile;\n }", "@Override\r\n\tpublic String getOutputFile() {\n\t\t\r\n\t\treturn fileOutputPath;\r\n\t}", "public final File getOutPutFile() {\n\t\treturn outPutFile;\n\t}", "public File getOutput(){\n return outputDir;\n }", "public String getOutputFilePath() {\t\n\t\treturn outputFilePath; \n\t}", "public Output getOutput() {\n\t\treturn OutputFactory.of(outputFile.toPath());\n\t}", "public String getOutputFile()\r\n {\n return \"\";\r\n }", "public abstract String FileOutput();", "public String getOutputFile() {\n return outputFile;\n }", "public String getOutputFileName() {\n\t\treturn outputFile;\n\t}", "public String getOutputFileName() {\n return outputFileName.getText();\n }", "public String getOutputPath()\n {\n return __m_OutputPath;\n }", "public String getOutPutFilePath() {\n\t\t// Create the entire filename\n\t\tString fileName=FILE_OUT_PATH+ FILENAME + \"NO_LINE_NUMBERS\" + \".txt\";\t\n\t\treturn(fileName);\n\t}", "public String getPathFileOut() {\r\n\t\treturn pathFileOut;\r\n\t}", "public void outputToFile(String filemame)\n {\n }", "public String getOutputFilename() {\n\t\treturn outputFilename;\n\t}", "public String getOutputPath() {\n\t\treturn outputPath;\n\t}", "public String getOutput(){\r\n // add assembly code to outputFile\r\n outputFile.append(assemblyCode.getOutputFile());\r\n \r\n // add a line spaces so the reader of the output file can determine\r\n // that a new assembly code sequence has started\r\n outputFile.append(System.lineSeparator());\r\n outputFile.append(\"************\");\r\n outputFile.append(System.lineSeparator());\r\n \r\n // return outputFile to a String\r\n return outputFile.toString();\r\n }", "public String getOutputPath () \n\t{\n\t\treturn outputPathTextField.getText();\n\t}", "public File generateFile()\r\n {\r\n return generateFile(null);\r\n }", "public File getOutputFileForNode(Node node) {\n// String portName = nodeNameToPortName.get(node.getBottomLevelNode().getName());\n// if(portName != null) {\n// System.out.println(\"IWIR output port \" + portName);\n// for(OutputPort outputPort : outputPortToFileMap.keySet()){\n// if(outputPort.getName().equals(portName)){\n// File file = outputPortToFileMap.get(outputPort);\n// System.out.println(\"Output node to file : \" + file.getAbsolutePath());\n// return file;\n// }\n// }\n// }\n\n// ArrayList<ExecutableNode> execNodes = getExecutableNodes(false);\n for(ExecutableNode executableNode : executableNodes) {\n if(executableNode.getNode() != null) {\n if(executableNode.getNode().getName().equals(node.getName())){\n String filename = executableNode.getFilename();\n if(filename != null && !filename.equals(\"\")) {\n return new File(workingDir, filename);\n }\n }\n }\n }\n return null; //To change body of created methods use File | Settings | File Templates.\n }", "public String outputFileName() {\n return outputFileName;\n }", "public File getOutputFile() throws TavernaException, ProcessException{\n if (!wasSuccessful()){\n throw new TavernaException(\"Workflow was not run successfully.\");\n }\n if (baclavaFile.exists()){\n return baclavaFile;\n } else {\n return null;\n }\n }", "public String getFileNameOut() {\r\n\t\treturn fileNameOut;\r\n\t}", "private String getOutputFileName(JCas pJCas) {\n String returnValue = null;\n \n String name = getSourceName(pJCas);\n \n if ((this.outputProjectDirectorySaved.startsWith(\"/\")) || (this.outputProjectDirectorySaved.startsWith(\"\\\\\"))\n || (this.outputProjectDirectorySaved.indexOf(\":\") == 1))\n returnValue = this.outputProjectDirectorySaved + \"/\" + name + \".txt.knowtator.xml\";\n else\n returnValue = this.homeDir + \"/\" + this.eHostWorkSpaceName + \"/\" + this.projectName + \"/saved/\" + name\n + \".txt.knowtator.xml\";\n \n return returnValue;\n }", "private File getOutputMediaFile(){\n\t\tFile file = new File( getExternalFilesDir(null), \"DemoFile.jpg\" );\n\t\treturn file;\n\t}", "protected String getOutputFileParameter() {\n if (outputFile == null) {\n return null;\n }\n return \"/output=\" + outputFile.toString();\n }", "static File getOutputFileFromArguments(String[] args)\n {\n return new File(args[args.length - 1]);\n }", "public File getOutputDirectory() {\n\t\treturn outputDirectory;\n\t}", "private String getOutputFileName() {\n String filename = VideoCapture.getSelf().getOutputFileName();\n return VideoCapture.getSelf().appDir.getPath()+\"/\"+filename+\".mp4\";\n }", "public File getResultFile() {\r\n\t\treturn resultFile;\r\n\t}", "public File getResultFile() {\n\t\treturn resultFile;\n\t}", "public Path getOutputPath() {\n\t\t\n\t\tString name = getSimulationName();\t\t\n\t\tint l = name.length();\n\t\tString sim_name = name.substring(0, l-11); // \"_SIM_FOLDER\" contains 11 character\n\t\t\n\t\tPath path = Paths.get(outpath + \"\\\\\"+ sim_name);\n\t\tif(!Files.exists(path)) {\n\t\t try {\n\t\t Files.createDirectories(path);\n\t\t } catch (IOException e) {\n\t\t e.printStackTrace();\n\t\t }\n\t\t}\n\t\treturn path;\n\t}", "public File getFile() {\n return resultsFile;\n }", "protected String openReportOutput() {\n final String home = preferredSubFolder(s_userHome != null ? s_userHome : System.getProperty(\"user.home\"));\n final LocalDateTime ldt = Instant.now().atZone(ZoneOffset.systemDefault()).toLocalDateTime();\n final String path = String.format(\"%s%c%s-%04d-%02d-%02d-%02d-%02d-%02d.zip\", home, File.separatorChar, \"OpenGamma-ErrorReport\", ldt.getYear(),\n ldt.getMonthValue(), ldt.getDayOfMonth(),\n ldt.getHour(), ldt.getMinute(), ldt.getSecond()).toString();\n LOGGER.info(\"Writing {}\", path);\n try {\n _zip = new ZipOutputStream(new FileOutputStream(path));\n } catch (final IOException e) {\n throw new OpenGammaRuntimeException(\"Couldn't write to \" + path, e);\n }\n return path;\n }", "private static File determineOutputFile(CommandLine optionLine)\n {\n String output = optionLine.getOptionValue(Environment.OUTPUT);\n if (!StringUtils.isEmpty(output)) {\n return new File(output);\n }\n System.err.println(\"Output file is missing\"); //$NON-NLS-1$\n System.exit(1);\n return null;\n }", "public String getpathOutput() {\r\n\t\treturn pathOutput;\r\n\t}", "public String getOutputFileName(int index) {\n\treturn (String) _outputFiles.get(index);\n }", "public String getOutput() throws TavernaException, ProcessException{\n if (outputFile == null){\n return saveOutput();\n }\n try {\n return runner.getOutput();\n } catch (InterruptedException ex) {\n throw new TavernaException (\"Workflow was interrupted.\", ex);\n }\n }", "public static String getLastFileName()\r\n\t{\r\n\t\treturn _outputFileName;\r\n\t}", "String getOutput();", "protected File getFile(String sPathTempl)\n {\n try\n {\n String sFileTempl = m_sFileTempl;\n String sFileName = replaceMacros(\n getFileTemplate(sFileTempl, sPathTempl), null);\n\n if (sFileName.length() == 0)\n {\n log(\"Report writer:No output file specified. Report terminated\");\n return null;\n }\n\n File fOut = new File(sFileName);\n if (!fOut.exists())\n {\n fOut.createNewFile();\n }\n\n return fOut;\n }\n catch (IOException e) // FileNoteFoundException\n {\n throw ensureRuntimeException(e, \"Invalid or unable to create output file.\");\n }\n }", "Map<File, File> getOutputFileMap();", "File getSaveFile();", "public File getOutputDb();", "File getResultsFile(String mediaType, String outputDirectory)\r\n\t\t\tthrows FileNotFoundException {\r\n\t\t// split out any media type parameters\r\n\t\tString contentType = mediaType.split(\";\")[0];\r\n\t\tString fileName = null;\r\n\t\tif (contentType.endsWith(\"rdf+xml\") || contentType.endsWith(\"rdf+earl\")) {\r\n\t\t\tfileName = \"earl-results.rdf\";\r\n\t\t} else if (contentType.endsWith(\"zip\")) {\r\n\t\t\tFile htmlResult = HtmlReport.getHtmlResultZip(outputDirectory);\r\n\t\t\tfileName = \"result.zip\";\r\n\t\t} else {\r\n\t\t\tfileName = \"testng-results.xml\";\r\n\t\t}\r\n\t\tFile resultsFile = new File(outputDirectory, fileName);\r\n\t\tif (!resultsFile.exists()) {\r\n\t\t\tthrow new FileNotFoundException(\"Test run results not found at \"\r\n\t\t\t\t\t+ resultsFile.getAbsolutePath());\r\n\t\t}\r\n\t\treturn resultsFile;\r\n\t}", "private File getIOFile() {\n \t\tIPath location = resource.getLocation();\n \t\tif(location!=null) {\n \t\t\treturn location.toFile();\n \t\t}\n \t\treturn null;\n \t}", "String getFilePath();", "File getWorkfile();", "java.lang.String getFilePath();", "public Path outputDir() {\n return dir;\n }", "public String getOutPutFilePath(int startLine, int endLine) {\n\t\t// Create the entire filename\n\t\tString fileName=FILE_OUT_PATH+startLine + \"_\" + endLine+\".txt\";\t\n\t\treturn(fileName);\n\t}", "TemplateOutputStream getOutput();", "private String getOutputFilename(JFrame anAppFrame)\n {\n String fn = \"\";\n\n // setup file chooser\n JFileChooser csvChooser = new JFileChooser();\n CSVFileFilter filter = new CSVFileFilter();\n csvChooser.setFileFilter(filter);\n\n // prompt user for output file\n int returnVal = csvChooser.showSaveDialog(anAppFrame);\n\n // process result\n if (returnVal == JFileChooser.APPROVE_OPTION)\n {\n fn = csvChooser.getSelectedFile().getPath();\n if (TRACE)\n System.out.println(\"DataGenModel: saving \" + fn);\n }\n return fn;\n }", "private void browseOutputFilePath()\n\t{\n\t\tString filedirectory = \"\";\n\t\tString filepath = \"\";\n\t\ttry\n\t\t{\n\t\t\tJFileChooser fc = new JFileChooser(\".\");\n\t\t\tfc.setFileSelectionMode(JFileChooser.FILES_AND_DIRECTORIES); //select directories or files\n\t\t\tfc.setDialogTitle(\"Please choose a directory to save the converted file(s)\");\n\n\t\t\tFileNameExtensionFilter sifdata = new FileNameExtensionFilter(\"SIF\", \"sif\");\n\t\t\tfc.addChoosableFileFilter(sifdata);\n\n\t\t\tint returnVal = fc.showOpenDialog(this); // shows the dialog of the file browser\n\t\t\t// get name und path\n\t\t\tif(returnVal == JFileChooser.APPROVE_OPTION)\n\t\t\t{\n\t\t\t\tmainframe.setOutputTextfieldText(fc.getSelectedFile().getAbsolutePath());\n\t\t\t}\n\n\t\t}\n\t\tcatch (Exception e)\n\t\t{\n\t\t\tJOptionPane\n\t\t\t\t\t.showMessageDialog(new JFrame(),\n\t\t\t\t\t\t\t\"Problem when trying to choose an output : \" + e.toString(),\n\t\t\t\t\t\t\t\"Warning\", JOptionPane.WARNING_MESSAGE);\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "public Table getOutputFiles() {\n\treturn _outputFiles;\n }", "String getFile();", "String getFile();", "String getFile();", "public void setOutput(String outputFile) {\n this.output = outputFile;\n }", "public static File getOutputMediaFile() {\n\n\t\t// External sdcard location\n\t\tFile mediaStorageDir = new File(\n\t\t\t\tEnvironment\n\t\t\t\t\t\t.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES),\n\t\t\t\t\"HiLurik\");\n\n\t\t// Create the storage directory if it does not exist\n\t\tif (!mediaStorageDir.exists()) {\n\t\t\tif (!mediaStorageDir.mkdirs()) {\n\t\t\t\tLog.d(TAG + \"Picture\", \"Oops! Failed create picture directory\");\n\t\t\t\treturn null;\n\t\t\t}\n\t\t}\n\n\t\t// Create a media file name\n\t\tString timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\",\n\t\t\t\tLocale.getDefault()).format(new Date());\n\t\tFile mediaFile = new File(mediaStorageDir.getPath() + File.separator\n\t\t\t\t+ \"SAMPLE_\" + timeStamp + \".jpg\");\n\t\treturn mediaFile;\n\t}", "public File toFile() {\n\t\treturn this.file;\n\t}", "public String outputFileDir() {\n return outputFileDir;\n }", "@Nullable\n @Override\n public Path getPathToOutputFile() {\n return null; // I mean, seriously? OK.\n }", "public abstract boolean isFileOutput();", "private void outputToFile() {\n\t\tPath filePath = Paths.get(outputFile);\n\n\t\ttry (BufferedWriter writer = Files.newBufferedWriter(filePath,\n\t\t\t\tCharset.forName(\"UTF-8\"));) {\n\t\t\tRowIterator iterator = currentGen.iterateRows();\n\t\t\twhile (iterator.hasNext()) {\n\t\t\t\tElemIterator elem = iterator.next();\n\t\t\t\twhile (elem.hasNext()) {\n\t\t\t\t\tMatrixElem mElem = elem.next();\n\t\t\t\t\twriter.write(mElem.rowIndex() + \",\" + mElem.columnIndex());\n\t\t\t\t\twriter.newLine();\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(\"Unable to write to the provided file\");\n\t\t}\n\n\t}", "private static void writeToOutput() {\r\n FileWriter salida = null;\r\n String archivo;\r\n JFileChooser jFC = new JFileChooser();\r\n jFC.setDialogTitle(\"KWIC - Seleccione el archivo de salida\");\r\n jFC.setCurrentDirectory(new File(\"src\"));\r\n int res = jFC.showSaveDialog(null);\r\n if (res == JFileChooser.APPROVE_OPTION) {\r\n archivo = jFC.getSelectedFile().getPath();\r\n } else {\r\n archivo = \"src/output.txt\";\r\n }\r\n try {\r\n salida = new FileWriter(archivo);\r\n PrintWriter bfw = new PrintWriter(salida);\r\n System.out.println(\"Índice-KWIC:\");\r\n for (String sentence : kwicIndex) {\r\n bfw.println(sentence);\r\n System.out.println(sentence);\r\n }\r\n bfw.close();\r\n System.out.println(\"Se ha creado satisfactoriamente el archivo de texto\");\r\n } catch (Exception e) {\r\n e.printStackTrace();\r\n }\r\n }", "protected void createHMetisOutFilePath() {\n\t\tString file = \"\";\n\t\tfile += \"TEMP_GRAPH_FILE.hgr.part.\";\n\t\tfile += this.getPartitioner().getPartition().getNumBlock();\n\t\tthis.setHMetisOutFile(file);\t\n\t}", "String getFullWorkfileName();", "private File getOutputMediaFile() {\n File mediaStorageDir = new\n File(Environment.getExternalStorageDirectory()\n + \"/FoodChain/\"\n + \"/Files\");\n\n\n if (!mediaStorageDir.exists()) {\n if (!mediaStorageDir.mkdirs()) {\n return null;\n }\n }\n File mediaFile;\n mediaFile = new File(mediaStorageDir.getPath() + File.separator + \"QRCodeImage.png\");\n return mediaFile;\n }", "String getFileName();", "String getFileName();", "String getFileName();", "String getFileName();", "String getFileName();", "public File toOutputFile(File source, String basePath, String outName) {\n String path = basePath != null ? basePath : source.getParent();\r\n if (path == null) path = \"\";\r\n // if the configured path is absolute we take it, otherwise we append it\r\n if (directory != null && directory.startsWith(File.separator)) {\r\n path = directory;\r\n }\r\n if (directory != null) {\r\n if (path.length() > 0) {\r\n path += File.separator + directory;\r\n } else {\r\n path += directory;\r\n }\r\n }\r\n // setting the name\r\n path += File.separator + buildName(FilenameUtils.getBaseName(source.getName()), name != null ? name : outName, namePrefix, nameSuffix);\r\n\r\n return FileUtil.newFile(path);\r\n }", "String getOutputName();", "public void setOutput(File file){\n outputDir = file;\n }", "public static String getOutputFilePath(String path) {\n StringBuilder outputFilePath = new StringBuilder();\n String[] splittedPath = path.split(Constants.SLASH);\n outputFilePath.append(Constants.OUTPUT_FILE_LOCATION);\n outputFilePath.append(Constants.SLASH);\n outputFilePath.append(splittedPath[splittedPath.length - 1]\n .split(\"\\\\.\")[0]);\n outputFilePath.append(System.currentTimeMillis());\n outputFilePath.append(Constants.DOT_WAV);\n return outputFilePath.toString();\n }", "private File getOutputMediaFile() {\n // External sdcard file location\n File mediaStorageDir = new File(Environment.getExternalStorageDirectory(),\n VIDEO_DIRECTORY_NAME);\n // Create storage directory if it does not exist\n if (!mediaStorageDir.exists()) {\n if (!mediaStorageDir.mkdirs()) {\n Log.d(TAG, \"Oops! Failed create \"\n + VIDEO_DIRECTORY_NAME + \" directory\");\n return null;\n }\n }\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\",\n Locale.getDefault()).format(new Date());\n File mediaFile;\n\n mediaFile = new File(mediaStorageDir.getPath() + File.separator\n + \"VID_\" + timeStamp + \".mp4\");\n\n return mediaFile;\n }", "public String outputStringForWritingToFile() {\n if (stringBuilder.length() >= ProjectConstants.BUFFER_CAPACITY || bytesProcessed == numberOfBytesToBeProcessed) {\n String temp = stringBuilder.toString();\n stringBuilder.setLength(0);\n return temp;\n } else {\n return null;\n }\n }", "@Nullable\n @Override\n public IFile getOutputRoot() {\n return myTempModuleLocation.findChild(\"src_gen\");\n }", "Output createOutput();", "public boolean getSaveOutputToFile() {\n return saveOutputToFile;\n }", "protected final ByteSink getOutput(String name) {\n try {\n if (name.equals(\"-\")) {\n return new StandardOutputSink();\n } else {\n File file = new File(name);\n if (file.isDirectory()) {\n throw new IOException(name); // TODO Message? Exception?\n } else if (file.exists() && !file.canWrite()) {\n throw new IOException(name); // TODO Message? Exception?\n } else {\n return Files.asByteSink(file);\n }\n }\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }\n }", "public String getOutput() {\n\t\treturn results.getOutput() ;\n\t}", "public String getFile() {\n \n // return it\n return theFile;\n }", "public String toStringFile(){\n return null;\n }", "java.lang.String getFileName();", "java.lang.String getFileName();", "java.lang.String getFileName();", "java.lang.String getFileName();", "java.lang.String getFileName();", "java.lang.String getFileName();", "java.lang.String getFileName();", "java.lang.String getFileName();", "java.lang.String getFileName();", "@Override\n\tpublic String generatePathStr(String component,\n\t\t\tString outputName) throws RemoteException {\n\t\treturn \"/user/\" + userName + \"/tmp/redsqirl_\" + component + \"_\" + outputName\n\t\t\t\t+ \"_\" + RandomString.getRandomName(8)+\".txt\";\n\t}", "public String getOutput() {\n return output.toString();\n }" ]
[ "0.78078246", "0.76411813", "0.7627881", "0.7417555", "0.7327701", "0.72726554", "0.72225785", "0.7207681", "0.7145499", "0.71295893", "0.70999575", "0.69453555", "0.6938212", "0.6891512", "0.6839908", "0.681333", "0.6780079", "0.6718443", "0.67013323", "0.6698312", "0.6694185", "0.65870345", "0.65754133", "0.65606284", "0.65541434", "0.6500703", "0.645383", "0.62869924", "0.6285899", "0.6263574", "0.6248625", "0.6245627", "0.62396157", "0.6223535", "0.6156783", "0.6149689", "0.6132481", "0.6115144", "0.6111041", "0.60816693", "0.60641253", "0.6058931", "0.6036465", "0.60351545", "0.598476", "0.5980671", "0.5975785", "0.5952501", "0.59006333", "0.58988154", "0.5886024", "0.5877798", "0.58746755", "0.58469635", "0.5836075", "0.5833473", "0.58324146", "0.5831275", "0.5831275", "0.5831275", "0.58274275", "0.5822478", "0.5818176", "0.58163506", "0.58143866", "0.5798085", "0.57825226", "0.57720506", "0.5769637", "0.5765639", "0.5762698", "0.57585996", "0.57585996", "0.57585996", "0.57585996", "0.57585996", "0.57548404", "0.5754052", "0.57432604", "0.57360727", "0.57306284", "0.57252544", "0.5724231", "0.57232404", "0.57154745", "0.5712315", "0.57043314", "0.5704288", "0.5703298", "0.5698485", "0.5698485", "0.5698485", "0.5698485", "0.5698485", "0.5698485", "0.5698485", "0.5698485", "0.5698485", "0.56939155", "0.56934005" ]
0.7169738
8
Handles the bulk of the processing, mostly delegating to other methods.
public void visit(ASTNode[] nodes, SourceUnit source) { checkNodesForAnnotationAndType(nodes[0], nodes[1]); addDataSourceHandlerIfNeeded(source, (AnnotationNode) nodes[0], (ClassNode) nodes[1]); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void additionalProcessing() {\n\t}", "@Override\n\tpublic void processing() {\n\n\t}", "private void processBulk()\n {\n File inDir = new File(m_inDir);\n String [] fileList = inDir.list();\n \n for (int j=0; j<fileList.length; j++)\n {\n String file = fileList[j];\n if (file.endsWith(\".xml\"))\n {\n m_inFile = m_inDir + \"/\" + file;\n m_localeStr = Utilities.extractLocaleFromFilename(file);\n processSingle();\n }\n }\n }", "public synchronized void processAll()\r\n {\r\n if (!myItems.isEmpty())\r\n {\r\n myProcessor.accept(New.list(myItems));\r\n myItems.clear();\r\n }\r\n }", "@Override\n\tpublic Result doProcessing() {\n\t\treturn doProcessing1();\n\t}", "protected void doProcess() throws Exception {\n boolean continueProcessing = true;\n while (continueProcessing) {\n continueProcessing = processFollowUpsRecords();\n }\n commitRecords();\n }", "@Override\r\n \tpublic void process() {\n \t\t\r\n \t}", "public void processing();", "@Override\r\n\tprotected void process(List<String> chunks) {\r\n\t\tfor (String data: chunks) {\r\n\t\t\thandleData(data);\r\n\t\t}\r\n\t}", "@Override\n\tpublic void processData() {\n\t\t\n\t}", "public final void process() {\n parseReport();\n checkThreshold();\n updateQualityXML();\n }", "@Override\n protected void process() {\n final List<File> srtFiles = new FileFinder().collect(new File(Constants.FILEFIXER_ROOT_DIR), Constants.SRT_EXTENSION);\n\n // process each file, making a backup first if it is enabled\n for (final File srtFile : srtFiles) {\n System.out.println(\"Processing subtitle file :: \" + srtFile.getName());\n\n if (Constants.MAKE_BACKUPS) {\n backupFile(srtFile);\n }\n\n fix(srtFile);\n }\n }", "public void run() {\n doProcessDocuments();\n //doReport();\n\n }", "public void process() {\n\t}", "protected void process() {\n long start = System.nanoTime();\n loadDriver(translator);\n configureConnectionPool();\n\n if (this.checkCompatibility) {\n checkCompatibility();\n }\n\n if (addKeyForTenant != null) {\n addTenantKey();\n } else if (this.dropSchema) {\n // only proceed with the drop if the user has provided additional confirmation\n if (this.confirmDrop) {\n dropSchema();\n } else {\n throw new IllegalArgumentException(\"[ERROR] Drop not confirmed with --confirm-drop\");\n }\n } else if (this.dropAdmin) {\n // only try to drop the admin schema\n if (this.confirmDrop) {\n dropSchema();\n } else {\n throw new IllegalArgumentException(\"[ERROR] Drop not confirmed with --confirm-drop\");\n }\n } else if (updateFhirSchema || updateOauthSchema || updateJavaBatchSchema) {\n updateSchema();\n } else if (createFhirSchema || createOauthSchema || createJavaBatchSchema) {\n createSchemas();\n } else if (updateProc) {\n updateProcedures();\n } else if (this.listTenants) {\n listTenants();\n } else if (this.allocateTenant) {\n allocateTenant();\n } else if (this.testTenant) {\n testTenant();\n } else if (this.freezeTenant) {\n freezeTenant();\n } else if (this.dropDetached) {\n dropDetachedPartitionTables();\n } else if (this.deleteTenantMeta) {\n deleteTenantMeta();\n } else if (this.dropTenant) {\n dropTenant();\n }\n\n if (this.grantTo != null) {\n grantPrivileges();\n }\n\n long elapsed = System.nanoTime() - start;\n logger.info(String.format(\"Processing took: %7.3f s\", elapsed / NANOS));\n }", "public void performOperation() {\n processFile(this.scopedFile);\n }", "private synchronized void performOperations() {\r\n\t\ttry {\r\n\t\t\tswitch (operationStatus) {\r\n\t\t\tcase TRUNCATE_DATA:\r\n\t\t\t\tHibernateUtil.rawQuery(\"TRUNCATE csv;\");\r\n\t\t\t\tif (DEBUG) {\r\n\t\t\t\t\tUtil.writeLog(toString());\r\n\t\t\t\t\tLogger.getLogger(Scheduler.class.getName()).log(Level.INFO, toString());\r\n\t\t\t\t}\r\n\t\t\t\treturn;\r\n\t\t\tcase APPEND_DATA:\r\n\t\t\t\tparseData(false);\r\n\t\t\t\tif (DEBUG) {\r\n\t\t\t\t\tUtil.writeLog(toString());\r\n\t\t\t\t\tLogger.getLogger(Scheduler.class.getName()).log(Level.INFO, toString());\r\n\t\t\t\t}\r\n\t\t\t\tbreak;\r\n\t\t\tcase UPDATE_DATA:\r\n\t\t\t\tparseData(true);\r\n\t\t\t\tif (DEBUG) {\r\n\t\t\t\t\tUtil.writeLog(toString());\r\n\t\t\t\t\tLogger.getLogger(Scheduler.class.getName()).log(Level.INFO, toString());\r\n\t\t\t\t}\r\n\t\t\t\tbreak;\r\n\t\t\tcase ARRANGE_DATA:\r\n\t\t\t\tarrangeData();\r\n\t\t\t\tif (DEBUG) {\r\n\t\t\t\t\tUtil.writeLog(toString());\r\n\t\t\t\t\tLogger.getLogger(Scheduler.class.getName()).log(Level.INFO, toString());\r\n\t\t\t\t}\r\n\t\t\t\tbreak;\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}", "protected void handleEntitiesIndividually() {\n\n\t\tfinal Set<Long> originalBatch = getUidsToLoad();\n\t\tfinal Set<Long> batchOfOne = new HashSet<Long>();\n\n\t\t/**\n\t\t * We replace the batch of all the uids with our own which we'll only put one uid at a time.\n\t\t */\n\t\tsetBatch(batchOfOne);\n\n\t\tLOG.info(\"Loading \" + originalBatch.size() + \" entities individually\");\n\n\t\tfor (final Long uid : originalBatch) {\n\n\t\t\ttry {\n\n\t\t\t\tbatchOfOne.clear();\n\t\t\t\tbatchOfOne.add(uid);\n\n\t\t\t\tfinal Collection<ENTITY> loadedEntity = loadBatch();\n\t\t\t\tgetPipelinePerformance().addCount(\"loader:entities_loaded_individually\", loadedEntity.size());\n\n\t\t\t\tfor (final ENTITY entity : loadedEntity) {\n\t\t\t\t\tgetNextStage().send(entity);\n\t\t\t\t\tgetPipelinePerformance().addCount(\"loader:entities_out\", 1);\n\n\t\t\t\t}\n\t\t\t} catch (final Exception e) {\n\t\t\t\tgetPipelinePerformance().addCount(\"loader:individual_entity_loading_failures\", 1);\n\n\t\t\t\tLOG.error(\"Could not load entity with uid \" + uid + \" for indexing, this entity will not be indexed. \", e);\n\t\t\t}\n\n\t\t}\n\n\t\t/** Put the original set of uids back. */\n\t\tsetBatch(originalBatch);\n\n\t}", "public void execute() {\n for (CoordAction<PCEData,PCEData> pce : this) {\n pce.setRequestData(this.getRequestData());\n // Aggregators trigger the execution of its children PCE's before they are\n // executed themselves.\n pce.process();\n }\n }", "private void processData() {\n switch (actionCode) {\n\n // get all cars in inventory\n case \"101\":\n String size = \"There are totally \" + Inventory.cars.size() + \" cars in inventory\\n\";\n response = size + Inventory.serializeCarList(Inventory.cars);\n break;\n\n // find cars by make\n case \"102\":\n List<Car> carList = Inventory.findCarsByMake(data);\n\n if (!carList.isEmpty())\n response = Inventory.serializeCarList(carList);\n else\n response = \"Not found.\";\n break;\n\n // find car by VIN\n case \"103\":\n Car car = Inventory.findCarByVIN(data);\n if (car != null)\n response = car.getCarInfo();\n else\n response = \"Not found.\";\n break;\n\n // add new car from data client supplies\n case \"104\":\n // process data submitted by client\n String[] details = data.split(\",\");\n String vin = details[0];\n String make = details[1];\n String color = details[2];\n int doors = Integer.parseInt(details[3]);\n int seats = Integer.parseInt(details[4]);\n double price = Double.parseDouble(details[5]);\n int mpg = Integer.parseInt(details[6]);\n int power = Integer.parseInt(details[7]);\n\n Car newCar = new Car(vin, make, color, doors, seats, price, mpg, power);\n Inventory.addCar(newCar);\n\n response = \"New car added.\";\n break;\n\n // get all parts in inventory\n case \"201\":\n // serialize list of part\n String partSize = \"There are totally \" + Inventory.parts.size() + \" parts in inventory\\n\";\n response = partSize + Inventory.serializePartList(Inventory.parts);\n break;\n\n // find part by ID\n case \"202\":\n int id = Integer.parseInt(data);\n Part p = Inventory.findPartById(id);\n if (p != null)\n response = p.getPartInfo();\n else\n response = \"Not found.\";\n break;\n\n // add new part to inventory\n case \"203\":\n String[] partDetails = data.split(\",\");\n int partID = Integer.parseInt(partDetails[0]);\n String des = partDetails[1];\n double partPrice = Double.parseDouble(partDetails[2]);\n String origin = partDetails[3];\n\n Part newPart = new Part(partID, des, partPrice, origin);\n Inventory.addPart(newPart);\n response = \"New part added.\";\n break;\n\n // get all sales\n case \"301\":\n String totalSaleOrders = \"There are totally \" + SeedPurchases.purchases.size() + \" sale orders.\\n\";\n String cost = \"Total sale value: \" + SeedPurchases.getPurchasesCost() + \" dollars\\n\";\n\n response = totalSaleOrders + cost;\n break;\n\n default:\n response = \"Invalid request\";\n }\n }", "public void process() {\r\n\t\tdisplayMenu();\r\n\t\tint command = getCommand();\r\n\t\twhile (command != EXIT) {\r\n\t\t\tswitch (command) {\r\n\t\t\tcase ADD_CUSTOMER:\r\n\t\t\t\taddCustomer();\r\n\t\t\t\tbreak;\r\n\t\t\tcase ADD_MODEL:\r\n\t\t\t\taddWasher();\r\n\t\t\t\tbreak;\r\n\t\t\tcase ADD_TO_INVENTORY:\r\n\t\t\t\taddToInventory();\r\n\t\t\t\tbreak;\r\n\t\t\tcase PURCHASE:\r\n\t\t\t\tpurchase();\r\n\t\t\t\tbreak;\r\n\t\t\tcase LIST_CUSTOMERS:\r\n\t\t\t\tlistCustomers();\r\n\t\t\t\tbreak;\r\n\t\t\tcase LIST_WASHERS:\r\n\t\t\t\tlistWashers();\r\n\t\t\t\tbreak;\r\n\t\t\tcase DISPLAY_TOTAL:\r\n\t\t\t\tdisplayTotal();\r\n\t\t\t\tbreak;\r\n\t\t\tcase SAVE:\r\n\t\t\t\tsave();\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\tdisplayMenu();\r\n\t\t\tcommand = getCommand();\r\n\t\t}\r\n\t\tSystem.out.println(\"Goodbye.\");\r\n\t}", "private void processBatch(PrintWriter writer) {\n log.info(\"Processing batch ({} features input so far).\", this.geneCount);\n // Return a record for each input feature considered essential.\n var results = p3.query(Table.SP_GENE, \"patric_id,property\",\n Criterion.IN(\"patric_id\", this.batchMap.keySet()));\n log.info(\"{} results found in query for {} genes.\", results.size(),\n this.batchMap.size());\n // Form the genes found into a set.\n var essentials = results.stream()\n .filter(x -> StringUtils.equals(P3Connection.getString(x, \"property\"), \"Essential Gene\"))\n .map(x -> P3Connection.getString(x, \"patric_id\"))\n .collect(Collectors.toSet());\n // Output all the genes in the batch.\n for (Map.Entry<String, String> entry : this.batchMap.entrySet()) {\n String geneId = entry.getKey();\n String flag = \"\";\n if (essentials.contains(geneId)) {\n flag = \"Y\";\n this.essentialCount++;\n }\n writer.format(\"%s\\t%s\\t%s%n\", geneId, this.batchMap.get(geneId), flag);\n }\n // Clear the batch for the next run.\n this.batchMap.clear();\n }", "protected void runAfterIteration() {}", "public void postProcessing() {\n //empty\n }", "public void process() {\n int command;\n menu();\n while ((command = getCommand()) != EXIT) {\n switch (command) {\n case ADD_CLIENT: addClient();\n break;\n case ADD_PRODUCT: addProduct();\n break;\n case ADD_SUPPLIER: addSupplier();\n break;\n case ASSIGN_PRODUCT: linkProduct();\n break;\n case UNASSIGN_PRODUCT: unlinkProduct();\n break;\n case ACCEPT_SHIPMENT: acceptShipment();\n break;\n case ACCEPT_ORDER: acceptOrder();\n break;\n case PROCESS_ORDER: processOrder();\n break;\n case CREATE_INVOICE: createInvoice();\n break;\n case PAYMENT: payment();\n break;\n case SHOW_CLIENTS: showClients();\n break;\n case SHOW_PRODUCTS: showProducts();\n break;\n case SHOW_SUPPLIERS: showSuppliers();\n break;\n case SHOW_ORDERS: showOrders();\n break;\n case GET_TRANS: getTransactions();\n break;\n case GET_INVOICE: getInvoices();\n break;\n case SAVE: save();\n break;\n case MENU: menu();\n break;\n case TEST: test();\n break;\n }\n }\n }", "public void ProcessFiles() {\n LOG.info(\"Processing SrcML files ...\");\n final Collection<File> allFiles = ctx.files.AllFiles();\n int processed = 0;\n final int numAllFiles = allFiles.size();\n final int logDiv = Math.max(1, Math.round(numAllFiles / 100f));\n\n for (File file : allFiles) {\n final String filePath = file.filePath;\n final FilePath fp = ctx.internFilePath(filePath);\n\n Document document = readSrcmlFile(filePath);\n DocWithFileAndCppDirectives extDoc = new DocWithFileAndCppDirectives(file, fp, document, ctx);\n\n internAllFunctionsInFile(file, document);\n processFeatureLocationsInFile(extDoc);\n\n if ((++processed) % logDiv == 0) {\n int percent = Math.round((100f * processed) / numAllFiles);\n LOG.info(\"Parsed SrcML file \" + processed + \"/\" + numAllFiles\n + \" (\" + percent + \"%) (\" + (numAllFiles - processed) + \" to go)\");\n }\n }\n\n LOG.info(\"Parsed all \" + processed + \" SrcML file(s).\");\n }", "@Override\n\tpublic void process() throws Exception {\n\n\t}", "public void process()\n {\n try\n {\n selectNow();\n handleSelectedKeys();\n }\n catch (final Exception e)\n {\n throw new RuntimeException(e);\n }\n }", "public void run() {\n try {\n handler.process( client, map );\n }\n catch ( java.io.IOException ioe ) {\n System.err.println( ioe );\n }\n }", "@Override\r\n\tprotected void processExecute() {\n\r\n\t}", "@Override\n public void run() {\n List<File> mFolderList = getContents(\"'\" + f.getId() + \"' in parents and \" + NOT_TRASHED + \" and \" + FOLDER + \" and \" + NOT_SPREADSHEET);\n // check if there is a folder\n if (!mFolderList.isEmpty()) {\n prune(targetFolder, mFolderList, false);\n processFolders(mFolderList, targetFolder);\n }\n \n // list of contents in f that are files\n List<File> mFileList = getContents(\"'\" + f.getId() + \"' in parents and \" + NOT_TRASHED + \" and \" + NOT_FOLDER + \" and \" + SUPPORTED_FILES);\n \n prune(targetFolder, mFileList, true);\n processFiles(mFileList, targetFolder);\n }", "@Override\r\n\tprotected void process() {\n\t\tconsultarSustentoProxy.setCodigoActvidad(codigo_actividad);\r\n\t\tconsultarSustentoProxy.setCodigoCliente(codigo_cliente);\r\n\t\tconsultarSustentoProxy.setCodigoPLan(codigo_plan);\r\n\t\tconsultarSustentoProxy.execute();\r\n\t}", "@Override\n public void run() {\n\tprocess();\n }", "public void run() {\n\t\t\n\t\t\n\t\t\tsaleMethod1();\n\t\t\t//saleMethod3();\n\t\t\t//saleMethod2();\n\t}", "@Override\n public void onBatchScanResults(List<ScanResult> results) {\n for (ScanResult result : results) {\n processResult(result);\n }\n }", "public void processOrders() \n\t{\n\t\tfor(int index = 0; index < orderList.size(); index++)\n\t\t{\t\n\t\t\t//process the order and possibly promote the customer object\n\t\t\tcustomerArrayHolder.processOrder(orderList.get(index));\n\t\t}\n\t\torderList.clear(); //should prevent memory leaks, not sure if necessary\n\t}", "private void processAccounts(){\r\n for (Account aAccount: theAccounts) {\r\n aAccount.runYear();\r\n }\r\n\r\n }", "public void run() {\n\t\t\t\t\t\t\t\t\t\titemList.clear();\r\n\t\t\t\t\t\t\t\t\t\tfor (IBMDataObject item : objects) {\r\n\t\t\t\t\t\t\t\t\t\t\titemList.add((Transaction) item);\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\tsortItems(itemList);\r\n\t\t\t\t\t\t\t\t\t}", "private void \n\tprocessPieceChecks() \n\t{\n\t\tif ( piece_check_result_list.size() > 0 ){\n\n\t\t\tfinal List pieces;\n\n\t\t\t// process complete piece results\n\n\t\t\ttry{\n\t\t\t\tpiece_check_result_list_mon.enter();\n\n\t\t\t\tpieces = new ArrayList( piece_check_result_list );\n\n\t\t\t\tpiece_check_result_list.clear();\n\n\t\t\t}finally{\n\n\t\t\t\tpiece_check_result_list_mon.exit();\n\t\t\t}\n\n\t\t\tfinal Iterator it = pieces.iterator();\n\n\t\t\twhile (it.hasNext()) {\n\n\t\t\t\tfinal Object[]\tdata = (Object[])it.next();\n\n\t\t\t\tprocessPieceCheckResult((DiskManagerCheckRequest)data[0],((Integer)data[1]).intValue());\n\n\t\t\t}\n\t\t}\n\t}", "@Override\n\t\t\tpublic void run() {\n\t\t\n\t\t\t\ttry{\n\t\t\t\t\n\t\t\t\t\tint staging_status = 1;\n\t\t\t\t\tboolean hasFailed = false;\n\t\t\t\t\t\n\t\t\t\t\tLong id;\n\t\t\t\t\t\n\t\t\t\t\t//Annoying Bug\n\t\t\t\t\tif(arg0.getParameter(\"app_inst_id\") instanceof String)\n\t\t\t\t\t\tid = Long.valueOf((String) arg0.getParameter(\"app_inst_id\"));\n\t\t\t\t\telse\n\t\t\t\t\t\tid = (Long) arg0.getParameter(\"app_inst_id\");\n\t\t\t\t\t\n\t\t\t\t\t//AppInstance inst = AHEEngine.getAppInstanceEntity(id);\n\t\t\t\t\tFileStaging[] in = AHEEngine.getFileStageInByAppInstId(id);\n\t\t\t\t\t\n\t\t\t\t\t//Update AppInstance Status\n\t\t\t\t\tAHEEngine.setCurrentAppInstanceState(id, AppInstanceStates.Data_Staging.toString(),\"Staging Data\");\n\t\t\t\t\t\n\t\t\t\t\t//Sort FileStaging into groups\n\t\t\t\t\tHashMap<String, ArrayList<FileStaging>> map = new HashMap<String, ArrayList<FileStaging>>();\n\t\t\t\t\t\n\t\t\t\t\tfor(int i=0; i < in.length; i++){\n\t\t\t\t\t\t\n\t\t\t\t\t\tURI uri = null;\n\t\t\t\t\t\t\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\turi = new URI(in[i].getTarget());\n\t\t\t\t\t\t} catch (URISyntaxException e) {\n\t\t\t\t\t\t\te.printStackTrace();\n//\t\t\t\t\t\t\tlogger.error(\"Data Staging failed\",e);\n//\t\t\t\t\t\t\tstaging_status = -1;\n//\t\t\t\t\t\t\thasFailed = true;\n\t\t\t\t\t\t\tfailed(id, arg0, \"Data Staging failed\", e);\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\tResource res = ResourceRegisterAPI.getResourceByBestMatch(uri);\n\t\t\t\t\t\t\n\t\t\t\t\t\tif(map.containsKey(res.getResource_interface())){\n\t\t\t\t\t\t\tmap.get(res.getResource_interface()).add(in[i]);\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\tArrayList<FileStaging> array = new ArrayList<FileStaging>();\n\t\t\t\t\t\t\tarray.add(in[i]);\n\t\t\t\t\t\t\tmap.put(res.getResource_interface(), array);\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\n\t\t\t\t\tString[] keyset = map.keySet().toArray(new String[map.size()]);\n\t\t\t\t\t\n\t\t\t\t\tString err = \"\";\n\t\t\t\t\t\n\t\t\t\t\tfor(int i=0; i < keyset.length; i++){\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\tArrayList<FileStaging> temp = map.get(keyset[i]);\n\t\t\t\t\t\t\n\t\t\t\t\t\ttry{\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tAHEMessage msg = TransferHandler.transfer(temp.toArray(new FileStaging[temp.size()]));\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tif(AHEMessageUtility.hasException(msg)){\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tString er1 = \"\";\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tif(msg.getException() != null){\n\t\t\t\t\t\t\t\t\ter1 = msg.getException()[0];\n\t\t\t\t\t\t\t\t}\n//\t\t\t\t\t\t\t\tstaging_status = -1;\n//\t\t\t\t\t\t\t\thasFailed = true;\n//\t\t\t\t\t\t\t\tlogger.error(\"Data Staging failed. Transfer Module has returned an exception msg : \" + er1);\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tfailed(id, arg0, \"Data Staging failed. Transfer Module has returned an exception msg : \" + er1,null);\n\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}\n//\t\t\t\t\t\t\telse{\n//\t\t\t\t\t\t\t\t\n//\t\t\t\t\t\t\t\tif(msg.getInformation().length > 0){\n//\t\t\t\t\t\t\t\t\t\n//\t\t\t\t\t\t\t\t\t//Update FileStaging with uid\n//\t\t\t\t\t\t\t\t\tfor(int j=0; j < temp.size(); j++){\n//\t\t\t\t\t\t\t\t\t\t\n//\t\t\t\t\t\t\t\t\t\ttemp.get(j).setIdentifier(msg.getInformation()[0]);\n//\t\t\t\t\t\t\t\t\t\tHibernateUtil.SaveOrUpdate(temp.get(j));\n//\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n//\t\t\t\t\t\t\t\t\t}\n//\t\t\t\t\t\t\t\t\t\n//\t\t\t\t\t\t\t\t}\n//\t\t\t\t\t\t\t\t\n//\t\t\t\t\t\t\t}\n\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t}catch(Exception e){\n//\t\t\t\t\t\t\tlogger.error(\"Data Staging failed\",e);\n//\t\t\t\t\t\t\tstaging_status = -1;\n//\t\t\t\t\t\t\thasFailed = true;\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tfailed(id, arg0, \"Data Staging failed\",e);\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\n\t\t\t\t\t}\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\tif(hasFailed) {\n\t\t\t\t\t\tAHEEngine.setCurrentAppInstanceState(id, AppInstanceStates.Error_DataStaging.toString(),\"Data Staging Information Error : \" + err);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tAHEEngine.setCurrentAppInstanceState(id, AppInstanceStates.Workflow_Running.toString(),\"Data Staging Information Submitted\");\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tMap<String, Object> result = new HashMap<String, Object>();\n\t\t\t\t\t\n\t\t\t\t\tif(hasFailed){\n\t\t\t\t\t\tstaging_status = -1;\n\t\t\t\t\t\tresult.put(notification_code, \"Data Staging failed for AppInst : \" + id);\n\t\t\t\t\t}\n\t\t\t\t\tresult.put(staging_status_code, staging_status);\n\t\t\n\t\t\t\t\tAHERuntime.getAHERuntime().getAhe_engine().getWorkflowHandler().getStatefulKnowledgeSession().getWorkItemManager().completeWorkItem(arg0.getId(), result);\n\t\t\t\t\t\n\t\t\t\t\t//arg1.completeWorkItem(arg0.getId(), result);\n\t\t\n\t\t\t\t\treturn;\n\t\t\t\t\t\n\t\t\n\t\t\t\t\t\n\t\t\t\t}catch(AHEException e){\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t\tfailed(arg0, e.getMessage());\n\t\t\t\t}\n\n\t\t\t}", "private void processData(Set<String> ids) {\n\t\tlog.debug(\"Starting processData\");\n\t\ttry (EventDao eventDao = new EventDao(connection)) {\n\t\t\tfor (String id : ids) {\n\t\t\t\tLogEvent startEvent = startedMap.get(id);\n\t\t\t\tLogEvent finishEvent = finishedMap.get(id);\n\t\t\t\tif (startEvent != null && finishEvent != null) {\n\t\t\t\t\tlog.debug(\"Calling converter for id {} \", id);\n\t\t\t\t\tEvent event = eventConverter.EventDTOToEvent(startEvent, finishEvent);\n\t\t\t\t\tlog.debug(\"Conversion complete, saving data\");\n\t\t\t\t\teventDao.save(event);\n\t\t\t\t\tlog.debug(\"Save Complete\");\n\t\t\t\t} else {\n\t\t\t\t\tlog.error(\"Failure processing event {}\", id);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "@Override\r\n\tprotected void processFinish() {\n\r\n\t}", "@Override\r\n\tprotected void processFinish() {\n\r\n\t}", "@Override\r\n\tprotected void processFinish() {\n\r\n\t}", "@Override\r\n\tpublic void process(ResultItems arg0, Task arg1) {\n\t\t\r\n\t}", "protected void execute() {\n \t\n }", "protected void execute() {\n \t\n }", "@Override\n\tpublic void startProcessing() {\n\n\t}", "private void constructorPostProcessing()\n {\n prepareNextRequest();\n fetchNextBatch();\n advanceObjectSummary();\n }", "public void process() {\n\n }", "public void run() {\n\t \t\t\tfinal Processor mProcessor = new Processor(ScanUtils.appFolder);\n\t \t\t\t\n\t \t\t\ttry {\n\t\t\t\t\t\tif( mProcessor.loadFormImage(inputPath, calibrationPath) ) {\n\t\t\t\t\t\t\tint formIdx = 0;\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tfor(int i = 0; i < templatePaths.length; i++){ \n\t\t\t\t\t\t\t\tLog.i(LOG_TAG, \"loadingFD: \" + templatePaths[i]);\n\t\t\t\t\t\t\t\tif(!mProcessor.loadFeatureData(templatePaths[i])){\n\t\t\t\t\t\t\t\t\tthrow new Exception(\"Could not load feature data from: \" + templatePaths[i]);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tif(templatePaths.length > 1) {\n\t\t\t\t\t\t\t\tformIdx = mProcessor.detectForm();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tif(formIdx >= 0) {\n\t\t\t\t\t\t\t\tif(mProcessor.setTemplate(templatePaths[formIdx])) {\n\t\t\t\t\t\t\t\t\tLog.i(LOG_TAG,\"template loaded\");\n\t\t\t\t\t\t\t\t\tif( mProcessor.alignForm(outputPath, formIdx) ) {\n\t\t\t\t\t\t\t\t\t\tLog.i(LOG_TAG,\"aligned\");\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\t\t\tthrow new Exception(\"Failed to align form.\");\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\telse {\n\t\t\t\t\t\t\t\t\tthrow new Exception(\"Failed to set template.\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\tthrow new Exception(\"Failed to detect form.\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse {\n\t\t\t\t\t\t\tthrow new Exception(\"Failed to load image: \" + inputPath);\n\t\t\t\t\t\t}\n\t \t\t\t} catch (Exception e) {\n\t \t\t\t\toutputData.putString(\"errorMessage\", e.toString());\n\t \t\t\t}\n\t \t\t\tMessage msg = new Message();\n\t \t\t\tmsg.setData(outputData);\n\t \t\t\thandler.sendMessage(msg);\n\t \t\t}", "protected void internalRun() {\n work();\n }", "@Override\n public void run() {\n ArticleHeaders.loadData(getApplicationContext());\n CustomerHeaders.loadData(getApplicationContext());\n OrderReasons.loadData(getApplicationContext());\n }", "protected void emitBatch(){\n synchronized(this){\n\n revokeSendBatch();\n\n int viewn = getCurrentViewNumber();\n long seqn = getStateLog().getNextPrePrepareSEQ();\n\n PBFTRequestInfo rinfo = getRequestInfo();\n if(!rinfo.hasSomeWaiting()){\n return;\n }\n /* creates a new pre-prepare message */\n PBFTPrePrepare pp = null;\n\n int size = 0;\n\n /* while has not achieved the batch size and there is digests in queue */\n String digest = null;\n while(size < getBatchSize() && (digest = rinfo.getFirtRequestDigestWaiting())!= null){\n if(pp == null){\n pp = new PBFTPrePrepare(viewn, seqn, getLocalServerID());\n }\n pp.getDigests().add(digest);\n rinfo.assign(digest, RequestState.PREPREPARED);\n size += 1;//rinfo.getRequestSize(digest);\n }\n\n if(pp == null){\n return;\n }\n \n /* emits pre-prepare */\n emitPrePrepare(pp);\n //emit(pp, getLocalGroup().minus(getLocalProcess()));\n\n /* update log current pre-prepare */\n handle(pp);\n\n /* if there is digest then it will schedule a send batch */\n if(rinfo.hasSomeWaiting()){\n batch();\n }//end if digest queue is no empty\n\n }//end synchronized(this)\n }", "public void execute() {\r\n\r\n\t\t// Fetch the 10 records from DB\r\n\t\t// Iterate over them\r\n\t\t// Fetch the ImageActionObject\r\n\t\t// Get the first task to work on\r\n\t\t// Inastantiate the task by ImageActionTaskFactory.getImageActionTask\r\n\t\t// Set the ImageActionObject\r\n\t\t// Submit the task to the executor\r\n\t\tSimpleDateFormat dateFormat = new SimpleDateFormat(\r\n\t\t\t\t\"dd/MM/yyyy HH:mm:ss\");\r\n\t\tlog.info(\"*** Executing poller at : \" + dateFormat.format(new Date()));\r\n\t\tList<ImageActionObject> incompleteImageActionObjects = new ArrayList<ImageActionObject>();\r\n\t\t// Fetching the 10 records from DB\r\n\t\ttry {\r\n\t\t\tincompleteImageActionObjects = imageActionImpl\r\n\t\t\t\t\t.searchIncompleteImageAction(5);\r\n\t\t\tlog.debug(\"*** Got \" + incompleteImageActionObjects.size()\r\n\t\t\t\t\t+ \" to process\");\r\n\t\t} catch (DbException e) {\r\n\t\t\t// TODO Handle Error\r\n\t\t\tlog.error(\"searchIncompleteImageAction failed\", e);\r\n\t\t}\r\n\t\t// iterate over list of image action objects\r\n\t\tlog.debug(\"incompleteImageActionObjects::\"\r\n\t\t\t\t+ incompleteImageActionObjects);\r\n\r\n\t\tfor (ImageActionObject imageActionObj : incompleteImageActionObjects) {\r\n\t\t\tlog.info(\"ImageAction Object in poller (\" + imageActionObj.getId()\r\n\t\t\t\t\t+ \"): Number of tasks: \"\r\n\t\t\t\t\t+ imageActionObj.getActions().size());\r\n\t\t\tlog.info(\"Current status of image action object:\"\r\n\t\t\t\t\t+ imageActionObj.getCurrent_task_status());\r\n\t\t\t\r\n\t\t\tif(imageActionToRunCountMap.containsKey(imageActionObj.getId())){\r\n\t\t\t\tInteger currentCount = imageActionToRunCountMap.get(imageActionObj.getId());\r\n\t\t\t\tif(currentCount < 10){\r\n\t\t\t\t\taddEntryFromImageActionCountMap(imageActionObj.getId(), ++currentCount);\r\n\t\t\t\t}else{\r\n\t\t\t\t\t//mark error\r\n\t\t\t\t\tlog.info(\"mark image action {} to error after 10 tries\", imageActionObj.getId());\r\n\t\t\t\t\timageIdsInProcess.remove(imageActionObj.getImage_id());\r\n\t\t\t\t\timageActionObj.setCurrent_task_status(Constants.ERROR);\r\n\t\t\t\t\ttry {\r\n\t\t\t\t\t\tpersistService.updateImageAction(imageActionObj);\r\n\t\t\t\t\t\t\r\n\r\n\t\t\t\t\t\tcontinue;\r\n\t\t\t\t\t} catch (DbException e) {\r\n\t\t\t\t\t\tlog.error(\"Error in Poller\",e);\r\n\t\t\t\t\t}\t\r\n\t\t\t\t\tfinally{\r\n\t\t\t\t\t\tremoveEntryFromImageActionCountMap(imageActionObj.getId());\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}else{\t\t\t\t\r\n\t\t\t\taddEntryFromImageActionCountMap(imageActionObj.getId(), 1);\r\n\t\t\t}\r\n\r\n\t\t\tif (imageIdsInProcess.contains(imageActionObj.getImage_id())) {\r\n\t\t\t\tlog.info(\"Image already in process. Skipping\");\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\r\n\t\t\timageIdsInProcess.add(imageActionObj.getImage_id());\r\n\r\n\t\t\tif (imageActionObj.getCurrent_task_status() != null\r\n\t\t\t\t\t&& imageActionObj.getCurrent_task_status().equals(\r\n\t\t\t\t\t\t\tConstants.INCOMPLETE)) {\r\n\t\t\t\tExecuteActions task = new ExecuteActions(imageActionObj);\r\n\t\t\t\tImageActionExecutor.submitTask(task);\r\n\t\t\t\tlog.info(\"Submitted task for ExecuteActions for id: \"\r\n\t\t\t\t\t\t+ imageActionObj.getId());\r\n\t\t\t}\r\n\r\n\t\t}\r\n\r\n\t}", "private synchronized void handleActionStartAllUpload() {\n Log.d(TAG, \"handle action start all action\");\n // For sync, we stop upload thread first\n // 1. Pause mTask\n pauseUploadThread();\n // 2. Refresh mWaitDataList from local table upload_table\n refreshWaitData();\n // 3. Start mTask again\n startUploadThread();\n }", "private static void batchProcessing(File batchFolder) throws Exception {\n\t\tTAPAALGUI.init();\n\t\tTAPAALGUI.getAppGui().setVisible(false);\n\n\t\tSystem.out.println(\"=============================================================\");\n\t\tSystem.out.println(\"Batch Processing\");\n\t\tSystem.out.println(\"=============================================================\");\n\n\t\tSystem.out.println(\"Running in batch mode for \" + batchFolder.getAbsolutePath());\n\n\t\tBatchProcessingResultsTableModel results = new BatchProcessingResultsTableModel();\n\n\t\tfor (File f : batchFolder.listFiles()) {\n\t\t\tif (f.getName().toLowerCase().endsWith(\".tapn\") || f.getName().toLowerCase().endsWith(\".xml\")) {\n\t\t\t\tSystem.out.println(\"Processing File: \" + f);\n\n\t\t\t\tPetriNetTab tab = PetriNetTab.createNewTabFromInputStream(new FileInputStream(f), f.getName());\n\t\t\t\tTimedArcPetriNetNetwork network = tab.network();\n\t\t\t\tList<TAPNQuery> queries = StreamSupport\n\t\t\t\t\t\t.stream(tab.queries().spliterator(), false)\n\t\t\t\t\t\t.collect(Collectors.toList());\n\n\t\t\t\tfor (TAPNQuery query : queries) {\n\n\t\t\t\t\tSystem.out.println(\" | Running query: \" + query.getName());\n\n\t\t\t\t\tif(query.getReductionOption() == ReductionOption.VerifyTAPN || query.getReductionOption() == ReductionOption.VerifyDTAPN || query.getReductionOption() == ReductionOption.VerifyPN) {\n\t\t\t\t\t\tVerifier.runVerifyTAPNVerification(network, query, new VerificationCallback() {\n\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\tpublic void run(VerificationResult<TAPNNetworkTrace> result) {\n\n\t\t\t\t\t\t\t\tString resultString = result.getQueryResult().isQuerySatisfied() ? \"Satisfied\" : \"Not Satisfied\";\n\t\t\t\t\t\t\t\tSystem.out.println(\" | Result: \" + resultString);\n\n\t\t\t\t\t\t\t\tresults.addResult(new BatchProcessingVerificationResult(f.toString(), query,resultString, result.verificationTime(), MemoryMonitor.getPeakMemory(), result.getRawOutput(), result.stats()));\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t}, tab.getGuiModels(),false, null);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.println(\" | Skipped\");\n\t\t\t\t\t\t//Verifier.runUppaalVerification(network, query);\n\t\t\t\t\t}\n\n\t\t\t\t}\n\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(\"===========================================\");\n\t\tSystem.out.println(\"===========================================\");\n\n\t\tBatchProcessingResultsExporter exporter = new BatchProcessingResultsExporter();\n\t\texporter.exportToCSV(results.getResults(), System.out);\n\t\tSystem.out.println(\"Done\" + results.getRowCount());\n\t}", "void processAllMessages() {\n ArrayList<HdmiCecMessage> copiedBuffer = new ArrayList<>(mBuffer);\n mBuffer.clear();\n for (HdmiCecMessage message : copiedBuffer) {\n mDevice.onMessage(message);\n HdmiLogger.debug(\"Processing message:\" + message);\n }\n }", "public void processFiles(){\n\t\tfor(String fileName : files) {\n\t\t\ttry {\n\t\t\t\tloadDataFromFile(fileName);\n\t\t\t} catch (FileNotFoundException e) {\n\t\t\t\tSystem.out.println(\"Can't open file: \" + fileName);\n\t\t\t\tSystem.out.println();\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tprintInOrder();\n\t\t\tstudents.clear();\n\t\t}\n\t}", "protected void execute() {\n\t\t\n\t}", "public abstract List<C_result> processJob(C_request processing_cmd);", "private void processAllPages(final HtmlPage page, final HashMap<String, Object> metaData) {\n int pageNumber = 1;\n\n HtmlPage actualPage = page;\n\n while (actualPage!= null && isPageValid(actualPage)) {\n if (actualPage.getWebResponse().getStatusCode() != HTTP_SUCCESS_CODE) {\n logger.error(\"Received non-200 status code while trying to read from {}.\", actualPage.getUrl());\n throw new UnrecoverableException(\"Crawling failed due to non-200 HTTP response.\");\n }\n\n logger.info(\"Processing page #{}\", pageNumber);\n publishTenders(actualPage, metaData);\n\n logger.debug(\"Data extracted, moving to next page.\");\n pageNumber++;\n\n actualPage = getNextPage(actualPage, pageNumber);\n }\n }", "public void processUpdates() {\n List<Update> updates = getUpdates(lastId, updateLimit, timeout);\n\n lastId = updates.stream()\n .map(Update::getId)\n .max(Long::compareTo)\n .orElse(lastId-1) + 1;\n\n updates.parallelStream().forEach(this::processUpdate);\n }", "protected void preprocess() {\n log.info(\"Processing files. Max size is {} bytes\", max);\n\n int idx = 0;\n boolean closed = false;\n\n Bag current = new Bag();\n PayloadManifest currentManifest = new PayloadManifest();\n\n for (PayloadFile file : b.getFiles().values()) {\n closed = false;\n current.addFile(file);\n currentManifest.addPayloadFile(file);\n\n if (current.getSize() >= max) {\n finishProcessing(current, currentManifest, idx++);\n\n closed = true;\n current = new Bag();\n currentManifest = new PayloadManifest();\n }\n }\n\n // Close out the final bag\n if (!closed) {\n finishProcessing(current, currentManifest, idx);\n }\n }", "@Override\n @Transactional\n public void addBulkInsertsAfterExtraction() {\n List<ScrapBook> scrapBooks = new ArrayList<ScrapBook>();\n boolean jobDone = false;\n boolean pause = false;\n while (!jobDone) {\n pause = false;\n int lineCount = 0;\n while (!pause) {\n ++lineCount;\n if (lineCount % 30 == 0) {\n scrapBooks = springJdbcTemplateExtractor.getPaginationList(\"SELECT * FROM ScrapBook\", 1, 30);\n pause = true;\n }\n }\n //convert scrapbook to book and insert into db\n convertedToBookAndInsert(scrapBooks);\n // delete all inserted scrapbooks\n springJdbcTemplateExtractor.deleteCollection(scrapBooks);\n scrapBooks = null;\n if (0 == springJdbcTemplateExtractor.findTotalScrapBook()) {\n jobDone = true;\n }\n }\n }", "protected void runBeforeIteration() {}", "protected void execute() {\n\n\t}", "@Override\n public void run()\n {\n List<Integer> sendedItemsIds = new ArrayList<>();\n\n final Collection<Map.Entry<Integer, ExerciseScore> > allExerciseItems = m_reportedScores.entrySet();\n try\n {\n for (Map.Entry<Integer, ExerciseScore> item : allExerciseItems)\n {\n final ExerciseScore exerciseScore = item.getValue();\n m_serverOperations.reportExerciseScore(exerciseScore.date, exerciseScore.exerciseName, exerciseScore.score);\n sendedItemsIds.add(item.getKey());\n }\n }\n catch (CommonException | NetworkException exp)\n {\n Log.w(LogTag, String.format(\"Failed to send cache item, exp:\\\"%s\\\"\", exp.getMessage()));\n if (exp instanceof CommonException)\n m_commonErrorCode = ((CommonException)exp).getResultCode();\n else\n m_networkErrorCode = ((NetworkException) exp).getResultCode();\n }\n\n m_exerciseScoreCache.removeCacheItems(sendedItemsIds);\n }", "public void run(){\n ArrayList<ArrayList<Furniture>> all = getSubsets(getFoundFurniture());\n ArrayList<ArrayList<Furniture>> valid = getValid(all);\n ArrayList<ArrayList<Furniture>> ordered = comparePrice(valid);\n ArrayList<ArrayList<Furniture>> orders = produceOrder();\n checkOrder(orders, false);\n }", "private static void preprocess() {\n \tLOG.info(\"Begin preprocessing of data.\");\n \t\n \tLOG.debug(\"Create a IterativeDirectoryReader.\");\n \t// Create a reader for directories\n \tIterativeDirectoryReader iterativeDirectoryReader = (IterativeDirectoryReader) ReaderFactory.instance().getIterativeDirectoryReader();\n \titerativeDirectoryReader.setDirectoryName(clArgs.preprocessInDir);\n \titerativeDirectoryReader.setPathInChildDirectory(clArgs.preprocessPathInChildDir);\n \t\n \tLOG.debug(\"Create a IterativeFileReader.\");\n \t// Create a reader for text files and set an appropriate file filter\n \tIterativeFileReader iterativeFileReader = (IterativeFileReader) ReaderFactory.instance().getIterativeFileReader();\n \titerativeFileReader.setFileFilter(FileUtil.acceptVisibleFilesFilter(false, true));\n \t\n \tLOG.debug(\"Create a TextFileLineReader.\");\n \t// Create a reader for text files, the first six lines are not relevant in this data set\n \tTextFileLineReader textFileLineReader = (TextFileLineReader) ReaderFactory.instance().getTextFileLineReader();\n \ttextFileLineReader.setOffset(clArgs.preprocessLineOffset);\n \t\n \tLOG.debug(\"Create a GpsLogLineProcessor.\");\n \t// Create a processor for user points\n \tGpsLogLineProcessor processor = new GpsLogLineProcessor(clArgs.preprocessOutFile);\n \t\n \t// Build reader chain\n \titerativeDirectoryReader.setReader(iterativeFileReader);\n \titerativeFileReader.setReader(textFileLineReader);\n \ttextFileLineReader.setProcessor(processor);\n \t\n \titerativeDirectoryReader.attach(processor, \n \t\t\t\tnew Interests[] {\n \t\t\t\t\tInterests.NewChildDirectory,\n \t\t\t\t\tInterests.HasFinished\n \t\t\t\t});\n \t\n \tLOG.debug(\"Read GPS logs. Save the data in a new file {}.\", clArgs.preprocessOutFile);\n \t// Read and save the data\n \titerativeDirectoryReader.read();\n\n \tLOG.info(\"Finished preprocessing of data.\");\n }", "public void process()\n\t{\n\t\tthis.layers = new ArrayList<Layer>();\n\t\t\n\t\t/**\n\t\t * list of layers to remove\n\t\t */\n\t\tthis.layersToRemove = new ArrayList<Layer>();\n\t\t\n\t\t/**\n\t\t * find all layers we need to process in the document\n\t\t */\n\t\tthis.allLayers();\n\t\t\n\t\t/**\n\t\t * we'll remove all layers which are unused in psd\n\t\t */\n\t\tthis.removeUnusedLayers();\n\t\t\n//\t\tthis.discoverMaximumLayerDepth();\n\t\t\n\t\t/*this.showLayersInformation(this.layers);\n\t\tSystem.exit(0)*/;\n\t}", "@Override\n\t\t\t\t\tpublic void run() {\n\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tList<String> headers = readRequest(client);\n\t\t\t\t\t\t\tif (headers != null && headers.size() >= 1) {\n\t\t\t\t\t\t\t\tString requestURL = getRequestURL(headers.get(0));\n\t\t\t\t\t\t\t\tLog.d(TAG, requestURL);\n\n\t\t\t\t\t\t\t\tif (requestURL.startsWith(\"http://\")) {\n\n\t\t\t\t\t\t\t\t\t// HttpRequest request = new\n\t\t\t\t\t\t\t\t\t// BasicHttpRequest(\"GET\", requestURL);\n\n\t\t\t\t\t\t\t\t\tprocessHttpRequest(requestURL, client, headers);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tprocessFileRequest(requestURL, client, headers);\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} catch (IllegalStateException 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} catch (IOException 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}", "private void evaluateData () {\n long rows = DatabaseUtils.longForQuery(sqliteDBHelper.openSqlDatabaseReadable(), \"SELECT COUNT(*) FROM \" + SqliteDBStructure.DATA_AGGREGATE\r\n + \" JOIN \" + SqliteDBStructure.INFO_AT_ACCESSTIME + \" ON \"\r\n + SqliteDBStructure.DATA_AGGREGATE + \".\" + SqliteDBStructure.ACCESS_TIME + \" = \" + SqliteDBStructure.INFO_AT_ACCESSTIME + \".\" + SqliteDBStructure.ACCESS_TIME, null);\r\n // calculate the amount of tasks (thread) depending on the MaxBatchSize\r\n tasks = rows >= MaxBatchSize? (int)(rows/MaxBatchSize + 1):1;\r\n // set the amount of finished tasks to 0\r\n finished = 0;\r\n // send the amount of task to the main activity so it can be displayed in the progress dialog\r\n sendTaskAmount(tasks + 1);\r\n // create a thread pool with tasks amount of threads\r\n final ExecutorService executorService = Executors.newFixedThreadPool(tasks);\r\n // create a list which holds all the tasks to be executed\r\n final List<ProcessingDataHandler> taskList = new LinkedList<>();\r\n // for each task create a batch of MaxBatchSize rows to evaluate\r\n for (int i = 0; i < tasks; i++) {\r\n // pass the offset (where to start) and the limit (how many rows)\r\n taskList.add(new ProcessingDataHandler(i*MaxBatchSize, MaxBatchSize));\r\n }\r\n // invoke all the task at once\r\n new Thread(new Runnable() {\r\n @Override\r\n public void run() {\r\n try {\r\n executorService.invokeAll(taskList);\r\n } catch (InterruptedException e) {\r\n e.printStackTrace();\r\n }\r\n }\r\n }).start();\r\n\r\n updateProgressDialog();\r\n }", "public void work() {\n\t\tfor(int i = 0; i < lines.size(); i++) {\n\t\t\tlines.get(i).work();\n\t\t}\n\t}", "@Override\n public void run() {\n List<File> files = getContents(TOP_LEVEL + \" and \" + NOT_TRASHED + \" and \" + FOLDER + \" and \" + NOT_SPREADSHEET);\n \n prune(targetDir, files);\n processLanguages(files);\n }", "private synchronized void flush() {\r\n\t\tif (!buffer.isEmpty()) {\r\n\t\t\tfor (final LoggingRecord record : buffer) {\r\n\t\t\t\thandler.handle(record);\r\n\t\t\t}\r\n\t\t\tbuffer.clear();\r\n\t\t}\r\n\t}", "@Override\r\n\tpublic void crawl_data() {\n\t\t\r\n\t}", "void handle(List<FeedEntry> feedEntryBatch);", "public void batchProcessComplete() {\n System.out.print(\"Completed \" + entityCount + \" documents\");\n if (size > 0) {\n System.out.print(\"; \" + size + \" characters\");\n }\n System.out.println();\n long elapsedTime = System.currentTimeMillis() - mStartTime;\n System.out.println(\"Time Elapsed : \" + elapsedTime + \" ms \");\n }", "protected void work() {\n try {\n if(theFile!=null) { \n //construct filePath, fileSize\n int fileSize = theFile.getFileSize();\n if(fileSize==0) fileSize=1;\n String filePath = path+\"/\"+theFile.getFileName();\n if(log.isDebugEnabled()) log.debug(\"Uploading file: \"+filePath+\", filesize: \"+fileSize/1000+\"KB\");\n\t\t\t\n //write out file\n InputStream stream = theFile.getInputStream();\n OutputStream bos = new FileOutputStream(filePath);\n int bytesRead = 0;\n byte[] buffer = new byte[Constants.FILEUPLOAD_BUFFER];\n while(isRunning() && ((bytesRead = stream.read(buffer, 0, Constants.FILEUPLOAD_BUFFER)) != -1)) {\n bos.write(buffer, 0, bytesRead);\n sum+=bytesRead;\n setPercent(sum/fileSize);\n }\n bos.close();\n stream.close();\n }\n } catch(Exception ex) {\n setRunning(false);\n log.error(\"Error while uploading: \"+ex.getMessage());\n ex.printStackTrace();\n }\n }", "public void process() {\n\tprocessing = true;\r\n\tCollections.sort(imageRequest, new Comparator<ImageRequest>() {\r\n\t @Override\r\n\t public int compare(ImageRequest i0, ImageRequest i1) {\r\n\t\tif (i0.zDepth < i1.zDepth)\r\n\t\t return -1;\r\n\t\tif (i0.zDepth > i1.zDepth)\r\n\t\t return 1;\r\n\t\treturn 0;\r\n\t }\r\n\r\n\t});\r\n\r\n\t// Draw alpha things\r\n\tfor (int i = 0; i < imageRequest.size(); i++) {\r\n\t ImageRequest ir = imageRequest.get(i);\r\n\t setzDepth(ir.zDepth);\r\n\t drawSprite(ir.sprite, ir.offX, ir.offY, false, false);\r\n\t}\r\n\r\n\t// Draw lighting\r\n\tfor (int i = 0; i < lightRequest.size(); i++) {\r\n\t LightRequest lr = lightRequest.get(i);\r\n\t drawLightRequest(lr.light, lr.x, lr.y);\r\n\t}\r\n\r\n\tfor (int i = 0; i < pixels.length; i++) {\r\n\t float r = ((lightMap[i] >> 16) & 0xff) / 255f;\r\n\t float g = ((lightMap[i] >> 8) & 0xff) / 255f;\r\n\t float b = (lightMap[i] & 0xff) / 255f;\r\n\r\n\t pixels[i] = ((int) (((pixels[i] >> 16) & 0xff) * r) << 16 | (int) (((pixels[i] >> 8) & 0xff) * g) << 8\r\n\t\t | (int) ((pixels[i] & 0xff) * b));\r\n\t}\r\n\r\n\timageRequest.clear();\r\n\tlightRequest.clear();\r\n\tprocessing = false;\r\n }", "public void crawl() {\n retrieveDataByProductUrls();\n // Check if data is in range\n for (TrackedProduct product : AppConfig.getProducts()) {\n if (checkProductInRange(product)) {\n // Send Email\n MailSender.sendMail(product);\n }\n }\n }", "@Override\n public void process(Exchange exchange) throws Exception {\n List<Exchange> exchanges = prepareExchangeList(exchange);\n\n List<Exchange> processGroup = new ArrayList<>();\n\n String partitionDecorator = \"\";\n String suffix = \"\";\n String tableId = configuration.getTableId() == null ? \"\" : configuration.getTableId();\n int totalProcessed = 0;\n\n for (Exchange ex : exchanges) {\n String tmpPartitionDecorator = ex.getIn().getHeader(GoogleBigQueryConstants.PARTITION_DECORATOR, \"\", String.class);\n String tmpSuffix = ex.getIn().getHeader(GoogleBigQueryConstants.TABLE_SUFFIX, \"\", String.class);\n String tmpTableId = ex.getIn().getHeader(GoogleBigQueryConstants.TABLE_ID, tableId, String.class);\n\n if (tmpTableId.isEmpty()) {\n throw new IllegalArgumentException(\n \"tableId need to be specified in one of endpoint configuration or exchange header\");\n }\n\n // Ensure all rows of same request goes to same table and suffix\n if (!tmpPartitionDecorator.equals(partitionDecorator) || !tmpSuffix.equals(suffix) || !tmpTableId.equals(tableId)) {\n if (!processGroup.isEmpty()) {\n totalProcessed += process(tableId, partitionDecorator, suffix, processGroup, exchange.getExchangeId());\n }\n processGroup.clear();\n partitionDecorator = tmpPartitionDecorator;\n suffix = tmpSuffix;\n tableId = tmpTableId;\n }\n processGroup.add(ex);\n }\n if (!processGroup.isEmpty()) {\n totalProcessed += process(tableId, partitionDecorator, suffix, processGroup, exchange.getExchangeId());\n }\n\n if (totalProcessed == 0) {\n LOG.debug(\"The incoming message is either null or empty for exchange {}\", exchange.getExchangeId());\n }\n }", "protected void run() {\r\n\t\t//\r\n\t}", "@Override\r\n\tprotected void doNext() {\n\t\t\r\n\t}", "protected void execute() {\n\t}", "private void processFolder(File folder) {\n \t\tFile[] subFolders = folder.listFiles(new FileFilter() {\n \t\t\t@Override\n \t\t\tpublic boolean accept(File pathname) {\n \t\t\t\treturn pathname.isDirectory();\n \t\t\t}\n \t\t});\n \t\tfor (File subFolder : subFolders){\n \t\t\tprocessFolder(subFolder); \n \t\t}\n \t\tPattern nameRegex = Pattern.compile(\"([\\\\d-]+)\\\\.(pdf|epub)\", Pattern.CANON_EQ | Pattern.CASE_INSENSITIVE | Pattern.UNICODE_CASE);\n \t\tFile[] files = folder.listFiles();\n \t\tfor (File file : files) {\n \t\t\tlogger.info(\"Processing file \" + file.getName());\n \t\t\tprocessLog.addNote(\"Processing file \" + file.getName());\n \t\t\tif (file.isDirectory()) {\n \t\t\t\t//TODO: Determine how to deal with nested folders?\n \t\t\t\t//processFolder(file);\n \t\t\t} else {\n \t\t\t\t// File check to see if it is of a known type\n \t\t\t\tMatcher nameMatcher = nameRegex.matcher(file.getName());\n \t\t\t\tif (nameMatcher.matches()) {\n \t\t\t\t\tImportResult importResult = new ImportResult();\n \t\t\t\t\tString isbn = nameMatcher.group(1);\n \t\t\t\t\tString fileType = nameMatcher.group(2).toLowerCase();\n \t\t\t\t\timportResult.setBaseFilename(isbn);\n \t\t\t\t\tisbn = isbn.replaceAll(\"-\", \"\");\n \t\t\t\t\timportResult.setISBN(isbn);\n \t\t\t\t\timportResult.setCoverImported(\"\");\n \t\t\t\t\t\n \t\t\t\t\ttry {\n \t\t\t\t\t\t// Get the record for the isbn\n \t\t\t\t\t\tgetRelatedRecords.setString(1, \"%\" + isbn + \"%\");\n \t\t\t\t\t\tResultSet existingRecords = getRelatedRecords.executeQuery();\n \t\t\t\t\t\tif (!existingRecords.next()){\n \t\t\t\t\t\t\t//No record found \n \t\t\t\t\t\t\tlogger.info(\"Could not find record for ISBN \" + isbn);\n \t\t\t\t\t\t\timportResult.setStatus(fileType, \"failed\", \"Could not find record for ISBN \" + isbn);\n \t\t\t\t\t\t\tprocessLog.incErrors();\n \t\t\t\t\t\t\tprocessLog.addNote(\"Could not find record for ISBN \" + isbn);\n \t\t\t\t\t\t}else{\n \t\t\t\t\t\t\tlogger.info(\"Found at least one record for \" + isbn);\n \t\t\t\t\t\t\tif (existingRecords.last()){\n \t\t\t\t\t\t\t\tif (existingRecords.getRow() >= 2){\n \t\t\t\t\t\t\t\t\tlogger.info(\"Multiple records were found for ISBN \" + isbn);\n \t\t\t\t\t\t\t\t\timportResult.setStatus(fileType, \"failed\", \"Multiple records were found for ISBN \" + isbn);\n \t\t\t\t\t\t\t\t\tprocessLog.incErrors();\n \t\t\t\t\t\t\t\t\tprocessLog.addNote(\"Multiple records were found for ISBN \" + isbn);\n \t\t\t\t\t\t\t\t}else{\n \t\t\t\t\t\t\t\t\t//We have an existing record\n \t\t\t\t\t\t\t\t\texistingRecords.first();\n \t\t\t\t\t\t\t\t\tString recordId = existingRecords.getString(\"id\");\n \t\t\t\t\t\t\t\t\tString accessType = existingRecords.getString(\"accessType\");\n \t\t\t\t\t\t\t\t\tString source = existingRecords.getString(\"source\");\n \t\t\t\t\t\t\t\t\tlogger.info(\" Attaching file to \" + recordId + \" accessType = \" + accessType + \" source=\" + source);\n \t\t\t\t\t\t\t\t\t\t\n \t\t\t\t\t\t\t\t\t// Copy the file to the library if it does not exist already\n \t\t\t\t\t\t\t\t\tFile resultsFile = new File(libraryDirectory + source + \"_\" + file.getName());\n \t\t\t\t\t\t\t\t\tif (resultsFile.exists()) {\n \t\t\t\t\t\t\t\t\t\tlogger.info(\"Skipping file because it already exists in the library\");\n \t\t\t\t\t\t\t\t\t\timportResult.setStatus(fileType, \"skipped\" ,\"File has already been copied to library\");\n \t\t\t\t\t\t\t\t\t\tprocessLog.addNote(\"Skipping file \" + file.getName() + \" because it already exists in the library\");\n \t\t\t\t\t\t\t\t\t} else {\n \t\t\t\t\t\t\t\t\t\tlogger.info(\"Importing file \" + file.getName());\n \t\t\t\t\t\t\t\t\t\t//Check to see if the file has already been added to the library.\n \t\t\t\t\t\t\t\t\t\tdoesItemExist.setString(1, file.getName());\n \t\t\t\t\t\t\t\t\t\tdoesItemExist.setString(2, recordId);\n \t\t\t\t\t\t\t\t\t\tResultSet existingItems = doesItemExist.executeQuery();\n \t\t\t\t\t\t\t\t\t\tif (existingItems.next()){\n \t\t\t\t\t\t\t\t\t\t\t//The item already exists\n \t\t\t\t\t\t\t\t\t\t\tlogger.info(\" the file has already been attached to this record\");\n \t\t\t\t\t\t\t\t\t\t\timportResult.setStatus(fileType, \"skipped\" ,\"The file has already been aded as an eContent Item\");\n \t\t\t\t\t\t\t\t\t\t\tprocessLog.addNote(\"Skipping file \" + file.getName() + \" because has already been attached to this record\");\n \t\t\t\t\t\t\t\t\t\t}else{\n \t\t\t\t\t\t\t\t\t\t\t\n \t\t\t\t\t\t\t\t\t\t\ttry {\n \t\t\t\t\t\t\t\t\t\t\t\tlogger.info(\" copying the file to library source=\" + file + \" dest=\" + resultsFile);\n \t\t\t\t\t\t\t\t\t\t\t\t//Copy the pdf file to the library\n \t\t\t\t\t\t\t\t\t\t\t\tUtil.copyFile(file, resultsFile);\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\t//Add file to acs server\n \t\t\t\t\t\t\t\t\t\t\t\tboolean addedToAcs = true;\n \t\t\t\t\t\t\t\t\t\t\t\tif (accessType.equals(\"acs\")){\n \t\t\t\t\t\t\t\t\t\t\t\t\tlogger.info(\"Adding file to the ACS server\");\n \t\t\t\t\t\t\t\t\t\t\t\t\taddedToAcs = addFileToAcsServer(fileType, resultsFile, importResult);\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\t\n \t\t\t\t\t\t\t\t\t\t\t\tif (addedToAcs){\n \t\t\t\t\t\t\t\t\t\t\t\t\t//filename, acsId, recordId, item_type, addedBy, date_added, date_updated\n \t\t\t\t\t\t\t\t\t\t\t\t\tlong curTimeSec = new Date().getTime() / 1000;\n \t\t\t\t\t\t\t\t\t\t\t\t\taddEContentItem.setString(1, resultsFile.getName());\n \t\t\t\t\t\t\t\t\t\t\t\t\taddEContentItem.setString(2, importResult.getAcsId());\n \t\t\t\t\t\t\t\t\t\t\t\t\taddEContentItem.setString(3, recordId);\n \t\t\t\t\t\t\t\t\t\t\t\t\taddEContentItem.setString(4, fileType);\n \t\t\t\t\t\t\t\t\t\t\t\t\taddEContentItem.setLong(5, -1);\n \t\t\t\t\t\t\t\t\t\t\t\t\taddEContentItem.setLong(6, curTimeSec);\n \t\t\t\t\t\t\t\t\t\t\t\t\taddEContentItem.setLong(7, curTimeSec);\n \t\t\t\t\t\t\t\t\t\t\t\t\tint rowsInserted = addEContentItem.executeUpdate();\n \t\t\t\t\t\t\t\t\t\t\t\t\tif (rowsInserted == 1){\n \t\t\t\t\t\t\t\t\t\t\t\t\t\timportResult.setStatus(fileType, \"success\", \"\");\n \t\t\t\t\t\t\t\t\t\t\t\t\t\tlogger.info(\" added to the database\");\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}else{\n \t\t\t\t\t\t\t\t\t\t\t\t\t\tlogger.info(\" file could not be added to the database\");\n \t\t\t\t\t\t\t\t\t\t\t\t\t\tprocessLog.addNote(file.getName() + \" could not be added to the database\");\n \t\t\t\t\t\t\t\t\t\t\t\t\t\tprocessLog.incErrors();\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}else{\n \t\t\t\t\t\t\t\t\t\t\t\t\tlogger.info(\" the file could not be added to the acs server\");\n \t\t\t\t\t\t\t\t\t\t\t\t\tprocessLog.addNote(file.getName() + \" could not be added to the acs server\");\n \t\t\t\t\t\t\t\t\t\t\t\t\tprocessLog.incErrors();\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\t\n \t\t\t\t\t\t\t\t\t\t\t\tif (importResult.getSatus(fileType).equals(\"failed\")){\n \t\t\t\t\t\t\t\t\t\t\t\t\t//If we weren't able to add the file correctly, remove it so it will be processed next time. \n \t\t\t\t\t\t\t\t\t\t\t\t\tresultsFile.delete();\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\t\n \t\t\t\t\t\t\t\t\t\t\t} catch (IOException e) {\n \t\t\t\t\t\t\t\t\t\t\t\tlogger.error(\"Error copying file to record\", e);\n \t\t\t\t\t\t\t\t\t\t\t\timportResult.setStatus(fileType, \"failed\", \"Error copying file \" + e.toString());\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}\n \t\t\t\t\t\t\t\t}\n \t\t\t\t\t\t\t}\n \t\t\t\t\t\t}\n \t\t\t\t\t} catch (SQLException e) {\n \t\t\t\t\t\tlogger.error(\"Error finding related records\", e);\n \t\t\t\t\t\timportResult.setStatus(\"pdf\", \"failed\", \"SQL error processing file \" + e.toString());\n \t\t\t\t\t}\n \t\t\t\t\timportResults.add(importResult);\n \t\t\t\t\t//Update that another file has been processed.\n \t\t\t\t\tprocessLog.incUpdated();\n \t\t\t\t\ttry {\n \t\t\t\t\t\tupdateRecordsProcessed.setLong(1, processLog.getNumUpdates());\n \t\t\t\t\t\tupdateRecordsProcessed.setLong(2, processLog.getNumErrors());\n \t\t\t\t\t\tupdateRecordsProcessed.setLong(3, logEntryId);\n \t\t\t\t\t\tupdateRecordsProcessed.executeUpdate();\n \t\t\t\t\t} catch (SQLException e) {\n \t\t\t\t\t\tlogger.error(\"Error updating number of records processed.\", e);\n \t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tprocessLog.addNote(\" Skipping because the name is not an ISBN\");\n \t\t\t\t}\n \t\t\t}\n \t\t}\n \t\t\n \t}", "protected void execute()\n\t{\n\t}", "public synchronized void process() \n\t{\n\t\t// for each word in a line, tally-up its frequency.\n\t\t// do sentence-segmentation first.\n\t\tCopyOnWriteArrayList<String> result = textProcessor.sentenceSegmementation(content.get());\n\t\t\n\t\t// then do tokenize each word and count the terms.\n\t\ttextProcessor.tokenizeAndCount(result);\n\t}", "public void process(CrawlTask crawlTask) {\n\n if (level == 0) {\n try {\n String boardLink = crawlTask.getUrl();\n MongoDatabase db = crawlTask.getDb();\n MongoCollection threadsCollection = db.getCollection(\"threads\");\n ForumConfig forumConfig = crawlTask.getForumConfig();\n\n List<ForumThread> threadList = new ArrayList<>();\n processBoard(forumConfig, boardLink, threadList, threadsCollection);\n System.out.println(\"***********************************************************TOTAL THREADS TO CRAWL IS: \" + threadList.size());\n for (ForumThread thread :\n threadList) {\n try {\n String link = thread.getThreadUrl();\n CrawlTask newTask = new CrawlTask(link, db, forumConfig);\n queue.push(newTask, level + 1);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n } catch (Exception e) {\n e.printStackTrace();\n // process of this object has failed, but we just ignore it here\n }\n } else if (level == 1) {\n try {\n String threadLink = crawlTask.getUrl();\n MongoDatabase db = crawlTask.getDb();\n ForumConfig forumConfig = crawlTask.getForumConfig();\n\n\t\t\t\t/*List<ForumPost> postList = new ArrayList<>();*/\n processThread(forumConfig, threadLink, db);\n\n } catch (Exception e) {\n e.printStackTrace();\n // process of this object has failed, but we just ignore it here\n }\n }\n\n\n }", "public void run() {\n updateDataInFragments(imageRecord, action);\n }", "protected void execute() {\n\t\t//execution handled by pid thread\n\t}", "private void AddHandlersProcessing()\n {\n \n for(MessageHandler handler : actorData.MessageHandlers())\n {\n Location handlerProc_h = new Location(String.format(\"handlerProc_%s\", actorData.MessageHandlerName(handler)));\n handlerProc_h.AddFlow(new Flow(actorData.GetUrgentFlow()));\n handlerProc_h.AddInvarient(actorData.GetUrgentInvarient());\n comp.AddTransition(new HybridTransitionBuilder().\n SetOrigin(idleLoc).\n SetDestination(handlerProc_h).\n SetSynclabel(actorData.ExecuteLabelFor(handler)).\n // AddAssignment(actorData.SetBusyAssignment()).\n Build());\n \n CreateHandler(handler, comp, handlerProc_h);\n }\n }", "@Override\n\t\tprotected void process() throws Exception {\n\t\t\tthis.status = \"{\\\"status\\\":\\\"Now processing - Initializing Models...\\\",\\\"starttime\\\":\"\n\t\t\t\t\t+ start_time + \",\\\"uuid\\\":\\\"\" + this.uuid + \"\\\"}\";\n\t\t\tGlobalVars.initialize();\n\n\t\t\t// Processing Step 1. - CoreNLP\n\t\t\tthis.status = \"{\\\"status\\\":\\\"Now processing CoreNLP.\\\",\\\"starttime\\\":\"\n\t\t\t\t\t+ start_time + \",\\\"uuid\\\":\\\"\" + this.uuid + \"\\\"}\";\n\t\t\tString processed_text = Filter\n\t\t\t\t\t.filterdata(GlobalVars.pipeline, text);\n\n\t\t\t// Processing Step 2. - Openie\"\n\t\t\tthis.status = \"{\\\"status\\\":\\\"Now processing Openie.\\\",\\\"starttime\\\":\"\n\t\t\t\t\t+ start_time + \",\\\"uuid\\\":\\\"\" + this.uuid + \"\\\"}\";\n\t\t\tStringBuilder openIEOutput = new StringBuilder();\n\t\t\tString temp = \"\";\n\t\t\tfor (String sentence : processed_text.split(\"\\\\. \")) {\n\n\t\t\t\tSeq<Instance> extractions = GlobalVars.openIE.extract(sentence);\n\n\t\t\t\tInstance[] arr = new Instance[extractions.length()];\n\t\t\t\textractions.copyToArray(arr);\n\n\t\t\t\tfor (Instance inst : arr) {\n\t\t\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\t\t\tsb.append(inst.sentence() + \"\\n\");\n\t\t\t\t\tDouble conf = inst.confidence();\n\t\t\t\t\tString stringConf = conf.toString().substring(0, 4);\n\t\t\t\t\tsb.append(stringConf).append(\" (\")\n\t\t\t\t\t\t\t.append(inst.extr().arg1().text()).append(\"; \")\n\t\t\t\t\t\t\t.append(inst.extr().rel().text()).append(\"; \");\n\n\t\t\t\t\ttemp += inst.extr().arg1().text() + \"\\n\"\n\t\t\t\t\t\t\t+ inst.extr().rel().text() + \"\\n\";\n\n\t\t\t\t\tPart[] arr2 = new Part[inst.extr().arg2s().length()];\n\t\t\t\t\tinst.extr().arg2s().copyToArray(arr2);\n\t\t\t\t\t/*\n\t\t\t\t\t * for (Part arg : arr2) { sb.append(arg.text()).append(\"\");\n\t\t\t\t\t * System.out.println(\"%\" + arg.text() + \"%\"); }\n\t\t\t\t\t */\n\t\t\t\t\tif (arr2.length != 0) {\n\t\t\t\t\t\tSystem.out.println(\"Hats: \" + arr2[0]);\n\t\t\t\t\t\ttemp += arr2[0] + \"\\n\";\n\t\t\t\t\t\tsb.append(arr2[0]);\n\t\t\t\t\t\tsb.append(\")\\n\\n\");\n\t\t\t\t\t\topenIEOutput.append(sb.toString());\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Processing Step 3. - Rewrite\n\t\t\tthis.status = \"{\\\"status\\\":\\\"Now processing Rewrite.\\\",\\\"starttime\\\":\"\n\t\t\t\t\t+ start_time + \",\\\"uuid\\\":\\\"\" + this.uuid + \"\\\"}\";\n\t\t\t// Load load = new Load();\n\t\t\t// result = load.Loadfilter(openIEOutput.toString());\n\t\t\tresult = temp;\n\t\t}", "public void process()\n {\n\n if (method.equalsIgnoreCase(\"POST\"))\n {\n parsePost();\n }\n\n if (headerFields.containsKey(\"Upgrade\") && ((String) headerFields.get(\"Upgrade\")).equalsIgnoreCase(\"websocket\"))\n {\n if (!headerFields.containsKey(\"Sec-WebSocket-Key\"))\n Utilities.debug(\"There key Sec-WebSocket-Key does not exist. can not create web socket.\", DEBUG);\n try\n {\n WebSocket ws = new WebSocket(this, sc, in, out, (String) headerFields.get(\"Sec-WebSocket-Key\"));\n }\n catch (Exception e)\n {\n e.printStackTrace();\n }\n return;\n }\n\n sendDocument();\n\n }", "protected abstract void runHandler();", "protected void execute() {\r\n }", "@Override\n public void afterBulk(long executionId,\n BulkRequest request,\n BulkResponse response) {\n }", "private void execute() throws Exception {\n String parserIdentifier = Parsers.getIdentifier(parser);\n MDC.put(\"parser\", parserIdentifier);\n\n File dataSet = checkInbox();\n\n if (dataSet != null) {\n SLALogItem slaLogItem = getSLALogger().createLogItem(\"Executing parser \" + parserIdentifier, parser.getClass().getCanonicalName());\n try {\n context.isInProgress(true);\n\n MDC.put(\"input\", dataSet.getName());\n\n logger.info(\"Executing parser.\");\n\n parser.process(dataSet, persister);\n\n timeManager.update();\n\n // It is important that we commit before\n // we advance the inbox. Since it is not done\n // in a transaction we must make sure that items\n // are actually stored before removing the item\n // from the inbox. If removing the item fails\n // the parser will complain the next time we try\n // to import the item.\n //\n connection.commit();\n\n // Once the import is complete\n // we can remove of the data set\n // from the inbox.\n //\n inbox.advance();\n\n logger.info(\"Import successful.\");\n \n slaLogItem.setCallResultOk();\n slaLogItem.store();\n \n } catch (Exception e) {\n slaLogItem.setCallResultError(\"Parser \" + parserIdentifier + \" failed - Cause: \" + e.getMessage());\n slaLogItem.store();\n\n throw e;\n }\n }\n }", "@Override\n public void handleEvents(List<Event> processorEvents) {\n\n }", "@Override\r\n\tprotected void processTarget() {\n\r\n\t}" ]
[ "0.67894065", "0.65959734", "0.6482761", "0.64402175", "0.64053446", "0.6360184", "0.6314711", "0.6294154", "0.6290593", "0.62393385", "0.6126983", "0.6114898", "0.5970323", "0.59418887", "0.59242797", "0.5913001", "0.5907433", "0.5886983", "0.5881392", "0.5817099", "0.5804092", "0.5776123", "0.5775109", "0.57602257", "0.5753727", "0.57533973", "0.57257384", "0.5711826", "0.57061595", "0.57058394", "0.5680879", "0.5670121", "0.56687766", "0.5586408", "0.55782986", "0.5566697", "0.5566429", "0.55650973", "0.55586374", "0.5542483", "0.5539693", "0.5537251", "0.5537251", "0.5537251", "0.5536389", "0.5520615", "0.5520615", "0.5511268", "0.5496443", "0.54871356", "0.5483676", "0.54820186", "0.546526", "0.5440026", "0.5439216", "0.5424762", "0.54191715", "0.54183704", "0.5412165", "0.53932464", "0.5389503", "0.5389426", "0.53805023", "0.5378986", "0.53783137", "0.53773457", "0.5370108", "0.53649783", "0.5361771", "0.5358991", "0.5354508", "0.53485775", "0.5344025", "0.53419065", "0.53365946", "0.5334479", "0.53336453", "0.53335387", "0.53296274", "0.531919", "0.5315685", "0.5315592", "0.53104216", "0.5308651", "0.53035057", "0.5302334", "0.5300875", "0.52893287", "0.5289098", "0.52880615", "0.5284281", "0.52792907", "0.5277934", "0.5270532", "0.52697796", "0.5263628", "0.5263489", "0.5262873", "0.5261069", "0.5255391", "0.5254322" ]
0.0
-1
Adds the necessary field and methods to support dataSource handling.
public static void apply(@Nonnull ClassNode declaringClass) { injectInterface(declaringClass, DATA_SOURCE_HANDLER_CNODE); Expression dataSourceHandler = injectedField(declaringClass, DATA_SOURCE_HANDLER_CNODE, "this$" + DATA_SOURCE_HANDLER_PROPERTY); addDelegateMethods(declaringClass, DATA_SOURCE_HANDLER_CNODE, dataSourceHandler); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tprotected void initDataSource() {\n\t}", "@Override\n\tpublic void setDataSource(DataSource dataSource) {\n\t}", "@Override\n public void setDataSource(DataSource dataSource) {\n }", "@Override\n public void setDataSource(DataSource dataSource) {\n }", "@Override\n public void setDataSource(DataSource dataSource) {\n }", "@Override\n public String getDataSource()\n {\n return dataSource;\n }", "@Override\n\tpublic DataSource getDataSource() {\t\t\n\t\treturn dataSource;\n\t}", "public DataSource getDataSource() {\n return dataSource;\n }", "public void setDataSource(DataSource dataSource) {\n this.dataSource = dataSource;\n }", "public void setDataSource(DataSource dataSource) {\n this.dataSource = dataSource;\n }", "public void setDataSource(DataSource dataSource) {\n this.dataSource = dataSource;\n }", "public String getDataSource() {\n return dataSource;\n }", "@Override\r\n protected boolean isUseDataSource() {\r\n return true;\r\n }", "public DataSource getDataSource() {\n return datasource;\n }", "public void setDataSource(BasicDataSource dataSource) {\n this.dataSource = dataSource;\n }", "@Override\n public boolean addDataSourceInfo(DataSource ds) {\n return false;\n }", "public void setDataSource(DataSource ds);", "public void setDataSource(DataSource ds);", "public void setDataSource(DataSource ds);", "public void setDataSource(DataSource ds);", "public void setDataSource(DataSource ds);", "public void setDataSource(DataSource ds);", "public void setDatasource(DataSource source) {\n datasource = source;\n }", "public void setDatasource(DataSource datasource) {\n this.datasource = datasource;\n }", "public DataSource getDataSource() {\n return _dataSource;\n }", "public String getDataSource() {\n return dataSource;\n }", "protected DataSource getDataSource() {\n\t\treturn dataSource;\n\t}", "public void addDataSource(DataSource dataSource) throws Exception {\n\t\tdataSourceMapper.addDataSource(dataSource);\n\t}", "public DataSource getDataSource() {\r\n return dataSource;\r\n }", "public void setDataSource( DataSource dataSource) {\n\t\tthis.dataSource = dataSource;\n\t}", "String afficherDataSource();", "public DataSource getDataSource() {\n return dataSource;\n }", "public DataSource getDataSource() {\n return dataSource;\n }", "String getDataSource();", "public void setDataSource(DataSource dataSource) {\n\t\tthis.dataSource = dataSource;\n\t}", "public ConnectorDataSource() {\n super(CONNECTOR_BEAN_NAME, CONNECTOR_TABLE_NAME);\n }", "public String getDatasource()\r\n\t{\r\n\t\treturn _dataSource;\r\n\t}", "public interface DataSource extends DataSourceBase {\n /***\n * @param authenticationInfo A HashMap of any authentication information that came through in the request headers from the mobile client\n * @param params a HashMap of the URL parameters included in the request.\n * @return The data source response that contains the list of data set items you want to return\n */\n DataSet getDataSet(AuthenticationInfo authenticationInfo, Parameters params);\n\n /***\n *\n * @param id The ID of the item to fetch\n * @param authenticationInfo a HashMap of any authentication information that came through in the request headers from the mobile client\n * @param parameters a HashMap of the URL parameters included in the request\n * @return The data source response that contains the data set item with the requested ID\n */\n\n DataSetItem getRecord(String id, AuthenticationInfo authenticationInfo, Parameters parameters);\n\n\n /**\n * @param queryDataItem The data set item containing the values to be searched on\n * @param authenticationInfo a HashMap of any authentication parameters that came through in the request headers\n * @param params a HashMap of the URL parameters included in the request\n * @return The data source response that contains the list of data set items which meet the search criteria\n */\n default DataSet queryDataSet(DataSetItem queryDataItem, AuthenticationInfo authenticationInfo, Parameters params) {\n throw new UnsupportedOperationException(\"Search is not supported on this web service\");\n }\n\n /**\n * @param dataSetItem The data set item to be created\n * @param authenticationInfo a Hashmap of any authentication parameters that came through the request headers\n * @param params a HashMap of the URL parameters included in the request\n * @return The data source response that contains the newly created data set item\n */\n default RecordActionResponse createRecord(DataSetItem dataSetItem, AuthenticationInfo authenticationInfo, Parameters params) {\n throw new UnsupportedOperationException(\"Create is not supported on this web service\");\n }\n\n /**\n * @param dataSetItem The data set item to be updated\n * @param authenticationInfo a HashMap of any authentication parameters that came from the request headers\n * @param params a Hashmap of the URL parameters included in the request\n * @return The DataSet that contains a single item that represents the updated item.\n */\n\n default RecordActionResponse updateRecord(DataSetItem dataSetItem, AuthenticationInfo authenticationInfo, Parameters params) {\n throw new UnsupportedOperationException(\"Update is not supported on this web service\");\n }\n\n /**\n * @param dataSetItem The data set item to be validated\n * @param authenticationInfo a HashMap of any authentication parameters that came from the request headers\n * @param params a Hashmap of the URL parameters included in the request\n * @return The DataSet that contains a single item that represents the validated item.\n */\n\n default RecordActionResponse validateRecord(DataSetItem dataSetItem, AuthenticationInfo authenticationInfo, Parameters params) {\n throw new UnsupportedOperationException(\"Validation is not supported on this web service\");\n }\n\n /**\n * @param dataSetItemID the data set item ID that the event is related to\n * @param event the ATEvent object\n * @param authenticationInfo a HashMap of any authentication parameters that came from the request\n * @param params a Parameters object of any URL parameters from the request\n */\n default Response updateEventForDataSetItem(String dataSetItemID, Event event, AuthenticationInfo authenticationInfo, Parameters params) {\n return Response.success();\n }\n\n /**\n * This will update a list of data set items according to the given data set item\n *\n * @param primaryKeys a list of data set item IDs to update\n * @param dataSetItem the data set item values used to update. IMPORTANT: Only the attributes that are getting bulk updated will be included.\n * @param authenticationInfo a HashMap of any authentication parameters sent in the request\n * @param params a Parameters object of any URL parameters from the request\n * @return an DataSourceResponse\n */\n default DataSet bulkUpdateDataSetItems(List<String> primaryKeys, DataSetItem dataSetItem, AuthenticationInfo authenticationInfo, Parameters params) {\n throw new UnsupportedOperationException(\"Bulk update is not supported by this web service\");\n }\n\n /**\n * @param dataSetItemID the ID of the data set item to delete\n * @param authenticationInfo a HashMap of any authentication parameters sent in the request\n * @param params a Parameters object of any URL parameters from the request\n * @return\n */\n default RecordActionResponse deleteRecord(String dataSetItemID, AuthenticationInfo authenticationInfo, Parameters params) {\n throw new UnsupportedOperationException(\"Delete is not supported on this web service\");\n }\n\n\n\n}", "@Bean(name = \"dataSource\")\n\tpublic DataSource dataSource() {\n\t\tEmbeddedDatabaseBuilder builder = new EmbeddedDatabaseBuilder();\n\t\tEmbeddedDatabase db = builder.setType(EmbeddedDatabaseType.HSQL).addScript(\"db/create-db.sql\").addScript(\"db/insert-data.sql\").build();\n\t\treturn db;\n\t}", "@Override\n public void setDataSource(@Qualifier(\"dataSource\") DataSource dataSource) {\n super.setDataSource(dataSource);\n }", "public interface PostsDataSource {\n\n}", "public EODataSource queryDataSource();", "public DataSource getDatasource() {\n return datasource;\n }", "@Override\r\n\tpublic void addRuleInstances(Digester digester) {\n\t\t digester.addRule(prefix+\"/data-source\",new ObjectCreateRule(\"com.cup.sample.digester.bean.DataSource\", \"className\"));\r\n\t\t digester.addSetProperties(prefix+\"/data-source\");\r\n\t\t\r\n\t}", "static public void setDataSource(DataSource source) {\n ds = source;\n }", "EDataSourceType getDataSource();", "@Bean\n\tpublic DataSourceDao dataSourceDao() {\n\t\tDataSourceDao metadata = new DataSourceDao();\n\t\tmetadata.put(\"rslite\", dsRSLite());\n\t\tmetadata.put(\"rastreosat\", dsRS());\n\t\tmetadata.put(\"entel\", dsEntel());\n\t\tmetadata.put(\"mongo\", dsMongo());\n\t\treturn metadata;\n\t}", "public FBSimpleDataSource() {\n super();\n }", "protected void initDataFields() {\r\n //this module doesn't require any data fields\r\n }", "public synchronized void setDataSource(String dataSource){\n\t\tthis.dataSource=dataSource;\n\t}", "public InventoryJournalLinesDSBean() {\n this.setDataSourceClassName(InventoryJournalLinesDS.class.getName());\n }", "private SupplierDaoJdbc(DataSource dataSource) {\n SupplierDaoJdbc.dataSource = dataSource;\n }", "public void setDatasource(String val)\r\n\t{\r\n\t\t_dataSource = val;\r\n\t}", "public synchronized String getDataSource(){\n\t\treturn dataSource;\n\t}", "public interface DataSource {\r\n\t\r\n\tstatic final String FILE_PATH = \"plugins/DataManager/\";\r\n\t\r\n\tpublic void setup();\r\n\t\r\n\tpublic void close();\r\n\r\n\tpublic boolean set(String pluginKey, String dataKey, String data) ;\r\n\t\r\n\tpublic boolean set(String pluginKey, String dataKey, int data);\r\n\t\r\n\tpublic boolean set(String pluginKey, String dataKey, long data);\r\n\t\r\n\tpublic boolean set(String pluginKey, String dataKey, float data);\r\n\t\r\n\tpublic boolean set(String pluginKey, String dataKey, double data);\r\n\t\r\n\tpublic boolean set(String pluginKey, String dataKey, boolean data);\r\n\r\n\tpublic boolean set(String pluginKey, String dataKey, List<String> data);\r\n\t\r\n\tpublic Optional<String> getString(String pluginKey, String dataKey);\r\n\t\r\n\tpublic Optional<Integer> getInt(String pluginKey, String dataKey);\r\n\t\r\n\tpublic Optional<Long> getLong(String pluginKey, String dataKey);\r\n\t\r\n\tpublic Optional<Float> getFloat(String pluginKey, String dataKey);\r\n\t\r\n\tpublic Optional<Double> getDouble(String pluginKey, String dataKey);\r\n\t\r\n\tpublic Optional<Boolean> getBoolean(String pluginKey, String dataKey);\r\n\t\r\n\tpublic Optional<List<String>> getList(String pluginKey, String dataKey);\r\n\r\n\tpublic boolean set(UUID uuid, String pluginKey, String dataKey, String data) ;\r\n\t\r\n\tpublic boolean set(UUID uuid, String pluginKey, String dataKey, int data);\r\n\t\r\n\tpublic boolean set(UUID uuid, String pluginKey, String dataKey, long data);\r\n\t\r\n\tpublic boolean set(UUID uuid, String pluginKey, String dataKey, float data);\r\n\t\r\n\tpublic boolean set(UUID uuid, String pluginKey, String dataKey, double data);\r\n\t\r\n\tpublic boolean set(UUID uuid, String pluginKey, String dataKey, boolean data);\r\n\r\n\tpublic boolean set(UUID uuid, String pluginKey, String dataKey, List<String> data);\r\n\t\r\n\tpublic Optional<String> getString(UUID uuid, String pluginKey, String dataKey);\r\n\t\r\n\tpublic Optional<Integer> getInt(UUID uuid, String pluginKey, String dataKey);\r\n\t\r\n\tpublic Optional<Long> getLong(UUID uuid, String pluginKey, String dataKey);\r\n\t\r\n\tpublic Optional<Float> getFloat(UUID uuid, String pluginKey, String dataKey);\r\n\t\r\n\tpublic Optional<Double> getDouble(UUID uuid, String pluginKey, String dataKey);\r\n\t\r\n\tpublic Optional<Boolean> getBoolean(UUID uuid, String pluginKey, String dataKey);\r\n\t\r\n\tpublic Optional<List<String>> getList(UUID uuid, String pluginKey, String dataKey);\r\n\t\r\n\tpublic boolean addGroup(String group, String pluginKey);\r\n\t\r\n\tpublic boolean deleteGroup(String group, String pluginKey);\r\n\t\r\n\tpublic boolean isGroup(String group, String pluginKey);\r\n\t\r\n\tpublic boolean addMember(UUID uuid, String group, String pluginKey);\r\n\t\r\n\tpublic boolean removeMember(UUID uuid, String group, String pluginKey);\r\n\t\r\n\tpublic boolean isMember(UUID uuid, String group, String pluginKey);\r\n\t\r\n\tpublic Optional<List<UUID>> getMemberIDs(String group, String pluginKey);\r\n\t\r\n\tpublic List<String> getGroups(String pluginKey);\r\n\t\r\n\tpublic List<String> getGroups(UUID uuid, String pluginKey);\r\n\t\r\n\tpublic boolean set(String group, String pluginKey, String dataKey, String data);\r\n\t\r\n\tpublic boolean set(String group, String pluginKey, String dataKey, int data);\r\n\t\r\n\tpublic boolean set(String group, String pluginKey, String dataKey, long data);\r\n\t\r\n\tpublic boolean set(String group, String pluginKey, String dataKey, float data);\r\n\t\r\n\tpublic boolean set(String group, String pluginKey, String dataKey, double data);\r\n\t\r\n\tpublic boolean set(String group, String pluginKey, String dataKey, boolean data);\r\n\r\n\tpublic boolean set(String group, String pluginKey, String dataKey, List<String> data);\r\n\t\r\n\tpublic Optional<String> getString(String group, String pluginKey, String dataKey);\r\n\t\r\n\tpublic Optional<Integer> getInt(String group, String pluginKey, String dataKey);\r\n\t\r\n\tpublic Optional<Long> getLong(String group, String pluginKey, String dataKey);\r\n\t\r\n\tpublic Optional<Float> getFloat(String group, String pluginKey, String dataKey);\r\n\t\r\n\tpublic Optional<Double> getDouble(String group, String pluginKey, String dataKey);\r\n\t\r\n\tpublic Optional<Boolean> getBoolean(String group, String pluginKey, String dataKey);\r\n\t\r\n\tpublic Optional<List<String>> getList(String group, String pluginKey, String dataKey);\r\n\r\n\tpublic boolean set(UUID uuid, String group, String pluginKey, String dataKey, String data) ;\r\n\t\r\n\tpublic boolean set(UUID uuid, String group, String pluginKey, String dataKey, int data);\r\n\t\r\n\tpublic boolean set(UUID uuid, String group, String pluginKey, String dataKey, long data);\r\n\t\r\n\tpublic boolean set(UUID uuid, String group, String pluginKey, String dataKey, float data);\r\n\t\r\n\tpublic boolean set(UUID uuid, String group, String pluginKey, String dataKey, double data);\r\n\t\r\n\tpublic boolean set(UUID uuid, String group, String pluginKey, String dataKey, boolean data);\r\n\r\n\tpublic boolean set(UUID uuid, String group, String pluginKey, String dataKey, List<String> data);\r\n\t\r\n\tpublic Optional<String> getString(UUID uuid, String group, String pluginKey, String dataKey);\r\n\t\r\n\tpublic Optional<Integer> getInt(UUID uuid, String group, String pluginKey, String dataKey);\r\n\t\r\n\tpublic Optional<Long> getLong(UUID uuid, String group, String pluginKey, String dataKey);\r\n\t\r\n\tpublic Optional<Float> getFloat(UUID uuid, String group, String pluginKey, String dataKey);\r\n\t\r\n\tpublic Optional<Double> getDouble(UUID uuid, String group, String pluginKey, String dataKey);\r\n\t\r\n\tpublic Optional<Boolean> getBoolean(UUID uuid, String group, String pluginKey, String dataKey);\r\n\t\r\n\tpublic Optional<List<String>> getList(UUID uuid, String group, String pluginKey, String dataKey);\r\n\r\n}", "@Bean(name=\"dataSource\")\n\tpublic DataSource getDataSource() {\n\t\tBasicDataSource dataSource = new BasicDataSource();\n\t\tdataSource.setDriverClassName(\"com.mysql.jdbc.Driver\");\n\t\tdataSource.setUrl(\"jdbc:mysql://localhost:3306/elearningforum\");\n\t\tdataSource.setUsername(\"root\");\n\t\tdataSource.setPassword(\"\");\n\t\tdataSource.addConnectionProperty(\"useUnicode\", \"yes\");\n\t\tdataSource.addConnectionProperty(\"characterEncoding\", \"UTF-8\");\n\t\treturn dataSource;\n\t}", "public DataSource(Type type)\n {\n super();\n _type = type;\n }", "public String getDataSourceType () {\n return dataSourceType;\n }", "public DataSourceDetail(DataSourceDetail source) {\n if (source.Id != null) {\n this.Id = new String(source.Id);\n }\n if (source.Title != null) {\n this.Title = new String(source.Title);\n }\n if (source.Name != null) {\n this.Name = new String(source.Name);\n }\n if (source.Type != null) {\n this.Type = new String(source.Type);\n }\n if (source.Description != null) {\n this.Description = new String(source.Description);\n }\n if (source.Schema != null) {\n this.Schema = new String(source.Schema);\n }\n if (source.CmsProject != null) {\n this.CmsProject = new String(source.CmsProject);\n }\n if (source.PkgId != null) {\n this.PkgId = new String(source.PkgId);\n }\n if (source.SchemaVersion != null) {\n this.SchemaVersion = new String(source.SchemaVersion);\n }\n if (source.CreatorId != null) {\n this.CreatorId = new String(source.CreatorId);\n }\n if (source.CreatedAt != null) {\n this.CreatedAt = new String(source.CreatedAt);\n }\n if (source.UpdatedAt != null) {\n this.UpdatedAt = new String(source.UpdatedAt);\n }\n if (source.EnvId != null) {\n this.EnvId = new String(source.EnvId);\n }\n if (source.DataSourceVersion != null) {\n this.DataSourceVersion = new String(source.DataSourceVersion);\n }\n if (source.AppUsageList != null) {\n this.AppUsageList = new DataSourceLinkApp[source.AppUsageList.length];\n for (int i = 0; i < source.AppUsageList.length; i++) {\n this.AppUsageList[i] = new DataSourceLinkApp(source.AppUsageList[i]);\n }\n }\n if (source.PublishedAt != null) {\n this.PublishedAt = new String(source.PublishedAt);\n }\n if (source.ChildDataSourceIds != null) {\n this.ChildDataSourceIds = new String[source.ChildDataSourceIds.length];\n for (int i = 0; i < source.ChildDataSourceIds.length; i++) {\n this.ChildDataSourceIds[i] = new String(source.ChildDataSourceIds[i]);\n }\n }\n if (source.Fun != null) {\n this.Fun = new String(source.Fun);\n }\n if (source.ScfStatus != null) {\n this.ScfStatus = new Long(source.ScfStatus);\n }\n if (source.Methods != null) {\n this.Methods = new String(source.Methods);\n }\n if (source.ChildDataSourceNames != null) {\n this.ChildDataSourceNames = new String[source.ChildDataSourceNames.length];\n for (int i = 0; i < source.ChildDataSourceNames.length; i++) {\n this.ChildDataSourceNames[i] = new String(source.ChildDataSourceNames[i]);\n }\n }\n if (source.IsNewDataSource != null) {\n this.IsNewDataSource = new Long(source.IsNewDataSource);\n }\n if (source.ViewId != null) {\n this.ViewId = new String(source.ViewId);\n }\n if (source.Configuration != null) {\n this.Configuration = new String(source.Configuration);\n }\n if (source.TemplateCode != null) {\n this.TemplateCode = new String(source.TemplateCode);\n }\n if (source.Source != null) {\n this.Source = new Long(source.Source);\n }\n if (source.PublishVersion != null) {\n this.PublishVersion = new String(source.PublishVersion);\n }\n if (source.PublishViewId != null) {\n this.PublishViewId = new String(source.PublishViewId);\n }\n if (source.SubType != null) {\n this.SubType = new String(source.SubType);\n }\n if (source.AuthStatus != null) {\n this.AuthStatus = new Long(source.AuthStatus);\n }\n if (source.AuthInfo != null) {\n this.AuthInfo = new TicketAuthInfo(source.AuthInfo);\n }\n }", "public DataSource getDataSource() {\n\t\treturn dataSource;\n\t}", "public interface BaseDataSource {\n\n /**\n * 用户登录\n * @param callback\n */\n void userLogin(String mobileNo, CustomObserver callback);\n\n /**\n * 发布内容\n * @param article\n * @param callback\n */\n void publishArticle(ArticleModel article, CustomObserver callback);\n\n /**\n * 获取主题列表\n * @param callback\n */\n void getThemeList(CustomObserver callback);\n\n /**\n * 获取文章列表\n * @param queryType\n * @param sortType\n * @param currentUserId\n * @param city\n * @param latitude\n * @param longtitude\n * @param price\n * @param theme\n * @param userId\n * @param pageNum\n * @param callback\n */\n void queryArticleList(String queryType, String sortType, String currentUserId, String city, double latitude, double longtitude, String price, String theme, String userId, int pageNum, CustomObserver callback);\n\n\n /**\n * 获取文章详情\n * @param issueId\n * @param callback\n */\n void getArticleDetail(String issueId, String userId, CustomObserver callback);\n\n /**\n * 修改用户名称\n * @param name\n * @param userId\n * @param callback\n */\n void resetUserName(String name, String userId,CustomObserver callback);\n\n /**\n * 修改用户头像\n * @param avatar\n * @param userId\n * @param callback\n */\n void resetAvatar(PictureModel avatar, String userId, CustomObserver callback);\n\n /**\n * 修改用户性别\n * @param sex\n * @param userId\n * @param callback\n */\n void resetSex(String sex, String userId,CustomObserver callback);\n\n /**\n * 修改用户性别\n * @param birthday\n * @param userId\n * @param callback\n */\n void resetBirthday(String birthday, String userId,CustomObserver callback);\n\n /**\n * 修改用户位置\n * @param location\n * @param userId\n * @param callback\n */\n void resetLocation(String location, String userId,CustomObserver callback);\n\n /**\n * 获取主题对应价格列表\n * @param theme\n * @param callback\n */\n void getThemePriceList(String theme,CustomObserver callback);\n\n /**\n * 关注功能\n * @param attentionId\n * @param userId\n * @param callback\n */\n void addAttention(String attentionId,String userId,CustomObserver callback);\n\n /**\n * 收藏功能\n * @param issueId\n * @param userId\n * @param callback\n */\n void addCollection(String issueId,String userId,CustomObserver callback);\n\n /**\n * 点赞功能\n * @param issueId\n * @param userId\n * @param callback\n */\n void addLike(String issueId,String userId,CustomObserver callback);\n\n /**\n * 获取关注列表\n * @param type\n * @param userId\n * @param callback\n */\n void getUserList(String type, String userId,CustomObserver callback);\n\n /**\n * 获取用户信息\n * @param attentionId\n * @param userId\n * @param callback\n */\n void getUserInfo(String attentionId, String userId,CustomObserver callback);\n\n /**\n * 删除文章\n * @param issueId\n * @param callback\n */\n void deleteArticle(String issueId,CustomObserver callback);\n\n /**\n * 查询文章\n * @param message\n * @param userId\n * @param callback\n */\n void searchArticle(String message, String userId,CustomObserver callback);\n\n /**\n * 添加评论\n * @param issueId\n * @param content\n * @param pid\n * @param replyUserId\n * @param time\n * @param userId\n * @param callback\n */\n void addComment(String issueId, String content, String pid, String replyUserId, String time, String userId,CustomObserver callback);\n\n /**\n * 查找评论\n * @param issueId\n * @param callback\n */\n void findComment(String issueId, CustomObserver callback);\n\n /**\n * 删除评论\n * @param commentId\n * @param callback\n */\n void deleteComment(String commentId, CustomObserver callback);\n}", "public void setDatasource( String ds )\n {\n datasource = ds;\n }", "public void setupFields()\n {\n FieldInfo field = null;\n field = new FieldInfo(this, \"ID\", Constants.DEFAULT_FIELD_LENGTH, null, null);\n field.setDataClass(Integer.class);\n field.setHidden(true);\n field = new FieldInfo(this, \"LastChanged\", Constants.DEFAULT_FIELD_LENGTH, null, null);\n field.setDataClass(Date.class);\n field.setHidden(true);\n field = new FieldInfo(this, \"Deleted\", 10, null, new Boolean(false));\n field.setDataClass(Boolean.class);\n field.setHidden(true);\n field = new FieldInfo(this, \"Description\", 25, null, null);\n field = new FieldInfo(this, \"CurrencyCode\", 3, null, null);\n field = new FieldInfo(this, \"LastRate\", 10, null, null);\n field.setDataClass(Double.class);\n field.setScale(-1);\n field = new FieldInfo(this, \"RateChangedDate\", 12, null, null);\n field.setDataClass(Date.class);\n field.setScale(Constants.DATE_ONLY);\n field = new FieldInfo(this, \"RateChangedBy\", 16, null, null);\n field.setDataClass(Integer.class);\n field = new FieldInfo(this, \"CostingRate\", 10, null, null);\n field.setDataClass(Double.class);\n field.setScale(-1);\n field = new FieldInfo(this, \"CostingChangedDate\", 12, null, null);\n field.setDataClass(Date.class);\n field.setScale(Constants.DATE_ONLY);\n field = new FieldInfo(this, \"CostingChangedBy\", 16, null, null);\n field.setDataClass(Integer.class);\n field = new FieldInfo(this, \"RoundAt\", 1, null, null);\n field.setDataClass(Short.class);\n field = new FieldInfo(this, \"IntegerDesc\", 20, null, \"Dollar\");\n field = new FieldInfo(this, \"FractionDesc\", 20, null, null);\n field = new FieldInfo(this, \"FractionAmount\", 10, null, new Integer(100));\n field.setDataClass(Integer.class);\n field = new FieldInfo(this, \"Sign\", 3, null, \"$\");\n field = new FieldInfo(this, \"LanguageID\", Constants.DEFAULT_FIELD_LENGTH, null, null);\n field.setDataClass(Integer.class);\n field = new FieldInfo(this, \"NaturalInteger\", 20, null, null);\n field = new FieldInfo(this, \"NaturalFraction\", 20, null, null);\n }", "private static void addParameters(final ResourceAllocation bean, final DataSource dataSource) {\n dataSource.addParameter(\"buildingId\", bean.getBlId(), DataSource.DATA_TYPE_TEXT);\n dataSource.addParameter(\"floorId\", bean.getFlId(), DataSource.DATA_TYPE_TEXT);\n dataSource.addParameter(\"roomId\", bean.getRmId(), DataSource.DATA_TYPE_TEXT);\n dataSource.addParameter(\"startDate\", bean.getStartDate(), DataSource.DATA_TYPE_DATE);\n dataSource.addParameter(\"startTime\", bean.getStartTime(), DataSource.DATA_TYPE_TIME);\n dataSource.addParameter(\"endTime\", bean.getEndTime(), DataSource.DATA_TYPE_TIME);\n }", "public interface DispersionDataSource {\n\n}", "public interface LocalDataSource {\n\n void saveUserName(String userName);\n\n void saveWxId(String wxId);\n\n void saveHead(String head);\n\n void saveBalance(String balance);\n\n void saveBankCard(BankCard bankCard);\n\n void saveDai(boolean dai);\n\n void saveLoan(Loan loan);\n\n String getUserName();\n\n String getWxId();\n\n String getHead();\n\n String getBalance();\n\n List<BankCard> getAllBankCard();\n\n boolean getDai();\n\n Loan getLoan();\n}", "public void addDataSource(DataSource source) {\n if (!containsDataSource(source)) datasources.add(source);\n }", "@Override\n\tpublic DataSource createDataSource(Plugins plugin, DataSourceConfig dataSourceConfig) {\n \tDruidPlugin druidPlugin = new DruidPlugin(dataSourceConfig.getUrl(),\n \t\t\tdataSourceConfig.getUser(),dataSourceConfig.getPassword(), dataSourceConfig.getDriverClassName());\n \t// 1.统计信息插件\n \tStatFilter statFilter = new StatFilter();\n \tstatFilter.setMergeSql(dataSourceConfig.isDruidMergeSql());\n \tstatFilter.setLogSlowSql(dataSourceConfig.isDruidLogSlowSql());\n \t// 慢查询目前设置为1s,随着优化一步步进行慢慢更改\n \tstatFilter.setSlowSqlMillis(dataSourceConfig.getDruidSlowSqlMillis());\n \tdruidPlugin.addFilter(statFilter);\n \tString dbtype = dataSourceConfig.getType();\n \tif(!\"sqlite\".equals(dbtype)) {\n \t\tWallFilter wall = new WallFilter();\n \t\tProp prop = PropKit.use(\"druid_wall.properties\");\n \t\tif(prop!=null) {\n \t\t\twall.configFromProperties(prop.getProperties());\n \t\t}\n \t\twall.setDbType(dbtype);\n \t\tdruidPlugin.addFilter(wall);\n \t}\n\t\t\n\t\tdruidPlugin.setInitialSize(dataSourceConfig.getInitialSize());\n\t\tdruidPlugin.setMinIdle(dataSourceConfig.getMinIdle());\n\t\tdruidPlugin.setMaxActive(dataSourceConfig.getMaxActive());\n\t\tdruidPlugin.setMaxWait(dataSourceConfig.getMaxWait());\n\t\tif(plugin!=null) {\n\t\t\tplugin.add(druidPlugin);\n\t\t}\n\t\tdruidPlugin.start();\n\t\treturn druidPlugin.getDataSource();\n\t}", "public interface IDataSourceConfiguration {\r\n\r\n\t/**\r\n\t * \r\n\t * @return Nombre del driver \r\n\t */\r\n\tpublic String getDriverName();\r\n\t\r\n\t/**\r\n\t * \r\n\t * @param driverName Nombre del driver\r\n\t */\r\n\tpublic void setDriverName(String driverName);\r\n\t\r\n\t/**\r\n\t * \r\n\t * @return User name de conexion\r\n\t */\r\n\tpublic String getUserName();\r\n\t\r\n\t/**\r\n\t * \r\n\t * @param userName User name de conexion\r\n\t */\r\n\tpublic void setUserName(String userName);\r\n\t\r\n\t/**\r\n\t * \r\n\t * @return Password de conexion\r\n\t */\r\n\tpublic String getPassword();\r\n\t\r\n\t/**\r\n\t * \r\n\t * @param password Password de conexion\r\n\t */\r\n\tpublic void setPassword(String password);\r\n\t\r\n\t/**\r\n\t * \r\n\t * @return URL de conexion. Por ejemplo jdbc:postgresql://55.55.55.55:5432/ehcos\r\n\t */\r\n\tpublic String getUrl();\r\n\t\r\n\t/**\r\n\t * \r\n\t * @param url URL de conexion. Por ejemplo jdbc:postgresql://55.55.55.55:5432/ehcos\r\n\t */\r\n\tpublic void setUrl(String url);\r\n\t\r\n\t/**\r\n\t * \r\n\t * @return Alternative User name de conexion\r\n\t */\r\n\tpublic String getAltUserName();\r\n\t\r\n\t/**\r\n\t * \r\n\t * @param userName Alternative User name de conexion\r\n\t */\r\n\tpublic void setAltUserName(String altUserName);\r\n\t\r\n\t/**\r\n\t * \r\n\t * @return Password de conexion\r\n\t */\r\n\tpublic String getAltPassword();\r\n\t\r\n\t/**\r\n\t * \r\n\t * @param password Alternative Password de conexion\r\n\t */\r\n\tpublic void setAltPassword(String altPassword);\r\n\t\r\n}", "@Override\r\n\tpublic String[] getBindDsName() {\n\t\treturn new String[]{\"supplierSalesPrice_dataSource\"}; \r\n\t}", "public void setDataSourceType (String dataSourceType) {\n this.dataSourceType = dataSourceType;\n }", "private RowData() {\n initFields();\n }", "protected abstract String getDatasourceName();", "public DataSource getDataSource() {\n\t\treturn this.dataSource;\n\t}", "public SimpleJdbcUpdate(DataSource dataSource) {\n super(dataSource);\n }", "private DataSource.Factory buildDataSourceFactory() {\n return ((DemoApplication) getApplication()).buildDataSourceFactory();\n }", "@Override\n\tpublic HashMap<String, String> getData() {\n\t\treturn dataSourceApi.getData();\n\t}", "public void addDefinition(CustomDataSourceDefinition def) {\r\n\t\tcustomDataSourceDefs.add(def);\r\n\t}", "public interface TrackDatasource {\n\n}", "@Bean(name = \"dataSource\")\n @ConfigurationProperties(prefix = \"spring.datasource\")\n public DataSource dataSource() {\n return DataSourceBuilder.create().build();\n }", "public WebDataSource() {}", "public DataSourceRegistry getDataSourceRegistry();", "public String getDataSourceName()\n {\n return dataSourceName;\n }", "public void init() {\n\r\n\t\ttry {\r\n\r\n\t\t\t//// 등록한 bean 에 있는 datasource를 가져와서 Connection을 받아온다\r\n\t\t\tcon = ds.getConnection();\r\n\r\n\t\t} catch (Exception e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\r\n\t}", "public interface WatchService {\n @DataSource(DataSourceType.WRITE)\n public int addWatchForm(WatchForm watchForm);\n\n @DataSource(DataSourceType.READ)\n public WatchFormDto queryLastWatchFormByName(String name);\n\n @DataSource(DataSourceType.READ)\n public WatchFormDto queryWatchFormByOpenId(String openId);\n\n @DataSource(DataSourceType.READ)\n public List<WatchFormDto> queryLastWatchFormByNameWeek(String name);\n\n\n @DataSource(DataSourceType.READ)\n public List<WatchFormDto> queryLastWatchFormByNameMonth(String name);\n\n @DataSource(DataSourceType.READ)\n public Long queryAvgWatchFormByNameDay(String name,int day);\n\n @DataSource(DataSourceType.READ)\n public WatchZheXian queryLastWatchFormByOpenIdWeek(String openId);\n\n @DataSource(DataSourceType.READ)\n public WatchZheXian queryLastWatchFormByOpenIdMonth(String openId);\n\n @DataSource(DataSourceType.READ)\n public Long queryAvgWatchFormByOpenIdDay(String openId,int day);\n\n @DataSource(DataSourceType.READ)\n public WatchAllChildren queryOneTeacherAllChildrenByOpenIdWeek(String openId);\n\n @DataSource(DataSourceType.READ)\n public WatchAllChildren queryOneTeacherAllChildrenByOpenIdMonth(String openId);\n @DataSource(DataSourceType.READ)\n public WatchAllChildren queryAllChildrenByOpenIdMonth();\n @DataSource(DataSourceType.READ)\n public WatchAllChildren queryAllChildrenByOpenIdWeek();\n}", "@Bean\n public DataSource dataSource() {\n EmbeddedDatabaseBuilder builder = new EmbeddedDatabaseBuilder();\n return builder.setType(EmbeddedDatabaseType.HSQL).build();\n }", "public void setDataSource(DataSource dataSource)\n\t{\n\t\tLOGGER.info(\"Setting DataSource object\");\n\t\tthis.dataSource = dataSource;\n\t}", "public interface DataSource<T> {\n\t/**\n\t * open data source.\n\t */\n\tpublic void open();\n\t/**\n\t * Get the next data object.\n\t * @return data object.\n\t */\n\tpublic T next();\n\t/**\n\t * move vernier to head.\n\t * @return\n\t */\n\tpublic void head();\n\t/**\n\t * close data source.\n\t */\n\tpublic void close();\n\t/**\n\t * get attributes. \n\t * @return\n\t */\n\tpublic Map<String, Object> attributes();\n}", "@Bean\n\tpublic DataSource dataSource () {\n\t\treturn DataSourceBuilder.create()\n\t\t\t\t\t\t\t\t.url(\"jdbc:mysql://localhost:3306/sillibus\")\n\t\t\t\t\t\t\t\t.username(\"root\")\n\t\t\t\t\t\t\t\t.password(\"root\")\n\t\t\t\t\t\t\t\t.driverClassName(databaseDriver)\n\t\t\t\t\t\t\t\t.build();\n\t}", "@Override\n\tprotected void initData(){\n\t\tsuper.initData();\n\t}", "public void setDataSourceType(DataSourceType dataSourceType) {\n this.dataSourceType = dataSourceType;\n }", "@Override\n protected void initializeFields() {\n \tsuper.initializeFields();\n\n \taddField(new DcField(DcMediaObject._A_TITLE, getIndex(), \"Title\", \n false, true, false, true, \n 255, ComponentFactory._SHORTTEXTFIELD, getIndex(), DcRepository.ValueTypes._STRING,\n \"Title\"));\n addField(new DcField(DcMediaObject._B_DESCRIPTION, getIndex(), \"Description\", \n false, true, false, true, \n 0, ComponentFactory._LONGTEXTFIELD, getIndex(), DcRepository.ValueTypes._STRING,\n \"Description\"));\n addField(new DcField(DcMediaObject._C_YEAR, getIndex(), \"Year\", \n false, true, false, true, \n 4, ComponentFactory._NUMBERFIELD, getIndex(), DcRepository.ValueTypes._LONG,\n \"Year\"));\n\n if (getIndex() != DcModules._IMAGE && !isAbstract())\n addField(new DcField(DcMediaObject._D_LANGUAGE, getIndex(), \"Languages\", \n true, true, false, true, \n 255, ComponentFactory._REFERENCESFIELD, DcModules._LANGUAGE, DcRepository.ValueTypes._DCOBJECTCOLLECTION,\n \"Languages\"));\n \n addField(new DcField(DcMediaObject._E_RATING, getIndex(), \"Rating\", \n false, true, false, true, \n 255, ComponentFactory._RATINGCOMBOBOX, getIndex(), DcRepository.ValueTypes._LONG,\n \"Rating\"));\n addField(new DcField(DcMediaObject._F_COUNTRY, getIndex(), \"Countries\", \n true, true, false, true, \n 255, ComponentFactory._REFERENCESFIELD, DcModules._COUNTRY, DcRepository.ValueTypes._DCOBJECTCOLLECTION,\n \"Countries\")); \n }", "public CommonDataSource(){\n }", "private void fetchData() {\n mFirstNameLabel = \"First name:\";\n mFirstNameValue = \"Taylor\";\n mSurnameLabel = \"Surname:\";\n mSurnameValue = \"Swift\";\n\n initFields();\n }", "public interface RemoteDataSource {\n\n interface ZhiHuDataSource {\n /**\n * 启动界面图片文字\n */\n void getSplashInfo(String res, RemoteApiCallback<SplashBean> callback);\n\n /**\n * 最新日报\n */\n void getNewsDailyList(RemoteApiCallback<NewsDailyBean> callback);\n\n /**\n * 往期日报\n */\n void getNewsDailyBefore(String date, RemoteApiCallback<NewsDailyBean> callback);\n\n /**\n * 主题日报\n */\n void getThemes(RemoteApiCallback<ThemesBean> callback);\n\n /**\n * 主题日报详情\n */\n void getThemesDetail(int id, RemoteApiCallback<ThemesListBean> callback);\n\n /**\n * 热门日报\n */\n void getHotNews(RemoteApiCallback<HotNewsBean> callback);\n\n /**\n * 日报详情\n */\n void getNewsDetailInfo(int id, RemoteApiCallback<NewsDetailBean> callback);\n\n /**\n * 日报的额外信息\n */\n void getNewsExtraInfo(int id, RemoteApiCallback<NewsExtraBean> callback);\n\n /**\n * 日报的长评论\n */\n void getLongCommentInfo(int id, RemoteApiCallback<CommentsBean> callback);\n\n /**\n * 日报的短评论\n */\n void getShortCommentInfo(int id, RemoteApiCallback<CommentsBean> callback);\n\n /**\n * 专题特刊\n */\n void getSpecials(RemoteApiCallback<SpecialsBean> callback);\n\n /**\n * 专题特刊列表\n */\n void getSpecialList(int id, RemoteApiCallback<SpecialListBean> callback);\n\n /**\n * 获取专栏的之前消息\n */\n void getBeforeSpecialListDetail(int id, long timestamp, RemoteApiCallback<SpecialListBean> callback);\n\n /**\n * 获取推荐的作者专题\n */\n void getRecommendedAuthorColumns(int limit, int offset, int seed, RemoteApiCallback<List<RecommendAuthorBean>> callback);\n\n /**\n * 获取专栏作者的详细信息\n */\n void getColumnAuthorDetail(String name, RemoteApiCallback<ColumnAuthorDetailBean> callback);\n\n /**\n * 获取推荐的文章\n */\n void getRecommendedAuthorArticles(int limit, int offset, int seed, RemoteApiCallback<List<RecommendArticleBean>> callback);\n\n /**\n * 获取某人的专题\n */\n void getColumnsOfAuthor(String name, int limit, int offset, RemoteApiCallback<List<ColumnsBean>> callback);\n\n /**\n * 获取某篇专题文章详情\n */\n void getColumnArticleDetail(int id, RemoteApiCallback<ColumnArticleDetailBean> callback);\n\n /**\n * 获取文章的评论\n */\n void getColumnComments(int id, int limit, int offset, RemoteApiCallback<List<ColumnCommentsBean>> callback);\n }\n\n interface GankDataSource {\n /**\n * 获取某个类别的信息\n */\n void getGankNewsByCategory(String category, int num, int page, RemoteApiCallback<List<GankNewsBean>> callback);\n\n /**\n * 获取某天的所有类别信息\n */\n void getGankNewsOfSomeday(int year, int month, int day, RemoteApiCallback<GankDateNewsBean> callback);\n\n /**\n * 获取随机推荐的信息\n */\n void getRecommendGankNews(String category, int num, RemoteApiCallback<List<GankNewsBean>> callback);\n }\n\n interface TianXinDataSource {\n /**\n * 获取天行数据精选\n */\n void getTianXinNews(String type, String key, int num, int page, RemoteApiCallback<List<TianXinNewsBean>> callback);\n\n /**\n * 通过关键字获取天行数据精选\n */\n void getTianXinNewsByWord(String type, String key, int num, int page, String word, RemoteApiCallback<List<TianXinNewsBean>> callback);\n }\n}", "@Bean\r\n public DataSource dataSource() {\r\n String message = messageSource.getMessage(\"begin\", null, \"locale not found\", Locale.getDefault())\r\n + \" \" + messageSource.getMessage(\"config.data.source\", null, \"locale not found\", Locale.getDefault());\r\n logger.info(message);\r\n DriverManagerDataSource dataSource = new DriverManagerDataSource();\r\n dataSource.setDriverClassName(propDatabaseDriver);\r\n dataSource.setUrl(propDatabaseUrl);\r\n dataSource.setUsername(propDatabaseUserName);\r\n dataSource.setPassword(propDatabasePassword);\r\n\r\n message = messageSource.getMessage(\"end\", null, \"locale not found\", Locale.getDefault())\r\n + \" \" + messageSource.getMessage(\"config.data.source\", null, \"locale not found\", Locale.getDefault());\r\n logger.info(message);\r\n return dataSource;\r\n }", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "@Override\n\tprotected void initializeFields() {\n\n\t}", "@Bean(name = \"dataSource\")\n\tpublic DataSource getDataSource() {\n\t\tDriverManagerDataSource dataSource = new DriverManagerDataSource();\n\t\tdataSource.setDriverClassName(\"com.mysql.cj.jdbc.Driver\");\n\t\tdataSource.setUrl(\"jdbc:mysql://localhost:3306/test_db\");\n\t\tdataSource.setUsername(\"root\");\n\t\tdataSource.setPassword(\"password\");\n\t\treturn dataSource;\n\t}", "public interface IDataSource {\r\n\t\r\n\t/**\r\n\t * Method to check if there are any stored credential in the data store for the user.\r\n\t * @param userId\r\n\t * @return\r\n\t * @throws IOException\r\n\t */\r\n\tabstract public boolean checkAuth(String userId) throws IOException;\r\n\t\r\n\t/**\r\n\t * Method to build the Uri used to redirect the user to the service provider site to give authorization.\r\n\t * @param userId\r\n\t * @param authCallback callback URL used when the app was registered on the service provider site. Some providers require\r\n\t * to specify it with every request.\r\n\t * @return\r\n\t * @throws IOException\r\n\t */\r\n\tabstract public String buildAuthRequest(String userId, String authCallback) throws IOException;\r\n\t\r\n\t/**\r\n\t * Once the user has authorized the application, the provider redirect it on the app using the callback URL. This method \r\n\t * saves the credentials sent back with the request in the data store.\r\n\t * @param userId\r\n\t * @param params HashMap containing all the parameters of the request\r\n\t * @throws IOException\r\n\t */\r\n\tabstract public void saveAuthResponse(String userId, HashMap<String, String> params) throws IOException;\r\n\t\r\n\t/**\r\n\t * Updates data of a single resource\r\n\t * @param userId\r\n\t * @param name resource name as in the XML config file\r\n\t * @param lastUpdate\r\n\t * @return\r\n\t * @throws IOException\r\n\t */\r\n\tabstract public String updateData(String userId, String resourceName, long lastUpdate) throws IOException;\r\n\t\r\n\t/**\r\n\t * Updates data of all resources\r\n\t * @param userId\r\n\t * @param lastUpdate\r\n\t * @return\r\n\t * @throws IOException\r\n\t */\r\n\tabstract public String[] updateAllData(String userId, long lastUpdate) throws IOException;\r\n\t\r\n}", "protected void addConnectionDaPropertyDescriptor ( Object object )\n {\n itemPropertyDescriptors.add ( createItemPropertyDescriptor ( ( (ComposeableAdapterFactory)adapterFactory ).getRootAdapterFactory (), getResourceLocator (), getString ( \"_UI_Site_connectionDa_feature\" ), getString ( \"_UI_PropertyDescriptor_description\", \"_UI_Site_connectionDa_feature\", \"_UI_Site_type\" ), GlobalPackage.Literals.SITE__CONNECTION_DA, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null ) );\n }" ]
[ "0.73683435", "0.68078995", "0.6753908", "0.6753908", "0.6753908", "0.673116", "0.67056006", "0.65025896", "0.6373229", "0.6373229", "0.6373229", "0.6331272", "0.63046384", "0.62818277", "0.62803644", "0.62730426", "0.62469965", "0.62469965", "0.62469965", "0.62469965", "0.62469965", "0.62469965", "0.62398934", "0.62153226", "0.6215195", "0.6202781", "0.616114", "0.61403435", "0.61192906", "0.6086808", "0.607689", "0.60351557", "0.60351557", "0.6032878", "0.60117704", "0.6009497", "0.5945835", "0.5935345", "0.5929871", "0.59248185", "0.5916708", "0.5892645", "0.5881863", "0.5848495", "0.58474815", "0.58060485", "0.5802264", "0.57851756", "0.5751661", "0.57487845", "0.573704", "0.573408", "0.5731889", "0.57150567", "0.57079345", "0.56866306", "0.5657781", "0.5653914", "0.5652728", "0.5638691", "0.5624926", "0.56207687", "0.5617063", "0.5614188", "0.55994797", "0.5586461", "0.5570546", "0.5547111", "0.55308396", "0.5510536", "0.55031914", "0.5502229", "0.5497828", "0.5490076", "0.54881966", "0.54800576", "0.547838", "0.5449225", "0.5435303", "0.54254866", "0.5419854", "0.540691", "0.54059416", "0.5402058", "0.5398466", "0.5385551", "0.5384391", "0.53833485", "0.536441", "0.5354636", "0.5354254", "0.5349484", "0.53443974", "0.5332525", "0.5331427", "0.5327611", "0.53123856", "0.52784723", "0.5273537", "0.52573293", "0.5256126" ]
0.0
-1
TODO Autogenerated method stub
@Override public int compare(Arco o1, Arco o2) { return o2.getW()-o1.getW(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.6080161", "0.6077022", "0.6041561", "0.6024072", "0.6020252", "0.59984857", "0.59672105", "0.59672105", "0.5965777", "0.59485507", "0.5940904", "0.59239364", "0.5910017", "0.5902906", "0.58946234", "0.5886006", "0.58839184", "0.58691067", "0.5857751", "0.58503544", "0.5847024", "0.58239377", "0.5810564", "0.5810089", "0.5806823", "0.5806823", "0.5800025", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5790187", "0.5789414", "0.5787092", "0.57844025", "0.57844025", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5761362", "0.57596046", "0.57596046", "0.575025", "0.575025", "0.575025", "0.5747959", "0.57337177", "0.57337177", "0.57337177", "0.5721452", "0.5715831", "0.57142824", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.5711723", "0.57041645", "0.56991017", "0.5696783", "0.56881124", "0.56774884", "0.56734604", "0.56728", "0.56696945", "0.5661323", "0.5657007", "0.5655942", "0.5655942", "0.5655942", "0.56549734", "0.5654792", "0.5652974", "0.5650185" ]
0.0
-1
TODO Autogenerated method stub
public void execute(Scanner sc, Map<Integer, Integer> wc) { List<Menu>list = MenuDao.menuList(wc.get(wc.keySet().hashCode())); // System.out.println(list); System.out.println("---------------------------------------"); System.out.printf("| %2s | %-17s | %4s |\n", "번호", "음식명", "가격"); System.out.println("---------------------------------------"); int a = 1; for (Menu m : list) { System.out.printf("| %4d ", a++); System.out.printf("| %-10s ", m.getMenuName()); for (int i = 0; i < 10 - m.getMenuName().length(); i++) { System.out.printf(" "); } System.out.printf("| %6d |\n", m.getMenuPrice()); System.out.println("---------------------------------------"); } System.out.println(); System.out.println("메뉴 번호를 입력해주세요"); int result = MenuDao.menuDelete(sc.nextInt()); if(result != 0){ System.out.println("메뉴 삭제에 성공하셨습니다"); }else { System.out.println("메뉴 삭제에 실패하셨습니다"); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.6080161", "0.6077022", "0.6041561", "0.6024072", "0.6020252", "0.59984857", "0.59672105", "0.59672105", "0.5965777", "0.59485507", "0.5940904", "0.59239364", "0.5910017", "0.5902906", "0.58946234", "0.5886006", "0.58839184", "0.58691067", "0.5857751", "0.58503544", "0.5847024", "0.58239377", "0.5810564", "0.5810089", "0.5806823", "0.5806823", "0.5800025", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5790187", "0.5789414", "0.5787092", "0.57844025", "0.57844025", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5761362", "0.57596046", "0.57596046", "0.575025", "0.575025", "0.575025", "0.5747959", "0.57337177", "0.57337177", "0.57337177", "0.5721452", "0.5715831", "0.57142824", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.5711723", "0.57041645", "0.56991017", "0.5696783", "0.56881124", "0.56774884", "0.56734604", "0.56728", "0.56696945", "0.5661323", "0.5657007", "0.5655942", "0.5655942", "0.5655942", "0.56549734", "0.5654792", "0.5652974", "0.5650185" ]
0.0
-1
TODO Autogenerated method stub
@Override public void clicked(ItemMenuIcon icon, Player p) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.6080161", "0.6077022", "0.6041561", "0.6024072", "0.6020252", "0.59984857", "0.59672105", "0.59672105", "0.5965777", "0.59485507", "0.5940904", "0.59239364", "0.5910017", "0.5902906", "0.58946234", "0.5886006", "0.58839184", "0.58691067", "0.5857751", "0.58503544", "0.5847024", "0.58239377", "0.5810564", "0.5810089", "0.5806823", "0.5806823", "0.5800025", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5790187", "0.5789414", "0.5787092", "0.57844025", "0.57844025", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5761362", "0.57596046", "0.57596046", "0.575025", "0.575025", "0.575025", "0.5747959", "0.57337177", "0.57337177", "0.57337177", "0.5721452", "0.5715831", "0.57142824", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.5711723", "0.57041645", "0.56991017", "0.5696783", "0.56881124", "0.56774884", "0.56734604", "0.56728", "0.56696945", "0.5661323", "0.5657007", "0.5655942", "0.5655942", "0.5655942", "0.56549734", "0.5654792", "0.5652974", "0.5650185" ]
0.0
-1
Fold given source file and return folded file
public static String foldSourceFileVSM(final File file, final int compressionRatio, final File outFile) { System.out .println("TASSAL VSM: Tree-based Autofolding Software Summarization ALgorithm"); System.out .println("==============================================================="); System.out.println("\nFolding file " + file.getName() + "...\n"); // Set paths and default code folder settings final Settings set = new Settings(); // Main code folder settings set.profitType = "CSimFile"; set.compressionRatio = 100 - compressionRatio; // Generate AST final CompilationUnit cu = CodeUtils.getAST(file); // Create file term vector System.out.println("Creating file term vector..."); final SimpleNameFileVisitor snfv = new SimpleNameFileVisitor(); snfv.process(cu, set.splitTokens); final TokenVector fileVec = new TokenVector(snfv.tf); // Create folded tree final ASTVisitors.TreeCreatorVisitor tcv = new TreeCreatorVisitor(); tcv.process(cu, file, fileVec, null, set); // Run selected algorithm on folded tree and return regions to unfold final ArrayList<Range<Integer>> unfoldedFolds = UnfoldAlgorithms .unfoldTree(tcv.getTree(), new GreedyVSMAlgorithm(), false); // Convert folds to HashMap<Range,isFolded> final HashMap<Range<Integer>, Boolean> folds = Maps.newHashMap(); for (final Range<Integer> r : tcv.allFolds) { if (unfoldedFolds.contains(r)) folds.put(r, false); else folds.put(r, true); } System.out.println("done."); // Get folded file final String fileString = CodeUtils.readFileString(file); final String foldedFile = CodeUtils.getFolded(fileString, folds, tcv); System.out.println("\nFolded file " + file.getName() + ": \n\n" + foldedFile); // Save folded file if requested if (outFile != null) { System.out.print("Saving folded file in " + outFile + "..."); CodeUtils.saveStringFile(foldedFile, outFile); } System.out.println("done."); return foldedFile; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getSourceFile();", "private String readFile(String source) throws IOException {\n StringBuilder contentBuilder = new StringBuilder();\n try (Stream<String> stream = Files.lines(Paths.get(source), StandardCharsets.UTF_8)) {\n stream.forEach(s -> contentBuilder.append(s));\n }\n return contentBuilder.toString();\n }", "private String readFile(String source) throws IOException {\n StringBuilder contentBuilder = new StringBuilder();\n try (Stream<String> stream = Files.lines(Paths.get(source), StandardCharsets.UTF_8)) {\n stream.forEach(s -> contentBuilder.append(s));\n }\n\n return contentBuilder.toString();\n }", "private String readFile(String source) throws IOException {\n StringBuilder contentBuilder = new StringBuilder();\n\n try (Stream<String> stream = Files.lines(Paths.get(source), StandardCharsets.UTF_8)) {\n stream.forEach(s -> contentBuilder.append(s));\n }\n\n return contentBuilder.toString();\n }", "MafSource readSource(File sourceFile);", "private String readFile(String source) throws IOException {\n StringBuilder contentBuilder = new StringBuilder();\n\n try (Stream<String> stream = Files.lines(Paths.get(source), StandardCharsets.UTF_8)) {\n stream.forEach(contentBuilder::append);\n }\n return contentBuilder.toString();\n }", "@Override\n public void toogleFold() {\n }", "public static Source wrap(Source incomplete, String withName, String withContent){\n\n final String content = withContent + incomplete.getContents() + END;\n\n final Source revised = from(incomplete, content);\n if(!revised.getName().equals(withName)){\n revised.setName(withName + \".java\");\n }\n\n return revised;\n }", "public void load(File source);", "@Test\n\tpublic void prepSourceFile() throws Exception {\n\t\t\n\t\tBufferedWriter bw = new BufferedWriter(new FileWriter(\"source/source.txt\"));\n\t\tfor (int i = 0; i < 125; i++) {\n\t\t\tBufferedReader br = new BufferedReader(new FileReader(\"source/small-source.txt\"));\n\t\t\tfor (int j = 0; j < 80000; j++) {\n\t\t\t\tbw.write(br.readLine() + \"\\n\");\t\t\n\t\t\t}\n\t\t\tbr.close();\n\t\t}\n\t\tbw.close();\n\t}", "public String source(String src)\n\t{\n\t\tint i;\n\t\tString [] toks = src.split(\"\\\\s+\");\n\t\tString ret = toks[sourceStart];\n\t\tfor (i = sourceStart + 1; i < sourceEnd; i++) {\n\t\t\tret += \" \" + toks[i];\n\t\t}\n\t\treturn ret;\n\t}", "@InputFiles\n @SkipWhenEmpty\n @IgnoreEmptyDirectories\n @PathSensitive(PathSensitivity.RELATIVE)\n public ConfigurableFileCollection getSource() {\n return source;\n }", "java.lang.String getSourceFile(int index);", "private FilePart rollOver() throws IOException {\n/* 251 */ if (this.currentLastBytePos > -1) {\n/* 252 */ throw new IllegalStateException(\"Current currentLastCharPos unexpectedly positive... last readLine() should have returned something! currentLastCharPos=\" + this.currentLastBytePos);\n/* */ }\n/* */ \n/* */ \n/* 256 */ if (this.no > 1L) {\n/* 257 */ return new FilePart(this.no - 1L, ReversedLinesFileReader.this.blockSize, this.leftOver);\n/* */ }\n/* */ \n/* 260 */ if (this.leftOver != null) {\n/* 261 */ throw new IllegalStateException(\"Unexpected leftover of the last block: leftOverOfThisFilePart=\" + new String(this.leftOver, ReversedLinesFileReader.this.encoding));\n/* */ }\n/* */ \n/* 264 */ return null;\n/* */ }", "private String readAndProcessSourceFile(String fileName, HashMap<String, String> substitutions) {\r\n try {\r\n // Read the source file packaged as a resource\r\n BufferedReader br = new BufferedReader(new InputStreamReader(\r\n getClass().getClassLoader().getResourceAsStream(fileName)));\r\n StringBuffer sb = new StringBuffer();\r\n try {\r\n String line = null;\r\n while (true) {\r\n line = br.readLine();\r\n if (line == null) {\r\n break;\r\n }\r\n sb.append(line + \"\\n\");\r\n }\r\n }\r\n finally {\r\n br.close();\r\n }\r\n String text = sb.toString();\r\n\r\n // Handle substitutions as key-value pairs where key is a regular expression and value is the substitution\r\n if (substitutions != null) {\r\n for (Entry<String, String> s : substitutions.entrySet()) {\r\n Pattern p = Pattern.compile(s.getKey());\r\n Matcher m = p.matcher(text);\r\n sb = new StringBuffer();\r\n while (m.find()) {\r\n m.appendReplacement(sb, m.group(1) + s.getValue());\r\n }\r\n m.appendTail(sb);\r\n text = sb.toString();\r\n }\r\n }\r\n\r\n return text;\r\n }\r\n catch (IOException e) {\r\n throw new RuntimeException(e);\r\n }\r\n }", "SourceFilePath getFilePath();", "DatasetFileService getSource();", "public IAstSourceFile findIncludeFile(ISourceFile file);", "private void extractFile() {\n try (BufferedReader buffered_reader = new BufferedReader(new FileReader(source_file))) {\n String line;\n while((line = buffered_reader.readLine()) != null) {\n String spaceEscaped = line.replace(\" \", \"\");\n //file was read, each line is one of the elements of the file_read_lines list\n //line 0 is keyword \"TELL\"\n //line 1 is the knowledge base\n //line 2 is the keyword \"ASK\"\n //line 3 is the query\n file_read_lines.add(spaceEscaped);\n }\n\n //generate list of Horn clauses (raw) from the KB raw sentence\n //replace \\/ by |\n String kbLine = file_read_lines.get(1).replace(\"\\\\/\", \"|\");\n rawClauses = Arrays.asList(kbLine.split(\";\"));\n //query - a propositional symbol\n query = file_read_lines.get(3);\n } catch (IOException e) {\n //Return error if file cannot be opened\n error = true;\n System.out.println(source_file.toString() + \" is not found!\");\n }\n }", "public Exp fold();", "@Nullable\n public File getSourceFile() {\n if (mSourceFile == null && !mSearchedForSource) {\n mSearchedForSource = true;\n\n String source = mClassNode.sourceFile;\n if (source == null) {\n source = file.getName();\n if (source.endsWith(DOT_CLASS)) {\n source = source.substring(0, source.length() - DOT_CLASS.length()) + DOT_JAVA;\n }\n int index = source.indexOf('$');\n if (index != -1) {\n source = source.substring(0, index) + DOT_JAVA;\n }\n }\n if (source != null) {\n if (mJarFile != null) {\n String relative = file.getParent() + File.separator + source;\n List<File> sources = getProject().getJavaSourceFolders();\n for (File dir : sources) {\n File sourceFile = new File(dir, relative);\n if (sourceFile.exists()) {\n mSourceFile = sourceFile;\n break;\n }\n }\n } else {\n // Determine package\n String topPath = mBinDir.getPath();\n String parentPath = file.getParentFile().getPath();\n if (parentPath.startsWith(topPath)) {\n String relative = parentPath.substring(topPath.length() + 1);\n List<File> sources = getProject().getJavaSourceFolders();\n for (File dir : sources) {\n File sourceFile = new File(dir, relative + File.separator + source);\n if (sourceFile.exists()) {\n mSourceFile = sourceFile;\n break;\n }\n }\n }\n }\n }\n }\n\n return mSourceFile;\n }", "void transform() {\n\t\tint oldline, newline;\n\t\tint oldmax = oldinfo.maxLine + 2; /* Count pseudolines at */\n\t\tint newmax = newinfo.maxLine + 2; /* ..front and rear of file */\n\n\t\tfor (oldline = 0; oldline < oldmax; oldline++)\n\t\t\toldinfo.other[oldline] = -1;\n\t\tfor (newline = 0; newline < newmax; newline++)\n\t\t\tnewinfo.other[newline] = -1;\n\n\t\tscanunique(); /* scan for lines used once in both files */\n\t\tscanafter(); /* scan past sure-matches for non-unique blocks */\n\t\tscanbefore(); /* scan backwards from sure-matches */\n\t\tscanblocks(); /* find the fronts and lengths of blocks */\n\t}", "@Override\n protected String getInitialSourceFragment(PythonParseTree.PythonParser.FuncdefContext function) {\n int startWithDecorators;\n RuleContext parent = function.getParent();\n if (parent instanceof PythonParseTree.PythonParser.Class_or_func_def_stmtContext) {\n startWithDecorators = ((PythonParseTree.PythonParser.Class_or_func_def_stmtContext) parent).getStart().getLine();\n } else {\n startWithDecorators = getNameLineNumber();\n }\n String source = getSourceFileContent() + \"\\n<EOF>\";\n // TODO remove trailing whitespace lines\n return Utl.getTextFragment(source, startWithDecorators, getEndLineNumber());\n }", "public void source(String path) throws Exception;", "@Override\n public File getSourceFile() {\n return _file;\n }", "public File getSource() {\n return source;\n }", "private static INodeFile[] verifySrcFiles(FSDirectory fsd, String[] srcs,\n INodesInPath targetIIP, FSPermissionChecker pc) throws IOException {\n Set<INodeFile> si = new LinkedHashSet<>();\n final INodeFile targetINode = targetIIP.getLastINode().asFile();\n final INodeDirectory targetParent = targetINode.getParent();\n // now check the srcs\n for (String src : srcs) {\n final INodesInPath iip = fsd.getINodesInPath4Write(src);\n // permission check for srcs\n if (pc != null) {\n fsd.checkPathAccess(pc, iip, FsAction.READ); // read the file\n fsd.checkParentAccess(pc, iip, FsAction.WRITE); // for delete\n }\n\n final INode srcINode = iip.getLastINode();\n final INodeFile srcINodeFile = INodeFile.valueOf(srcINode, src);\n // make sure the src file and the target file are in the same dir\n if (srcINodeFile.getParent() != targetParent) {\n throw new HadoopIllegalArgumentException(\"Source file \" + src\n + \" is not in the same directory with the target \"\n + targetIIP.getPath());\n }\n // source file cannot be the same with the target file\n if (srcINode == targetINode) {\n throw new HadoopIllegalArgumentException(\"concat: the src file \" + src\n + \" is the same with the target file \" + targetIIP.getPath());\n }\n\n if(srcINodeFile.getStoragePolicyID() == HdfsConstants.DB_STORAGE_POLICY_ID) {\n throw new HadoopIllegalArgumentException(\"concat: source file \" + src\n + \" is stored in DB.\");\n }\n\n // source file cannot be under construction or empty\n if(srcINodeFile.isUnderConstruction() || srcINodeFile.numBlocks() == 0) {\n throw new HadoopIllegalArgumentException(\"concat: source file \" + src\n + \" is invalid or empty or underConstruction\");\n }\n // source file's preferred block size cannot be greater than the target\n // file\n if (srcINodeFile.getPreferredBlockSize() >\n targetINode.getPreferredBlockSize()) {\n throw new HadoopIllegalArgumentException(\"concat: source file \" + src\n + \" has preferred block size \" + srcINodeFile.getPreferredBlockSize()\n + \" which is greater than the target file's preferred block size \"\n + targetINode.getPreferredBlockSize());\n }\n si.add(srcINodeFile);\n }\n \n // make sure no two files are the same\n if (si.size() < srcs.length) {\n // it means at least two files are the same\n throw new HadoopIllegalArgumentException(\n \"concat: at least two of the source files are the same\");\n }\n return si.toArray(new INodeFile[si.size()]);\n }", "protected JavaSource getJavaSourceForClass(String clazzname) {\n String resource = clazzname.replaceAll(\"\\\\.\", \"/\") + \".java\";\n FileObject fileObject = classPath.findResource(resource);\n if (fileObject == null) {\n return null;\n }\n Project project = FileOwnerQuery.getOwner(fileObject);\n if (project == null) {\n return null;\n }\n SourceGroup[] sourceGroups = ProjectUtils.getSources(project).getSourceGroups(\"java\");\n for (SourceGroup sourceGroup : sourceGroups) {\n return JavaSource.create(ClasspathInfo.create(sourceGroup.getRootFolder()));\n }\n return null;\n }", "private ChangedFile getChangedFile(FileHeader header) {\n ChangedFile cf =new ChangedFile(header);\n List<? extends HunkHeader> hunks = header.getHunks();\n for (HunkHeader hunkHeader : hunks) {\n EditList var16 = hunkHeader.toEditList();\n cf.chunks = this.getChunks(var16);\n }\n cf.setLines();\n return cf;\n }", "String getSource();", "void CopySourcePart (Position pos, int indent) {\n int ch, nChars, i;\n if (pos != null) {\n buffer.setPos(pos.beg); ch = buffer.Read(); nChars = pos.len - 1;\n Indent(indent);\n boolean done = false;\n while (nChars >= 0) {\n while (ch == CR || ch == LF) { // eol is either CR or CRLF or LF\n gen.println(); Indent(indent);\n if (ch == CR) { ch = buffer.Read(); nChars--; } // skip CR\n if (ch == LF) { ch = buffer.Read(); nChars--; } // skip LF\n for (i = 1; i <= pos.col && ch <= ' '; i++) {\n // skip blanks at beginning of line\n ch = buffer.Read(); nChars--;\n }\n if (i <= pos.col) pos.col = i - 1; // heading TABs => not enough blanks\n done = (nChars < 0);\n }\n if (done) break;\n gen.print((char)ch);\n ch = buffer.Read(); nChars--;\n }\n if (indent > 0) gen.println();\n }\n }", "public File fileRelativeToSource(File f) {\n if (f.isAbsolute()) {\n return f;\n } else {\n return new File(_basedir, f.getPath());\n }\n }", "public File prepareCilkFile(File sourceFile) {\n File cilkFile = getCilkFilename(sourceFile);\n\n // // Make copy\n // SpecsIo.copy(sourceFile, cilkFile);\n\n // Replace Cilk keywords\n Replacer cilkReplacer = new Replacer(SpecsIo.read(sourceFile));\n cilkReplacer.replace(\"cilk_spawn\", \"\\n/*\" + CLAVA_CILK_SPAWN + \"*/\\n\");\n cilkReplacer.replace(\"cilk_sync;\", \"#pragma \" + CLAVA_CILK_SYNC + \"\\n\" + CLAVA_CILK_NOP);\n cilkReplacer.replace(\"cilk_for\", \"#pragma \" + CLAVA_CILK_FOR + \"\\nfor\");\n // System.out.println(\"NEW FILE: \" + cilkReplacer);\n SpecsIo.write(cilkFile, cilkReplacer.toString());\n\n return cilkFile;\n }", "java.lang.String getSource();", "java.lang.String getSource();", "public HashMap readFile(String filePath, HashMap source){\n\t\tArrayList<String> temp1 = new ArrayList<String>();\n\t\tArrayList<String> temp2 = new ArrayList<String>();\n\t\tBufferedReader br = null;\n\t\t\n\t\ttry {\n\t\t\tString sCurrentLine;\n\t\t\t\n\t\t\t// \"Users/Jasmine/Documents/Eclipse/CacheDictionary/src/english.txt\"\n\t\t\tbr = new BufferedReader(new FileReader(filePath)); \n\t\t\t\n\t\t\t//str.matches(\".*\\\\d+.*\"); ==> string that contains numbers\n\t\t\t//.matches(\"[a-zA-Z]+\"); ==> string that only contains letter\n\t\t\twhile ((sCurrentLine = br.readLine()) != null) {\n\t\t\t\t\n\t\t\t\t/*\n\t\t\t\t * if the source file itself is not one word per line, we need to split the string\n\t\t\t\t * only letter(not single) will be stored in the array\n\t\t\t\t */\n\t\t\t\t//\n\t\t\t\tif(sCurrentLine.matches(\".*([ \\t]).*\")){ //check if the current line is a single word or not\n\t\t\t\t\ttemp1.add(sCurrentLine);\n\t\t\t\t}\n\t\t\t\telse if(sCurrentLine.matches(\"[a-zA-Z]+\") && sCurrentLine.length()>1){\n\t\t\t\t\ttemp2.add(sCurrentLine);\n\t\t\t\t}\n\t\t\t}// end of while loop\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tif (br != null)br.close();\n\t\t\t} catch (IOException ex) {\n\t\t\t\tex.printStackTrace();\n\t\t\t}\n\t\t}\n\n\t\tif(!temp1.isEmpty()){\n\t\t\tfor(int i = 0; i< temp1.size(); i++){\n\t\t\t\tString thisLine[] = temp1.get(i).split(\" \");\n\t\t\t\t//for each word in this line\n\t\t\t\tfor(int j = 0; j < thisLine.length; j++){\n\t\t\t\t\t//if it is a valid word\n\t\t\t\t\tif(thisLine[j].matches(\"[a-zA-Z]+\") && thisLine[j].length()>1 ){\n\t\t\t\t\t\tif( source.get(thisLine[j]) == null){\n\t\t\t\t\t\t\tsource.put(thisLine[j].toLowerCase(),thisLine[j].toLowerCase());\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t} // end of if current word i valid\t\n\t\t\t\t}\n\t\t\t}\t\n\t\t} // end of temp1\n\t\t\n\t\tif(!temp2.isEmpty()){\n\t\t\tfor(int i = 0; i< temp2.size(); i++){\n\t\t\t\tif(temp2.get(i).matches(\"[a-zA-Z]+\") && temp2.get(i).length()>1){\n\t\t\t\t\tif(source.get(temp2.get(i)) == null){\n\t\t\t\t\t\tsource.put(temp2.get(i).toLowerCase(),temp2.get(i).toLowerCase());\n\t\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t\t} \n\t\t\t}\n\t\t\t\n\t\t}\n\t\treturn source;\n\t}", "public Builder withSource(File source) {\n this.source = checkNotNull(source);\n return this;\n }", "public IAstSourceFile findIncludeFile(String string);", "void consolidate(String destination);", "public interface SourceFileReader {\n\t\n\t/**\n\t * Reads a file and returns its content in a List\n\t * @param fileReaderType the location of a file \n\t * (<b>local</b> for locally stored files, \n\t * <b>web</b> for files stored on the web). \n\t * @param filepath the url of the file\n\t * @return a List that contains the contents of the file \n\t * or null if the type is neither <b>local</b> nor <b>web</b>\n\t * @throws IOException\n\t */\n\tpublic List<String> readFileIntoList(String filepath) throws IOException;\n\t\n\t/**\n\t * Reads a file and returns its content in a single String\n\t * @param fileReaderType the location of a file \n\t * (<b>local</b> for locally stored files, \n\t * <b>web</b> for files stored on the web). \n\t * @param filepath the url of the file\n\t * @return a String that contains the contents of the file\n\t * or null if the type is neither <b>local</b> nor <b>web</b>\n\t * @throws IOException\n\t */\n\tpublic String readFileIntoString(String filepath) throws IOException;\n\n}", "FileObject getFile();", "FileObject getFile();", "FileObject getBaseFolder();", "public void loadFile(File f) {\n Controller.INSTANCE.run(() -> {\n int iterations = 0;\n StringBuffer buffer = new StringBuffer();\n\n\n try (FileInputStream fis = new FileInputStream(f);\n BufferedInputStream bis = new BufferedInputStream(fis) ) {\n while ( (bis.available() > 0) && (iterations < charThreshold)) {\n iterations++;\n buffer.append((char)bis.read());\n }\n fullContent.add(buffer.toString());\n loadBlock(0);\n //System.out.println(\"Finished first set at \"+ iterations + \" iterations\");\n myEstimatedLoad = EstimatedLoad.MEDIUM;\n while (bis.available() > 0) {\n iterations = 0;\n buffer = new StringBuffer();\n while ((bis.available() > 0) && (iterations < charThreshold)) {\n iterations++;\n buffer.append((char) bis.read());\n }\n fullContent.add(buffer.toString());\n //System.out.println(\"Finished another set at \"+iterations+ \" iterations\");\n synchronized (mine) {\n if (mine.getParentEditor().isClosed())\n return Unit.INSTANCE; //check if this tab is closed. if it is, wrap up\n }\n }\n }\n catch ( Exception e ) {\n System.out.println(\"Failed to load file\");\n e.printStackTrace();\n }\n return Unit.INSTANCE;\n });\n }", "String prepareFile();", "public File curHeadBranch() {\n File result = null;\n String headName = Utils.readObject(HEADNAME, String.class);\n for (String fileName: Utils.plainFilenamesIn(Main.ALL_BRANCHES)) {\n if (fileName.equals(headName)) {\n File currFile = Utils.join(Main.ALL_BRANCHES, fileName);\n result = currFile;\n }\n }\n return result;\n }", "private static String getEntryName(File source, File file) throws IOException {\n\t\tint index = source.getAbsolutePath().length() + 1;\n\t\tString path = file.getCanonicalPath();\n\n\t\treturn path.substring(index);\n\t}", "public static String sourceContent()\n {\n read_if_needed_();\n \n return _src_content;\n }", "protected File getSourceFile(String name) {\n String fileName = name.replace('.', File.separatorChar) + \".tea\";\n\n File file = new File(mRootSourceDir, fileName);\n return file;\n }", "@Override\n public IRConst doConstFolding() {\n \treturn null;\n }", "@Override\n \tprotected File deriveLocalFileCodeBase(Class<?> baseClass)\n \t{\n \t\t// setup codeBase\n \t\tif (baseClass == null)\n \t\t\tbaseClass = this.getClass();\n \n \t\tPackage basePackage = baseClass.getPackage();\n \t\tString packageName = basePackage.getName();\n \t\tString packageNameAsPath = packageName.replace('.', Files.sep);\n \n \t\tString pathName = System.getProperty(\"user.dir\") + Files.sep;\n \t\tFile path = new File(pathName);\n \t\tString pathString = path.getAbsolutePath();\n \n \t\t// println(\"looking for \" + packageNameAsPath +\" in \" + pathString);\n \n \t\tint packageIndex = pathString.lastIndexOf(packageNameAsPath);\n \t\tif (packageIndex != -1)\n \t\t{\n \t\t\tpathString = pathString.substring(0, packageIndex);\n \t\t\tpath = new File(pathString + Files.sep);\n \t\t}\n \n \t\tcodeBase = new ParsedURL(path);\n \t\tprintln(\"codeBase=\" + codeBase);\n \t\treturn path;\n \t}", "void citire(FileReader f);", "@InterfaceAudience.Public\n Reducer compileReduce(String source, String language);", "@Override\n public void run()\n {\n this.fold();\n System.out.println(\"You have been folded\");\n\n }", "public FreeMindWriter folded() {\n if( ! tagOpen ) throw new IllegalStateException( \"Node start element is no longer open\" );\n \n out.print( \" FOLDED='true'\" );\n return this; \n }", "@Test\n\tpublic void testFoldLeft()\n\t{\n\t\tString val =\n\t\t\thibernateFactory.selectForClass(Person.class).filter().p(\"age\", Integer.class).gt(42).foldLeft()\n\t\t\t\t.with(\"<==\", new Folder<Person, String>() {\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic String apply(String a, Person b)\n\t\t\t\t\t{\n\t\t\t\t\t\treturn a + \", \" + b.getName();\n\t\t\t\t\t}\n\t\t\t\t}).toValue();\n\n\t\t/*\n\t\t * should\n\t\t */\n\t\tAssert.assertEquals(\"<==, Edward, Brian\", val);\n\t}", "public static void main(String[] args) {\n Path file = Paths.get (\"courses.txt\");\n// line n1\n /* Assume the courses.txt is accessible.\n Which code fragment can be inserted at line n1 to enable the code to print the content of the*/\n //courses.txt file?\n /* A. List<String> fc = Files.list(file);\n fc.stream().forEach (s - > System.out.println(s));\n B. Stream<String> fc = Files.readAllLines (file);\n fc.forEach (s - > System.out.println(s));\n // C. List<String> fc = readAllLines(file);\n //fc.stream().forEach (s - > System.out.println(s));\n D. Stream<String> fc = Files.lines (file);///answer\n fc.forEach (s - > System.out.println(s));*/\n }", "public File getSourceFile() {\n if (getSources().size() > 0) {\n return ((FilePath) this.getSources().iterator().next()).getFile();\n } else {\n return null;\n }\n }", "public static DefinedStructure loadSingleStructure(File source) throws IOException {\n DefinedStructure structure = new DefinedStructure();\n structure.b(NBTCompressedStreamTools.a(new FileInputStream(source)));\n return structure;\n }", "public void updateSource() {\n\t\t// Set the mode to recording\n\t\tmode = RECORD;\n\t\t// Traverse the source and record the architectures structure\n\t\tinspect();\n\t\t// Set the mode to code generation\n\t\tmode = GENERATE;\n\t\t// Traverse the source and calls back when key source elements are\n\t\t// missing\n\t\tinspect();\n\t\t// System.out.println(tree);\n\t\t// Add the source files that are missing\n\t\tArrayList<TagNode> tags = tree.getUnvisited();\n\t\tcreateSourceFiles(tags);\n\t}", "CharStream findFile(String name) throws IOException,\n IncludeFileNotFound {\n // Look in the directory containing the source file ...\n String dir = \".\"; // default value used e.g. when reading from stdin\n File src = getSource();\n if (src != null && src.getParent() != null) {\n dir = src.getParent();\n }\n String full = dir + \"/\" + name;\n File f = new File(full);\n if (f.exists()) {\n LOG.debug(\"Using local file \" + full);\n return CharStreams.fromFileName(full);\n }\n\n // ... and fall back to the standard library path if not found.\n final URL url = ClassLoader.getSystemResource(\"include/\" + name);\n if (url != null) {\n LOG.debug(\"Using library \" + url);\n // Use fromReader(Reader, String) to catch the file name --- fromStream(InputStream) does not.\n return CharStreams.fromReader(new InputStreamReader(url.openStream()), url.getFile());\n }\n\n throw new IncludeFileNotFound(name, this, getInputStream()); // TODO: check this\n }", "public static void realWorld() \r\n\t{\r\n\t\tStream<File> roots = Arrays.stream(new String[] { \".\" }).map(File::new); \r\n\t\t\r\n\t\tStream<File> files = roots.flatMap(Program::allFilesIn).filter(endsWith(\".java\"));\r\n\t\tStream<String> lines = files.flatMap(Program::readIn);\r\n\t\tStream<String> words = lines.flatMap(Program::splitIntoWords);\r\n\t\twords.forEach(System.out::println);\r\n\t\tSystem.out.println(\"Done\");\r\n\t}", "public static void read8() {\n List<String> list = new ArrayList<>();\n\n try (Stream<String> stream = Files.lines(Paths.get(filePath))) {\n\n //1. filter line 3\n //2. convert all content to upper case\n //3. convert it into a List\n list = stream\n .filter(line -> !line.startsWith(\"line3\"))\n .map(String::toUpperCase)\n .collect(Collectors.toList());\n\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n list.forEach(System.out::println);\n }", "private static void put(ByteString source, int offset, int size, ByteBuffer dest) {\n ByteString croppedSource = source.substring(offset, offset + size);\n for (ByteBuffer sourcePiece : croppedSource.asReadOnlyByteBufferList()) {\n dest.put(sourcePiece);\n }\n }", "public static <E,F> F fold_with_map(\n Stream<E> stream,\n Function<? super E,F> folding_adapter\n ) {\n if (stream == null) return null;\n Stream<F> folding_stream = stream.map(folding_adapter);\n return Streams.last(folding_stream);\n }", "private String getFirstWordOfFile(String filename) {\n try {\n String result = \"\";\n BufferedReader bf = new BufferedReader(new FileReader(filename));\n boolean isComment = false;\n boolean noCase = false;\n boolean cont = false;\n\n for (String line = bf.readLine(); line != null; line = bf\n .readLine()) {\n line = line.trim();\n while (!noCase) {\n noCase = true;\n if (line.startsWith(\"--\")) {\n noCase = true;\n cont = true;\n continue;\n }\n if (line.startsWith(\"/*\")) {\n noCase = false;\n isComment = true;\n line = line.substring(line.indexOf(\"/*\") + 2).trim();\n }\n if (isComment == true) {\n noCase = false;\n int index = line.indexOf(\"*/\");\n if (index != -1) {\n line = line.substring(index + 2).trim();\n isComment = false;\n }\n if (index == -1) {\n noCase = true;\n cont = true;\n continue;\n }\n }\n }\n if (cont || line.trim().equals(\"\")) {\n cont = false;\n noCase = false;\n continue;\n }\n StringTokenizer st = new StringTokenizer(line);\n result = st.nextToken();\n return result;\n }\n } catch (FileNotFoundException e) {\n // ignored\n Log.println(\"Error: File `\" + filename + \"' could not be found!\");\n return \"ERROR: -1\";\n } catch (IOException e) {\n // ignored\n }\n return null;\n }", "Path getContent(String filename);", "protected void transform()\n\t{\n\t\tFileSummary summary = getFileSummary();\n\t\tFileCloser.close(summary.getFile());\n\n\t\tsuper.transform();\n\t}", "public static byte[] readFileFully(File source) {\n DataInputStream raf = null;\n int length = (int)source.length();\n if(length <= 0)\n return null;\n\n byte[] data = new byte[length];\n try {\n raf = new DataInputStream(new BufferedInputStream(new FileInputStream(source)));\n raf.readFully(data);\n } catch(IOException ioe) {\n return null;\n } finally {\n IOUtils.close(raf);\n }\n \n return data;\n }", "Source getSrc();", "public static void main(String[] args) throws FileNotFoundException, IOException {\n\t\t// TODO Auto-generated method stub\n\t\tif (args.length != 2) {\n\t\t\tSystem.out.println(\"Usage: java PE1910_SplitFiles souceFile numberOfPieces\");\n\t\t\tSystem.exit(0);\n\t\t}\n\t\t// Get number of pieces\n\t\tint numberOfPiecesArg = Integer.parseInt(args[1]);\n\n\t\t// Get Source file and create input stream for it\n\t\tBufferedInputStream inputArg = new BufferedInputStream(new FileInputStream(\n\t\t\t\tnew File(\"C:/Java/examples/\" + args[0])));\n\n\t\t// Get fileName and extension of the source file\n\t\tFile sourceFileArg = new File(\"C:/Java/examples/\" + args[0]);\n\t\tString fileNameArg = sourceFileArg.getName().substring(0, sourceFileArg.getName().length() - 4);\n\n\t\t// Get fileSize and size of the split file\n\t\tlong fileSizeArg = inputArg.available();\n\t\tint partArg = (int)\n\t\t\t\tMath.ceil(1.0 * fileSizeArg / numberOfPiecesArg);\n\t\tSystem.out.println(partArg);\n\t\t// Copy the content of the sourceFile into split files\n\t\tfor (int i = 0; i < numberOfPiecesArg; i++) {\n\t\t\tBufferedOutputStream outputArg = new BufferedOutputStream(\n\t\t\t\t\tnew FileOutputStream(new File(\"C:/Java/examples/\" + fileNameArg + \".part\" + i)));\n\t\t\tint value;\n\t\t\tint numberOfBytesArg = 0;\n\t\t\twhile (numberOfBytesArg++ < partArg && (value = inputArg.read()) != -1) {\n\t\t\t\toutputArg.write(value);\n\t\t\t}\n\t\t\toutputArg.close();\n\t\t}\n\t\t\n\t\tinputArg.close();\n\t\tSystem.out.println(\"[\" + sourceFileArg.length() + \"]\");\n\n\t}", "public java.io.File getFileSource(){\n return null;\n }", "private Header [] loadSource(String name, Header [] list, Header header, final boolean force)\r\n {\r\n int pos;\r\n int depth = header.depth;\r\n File file = null;\r\n\r\n name = name.trim();\r\n\r\n for(pos = 0; pos < list.length && list[pos] != header; pos++);\r\n\r\n String path = list[pos].name.substring(0, list[pos].name.lastIndexOf('\\\\'));\r\n\r\n // look in sdk's root directory\r\n if ((file = getFile(Parser.jdkSource, name)) != null)\r\n {\r\n if (Parser.jdkSource.compareToIgnoreCase(path) != 0)\r\n depth++;\r\n }\r\n\r\n // look in package\r\n if (file == null)\r\n {\r\n file = getFile(path, name);\r\n }\r\n\r\n // look in imports\r\n for (int j = 0; j < header.imports.length && file == null; j++)\r\n {\r\n String st = header.imports[j];\r\n int last = st.lastIndexOf('.') + 1;\r\n\r\n if (st.substring(last).compareToIgnoreCase(name) == 0)\r\n st = st.substring(0, last);\r\n\r\n if (st.endsWith(\".\"))\r\n st = st.substring(0, st.length() - 1);\r\n\r\n for (int k = -1; (k = st.indexOf('.')) >= 0; )\r\n st = st.substring(0, k) + '\\\\' + st.substring(k + 1);\r\n\r\n st = jdkSource + '\\\\' + st;\r\n\r\n file = getFile(st, name);\r\n\r\n if (file != null)\r\n depth++;\r\n }\r\n\r\n if (file != null)\r\n {\r\n String st = file.getAbsolutePath();\r\n\r\n // already loaded?\r\n for(int k = 0; k < list.length; k++)\r\n if (list[k].name.compareToIgnoreCase(st) == 0)\r\n {\r\n file = null;\r\n return list;\r\n }\r\n\r\n if (file != null)\r\n {\r\n File desc = new File(st.substring(0, st.lastIndexOf('.') + 1) + 'h');\r\n File fs = new File(st.substring(0, st.lastIndexOf('.') + 1) + \"fs\");\r\n\r\n st = file.getAbsolutePath();\r\n for(int i = 0; i < built.size(); i++)\r\n if (((String)built.get(i)).compareToIgnoreCase(st) == 0)\r\n {\r\n file = desc;\r\n break;\r\n }\r\n\r\n if ((!desc.exists() || !fs.exists() || fs.length() == 0 || fs.lastModified() < file.lastModified() || force) && file != desc)\r\n {\r\n Header [] hh \t= new Pass(file, built, force, gc).compilationUnit(list, depth); // compile\r\n\r\n return hh;\r\n }\r\n else\r\n {\r\n Header [] newList = new Header[list.length + 1];\r\n\r\n for (int k = 0; k < newList.length - 1; k++)\r\n newList[k] = list[k];\r\n System.out.println(desc.getAbsolutePath() + \" will be read!\");\r\n newList[newList.length - 1] = new Header(desc.getAbsolutePath(), depth); // load header\r\n list = newList;\r\n }\r\n }\r\n }\r\n\r\n return list;\r\n }", "private StringBuffer readFromFile(String src) {\n \t\tif (src == null)\n \t\t\treturn null;\n \t\tInputStream stream = null;\n \t\tStringBuffer content = new StringBuffer();\n \t\tBufferedReader reader = null;\n \t\ttry {\n \t\t\tURL url = new URL(src);\n \t\t\tstream = url.openStream();\n \t\t\t//TODO: Do we need to worry about the encoding here? e.g.:\n \t\t\t//reader = new BufferedReader(new InputStreamReader(stream,\n \t\t\t// ResourcesPlugin.getEncoding()));\n \t\t\treader = new BufferedReader(new InputStreamReader(stream));\n \t\t\twhile (true) {\n \t\t\t\tString line = reader.readLine();\n \t\t\t\tif (line == null) // EOF\n \t\t\t\t\tbreak; // done reading file\n \t\t\t\tcontent.append(line);\n \t\t\t\tcontent.append(IIntroHTMLConstants.NEW_LINE);\n \t\t\t}\n \t\t} catch (Exception exception) {\n \t\t\tLogger.logError(\"Error reading from file\", exception); //$NON-NLS-1$\n \t\t} finally {\n \t\t\ttry {\n \t\t\t\tif (reader != null)\n \t\t\t\t\treader.close();\n \t\t\t\tif (stream != null)\n \t\t\t\t\tstream.close();\n \t\t\t} catch (IOException e) {\n \t\t\t\tLogger.logError(\"Error closing input stream\", e); //$NON-NLS-1$\n \t\t\t\treturn null;\n \t\t\t}\n \t\t}\n \t\treturn content;\n \t}", "String getSourceString();", "public IAstPreprocessorIncludeDirective findInclude(ISourceFile file);", "com.google.protobuf.ByteString\n getSourceFileBytes();", "public IAstRlsSourceFile findRlsFile(int langCode);", "public void generateCleanVersion(File src, File target) {\n PreprocessorAPI pp = new PreprocessorAPI(new OnlyExpandMacrosInIfsController());\n pp.setInlineIncludes(false);\n pp.setKeepIncludes(true);\n pp.setKeepDefines(true);\n\n pp.preprocess(src, target);\n }", "public SourceFile getSourceFile() throws InvalidFormatException;", "public PrimaryFile clonePrimaryFile()\n {\n ExtractedTargetFile pf = new ExtractedTargetFile();\n pf.setInternalBaseHref(getInternalBaseHref());\n pf.setExternalBaseHref(getExternalBaseHref());\n return pf;\n }", "public String getSourceLine (int line);", "public ClassNode source(String source) {\n $.sourceFile = source;\n return this;\n }", "GetPrefix fileContent();", "public final EObject entryRuleFoldLeftExpr() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleFoldLeftExpr = null;\n\n\n try {\n // InternalSafetyParser.g:6772:53: (iv_ruleFoldLeftExpr= ruleFoldLeftExpr EOF )\n // InternalSafetyParser.g:6773:2: iv_ruleFoldLeftExpr= ruleFoldLeftExpr EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getFoldLeftExprRule()); \n }\n pushFollow(FollowSets000.FOLLOW_1);\n iv_ruleFoldLeftExpr=ruleFoldLeftExpr();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleFoldLeftExpr; \n }\n match(input,EOF,FollowSets000.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 }", "public Stream<Path> loadAll() {\n\t\ttry\n\t\t{\n\t\t\tSystem.out.println(\"File Retrived\");\n\t\t\treturn Files.walk(this.path, 1).filter(path->!path.equals(this.path)).map(this.path::relativize);\n\t\t}catch(Exception e)\n\t\t{\n\t\t\te.printStackTrace();\n\t\t\tSystem.out.println(\"File Retrived Error\");\n\t\t}\n\t\treturn null;\n\t}", "private Token source_skipline(boolean white)\r\n throws IOException,\r\n LexerException {\r\n // (new Exception(\"skipping line\")).printStackTrace(System.out);\r\n Source s = getSource();\r\n Token tok = s.skipline(white);\r\n /* XXX Refactor with source_token() */\r\n if (tok.getType() == EOF && s.isAutopop()) {\r\n // System.out.println(\"Autopop \" + s);\r\n Token mark = pop_source(true);\r\n if (mark != null)\r\n return mark;\r\n }\r\n return tok;\r\n }", "String transcribeFile(String filePath);", "Target convert(Source source);", "public interface FileSegment {\n\n /**\n * 分割文件\n *\n */\n void split();\n\n\n\n\n}", "void loadNextSplitCurrentDir() throws IOException {\n\t\tCollection<File> files = fsIterator.getFiles();\n\t\n\t\tif (files == null || files.size() == 0)\n\t\t\treturn;\n\t\t\n\t\tIterator<File> it = files.iterator();\n\t\twhile (it.hasNext()) {\n\t\t\tFile file = it.next();\n\t\t\tRandomAccessFile raf = openedRAFs.get(file.getAbsolutePath());\n\t\t\tif (raf == null) {\n\t\t\t\ttry {\n\t\t\t\t\traf = new RandomAccessFile(file, \"r\");\n\t\t\t\t} catch (FileNotFoundException e) {\n\t\t\t\t\t//e.printStackTrace();\n\t\t\t\t\t// TODO: show warning that the file cannot be read\n\t\t\t\t\tit.remove();\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tRandomAccessFile old = \n\t\t\t\t\t\topenedRAFs.put(file.getAbsolutePath(), raf);\n\t\t\t\tif (old != null)\n\t\t\t\t\told.close();\n\t\t\t}\n\t\t\t\n\t\t\tlong begin = splitter.splitBegin(raf);\n\t\t\tif (begin == -1) {\n\t\t\t\traf.close();\n\t\t\t\tit.remove();\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\t\n\t\t\traf.seek(begin);\n\t\t\t\n\t\t\tlong end = splitter.splitEnd(raf, blocksize);\n\t\t\t\n\t\t\tif (begin == end) {\n\t\t\t\traf.close();\n\t\t\t\tit.remove();\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\traf.seek(end);\n\t\t\t\n\t\t\tcurrentRAF = new RandomAccessFile(file, \"r\");\n\t\t\tcurrentRAF.seek(begin);\n\t\t\tcurrentLength = end - begin;\n\t\t\t\n\t\t\tlogger.debug(String.format(\"Generated Split. %s %d %d\",\n\t\t\t\t\tfile.getAbsolutePath(), begin, end));\n\t\t\t\n\t\t\treturn;\n\t\t}\n\t}", "Node getSourceNode();", "java.lang.String getSrc();", "public static void main(String[] args) {\n\n File file = new File(\"./src/cat.txt\");\n System.out.println(file.exists());\n System.out.println(file.getName());\n System.out.println(file.getAbsolutePath());\n System.out.println(file.isDirectory());\n System.out.println(file.isFile());\n System.out.println(file.length());\n System.out.println(file.renameTo(new File(\"cat.txt\")));\n\n File folder = new File(\"./cat.txt\");\n boolean mkdir = folder.mkdir();\n\n File folderInFolder = new File(\"./folder/unAltFolder\");\n folderInFolder.mkdirs();\n\n System.out.println(file.getParent());\n File srcFile = new File(\"./src/main\");\n File[] filesFromSrc = srcFile.listFiles();\n\n for (File fileSrc : filesFromSrc) {\n System.out.println(fileSrc);\n }\n\n }", "private IProgramElement createFileStructureNode(String sourceFilePath) {\n\t\tint lastSlash = sourceFilePath.lastIndexOf('\\\\');\n\t\tif (lastSlash == -1) {\n\t\t\tlastSlash = sourceFilePath.lastIndexOf('/');\n\t\t}\n\t\t// '!' is used like in URLs \"c:/blahblah/X.jar!a/b.class\"\n\t\tint i = sourceFilePath.lastIndexOf('!');\n\t\tint j = sourceFilePath.indexOf(\".class\");\n\t\tif (i > lastSlash && i != -1 && j != -1) {\n\t\t\t// we are a binary aspect in the default package\n\t\t\tlastSlash = i;\n\t\t}\n\t\tString fileName = sourceFilePath.substring(lastSlash + 1);\n\t\tIProgramElement fileNode = new ProgramElement(asm, fileName, IProgramElement.Kind.FILE_JAVA, new SourceLocation(new File(\n\t\t\t\tsourceFilePath), 1, 1), 0, null, null);\n\t\t// fileNode.setSourceLocation();\n\t\tfileNode.addChild(NO_STRUCTURE);\n\t\treturn fileNode;\n\t}", "@Override\n public void run() {\n List<File> files = getContents(TOP_LEVEL + \" and \" + NOT_TRASHED + \" and \" + FOLDER + \" and \" + NOT_SPREADSHEET);\n \n prune(targetDir, files);\n processLanguages(files);\n }", "void doCF()\n {\n try\n {\n int module = propertyGet(LIST_MODULE);\n\t\t\tint currentLine = propertyGet(LIST_LINE);\n\n if (hasMoreTokens())\n {\n String arg = nextToken();\n module = parseFileArg(module, arg);\n\t\t\t\tcurrentLine = 1;\n setListingPosition(module, currentLine);\n }\n\n SourceFile sourceFile = m_fileInfo.getFile(module);\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\tsb.append(sourceFile.getName());\n\t\t\tsb.append('#');\n\t\t\tsb.append(sourceFile.getId());\n\t\t\tsb.append(':');\n\t\t\tsb.append(currentLine);\n\t\t\tout( sb.toString() );\n }\n\t\tcatch(NullPointerException npe)\n\t\t{\n\t\t\terr(getLocalizationManager().getLocalizedTextString(\"noFilesFound\")); //$NON-NLS-1$\n\t\t}\n\t\tcatch(ParseException pe)\n\t\t{\n\t\t\terr(pe.getMessage());\n\t\t}\n\t\tcatch(AmbiguousException ae)\n\t\t{\n\t\t\terr(ae.getMessage());\n\t\t}\n\t\tcatch(NoMatchException nme)\n\t\t{\n\t\t\terr(nme.getMessage());\n\t\t}\n }", "@Nullable\n private static PbFile searchForSourceCommentInInitialBlock(\n String commentPrefix, PsiFile file, PsiElement[] children) {\n List<String> generatedByProtocComments =\n ImmutableList.of(\n String.format(\n \"%s Generated by the protocol buffer compiler. DO NOT EDIT!\", commentPrefix),\n String.format(\"%s Code generated by protoc-gen-go. DO NOT EDIT.\", commentPrefix));\n Pattern sourceCommentPattern =\n Pattern.compile(String.format(\"^%s source: (.*\\\\.proto)$\", commentPrefix));\n while (isWhitespaceOrComment(children[2])) {\n if (!(children[0] instanceof PsiComment)\n || !(children[1] instanceof PsiWhiteSpace)\n || !(children[2] instanceof PsiComment)) {\n shiftInNextChild(children);\n continue;\n }\n String generatedComment = children[0].getText();\n String sourceComment = children[2].getText();\n if (generatedByProtocComments.contains(generatedComment)) {\n Matcher matcher = sourceCommentPattern.matcher(sourceComment);\n if (matcher.find()) {\n String path = matcher.group(1);\n List<PbFile> pbFiles = PbFileResolver.findFilesForContext(path, file);\n if (!pbFiles.isEmpty()) {\n return pbFiles.get(0);\n } else {\n return null;\n }\n }\n }\n shiftInNextChild(children);\n }\n return null;\n }", "String generateCode(\n InputSource input, String filename,\n ProgrammingLanguage programmingLanguage,\n SourceResolver resolver\n ) throws Exception;", "public static void fold(ListNode head) {\n if (head == null || head.next == null)\n return;\n\n ListNode mid = midNode(head);\n ListNode nhead = mid.next;\n mid.next = null;\n nhead = reverse(nhead);\n\n ListNode c1 = head, c2 = nhead;\n\n while (c2 != null) {\n ListNode f1 = c1.next, f2 = c2.next;\n\n c1.next = c2;\n c2.next = f1;\n\n c1 = f1;\n c2 = f2;\n }\n }" ]
[ "0.4939878", "0.49006134", "0.48899502", "0.48790407", "0.48688245", "0.48028138", "0.47632876", "0.46971774", "0.4682508", "0.46294203", "0.4611283", "0.45179805", "0.4511089", "0.45024303", "0.44392434", "0.44180354", "0.44138485", "0.4400152", "0.43618217", "0.43540412", "0.4350477", "0.4347009", "0.43284476", "0.43240374", "0.43128976", "0.4306147", "0.42918125", "0.42890337", "0.42766994", "0.42647672", "0.42434385", "0.42334738", "0.4214156", "0.42030364", "0.42030364", "0.41990352", "0.41961545", "0.41923752", "0.41832632", "0.417776", "0.41723508", "0.41723508", "0.4169603", "0.41587704", "0.41556436", "0.41554454", "0.41513312", "0.4145301", "0.414426", "0.41438413", "0.41386136", "0.41353092", "0.4130931", "0.41298515", "0.4125905", "0.41225427", "0.41193163", "0.4113383", "0.41113612", "0.40809762", "0.40606627", "0.40579134", "0.4053963", "0.40466863", "0.4038922", "0.4035066", "0.4032866", "0.40318736", "0.40296286", "0.40216193", "0.40183595", "0.40070477", "0.400284", "0.39990625", "0.39963692", "0.39963254", "0.39852825", "0.39722505", "0.39613032", "0.39597952", "0.39591685", "0.3955549", "0.39519197", "0.3949162", "0.39488629", "0.39371356", "0.39291477", "0.39290485", "0.3926115", "0.39247894", "0.39165163", "0.39137095", "0.39115834", "0.39057717", "0.38949078", "0.38918087", "0.38804176", "0.3873291", "0.38702387", "0.38698366" ]
0.46461436
9
Default constructor for test class EnvironmentPanelTest
public EnvironmentPanelTest() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Vending_MachineTest()\n {\n // initialise instance variables\n \n \n }", "protected TeststepRunner() {}", "public BazaarTests() {\r\n\t\tsuper();\r\n\t}", "private StressTestHelper() {\n // Empty constructor.\n }", "public AllLaboTest() {\n }", "public TestPrelab2()\n {\n }", "public envio() {\r\n }", "public ApplicationTest() {\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}", "public ServerTest() {\n\t\tsuper();\n\t}", "public SwerveAutoTest() {\n // Initialize base classes.\n // All via self-construction.\n\n // Initialize class members.\n // All via self-construction.\n }", "public test() {\n\t\tsuper();\n\t}", "public LoginPageTest()\n\t{\n\t\tsuper(); // calling TestBase Constructor\n\t}", "public DefaultScopeDescriptionTest() {\n }", "public TestBase() {\n try {\n properties = new Properties();\n FileInputStream fileInputStream = new FileInputStream(\"F:/LearningStuff/PracticalWork\" +\n \"/Frameworks/DataDrivenFrameworkSelenium/src/main/resources/config/config.properties\");\n properties.load(fileInputStream);\n } catch (FileNotFoundException f) {\n f.printStackTrace();\n } catch (IOException i) {\n i.printStackTrace();\n }\n }", "public Tests(){\n \n }", "public DemoPanel() {\n }", "protected BaseTestObject()\n {\n\n fProp = new Properties(); // empty properties object\n fLog = TestLogger.getInstance(); // default level is DEBUG\n\n }", "public AppTest()\n {\n super(AppTest.class);\n }", "public DhbwTests()\n {\n DHBW_URL = System.getProperty(\"DHBW_URL\", DHBW_URL);\n WEB_DRIVER_PROVIDER = System.getProperty(\"WEB_DRIVER_PROVIDER\", WEB_DRIVER_PROVIDER);\n if (!WEB_DRIVER_PROVIDER.contains(\".\"))\n {\n WEB_DRIVER_PROVIDER = \"dhbw.test.util.\" + WEB_DRIVER_PROVIDER + \"WebDriverProvider\";\n }\n System.out.println(\"Config: \" + DHBW_URL + \" \" + WEB_DRIVER_PROVIDER);\n }", "public RenderableTest()\n {\n }", "@Test\n public void ctor(){\n assertNotNull(CuT.templateEngine, \"The Template Engine is Null and should not be\");\n }", "public ActivitiTestCase() {\n }", "public LoginPageTest()\n\t{\n\t\tsuper();\n\t}", "public HockeyTeamTest()\n {\n }", "public BaseTest() {\n\t\t\n\t\tprop= new Properties();\n\t\t\n\t\ttry {\n\t\t\tFileInputStream fle= new FileInputStream(\"C:\\\\Users\\\\19175\\\\eclipse-workspace\\\\com.toyota\\\\src\\\\test\\\\java\\\\Config\\\\config.properties\"); // Path of the Properties file\n\t\t\tprop.load(fle);\n\t\t} catch (FileNotFoundException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\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}", "public RemoteFilingTest() {\n }", "@BeforeClass\n protected void initialize() {\n try {\n Class<?> testbedClass = Class.forName(\n MainframeEnvironmentVerification.class.getPackage().getName()\n + \".\" + envProperties.getTestbedPropertyById(\"id\"));\n\n if (!MainframeTestbed.class.isAssignableFrom(testbedClass)) {\n fail(\"This test can only be called on a testbed that implements the \"\n + MainframeTestbed.class.getName() + \" interface\");\n }\n MainframeTestbed testbed = (MainframeTestbed)testbedClass.newInstance();\n\n sysviewConfigs = testbed.getSysviewInstances();\n sysvDb2Configs = testbed.getSysvdb2Instances();\n cicsConfigs = testbed.getCicsRegions();\n mqConfigs = testbed.getMqSubsystems();\n imsConfigs = testbed.getImsRegions();\n datacomConfigs = testbed.getDatacomInstances();\n } catch (Exception e) {\n fail(\"Unable to query testbed for environment configuration values\", e);\n }\n\n if (!sysviewConfigs.isEmpty()) {\n // If the testbed has multiple Sysview instances we use the first for generic queries.\n try {\n sysview = new Sysview(sysviewConfigs.iterator().next().getLoadlib());\n } catch (IOException e) {\n fail(\"Unable to initialize Sysview instance used for generic queries\");\n }\n } else {\n logger.warn(\"Some checks will be skipped as the testbed contains no sysview instance\");\n }\n }", "public AbstractTest() {\r\n\t\tlog = LogFactory.getLog(getClass());\r\n\t}", "public HomePageTest(){\n\t\tsuper();\n\t}", "public void testCtor1() throws Exception {\n assertNotNull(\"Failed to create PropertiesPanel instance.\", new PropertiesPanel(NAMESPACE, manager));\n }", "public GUITest() {\n }", "public AppTest(String testName) {\n super(testName);\n }", "public AppTest(String testName) {\n super(testName);\n }", "public AppTest(String testName) {\n super(testName);\n }", "public AppTest(String testName) {\n super(testName);\n }", "public AcuityTest() {\r\n }", "private TestReporter() {\n\n }", "public SeleniumServerConfiguration() {\n }", "public AppTest(String testName) {\r\n\t\tsuper(testName);\r\n\t}", "public PerezosoTest()\n {\n }", "DDTestBase() {\r\n\t\t//TODO Change to get APP_BASE_DIR from properties? (currently passed in as JVM arg)\r\n\t super(APP_NAME, APP_BASE_DIR);\r\n\t setup();\r\n }", "public BaseTest() {\n\n String path = System.getProperty(\"user.dir\") + \"/src/test/resources/config.properties\";\n prop = new Properties();\n /** Stream to read the spreadsheet. */\n FileInputStream fis = null;\n try {\n fis = new FileInputStream(path);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n try {\n prop.load(fis);\n\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n\n }", "public void setUp()\r\n {\r\n //empty on purpose\r\n }", "public BookcaseTest () {\n }", "public TokenControllerTest() {\n\t\t/*\n\t\t * This constructor should not be modified. Any initialization code\n\t\t * should be placed in the setUp() method instead.\n\t\t */\n\n\t}", "public ClimbingClubTest()\n {\n \n }", "public TestBase()\r\n\t{\r\n\t\tprop = new Properties();\r\n\t\ttry {\r\n\t\t\tFile file = new File(\"src\\\\test\\\\resources\\\\intellicus.properties\");\r\n\t\t\tFileInputStream fis = new FileInputStream(file);\r\n\t\t\tprop.load(fis);\r\n\t\t} catch (FileNotFoundException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\tcatch (IOException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\t\r\n\t}", "@Test\n void constructorTest() {\n super.checkConstruction();\n }", "public AppTest(String testName) {\n\t\tsuper(testName);\n\t}", "public AppTest(String testName) {\n\t\tsuper(testName);\n\t}", "public AppTest(String testName) {\n\t\tsuper(testName);\n\t}", "public AppTest(String testName) {\n\t\tsuper(testName);\n\t}", "public AppTest(String testName) {\n\t\tsuper(testName);\n\t}", "public void testCtor2() {\n assertNotNull(\"Failed to create PropertiesPanel instance.\", instance);\n }", "public UnitTests()\n {\n }", "public CheckOutPageTest()\n\t{\n\t\tsuper();\n\t}", "public JsConsoleManagerTest() {\n console = new JsConsoleManager();\n }", "public HawthornWandBehaviorTest() {\n \n }", "protected TestBench() {}", "public RobotContainer() {\n m_pathChooser = new SendableChooser<String>();\n m_pathChooser.addOption(\"Drive 10\", \"drive_ten_\");\n // Setup the Shuffleboard Tab for testing\n m_ProfileTab = Shuffleboard.getTab(\"ProfileTest\");\n\n \n \n // Set the default commands for the subsystems\n m_drive_train.setDefaultCommand(new DefaultDriveTrainCommand(m_drive_train, m_driver_controller));\n\n // Configure the button bindings\n // NOTE -- This should not be called until all the subsystems have been instantiated and the \n // default commands for them have been set.\n configureButtonBindings();\n\n // Setup Shuffleboard layouts\n setupShuffleboardComponents();\n }", "public DefaultSimplePolicyValueTestAbstract() {\n }", "public FrameManageTests() {\n initComponents();\n }", "public StrandUnitTest()\n {\n }", "public TestCase()\r\n {\r\n super();\r\n resetIO();\r\n }", "public TestNamespace() throws Exception {\n\t\tsuper(TestUtils.getFluidConnectionWithSettings(), \"testID\", \"test\");\n\t}", "@Test\n public void init() {\n }", "public void setUpTestdata() {\n\t\tsetDefaultUserName(Config.getProperty(\"defaultUserName\"));\r\n\t\tsetDefaultPassword(Config.getProperty(\"defaultPassword\"));\r\n\t\tsetTestsiteurl(Config.getProperty(\"testsiteurl\"));\r\n\t\tsetChromeDriverPath(Config.getProperty(\"chromeDriverPath\"));\r\n\t\tsetGeckoDriverPath(Config.getProperty(\"geckoDriverPath\"));\r\n\t\tsetIeDriverPath(Config.getProperty(\"ieDriverPath\"));\r\n\t}", "public TestServerApi()\r\n\t{\r\n\t\t\r\n\t}", "public ZTest1() {\n this(\"z_test1\", null);\n }", "public void testCtor() {\n assertNotNull(\"Failed to create a new ConcurrencyPropertyPanel instance.\", panel);\n }", "public Server() {\n\t\tthis.currentMode = Mode.TEST; // TODO: implement\n\t}", "@Override\r\n protected void setUp() {\r\n // nothing yet\r\n }", "public EnvironmentExporter() {\r\n super();\r\n fExporterList = new ArrayList<AbstractExporter>();\r\n fExporterList.add(new GlobalVariableExporter());\r\n fExporterList.add(new DatabaseConfigurationExporter());\r\n fExporterList.add(new WebServiceExporter());\r\n fExporterList.add(new BusinessCalendarExporter());\r\n }", "protected void setUp() throws Exception {\n super.setUp();\n TestHelper.loadConfigurations();\n DocumentTreeTabbedPane parent =\n new DocumentTreeTabbedPaneImpl(TestHelper.createUMLModelManager(), TestHelper.NAMESPACE_NEW);\n panel = parent.getCurrentPanel();\n }", "public ProjektTest()\n {\n }", "public void setUp()\n {\n empl = new SalariedEmployee(\"romeo\", 25.0);\n }", "protected AbstractTest() {\n\t\tlog = LogFactory.getLog(getClass());\n\t}", "public ControllerTest()\r\n {\r\n }", "public TestFrames() {\n\t\tclasslogger.info(\"Called constructor for TestFrames...\");\n\t}", "public FlightTest(){\n }", "@Before\r\n\tpublic void setUp() throws Exception {\r\n\t\tvendMachine = new VendingMachine();\r\n\t}", "@Override\n public void setUp() {\n }", "@Override\r\n\tpublic void setUp() {\n\t\t\r\n\t}", "public Panel() {\n }", "@Before\r\n public void setupTestCases() {\r\n instance = new ShoppingListArray();\r\n }", "public VirtualMachineTest(String name) {\r\n\t\tsuper(name);\r\n\t}", "public AcceptanceTestRun() {\n }", "public StateTest(String testName) {\n super(testName);\n }", "@Before\n public void setUp() {\n Assume.assumeTrue(!IS_CIRCLE_BUILD);\n\n searchField = myDashboard.searchField;\n showAllButton = myDashboard.showAllButton;\n subjectCheckboxes = myDashboard.subjectCheckboxes;\n openPresButton = myDashboard.openPresButton;\n fileChooser = myDashboard.fileChooser;\n menuBar = myDashboard.menuBar;\n calendarNode = myDashboard.calendarNode;\n calendar = myDashboard.calendar;\n\n subjectSortCombo = myDashboard.subjectSortCombo;\n moduleSortCombo = myDashboard.moduleSortCombo;\n presSortCombo = myDashboard.presSortCombo;\n\n subjectPanels = myDashboard.subjectPanels;\n presentationPanels = myDashboard.presentationPanels;\n modulePanels = subjectPanels.get(0).getModulePanels();\n }", "public WizardsTest(String testName) {\n super(testName);\n }", "public HotelBookingTest() {\r\n\t\tsuper();\r\n\t}", "private Test emptyTest() {\n return new TestSuite();\n }", "public RegularDevelopment(String testName) {\n super(testName);\n }", "public void testInit()\r\n {\r\n OverviewPage page = new OverviewPage();\r\n assertNotNull(\"No tab panel\", page.tabPanel);\r\n assertEquals(\"Wrong number of tabs\", 3, page.tabPanel.getWidgetCount());\r\n }", "public TestDriverProgram(){\n iTestList = new SortableArray(iSize); // tests if parameterized constructor works\n iTestFileList = new SortableArray(); // tests if default constructor works\n runAllTests(); // run all of the tests\n }", "public testLayout() {\n\t\tsuper();\n\t\tinitialize();\n\t}", "protected void setUp() throws Exception {\n TestHelper.loadSingleXMLConfig(TestHelper.NAMESPACE, TestHelper.CONFIG_FILE);\n propertiesPanel = new PropertiesPanel(new UMLModelManager());\n\n panel = new ConcurrencyPropertyPanel(propertiesPanel);\n }", "@Test\n public void testConstructor() {\n interpreterInstance.interpret(\"cd \");\n Command testCommand = interpreterInstance.getCommand();\n List<String> testArguments = interpreterInstance.getArguments();\n assertEquals(\"driver.ChangeDirectory\", testCommand.getClass().getName());\n assertTrue(testArguments.isEmpty());\n }", "@Test\n // Test Constructor\n public void constructorTest() {\n ProjectMgr pm = getPmNameFalseLoad();\n Assertions.assertNotEquals(null, pm);\n // Load project\n pm = getPmNameTrueLoadActualProject();\n Assertions.assertNotEquals(null, pm);\n\n ////////////////\n // Exceptions\n ////////////////\n // Load a nonexistant project\n pm = getPmNameTrueLoadNotAProject();\n Assertions.assertEquals(null, pm);\n // Null string as a name, new project\n pm = getPmNullNameFalseLoad();\n Assertions.assertEquals(null, pm);\n // Null string as a name, load project\n pm = getPmNullNameTrueLoad();\n Assertions.assertEquals(null, pm);\n }", "public BookingSystemTest()\n {\n }" ]
[ "0.67931753", "0.677418", "0.6598873", "0.6534021", "0.65253055", "0.6521244", "0.6509334", "0.6494881", "0.64834476", "0.64731246", "0.64688325", "0.6466864", "0.64419234", "0.6426863", "0.64188355", "0.63544226", "0.6350641", "0.6323848", "0.63217455", "0.63126355", "0.62940323", "0.62933826", "0.6282844", "0.6247689", "0.62385786", "0.6229481", "0.6224937", "0.62174666", "0.62097836", "0.6205506", "0.6203731", "0.6201256", "0.6201256", "0.6201256", "0.6201256", "0.619046", "0.618883", "0.6186147", "0.6178549", "0.61777925", "0.6167369", "0.61572844", "0.6143582", "0.6128637", "0.61261815", "0.611918", "0.6112889", "0.610761", "0.61019236", "0.61019236", "0.61019236", "0.61019236", "0.61019236", "0.609188", "0.60831577", "0.6060791", "0.6056114", "0.60490257", "0.6044493", "0.6042013", "0.6032468", "0.60301185", "0.60253865", "0.60064685", "0.5992429", "0.59923875", "0.59871334", "0.5982863", "0.59801084", "0.59747154", "0.5966742", "0.5962064", "0.5961812", "0.5953868", "0.5953253", "0.5948972", "0.5948941", "0.59381026", "0.593403", "0.5928483", "0.59234613", "0.5920333", "0.59150803", "0.59089315", "0.5908076", "0.5903794", "0.58978254", "0.58920354", "0.5889573", "0.58850795", "0.5883481", "0.58829975", "0.5877336", "0.58480924", "0.5847029", "0.58445555", "0.5843298", "0.5842965", "0.5842143", "0.5833168" ]
0.9029687
0
Sets up the test fixture. Called before every test case method.
protected void setUp() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Before public void setUp() { }", "protected void setUp() {\n\t}", "protected void setUp() {\n\n }", "@Before public void setUp() {\n }", "@Before public void setUp() {\n }", "@Before public void setUp() {\n }", "@Before public void setUp() {\n }", "@Before public void setUp() {\n }", "@Before\n\t\t public void setUp() throws Exception {\n\t\t\t testHelper.setUp();\n\t\t }", "public void setUp() {\n\n\t}", "@Before\n public void setup() {\n Helpers.fillData();\n }", "@Override\r\n\tpublic void setUp() {\n\t\t\r\n\t}", "@Before\r\n\tpublic void setup() {\r\n\t}", "@Before\n\t public void setUp() {\n\t }", "@BeforeEach\n public void setup() {\n }", "protected void setUp()\r\n {\r\n /* Add any necessary initialization code here (e.g., open a socket). */\r\n }", "@Before\r\n\t public void setUp(){\n\t }", "public void setUp()\r\n {\r\n //empty on purpose\r\n }", "protected void setUp()\n {\n /* Add any necessary initialization code here (e.g., open a socket). */\n }", "@BeforeClass\n\t public void setUp() {\n\t }", "@Before\n public void setup() {\n }", "@Before\n public void setup() {\n }", "@Before\n public void setup() {\n }", "@Before\r\n\tpublic void setUp() {\n\t}", "@BeforeEach\n public void setup() {\n testTaskList = new TaskList();\n testUi = new Ui();\n\n Event testEvent = new Event(\"Daily Work\", \"CS2113T\", Parser.parseDate(\"31/01/20 0800\"),\n Parser.parseDate(\"31/01/20 1200\"), \"testing\");\n Assignment testAssign = new Assignment(\"Daily Work\", \"CS2113T\", Parser.parseDate(\"20/03/20 0000\"),\n \"testing\");\n testTaskList.addTask(testEvent);\n testTaskList.addTask(testAssign);\n }", "@Before\r\n public void setUp()\r\n {\r\n }", "@Before\r\n public void setUp()\r\n {\r\n }", "@Before\r\n public void setUp()\r\n {\r\n }", "@Before\r\n public void setUp()\r\n {\r\n }", "@Override\r\n\tpublic void setUp() {\n\r\n\t}", "@Before\n\tpublic void setup() \n\t{\n\t\tsuper.setup();\n\t\t\n }", "@BeforeClass\n\tpublic static void setup() {\n\n\t}", "@Before\n\tpublic void setUp() {\n\t}", "@Before\n\tpublic void setup() {\n\t\t\n\t\t\n\t}", "@Before\n public void setUp() {\n }", "@Before\n public void setUp() {\n }", "@Before\n public void setUp() {\n }", "@Before\n public void setUp() {\n }", "@Before\n public void setUp() {\n }", "@Override\n public void setUp() {\n }", "@Before\n public void setUp () {\n }", "@Before\n public void setUp()\n {\n }", "@Before\n public void setUp()\n {\n }", "@Before\n public void setUp()\n {\n }", "@Before\n public void setUp()\n {\n }", "@Before\n public void setUp()\n {\n }", "@Before\n public void setUp()\n {\n }", "@Before\n public void setUp()\n {\n }", "@Before\n public void setUp()\n {\n }", "@Before\n public void setUp()\n {\n }", "@Before\n public void setUp()\n {\n }", "@Before\n public void setUp()\n {\n }", "@Before\n public void setUp()\n {\n }", "@Before\n public void setUp()\n {\n }", "@Before\n public void setUp()\n {\n }", "@Before\n public void setUp()\n {\n }", "@Before\n public void setUp()\n {\n }", "@Before\n public void setUp()\n {\n }", "@Before\n public void setUp()\n {\n }", "@Before\n public void setup() {\n }", "@Before\n public void setUp() {\n System.out.println(\"\\n@Before - Setting Up Stuffs: Pass \"\n + ++setUpCount);\n // write setup code that must be executed before each test method run\n }", "@Before\n\tpublic void setUp()\n\t{\n\t\tOptionsManager.getSingleton().setTestMode(true);\n\t\tQuestManager.resetSingleton();\n\t}", "@Before\n public void setUp() {\n }", "protected void setUp() throws Exception {\n super.setUp();\n }", "protected void setUp() throws Exception {\n }", "protected void setUp() throws Exception {\n \n }", "@Before\n public void setUp() {\n }", "@Before\n\tpublic void testEachSetup() {\n\t\ttestGrid = new Grid(50,50);\n\t\tundoRedo_TestStack = new UndoRedo();\n\t\tSystem.out.println(\"Setting up test...\");\n\t}", "@Before\r\n\tpublic void setUp() throws Exception {\r\n\t}", "@Before\r\n\tpublic void setUp() throws Exception {\r\n\t}", "@BeforeMethod\r\n\tpublic void beforeMethod() {\r\n\t\t//initializeTestBaseSetup();\r\n\t}", "protected void setUp() throws Exception {\n }", "@BeforeMethod\r\n\tpublic void startTestCase() {\n\t\ttest = extent.createTest(testCaseName, testCaseDescription);\r\n\t\ttest.assignAuthor(author);\r\n\t\ttest.assignCategory(category);\r\n\t}", "@Before\n public void setUp() throws Exception {\n }", "@Before\n public void setUp() throws Exception {\n }", "protected void setUp() {\n config = new ContestConfig();\n }", "@Before\n\tpublic void setUp() throws Exception\n\t{\n\t}", "@BeforeClass\n public static void setUp() {\n }", "@BeforeEach\n\tvoid setup(){\n\t}", "@Override\r\n protected void setUp() {\r\n // nothing yet\r\n }", "@Before\n public void setup () {\n driver = new HtmlUnitDriver( true );\n wait = new WebDriverWait( driver, 10 );\n HibernateDataGenerator.generateTestFaculties();\n }", "@Before\n public void setUp()\n throws Exception\n {\n super.setUp();\n }", "@BeforeClass\n\tpublic static void testSetup() {\n\t\t// do something before all tests\n\t}", "@BeforeClass\n public void setUp() {\n }", "@BeforeClass\n\tpublic static void setup() {\n\t\tdataMunger = new DataMunger();\n\n\t}", "@Before\n public void setUp() throws Exception {\n\n }", "@Before\n public final void setUp() throws Exception\n {\n // Empty\n }", "@Before\n\tpublic void setUp() throws Exception {\n\t}", "@Before\n\tpublic void setUp() throws Exception {\n\t}", "@Before\n public void setUp() {\n fixture = new WordCounter(testMap);\n }", "public void setUpTestdata() {\n\t\tsetDefaultUserName(Config.getProperty(\"defaultUserName\"));\r\n\t\tsetDefaultPassword(Config.getProperty(\"defaultPassword\"));\r\n\t\tsetTestsiteurl(Config.getProperty(\"testsiteurl\"));\r\n\t\tsetChromeDriverPath(Config.getProperty(\"chromeDriverPath\"));\r\n\t\tsetGeckoDriverPath(Config.getProperty(\"geckoDriverPath\"));\r\n\t\tsetIeDriverPath(Config.getProperty(\"ieDriverPath\"));\r\n\t}", "@Before\n\tpublic void setUp() throws Exception {\n\t\t\n\t}", "@Before\n public void setUp() throws Exception {\n\n }", "@Before\r\n public void setup() {\r\n dbwMock.userId = \"testUser\";\r\n dbw = new DatabaseWrapper(dbwMock);\r\n\r\n context = ApplicationProvider.getApplicationContext();\r\n\r\n book = new Book();\r\n\r\n requester = new Profile();\r\n }", "@BeforeMethod\n\tpublic void setup() {\n\t\tinitialization();\n\t\tloginpage = new LoginPage();\n\t\tcontactpage=new ContactPage();\n\t\ttestutil = new TestUtil();\n\t\thomepage=loginpage.login(prop.getProperty(\"username\"), prop.getProperty(\"password\"));\n\t}", "@Before\n\tpublic void setupTeste()\n\t{\n\t\tSystem.out.println(\"ESTOU FAZENDO O SETUP\");\n\t}", "@BeforeClass\n public static void setup() {\n System.out.println(\"*** Before Class ***\");\n }", "@Before\n public void postSetUpPerTest(){\n\n }", "@BeforeEach\n public void setUp() throws Exception\n {\n // Set up a new thread context class loader\n setUpClassloader();\n\n // Set up Servlet API Objects\n setUpServletObjects();\n\n // Set up JSF API Objects\n FactoryFinder.releaseFactories();\n\n setFactories();\n\n setUpJSFObjects();\n }" ]
[ "0.7875802", "0.78508884", "0.77189946", "0.7699059", "0.7699059", "0.7699059", "0.7699059", "0.7699059", "0.768649", "0.76622325", "0.7629051", "0.7627999", "0.7623902", "0.76179224", "0.76017296", "0.7595511", "0.7594185", "0.7586097", "0.75814986", "0.75737566", "0.7557952", "0.7557952", "0.7557952", "0.7522663", "0.7519688", "0.7513291", "0.7513291", "0.7513291", "0.7513291", "0.75050044", "0.7503437", "0.75006294", "0.7495462", "0.74870163", "0.74853647", "0.74853647", "0.74853647", "0.74853647", "0.74853647", "0.7478835", "0.7464619", "0.7462182", "0.7462182", "0.7462182", "0.7462182", "0.7462182", "0.7462182", "0.7462182", "0.7462182", "0.7462182", "0.7462182", "0.7462182", "0.7462182", "0.7462182", "0.7462182", "0.7462182", "0.7462182", "0.7462182", "0.7462182", "0.74596", "0.74396664", "0.7431611", "0.74279267", "0.7411373", "0.73935205", "0.73847294", "0.7379531", "0.73744226", "0.73630786", "0.73630786", "0.7360901", "0.73559475", "0.7327842", "0.7323795", "0.7323795", "0.73062146", "0.73023367", "0.73020965", "0.72988224", "0.72978383", "0.7297745", "0.7296684", "0.7286866", "0.7284355", "0.7277352", "0.7271452", "0.72590035", "0.725855", "0.725855", "0.72548056", "0.7248891", "0.72468114", "0.7243883", "0.7232875", "0.72304004", "0.7198173", "0.71965957", "0.71962297", "0.7190208" ]
0.7750591
3
Tears down the test fixture. Called after every test case method.
protected void tearDown() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@After\n public void tearDown() {\n fixture.cleanUp();\n }", "@After\n public void tearDown() {\n fixture = null;\n }", "@AfterClass\r\n\tpublic static void testCleanup() {\r\n\t\tConfig.teardown();\r\n\t}", "@AfterTest\n\tpublic void teardown()\n\t{\n\t\t\n\t\tdriver.close();\n\t}", "protected void tearDown() {\n testEnv.close();\n }", "@AfterSuite\n\tpublic void teardown() {\n\t\t\n\t\tdriver.quit();\n\t}", "@AfterClass\n\tpublic static void teardown() {\n\t\tdataMunger = null;\n\n\t}", "public void teardown() {\n LOGGER.info(\"Shutting down driver\");\n driver.quit();\n }", "@AfterSuite\n\tpublic void teardown() {\n\t\tlogger.info(\"ALL TESTS COMPLETED: Quiting driver\");\n\t\tgmailPg.quitDriver();\n\t}", "@After\r\n public void tearDown() throws Exception {\r\n super.tearDown();\r\n TestHelper.cleanupEnvironment();\r\n instance = null;\r\n }", "@After\n\t\t public void tearDown() throws Exception {\n\t\t\t testHelper.tearDown();\n\t\t }", "void teardown();", "void teardown();", "public static void teardown() {\n\t\tdriver.quit();\n\t}", "@After\n public void tearDown() throws Exception {\n testInstance = null;\n }", "@After\n\tpublic void teardown() {\n\t\tdrv.quit();\n\t}", "@AfterClass\n\tpublic void teardown(){\n\t}", "@After\n\tpublic void teardown() {\n\t\tthis.driver.quit();\n\t}", "@Override\n\tpublic void teardown() {\n\t}", "@Override\n public void teardown() {\n }", "@AfterClass\n\tpublic void teardown()\n\t{\n\t\tdriver.close();\n\t}", "@Override\n public void tearDown() {\n testEngine = null;\n }", "@AfterEach\n public void teardown() {\n mockDAO = null;\n addFlight = null;\n flight = null;\n }", "@AfterSuite\r\n\tpublic void tearDown() {\r\n\t\tSystem.out.println(\"Driver teared down\");\r\n\t}", "@AfterTest\n\tpublic void tearDown() throws Exception\n\t{\n\t\tlog.info(\"Starting tear Down\");\n//\t\t\t\tdriver.close();\n\t}", "@AfterMethod(alwaysRun = true)\n public void cleanupTest() throws Exception {\n busService.getBus().unregister(testListener);\n busService.getBus().stop();\n \n // STOP NOTIFICATION QUEUE\n ((Engine)entitlementService).stop();\n\n log.warn(\"DONE WITH TEST\\n\");\n }", "@After\n public void teardown() {\n RoboGuice.Util.reset();\n }", "@AfterClass\n\tpublic static void testCleanup() {\n\t}", "public void tearDown() throws Exception {\n TestHelper.clearTemp();\n super.tearDown();\n }", "public void tearDown() {\n tearDown(true);\n }", "@AfterTest\n public void tearDown() {\n Log.endLog(\"Test is ending!\");\n driver.close();\n }", "@After\n public void cleanUp(){\n mockUserRepo = null;\n mockSession = null;\n sut = null;\n }", "protected void tearDown() {\n config = null;\n }", "@AfterEach\n public void tearDown() throws Exception\n {\n\n application = null;\n config = null;\n externalContext = null;\n if (facesContext != null)\n {\n facesContext.release();\n }\n facesContext = null;\n lifecycle = null;\n lifecycleFactory = null;\n renderKit = null;\n request = null;\n response = null;\n servletContext = null;\n session = null;\n FactoryFinder.releaseFactories();\n ResourceBundleVarNames.resetNames();\n\n tearDownClassloader();\n }", "@After\n\tpublic void testEachCleanup() {\n\t\tSystem.out.println(\"Test Completed!\");\n\t}", "@AfterClass\n public static void tear() {\n System.out.println(\"*** After class ***\");\n }", "@AfterTest\r\n public void tearDown() {\n }", "protected void tearDown() {\n\t}", "@Override\r\n\t@After\r\n\tpublic void callTearDown() throws Exception\r\n\t{\r\n\t\tsuper.callTearDown();\r\n\t}", "protected void tearDown() throws Exception {\n super.tearDown();\n FailureTestHelper.unloadData();\n FailureTestHelper.unloadConfig();\n }", "@AfterClass\n public void cleanUp() {\n }", "@After\n public void tearDown()\n {\n mockDependencies.verifyMocks();\n mockDependencies = null;\n assertNull(\"'mockDependencies' should be null at the end of teardown\", mockDependencies);\n\n parser = null;\n assertNull(\"'parser' should be null at the end of teardown\", parser);\n }", "@AfterClass\r\n public static void tearDown() throws Exception {\r\n instance = null;\r\n }", "@After\n public void teardown() {\n for (UseTypeEntity thisEntity : entities) {\n me.deleteUseTypeEntity(thisEntity);\n }\n\n // clean up\n me = null;\n testEntity = null;\n entities = null;\n\n }", "protected void tearDown() throws Exception {\n instance = null;\n manager = null;\n AccuracyTestsHelper.clearConfig();\n }", "@Override\n public void tearDown() {\n setName(caseLabel + '-' + getName());\n\n if (env != null) {\n try {\n closeAll();\n } catch (Throwable e) {\n System.out.println(\"During tearDown: \" + e);\n }\n }\n envHome = null;\n env = null;\n store = null;\n caseCls = null;\n caseObj = null;\n caseLabel = null;\n\n /* Do not delete log files so they can be used by 2nd phase of test. */\n }", "@After\n\tpublic void tearDown() throws Exception {\n\t\teventDao = null;\t\t\n\t\tcontroller = null;\n\t\tresponse = null;\n\t\trequest = null;\n\t}", "protected void tearDown() throws Exception {\r\n super.tearDown();\r\n FailureTestHelper.unloadConfig();\r\n }", "@AfterClass(alwaysRun = true)\n public void tearDownClass() throws Exception {\n testNGCucumberRunner.finish();\n }", "protected void tearDown() \n\t{\n\t\tif (container != null) \n\t\t{\n\t\t\tcontainer.dispose();\n\t\t}\n\t\tcontainer = null;\n\t}", "protected void tearDown()\r\n {\r\n /* Add any necessary cleanup code here (e.g., close a socket). */\r\n }", "protected void tearDown() throws Exception {\r\n validator = null;\r\n bundle = null;\r\n TestHelper.clearConfiguration();\r\n }", "@After\n public void tearDown()\n {\n example = null;\n example2 = null;\n example3 = null;\n }", "@AfterClass\n\tpublic void classTearDown() {\n\t\tlogger.info(\"Inside the classTearDown() method for HealthAssessment class...\");\n\t\tindexPageData = null;\n\t}", "@AfterMethod\r\n\t\tpublic void tearDown(){\r\n\t\t\t\r\n\t\t \r\n\t\t\tdriver.close();\r\n\t\t\tdriver.quit();\r\n\t\t\t\t\r\n\t\t\t}", "private void tearDown() {\n if (tempDir != null) {\n OS.deleteDirectory(tempDir);\n tempFiles.clear();\n tempDir = null;\n }\n }", "@AfterAll\n public static void tearDownClass() {\n }", "@AfterAll\n public static void tearDownClass() {\n }", "@AfterAll\n public static void tearDownClass() {\n }", "@AfterAll\n public static void tearDownClass() {\n }", "@AfterAll\n public static void tearDownClass() {\n }", "@AfterAll\n public static void tearDownClass() {\n }", "@AfterAll\n public static void tearDownClass() {\n }", "@AfterAll\n public static void tearDownClass() {\n }", "@AfterAll\n public static void tearDownClass() {\n }", "@AfterAll\n public static void tearDownClass() {\n }", "@After\n\tpublic void tearDown() throws Exception {\n\t\tydelseService.setEntityManager(null);\n\t}", "@AfterClass\n public static void tearDownClass() {\n }", "@AfterClass\n public static void tearDownClass() {\n }", "@AfterSuite\n\tpublic void tearDown() {\n\t\tremoveSingleFileOrAllFilesInDirectory(\"file\", \"./Logs/Log4j.log\");\n\n\t\t// Flushing extent report after completing all test cases\n\t\treports.endTest(extent);\n\t\treports.flush();\n\t}", "@After\r\n\tpublic void tearDown() {\r\n\t\tvend = null; \r\n\t\tcsListen = null;\r\n\t\tdcListen = null;\r\n\t}", "@After\n\tpublic void tearDown() {}", "@AfterClass\n public static void teardown() {\n app = null;\n\n }", "@AfterClass\n\tpublic static void tearDownAfterClass() throws Exception {\n\t\tydelseService = null;\n\t}", "protected void tearDown()\n {\n /* Add any necessary cleanup code here (e.g., close a socket). */\n }", "@AfterClass\n public static void closeTestFixture() {\n entityManager.close();\n entityManagerFactory.close();\n }", "@AfterMethod\n public void teardown(){\n driver.quit();\n }", "@AfterClass\r\n public static void cleanUpTestFixture(){\r\n entityManagerFactory.close();\r\n }", "public void tearDown() {\n instance = null;\n }", "public void tearDown() {\n }", "@After\r\n\tpublic void tearDown() {\n\t}", "@After\n public void tearDown() throws Exception {\n databaseTester.onTearDown();\n }", "@Teardown\n public void tearDown() {\n if (channel != null) {\n channel.shutdownNow();\n channel = null;\n }\n }", "@After \n public void tearDownTest()\n {\n\t System.out.println(\"Test Complete\\n\\n\\n\\n\\n\");\n }", "@AfterClass\n\tpublic static void tearDown() {\n\t\tdriver.quit();\n\t}", "@AfterClass\n\tpublic static void cleanup() {\n\t\ttestDir.delete();\n\t\tfile.delete();\n\t}", "@AfterMethod\r\n\tpublic void tearDown() {\r\n\t\tdriver.quit();\r\n\t\tsoftAssert.assertAll();\r\n\t}", "@AfterClass\r\n\t\t\tpublic static void tearDown(){\r\n\t\t\t\t//Cierra navegador y la instancia del driver\r\n\t\t\t\tdriver.quit();\t\t\r\n\t\t\t}", "protected void tearDown() throws Exception {\n actionManager = null;\n TestHelper.clearConfig();\n super.tearDown();\n }", "@Override\r\n protected void tearDown() throws Exception {\r\n ctx = null;\r\n projectService = null;\r\n }", "protected void tearDown() throws Exception {\n TestHelper.clearConfig();\n super.tearDown();\n }", "public static void tearDown() {\n\t\tif (driver != null) {\n\t\t\tdriver.quit();\n\t\t}\n\t}", "@After\n public void tearDown() {\n GWTMockUtilities.restore();\n }", "@AfterMethod\n\tpublic void tearDown()\n\t{\n\t\tdriver.close();\n\t\tdriver.quit();\n\t}", "@After\n\tpublic void tearDown() {\n\n\t}", "@After\n\tpublic void afterTest() {\n\t\tmyD.close();\n\n\t}", "@After\n public void tearDown(){\n choose = null;\n tmp = null;\n }", "@AfterClass(alwaysRun = true)\n\tpublic void destroy() throws Exception {\n\t\tsuper.cleanup();\n\t}", "@After\n\tpublic void tearDown() throws Exception {\n\t\tFileUtils.cleanDirectory(new File(this.tempFolderPath));\n\t}", "@After\n public void tearDown() {\n \n }", "protected void tearDown() throws Exception {\r\n this.testedInstances = null;\r\n super.tearDown();\r\n }" ]
[ "0.8343327", "0.8295237", "0.80239624", "0.80069876", "0.79356796", "0.79144764", "0.78988177", "0.78834516", "0.78801274", "0.7873192", "0.7862262", "0.7791972", "0.7791972", "0.77516323", "0.773132", "0.77117425", "0.7695534", "0.7691877", "0.767808", "0.76658434", "0.7658981", "0.7641331", "0.7627408", "0.76007277", "0.7587928", "0.75714475", "0.75664705", "0.75209236", "0.75154793", "0.74966156", "0.7494638", "0.7472204", "0.7469792", "0.7467009", "0.74600995", "0.7449917", "0.74439096", "0.7393639", "0.7384236", "0.73832864", "0.7378633", "0.7369458", "0.73680395", "0.7364464", "0.7357696", "0.7356001", "0.735393", "0.73417443", "0.73383963", "0.7337043", "0.7327399", "0.73215586", "0.7308286", "0.7302456", "0.73014194", "0.73011833", "0.7300301", "0.7300301", "0.7300301", "0.7300301", "0.7300301", "0.7300301", "0.7300301", "0.7300301", "0.7300301", "0.7300301", "0.7298629", "0.7291006", "0.7291006", "0.7274972", "0.7274848", "0.7273374", "0.7269732", "0.7269024", "0.7267168", "0.72644246", "0.72528553", "0.7252839", "0.7251117", "0.7247232", "0.7239139", "0.7229776", "0.7223881", "0.72163874", "0.72137153", "0.7212735", "0.7211984", "0.72078454", "0.72009313", "0.7195705", "0.7194817", "0.71901697", "0.71884584", "0.7187696", "0.71805936", "0.71770656", "0.7176737", "0.71746355", "0.71714205", "0.71677065", "0.71653444" ]
0.0
-1
KEEP FIELDS put your custom fields here KEEP FIELDS END
@Generated public Anotacion() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tprotected String[] ignoreFields() {\n\t\treturn null;\n\t}", "public void formatFields() {\r\n\t}", "private static String db2selectFields() {\n return \"ID, EXTERNAL_ID, CREATED, CLAIMED, COMPLETED, MODIFIED, PLANNED, RECEIVED, DUE, NAME, \"\n + \"CREATOR, DESCRIPTION, NOTE, PRIORITY, MANUAL_PRIORITY, STATE, CLASSIFICATION_CATEGORY, \"\n + \"TCLASSIFICATION_KEY, CLASSIFICATION_ID, \"\n + \"WORKBASKET_ID, WORKBASKET_KEY, DOMAIN, \"\n + \"BUSINESS_PROCESS_ID, PARENT_BUSINESS_PROCESS_ID, OWNER, POR_COMPANY, POR_SYSTEM, \"\n + \"POR_INSTANCE, POR_TYPE, POR_VALUE, IS_READ, IS_TRANSFERRED, CUSTOM_1, CUSTOM_2, \"\n + \"CUSTOM_3, CUSTOM_4, CUSTOM_5, CUSTOM_6, CUSTOM_7, CUSTOM_8, CUSTOM_9, CUSTOM_10, \"\n + \"CUSTOM_11, CUSTOM_12, CUSTOM_13, CUSTOM_14, CUSTOM_15, CUSTOM_16, \"\n + \"CUSTOM_INT_1, CUSTOM_INT_2, CUSTOM_INT_3, CUSTOM_INT_4, CUSTOM_INT_5, \"\n + \"CUSTOM_INT_6, CUSTOM_INT_7, CUSTOM_INT_8\"\n + \"<if test=\\\"addClassificationNameToSelectClauseForOrdering\\\">, CNAME</if>\"\n + \"<if test=\\\"addAttachmentClassificationNameToSelectClauseForOrdering\\\">, ACNAME</if>\"\n + \"<if test=\\\"addAttachmentColumnsToSelectClauseForOrdering\\\">\"\n + \", ACLASSIFICATION_ID, ACLASSIFICATION_KEY, CHANNEL, REF_VALUE, ARECEIVED\"\n + \"</if>\"\n + \"<if test=\\\"addWorkbasketNameToSelectClauseForOrdering\\\">, WNAME</if>\"\n + \"<if test=\\\"joinWithUserInfo\\\">, ULONG_NAME </if>\";\n }", "Fields fields();", "protected Vector collectFields() {\n Vector fields = new Vector(1);\n fields.addElement(this.getField());\n return fields;\n }", "@RegionEffects(\"writes publicField; reads defaultField\")\n private void someButNotAll() {\n publicField = privateField;\n protectedField = defaultField;\n }", "private void clearFields() {\r\n keywords = \"\";\r\n searchBy = \"\";\r\n }", "private void copyFields(NetcdfRecordInfo src, Set<String> excludedFields) {\n Iterator<String> keyIter = src.beanMap.keyIterator();\n Object val;\n while (keyIter.hasNext()) {\n String key = keyIter.next();\n if (this.beanMap.getWriteMethod(key) != null\n && !excludedFields.contains(key)) {\n val = src.beanMap.get(key);\n if (val != null) {\n this.beanMap.put(key, val);\n }\n }\n }\n }", "@Override\r\n protected Object[] getFieldValues ()\r\n {\n return null;\r\n }", "public ConfigurationBuilder onlyFields() {\n\t\tconfigurationBuilder.setAccessStrategy(AccessStrategy.ONLY_FIELDS);\n\t\treturn configurationBuilder;\n\t}", "public void updateNonDynamicFields() {\n\n\t}", "private void prepareFields(Entity entity, boolean usePrimaryKey) \r\n\t\t\tthrows IllegalArgumentException, IllegalAccessException, InvocationTargetException{\r\n\t\tprimaryKeyTos = new ArrayList<FieldTO>();\r\n\t\tfieldTos = new ArrayList<FieldTO>();\r\n\t\tField[] fields = entity.getClass().getDeclaredFields();\t\r\n\t\t\r\n\t\t//trunk entity to persistence\r\n\t\tfor(int i=0; i<fields.length; i++){\r\n\t\t\tField reflectionField = fields[i];\r\n\t\t\tif(reflectionField!=null){\r\n\t\t\t\treflectionField.setAccessible(true);\r\n\t\t\t\tAnnotation annoField = reflectionField.getAnnotation(GPAField.class);\r\n\t\t\t\tAnnotation annoFieldPK = reflectionField.getAnnotation(GPAPrimaryKey.class);\r\n\t\t\t\tAnnotation annoFieldBean = reflectionField.getAnnotation(GPAFieldBean.class);\r\n\t\t\t\t/* \r\n\t\t\t\t ainda falta validar a chave primária do objeto\r\n\t\t\t\t por enquanto so esta prevendo pk usando sequence no banco\r\n\t\t\t\t objeto id sempre é gerado no banco por uma sequence\r\n\t\t\t\t*/\r\n\t\t\t\tif(annoFieldPK!=null && annoFieldPK instanceof GPAPrimaryKey){\r\n\t\t\t\t\tGPAPrimaryKey pk = (GPAPrimaryKey)annoFieldPK;\r\n\t\t\t\t\t//if(pk.ignore() == true){\r\n\t\t\t\t\t//\tcontinue;\r\n\t\t\t\t\t//}else{\r\n\t\t\t\t\tString name = pk.name();\r\n\t\t\t\t\tObject value = reflectionField.get(entity);\r\n\t\t\t\t\tfieldTos.add(new FieldTO(name, value));\r\n\t\t\t\t\tcontinue;\r\n\t\t\t\t\t//}\r\n\t\t\t\t}\r\n\t\t\t\tif(annoField!=null && annoField instanceof GPAField){\r\n\t\t\t\t\tGPAField field = (GPAField)annoField;\r\n\t\t\t\t\tString name = field.name();\r\n\t\t\t\t\tObject value = reflectionField.get(entity);\r\n\t\t\t\t\tfieldTos.add(new FieldTO(name, value));\r\n\t\t\t\t\tcontinue;\r\n\t\t\t\t}\r\n\t\t\t\tif(annoFieldBean!=null && annoFieldBean instanceof GPAFieldBean){\r\n\t\t\t\t\tGPAFieldBean field = (GPAFieldBean)annoFieldBean;\r\n\t\t\t\t\tString name = field.name();\r\n\t\t\t\t\tObject value = reflectionField.get(entity);\r\n\t\t\t\t\tfieldTos.add(new FieldTO(name, value));\r\n\t\t\t\t\tcontinue;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}", "private List<SuperSetterBasedBuilderField> deduplicateByName(List<SuperSetterBasedBuilderField> fields) {\n List<SuperSetterBasedBuilderField> result = new ArrayList<>();\n for (SuperSetterBasedBuilderField field : fields) {\n if (!alreadyContainsField(result, field)) {\n result.add(field);\n }\n }\n return result;\n }", "@Override\n protected Set<StepField> getUsedFields( KafkaConsumerInputMeta meta ) {\n return null;\n }", "private static FieldInfos filterFields(FieldInfos fieldInfos) {\n List<FieldInfo> fieldInfoCopy = new ArrayList<>(fieldInfos.size());\n for (FieldInfo fieldInfo : fieldInfos) {\n fieldInfoCopy.add(\n new FieldInfo(\n fieldInfo.name,\n fieldInfo.number,\n false,\n false,\n false,\n IndexOptions.NONE,\n DocValuesType.NONE,\n -1,\n fieldInfo.attributes(),\n 0,\n 0,\n 0,\n 0,\n fieldInfo.getVectorSimilarityFunction(),\n fieldInfo.isSoftDeletesField()\n )\n );\n }\n FieldInfos newFieldInfos = new FieldInfos(fieldInfoCopy.toArray(new FieldInfo[0]));\n return newFieldInfos;\n }", "@Override\n\tpublic void consumeFields(Schema schema) {\n\n\t}", "@Override\r\n protected void setFieldValues (Object ... fields)\r\n {\n \r\n }", "private void fillMandatoryFields_custom() {\n\n }", "@Override\r\n\tpublic Field[] getExcludedFields() {\n\t\treturn null;\r\n\t}", "@Override\n\tprotected void initializeFields() {\n\n\t}", "private List<String> getExcludedFields() {\n List<String> temp = new ArrayList<>();\n temp.add(\"_rallyAPIMajor\");\n temp.add(\"_rallyAPIMinor\");\n temp.add(\"_ref\");\n temp.add(\"_refObjectUUID\");\n temp.add(\"_objectVersion\");\n temp.add(\"_refObjectName\");\n temp.add(\"ObjectUUID\");\n temp.add(\"VersionId\");\n temp.add(\"_type\");\n return temp;\n }", "private ZipExtraField[] getAllExtraFieldsNoCopy() {\n writeline(\"/home/ubuntu/results/coverage/ZipArchiveEntry/ZipArchiveEntry_5_10.coverage\", \"3fa9af0d-52ec-4dfb-8f8f-664dab78c7a2\");\n if (extraFields == null) {\n writeline(\"/home/ubuntu/results/coverage/ZipArchiveEntry/ZipArchiveEntry_5_10.coverage\", \"e10aa90d-39cc-4c84-8523-509199acd725\");\n return getUnparseableOnly();\n }\n writeline(\"/home/ubuntu/results/coverage/ZipArchiveEntry/ZipArchiveEntry_5_10.coverage\", \"6f46f8f8-2f8d-4363-895b-687a45be39ed\");\n return unparseableExtra != null ? getMergedFields() : extraFields;\n }", "public void testFields()\n {\n TestUtils.testNoAddedFields(getTestedClass(), null);\n }", "void getNextField () \n\t\t\tthrows IOException, FileNotFoundException {\n \n\t\tcontext.field.setLength(0);\n\t\twhile ((! htmlChar.endsField) && (! atEnd)) {\n\t\t\tgetNextWord();\n\t\t\tif (context.word.length() > 0) {\n\t\t\t\tcontext.field.append (context.word.toString());\n\t\t\t}\n\t\t} \n \n // remove multiple trailing spaces from field\n // if (! context.preformatted) {\n while (context.field.length() > 1\n && context.field.charAt (context.field.length() - 1) == ' '\n && context.field.charAt (context.field.length() - 2) == ' ') {\n context.field.deleteCharAt (context.field.length() - 1);\n }\n // }\n\t}", "private <T> Map<String, Field> getFields(final Class<T> destinationClass) {\n final Map<String, Field> mappedFields = new HashMap<>();\n logger.trace(\"Retrieving all declared fields for class: {}\", destinationClass);\n final List<Field> declaredFields = getFields(new ArrayList<>(), destinationClass);\n\n for (Field field : declaredFields) {\n if (!field.isAnnotationPresent(Ignore.class)) {\n mapFieldName(mappedFields, field);\n }\n }\n\n return mappedFields;\n }", "private void clearFields(){\r\n fields.forEach(e -> e.clear());\r\n }", "java.lang.String getFields();", "public Fields getNonAggregatedFields()\n {\n return nonAggregatedFields;\n }", "public void setupFields()\n {\n FieldInfo field = null;\n field = new FieldInfo(this, \"ID\", Constants.DEFAULT_FIELD_LENGTH, null, null);\n field.setDataClass(Integer.class);\n field.setHidden(true);\n field = new FieldInfo(this, \"LastChanged\", Constants.DEFAULT_FIELD_LENGTH, null, null);\n field.setDataClass(Date.class);\n field.setHidden(true);\n field = new FieldInfo(this, \"Deleted\", 10, null, new Boolean(false));\n field.setDataClass(Boolean.class);\n field.setHidden(true);\n field = new FieldInfo(this, \"Description\", 25, null, null);\n field = new FieldInfo(this, \"CurrencyCode\", 3, null, null);\n field = new FieldInfo(this, \"LastRate\", 10, null, null);\n field.setDataClass(Double.class);\n field.setScale(-1);\n field = new FieldInfo(this, \"RateChangedDate\", 12, null, null);\n field.setDataClass(Date.class);\n field.setScale(Constants.DATE_ONLY);\n field = new FieldInfo(this, \"RateChangedBy\", 16, null, null);\n field.setDataClass(Integer.class);\n field = new FieldInfo(this, \"CostingRate\", 10, null, null);\n field.setDataClass(Double.class);\n field.setScale(-1);\n field = new FieldInfo(this, \"CostingChangedDate\", 12, null, null);\n field.setDataClass(Date.class);\n field.setScale(Constants.DATE_ONLY);\n field = new FieldInfo(this, \"CostingChangedBy\", 16, null, null);\n field.setDataClass(Integer.class);\n field = new FieldInfo(this, \"RoundAt\", 1, null, null);\n field.setDataClass(Short.class);\n field = new FieldInfo(this, \"IntegerDesc\", 20, null, \"Dollar\");\n field = new FieldInfo(this, \"FractionDesc\", 20, null, null);\n field = new FieldInfo(this, \"FractionAmount\", 10, null, new Integer(100));\n field.setDataClass(Integer.class);\n field = new FieldInfo(this, \"Sign\", 3, null, \"$\");\n field = new FieldInfo(this, \"LanguageID\", Constants.DEFAULT_FIELD_LENGTH, null, null);\n field.setDataClass(Integer.class);\n field = new FieldInfo(this, \"NaturalInteger\", 20, null, null);\n field = new FieldInfo(this, \"NaturalFraction\", 20, null, null);\n }", "@Override\n\tpublic List<Field> getAll() {\n\t\treturn null;\n\t}", "private Map<String,Field> getAllFields(Class clazz) {\n return this.getAllFields(clazz, false);\n }", "private List<Field> getFields() {\n try {\n List<Field> fields = ResultSetUtil.getFields(databaseName, tableName, resultSets.get(0));\n if(fields.size() != MergeFactory.MAX_QUERY_FIELD_SIZE){\n throw new SqlParserException(\"the query fields max be equals \" + MergeFactory.MAX_QUERY_FIELD_SIZE);\n }\n return fields;\n } catch (SQLException e) {\n LOG.error(\"merge resultSet error\",e);\n throw new MergeException(\"merge resultSet error\" , e);\n }\n }", "@Override\n\tprotected String getFields()\n\t{\n\t\tString fields = \" GAZOID, GAZFLD, GAZPVN, GAZTYP, GAZCLN, GAZCLS \";\n\t\treturn fields;\n\t}", "private void fillMandatoryFields() {\n\n }", "protected static Message cleanDoNotStoreFields(Message message) {\n Message.Builder messageBuilder = message.toBuilder();\n for (FieldDescriptor field : message.getAllFields().keySet()) {\n StorageMethod storageMethod = field.getOptions().getExtension(ExtensionsProto.storageMethod);\n if (storageMethod == StorageMethod.DO_NOT_STORE) {\n messageBuilder.clearField(field);\n } else if (field.getJavaType() == JavaType.MESSAGE) {\n if (field.isRepeated()) {\n for (int i = 0; i < message.getRepeatedFieldCount(field); i++) {\n messageBuilder.setRepeatedField(field, i, \n cleanDoNotStoreFields((Message) message.getRepeatedField(field, i)));\n }\n } else {\n messageBuilder.setField(field,\n cleanDoNotStoreFields((Message) message.getField(field)));\n }\n }\n }\n return messageBuilder.build();\n }", "private void prepare( ) {\n super.prepare( schema.getCount( ) );\n serializer = new FieldSerializer[ fieldCount ];\n for ( int i = 0; i < fieldCount; i++ ) {\n FieldSchema field = schema.getField( i );\n serializer[i] = serializerByType[ field.getType().ordinal() ];\n }\n }", "private List<String> rmDupInfo(List<String> fields) {\n Set<String> seen = new HashSet<>();\n List<String> uniqueNonEmptyFields = new ArrayList<>();\n for (String i : fields) {\n if (i.isEmpty() || i.equals(\".\")) {\n continue;\n } else {\n String fieldName = i.split(\"=\")[0];\n if (!seen.contains(fieldName)) {\n uniqueNonEmptyFields.add(i);\n seen.add(fieldName);\n }\n }\n }\n return uniqueNonEmptyFields;\n }", "static List<Place.Field> getPlaceFields(Place.Field... placeFieldsToOmit) {\n List<Place.Field> placeFields = new ArrayList<>(Arrays.asList(Place.Field.values()));\n placeFields.removeAll(Arrays.asList(placeFieldsToOmit));\n\n return placeFields;\n }", "@Override\n\tprotected String getParameterizedFields()\n\t{\n\t\tString fields = \" GAZOID=?, GAZFLD=?, GAZPVN=?, GAZTYP=?, GAZCLN=?, GAZCLS=? \";\n\t\treturn fields;\n\t}", "@Override\n\tpublic void getFields(List<String> table) {\n\t\t\n\t}", "java.lang.String getField1530();", "private void setNewFields(String[] fields) {\n for (String fieldName : fields) {\n setNewField(fieldName);\n }\n }", "protected void createFields()\n {\n createEffectiveLocalDtField();\n createDiscontinueLocalDtField();\n createScanTypeField();\n createContractNumberField();\n createContractTypeField();\n createProductTypeField();\n createStatusIndicatorField();\n createCivilMilitaryIndicatorField();\n createEntryUserIdField();\n createLastUpdateUserIdField();\n createLastUpdateTsField();\n }", "public void appendFields(List<Field> fields) {\n // zzzz! zzzz!\n }", "public FieldsImpl() {\r\n logger.entering(CLASS_NAME, \"FieldsImpl()\");\r\n }", "public Builder clearField1442() {\n \n field1442_ = getDefaultInstance().getField1442();\n onChanged();\n return this;\n }", "public static void getSuperFields(Class<?> clazz, ArrayList<Field> all_fields) {\n\t\tif (clazz == Object.class)\n\t\t\treturn;\n\t\t\n\t\t//Field [] element_fields_ = clazz.getFields();\n\t\tField [] element_fields = clazz.getDeclaredFields(); //clazz.getFields();\n\t\tfor (Field f: element_fields) {\n\t\t\tall_fields.add(f);\n\t\t}\n\t\tgetSuperFields(clazz.getSuperclass(), all_fields);\n\t\t\n\t\treturn;\n\t}", "@JsonAnyGetter\n public Map<String, String> otherFields() {\n return unknownFields;\n }", "default void flatten() {\n\t\tFieldGraph<F> flatGraph = FieldGraph.of(getFields());\n\t\tC flatClone = cloneFlat();\t// have to clone, because pull doesn't change value if pulling from self\n\t\tfor (F field : getFields())\n\t\t\tpull(field, flatClone, flatGraph);\n\t}", "@Override\n public void visit(FieldDeclaration n, Object arg) {\n \tArrayList<String> field = new ArrayList<String>();\n \tif(n.getJavaDoc()!=null){\n \t\tString declare = n.toString();\n \t\tdeclare = declare.replaceAll(\"(?s)(.*)private\", \"private\");\n \t\tdeclare = declare.replaceAll(\"(?s)=(.*)\", \"\");\n \t\tfield.add(declare.trim());\n\t \tString comment = n.getJavaDoc().getContent();\n\t \tcomment = comment.replaceAll(\"\\\\* @param (.*)\",\"\");\n\t \tcomment = comment.replaceAll(\"\\\\* @return (.*)\",\"\");\n\t \tcomment = comment.replaceAll(\"\\\\* @throws (.*)\",\"\");\n\t \tcomment = comment.replaceAll(\"\\\\* \",\"\");\n\t \tfield.add(comment.trim()); \n\t \tfields.add(field);\n \t}\n \t}", "private static void getAllFields(Class<?> clazz, ArrayList<Field> all_fields, ArrayList<Class<?>> all_classes) {\n\t\tif (clazz == Object.class)\n\t\t\treturn;\n\t\tall_classes.add(clazz);\n\t\t//Field [] element_fields_ = clazz.getFields();\n\t\tField [] element_fields = clazz.getDeclaredFields(); //clazz.getFields();\n\t\tfor (Field f: element_fields) {\n\t\t\tall_fields.add(f);\n\t\t}\n\t\tgetAllFields(clazz.getSuperclass(), all_fields, all_classes);\n\t\t\n\t\treturn;\n\t}", "public Builder clearField1542() {\n \n field1542_ = getDefaultInstance().getField1542();\n onChanged();\n return this;\n }", "synchronized public Set<String> getFields() {\n return Collections.unmodifiableSet(new HashSet<>(fields));\n }", "public Map<String,String> getAllCustomFields(final SessionContext ctx)\n\t{\n\t\tMap<String,String> map = (Map<String,String>)getProperty( ctx, CUSTOMFIELDS);\n\t\treturn map != null ? map : Collections.EMPTY_MAP;\n\t}", "public Builder clearField1241() {\n \n field1241_ = getDefaultInstance().getField1241();\n onChanged();\n return this;\n }", "public Builder clearField1434() {\n \n field1434_ = getDefaultInstance().getField1434();\n onChanged();\n return this;\n }", "public Builder clearField1441() {\n \n field1441_ = getDefaultInstance().getField1441();\n onChanged();\n return this;\n }", "protected List<ExtraField> getExtraFieldView(\n\t\t\t\t\t\t\tCollection<GenericPolicy> policies) {\n\t\t\t\t\t\tList<ExtraField> rlExtraFields = new ArrayList<ExtraField>();\n\n\t\t\t\t\t\tif (policies.size() > 0) {\n\t\t\t\t\t\t\tArrayList<GenericPolicy> policyList = new ArrayList<GenericPolicy>(\n\t\t\t\t\t\t\t\t\tpolicies);\n\t\t\t\t\t\t\tGenericPolicy policy = policyList.get(0);\n\n\t\t\t\t\t\t\tif (policy.getRules() != null\n\t\t\t\t\t\t\t\t\t&& policy.getRules().size() > 0) {\n\t\t\t\t\t\t\t\tRule rule = policy.getRules().get(0);\n\n\t\t\t\t\t\t\t\tif (rule.getAttributeList() != null\n\t\t\t\t\t\t\t\t\t\t&& rule.getAttributeList().size() > 0) {\n\n\t\t\t\t\t\t\t\t\tfor (RuleAttribute attribute : rule\n\t\t\t\t\t\t\t\t\t\t\t.getAttributeList()) {\n\n\t\t\t\t\t\t\t\t\t\tif (RuleAttribute.NotifyKeys.NotifyEmails\n\t\t\t\t\t\t\t\t\t\t\t\t.name().equals(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tattribute.getKey())) {\n\t\t\t\t\t\t\t\t\t\t\t// Policy Based Email Address\n\t\t\t\t\t\t\t\t\t\t\tExtraField field_1 = new ExtraField();\n\t\t\t\t\t\t\t\t\t\t\tfield_1.setFieldType(\"Label\");\n\t\t\t\t\t\t\t\t\t\t\tfield_1.setLabelName(\"Policy Based Email Address:\");\n\t\t\t\t\t\t\t\t\t\t\tfield_1.setValue(attribute\n\t\t\t\t\t\t\t\t\t\t\t\t\t.getValue());\n\t\t\t\t\t\t\t\t\t\t\tfield_1.setOrder(1);\n\t\t\t\t\t\t\t\t\t\t\trlExtraFields.add(field_1);\n\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tif (RuleAttribute.NotifyKeys.NotifyActive\n\t\t\t\t\t\t\t\t\t\t\t\t.name().equals(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tattribute.getKey())) {\n\t\t\t\t\t\t\t\t\t\t\t// / Subject Based Email Address:\n\t\t\t\t\t\t\t\t\t\t\tExtraField field_2 = new ExtraField();\n\t\t\t\t\t\t\t\t\t\t\tfield_2.setFieldType(\"CheckBox\");\n\t\t\t\t\t\t\t\t\t\t\tfield_2.setLabelName(\"Subject Based Email Address:\");\n\t\t\t\t\t\t\t\t\t\t\tfield_2.setValue(String\n\t\t\t\t\t\t\t\t\t\t\t\t\t.valueOf(attribute\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.getValue()));\n\n\t\t\t\t\t\t\t\t\t\t\tfield_2.setOrder(2);\n\t\t\t\t\t\t\t\t\t\t\trlExtraFields.add(field_2);\n\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t// Effect Duration\n\t\t\t\t\t\t\t\tExtraField field_3 = new ExtraField();\n\t\t\t\t\t\t\t\tfield_3.setFieldType(\"Label\");\n\t\t\t\t\t\t\t\tfield_3.setValue(String.valueOf(rule\n\t\t\t\t\t\t\t\t\t\t.getEffectDuration()));\n\t\t\t\t\t\t\t\tfield_3.setLabelName(\"Effect Duration: (secs)\");\n\t\t\t\t\t\t\t\tfield_3.setOrder(3);\n\t\t\t\t\t\t\t\trlExtraFields.add(field_3);\n\n\t\t\t\t\t\t\t\t// Rollover period\n\t\t\t\t\t\t\t\tExtraField field_4 = new ExtraField();\n\t\t\t\t\t\t\t\tfield_4.setFieldType(\"Label\");\n\t\t\t\t\t\t\t\tfield_4.setValue(String.valueOf(rule\n\t\t\t\t\t\t\t\t\t\t.getRolloverPeriod()));\n\t\t\t\t\t\t\t\tfield_4.setLabelName(\"Rollover Period:\");\n\t\t\t\t\t\t\t\tfield_4.setOrder(4);\n\t\t\t\t\t\t\t\trlExtraFields.add(field_4);\n\n\t\t\t\t\t\t\t\t// priority\n\t\t\t\t\t\t\t\tExtraField field_5 = new ExtraField();\n\t\t\t\t\t\t\t\tfield_5.setFieldType(\"Label\");\n\t\t\t\t\t\t\t\tfield_5.setValue(String.valueOf(rule\n\t\t\t\t\t\t\t\t\t\t.getPriority()));\n\t\t\t\t\t\t\t\tfield_5.setLabelName(\"Priority:\");\n\t\t\t\t\t\t\t\tfield_5.setOrder(5);\n\t\t\t\t\t\t\t\trlExtraFields.add(field_5);\n\n\t\t\t\t\t\t\t\t// Effect\n\t\t\t\t\t\t\t\tExtraField field_6 = new ExtraField();\n\t\t\t\t\t\t\t\tfield_6.setFieldType(\"Label\");\n\t\t\t\t\t\t\t\tfield_6.setValue(String.valueOf(rule\n\t\t\t\t\t\t\t\t\t\t.getEffect()));\n\t\t\t\t\t\t\t\tfield_6.setLabelName(\"Effect:\");\n\t\t\t\t\t\t\t\tfield_6.setOrder(6);\n\t\t\t\t\t\t\t\trlExtraFields.add(field_6);\n\n\t\t\t\t\t\t\t\t// Condition\n\t\t\t\t\t\t\t\tExtraField field_7 = new ExtraField();\n\t\t\t\t\t\t\t\tfield_7.setFieldType(\"Label\");\n\t\t\t\t\t\t\t\tStringBuilder conditions = new StringBuilder();\n\n\t\t\t\t\t\t\t\tCondition condition = rule.getCondition();\n\n\t\t\t\t\t\t\t\tif (condition != null) {\n\n\t\t\t\t\t\t\t\t\tExpression expression = condition\n\t\t\t\t\t\t\t\t\t\t\t.getExpression();\n\t\t\t\t\t\t\t\t\tif (expression != null) {\n\t\t\t\t\t\t\t\t\t\tconditions\n\t\t\t\t\t\t\t\t\t\t\t\t.append(expression\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.getPrimitiveValue()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.getValue());\n\t\t\t\t\t\t\t\t\t\tconditions.append('\\n');\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\tfield_7.setValue(String.valueOf(conditions\n\t\t\t\t\t\t\t\t\t\t.toString()));\n\t\t\t\t\t\t\t\tfield_7.setLabelName(\"Condition:\");\n\t\t\t\t\t\t\t\tfield_7.setOrder(7);\n\t\t\t\t\t\t\t\trlExtraFields.add(field_7);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn rlExtraFields;\n\t\t\t\t\t}", "java.lang.String getField1230();", "public Map<String, String> getOriginalFields() {\r\n return Collections.unmodifiableMap(originalFields);\r\n }", "AlgOptTable extend( List<AlgDataTypeField> extendedFields );", "private void newGroup()\n\t{\n\t\t// There is no need anymore to take care of the meta-data.\n\t\t// That is done once in DenormaliserMeta.getFields()\n\t\t//\n data.targetResult = new Object[meta.getDenormaliserTargetFields().length];\n \n for (int i=0;i<meta.getDenormaliserTargetFields().length;i++)\n {\n data.targetResult[i] = null;\n\n data.counters[i]=0L; // set to 0\n data.sum[i]=null;\n }\n\t}", "@Override\n public int getFieldCount() {\n return 0;\n }", "public Builder keepAll(){\n this.keepMode = KeepMode.ALL;\n return this;\n }", "@Override public final DeclContext$Fields $DeclContext$Fields() { return DeclContext$Flds; }", "protected void initDataFields() {\r\n //this module doesn't require any data fields\r\n }", "@Override\n\tprotected String getParameterizedFields()\n\t{\n\t\tString fields = \" HBLNM=?, HBCFR=?, HBCFL=?, HBRNM=?, HBDLM=? \";\n\t\treturn fields;\n\t}", "java.lang.String getField1406();", "@UsesAdsUtilities({AdsUtility.SELECTOR_BUILDER})\n SelectorBuilderInterface<SelectorT> fields(String... fields);", "EmulatedFieldsForDumping(ObjectStreamClass streamClass) {\n super();\n emulatedFields = new EmulatedFields(streamClass.fields(),\n (ObjectStreamField[]) null);\n }", "public Builder clearField1142() {\n \n field1142_ = getDefaultInstance().getField1142();\n onChanged();\n return this;\n }", "@Override public final Redeclarable$Fields $Redeclarable$Fields() { return Redeclarable$Flds; }", "public void clearFields() {\n\t\tid.clear();\n\t\tfn.clear();\n\t\tln.clear();\n\t\tage.clear();\n\t\tun.clear();\n\t\tpass.clear();\n\t\tdate.setValue(null);\n\t}", "@Override\n public void noteConfiguration() {\n preprocessBean = new KeepColumnPreProcessorBean();\n super.noteConfiguration();\n }", "java.lang.String getField1830();", "@Override\n protected List<String> getFieldOrder() {\n ArrayList<String> FieldOrder= new ArrayList<String>();\n FieldOrder.add(\"dsapiVersionNo\");\n FieldOrder.add(\"sessionId\");\n FieldOrder.add(\"valueMark\");\n FieldOrder.add(\"fieldMark\");\n return FieldOrder;\n }", "public Builder clearField1240() {\n \n field1240_ = getDefaultInstance().getField1240();\n onChanged();\n return this;\n }", "default <T> T getAllFields(T object) {\n Field[] fields = object.getClass().getDeclaredFields();\n\n for (Field field : fields) {\n field.setAccessible(true);\n\n if (Modifier.isStatic(field.getModifiers())) continue;\n if (Modifier.isTransient(field.getModifiers())) continue;\n\n if (!contains(field.getName())) continue;\n\n try {\n if (field.getType().equals(double.class)) {\n if (!isNumber(field.getName())) continue;\n field.setDouble(object, getDouble(field.getName()));\n } else if (field.getType().equals(float.class)) {\n if (!isNumber(field.getName())) continue;\n field.setFloat(object, (float) getDouble(field.getName()));\n } else if (field.getType().equals(int.class)) {\n if (!isNumber(field.getName())) continue;\n field.setInt(object, getInt(field.getName()));\n } else if (field.getType().equals(boolean.class)) {\n if (!isBoolean(field.getName())) continue;\n field.setBoolean(object, getBoolean(field.getName()));\n } else if (field.getType().equals(long.class)) {\n if (!isNumber(field.getName())) continue;\n field.setLong(object, getLong(field.getName()));\n } else if (field.getType().equals(short.class)) {\n if (!isNumber(field.getName())) continue;\n field.setShort(object, (short) getInt(field.getName()));\n } else if (field.getType().equals(byte.class)) {\n if (!isNumber(field.getName())) continue;\n field.setByte(object, (byte) getInt(field.getName()));\n } else {\n Object newValue = getType(field.getName(), field.getType());\n if (newValue == null) continue;\n\n field.set(object, newValue);\n }\n\n } catch (IllegalAccessException e) {\n //This should not happen hopefully.\n e.printStackTrace();\n }\n }\n\n return object;\n }", "private FieldList getBestSupportingFieldList(Record record){\n FieldList best = null;\n List<FieldList> supported = getSupportingFieldLists(record);\n if (!supported.isEmpty()){\n int recordSize = record.size();\n for (FieldList candidate: supported){\n if (best == null){\n best = candidate;\n }\n else if (candidate.size() == recordSize && best.size() != recordSize){\n best = candidate;\n }\n else if (candidate.isDefault()){\n best = candidate;\n }\n }\n }\n return best;\n }", "public Set<Field> getFields() {\r\n \t\t// We will only consider private fields in the declared class\r\n \t\tif (forceAccess)\r\n \t\t\treturn setUnion(source.getDeclaredFields(), source.getFields());\r\n \t\telse\r\n \t\t\treturn setUnion(source.getFields());\r\n \t}", "java.lang.String getField1430();", "private void getMarkerFields() {\n\r\n\t\tString strMarkerType = _strMarkerType.replace(\" \", \"\");\r\n\t\t\r\n\t\tFieldProperties[] listOfSourceFieldProperties = null;\r\n\t\tFieldProperties[] listOfDataFieldProperties = null;\r\n\t\tFieldProperties[] listOfGIDsFieldPropertiesForDArT = null;\r\n\t\t\r\n\t\tlistOfSourceColumnFields = new ArrayList<FieldProperties>();\r\n\t\tlistOfDataColumnFields = new ArrayList<FieldProperties>();\r\n\t\tlistOfAdditionalGIDsColumnFieldsForDArT = new ArrayList<FieldProperties>();\r\n\t\t\r\n\t\tif (strMarkerType.equals(\"SSRMarker\")){\r\n\t\t\t//strSourceFileName = \"SSRMarker\";\r\n\t\t\tlistOfSourceFieldProperties = UploadTableFields.SSRMarker;\r\n\t\t\tstrSourceSheetTitle = \"SSRMarkers\";\r\n\t\t} else if (strMarkerType.equals(\"SNPMarker\")){\r\n\t\t\t//strSourceFileName = \"SNPMarker\";\r\n\t\t\tlistOfSourceFieldProperties = UploadTableFields.SNPMarker;\r\n\t\t\tstrSourceSheetTitle = \"SNPMarkers\";\r\n\t\t} else if (strMarkerType.equals(\"CISRMarker\")){\r\n\t\t\t//strSourceFileName = \"CISRMarker\";\r\n\t\t\tlistOfSourceFieldProperties = UploadTableFields.CISRMarker;\r\n\t\t\tstrSourceSheetTitle = \"CISRMarkers\";\r\n\t\t} else if (strMarkerType.equals(\"CAPMarker\")){\r\n\t\t\t//strSourceFileName = \"CAPMarker\";\r\n\t\t\tlistOfSourceFieldProperties = UploadTableFields.CAPMarker;\r\n\t\t\tstrSourceSheetTitle = \"CAPMarkers\";\r\n\t\t} else if (strMarkerType.equals(\"SSRGenotype\")){\r\n\t\t\t//strSourceFileName = \"SSRGenotype_Source\";\r\n\t\t\t//strDataFileName = \"SSRGenotype_Data\";\r\n\t\t\tlistOfSourceFieldProperties = UploadTableFields.SSRGenotype_Source;\r\n\t\t\tlistOfDataFieldProperties = UploadTableFields.SSRGenotype_Data;\r\n\t\t\tstrSourceSheetTitle = \"SSR_Source\";\r\n\t\t\tstrDataSheetTitle = \"SSR_Data List\";\r\n\t\t} /*else if (strMarkerType.equals(\"SNPGenotype\")){\r\n\t\t\t//strSourceFileName = \"SNPGenotype_Source\";\r\n\t\t\t//strDataFileName = \"SNPGenotype_Data\";\r\n\t\t\tlistOfSourceFieldProperties = UploadTableFields.SNPGenotype_Source;\r\n\t\t\tlistOfDataFieldProperties = UploadTableFields.SNPGenotype_Data;\r\n\t\t\tstrSourceSheetTitle = \"SNPGenotype_Source\";\r\n\t\t\tstrDataSheetTitle = \"SNPGenotype_Data\";\r\n\t\t} */\r\n\t\telse if (strMarkerType.equals(\"GenericSNP\")){\r\n\t\t\t//\"Generic SNP\"\r\n\t\t\t//TODO: 20131206: Tulasi --- Implementation pending - to display the data from the template in the table \r\n\t\t\tlistOfSourceFieldProperties = UploadTableFields.SNPGenotype_Source;\r\n\t\t\tlistOfDataFieldProperties = UploadTableFields.SNPGenotype_Data;\r\n\t\t\tstrSourceSheetTitle = \"SNPGenotype_Source\";\r\n\t\t\tstrDataSheetTitle = \"SNPGenotype_Data\";\r\n\t\t} else if (strMarkerType.equals(\"LGCGenomicsSNP\")){\r\n\t\t\t//\"LGC Genomics SNP\"\r\n\t\t\t//TODO: 20131206: Tulasi --- Implementation pending - to display the data from the template in the table \r\n\t\t\tlistOfSourceFieldProperties = UploadTableFields.LGCGenomicsSNPGenotype_Source;\r\n\t\t\tlistOfDataFieldProperties = UploadTableFields.LGCGenomicsSNPGenotype_Data;\r\n\t\t\tstrSourceSheetTitle = \"LGCGenomicsSNPGenotype_Source\";\r\n\t\t\tstrDataSheetTitle = \"LGCGenomicsSNPGenotype_Data\";\r\n\t\t} else if (strMarkerType.equals(\"DArtGenotype\")){\r\n\t\t\t//strSourceFileName = \"DArtGenotype_Source\";\r\n\t\t\t//strDataFileName = \"DArtGenotype_Data\";\r\n\t\t\t//strAdditonalGIDsFileNameForDArt = \"DArtGenotype_GID\";\r\n\t\t\tlistOfSourceFieldProperties = UploadTableFields.DArtGenotype_Source;\r\n\t\t\tlistOfDataFieldProperties = UploadTableFields.DArtGenotype_Data;\r\n\t\t\tlistOfGIDsFieldPropertiesForDArT = UploadTableFields.DArtGenotype_GID;\r\n\t\t\tstrSourceSheetTitle = \"DArT_Source\";\r\n\t\t\tstrDataSheetTitle = \"DArT_Data\";\r\n\t\t\tstrGIDsSheetTitleForDArT = \"DArT_GIDs\";\r\n\t\t} else if (strMarkerType.equals(\"AllelicData\") || strMarkerType.equals(\"ABHData\") ){\r\n\t\t\t//strSourceFileName = \"MappingGenotype_Source\";\r\n\t\t\t//strDataFileName = \"MappingGenotype_Data\";\r\n\t\t\tlistOfSourceFieldProperties = UploadTableFields.MappingGenotype_Source;\r\n\t\t\tlistOfDataFieldProperties = UploadTableFields.MappingGenotype_Data;\r\n\t\t\tstrSourceSheetTitle = \"Mapping_Source\";\r\n\t\t\tstrDataSheetTitle = \"Mapping_DataList\";\r\n\t\t} else if (strMarkerType.equals(\"QTL\")){\r\n\t\t\t//strSourceFileName = \"QTL_Source\";\r\n\t\t\t//strDataFileName = \"QTL_Data\";\r\n\t\t\tlistOfSourceFieldProperties = UploadTableFields.QTL_Source;\r\n\t\t\tlistOfDataFieldProperties = UploadTableFields.QTL_Data;\r\n\t\t\tstrSourceSheetTitle = \"QTL_Source\";\r\n\t\t\tstrDataSheetTitle = \"QTL_Data\";\r\n\t\t} else if (strMarkerType.equals(\"Map\")){\r\n\t\t\t//strSourceFileName = \"Map_Source\";\r\n\t\t\t//strDataFileName = \"Map_Data\";\r\n\t\t\tlistOfSourceFieldProperties = UploadTableFields.Map_Source;\r\n\t\t\tlistOfDataFieldProperties = UploadTableFields.Map_Data;\r\n\t\t\tstrSourceSheetTitle = \"Map_Source\";\r\n\t\t\tstrDataSheetTitle = \"Map_Data\";\r\n\t\t} else if (strMarkerType.equals(\"MTA\")){\r\n\t\t\t//strSourceFileName = \"Map_Source\";\r\n\t\t\t//strDataFileName = \"Map_Data\";\r\n\t\t\tlistOfSourceFieldProperties = UploadTableFields.MTA_Source;\r\n\t\t\tlistOfDataFieldProperties = UploadTableFields.MTA_Data;\r\n\t\t\tstrSourceSheetTitle = \"Map_Source\";\r\n\t\t\tstrDataSheetTitle = \"Map_Data\";\r\n\t\t}else {\r\n\t\t\tlistOfSourceFieldProperties = UploadTableFields.SSRMarker;\r\n\t\t}\r\n\t\t\r\n\t\tif (null != listOfSourceFieldProperties){\r\n\t\t\tfor (FieldProperties fieldProperties : listOfSourceFieldProperties) {\r\n\t\t\t\tlistOfSourceColumnFields.add(fieldProperties);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (null != listOfDataFieldProperties){\r\n\t\t\tfor (FieldProperties fieldProperties : listOfDataFieldProperties) {\r\n\t\t\t\tlistOfDataColumnFields.add(fieldProperties);\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tif (null != listOfVariableDataColumns){\r\n\t\t\t\tfor (String columnTitle : listOfVariableDataColumns){\r\n\t\t\t\t\tFieldProperties fieldProperties = new FieldProperties(columnTitle, UploadField.REQUIRED.toString(), \"\", \"\");\r\n\t\t\t\t\tlistOfDataColumnFields.add(fieldProperties);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\tif (null != listOfGIDsFieldPropertiesForDArT){\r\n\t\t\tfor (FieldProperties fieldProperties : listOfGIDsFieldPropertiesForDArT) {\r\n\t\t\t\tlistOfAdditionalGIDsColumnFieldsForDArT.add(fieldProperties);\r\n\t\t\t}\r\n\t\t}\t\t\r\n\t\t\r\n\t}", "public Builder clearField1243() {\n \n field1243_ = getDefaultInstance().getField1243();\n onChanged();\n return this;\n }", "public Builder clearField1443() {\n \n field1443_ = getDefaultInstance().getField1443();\n onChanged();\n return this;\n }", "@Override\n public StructFields duplicate() {\n final StructFields newStruct = new StructFields();\n newStruct.fields.putAll(fields.entrySet().stream()\n .map(ent -> new Tuple<>(ent.getKey(), ent.getValue().duplicate()))\n .collect(Collectors.toMap(Tuple::getA, Tuple::getB)));\n return newStruct;\n }", "public Builder clearField1048() {\n \n field1048_ = getDefaultInstance().getField1048();\n onChanged();\n return this;\n }", "java.lang.String getField1500();", "public Builder clearField1446() {\n \n field1446_ = getDefaultInstance().getField1446();\n onChanged();\n return this;\n }", "@UsesAdsUtilities({AdsUtility.SELECTOR_BUILDER, AdsUtility.SELECTOR_FIELD})\n SelectorBuilderInterface<SelectorT> fields(EntityField... fields);", "java.lang.String getField4();", "java.lang.String getField1512();", "java.lang.String getField1730();", "@Override\n\tprotected String getFields()\n\t{\n\t\tString fields = \" HBLNM, HBCFR, HBCFL, HBRNM, HBDLM \";\n\t\treturn fields;\n\t}", "public Builder clearField1246() {\n \n field1246_ = getDefaultInstance().getField1246();\n onChanged();\n return this;\n }", "public Builder clearField1284() {\n \n field1284_ = getDefaultInstance().getField1284();\n onChanged();\n return this;\n }", "List<FieldRestrictions> fieldRestrictions();", "public void clearOrderByFields()\r\n\t{\r\n\t\tthis.orderByFields.clear();\r\n\t}", "@Override\n\tpublic void setFields(FieldList fl) {\n\t\tlogger.debug(\"setFields :\");\n\t\tsuper.setFields(fl);\n\t}", "public Builder clearField1435() {\n \n field1435_ = getDefaultInstance().getField1435();\n onChanged();\n return this;\n }", "public Builder clearField1242() {\n \n field1242_ = getDefaultInstance().getField1242();\n onChanged();\n return this;\n }", "@Override\n protected List<String> getFieldOrder() {\n ArrayList<String> FieldOrder=new ArrayList<>();\n FieldOrder.add(\"eventId\");\n FieldOrder.add(\"timestamp\");\n FieldOrder.add(\"type\");\n FieldOrder.add(\"username\");\n FieldOrder.add(\"fullMessage\");\n return FieldOrder;\n }" ]
[ "0.59416205", "0.5639585", "0.5415948", "0.5414844", "0.5337502", "0.5317737", "0.5300493", "0.52835107", "0.528257", "0.52172285", "0.5210397", "0.52023166", "0.5193315", "0.5119721", "0.51156837", "0.5107027", "0.51057434", "0.5083161", "0.50756294", "0.5057746", "0.5047119", "0.5042592", "0.50172573", "0.4987888", "0.49816215", "0.4927912", "0.49253196", "0.49182883", "0.491244", "0.49003163", "0.48825392", "0.4879383", "0.48782516", "0.48738757", "0.48737022", "0.48401973", "0.48399025", "0.48286748", "0.48279786", "0.48253798", "0.48154104", "0.48065853", "0.48044786", "0.48028702", "0.47998002", "0.47915587", "0.4790517", "0.47795764", "0.47711992", "0.47682664", "0.47602654", "0.47588068", "0.47570646", "0.4757038", "0.47344184", "0.4733439", "0.47329634", "0.47143823", "0.47131872", "0.47107062", "0.47072664", "0.47061607", "0.47050157", "0.46993682", "0.4688043", "0.46839458", "0.46784255", "0.46770415", "0.467278", "0.4671598", "0.46698934", "0.4669545", "0.46666712", "0.46514553", "0.46487764", "0.4643162", "0.46386236", "0.46382904", "0.4628542", "0.46272764", "0.46229848", "0.46176127", "0.46174768", "0.4616894", "0.4615949", "0.46124676", "0.46112865", "0.46111694", "0.46081594", "0.45980644", "0.45950156", "0.45942414", "0.45928088", "0.45863998", "0.45860824", "0.4578797", "0.457733", "0.45759505", "0.45757982", "0.4575649", "0.4575555" ]
0.0
-1
called by internal mechanisms, do not call yourself.
@Generated public void __setDaoSession(DaoSession daoSession) { this.daoSession = daoSession; myDao = daoSession != null ? daoSession.getAnotacionDao() : null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void mo51373a() {\n }", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\tprotected void run() {\n\t\t\t\r\n\t\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "protected void onFirstUse() {}", "private stendhal() {\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void prot() {\n }", "@Override\r\n\t\t\tpublic void run() {\n\t\t\t\t\r\n\t\t\t}", "@Override\r\n\t\t\tpublic void run() {\n\t\t\t\t\r\n\t\t\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n \tpublic void process() {\n \t\t\r\n \t}", "@Override\n protected void init() {\n }", "@SuppressWarnings(\"unused\")\n private void _read() {\n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "private void m50366E() {\n }", "public void smell() {\n\t\t\n\t}", "public static void SelfCallForLoading() {\n\t}", "@Override\n\t\t\t\t\t\t\tpublic void onIOException(IOException e, Object state) {\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t}", "@Override\r\n\tprotected void initSelfData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initSelfData() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n\t\t\tpublic void run() {\n\n\t\t\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n\tprotected void postRun() {\n\n\t}", "public final void mo91715d() {\n }", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\n protected void initialize() {\n\n \n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\t\tprotected void reset()\n\t\t{\n\t\t}", "@Override\n\t\t\tpublic void run() {\n\t\t\t\t\n\t\t\t}", "@Override\n\t\t\tpublic void run() {\n\t\t\t\t\n\t\t\t}", "@Override\r\n\tprotected void processInit() {\n\t\t\r\n\t}", "@Override\n public int retroceder() {\n return 0;\n }", "@Override\r\n\tprotected void processInit() {\n\r\n\t}", "private void initialize() {\n\t\t\n\t}", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "@Override\n public void init() {\n }", "@Override\r\n\tpublic void init() {}", "private void init() {\n\n\t}", "private void getStatus() {\n\t\t\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\n\tpublic void postInit() {\n\t\t\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void run() {\r\n\t\t// overwrite in a subclass.\r\n\t}", "protected void additionalProcessing() {\n\t}", "private void assignment() {\n\n\t\t\t}", "private final void i() {\n }", "protected void initialize() {}", "protected void initialize() {}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "public void method_4270() {}", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n void init() {\n }", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "@Override\n public void init() {\n\n }", "@Override\r\n\t\t\t\tpublic void autInitProcess() {\n\t\t\t\t\t\r\n\t\t\t\t}", "@Override\r\n\t\t\t\tpublic void autInitProcess() {\n\t\t\t\t\t\r\n\t\t\t\t}", "@Override\r\n\tprotected void processFinish() {\n\r\n\t}", "@Override\r\n\tprotected void processFinish() {\n\r\n\t}", "@Override\r\n\tprotected void processFinish() {\n\r\n\t}", "@Override\r\n\tprotected void doF8() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void autInitProcess() {\n\t\t\t\t\r\n\t\t\t}", "@Override\r\n\t\t\tpublic void autInitProcess() {\n\t\t\t\t\r\n\t\t\t}", "@Override\r\n\t\t\tpublic void autInitProcess() {\n\t\t\t\t\r\n\t\t\t}", "@Override\r\n\t\t\tpublic void autInitProcess() {\n\t\t\t\t\r\n\t\t\t}", "@Override\r\n\t\t\tpublic void autInitProcess() {\n\t\t\t\t\r\n\t\t\t}", "@Override\n public Object preProcess() {\n return null;\n }", "@Override\n\t\tpublic void run() {\n\t\t\t\n\t\t}", "@Override\n\t\tpublic void run() {\n\t\t\t\n\t\t}", "@Override\n public void onCancelled(CancelledException arg0) {\n }", "@Override\n public void onCancelled(CancelledException arg0) {\n }", "@Override\n\tpublic void call() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\r\n\tpublic final void init() {\r\n\r\n\t}", "@Override\n public void init() {}", "@Override\r\n\tpublic void runn() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void prepare()\r\n\t{\r\n\r\n\t}", "@Override\n\tprotected void initialize() {\n\t}", "@Override\n\tprotected void initialize() {\n\t}", "protected boolean func_70814_o() { return true; }", "@Override\r\n\t\t\tpublic void reset() {\n\t\t\t\t\r\n\t\t\t}" ]
[ "0.6371722", "0.6260732", "0.6228073", "0.616492", "0.6125714", "0.6042472", "0.5979736", "0.5976913", "0.5956299", "0.5942653", "0.5929282", "0.5929282", "0.5929282", "0.5929282", "0.5929282", "0.5929282", "0.590189", "0.5893604", "0.5893604", "0.58852583", "0.58852583", "0.58635277", "0.5862591", "0.58231324", "0.5817122", "0.5810591", "0.57913315", "0.5780044", "0.5756838", "0.57432634", "0.57432634", "0.5742655", "0.57168347", "0.5712824", "0.5711848", "0.5705701", "0.57002705", "0.57002705", "0.5696676", "0.56963664", "0.56953907", "0.5685475", "0.56828934", "0.5681618", "0.5681618", "0.567689", "0.56753176", "0.56713015", "0.56713015", "0.5670039", "0.5664569", "0.56607634", "0.5648674", "0.56479615", "0.56372625", "0.56206506", "0.56196487", "0.5611562", "0.56115466", "0.56115437", "0.56107473", "0.5609358", "0.5605373", "0.5605222", "0.56039697", "0.56038797", "0.56038797", "0.56032103", "0.55948544", "0.55919206", "0.5588513", "0.55879956", "0.55879956", "0.55874985", "0.5587093", "0.5587093", "0.55782324", "0.55782324", "0.55782324", "0.55770504", "0.5576767", "0.5576767", "0.5576767", "0.5576767", "0.5576767", "0.5575634", "0.5571351", "0.5571351", "0.5563423", "0.5563423", "0.55601794", "0.5559437", "0.5543968", "0.55424577", "0.5542376", "0.55416346", "0.554032", "0.5539361", "0.5539361", "0.55289656", "0.5528763" ]
0.0
-1
Toone relationship, resolved on first access.
@Generated public Anexo getAnexo() { Long __key = this.anexoId; if (anexo__resolvedKey == null || !anexo__resolvedKey.equals(__key)) { __throwIfDetached(); AnexoDao targetDao = daoSession.getAnexoDao(); Anexo anexoNew = targetDao.load(__key); synchronized (this) { anexo = anexoNew; anexo__resolvedKey = __key; } } return anexo; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n\tpublic void oneToOneNoBind() {\n\t\tSystem.out.println(\"============oneToOneNoBind=========\");\n\t\tUser u = new User();\n\t\tAddress a = new Address();\n\t\tList<User> users = Dao.queryForEntityList(User.class, select(), u.all(), \",\", a.all(), from(), u.table(), \",\",\n\t\t\t\ta.table(), \" where \", oneToOne(), u.ID(), \"=\", a.UID(), bind());\n\t\tfor (User user : users) {\n\t\t\tSystem.out.println(user.getUserName());\n\t\t\tAddress address = user.getChildNode(Address.class);\n\t\t\tSystem.out.println(\"\\t\" + address.getAddressName());\n\t\t\tUser user2 = address.getParentNode(User.class);\n\t\t\tAssert.assertTrue(user == user2);\n\t\t}\n\t}", "@Override\n\t\tpublic Relationship getSingleRelationship(RelationshipType type, Direction dir) {\n\t\t\treturn null;\n\t\t}", "@Override\n\tprotected Model fetchOne(int id) {\n\t\treturn null;\n\t}", "@Override\n\t\tpublic Relationship createRelationshipTo(Node otherNode, RelationshipType type) {\n\t\t\treturn null;\n\t\t}", "private void checkMappedByOneToOne(DeployBeanPropertyAssocOne<?> prop) {\n String mappedBy = prop.getMappedBy();\n // get the mappedBy property\n DeployBeanDescriptor<?> targetDesc = targetDescriptor(prop);\n DeployBeanPropertyAssocOne<?> mappedAssocOne = mappedOneToOne(prop, mappedBy, targetDesc);\n DeployTableJoin tableJoin = prop.getTableJoin();\n if (!tableJoin.hasJoinColumns()) {\n // define Join as the inverse of the mappedBy property\n DeployTableJoin otherTableJoin = mappedAssocOne.getTableJoin();\n otherTableJoin.copyWithoutType(tableJoin, true, tableJoin.getTable());\n }\n\n if (mappedAssocOne.isPrimaryKeyJoin()) {\n // bi-directional PrimaryKeyJoin ...\n mappedAssocOne.setPrimaryKeyJoin(false);\n prop.setPrimaryKeyExport();\n addPrimaryKeyJoin(prop);\n }\n }", "Relationship createRelationship();", "@Override\n\t\tpublic boolean hasRelationship() {\n\t\t\treturn false;\n\t\t}", "public T caseRelationshipDefinition(RelationshipDefinition object) {\n\t\treturn null;\n\t}", "@OneToOne(mappedBy = \"persona\")\n\tpublic Usuario getUsuario() {\n\t\treturn usuario;\n\t}", "@Test\n\tpublic void oneToOneWithBind() {\n\t\tSystem.out.println(\"============oneToOneWithBind=========\");\n\t\tUser u = new User();\n\t\tAddress a = new Address();\n\t\tu.configMapping(oneToOne(), u.ID(), a.UID(), bind(u.ADDRESS(), a.USER()));\n\t\tList<User> users = Dao.queryForEntityList(User.class, select(), u.all(), \",\", a.all(), from(), u.table(), \",\",\n\t\t\t\ta.table(), \" where \", u.ID(), \"=\", a.UID());\n\t\tfor (User user : users) {\n\t\t\tSystem.out.println(user.getUserName());\n\t\t\tAddress address = user.getAddress();\n\t\t\tSystem.out.println(\"\\t\" + address.getAddressName());\n\t\t\tUser user2 = address.getUser();\n\t\t\tAssert.assertTrue(user == user2);\n\t\t}\n\t}", "Optional<DomainRelationshipDTO> findOne(UUID id);", "@OneToOne(cascade = {CascadeType.ALL}, fetch = FetchType.EAGER)\n @JoinColumn(name = \"N_ID_DIRECCION\", nullable = false)\n public Direccion getDireccion() {\n return direccion;\n }", "@OneToOne(mappedBy = \"persona\")\n\tpublic Proveedor getProveedor() {\n\t\treturn proveedor;\n\t}", "public O first()\r\n {\r\n if (isEmpty()) return null; \r\n return first.getObject();\r\n }", "@Override\n\tpublic Pedido findOne(Long arg0) {\n\t\treturn null;\n\t}", "public boolean isReferrerAsOne() {\n return _referrerAsOne;\n }", "public ObjectProp getRelationship() {\n return relationship;\n }", "public Optional<E> one() {\n return Optional.ofNullable(queryOne());\n }", "public T caseAssocRelationshipDefinition(AssocRelationshipDefinition object) {\n\t\treturn null;\n\t}", "public final void mT__102() throws RecognitionException {\n try {\n int _type = T__102;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:72:8: ( 'association-one-to-one' )\n // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:72:10: 'association-one-to-one'\n {\n match(\"association-one-to-one\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "@Override\n\tpublic void activateEntityRelationship(Long id) {\n\t\tentityRelationshipTypeRepository.activateEntityRelationship(id);\n\t}", "@OneToOne(fetch = FetchType.EAGER)\n/* */ @PrimaryKeyJoinColumn\n/* 56 */ public VfeWorkflowsAdp getVfeWorkflowsAdp() { return this.vfeWorkflowsAdp; }", "@OneToOne\n @JoinColumn(name = \"ID_HOCSINH\")\n public HocSinh getHocSinh() {\n return hocSinh;\n }", "@Override\n\tpublic Object selectOne() {\n\t\treturn null;\n\t}", "@Override\n\tpublic Object selectOne() {\n\t\treturn null;\n\t}", "public void relate(HNode id, Object o);", "public T caseRelationAdded(RelationAdded object) {\n\t\treturn null;\n\t}", "public T caseRelationshipNavigation(RelationshipNavigation object) {\n\t\treturn null;\n\t}", "@Override\n\tpublic Personnes findOne(Long id) {\n\t\treturn null;\n\t}", "public static com.matisse.reflect.MtRelationship getGestionaRelationship(com.matisse.MtDatabase db) {\n return (com.matisse.reflect.MtRelationship)db.getCachedObject(gestionaCID);\n }", "@Override\n public SideDishEntity findOne(Long id) throws IllegalArgumentException {\n return null;\n }", "protected PObject createIndependentObject() {\n return createIndependentObjects(1).get(0);\n }", "public T caseRegularRelationshipDefinition(RegularRelationshipDefinition object) {\n\t\treturn null;\n\t}", "Corretor findOne(Long id);", "public void setHasEntity(Boolean setTo) {\n \n hasEntity_ = setTo;\n \n }", "@ManyToOne\r\n\tpublic User getUser() {\r\n\t\treturn user;\r\n\t}", "@Override\n\tpublic Editore getOneById(int id) {\n\t\treturn null;\n\t}", "@Override\n @Transactional(readOnly = true)\n public Fund findOne(Long id) {\n log.debug(\"Request to get Fund : {}\", id);\n Fund fund = fundRepository.findOneWithEagerRelationships(id);\n return fund;\n }", "@Override\r\n\tpublic OrderInfo selectOne() {\n\t\treturn null;\r\n\t}", "public Relationship() {\r\n\t}", "Optional<HousingAssociation> findOne(Long id);", "RelationalDependency createRelationalDependency();", "public Relationship getRelationship() {\n\t\treturn relationship;\n\t}", "@Override\n\tpublic Setting queryone() {\n\t\treturn SettingMapper.queryone();\n\t}", "@Override\n\tpublic Person findOne(Integer id) {\n\t\treturn null;\n\t}", "@Override\n\tpublic T queryJoinFirstObj(QueryBuilder mQueryBuilder) {\n\t\tmQueryBuilder.limitIndex = 1;\n\t\tmQueryBuilder.offsetIndex = 0;\n\t\tList<T> list = queryJoinObjs(mQueryBuilder);\n\t\tif (list.size() > 0) {\n\t\t\treturn list.get(0);\n\t\t}\n\t\treturn null;\n\t}", "@Override\n\tprotected Class<ResourcesRelatedDetail> getEntity() {\n\t\treturn ResourcesRelatedDetail.class;\n\t}", "public void onRelationshipChanged();", "public boolean isBizOneToOne() {\n return _bizOneToOne;\n }", "public Jode single() {\n return single(false);\n }", "protected Object readResolve() {\n\t\ttry {\n\t\t\treturn fromLotus(resurrectAgent(), Agent.SCHEMA, getAncestorDatabase());\n\t\t} catch (NotesException e) {\n\t\t\tDominoUtils.handleException(e);\n\t\t\treturn this;\n\t\t}\n\t}", "@Override\n\tpublic Entity SelectFirstOrDefault() {\n\t\treturn null;\n\t}", "public Related() {\n }", "@Override\n\tpublic Users findOne(Users t) {\n\t\treturn null;\n\t}", "@Override\r\n\tpublic Employee findOne(Long arg0) {\n\t\treturn null;\r\n\t}", "Relation createRelation();", "PIMBankObject getDomainObjectRef();", "@Override\n public LineEntity findOne(Long id) throws IllegalArgumentException {\n return null;\n }", "@Override\n public void onRelationshipMapLoaded() {\n }", "@Override\n\tpublic HelloEntity findOne() {\n\t\tLong id = 1L;\n\t\tHelloEntity entity = entityManager.find(HelloEntity.class, id);\n\t\tSystem.out.println(\"findOne: \" + entity.getName());\n\t\treturn null;\n\t}", "public Object caseForeignKey(ForeignKey object) {\r\n\t\treturn null;\r\n\t}", "@Override\r\n\tpublic Optional<Producto> getOne(Producto entity) throws Exception {\n\t\treturn null;\r\n\t}", "@Cache(usage = NONSTRICT_READ_WRITE)\n @JoinColumn(name = \"assigned_to_userid\")\n @ManyToOne(cascade = PERSIST, fetch = LAZY)\n public TdUserAuth getAssignedToUser() {\n return assignedToUser;\n }", "public Project getProjectRelatedByProjectId() throws TorqueException\n {\n if (aProjectRelatedByProjectId == null && (this.projectId != 0))\n {\n aProjectRelatedByProjectId = ProjectPeer.retrieveByPK(SimpleKey.keyFor(this.projectId));\n \n /* The following can be used instead of the line above to\n guarantee the related object contains a reference\n to this object, but this level of coupling\n may be undesirable in many circumstances.\n As it can lead to a db query with many results that may\n never be used.\n Project obj = ProjectPeer.retrieveByPK(this.projectId);\n obj.addNewslettersRelatedByProjectId(this);\n */\n }\n return aProjectRelatedByProjectId;\n }", "@ManyToOne(fetch=FetchType.LAZY)\n\t@JoinColumn(name=\"Kunde_ID\", nullable=false)\n\tpublic Person getPerson1() {\n\t\treturn this.person1;\n\t}", "public A first() {\n return first;\n }", "@Override\r\n public BaseVO refer(BaseVO baseVO) {\n return null;\r\n }", "Relationship(final String id, final String type, final String target) {\r\n this.id = id;\r\n this.type = type;\r\n this.target = target;\r\n }", "public OBOProperty getDefaultRelationship() {\n return DEFAULT_REL; // genotype influences phenotype\n }", "@Cache(usage = NONSTRICT_READ_WRITE)\n @JoinColumn(name = \"user_id\")\n @ManyToOne(cascade = PERSIST, fetch = LAZY)\n public TdUserAuth getUser() {\n return user;\n }", "public AllOne() {\n \n }", "boolean isFirstJoinKit();", "public T caseIdentPrimary(IdentPrimary object)\n {\n return null;\n }", "public TmRelationship() {\n this(\"TM_RELATIONSHIP\", null);\n }", "public Project getProjectRelatedByRelProjectId() throws TorqueException\n {\n if (aProjectRelatedByRelProjectId == null && (this.relProjectId != 0))\n {\n aProjectRelatedByRelProjectId = ProjectPeer.retrieveByPK(SimpleKey.keyFor(this.relProjectId));\n \n /* The following can be used instead of the line above to\n guarantee the related object contains a reference\n to this object, but this level of coupling\n may be undesirable in many circumstances.\n As it can lead to a db query with many results that may\n never be used.\n Project obj = ProjectPeer.retrieveByPK(this.relProjectId);\n obj.addNewslettersRelatedByRelProjectId(this);\n */\n }\n return aProjectRelatedByRelProjectId;\n }", "@Override\n @Transactional(readOnly = true)\n public ProductDTO findOne(Long id) {\n log.debug(\"Request to get Product : {}\", id);\n Product product = productRepository.findOneWithEagerRelationships(id);\n return productMapper.toDto(product);\n }", "public void setRelatedTo(java.lang.String value);", "@Override\n\tpublic Editore getOneByName(String name) {\n\t\treturn null;\n\t}", "public Optional<E> first() {\n return Optional.ofNullable(queryFirst());\n }", "public abstract P toEntity();", "public void setRelationship(Relationship r) {\n\t\trelationship = r;\n\t}", "@Override\n @Transactional(readOnly = true)\n public JourneyDTO findOne(Long id) {\n log.debug(\"Request to get Journey : {}\", id);\n Journey journey = journeyRepository.findOne(id);\n return journeyMapper.toDto(journey);\n }", "public User user(User user) {\n return null;\n }", "@Override\n public Set<Edge<PhysicalObject>> getRelationBetweenObjects() {\n assert false : \"shouldn't call this method\";\n return null;\n }", "public CodeableConcept relationship() {\n return getObject(CodeableConcept.class, FhirPropertyNames.PROPERTY_RELATIONSHIP);\n }", "Column referencedColumn();", "protected void fillValueInOneToManyRel(Object value)\r\n\t{\r\n\t}", "EReference getRelationReference();", "public MuseologicalObjectDO getEntity(){\r\n\t\tMuseologicalObjectDO objDO = new MuseologicalObjectDO();\r\n\t\tif(objectId != null) objDO.setId(objectId);\r\n\t\tobjDO.setName(name);\r\n\t\tobjDO.setDate(date.getTime());\r\n\t\tobjDO.setObjectType(objectType);\r\n\t\treturn objDO;\r\n\t}", "@Override\n public TransferRelation getTransferRelation() {\n return null;\n }", "@Override\r\n\tpublic Employee getOne(Long arg0) {\n\t\treturn null;\r\n\t}", "@Override\n @Transactional(readOnly = true)\n public Optional<Avistamiento> findOne(Long id) {\n log.debug(\"Request to get Avistamiento : {}\", id);\n return avistamientoRepository.findOneWithEagerRelationships(id);\n }", "@Override\n\tpublic OrderEntity findOneById(Long id) {\n\t\treturn oder.getById(id);\n\t}", "public Jode first() {\n return children().first();\n }", "@Test(description = \"export interface with one single relationship\")\n public void exportWithOneRelationship()\n throws Exception\n {\n final DataCollection data = new DataCollection(this);\n final RelationshipData rel = data.getRelationship(\"TestRelationship\");\n final InterfaceData inter = data.getInterface(\"TestInterface\").addRelationship(rel);\n data.create();\n\n inter.checkExport(inter.export());\n }", "@Override\n\tpublic void orphan(DBSet db, boolean asPack) \n\t{\n\t\tdb.getAddressPersonMap().removeItem(this.recipient.getAddress());\n\t\tdb.getPersonAddressMap().removeItem(this.key, this.recipient.getAddress());\n\n\t\t//UPDATE REFERENCE OF CREATOR\n\t\t// not needthis.creator.setLastReference(this.reference, db);\t\t\n\t\t//UPDATE REFERENCE OF RECIPIENT\n\t\tthis.recipient.removeReference(db);\n\t}", "public Long getRelateId() {\n return relateId;\n }", "@Nullable\n public DBObject findOne() {\n return findOne(new BasicDBObject());\n }", "public CuentaEntity toEntity() {\r\n CuentaEntity cuentaE = super.toEntity();\r\n if (this.tarjeta != null) {\r\n if (!this.tarjeta.isEmpty()) {\r\n List<TarjetaEntity> tarjetasEntity = new ArrayList<>();\r\n for (TarjetaDTO dtoTarjeta : tarjeta) {\r\n tarjetasEntity.add(dtoTarjeta.toEntity());\r\n }\r\n cuentaE.setTarjeta(tarjetasEntity);\r\n }\r\n }\r\n if (this.ordenPagos != null) {\r\n if (!this.ordenPagos.isEmpty()) {\r\n List<OrdenPagoEntity> ordenesEntity = new ArrayList<>();\r\n for (OrdenPagoDTO dtoOrdenPago : ordenPagos) {\r\n ordenesEntity.add(dtoOrdenPago.toEntity());\r\n }\r\n cuentaE.setOrdenPagos(ordenesEntity);\r\n }\r\n }\r\n \r\n if (this.estudiante != null) {\r\n System.out.println(\"---------------------------------------------------343434343\");\r\n EstudianteEntity es = estudiante.toEntity();\r\n cuentaE.setEstudiante(es);\r\n System.out.println(es.getDocumento());\r\n System.out.println(cuentaE.getEstudiante());\r\n System.out.println(cuentaE.getEstudiante().getDocumento());\r\n }\r\n\r\n return cuentaE;\r\n }", "@Override\n\tpublic Account getSingleAccount() {\n\t\treturn null;\n\t}" ]
[ "0.586295", "0.5858311", "0.57361096", "0.56971985", "0.5671697", "0.56491035", "0.5610516", "0.5598799", "0.5569257", "0.5493518", "0.5485247", "0.54806054", "0.5471793", "0.54670626", "0.538438", "0.53736156", "0.5369618", "0.5316193", "0.5285615", "0.52508867", "0.52423453", "0.52323127", "0.520882", "0.51994187", "0.51994187", "0.5183174", "0.5143363", "0.5143056", "0.51256925", "0.5125149", "0.511209", "0.50995487", "0.5033931", "0.5028473", "0.5019074", "0.50129527", "0.49986815", "0.49872214", "0.49795175", "0.49794674", "0.49785477", "0.49722475", "0.49665508", "0.49596128", "0.4949336", "0.49374688", "0.49344233", "0.49306953", "0.4928615", "0.49114835", "0.49114758", "0.4907113", "0.4906229", "0.4905798", "0.4898427", "0.48961905", "0.48846576", "0.48838615", "0.48812264", "0.4880073", "0.4857676", "0.48529932", "0.48491508", "0.4848314", "0.4841647", "0.48367283", "0.483328", "0.4829453", "0.48186237", "0.48162434", "0.48156828", "0.48127836", "0.48100713", "0.48081014", "0.48075226", "0.48020723", "0.4798972", "0.47947353", "0.47842622", "0.47772083", "0.47739667", "0.4771323", "0.477076", "0.47702175", "0.47691184", "0.4767127", "0.4765562", "0.4764214", "0.4761802", "0.47595686", "0.4752656", "0.4748729", "0.474692", "0.47468874", "0.474258", "0.47425357", "0.47303295", "0.4730251", "0.473012", "0.47287092" ]
0.47454977
94
Delete GPIO Thing Type
public static void migrateGPIOThingType() { ThingTypeTemplate thingTypeTemplateGPIO = getThingTypeTemplateGPIO(); if (thingTypeTemplateGPIO != null) { ThingTypeTemplateService.getInstance().delete(thingTypeTemplateGPIO); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void deleteByType(int type) {\n\t\tsettingDao.deleteByType(type);\n\t}", "@Override\n\tpublic String delFoodType(int typeid) {\n\t\treturn ftb.delFoodType(typeid);\n\t}", "public void removeByType(long typeId);", "@Override\n\tpublic boolean delTypeFood(int typeid) {\n\t\treturn fb.delTypeFood(typeid);\n\t}", "void unsetType();", "public static void destroyType() {\n\t\t\n\t}", "public void evt_DeleteCurrentType(short nType)\r\n {\r\n bts(rh4PickFlags, nType);\r\n\r\n int oil;\r\n CObjInfo oilPtr;\r\n for (oil = 0; oil < rhPtr.rhMaxOI; oil++)\r\n {\r\n oilPtr = rhPtr.rhOiList[oil];\r\n if (oilPtr.oilType == nType)\r\n {\r\n oilPtr.oilEventCount = rh2EventCount;\r\n oilPtr.oilListSelected = -1;\r\n oilPtr.oilNumOfSelected = 0;\r\n }\r\n }\r\n }", "public Integer deletePaymentType(PaymentTypeObject paymentTypeObject) throws AppException;", "public void actionTYPE(Node<TokenAttributes> node) {\n if (node.getChildren().get(0).getNodeData().getText().equals(\"TYPE\")) {\n BIB.removeNode(node);\n }\n }", "private void delete() {\n\n\t}", "WriteRequest delete(PiHandle handle);", "int deleteByPrimaryKey(Integer typeiId);", "DeleteType createDeleteType();", "public static void deleteInstance()\r\n\t{\r\n\t\tlightManager = null;\r\n\t}", "@Override\n\tpublic void deleteMechanicalAssetType(String aMechanicalAssetTypeId) {\n\t}", "public int deleteType(BikeType type){ //Deletes the type according to name and price OBSOLETE?\n final int DELETED = 0;\n final int NOT_DELETED = 1;\n final int NOT_FOUND = 2;\n \n if(!findType(type)){//Type not in database\n return NOT_FOUND;\n }else{\n try(Connection con = DatabaseConnector.getConnection();\n PreparedStatement ps = con.prepareStatement(DELETE_TYPE)){\n \n ps.setString(1, type.getTypeName());\n ps.setDouble(2, type.getRentalPrice());\n ps.executeUpdate();\n return DELETED;\n }catch(Exception e){\n System.out.println(\"Exception: \" + e);\n }\n }\n return NOT_DELETED;\n }", "void delete(String typeName, String id);", "public void deleteAnio()\r\n {\r\n this._has_anio= false;\r\n }", "public void unKingMe() {\r\n this.type = Type.SINGLE;\r\n }", "@Override\n\tpublic int delete(int t) {\n\t\treturn 0;\n\t}", "public void deleteInstance(){\n //cancels the runnable\n shouldCancelRunnable = true;\n //remove the chest from the map to avoid confusion\n this.location.getBlock().setType(Material.AIR);\n //unregister from all events, we're done!\n HandlerList.unregisterAll(this);\n }", "public void removeThing(){\n thing = null;\n }", "public void deleteEpicsData(EpicsType epicsType, int run);", "public void removeInputType(IInputType type);", "@Override\r\n\tpublic void delete(PartyType entity) {\n\t\t\r\n\t}", "void deleteModule(Module module);", "void delete(MountPoint mountPoint);", "@Override\n\tpublic void delete(Room t) {\n\t\t\n\t}", "public void clear_type(String type) {\n\t\t/* Iterate through draw list */\n\t\tIterator<ArrayList<Drawable>> iter = this.drawlist.iterator();\n\t\twhile(iter.hasNext()) {\n\t\t\tArrayList<Drawable> layer = iter.next();\n\t\t\t/* Iterate through the layer. */\n\t\t\tIterator<Drawable> jter = layer.iterator();\n\t\t\twhile(jter.hasNext()) {\n\t\t\t\tif(jter.next().getType().equals(type)) {\n\t\t\t\t\tjter.remove();\n\t\t\t\t}//fi\n\t\t\t}//elihw\n\t\t}//elihw\n\t}", "public boolean delete(@SuppressWarnings(\"rawtypes\") Class type, String key);", "@Override\r\n\tpublic void delete(Plate entity) {\n\t\t\r\n\t}", "@Override\n\tpublic void delete(CelPhone celphone) {\n\t\t\n\t}", "@Override\n\tpublic void deleteByKeyAndType(Setting setting) {\n\t\tsettingDao.deleteByKeyAndType(setting);\n\t}", "private void clearTypeId() {\n \n typeId_ = 0;\n }", "@Override\n\tpublic void delete(Phone phone) {\n\t\t\n\t}", "@Override\n\tpublic void delete(Phone phone) {\n\t\t\n\t}", "void unsetControlType();", "public void deleteLocationType(int id){\n\t\tSQLiteDatabase db = this.getWritableDatabase();\n\t\tdb.delete(table_locationType, key_id + \" = ? \", new String [] { String.valueOf(id) });\n\t\tdb.close();\n\t}", "@Override\r\n\tpublic void deleteTipoTramite(Integer idTipoTramite) {\n\t\t\r\n\t}", "public int removeCustomDevice(String id);", "void deleteAutomatorTypeResourceVersion(String id, String resourceType, String resourceName, String version)\n throws IOException;", "void deleteTrackerLocationGetType(final Integer id);", "public CardCollection destroyCardType(String type) ;", "@Override\n public void deleteItem(P_CK t) {\n \n }", "private Delete() {}", "private Delete() {}", "@Override\n\tpublic void delete() {\n\t\tSystem.out.println(\"no goin\");\n\t\t\n\t}", "public void unsetTypeId()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_element(TYPEID$2, 0);\n }\n }", "public static int deleteMembers(ContentResolver resolver, String where, int type) {\n \tif(type == 1) {\n return resolver.delete(BLACKLIST_URI, where, null);\n \t} else if(type == 2) {\n return resolver.delete(WHITELIST_URI, where, null);\n \t} else {\n return resolver.delete(RECORDLIST_URI, where, null);\n \t}\n }", "@Override\n\t\tpublic void delete() {\n\n\t\t}", "public void removePointer(String iconType){\n addressPointerMap.remove(iconType);\n canvas.repaint();\n }", "void removeIsPersonType(Integer oldIsPersonType);", "private void deleteResource() {\n }", "public void deleteExample(String classKey, int index, String type);", "public static void clearGameType() {\r\n\t\tMain.isThreeHanded = false;\r\n\t\tMain.isFourHandedSingle = false;\r\n\t\tMain.isFourHandedTeams = false;\r\n\t}", "public void delete() {\n\n\t}", "public synchronized void delete() {\n if (this.swigCPtr != 0) {\n if (this.swigCMemOwn) {\n this.swigCMemOwn = false;\n libVisioMoveJNI.delete_VgIRouteGeometryDescriptor(this.swigCPtr);\n }\n this.swigCPtr = 0;\n }\n }", "void deleteActivityType(int id) throws DataAccessException;", "@Override\n\tpublic void delete() {\n\t\t\n\t}", "@Override\n\tpublic void delete() {\n\t\t\n\t}", "@Override\n public void deleted(String pid) {\n ServiceRegistration oldRegistration = registrations.remove(pid);\n if (bundleContext != null) {\n Connect connect = (Connect) bundleContext.getService(oldRegistration.getReference());\n try {\n connect.close();\n } catch (LibvirtException e) {\n LOG.error(\"Error closing libvirt connection\", e);\n }\n }\n if (oldRegistration != null) {\n oldRegistration.unregister();\n }\n }", "@Override\n\tpublic void delete() {\n\n\t}", "org.naru.park.ParkController.CommonAction getDeleteSensor();", "public void delete();", "public void delete();", "public void delete();", "public void delete();", "public void delete();", "public void delete();", "@Override\n\tpublic void delete(CorsoDiLaurea corso) {\n\t\t\n\t}", "public abstract void removeUI(BaseConfigInstance pPCI);", "public abstract void del(Field.RadioData radioData);", "public void clearFirePort();", "@Override\r\n\tpublic void deleteEntity(TypeModePaiement entity) {\n\t\trepository.deleteById(entity.getIdTypeMdp());\r\n\t}", "private void remove() {\n disableButtons();\n clientgui.getClient().sendDeleteEntity(cen);\n cen = Entity.NONE;\n }", "@Override\n\tpublic int deleteImgRoom(int room_id, String type_img) {\n\t\treturn roomDao.deleteImgRoom(room_id, type_img);\n\t}", "Map<String, Object> deleteConfig(Request request, String type, String id);", "@Override\n\tpublic void delete(BatimentoCardiaco t) {\n\t\t\n\t}", "public void deleteState(String type, String state) {\r\n\t\tTaskType tt = getType(type);\r\n\t\tTaskState ts = getState(type, state);\r\n\t\tif (tt != null && ts != null)\r\n\t\t\ttt.states.remove(ts);\r\n\t}", "boolean deletePortMapping(int externalPort, ProtocolEnum protocol) throws NotDiscoverUpnpGatewayException, UpnpException;", "@Delete\n void delete(WellbeingQuestion wellbeingQuestion);", "void unsetPowerBox();", "@Source(\"gr/grnet/pithos/resources/editdelete.png\")\n ImageResource delete();", "public void remove(int type) {\n\t\tint n = check(type);\n\t\tif (n >= 64) {\n\t\t\tn1 &= ~mask(n - 64);\n\t\t} else {\n\t\t\tn0 &= ~mask(n);\n\t\t}\n\t}", "public void deleteByComplement(int id, TripletType type) throws DAOException;", "public abstract void onDeleteAll(final ResourceType type, final int quote);", "@Override\n\tpublic void delete(Facture y) {\n\t\t\n\t}", "public void deleteData(String filename, SaveType type);", "public void removeChild( ChildType child );", "public int deleteByPreferencetypeid(Integer value) throws SQLException \n {\n Connection c = null;\n PreparedStatement ps = null;\n try \n {\n c = getConnection();\n ps = c.prepareStatement(\"DELETE FROM preference WHERE preferencetypeid=?\");\n Manager.setInteger(ps, 1, value);\n return ps.executeUpdate();\n }\n finally\n {\n getManager().close(ps);\n freeConnection(c);\n }\n }", "public void delete(String so_cd);", "@Override\n\tpublic void delete(GalaxyNote galaxynote) {\n\t\t\n\t}", "@Override\r\n\tpublic void remover(Tipo tipo) {\n String sql = \"delete from tipos_servicos where id = ?\";\r\n try {\r\n stmt = conn.prepareStatement(sql);\r\n stmt.setInt(1, tipo.getId());\r\n \r\n stmt.execute();\r\n } catch (SQLException ex) {\r\n ex.printStackTrace();\r\n }\r\n\t}", "public int delOptype(Optype optype) throws Exception {\n\t\treturn mapper.delOptype(optype);\n\t}", "void DevClear (int boardID, short addr);", "boolean delete(Long id, Class<T> type);", "@Override\n public void deleteType(String repositoryId, String typeId, ExtensionsData extension) {\n CmisSpi spi = CmisBindingsHelper.getSPI(session);\n spi.getRepositoryService().deleteType(repositoryId, typeId, extension);\n\n // remove the type from cache\n TypeDefinitionCache cache = CmisBindingsHelper.getTypeDefinitionCache(session);\n cache.remove(repositoryId, typeId);\n }", "public boolean remove(Type t);", "public void unsetRoadwayPI()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n get_store().remove_attribute(ROADWAYPI$18);\r\n }\r\n }", "@Override\n public void delete() {\n }" ]
[ "0.6244056", "0.6177737", "0.6055003", "0.5972264", "0.5952692", "0.5884238", "0.5812935", "0.5742511", "0.5714609", "0.5709589", "0.5703514", "0.5689711", "0.5665825", "0.56640047", "0.56446695", "0.56417495", "0.5633049", "0.56223655", "0.5615948", "0.5614644", "0.5610696", "0.5604169", "0.55994517", "0.5583816", "0.5559544", "0.55550194", "0.55469334", "0.5535884", "0.5514825", "0.5502294", "0.5494324", "0.5469135", "0.5454407", "0.5444781", "0.5443729", "0.5443729", "0.54348093", "0.5390662", "0.5371919", "0.53694916", "0.53694105", "0.5363576", "0.5360921", "0.53570837", "0.53531593", "0.53531593", "0.53325", "0.5326331", "0.5316616", "0.5310818", "0.53103524", "0.5307168", "0.53060496", "0.5304155", "0.53041035", "0.5295774", "0.52871823", "0.5283137", "0.5274634", "0.5274634", "0.5270479", "0.5267039", "0.5262728", "0.52488", "0.52488", "0.52488", "0.52488", "0.52488", "0.52488", "0.5247773", "0.5245923", "0.5231899", "0.52313626", "0.5231328", "0.5228383", "0.52267987", "0.52267766", "0.5220813", "0.5218456", "0.5218361", "0.52166104", "0.5212882", "0.5211045", "0.5200084", "0.5198185", "0.5197453", "0.5193206", "0.519257", "0.51908255", "0.51832145", "0.5182609", "0.51801765", "0.51762354", "0.51747197", "0.51724136", "0.51718336", "0.5168873", "0.5166944", "0.5164032", "0.51596516" ]
0.77991736
0
get GPIO Thing Type Template
public static ThingTypeTemplate getThingTypeTemplateGPIO() { HibernateQuery query = ThingTypeTemplateService.getThingTypeTemplateDAO().getQuery(); return query.where(QThingTypeTemplate.thingTypeTemplate.name.eq("GPIO")) .uniqueResult(QThingTypeTemplate.thingTypeTemplate); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getTemplateTypeValue();", "DataType getType_template();", "public static void migrateGPIOThingType() {\n ThingTypeTemplate thingTypeTemplateGPIO = getThingTypeTemplateGPIO();\n if (thingTypeTemplateGPIO != null) {\n ThingTypeTemplateService.getInstance().delete(thingTypeTemplateGPIO);\n }\n }", "private String getType( )\n\t{\n\t\treturn this.getModuleName( ) + \"$\" + this.getSimpleName( ) + \"$\" + this.getSystem( );\n\t}", "private String getAltRegType() { // TODO - fix Register reference hardcoded in reg defines parm default?\n\t\tString firstChar = regProperties.getId().substring(0, 1);\n\t\t// change case of first character in name to create type\n\t\tString regTypeParam;\n\t\tif (firstChar.equals(firstChar.toUpperCase()))\n\t\t regTypeParam = regProperties.getId().replaceFirst(firstChar, firstChar.toLowerCase()); // change to lc\n\t\telse\n\t\t regTypeParam = regProperties.getId().replaceFirst(firstChar, firstChar.toUpperCase()); // change to uc \n\t\tString regBaseType = regProperties.isReplicated()? \"RegisterArray\" : \"Register\";\n\t\treturn regBaseType + \" #(\" + getAltBlockType() + \"::\" + regTypeParam + \")\"; // TODO - make parameterizable, getAddressMapName() + \"_\" + regProperties.getBaseName() + \"_t\" \n\t}", "String getTemplate();", "String getTileType();", "private String getType(){\r\n return type;\r\n }", "public static final String getTypeNamePartString(int itemTemplateId) {\n/* 607 */ String toReturn = \"Focus\";\n/* 608 */ int rand = Server.rand.nextInt(10);\n/* 609 */ toReturn = getTypeNamePartStringWithPart(itemTemplateId, rand);\n/* 610 */ return toReturn;\n/* */ }", "String getType();", "String getType();", "String getType();", "String getType();", "String getType();", "String getType();", "String getType();", "String getType();", "String getType();", "String getType();", "String getType();", "String getType();", "String getType();", "String getType();", "String getType();", "String getType();", "String getType();", "String getType();", "String getType();", "String getType();", "String getType();", "String getType();", "String getType();", "String getType();", "String getType();", "public int getType() {\n\t\treturn (config >> 2) & 0x3F;\n\t}", "public static String getType() {\n type = getProperty(\"type\");\n if (type == null) type = \"png\";\n return type;\n }", "@Theme int getType();", "public String type();", "String provideType();", "String type();", "String type();", "String type();", "String type();", "String type();", "String type();", "String type();", "String type();", "String type();", "String type();", "String type();", "String type();", "String type();", "String type();", "String type();", "String type();", "String type();", "String type();", "String type();", "String type();", "public String Type()\t{\r\n\t\treturn BrickFinder.getDefault().getType();\r\n\t}", "public String giveType(){\n if(isFull==false){\n return \"notfilled\";\n }\n else if(type==TYPE.BLACK){\n return \"BLACK\";\n }else{\n return \"WHITE\";\n }\n }", "java.lang.String getType();", "java.lang.String getType();", "java.lang.String getType();", "java.lang.String getType();", "java.lang.String getType();", "java.lang.String getType();", "java.lang.String getType();", "java.lang.String getType();", "java.lang.String getType();", "java.lang.String getType();", "java.lang.String getType();", "java.lang.String getType();", "java.lang.String getType();", "public String type(){\n\t\treturn type;\n\t}", "public String getType(){\r\n return type;\r\n }", "public String getType() { return type; }", "private static String getStringByType(int type)\n {\n switch(type){\n case RingtoneManager.TYPE_ALARM:\n return Settings.System.ALARM_ALERT;\n case RingtoneManager.TYPE_NOTIFICATION:\n return Settings.System.NOTIFICATION_SOUND;\n case RingtoneManager.TYPE_RINGTONE:\n return Settings.System.RINGTONE;\n default:\n return null;\n }\n }", "public int getType() { return type; }", "public int getType() { return type; }", "public String getType() {return type;}", "String getDefaultType();", "String getTYPE() {\n return TYPE;\n }", "public String getType();", "public String getType();", "public String getType();", "public String getType();", "public String getType();", "public String getType();", "public String getType();", "public String getType();", "public String getType();", "public String getType();", "public String getType();", "public String getType();", "public String getType();", "String getTypeAsString();", "@Override\n public String toString ()\n {\n return \"type = \" + type;\n }", "String getType() {\n return type;\n }", "int getType();" ]
[ "0.64112264", "0.6348152", "0.61875147", "0.61547357", "0.5993273", "0.58909905", "0.58279335", "0.5804653", "0.57742226", "0.5722509", "0.5722509", "0.5722509", "0.5722509", "0.5722509", "0.5722509", "0.5722509", "0.5722509", "0.5722509", "0.5722509", "0.5722509", "0.5722509", "0.5722509", "0.5722509", "0.5722509", "0.5722509", "0.5722509", "0.5722509", "0.5722509", "0.5722509", "0.5722509", "0.5722509", "0.5722509", "0.5722509", "0.5722509", "0.5679447", "0.56707746", "0.5647784", "0.5614002", "0.5602166", "0.55901104", "0.55901104", "0.55901104", "0.55901104", "0.55901104", "0.55901104", "0.55901104", "0.55901104", "0.55901104", "0.55901104", "0.55901104", "0.55901104", "0.55901104", "0.55901104", "0.55901104", "0.55901104", "0.55901104", "0.55901104", "0.55901104", "0.55901104", "0.55413204", "0.55325335", "0.5487766", "0.5487766", "0.5487766", "0.5487766", "0.5487766", "0.5487766", "0.5487766", "0.5487766", "0.5487766", "0.5487766", "0.5487766", "0.5487766", "0.5487766", "0.5478154", "0.5470164", "0.54484284", "0.5442725", "0.5434443", "0.5434443", "0.5417032", "0.54159707", "0.54025644", "0.53890467", "0.53890467", "0.53890467", "0.53890467", "0.53890467", "0.53890467", "0.53890467", "0.53890467", "0.53890467", "0.53890467", "0.53890467", "0.53890467", "0.53890467", "0.5384475", "0.53616446", "0.53588724", "0.53570724" ]
0.7678673
0
An English text needs to be encrypted using the following encryption scheme. First, the spaces are removed from the text. Let L be the length of this text. Then, characters are written into a grid, whose rows and columns have the following constraints: 1. Ceil.L==L
public static void main(String[] args) { String s= "haveaniceday"; s=s.replaceAll(" ", ""); int column= (int) Math.ceil(Math.sqrt(s.length())); int row= (int) Math.floor(Math.sqrt(s.length())); // int i=0, j=0; // while(j<(s.length()-columnCeil)){ // matrix[i]=s.substring(j, j+columnCeil); // j+=columnCeil; // i++; // } // matrix[i]= s.substring(j, s.length()); if(column * row >= s.length()){ encrypt(s, row, column); }else{ row= column+1; encrypt(s, row, column); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void encryptText() {\n\n ArrayList<Character> punctuation = new ArrayList<>(\n Arrays.asList('\\'', ':', ',', '-', '-', '.', '!', '(', ')', '?', '\\\"', ';'));\n\n for (int i = 0; i < text.length(); ++i) {\n\n if (punctuation.contains(this.text.charAt(i))) {\n\n // only remove punctuation if not ? or . at the very end\n if (!((i == text.length() - 1) && (this.text.charAt(i) == '?' || this.text.charAt(i) == '.'))) {\n this.text.deleteCharAt(i);\n\n // go back to previous position since current char was deleted,\n // meaning the length of the string is now 1 less than before\n --i;\n }\n }\n }\n \n \n // Step 2: convert phrase to lowerCase\n\n this.setText(new StringBuilder(this.text.toString().toLowerCase()));\n\n \n // Step 3: split the phrase up into words and encrypt each word separately using secret key\n\n ArrayList<String> words = new ArrayList<>(Arrays.asList(this.text.toString().split(\" \")));\n\n \n // Step 3.1:\n\n ArrayList<Character> vowels = new ArrayList<>(Arrays.asList('a', 'e', 'i', 'o', 'u'));\n\n for (int i = 0; i < words.size(); ++i) {\n\n // if first char is vowel, add y1x3x4 to the end of word\n if (vowels.contains(words.get(i).charAt(0))) \n words.set(i, words.get(i).substring(0, words.get(i).length()) + this.secretKey.substring(3, 6));\n\n // otherwise, move first char to end of the word, then add x1x2 to the end of word\n else \n words.set(i, words.get(i).substring(1, words.get(i).length()) + words.get(i).charAt(0) + this.secretKey.substring(0, 2));\n }\n\n StringBuilder temp = new StringBuilder(\"\");\n\n for (String word : words)\n temp.append(word + \" \");\n\n this.setText(temp);\n\n \n // Step 3.2:\n\n // go through entire phrase\n for (int i = 0; i < this.getText().length(); ++i) {\n\n // if position is a multiple of z, insert the special char y2\n if ((i % Character.getNumericValue(this.secretKey.charAt(7)) == 0) && (i != 0)) {\n this.getText().replace(0, this.getText().length(), this.getText().substring(0, i) + this.secretKey.charAt(8)\n + this.getText().substring(i, this.getText().length()));\n }\n }\n \n }", "private static String encrypt(String str) {\n\n String result = \"\";\n\n /* STEP 1: remove spaces */\n str = str.replaceAll(\"\\\\s+\", \"\");\n\n /* STEP 2: calculate dimensions */\n double dim = Math.sqrt(str.length());\n int rows = (int) Math.floor(dim);\n int columns = (int) Math.ceil(dim);\n\n /* STEP 3: check dimensions */\n if(columns*rows < str.length()) {\n if(columns > rows) {\n rows = columns;\n } else {\n columns = rows;\n }\n }\n\n /* STEP 4: build resulting string from column and index offset */\n for(int i = 0; i < columns; i++) {\n for(int j = 0; j < rows; j++) {\n if(j*columns+i < str.length())\n result += str.charAt(j*columns+i);\n }\n if(i < columns-1)\n result += \" \";\n }\n\n return result;\n }", "public String originalText(String cipher_text, String key)\n{\n String orig_text=\"\";\n \n for (int i = 0 ; i < cipher_text.length() && \n i < key.length(); i++)\n {\n if(cipher_text.charAt(i) == ' ' || cipher_text.charAt(i) == '\\n')\n orig_text+=cipher_text.charAt(i);\n else{\n // converting in range 0-25\n int x = (cipher_text.charAt(i) - \n key.charAt(i) + 26) %26; \n // convert into alphabets(ASCII)\n x += 'A';\n orig_text+=(char)(x);\n }\n }\n return orig_text;\n}", "public String encrypt(String geheimtext);", "public String cipherText(String str, String key)\n{\n String cipher_text=\"\";\n \n for (int i = 0; i < str.length(); i++)\n {\n // converting in range 0-25\n if(str.charAt(i) == ' ' || str.charAt(i) == '\\n')\n cipher_text+= str.charAt(i);\n else{ \n int x = (str.charAt(i) + key.charAt(i)) %26;\n // convert into alphabets(ASCII)\n x += 'A';\n \n cipher_text+=(char)(x);}\n }\n return cipher_text;\n}", "public static String encryption(String s) {\n // Extract valid charcters (a-z) from s\n StringBuffer src = new StringBuffer();\n int L = 0; // # of valid characters\n for (int i = 0; i < s.length(); i++) {\n char c = s.charAt(i);\n if (c != ' ') { // not empty space\n src.append(c);\n L += 1;\n }\n }\n\n // find floor(sqrt(L)) & ceiling(sqrt(L))\n int n = 2;\n while (n*n < L) {\n n += 1;\n }\n // m <= sqrt(L) <= n\n\n StringBuffer result = new StringBuffer();\n for (int j = 0; j < n; j++) {\n for (int k = j; k < L; k += n) {\n result.append(src.charAt(k));\n }\n if (j != n-1) { // last set, no need to add space at end\n result.append(' ');\n }\n }\n\n return result.toString();\n }", "public String encrypt(String text) {\n\t\t\n\t\t//If key is shorter than the text, repeat keyword along length of text\n\t\tif(key.length() < text.length()) {\n\t\t\trepeatKey(text);\n\t\t}\n\t\t\n\t\ttext = text.toLowerCase();\t\t\n\t\tStringBuilder sb = new StringBuilder();\n\t\t\n\t\tfor(int i = 0 ; i < text.length(); i++) {\n\t\t\tchar textLetter = text.charAt(i);\n\t\t\tchar keyLetter = key.charAt(i);\n\t\t\t\t\t\t\n\t\t\t//Char to encode's position in alphabet\n\t\t\tint textCharacterIndex = alphabet.indexOf(textLetter);\n\t\t\t\n\t\t\t//Only encrypt letters\n\t\t\tif(Character.isLetter(textLetter)) {\n\t\t\t\t\n\t\t\t\t//If character is in the second half of cipher A-M\n\t\t\t\tif(charMap.get(textLetter) > 12 && charMap.get(textLetter) <= 25) {\n\t\t\t\t\t\n\t\t\t\t\tint keyValue = charMapKey.get(keyLetter);\n\t\t\t\t\tString cipher = shiftLeft(baseCipherRHS, keyValue);\t\t\t\t\t\n\t\t\t\t\tsb.append(cipher.charAt(textCharacterIndex % 13));\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tint keyValue = charMapKey.get(keyLetter);\n\t\t\t\t\tString cipher = shiftRight(baseCipherLHS, keyValue);\n\t\t\t\t\tsb.append(cipher.charAt(textCharacterIndex % 13));\n\t\t\t\t}\n\t\t\t}\n\t\t\telse {\n\t\t\t\tsb.append(text.charAt(i));\n\t\t\t}\t\t\t\t\t\n\t\t}\n\t\t\n\t\treturn sb.toString();\n\t}", "public static String encrypt(String text) {\r\n\t\tString modifiedText = \"\";\r\n\t\tchar character;\r\n\t\tint code = 0;\r\n\t\tfor (int i = 0; i < text.length(); i++) {\r\n\t\t\tcharacter = text.charAt(i);\r\n\t\t\tcode = character + 7;\r\n\t\t\tcharacter = (char) code;\r\n\t\t\tmodifiedText += Character.toString(character);\r\n\t\t}\r\n\t\treturn modifiedText;\r\n\t}", "static String encryption(String s) {\n\n s = s.replaceAll(\" \",\"\");\n StringBuffer sb = new StringBuffer(s);\n int len = sb.length();\n int L = (int)Math.floor(Math.sqrt(len));\n int M = (int)Math.ceil(Math.sqrt(len));\n int p = M;\n List<String> list = new ArrayList<>();\n for (int i = 0; i < sb.length();) {\n if(i+M < sb.length()){\n list.add(sb.substring(i, i+M));\n }else{\n list.add(sb.substring(i, len));\n }\n i=i+M;\n }\n\n StringBuffer[] tps = new StringBuffer[M];\n for (int i = 0; i < M ; i++) {\n StringBuffer tpsi = new StringBuffer();\n for (String str:\n list) {\n if(i < str.length())\n tpsi.append(str.charAt(i));\n }\n tps[i] = tpsi;\n }\n\n StringBuffer ans = new StringBuffer();\n for (StringBuffer str:\n tps) {\n ans.append(str.toString()+\" \");\n }\n return ans.toString();\n }", "public String encrypt(String plainText);", "public String encrypt() {\n StringBuilder encryptedText = new StringBuilder();\n //Make sure the key is valid.\n if (key < 0 || key > 25) {\n Log.d(\"TAG\", \"encrypt: Error in Keu=y \");\n return \"Key Must be 0 : 25\";\n }\n if (plaintext.length() <= 0) {\n Log.d(\"TAG\", \"encrypt: Error in Plain\");\n return \"Error in Plaintext\";\n }\n //Eliminates any whitespace and non alpha char's.\n plaintext = plaintext.trim();\n plaintext = plaintext.replaceAll(\"\\\\W\", \"\");\n if (plaintext.contains(\" \")) {\n plaintext = plaintext.replaceAll(\" \", \"\");\n }\n //Makes sure that all the letters are uppercase.\n plaintext = plaintext.toUpperCase();\n Log.i(\"Caesar\", \"encrypt: plainis : \" + plaintext);\n for (int i = 0; i < plaintext.length(); i++) {\n char letter = plaintext.charAt(i);\n if (charMap.containsKey(letter) && charMap.get(letter) != null) {\n int lookUp = (charMap.get(letter) + key) % 26;\n encryptedText.append(encryptionArr[lookUp]);\n }\n }\n Log.d(\"Caesar.java\", \"encrypt: the Data is \" + encryptedText.toString());\n return encryptedText.toString();\n }", "public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\r\n System.out.println(\"Enter The Cipher Text Here\");\r\n String cipherText= input.nextLine();\r\n //remove all spaces from input string\r\n String CTremovingSpaces = cipherText.replaceAll(\"\\\\s\", \"\");\r\n //convert the input string into UpperCase letters\r\n CTremovingSpaces = CTremovingSpaces.toUpperCase();\r\n //remove all special characters from the input String\r\n System.out.println(CTremovingSpaces.replaceAll(\"[^a-zA-Z0-9]\", \"\"));\r\n \r\n //create object of class indexOfCharacters\r\n indexOfCharacters indexOfDecryptedText = new indexOfCharacters();\r\n \r\n // loop for characters\r\n for(int i =0; i<26; i++){\r\n //variable to hold the results of PlainText\r\n String plainText=\"\";\r\n //key\r\n int key = i;\r\n //loop for final cipher text after removing spaces and special characters\r\n for(int j=0; j<CTremovingSpaces.length();j++){\r\n //display the character of CTRS then display its index in characters in class indxofchar.\r\n int index=indexOfDecryptedText.indexOf(CTremovingSpaces.charAt(j));\r\n \r\n if(index == -1){\r\n System.out.println(\"the character does not occur\");\r\n }\r\n if((index-key)>=0)\r\n {\r\n //display the character that output from index-key then store it in plainText\r\n plainText+=indexOfDecryptedText.charAt(index-key);\r\n }\r\n else\r\n {\r\n plainText+=indexOfDecryptedText.charAt((index-key)+26);\r\n }\r\n } \r\n \r\n System.out.println(\"The Plain Text using Key \" + key + \": \" + plainText);\r\n \r\n //convert the string of PlainText into character array\r\n char[] characters2= plainText.toCharArray();\r\n //store the length of the array\r\n int lengthOfArray = characters2.length;\r\n int aCount = 0;\r\n int eCount = 0;\r\n int tCount = 0;\r\n int oCount = 0;\r\n for(int x = 0; x < lengthOfArray; x++)\r\n\r\n {\r\n char characters = characters2[x];\r\n switch (characters) \r\n {\r\n case 'A': \r\n aCount++;\r\n break;\r\n case 'E': \r\n eCount++;\r\n break; \r\n case 'T': \r\n tCount++;\r\n break; \r\n case 'O': \r\n oCount++;\r\n break;}\r\n \r\n }\r\n System.out.println(\"Character of A = \" + aCount);\r\n System.out.println(\"Character of E = \" + eCount);\r\n System.out.println(\"Character of T = \" + tCount);\r\n System.out.println(\"Character of O = \" + oCount);\r\n int sum; \r\n sum = aCount + eCount + tCount + oCount;\r\n System.out.println(\"The sum of AETO = \" + sum);\r\n ///the program will display the count numbers of AETO then calculate the sum of these numbers\r\n ///the greatest number of the sum of AETO will be the plain text (based on cryptanalysis)\r\n \r\n \r\n }}", "private static void encrypt(String string, int row, int column) {\n\t\tfor(int i=0; i< column; i++){\n\t\t\tint index=i;\n\t\t\tfor(int j=0; j< row; j++){\n\t\t\t\tif(index <= string.length()-1)\n\t\t\t\t\tSystem.out.print(string.charAt(index));\n\t\t\t\tindex+=column;\n\t\t\t}\n\t\t\tSystem.out.print(\" \");\n\t\t}\n\t}", "public static String encryptBellaso(String plainText, String bellasoStr) {\r\n\t\tString encryptedText = \"\";\r\n\t\t\r\n\t\tchar [] enText = new char[plainText.length()];\r\n\t\t\r\n\t\t\r\n\t mappingKeyToMessage(bellasoStr,plainText);\r\n\t \r\n\t char [] plText = plainText.toCharArray();\r\n\t\tchar [] blText = bellasoStr.toCharArray();\r\n\t\t\r\n\t\tint i=0;\r\n\t\tint sum = 0;\r\n\t\t\r\n\t\tsum = sum + plText[i];\r\n\t\tsum = sum + blText[1];\r\n\t\tsum -= RANGE;\r\n\t\tSystem.out.print(sum);\r\n\t\tdo {\r\n\t\t\tfor(char m: plText) {\r\n\t\t\t\r\n\t\t\t\tif (sum >95) {\r\n\t\t\t\t\tsum -= RANGE;\r\n\t\t\t\t\tm += sum;\r\n\t\t\t\t\ti++;\r\n\t\t\t\t}else {\r\n\t\t\t\t\tm +=sum;\r\n\t\t\t\t\tenText[i] = m;\r\n\t\t\t\t\ti++;\r\n\t\t\t\t}\t\r\n\t\t\t}\r\n\t\t}while(i<plainText.length());\r\n\t\tencryptedText = String.valueOf(enText);\r\n\t\t\r\n\t \r\n\t return encryptedText; \r\n\t}", "void decryptCode() {\n StringBuilder temp = new StringBuilder(\"\");\n\n // go through entire phrase\n for (int i = 0; i < this.getText().length(); ++i) {\n\n // append char to temp if char at i is not a multiple of z\n if (!(i % Character.getNumericValue(this.secretKey.charAt(7)) == 0) || i == 0)\n temp.append(this.getText().charAt(i));\n }\n\n this.setText(temp);\n\n \n // Step 2:\n\n // split phrase up into words\n ArrayList<String> words = new ArrayList<>(Arrays.asList(this.text.toString().split(\" \")));\n\n for (int i = 0; i < words.size(); ++i) {\n\n // if y1x3x4 is at the end of the word, remove it from word\n \n if (words.get(i).substring(words.get(i).length() - 3, words.get(i).length())\n .equals(this.getSecretKey().substring(3, 6)))\n words.set(i, words.get(i).substring(0, words.get(i).length() - 3));\n\n // if x1x2 is at the end of the word\n else {\n // remove x1x2 from end\n words.set(i, words.get(i).substring(0, words.get(i).length() - 2));\n \n // move last char to beginning\n words.set(i, words.get(i).charAt(words.get(i).length() - 1) + words.get(i).substring(0, words.get(i).length() - 1));\n }\n }\n\n temp = new StringBuilder(\"\");\n\n for (String word : words)\n temp.append(word + \" \");\n\n this.setText(temp);\n }", "private String encryptMessage(String message) {\n int MESSAGE_LENGTH = message.length();\n //TODO: throw SizeTooBigException for message requirements\n if(MESSAGE_LENGTH > 1300){\n\n throw new SizeTooBigException();\n }\n\n final int length = message.length();\n String encryptedMessage = \"\";\n for (int i = 0; i < length; i++) {\n //TODO: throw InvalidCharacterException for message requirements\n int m = message.charAt(i);\n int k = this.kissKey.keyAt(i) - 'a';\n int value = m ^ k;\n encryptedMessage += (char) value;\n }\n return encryptedMessage;\n }", "private String encrypt (String password){\r\n String encrypted = \"\";\r\n char temp;\r\n int ASCII;\r\n //For each letter in password.\r\n for (int i = 0; i < password.length(); i++){\r\n temp = password.charAt(i);\r\n ASCII = (int) temp;\r\n //If the letter is a character.\r\n if (ASCII >= 32 && ASCII <= 127){\r\n int x = ASCII - 32;\r\n x = (x + 6) % 96; /*Mod the characters so that it cannot go over the amount.\r\n The letters are all shifted plus 6 characters along. */\r\n encrypted += (char) (x + 32);\r\n }\r\n }\r\n return encrypted;\r\n }", "private static String encrypt(String in){\n\n\t String alphabet = \"1234567890\";\n\n\t String scramble1 = \"<;\\'_$,.?:|)\";\n\t String scramble2 = \"XYZVKJUTHM\";\n\t String scramble3 = \"tuvwxyz&*}\";\n\t String scramble4 = \"~!-+=<>%@#\";\n\t String scramble5 = \"PUDHCKSXWZ\";\n\n\t char messageIn[] = in.toCharArray();\n\t String r = \"\";\n\n\t for(int i = 0; i < in.length(); i++){\n\n\t int letterIndex = alphabet.indexOf(in.charAt(i));\n\n\t if(i % 3 == 0){\n\t r += scramble1.charAt(letterIndex);\n\t }else if (i % 3 == 1){\n\t \tr += scramble2.charAt(letterIndex);\n\t }else if(i % 3 == 2){\n\t \tr += scramble3.charAt(letterIndex);\n\t }\n\t }\n\t\t\t\tSystem.out.println(\"--------------------------------------------------------------------------------------------\");\n\t\t\t\tSystem.out.println(\" Encoded Message: \" + r);\n\t\t\t\tSystem.out.println(\"--------------------------------------------------------------------------------------------\\n\\n\");\n\t\treturn r;\n\t}", "public TextAreaEntropy(String text, int rows, int columns) {\r\n super(text, rows, columns);\r\n initComponents();\r\n }", "Encryption encryption();", "@Test\n public void defaultEncoding() throws SecureCellException {\n String passphrase = \"\\u6697\\u53F7\";\n SecureCell.Seal cellA = SecureCell.SealWithPassphrase(passphrase);\n SecureCell.Seal cellB = SecureCell.SealWithPassphrase(passphrase.getBytes(StandardCharsets.UTF_8));\n byte[] message = \"All your base are belong to us!\".getBytes(StandardCharsets.UTF_8);\n\n byte[] encrypted = cellA.encrypt(message);\n byte[] decrypted = cellB.decrypt(encrypted);\n\n assertArrayEquals(message, decrypted);\n }", "public void encrypt(String s)\n\t{\n\t\tconvertToNum(s);\n\t\tfor(int i = 0; i < myMessage.length; i++)\n\t\t{\n\t\t\tmyView.setEncryptText((myMessage[i].modPow(E, publicKey)).toString() + \" \");\n\t\t}\n\t}", "public String encrypt(String word) {\n char[] encrypted = word.toCharArray();\n for (int i = 0; i < encrypted.length; i++){\n if (encrypted[i] == 'x' || encrypted[i] == 'y' || encrypted[i] == 'z'){\n encrypted[i] -= 23;\n } else {\n encrypted[i] += 3;\n }\n \n }\n String encryptedResult = new String(encrypted);\n return encryptedResult;\n }", "public static String encrypt(String message) {\n\t\tStringBuilder encryption = new StringBuilder();\n\t\tfor(int i=0;i<message.length();i++) {\n\t\t\tchar letter = message.charAt(i);\n\t\t\tif(letter >= 'a' && letter <= 'm') {\n\t\t\t\tletter +=13;\n\t\t\t}if(letter >= 'n' && letter <= 'z') {\n\t\t\t\tletter -=13;\n\t\t\t}if(letter >= 'A' && letter <= 'M') {\n\t\t\t\tletter +=13;\n\t\t\t}if(letter >= 'N' && letter <= 'Z') {\n\t\t\t\tletter -=13;\n\t\t\t}encryption.append(letter);\n\t\t}\n\t\treturn encryption.toString();\n\t}", "private String teaEncrypt(String plaintext, String password) {\n if (plaintext.length() == 0) {\n return (\"\"); // nothing to encrypt\n }\n // 'escape' plaintext so chars outside ISO-8859-1 work in single-byte packing, but keep\n // spaces as spaces (not '%20') so encrypted text doesn't grow too long (quick & dirty)\n String asciitext = plaintext;\n int[] v = strToLongs(asciitext); // convert string to array of longs\n\n if (v.length <= 1) {\n int[] temp = new int[2];\n temp[0] = 0; // algorithm doesn't work for n<2 so fudge by adding a null\n temp[1] = v[0];\n v = temp;\n }\n int[] k = strToLongs(password.substring(0, 16).toLowerCase()); // simply convert first 16 chars of password as\n // key\n int n = v.length;\n\n // int z = v[n - 1], y = v[0], delta = 0x9E3779B9;\n // int mx, e, q = (int) Math.floor(6 + 52 / n), sum = 0;\n int z = v[n - 1];\n int y = v[0];\n int delta = 0x9E3779B9;\n int mx;\n int e;\n int q = (int) Math.floor(6 + 52 / n);\n int sum = 0;\n\n while (q-- > 0) { // 6 + 52/n operations gives between 6 & 32 mixes on each word\n sum += delta;\n e = sum >>> 2 & 3;\n for (int p = 0; p < n; p++) {\n y = v[(p + 1) % n];\n mx = (z >>> 5 ^ y << 2) + (y >>> 3 ^ z << 4) ^ (sum ^ y) + (k[p & 3 ^ e] ^ z);\n z = v[p] += mx;\n }\n }\n\n String ciphertext = longsToHexStr(v);\n\n return ciphertext;\n }", "public String encrypt(String message) {\t\n\n\t\tchar [] letters = new char [message.length()];\n\t\tString newMessage = \"\";\n\n\t\t//create an array of characters from message\n\t\tfor(int i=0; i< message.length(); i++){\n\t\t\tletters[i]= message.charAt(i);\n\t\t}\n\n\t\tfor(int i=0; i<letters.length; i++){\n\t\t\tif(Character.isLetter(letters[i])){ //check to see if letter\n\t\t\t\tif(Character.isUpperCase(letters[i])){ //check to see if it is uppercase\n\t\t\t\t\tnewMessage += letters[i]; //add that character to new string\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\n\t\t//this creates an array with the numbers that are keys \n\t\tint [] numberOfLetters = new int[newMessage.length()];\n\t\tString alphabet = \"ABCDEFGHIJKLMNOPQRSTUVWXYZ\";\n\n\t\tfor(int i=0; i< newMessage.length(); i++){\n\t\t\tfor(int j=0; j< alphabet.length(); j++){\n\t\t\t\tif(newMessage.charAt(i) == alphabet.charAt(j)){ //if they have the same letter\n\t\t\t\t\tnumberOfLetters[i]=j+1;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\n\n\t\t//creates an array of the keys\n\t\tint [] key = new int[numberOfLetters.length];\n\t\tint keys;\n\t\tfor(int i=0; i< numberOfLetters.length; i++){\n\t\t\tkeys = getKey();\n\t\t\tkey[i] = keys;\n\t\t}\n\t\n\t\t//create an array for what we encrypted \n\t\tint [] encryptNum = new int[key.length];\n\t\tfor(int i=0; i< key.length; i++){\n\t\t\tint value = numberOfLetters[i] + key[i];\n\t\t\tif(value > 26){\n\t\t\t\tvalue = value-26;\n\t\t\t\tencryptNum[i]= value;\n\t\t\t}else{\n\t\t\t\tencryptNum[i]= value;\n\t\t\t}\n\t\t}\n\n\t\t//turn encryption into letters \n\t\tString encrypt = \"\";\n\t\tchar [] let = new char [encryptNum.length];\n\n\t\tfor(int i=0; i< encryptNum.length; i++){\n\t\t\tint x = encryptNum[i]-1;\n\t\t\tlet[i] = alphabet.charAt(x);\n\t\t}\n\n\t\tfor(int j=0; j< let.length; j++){\n\t\t\tencrypt += let[j];\n\t\t}\n\n\t\t// COMPLETE THIS METHOD\n\t\t// THE FOLLOWING LINE HAS BEEN ADDED TO MAKE THE METHOD COMPILE\n\n\t\treturn encrypt;\n\t}", "public synchronized void encryptText() {\n setSalt(ContentCrypto.generateSalt());\n try {\n mText = ContentCrypto.encrypt(mText, getSalt(), Passphrase.INSTANCE.getPassPhrase().toCharArray());\n } catch (Exception e) {\n e.printStackTrace();\n }\n\n }", "public String encrypt(String text) {\n return content.encrypt(text);\n }", "@RequiresApi(api = Build.VERSION_CODES.KITKAT)\n private char encryptLetter(char keyLetter, char plaintextLetter) {\n\n //if not alpha, return unchanged\n if(!Character.isAlphabetic(plaintextLetter)){\n return plaintextLetter;\n }\n\n //convert to upper case for case-insensitivity while looking\n //up in the table\n keyLetter = Character.toUpperCase(keyLetter);\n char plaintextLetterToUpper = Character.toUpperCase(plaintextLetter);\n\n //to leave case unchanged\n if(Character.isUpperCase(plaintextLetter)) {\n return tabulaRecta[keyLetter-65][plaintextLetter-65];\n }\n\n return Character.toLowerCase(tabulaRecta[keyLetter-65][plaintextLetterToUpper-65]);\n }", "public void testCaesar(){\n String msg = \"At noon be in the conference room with your hat on for a surprise party. YELL LOUD!\";\n \n /*String encrypted = encrypt(msg, key);\n System.out.println(\"encrypted \" +encrypted);\n \n String decrypted = encrypt(encrypted, 26-key);\n System.out.println(\"decrypted \" + decrypted);*/\n \n \n String encrypted = encrypt(msg, 15);\n System.out.println(\"encrypted \" +encrypted);\n \n }", "public void encrypt() {\n // JOptionPane.showMessageDialog(null, \"Encrypting ... Action-Type = \" + DES_action_type);\n int[] flipped_last2_cipher_rounds = new int[64];\n for (int i = 0; i < 32; i++) {\n flipped_last2_cipher_rounds[i] = DES_cipher_sequence[17][i];\n flipped_last2_cipher_rounds[32 + i] = DES_cipher_sequence[16][i];\n }\n DES_ciphertext = select(flipped_last2_cipher_rounds, FP);\n }", "String decrypt(String text) {\n\t\tchar letter;\n\t\tString finalString = \"\";\t\t\t\t\t// slutliga klartexten\n\t\tint start = key.getStart();\t\t\t\t\t// deklarerar nyckelns startläge\n\t\tint k ;\t\t\t\t\t\t\t\t\t\t// variabel för bokstavens startläge i vanliga alfabetet\n\t\tStringBuilder sb = new StringBuilder();\t\t\t\t\t// skapar en stringbuilder som kan modifieras, bygger upp textsträngar av olika variabler\n\t\t\t\t\t\t\n\t\t// loopen går igenom alla tecken i min krypterade text \t\t\t\n\t\tfor(int i = 0; i < text.length(); i++) {\t\t\t// for-loop för att gå igenom hela texten\t\t\t\t\n\t\t\tletter = text.charAt(i);\t\t\t\t\t\t// ger bokstaven på platsen 0,1,2,3.....\n\t\t\tif(letter == ' ') {\t\t\t\t\t\t\t\t// om det är ett blanktecken så ska det vara ett blanktecken\n\t\t\t\tsb.append(' ');\t\t\t\t\t\t\t\t// sparar blanksteg i en stringBuilder\n\t\t\t} else {\n\t\t\t\tint index=0;\n\t\t\t\tstart=start%26;\t\t\t\t\t\t\t\t// vi behöver endast 26 värden\n\t\t\t\tkey.getStart();\n\n\t\t\t\t\n\t\t\t\twhile(index<26 &&(letter!=key.getLetter(index))) {\t\t// så länge som chiffret inte motsvarar förskjutningen\n\t\t\t\t\tindex++;\t\t\t\t\t\t\t\t\t\t\t// så fortsätter den leta\n\t\t\t\t} \n\t\t\t\t\n\t\t\t\tk=index-start;\n\t\t\t\t\n\t\t\t\tif(k>=0)\n\t\t\t\t\tletter=(char)('A'+k);\n\t\t\t\telse letter=(char)('Z'-(start-1-index));\t\t\t\t// räknar från index, om index mindre än start så räknar den bakåt\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// så att det inte blir tokigt mellan Z och A.\n\t\t\t\t\n\t\t\t\tsb.append(letter);\t\t\t\t\t\t\t\t\t\t//lagrar bokstav i stringBuilder\n\t\t\t\tstart++;\t\t\t\t\t\t\t\t\t\t\t\t//chiffret börjar om\n\t\t\t\t\n\t\t\t}\n\t\t\t\t\t\t\n\t\t\n\t\t\t}\n\t\treturn sb.toString();\t\t\t\t\t\t\t\t\t\t// returnerar sluttexten\n\t\t}", "public static String encryptBellaso(String plainText, String bellasoStr) {\r\n\t\t// Variables\r\n\t\tString encrypted = \"\"; // Encrypted string, needs to be built character by character\r\n\t\tint bl = bellasoStr.length(); // Belasso string length\r\n\t\tint ub = (int) UPPER_BOUND; // Upper bound character turned into index int\r\n\t\t\r\n\t\t// Loops\r\n\t\tfor (int i = 0; i < plainText.length(); i++) {\r\n\t\t\t// Variables\r\n\t\t\tchar c = plainText.charAt(i);\r\n\t\t\tint ec = (int)c + (int)bellasoStr.charAt(i % bl);\r\n\t\t\t\r\n\t\t\t// Loops\r\n\t\t\twhile (ec > ub) { ec -= RANGE; }\r\n\t\t\t\r\n\t\t\t// Append to string\r\n\t\t\tencrypted += (char) ec;\r\n\t\t}\r\n\t\t\r\n\t\t// Return\r\n\t\treturn encrypted;\r\n\t}", "public static String encryptCaesar(String plainText, int key) {\r\n\t\t// Checks\r\n\t\tif (!stringInBounds(plainText)) { return \"\"; } // If the string is not in bounds, return a empty string\r\n\t\t//if (plainText.length() <= 0) { return \"\"; }\r\n\t\t\r\n\t\t// Variables\r\n\t\tString encrypted = \"\"; // Encrypted string, to be built, char by char\r\n\t\t\r\n\t\t// Loops\r\n\t\tfor (int i = 0; i < plainText.length(); i++) {\r\n\t\t\t// Variables\r\n\t\t\tchar c = plainText.charAt(i); // Decrypted character at index i of string plainText\r\n\t\t\tint ec = (int)c + key;\r\n\t\t\t\r\n\t\t\t// Loops\r\n\t\t\twhile (ec > UPPER_BOUND) { ec -= RANGE; }\r\n\t\t\t\r\n\t\t\t// Append to string\r\n\t\t\tencrypted += (char) ec;\r\n\t\t}\r\n\t\t\r\n\t\t// Return\r\n\t\treturn encrypted;\r\n\t}", "public static StringBuffer decrypt(String text) {\r\n int s = 5;\r\n byte ctoi[];\r\n int check;\r\n StringBuffer result = new StringBuffer();\r\n ctoi = text.getBytes();\r\n for (int i = 0; i < text.length(); i++) {\r\n if (Character.isUpperCase(text.charAt(i))) {\r\n check = 0;\r\n check = ((ctoi[i] - s) - 65) % 26;\r\n if (check < 0) {\r\n char ch = (char) ((((((int) text.charAt(i) - s) - 65) % 26) + 65) + 26);\r\n result.append(ch);\r\n } else {\r\n char ch = (char) (((((int) text.charAt(i) - s) - 65) % 26) + 65);\r\n result.append(ch);\r\n }\r\n\r\n } else if (Character.isLowerCase(text.charAt(i))) {\r\n check = 0;\r\n check = ((ctoi[i] - s) - 97) % 26;\r\n if (check < 0) {\r\n char ch = (char) ((((((int) text.charAt(i) - s) - 97) % 26) + 97) + 26);\r\n result.append(ch);\r\n } else {\r\n char ch = (char) (((((int) text.charAt(i) - s) - 97) % 26) + 97);\r\n result.append(ch);\r\n }\r\n\r\n } else {\r\n char ch = text.charAt(i);\r\n result.append(ch);\r\n }\r\n }\r\n return result;\r\n }", "public static byte[][] encryptTexts(byte[][] plainTexts) {\n byte[][] cipherTexts = new byte[plainTexts.length][];\n\n for (int i = 0; i < cipherTexts.length; i++) {\n cipherTexts[i] = AES.encrypt(plainTexts[i], key);\n }\n\n MainFrame.printToConsole(\"Plain texts are encrypted\\n\");\n return cipherTexts;\n }", "public String preprocessingEncryptToDisplay(String in);", "public static String Encrypt(String plainText,int key,String alphabet) throws IOException\n {\n plainText=plainText.toUpperCase();\n String cipherText=\"\";\n\n for(int i=0;i< plainText.length();i++)\n {\n int index=indexOfChar(plainText.charAt(i),alphabet);\n\n if(index==-1)\n {\n cipherText+=plainText.charAt(i);\n\n continue;\n }\n if((index+key)%alphabet.length()==0)\n {\n cipherText+=charAtIndex(index+key,alphabet);\n }\n else\n {\n cipherText+=charAtIndex((index+key)%alphabet.length(),alphabet);\n }\n }\n return cipherText;\n }", "public String encryptText(String input) {\n\n String inputUC = input.toUpperCase();\n\n StringBuilder outputSB = new StringBuilder();\n\n for (int i = 0; i < input.length(); i++) {\n\n if (Character.toString(inputUC.charAt(i)).equalsIgnoreCase(\" \")) {\n\n outputSB.append(Character.toString(inputUC.charAt(i)));\n }\n else {\n for (int j = 0; j < this.charLibrary.length(); j++) {\n if (Character.toString(inputUC.charAt(i)).equalsIgnoreCase(Character.toString(this.charLibrary.charAt(j)))) {\n\n outputSB.append(this.key.charAt(j));\n }\n }\n }\n }\n return outputSB.toString();\n }", "@Override\n public String encryptMsg(String msg) {\n if (msg.length() == 0) {\n return msg;\n } else {\n char[] encMsg = new char[msg.length()];\n for (int ind = 0; ind < msg.length(); ++ind) {\n char letter = msg.charAt(ind);\n if (letter >= 'a' && letter <= 'z') {\n encMsg[ind] = (char) ('a' + ((letter - 'a' + key) % 26));\n } else if (letter >= 'A' && letter <= 'Z') {\n encMsg[ind] = (char) ('A' + ((letter - 'A' + key) % 26));\n } else {\n encMsg[ind] = letter;\n }\n }\n return new String(encMsg);\n }\n }", "private void encoding(String plainText)\n\t{\n\t\ttextLength = plainText.length();\n\t\thalfTextLength = textLength / TWO;\n\n\t\tdo\n\t\t{\n\t\t\tStringBuffer sb = new StringBuffer(textLength);\n\n\t\t\tif(textLength % TWO != ZERO)\n\t\t\t{\n\t\t\t\tencodingOneHalf = plainText.substring(ZERO, (halfTextLength + ONE));\n\t\t\t\tencodingTwoHalf = plainText.substring(halfTextLength + ONE, textLength);\n\t\t\t} // Ending bracket of if statement\n\t\t\telse\n\t\t\t{\n\t\t\t\tencodingOneHalf = plainText.substring(ZERO, (halfTextLength));\n\t\t\t\tencodingTwoHalf = plainText.substring(halfTextLength, textLength);\n\t\t\t} // Ending bracket of else statement\n\n\t\t\tchar currentLetterOneHalf[] = encodingOneHalf.toCharArray();\n\t\t\tchar currentLetterTwoHalf[] = encodingTwoHalf.toCharArray();\n\n\t\t\tfor(int i = ZERO; i < halfTextLength; i++)\n\t\t\t{\n\t\t\t\tsb.append(currentLetterOneHalf[i]);\n\t\t\t\tsb.append(currentLetterTwoHalf[i]);\n\t\t\t} // Ending bracket of for loop\n\t\t\tif(encodingOneHalf.length() != encodingTwoHalf.length())\n\t\t\t{\n\t\t\t\tsb.append(currentLetterOneHalf[currentLetterOneHalf.length - ONE]);\n\t\t\t} // Ending bracket of if statement\n\n\t\t\tencodedText = sb.toString();\n\t\t\tplainText = encodedText;\n\t\t\tloopIntEncode++;\n\n\t\t} // Ending bracket of do while statement\n\t\twhile(loopIntEncode < shiftAmount);\n\t}", "@Override\n public String encryptMsg(String msg) {\n if (msg.length() == 0) {\n return msg;\n } else {\n char[] encMsg = new char[msg.length()];\n for (int ind = 0; ind < msg.length(); ++ind) {\n char letter = msg.charAt(ind);\n encMsg[ind] = (char) ((letter + key) % 65536);\n }\n return new String(encMsg);\n }\n }", "private static void encrypt(String userString) {\n String[] words = userString.split(\"\");\n userInput = new ArrayList<String>(Arrays.asList(words));\n ArrayList<String> encryptedText = new ArrayList<String>();\n\n for (int i = 0; i < userInput.size(); i++) {\n if (userInput.get(i).equals(\" \")) {\n userInput.set(i, \"-\");\n }\n }\n\n userInput.remove(0);\n for (int i = 0; i < userInput.size(); i++) {\n oddChar = userInput.get(i);\n encryptedText.add(oddCipher.get((letters.indexOf(oddChar))));\n\n if (i == userInput.size() - 1) {\n break;\n } else {\n evenChar = userInput.get(i + 1);\n encryptedText.add(evenCipher.get((letters.indexOf(evenChar))));\n }\n i++;\n }\n finalOutput = encryptedText.toString().replace(\",\", \"\")\n .replace(\" \", \"\")\n .replace(\"[\", \"\")\n .replace(\"]\", \"\")\n .trim();\n output.setText(finalOutput);\n }", "public static String encrypt(String text, int key) {\n StringBuilder sb = new StringBuilder();\n for (char c : text.toCharArray()) {\n if (Character.isLetter(c)) {\n sb.append(shift(c, key));\n } else {\n sb.append(c);\n }\n }\n return sb.toString();\n }", "private void encode(){\r\n \r\n StringBuilder sb = new StringBuilder();\r\n \r\n /*\r\n *if a character code is >126 after adding the encryption key, subtract \r\n *95 to wrap\r\n */\r\n for(int i = 0; i < message.length(); i++){\r\n if(message.charAt(i) + key > 126){\r\n int wrappedKey = message.charAt(i) + key - 95;\r\n \r\n sb.append((char) wrappedKey);\r\n \r\n /*\r\n *if a character code ins't > 126 after adding the encryption key\r\n */\r\n } else{\r\n int wrappedKey = message.charAt(i) + key;\r\n sb.append( (char) wrappedKey);\r\n }\r\n }\r\n /*\r\n *case coded message to a string\r\n */\r\n codedMessage = sb.toString();\r\n }", "public BigInteger Encryption(String text){\n \tcypherText = BigInteger.valueOf(0);\n \tint bposition = 0;\n \t/*\n \t * Cursor move from 128 to 1 each time. Do & operation between chvalue\n \t * and cursor, if not 0, means in bit format this position is 1, add\n \t * the corresponding BigInteger in the b list to cypherText.\n \t */\n \tfor(byte ch: text.getBytes()){\n \t\tint cursor = 128;\n \t\tint chvalue = ch;\n \t\tfor(int i = 0;i < 8;i++){\n \t\t\tif((chvalue & cursor) != 0){\n \t\t\t\tcypherText = cypherText.add(b[bposition]);\n \t\t\t}\n \t\t\tcursor >>= 1;\n \t\t bposition ++;\n \t\t}\n \t}\n \treturn cypherText;\n }", "@Override\n public String encrypt(String text) {\n if (StringUtils.isBlank(text)) {\n return null;\n }\n\n try {\n byte[] iv = new byte[GCM_IV_LENGTH];\n RandomUtils.RANDOM.nextBytes(iv);\n\n Cipher cipher = Cipher.getInstance(ENCRYPT_ALGORITHM);\n GCMParameterSpec ivSpec = new GCMParameterSpec(GCM_TAG_LENGTH * Byte.SIZE, iv);\n cipher.init(Cipher.ENCRYPT_MODE, getKeyFromPassword(), ivSpec);\n\n byte[] ciphertext = cipher.doFinal(text.getBytes(StandardCharsets.UTF_8));\n byte[] encrypted = new byte[iv.length + ciphertext.length];\n System.arraycopy(iv, 0, encrypted, 0, iv.length);\n System.arraycopy(ciphertext, 0, encrypted, iv.length, ciphertext.length);\n\n return Base64.getEncoder().encodeToString(encrypted);\n } catch (NoSuchAlgorithmException\n | IllegalArgumentException\n | InvalidKeyException\n | InvalidAlgorithmParameterException\n | IllegalBlockSizeException\n | BadPaddingException\n | NoSuchPaddingException e) {\n LOG.debug(ERROR_ENCRYPTING_DATA, e);\n throw new EncryptionException(e);\n }\n }", "String encryption(Long key, String encryptionContent);", "public static void main(String [] args) {\n\t cryptanalysis();\n\t \n\t for (char cipherChar : cipherText.toCharArray())\n\t\t if (Character.isLetter(cipherChar)) { // only letters are encrypted, punctuation marks and whitespace are not\n\t\t\t // following line converts letters to numbers between 0 and 25\n\t\t\t int cipher = (int) cipherChar - alphaIndex;\n\t\t\t int plain = decrypt(cipher);\n\t\t\t // following line coverts numbers between 0 and 25 to letters\n\t\t\t char plainChar = (char) (plain + alphaIndex);\n\t\t\t System.out.print(plainChar);\n\t\t }\n\t\t else\n\t\t\t System.out.print(cipherChar);\n }", "@Override\n public void finalEncrypt(byte[] text, int n) {\n if ( text.length != blockSize()) throw new IllegalArgumentException(\"text.length != cipher.blockSize())\");\n text[n] = (byte)0x80;\n for( int i = n+1; i < blockSize(); ++i){\n text[i] = (byte)0x00;\n }\n encrypt(text);\n }", "private String cipher(String s)\n {\n char[] alphabet = \"abcdefghijklmnopqrstuvwxyz\".toCharArray();\n char[] input = s.toCharArray();\n \n int pos = 0;\n String finalString = \"\";\n for( int i = 0; i < input.length; i++ )\n {\n if((input[i] >= 'a' && input[i] <= 'z') || (input[i] >= 'A' && input[i] <= 'Z'))\n {\n for( int j = 0; j < alphabet.length; j++ )\n {\n if( alphabet[j] == input[i] )\n {\n pos = j;\n break;\n }\n }\n finalString += alphabet[(rotateValue+pos)%26];\n }\n else{ finalString += input[i]; }\n }\n return finalString;\n }", "public static String caesar3encrypt(String x) {\n char y[]=x.toCharArray();\n for (int i = 0; i < x.length(); i++) {\n int asciivalue = (int) y[i];\n if ((asciivalue >= 65 && asciivalue <= 87) || (asciivalue >= 97 && asciivalue <= 119)) {\n y[i] = (char) (asciivalue + 3);\n } else if ((asciivalue > 87 && asciivalue <= 90) || (asciivalue > 119 && asciivalue <= 122)) {\n y[i] = (char) (asciivalue - 23);\n }\n }\n return (new String(y));\n }", "String encrypt(String input) throws IllegalArgumentException, EncryptionException;", "@Override\n public String encrypt(String s) throws NotInAlphabetException{ \n passwordPos = 0; //initialize to 0\n return super.encrypt(s); //invoke parent\n }", "private String encodageCesar(String text) {\n if (text == null || text.equals(\"\")) {\n throw new AssertionError(\"Aucun texte n'est saisie\");\n }\n SubstCipher encodingText = new SubstCipher(this.shiftAlea);\n encodingText.buildShiftedTextFor(text);\n String encoding = encodingText.getLastShiftedText();\n return encodageMot(encoding);\n }", "public String encrypt(String word) {\n String [] encr = new String[word.length()];\n StringBuilder encrRet = new StringBuilder();\n for (int i = 0; i<word.length();i++)\n {\n char shift = (char) (((word.charAt(i) - 'a' + 3) % 26) + 'a');\n encrRet = encrRet.append(shift);\n }\n\n return encrRet.toString();\n }", "public TextAreaEntropy(Document doc, String text, int rows, int columns) {\r\n super(doc, text, rows, columns);\r\n initComponents();\r\n }", "public static byte[] encryptText(String plainText,SecretKey secKey) throws Exception{\n\r\n Cipher aesCipher = Cipher.getInstance(\"AES\");\r\n\r\n aesCipher.init(Cipher.ENCRYPT_MODE, secKey);\r\n\r\n byte[] byteCipherText = aesCipher.doFinal(plainText.getBytes());\r\n\r\n return byteCipherText;\r\n\r\n}", "public static String encryptBellaso(String plainText, String bellasoStr) \r\n\t{\r\n\t\t\r\n\t\t\t// copying plaintext into char array.\r\n\t\t\tchar[] pTxtArray = plainText.toCharArray();\r\n\t\t\tchar[] bTxtArray = bellasoStr.toCharArray();\r\n\t\t\tchar[] refArray=new char[pTxtArray.length];\r\n\t\t\tchar[] dcrptArray=new char[refArray.length];\r\n\t\t\tint counter=0;\r\n\t\t\tint offset=0;\r\n\t\t\tchar temp=0;\t\t\t\t\t\t\t\t\t\r\n\t\t\t\r\n\t\t\t//Copy complete array into reference array as many time as required\r\n\t\t\t//When plain String is greater than bellaso string.\r\n\t\t\twhile((pTxtArray.length-counter)>=bTxtArray.length)\r\n\t\t\t{\r\n\t\t\t\tfor(int i=counter,j=0;j<bTxtArray.length;j++,i++) {\r\n\t\t\t\trefArray[counter]=bTxtArray[j];\r\n\t\t\t\tcounter++;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t \t//gathering phase\t\t\r\n\t\t\tfor(int i=counter,j=0;i<pTxtArray.length;i++,j++) \r\n\t\t\t{\r\n\t\t\t\trefArray[i]=bTxtArray[j];\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t//Offset calculation.\r\n\t\t\tfor(int i=0;i<refArray.length;i++) \r\n\t\t\t{\r\n\t\t\t\toffset=refArray[i]+pTxtArray[i];\r\n\t\t\t\tif(offset<UPPER_BOUND) {\r\n\t\t\t\t\ttemp=(char)offset;\r\n\t\t\t\t}else {\r\n\t\t\t\ttemp=(char)(offset-RANGE);\t\r\n\t\t\t\tif(temp>UPPER_BOUND)\r\n\t\t\t\t{\r\n\t\t\t\t\ttemp=(char) (temp-RANGE);\r\n\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tdcrptArray[i]=temp;\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t\t\t\t\t\t\r\n\t\treturn new String(dcrptArray);\r\n\t\t}", "@Test\n\tpublic void doEncrypt() {\n\t\tString src = \"18903193260\";\n\t\tString des = \"9oytDznWiJfLkOQspiKRtQ==\";\n\t\tAssert.assertEquals(Encryptor.getEncryptedString(KEY, src), des);\n\n\t\t/* Encrypt some plain texts */\n\t\tList<String> list = new ArrayList<String>();\n\t\tlist.add(\"18963144219\");\n\t\tlist.add(\"13331673185\");\n\t\tlist.add(\"18914027730\");\n\t\tlist.add(\"13353260117\");\n\t\tlist.add(\"13370052053\");\n\t\tlist.add(\"18192080531\");\n\t\tlist.add(\"18066874640\");\n\t\tlist.add(\"15357963496\");\n\t\tlist.add(\"13337179174\");\n\t\tfor (String str : list) {\n\t\t\tSystem.out.println(Encryptor.getEncryptedString(KEY, str));\n\t\t}\n\t}", "public String encryptString(String s){\r\n\t\tchar[] cArr = s.toCharArray();\r\n\t\tString rStr = \"\";\r\n\t\tfor(char c : cArr){\r\n\t\t\trStr += encryptChar(c);\r\n\t\t}\r\n\t\treturn rStr;\r\n\t}", "private String encStr(char[] sPlainText, long lNewCBCIV)\n\t{\n\t\tint nI, nPos, nStrLen;\n\t\tchar cActChar;\n\t\tbyte bPadVal;\n\t\tbyte[] buf;\n\t\tbyte[] newCBCIV;\n\t\tint nNumBytes;\n\t\tnStrLen = sPlainText.length;\n\t\tnNumBytes = ((nStrLen << 1) & ~7) + 8;\n\t\tbuf = new byte[nNumBytes];\n\t\tnPos = 0;\n\t\tfor (nI = 0; nI < nStrLen; nI++)\n\t\t{\n\t\t\tcActChar = sPlainText[nI];\n\t\t\tbuf[nPos++] = (byte) ((cActChar >> 8) & 0x0ff);\n\t\t\tbuf[nPos++] = (byte) (cActChar & 0x0ff);\n\t\t}\n\t\tbPadVal = (byte) (nNumBytes - (nStrLen << 1));\n\t\twhile (nPos < buf.length)\n\t\t{\n\t\t\tbuf[nPos++] = bPadVal;\n\t\t}\n\t\t// System.out.println(\"CBCIV = [\" + Long.toString(lNewCBCIV) + \"] hex = [\" + Long.toHexString(lNewCBCIV) + \"]\");\n\t\t// System.out.print(\"unencryp bytes=[\");\n\t\t// for (int i = 0; i < nNumBytes; i++){\n\t\t// System.out.print( (int)buf[i]);\n\t\t// System.out.print( \",\");\n\t\t// }\n\t\t// System.out.println(\"]\");\n\t\tm_bfc.setCBCIV(lNewCBCIV);\n\t\tm_bfc.encrypt(buf, 0, buf, 0, nNumBytes);\n\t\t// System.out.print(\" encryp bytes=[\");\n\t\t// for (int i = 0; i < nNumBytes; i++){\n\t\t// System.out.print( (int)buf[i]);\n\t\t// System.out.print( \",\");\n\t\t// }\n\t\t// System.out.println(\"]\");\n\t\tString strEncrypt = EQBinConverter.bytesToHexStr(buf, 0, nNumBytes);\n\t\tnewCBCIV = new byte[EQBlowfishECB.BLOCKSIZE];\n\t\tEQBinConverter.longToByteArray(lNewCBCIV, newCBCIV, 0);\n\t\tString strCBCIV = EQBinConverter.bytesToHexStr(newCBCIV, 0, EQBlowfishECB.BLOCKSIZE);\n\t\t// System.out.println(\"encrypt = [\" + strEncrypt + \"]\");\n\t\t// System.out.println(\"strCBCIV = [\" + strCBCIV + \"]\");\n\t\treturn strCBCIV + strEncrypt;\n\t}", "public String encrypt(String unencryptedString) throws InvalidKeyException, UnsupportedEncodingException, IllegalBlockSizeException, BadPaddingException {\n String encryptedString = null;\n try{\n cipher.init(Cipher.ENCRYPT_MODE, key);\n byte[] plainText = unencryptedString.getBytes(UNICODE_FORMAT);\n byte[] encryptedText = cipher.doFinal(plainText);\n BASE64Encoder base64encoder = new BASE64Encoder();\n // encryptedString = base64encoder.<span class=\"\\IL_AD\\\" id=\"\\IL_AD9\\\">encode</span>(encryptedText);\n encryptedString = base64encoder.encode(encryptedText);\n }\n catch (Exception e) {\n e.printStackTrace();\n }\n return encryptedString;\n }", "public String encrypt (String input) {\n // parameter checks. If input has nothing, or both keys\n // are zero, we have no work to do.\n if (!hasValue(input)) return \"\";\n if (mainKey1 == 0 && mainKey2 == 0) return input;\n\n // Start with a StringBuilder we can update below.\n StringBuilder encrypted = new StringBuilder(input);\n\n // Walk the input string and transform each letter that exists in\n // our alphabet\n for (int i = 0; i < encrypted.length(); i++) {\n char currChar = encrypted.charAt(i);\n int idx = alphabet.indexOf(currChar);\n if (idx != -1) {\n // Which alphabet do I use? even i is key1, odd i is key2\n String shiftedAlphabet = (i % 2 == 0) ? shiftedAlphabet1: shiftedAlphabet2;\n char newChar = shiftedAlphabet.charAt(idx);\n encrypted.setCharAt(i, newChar);\n }\n }\n\n return encrypted.toString();\n }", "public String encryptString(String plainText) {\n return encStr(plainText, new Random().nextLong());\n }", "public static boolean isEncriptado(String text){\n\t\t if( text.indexOf( '-' ) == -1 ){\n\t\t\t return false;\n\t\t }\n\t\t StringTokenizer st = new StringTokenizer( text, \"-\", false );\n\t\t while( st.hasMoreTokens() ){\n\t\t\t String token = st.nextToken();\n\t\t\t if( token.length() > 3 ){\n\t\t\t\t System.out.println( \"text is not encrypted: length of token greater than 3: \" + token );\n\t\t\t\t return false;\n\t\t\t }\n\t\t\t for( int i=0; i<token.length(); i++ ){\n\t\t\t\t if( !Character.isDigit( token.charAt( i ) ) ){\n\t\t\t\t\t System.out.println( \"text is not encrypted: token is not a digit\" );\n\t\t\t\t\t return false;\n\t\t\t\t }\n\t\t\t }\n\t\t }\n\t\t return true;\n\t }", "public static void generateRoundKeys(String input){\n int i =0;\n\t\tfor (int col1 = 0; col1 <=3; col1++) {\t\t\t\n for (int row1 = 0; row1 <=3; row1 = row1+1) {\n\t\t\toriginalKey[row1][col1] = input.substring(i,i+2);\n\t\t\ti=i+2;\n } \n\t\t} \n //take the original key and make it be the first four columns of W\n for(int row2 = 0; row2<=3; row2++){\n for(int col2 = 0; col2 < 4; col2++){\n W[row2][col2] = originalKey[row2][col2];\n }\n } \n //Starting to create next 40 columns of W\n //temporary matrix temp_w for processing\n String[][] temp_w = null;\n for(int column = 4; column<=43; column++){\n /*Part 1 : if the index of column is not divisible by 4, \n XOR the fourth past and last column with respect to column index*/\n if(column % 4 != 0){\n for(int row = 0; row<=3; row++){\n W[row][column] = performXOR(W[row][column-4], W[row][column-1]); \n }\n }\n else {\n /*Part 2 : if the index of column is divisible by 4,\n step 1: Use temp matrix temp_w to store previous column values.\n Tanspose previous column values to row values\n step 2 : Shif to the left of column values of temp_w*/\n temp_w = new String[1][4]; \n \n temp_w[0][0] = W[1][column - 1];\n temp_w[0][1] = W[2][column - 1];\n temp_w[0][2] = W[3][column - 1];\n temp_w[0][3] = W[0][column - 1];\n \n //step 3 : transform each of the four bytes in temp_w using an S-box function\n for(int m =0 ; m<1; m++){\n for(int n =0; n<=3 ; n++){\n int x = Integer.parseInt(temp_w[m][n].split(\"\")[0],16);\n int y = Integer.parseInt(temp_w[m][n].split(\"\")[1],16);\n temp_w[m][n] = SBOX[x][y]; \n\t\t\t}\n }\n \n //step 4 : Getting RCon coefficient values and performing XOR operation\n //find number of round\n int numRound = column/4;\n //get RCon of the same column number form Rcon table and xOR with first element\n temp_w[0][0] = performXOR(RCON[0][numRound],temp_w[0][0]);\n \n //step 5 : Perform final XOR\n for(int row3 = 0; row3<=3; row3++){\n W[row3][column] = performXOR(W[row3][column-4], temp_w[0][row3]);\n }\n \n }\n }\n \n //Printing Round Keys\n int Rounds = 1;\n int k = 0;\n while (Rounds <=11){ \n for(int column1 = 0; column1<=3; k++, column1++){\n for(int row =0; row<=3; row++){\n System.out.print(W[row][k]);\n }\n } \n System.out.println();\n Rounds++;\n } \n System.out.println(\"\");\n }", "static String caesarCipher(String s, int k) {\n char[] chars = s.toCharArray();\n for (int i = 0; i < chars.length; i++) {\n chars[i] = shift(chars[i], k);\n }\n return new String(chars);\n }", "public String encrypt(String input)\n {\n StringBuilder encrypted = new StringBuilder(input);\n\n String alphabetLower = alphabet.toLowerCase();\n String shiftedAlphabetLower1 = shiftedAlphabet1.toLowerCase();\n String shiftedAlphabetLower2 = shiftedAlphabet2.toLowerCase();\n\n for (int k = 0; k < encrypted.length() ; k++)\n {\n char currentChar = encrypted.charAt(k);\n int indexOfCurrentCharAlphabet = alphabet.indexOf(currentChar);\n int indexOfCurrentCharLower = alphabetLower.indexOf(currentChar);\n\n if (indexOfCurrentCharAlphabet != -1 && k % 2 == 0)\n {\n char newCurrentCharAlphabet = shiftedAlphabet1.charAt(indexOfCurrentCharAlphabet);\n encrypted.setCharAt(k, newCurrentCharAlphabet);\n }\n\n if (indexOfCurrentCharAlphabet != -1 && k % 2 != 0)\n {\n char newCurrentCharAlphabet = shiftedAlphabet2.charAt(indexOfCurrentCharAlphabet);\n encrypted.setCharAt(k, newCurrentCharAlphabet);\n }\n\n if (indexOfCurrentCharLower != -1 && k % 2 == 0)\n {\n char newCurrentCharLower = shiftedAlphabetLower1.charAt(indexOfCurrentCharLower);\n encrypted.setCharAt(k, newCurrentCharLower);\n }\n\n if (indexOfCurrentCharLower != -1 && k % 2 != 0)\n {\n char newCurrentCharLower = shiftedAlphabetLower2.charAt(indexOfCurrentCharLower);\n encrypted.setCharAt(k, newCurrentCharLower);\n }\n }\n return encrypted.toString();\n }", "@Test\n public void testEncryptDecrypt3() throws InvalidCipherTextException {\n\n // password generation using KDF\n String password = \"Aa1234567890#\";\n byte[] kdf = Password.generateKeyDerivation(password.getBytes(), 32);\n\n byte[] plain = \"0123456789\".getBytes();\n byte[] plainBytes = new byte[100000000];\n for (int i = 0; i < plainBytes.length / plain.length; i++) {\n System.arraycopy(plain, 0, plainBytes, i * plain.length, plain.length);\n }\n\n byte[] encData = AESEncrypt.encrypt(plainBytes, kdf);\n byte[] plainData = AESEncrypt.decrypt(encData, kdf);\n\n assertArrayEquals(plainBytes, plainData);\n\n }", "public static void main(String[] args) \r\n {\n String message1 = \"ABCDEFGHIJKLMNOPQRSTUVWXYZ\";\r\n System.out.println(encrypt (message1, 3));\r\n System.out.println(decrypt (encrypt(message1,3) ,3));\r\n System.out.println(encrypt(message1.toLowerCase(),5));\r\n \r\n System.out.println(decrypt(encrypt(message1.toLowerCase() ,5 ) ,5));\r\n }", "String encryptString(String toEncrypt) throws NoUserSelectedException;", "public static void main(String[] args) throws FileNotFoundException\n\t{\n\t\tString input;\n//\t\tString output = \"\";\n\t\tFile f = new File(\"PlayfairKey.txt\");\n\t\tScanner reader = new Scanner(f);\n\t\tScanner in = new Scanner(System.in);\n\t\t//fills in the key array\n\t\tfor(int y = 0; y < 5; y++)\n\t\t{\n\t//\t\tSystem.out.println(\"Reached x\");\n\t\t\tfor(int x = 0; x < 5; x++)\n\t\t\t{\n\t\t\t\tString temp = reader.nextLine();\n\t//\t\t\tSystem.out.println(\"Reached y\");\n\t\t\t\tkey[x][y] = temp.charAt(0);\n\t\t\t}\n\t\t}\n\t\t\n\t\treader.close();\n\t\t/*\n\t\tfor(int y = 0; y < 5; y++)\n\t\t{\n\t\t\tfor(int x = 0; x < 5; x++)\n\t\t\t{\n\t\t\t\tSystem.out.print(key[x][y]+\" \");\n\t\t\t\t//System.out.print(x+\",\"+y+\" \");\n\t\t\t}\n\t\t\tSystem.out.println(\"\\t\");\n\t\t}\n\t\t*/\n\t\t\n\t\t/*\n\t\tfor(int y = 0; y < 5; y++)\n\t\t{\n\t\t\tfor(int x = 0; x < 5; x++)\n\t\t\t{\n\t\t\t\t//System.out.print(key[x][y]+\" \");\n\t\t\t\tSystem.out.print(x+\",\"+y+\" \");\n\t\t\t}\n\t\t\tSystem.out.println(\"\\t\");\n\t\t}\n\t\t*/\n\t\t\n\t\t\n\t\t\n\t\t//test\n\t//\tSystem.out.println(\"Enter 1 to encrypt, 2 to decrypt, -1 to end the program\");\n\t\twhile(condition != -1)\n\t\t{\n\t\t\t\n\t\t\tSystem.out.println(\"Enter 1 to encrypt, 2 to decrypt, -1 to end the program\");\n\t\t\n\t\t\tcondition = in.nextInt();\n\t\t\n\t\t\tif(condition == -1)\n\t\t\t{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(\"Enter a String:\");\n\t\t\tin.nextLine();\n\t\t\tinput = in.nextLine();\n\t\t\t\n\t\t\tinput = input.replaceAll(\" \",\"\");\n\t\t\n\t\t\tinput = input.toLowerCase();\n\t\t\t\n\t\t\t\n\t\t\tif(condition == 1)\n\t\t\t{\n\t\t\t\tinput = input.replaceAll(\"j\",\"i\");\n\t\t\t\tchar[] tempInputArray = input.toCharArray();\n\t\t\t\tint found = 1;\n\t\t\t\t\n\t\t\t\tfor(int i =0; i < tempInputArray.length-1; i++)\n\t\t\t\t{\n\t\t\t\t\t\n\t\t\t\t\tif(tempInputArray[i] == tempInputArray[i+1])\n\t\t\t\t\t{\n\t\t\t\t\t\t\n\t\t\t\t\t\tinput = input.substring(0, i+found) + \"x\" + input.substring(i+found, input.length());\n\t\t\t\t\t\tfound++;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif(input.length() % 2 != 0)\n\t\t\t\t{\n\t\t\t\t\tinput+=\"x\";\n\t\t\t\t}\n\t\t\t\t\n//\t\t\t\tSystem.out.println(input);\n\t\t\t\t\n\t\t\t\tchar[] inputArray = input.toCharArray();\n\t\t\t\tSystem.out.println(\"Encrypted:\");\n\t\t\t\tencrypt(inputArray);\n\t\t\t}\n\t\t\telse if(condition == 2)\n\t\t\t{\n//\t\t\t\tSystem.out.println(input);\n\t\t\t\tchar[] inputArray = input.toCharArray();\n\t\t\t\tSystem.out.println(\"Decrypted:\");\n\t\t\t\tdecrypt(inputArray);\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(\"\\n\\n\");\n\t\t\t\n\t\t}\n\n\t\t\n\t}", "public void gen_cyptxt(String ptxt, char[][] table, int temp)\r\n {\r\n int l=ptxt.length();\r\n String ptxt1=\"\";\r\n int ia1=0, ja1=0, ia2=0, ja2=0;\r\n \r\n //removing all the inner spaces of plaint text\r\n for(int i=0; i<l; i++)\r\n {\r\n if(ptxt.charAt(i)!=' ')\r\n ptxt1=ptxt1+ptxt.charAt(i); // storing it in ptxt1\r\n }\r\n \r\n ptxt=ptxt1; //storing it back in ptxt\r\n l=ptxt.length();\r\n \r\n //adding a dummy letter 'x' if not length is even\r\n if(l%2!=0)\r\n {\r\n ptxt=ptxt+\"x\";\r\n l=ptxt.length();\r\n }\r\n \r\n ptxt=ptxt.toUpperCase(); //converting the whole plain text to upper case\r\n \r\n //creating array of string 'bits' of length half of plain text\r\n String[] bits= new String[l/2];\r\n String[] bitsn=new String[l/2];\r\n \r\n //initialising the array with \"\"\r\n for (int i = 0; i < l/2; i++)\r\n {\r\n bitsn[i]=\"\";\r\n }\r\n int j=0, k=2;\r\n \r\n //storing each 2 letter bit of plain text into the array of strings\r\n for (int i = 0; i < l/2; i++)\r\n {\r\n bits[i]=ptxt.substring(j,k);\r\n j+=2;\r\n k+=2;\r\n }\r\n boolean hash=true;\r\n int count=0, ni=0, lim;\r\n while(hash)\r\n {\r\n lim=l/2;\r\n //checking if two double letters are in same bit\r\n for(int i=0; i<lim; i++)\r\n {\r\n if(bits[i].charAt(0)==bits[i].charAt(1))\r\n count++;\r\n }\r\n \r\n //if not then loop is terminated\r\n if(count==0)\r\n hash=false;\r\n \r\n //else dummy character is added in between\r\n else\r\n {\r\n for(int i=0; i<lim; i++)\r\n {\r\n if(bits[i].charAt(0)==bits[i].charAt(1))\r\n {\r\n ni=i;\r\n break;\r\n }\r\n }\r\n ptxt=ptxt.substring(0,(ni*2)-1)+\"X\"+ptxt.substring((ni*2)-1);\r\n l=ptxt.length();\r\n if(l%2!=0)\r\n {\r\n ptxt=ptxt+\"X\";\r\n l=ptxt.length();\r\n }\r\n j=0;\r\n k=0;\r\n for (int i = 0; i < l/2; i++)\r\n {\r\n bits[i]=ptxt.substring(j,k);\r\n j+=2;\r\n k+=2;\r\n }\r\n hash=true;\r\n }\r\n count=0;\r\n }\r\n ni=0;\r\n lim=l/2;\r\n \r\n //checking if 'XX' is bit comes at the end. If comes the limit is taken before that position\r\n for(int i=0; i<lim; i++)\r\n {\r\n if(bits[i].charAt(0)==bits[i].charAt(1))\r\n {\r\n if(bits[i].charAt(0)=='X')\r\n {\r\n lim=i;\r\n break;\r\n }\r\n }\r\n }\r\n \r\n //if matrix is of type where J is taken\r\n if(temp==1)\r\n {\r\n for (int i = 0; i < lim; i++)\r\n {\r\n \r\n //storing the 1st letter of the bit in ch1 & 2nd letter in ch2\r\n char ch1=bits[i].charAt(0);\r\n char ch2=bits[i].charAt(1);\r\n \r\n //since the matrix contains J and I & J have same position so I is converted to J\r\n if(ch1=='I')\r\n ch1='J';\r\n else if(ch2=='I')\r\n ch2='J';\r\n \r\n \r\n a : for(j=0; j<5; j++) //loop labelled as a\r\n {\r\n for(k=0; k<5; k++)\r\n {\r\n \r\n //storing the cordinates of the 1st letter\r\n if(table[j][k]==ch1)\r\n {\r\n ia1=j;\r\n ja1=k;\r\n }\r\n \r\n //storing the cordinates of the 2nd letter\r\n else if(table[j][k]==ch2)\r\n {\r\n ia2=j;\r\n ja2=k;\r\n }\r\n \r\n //if they are in the same row\r\n if((ia1==ia2) && (ja1!=ja2))\r\n {\r\n if(ja1!=4)\r\n bitsn[i]=bitsn[i]+table[j][k+1];\r\n else\r\n bitsn[i]=bitsn[i]+table[j][0];\r\n if(ja2!=4)\r\n bitsn[i]=bitsn[i]+table[j][k+1];\r\n else\r\n bitsn[i]=bitsn[i]+table[j][0];\r\n break a;\r\n }\r\n \r\n //if they are in the same column\r\n else if((ia1!=ia2) && (ja1==ja2))\r\n {\r\n if(ia1!=4)\r\n bitsn[i]=bitsn[i]+table[j-1][k];\r\n else\r\n bitsn[i]=bitsn[i]+table[0][k];\r\n if(ia2!=4)\r\n bitsn[i]=bitsn[i]+table[j-1][k];\r\n else\r\n bitsn[i]=bitsn[i]+table[0][k];\r\n break a;\r\n }\r\n \r\n //if they are neither in same row nor in same column\r\n else if((ia1!=ia2) && (ja1!=ja2))\r\n {\r\n bitsn[i]=bitsn[i]+table[j][ja2];\r\n bitsn[i]=bitsn[i]+table[j][ja1];\r\n break a;\r\n } \r\n }\r\n }\r\n ia1=0;\r\n ja1=0;\r\n ia2=0;\r\n ja2=0;\r\n } \r\n }\r\n \r\n //if matrix is of type where I is taken\r\n else if(temp==2)\r\n {\r\n for (int i = 0; i < lim; i++)\r\n {\r\n \r\n //storing the 1st letter of the bit in ch1 & 2nd letter in ch2\r\n char ch1=bits[i].charAt(0);\r\n char ch2=bits[i].charAt(1);\r\n \r\n //since the matrix contains I and I & J have same position so J is converted to I\r\n if(ch1=='j')\r\n ch1='i';\r\n else if(ch2=='j')\r\n ch2='i';\r\n \r\n \r\n a : for(j=0; j<5; j++) //loop labelled as a\r\n {\r\n for(k=0; k<5; k++)\r\n {\r\n \r\n //storing the cordinates of the 1st letter\r\n if(table[j][k]==ch1)\r\n {\r\n ia1=j;\r\n ja1=k;\r\n }\r\n \r\n //storing the cordinates of the 2nd letter\r\n else if(table[j][k]==ch2)\r\n {\r\n ia2=j;\r\n ja2=k;\r\n }\r\n \r\n //if they are in the same row\r\n if((ia1==ia2) && (ja1!=ja2))\r\n {\r\n if(ja1!=4)\r\n bitsn[i]=bitsn[i]+table[j][k+1];\r\n else\r\n bitsn[i]=bitsn[i]+table[j][0];\r\n if(ja2!=4)\r\n bitsn[i]=bitsn[i]+table[j][k+1];\r\n else\r\n bitsn[i]=bitsn[i]+table[j][0];\r\n break a;\r\n }\r\n \r\n //if they are in the same column\r\n else if((ia1!=ia2) && (ja1==ja2))\r\n {\r\n if(ia1!=4)\r\n bitsn[i]=bitsn[i]+table[j-1][k];\r\n else\r\n bitsn[i]=bitsn[i]+table[0][k];\r\n if(ia2!=4)\r\n bitsn[i]=bitsn[i]+table[j-1][k];\r\n else\r\n bitsn[i]=bitsn[i]+table[0][k];\r\n break a;\r\n }\r\n \r\n //if they are neither in same row nor in same column\r\n else if((ia1!=ia2) && (ja1!=ja2))\r\n {\r\n bitsn[i]=bitsn[i]+table[j][ja2];\r\n bitsn[i]=bitsn[i]+table[j][ja1];\r\n break a;\r\n } \r\n }\r\n }\r\n ia1=0;\r\n ja1=0;\r\n ia2=0;\r\n ja2=0;\r\n }\r\n }\r\n String cip_txt=\"\";\r\n \r\n //adding up all the cypher bits to form the cypher text\r\n for(int i=0; i<lim; i++)\r\n {\r\n cip_txt=cip_txt+bitsn[i];\r\n }\r\n \r\n //finally pinting the cypher text\r\n System.out.println(\"The corresponding ciphertext is : \"+cip_txt);\r\n }", "public static String caesarify(String text, int key) {\r\n String newText = \"\";\r\n String alpha = shiftAlphabet(0);\r\n String newAlpha = shiftAlphabet(key);\r\n\r\n for (int i = 0; i < text.length(); i++) {\r\n String currentLetter = String.valueOf(text.charAt(i));\r\n int indexOfLetter = alpha.indexOf(currentLetter);\r\n String letterReplacement = String.valueOf(newAlpha.charAt(indexOfLetter));\r\n\r\n newText += letterReplacement;\r\n\r\n }\r\n return newText;\r\n }", "@Override\t\n public void paint(Graphics g)\n {\n\t char [] chText={'T','a','n','z','e','n','d','e',' ','S','c','h','r','i','f','t'};\n\t \n\t g.setFont (new Font(\"Helvetica\", Font.BOLD, 20));\n\t FontMetrics m=g.getFontMetrics();\n\t int height=m.getHeight ()+5;\n\t int width=m.charWidth(chText[0]);\n\t \n\t //Correct width, if a bigger char exists:\n\t for (int i=1; i < chText.length; i++)\n\t {\n\t\t if(m.charWidth(chText[i])> width)\n\t\t {\n\t\t\t width=m.charWidth(chText[i]);\n\t\t }\n\t }\t\t \n\t \n\t for (int j=0;j<chText.length;j++)\n\t {\n\t\t int start=(int)Math.round(20*Math.random());\n\t\t g.setColor(Palette[start%Palette.length]);\n\t\t g.drawChars(chText,j,1,j*width,height+start);\n\t }\n }", "public static void rotate90CCWGrid(char[][] grid) {\r\n\t\tchar tmp = grid[0][0];\r\n\t\tgrid[0][0] = grid[0][2];\r\n\t\tgrid[0][2] = grid[2][2];\r\n\t\tgrid[2][2] = grid[2][0];\r\n\t\tgrid[2][0] = tmp;\r\n\r\n\t\ttmp = grid[0][1];\r\n\t\tgrid[0][1] = grid[1][2];\r\n\t\tgrid[1][2] = grid[2][1];\r\n\t\tgrid[2][1] = grid[1][0];\r\n\t\tgrid[1][0] = tmp;\r\n\t}", "public static String encryptCaesar(String plainText, int key) {\r\n\t\t\r\n\t\tchar [] pText = plainText.toCharArray();\r\n\t\tchar [] eText = new char[plainText.length()];\r\n\t\t\r\n\t\tint i = 0;\r\n\t\tdo {\r\n\t\t\tfor(char t: pText) {\r\n\t\t\t\t\r\n\t\t\t\tt +=key;\r\n\t\t\t\teText[i] = t;\r\n\t\t\t\ti++;\r\n\t\t\t}\r\n\t\t}while(i<plainText.length());\r\n\t\tString st = String.valueOf(eText);\r\n\t\treturn st;\r\n\t}", "public String decrypt(String cipherText);", "private static void cryptanalysis() {\n\t for (char cipherChar : cipherText.toCharArray()) {\n\t if (Character.isLetter(cipherChar)) { // only letters are encrypted, punctuation marks and whitespace are not\n\t // following line converts letters to numbers between 0 and 25\n\t int cipher = (int) cipherChar - alphaIndex;\n\t // following line increments the value at frequency[cipher] to count frequency of letters used\n\t frequency[cipher] = frequency[cipher] + 1;\n\t }\n\t } \n\t char currChar = 'A';\n \t for (int i = 0; i < 26; i++) {\n \t\t System.out.println(currChar++ + \" \" + frequency[i]);\n \t }\n }", "byte[] encrypt(String plaintext);", "public String encrypt(String word){\n\tint modulus = rsaKeyA * rsaKeyB;\n\tint totient = (rsaKeyA - 1)*(rsaKeyB - 1);\n\tpublicE = calculateExponent(totient);\n\tprivateD = 1 + ((int)Math.random()*10)*totient;\n \n\tif(word == null||word.length()==0) throw new IllegalArgumentException();\n\tString result = \"\";\n\tString wordLower = word.toLowerCase();\n\n\tfor(int i=0; i<wordLower.length(); i++){\n\t if(wordLower.charAt(i)<97 || wordLower.charAt(i)>122)\n\t\tthrow new IllegalArgumentException();\n\t int a = (wordLower.charAt(i)-97);\n\t int b = (int)Math.pow(a,publicE);\n\t int k = (b%26)+97;\n\t result += Character.toString((char)k);\n\t}\n\treturn result;\n }", "public static void main(String args[]) {\n Scanner sc=new Scanner(System.in);\n String s =sc.nextLine();\n int key =sc.nextInt();\n int len =s.length();\n for(int i=0;i<len;i++)\n {\n char ch =s.charAt(i);\n if(ch == ' ')\n System.out.print(\" \");\n else{\n\t\t if(ch >= 65 && ch<= 90){\n\t\t ch = (char)(ch -65);\n\t\t\t ch = (char)((26+ch-key)%26);\n\t\t\t ch =(char)(ch +65);\n\t\t\t System.out.print(ch);\n\t\t }\n\t\t else{\n\t\t ch = (char)(ch -97);\n\t\t\t ch = (char)((26+ch-key)%26);\n\t\t\t ch =(char)(ch +97);\n\t\t\t System.out.print(ch);\n\t\t }\n\t\t \n }\n \n }\n }", "public static String rotate(String text, int key) {\n String s = \"\";\n for (int i = 0; i < text.length(); i++) {\n int code = ((text.charAt(i) - 97) + key) % 26;\n if(code < 0) code += 26;\n code += 97;\n s += (char)code;\n }\n return s;\n }", "public static String encipher(String string, String key){\n key = key != null ? key : defaultKey;\n String newString = \"\";\n string = Enigma.handleStringOnInput(string);\n string = string.toUpperCase();\n for (int i = 0; i < string.length(); i++){\n int temp = alphabetL.indexOf(string.charAt(i));\n newString += key.charAt(temp);\n }\n return newString;\n }", "public void encrypt(LHStringHolder holder) throws LRException\n\t{\n\t\tholder.setValue(LUEncrypt.encrypt(getFields(),\n\t\t\t((DataHRecordData)getData()).encryptKey.getStringValue()));\n\t}", "public static int[] teaEncrypt(int[] plainText) {\n int l = plainText[0];\n int r = plainText[1];\n int mult = 255 / 32;\n int sum = 0;\n for(int i = 0; i < 32; i++) {\n sum += DELTA;\n l += ((r << 4) + KEY) ^ (r + sum) ^ ((r >> 5) + KEY);\n r += ((l << 4) + KEY) ^ (l + sum) ^ ((l >> 5) + KEY);\n }\n int[] cipherText = {l, r};\n return cipherText;\n }", "@Override\n public void encrypt(byte[] text) throws IllegalArgumentException {\n if ( text.length != blockSize()) throw new IllegalArgumentException(\"text.length != cipher.blockSize())\");\n ciper.setKey(key);\n xor_nonce(text);\n ciper.encrypt(text);\n System.arraycopy(text, 0, nonce, 0, blockSize());\n }", "public String encryptString(char[] sPlainText)\n\t{\n\t\tlong lCBCIV = _rnd.nextLong();\n\t\treturn encStr(sPlainText, lCBCIV);\n\t}", "private String encStr(String plainText, long newCBCIV) {\n int strlen = plainText.length();\n byte[] buf = new byte[((strlen << 1) & ~7) + 8];\n int pos = 0;\n for (int i = 0; i < strlen; i++) {\n char achar = plainText.charAt(i);\n buf[pos++] = (byte) ((achar >> 8) & 0x0ff);\n buf[pos++] = (byte) (achar & 0x0ff);\n }\n byte padval = (byte) (buf.length - (strlen << 1));\n while (pos < buf.length) {\n buf[pos++] = padval;\n }\n this.bfc.setCBCIV(newCBCIV);\n this.bfc.encrypt(buf, 0, buf, 0, buf.length);\n byte[] newIV = new byte[Blowfish.BLOCKSIZE];\n BinConverter.longToByteArray(newCBCIV, newIV, 0);\n return BinConverter.bytesToHexStr(newIV, 0, Blowfish.BLOCKSIZE) + BinConverter.bytesToHexStr(buf, 0, buf.length);\n }", "public static String encryptString(String text, int key, int groupSize) {\r\n return groupify(caesarify(normalizeText(text), key), groupSize);\r\n }", "public TextAreaEntropy(String text) {\r\n super(text);\r\n initComponents();\r\n }", "public String encrypt(String input) {\n String result = \"\";\n for (int i = 0; i < input.length(); i += 2) {\n result += input.charAt(i);\n }\n for (int i = 1; i < input.length(); i += 2) {\n result += input.charAt(i);\n }\n return result;\n }", "@Override\n public String encrypt(String word, int cipher) {\n String result = \"\";\n int postcipher = 0;\n boolean wasUpper = false;\n for(int i = 0; i < word.length(); i++)\n {\n char c = word.charAt(i);\n postcipher = c;\n if(Character.isLetter(c)) {\n if (c < ASCII_LOWER_BEGIN) { //change to lowercase\n c += ASCII_DIFF;\n wasUpper = true;\n }\n postcipher = ((c + cipher - ASCII_LOWER_BEGIN) % NUM_ALPHABET + ASCII_LOWER_BEGIN); //shift by cipher amount\n if (wasUpper)\n postcipher -= ASCII_DIFF; //turn back into uppercase if it was uppercase\n wasUpper = false;\n }\n result += (char)postcipher; //add letter by letter into string\n }\n return result;\n }", "public void llenarDiccionario(){\n String[] letras = {\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\n \"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\",\"0\",\"1\",\"2\",\"3\",\"4\",\n \"5\",\"6\",\"7\",\"8\",\"9\",\" \"};\n String[] encriptado = {\"!\",\"]\",\"^\",\"æ\",\"ü\",\"×\",\"¢\",\"þ\",\"@\",\"§\",\"«\",\n \"A\",\"¥\",\"~\",\"c\",\"r\",\"z\",\"W\",\"8\",\"ç\",\"2\",\"L\",\"f\",\"&\",\"#\",\"[\",\",\",\n \"p\",\"Q\",\"K\",\"m\",\"s\",\"J\",\"V\",\"b\",\"U\",\"-\"};\n for (int i = 0; i < 36; i++) {\n diccionarioEncriptado.put(letras[i], encriptado[i]);\n }\n \n }", "public static void main(String args[]) \n {\n Scanner in=new Scanner(System.in);\n String text=in.nextLine();\n StringBuilder str=new StringBuilder(text);\n int str_len=str.length();\n int key=in.nextInt();\n for(int i=0;i<str_len;i++)\n {\n if(str.charAt(i)!=' ')\n {\n int ch=str.charAt(i)-key;\n if(str.charAt(i)>'A' && str.charAt(i)<'Z')\n {\n if(ch<'A')\n {\n ch=ch+26;\n }\n }\n else if(str.charAt(i)>'a' && str.charAt(i)<'z')\n {\n if(ch<'a')\n {\n ch=ch+26;\n }\n }\n str.setCharAt(i,(char)ch);\n }\n }\n System.out.print(str);\n }", "public String encrypt(String input) {\n \n StringBuilder sb = new StringBuilder(input);\n \n for (int i=0; i< sb.length(); i++) {\n char encrypted = encrypt(sb.charAt(i));\n sb.setCharAt(i, encrypted);\n }\n \n return sb.toString();\n }", "public static String Encrypt(String inputText, String key) {\n String retVal = \"\";\n try {\n Cipher cipher = Cipher.getInstance(\"AES/CBC/PKCS5Padding\");\n byte[] keyBytes = new byte[16];\n byte[] b = key.getBytes();\n int len = b.length;\n if (len > keyBytes.length) {\n len = keyBytes.length;\n }\n System.arraycopy(b, 0, keyBytes, 0, len);\n SecretKeySpec keySpec = new SecretKeySpec(keyBytes, \"AES\");\n IvParameterSpec ivSpec = new IvParameterSpec(keyBytes);\n cipher.init(Cipher.ENCRYPT_MODE, keySpec, ivSpec);\n BASE64Encoder _64e = new BASE64Encoder();\n byte[] encryptedData = cipher.doFinal(inputText.getBytes());\n retVal = _64e.encode(encryptedData);\n\n } catch (Exception ex) {\n ApiLog.One.WriteException(ex);\n }\n return retVal;\n }", "public static String caesarCypherEncryptor(String str, int key) {\n /* StringBuilder cipher = new StringBuilder();\n for (char ch : str.toCharArray()) {\n char shiftedChar = (char) (((ch - 'a' + key) % 26) + 'a');\n cipher.append(shiftedChar);\n }\n return cipher.toString();*/\n\n return str.chars()\n .mapToObj(ch -> (char) (((ch - 'a' + key) % 26) + 'a'))\n .map(String::valueOf)\n .collect(Collectors.joining());\n }", "public static String encryptAngular(String plainText) throws Exception {\n\t \tString key = \"u/Gu5posvwDsXUnV5Zaq4g==\";\n\t \tString iv = \"5D9r9ZVzEYYgha93/aUK2w==\";\n\t \tSecretKey secretKey = new SecretKeySpec(\n\t \t\t\tBase64.getDecoder().decode(key.getBytes(StandardCharsets.UTF_8)), \"AES\");\n\t \t\n\t \tAlgorithmParameterSpec algorithIV = new IvParameterSpec(\n\t \t\t\tBase64.getDecoder().decode(iv.getBytes(StandardCharsets.UTF_8))); \n\t \tCipher cipher = Cipher.getInstance(\"AES/CBC/PKCS5Padding\");\n\t \tcipher.init(Cipher.ENCRYPT_MODE, secretKey, algorithIV);\n\t \t\n\t \tString encryptedText = new String(Base64.getEncoder().encode(cipher.doFinal(\n\t \t plainText.getBytes(\"UTF-8\"))));\n\t \t\n\t \treturn encryptedText;\n\t }" ]
[ "0.6944979", "0.6862196", "0.6593145", "0.6584811", "0.6549072", "0.6542337", "0.649145", "0.639495", "0.63888484", "0.63816005", "0.6274743", "0.6215149", "0.6202276", "0.61863065", "0.60197204", "0.6009748", "0.59504396", "0.58815736", "0.5876283", "0.5854788", "0.5852239", "0.58449274", "0.58317155", "0.5804964", "0.5794381", "0.57919395", "0.5783543", "0.57807475", "0.5758656", "0.5741594", "0.57201177", "0.5703153", "0.5689576", "0.5682763", "0.56628853", "0.5652776", "0.5644739", "0.5638661", "0.5634375", "0.56275547", "0.5623539", "0.5600864", "0.5589606", "0.5576781", "0.5562026", "0.55609876", "0.5530985", "0.5486312", "0.5483995", "0.5463111", "0.54605454", "0.54518044", "0.5446053", "0.54435974", "0.5427984", "0.54161716", "0.5407309", "0.54068327", "0.5404633", "0.5386736", "0.5385898", "0.538036", "0.53708124", "0.5365088", "0.53602505", "0.53470397", "0.53429896", "0.5336069", "0.5334157", "0.53239703", "0.53233886", "0.53162897", "0.5287579", "0.5285776", "0.5255424", "0.52551746", "0.5247923", "0.5212767", "0.520805", "0.51825607", "0.5180702", "0.5174542", "0.51666963", "0.51545846", "0.5142038", "0.51361406", "0.51298857", "0.5128324", "0.5125685", "0.5112652", "0.5112565", "0.5110253", "0.5107775", "0.5104404", "0.50946015", "0.5088473", "0.5088344", "0.50828475", "0.5072251", "0.5071275" ]
0.55624574
44
/ String = adg jbeh kcfil 3 rows, 4 columns a d g j b e h k c f i l abc def ghi jkl
private static void encrypt(String string, int row, int column) { for(int i=0; i< column; i++){ int index=i; for(int j=0; j< row; j++){ if(index <= string.length()-1) System.out.print(string.charAt(index)); index+=column; } System.out.print(" "); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static String encrypt(String str) {\n\n String result = \"\";\n\n /* STEP 1: remove spaces */\n str = str.replaceAll(\"\\\\s+\", \"\");\n\n /* STEP 2: calculate dimensions */\n double dim = Math.sqrt(str.length());\n int rows = (int) Math.floor(dim);\n int columns = (int) Math.ceil(dim);\n\n /* STEP 3: check dimensions */\n if(columns*rows < str.length()) {\n if(columns > rows) {\n rows = columns;\n } else {\n columns = rows;\n }\n }\n\n /* STEP 4: build resulting string from column and index offset */\n for(int i = 0; i < columns; i++) {\n for(int j = 0; j < rows; j++) {\n if(j*columns+i < str.length())\n result += str.charAt(j*columns+i);\n }\n if(i < columns-1)\n result += \" \";\n }\n\n return result;\n }", "public static String getBlocksOf4(String text){\r\n\t\tString result = \"\";\r\n\t\t\r\n\t\tchar[] textChars = text.toCharArray();\r\n\t\tfor(int i = 0; i < text.length(); i++){\r\n\t\t\tresult += textChars[i];\r\n\t\t\tif ((i+1) % 4 == 0){\r\n\t\t\t\tresult += \" \";\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\treturn result;\r\n\t}", "public static String[][] fillRowMajor(String str, int rows, int cols)\n {\n String[][] mat = new String[rows][cols];\n \n int sIndex = 0;\n for(int r = 0; r < mat.length; r++)\n {\n for(int c = 0; c < mat[r].length; c++)\n {\n if(sIndex < str.length())\n {\n mat[r][c] = str.substring(sIndex, sIndex + 1);\n sIndex++;\n }\n }\n }\n \n return mat;\n }", "public static String[] splitString(String str) {\r\n String line = str.trim();\r\n String info = \"\";\r\n String areas = \"\";\r\n for (int i = 0; i < line.length(); i ++) {\r\n if (i <= 6)\r\n info += line.charAt(i);\r\n else\r\n areas += line.charAt(i);\r\n }\r\n info = info.trim();\r\n areas = areas.trim();\r\n String[] splitString = new String[]{info, areas};\r\n return splitString;\r\n }", "public static String tab(String string, int number){\n String concl = \"\";\n for (String line : string.split(\"\\n\")){\n for (int i = 0; i < number; i++){\n concl += \" \";\n }\n concl += line + \"\\n\";\n }\n return concl;\n }", "private byte[][] splitStr(String theString) {\n\t\tbyte[] strByteArr = theString.getBytes(Packet.DEF_ENCODING);// string -> byte[]\n\t\tint noOfStrings = strByteArr.length / Packet.MAX_LENGTH_BYTES;// number of byte[] required\n\t\tif (strByteArr.length % Packet.MAX_LENGTH_BYTES != 0)// check for a shorter byte[] on the end\n\t\t\tnoOfStrings++;\n\t\tbyte[][] resByte = new byte[noOfStrings][];// new byte array array\n\t\tint start = 0;\n\t\t// if the length of the array is less than the max, use it as the max\n\t\tint end = (strByteArr.length < Packet.MAX_LENGTH_BYTES) ? strByteArr.length : Packet.MAX_LENGTH_BYTES;\n\t\tfor (int i = 0; i < resByte.length; i++) {// for every byte array\n\t\t\tresByte[i] = Arrays.copyOfRange(strByteArr, start, end);// copy section of byte[]\n\t\t\tstart += Packet.MAX_LENGTH_BYTES;\n\t\t\tend = ((end + Packet.MAX_LENGTH_BYTES) > strByteArr.length) ? strByteArr.length\n\t\t\t\t\t: (end + Packet.MAX_LENGTH_BYTES);\n\t\t}\n\t\treturn resByte;\n\t}", "public static double[][] strToMatrix(String s){\n\n\t\tString[] strvec = s.split(\" \");\n\n\t\tint row = Integer.parseInt(strvec[0]);\n\t\tint col = Integer.parseInt(strvec[1]);\n\t\tdouble[][] matrix = new double[row][col];\n\n\t\tint index, irow, icol;\n\t\tfor(int i = 2; i < strvec.length; i++){\n\t\t\tindex = i-2;\n\t\t\tirow = index/col;\n\t\t\ticol = Math.max(0, index-(irow*col));\n\t\t\tmatrix[irow][icol] = Double.parseDouble(strvec[i]);;\n\t\t}\n\n\t\treturn matrix;\n\n\t}", "@Test public void testStrings() {\n Frame fr = null;\n try {\n fr = parseTestFile(\"smalldata/junit/string_test.csv\");\n\n //check dimensions\n int nlines = (int)fr.numRows();\n Assert.assertEquals(65005,nlines);\n Assert.assertEquals(7,fr.numCols());\n\n //check column types\n Vec[] vecs = fr.vecs();\n Assert.assertTrue(vecs[0].isString());\n Assert.assertTrue(vecs[1].isString());\n Assert.assertTrue(vecs[2].isString());\n Assert.assertTrue(vecs[3].isString());\n Assert.assertTrue(vecs[4].isString());\n Assert.assertTrue(vecs[5].isString());\n Assert.assertTrue(vecs[6].isString());\n\n //checks column counts - expects MAX_CATEGORICAL_COUNT == 65000\n //Categorical registration is racy so actual categorical limit can exceed MAX by a few values\n Assert.assertTrue(65003 <= vecs[0].nzCnt()); //ColV2 A lacks starting values\n Assert.assertTrue(65002 <= vecs[1].nzCnt()); //ColV2 B has random missing values & dble quotes\n Assert.assertTrue(65005 <= vecs[2].nzCnt()); //ColV2 C has all values & single quotes\n Assert.assertTrue(65002 <= vecs[3].nzCnt()); //ColV2 D missing vals just prior to Categorical limit\n Assert.assertTrue(65003 <= vecs[4].nzCnt()); //ColV2 E missing vals just after Categorical limit hit\n //Assert.assertTrue(65000 <= vecs[5].domain().length); //ColV2 F cardinality just at Categorical limit\n Assert.assertTrue(65003 <= vecs[6].nzCnt()); //ColV2 G missing final values\n\n //spot check value parsing\n BufferedString str = new BufferedString();\n Assert.assertEquals(\"A2\", vecs[0].atStr(str, 2).toString());\n Assert.assertEquals(\"B7\", vecs[1].atStr(str, 7).toString());\n Assert.assertEquals(\"'C65001'\", vecs[2].atStr(str, 65001).toString());\n Assert.assertEquals(\"E65004\", vecs[4].atStr(str, 65004).toString());\n Assert.assertNull(vecs[6].atStr(str, 65004));\n\n fr.delete();\n } finally {\n if( fr != null ) fr.delete();\n }\n }", "public static void main(String[] args)\r\n\t{\r\n\t\tString s = \"abc xy prjjj\";\r\n\t\tchar c []= s.toCharArray();\r\n\t\tint count =0;\r\n\t\tfor (int i = 0; i < c.length; i++) \r\n\t\t{\r\n\t\t\tif(c[i]==' ')\r\n\t\t\t{\r\n\t\t\t\tcount++;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t}\r\n\t\tString s1[]= new String[count+1];\r\n\t\tint si=0;\r\n\t\tint ei=0;\r\n\t\tint co=0;\r\n\t\t\r\n\t\tfor (int i = 0; i < c.length; i++)\r\n\t\t{\r\n\t\t\tif(c[i]==' ' || i==c.length-1)\r\n\t\t\t{\r\n\t\t\t\tei=i-1;\r\n\t\t\t\tif(i==c.length-1)\r\n\t\t\t\t{\r\n\t\t\t\t\tei=i;\r\n\t\t\t\t}\r\n\t\t\t\tint f=0;\r\n\t\t\t\tchar d[]= new char[(ei-si)+1];\r\n\t\t\t\tfor (int j = si; j <=ei; j++)\r\n\t\t\t\t{\r\n\t\t\t\t\td[f++]= c[j];\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\tString r1= new String(d);\r\n\t\t\t\ts1[co++] = r1;\t\r\n\t\t\t\t\r\n\t\t\t\tsi=i+1;\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t}\r\n\t\tfor (int j = 0; j < s1.length; j++)\r\n\t\t{\r\n\t\t\tSystem.out.println(s1[j]);\r\n\t\t\t\r\n\t\t}\r\n\t\t\r\n\t}", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String str = null;\n System.out.println(\"请输入您想输入的字符串:\");\n str = sc.nextLine();\n int nStr = str.length();\n char[] elevenTwo = new char[nStr];\n elevenTwo = str.toCharArray();\n char[][] array = new char[4][nStr];\n\n array[0][0] = '3';\n for (int i = 1; i < 4; i++){\n for (int j = 0, k = i - 1; j <nStr && k < nStr ; j++, k+=3){\n array[i][j] = elevenTwo[k];\n }\n }\n for (int i = 0; i < 4; i++){\n for (int j = 0; j < nStr; j++){\n System.out.print(array[i][j]);\n }\n System.out.println();\n }\n\n for (int i = 0; i < 4; i++){\n for (int j = 0; j < nStr; j++){\n System.out.print(array[i][j]);\n }\n }\n char[] bStr = new char[nStr];\n int k = 0;\n for (int m = 0; m < nStr; m++){\n for (int n = 1; n < 4 && k < nStr; n++){\n bStr[k++] = array[n][m];\n }\n }\n System.out.println();\n for (int i = 0; i < nStr; i++){\n System.out.print(bStr[i]);\n }\n }", "public String breakUp(String m){\n int arrSize = (int)(m.length()/35 + 0.5);\n\n String[] bySpace = m.split(\" \",0);\n String realMessage = \"\";\n int size = 0;\n for(int i = 0; i < bySpace.length;i++){\n size += bySpace[i].length();\n if(size > 35){\n size = 0;\n realMessage += \"\\n\";\n }\n realMessage += bySpace[i];\n }\n return realMessage;\n }", "public static String expansion(String r) {\n assert r.length() == 32;\n\n StringBuilder result = new StringBuilder();\n\n for(int row = 0; row < 8; row++){\n for(int col = 0; col < 6; col++){\n result.append(r.charAt(Expansion[row][col] - 1));\n }\n }\n\n return result.toString();\n }", "public String convert(String s, int numRows) {\n if (numRows == 1) {\n return s;\n }\n int len = s.length();\n StringBuilder builder = new StringBuilder();\n // Each 2*numRows-2 as a group\n int step = 2 * numRows - 2;\n // the 1st row, one element each group\n for (int i = 0; i < len; i += step) {\n builder.append(s.charAt(i));\n }\n // the jth row, 0 < j < numRows-1, two elements each group\n for (int j = 1, end = numRows - 1; j < end; j++) {\n // the difference between the two elements\n int dif = 2 * (numRows - 1 - j);\n for (int i = j; i < len; i += step) {\n builder.append(s.charAt(i));\n int second = i + dif;\n if (second < len) {\n builder.append(s.charAt(second));\n }\n }\n }\n // the last row\n for (int i = numRows - 1; i < len; i += step) {\n builder.append(s.charAt(i));\n }\n return builder.toString();\n }", "public static String formatParagragh(String text, Integer colWidth) {\n\t\tString formattedStr = \"\";\n\t\tString lineStr = \"\";\n\t\tString[] textArray = text.split(\" \");\n\t\tfor (String x : textArray) {\n\t\t\tif ((lineStr + x).length() > colWidth) {\n\t\t\t\tformattedStr += \"\\n\" + lineStr;\n\t\t\t\tlineStr = \"\";\n\t\t\t\t}\n\t\t\telse lineStr += \" \" + x;\n\t\t}\n\t\tif (lineStr != \"\") formattedStr += \"\\n\" + lineStr;\n\t\treturn formattedStr;\n\t}", "public static SpannableStringBuilder parseString(String string){\n if(string == null){\n throw new IllegalArgumentException(\"String parameter in parseString method must not be null.\");\n }\n List<MetaTag> metaTags = getMetaTags(string);\n SpannableStringBuilder sb = new SpannableStringBuilder();\n BufferedReader reader = null;\n String line;\n try{\n reader = new BufferedReader(new StringReader(string));\n while((line = reader.readLine()) != null){\n //Don't show the MetaTags\n //TODO add formatting and detail support from the MetaTags\n for(String s : getCurvedBracketTags(line)){\n line = line.replace(s, \"\");\n }\n int pos = 0;\n String name;\n MetaTag t;\n List<String> squareBrackets = getSquareBracketTags(line);\n for(String s : squareBrackets){\n int i = line.indexOf(s);\n if(i != -1) {\n //Add spaces to position the Chord correctly\n for (int j = 0; j < i; j++) {\n sb.append(\" \");\n }\n name = s.replace(\"[\", \"\").replace(\"]\", \"\").trim();\n sb.append(name);\n t = getDefineTag(metaTags, name);\n if(t != null){\n sb.setSpan(new ChordSpan(getChordFromDefineTag(t)), sb.length() - name.length(),\n sb.length() + name.length(), 0);\n }\n }\n line = line.replace(s, \"\");\n if(pos + 1 == squareBrackets.size()){\n sb.append(System.getProperty(\"line.separator\"));\n }\n pos++;\n }\n sb.append(line + System.getProperty(\"line.separator\"));\n }\n }catch(Exception e){\n e.printStackTrace();\n }finally {\n try{\n if(reader != null){\n reader.close();\n }\n }catch(Exception e){\n e.printStackTrace();\n }\n }\n return sb;\n }", "static int row(String sq) {\n String s = sq.substring(1,2);\n return 9 - Integer.parseInt(s);\n }", "public String convert(String s, int numRows) {\n\n\t\tchar[] c = s.toCharArray();\n\t\tint len = c.length;\n\t\tStringBuffer[] sb = new StringBuffer[numRows];\n\t\tfor (int i = 0; i < sb.length; i++)\n\t\t\tsb[i] = new StringBuffer();\n\n\t\tint i = 0;\n\t\twhile (i < len) {\n\t\t\tfor (int idx = 0; idx < numRows && i < len; idx++) // vertically\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// down\n\t\t\t\tsb[idx].append(c[i++]);\n\t\t\tfor (int idx = numRows - 2; idx >= 1 && i < len; idx--) // obliquely\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// up\n\t\t\t\tsb[idx].append(c[i++]);\n\t\t}\n\t\tfor (int idx = 1; idx < sb.length; idx++)\n\t\t\tsb[0].append(sb[idx]);\n\n\t\treturn sb[0].toString();\n\t}", "public static String [][] inMixColumnss(String s[][]) {\n String [][] ss=new String[4][4];\n for (int c = 0; c < 4; c++) {\n \n ss[0][c] =Integer.toHexString( (byte) (GMul(0x0E,Integer.parseInt(s[0][c], 16)) ^ GMul(0x0B, Integer.parseInt(s[1][c], 16)) ^ GMul(0x0D, Integer.parseInt(s[2][c], 16)) ^ GMul(0x09, Integer.parseInt(s[3][c], 16))) & 0xFF);\n ss[1][c] =Integer.toHexString( (byte) (GMul(0x09,Integer.parseInt(s[0][c], 16)) ^ GMul(0x0E, Integer.parseInt(s[1][c], 16)) ^ GMul(0x0B, Integer.parseInt(s[2][c], 16)) ^ GMul(0x0D, Integer.parseInt(s[3][c], 16))) & 0xFF);\n ss[2][c] =Integer.toHexString( (byte) (GMul(0x0D,Integer.parseInt(s[0][c], 16)) ^ GMul(0x09, Integer.parseInt(s[1][c], 16)) ^ GMul(0x0E, Integer.parseInt(s[2][c], 16)) ^ GMul(0x0B, Integer.parseInt(s[3][c], 16))) & 0xFF);\n ss[3][c] =Integer.toHexString( (byte) (GMul(0x0B,Integer.parseInt(s[0][c], 16)) ^ GMul(0x0D, Integer.parseInt(s[1][c], 16)) ^ GMul(0x09, Integer.parseInt(s[2][c], 16)) ^ GMul(0x0E, Integer.parseInt(s[3][c], 16))) & 0xFF);\n }\nreturn ss;\n}", "public char[][] getMatrixForm( String aColor )\r\n{\r\n\tchar c = constructionCharacter; // for brevity\r\n\r\n\t// Fill in the actual big letter. line by line\t\r\n\tmatrix[0][0] = c; matrix[0][1] = c; matrix[0][2] = c; \r\n\tmatrix[1][0] = c; matrix[1][4] = c;\r\n\tmatrix[2][0] = c; matrix[2][4] = c;\r\n\tmatrix[3][0] = c; matrix[3][1] = c;\r\n\tmatrix[4][0] = c; matrix[4][4] = c;\r\n\tmatrix[5][0] = c; matrix[5][4] = c;\r\n\tmatrix[6][0] = c; matrix[6][1] = c; matrix[6][2] = c; \r\n\t\r\n\t// Superimpose the color characters across the middle\t\r\n\tmatrix[3][0] = '-'; // required to precede the color characters as in \"-red\"\r\n\tfor( int i = 1; i < BigChar.MATRIX_WIDTH; ++i ) // go all the way across \r\n\t\tif( i <= aColor.length() ) // there is a color character to pick up\t\r\n\t\t\tmatrix[ 3 ][ i ] = aColor.charAt( i -1 ); // fill in the next color character\r\n\t\telse\r\n\t\t\tmatrix[ 3 ][ i ] = ' '; // pad on right with blanks\r\n\t\r\n\treturn matrix; \r\n}", "static long substrCount(int n, String s) {\n \tlong output=0;\n \t\n \tboolean[][] matrix = new boolean[n][n];\n \t\n \tfor(int i=0; i<n; i++) {\n \t\tmatrix[i][i] = true;\n \t\toutput++;\n \t}\n \t\n \tfor(int gap=1; gap<n; gap++) {\n \t\tfor(int i=0; i+gap <n; i++) {\n \t\t\tint j = i+gap;\n \t\t\t\n \t\t\tif(gap ==1) {\n \t\t\t\tif(s.charAt(i) == s.charAt(j)) {\n \t\t\t\t\tmatrix[i][j] = true;\n \t\t\t\t\toutput++;\n \t\t\t\t} else {\n \t\t\t\t\tmatrix[i][j] = false;\n \t\t\t\t}\n \t\t\t} else {\n \t\t\t\tif(s.charAt(i) == s.charAt(j) && matrix[i+1] [j-1]) {\n \t\t\t\t\t\n \t\t\t\t\tif(j-i >= 4 && s.charAt(i)== s.charAt(i+1)) {\n \t\t\t\t\t\tmatrix[i][j] = true;\n \t\t\t\t\toutput++;\n \t\t\t\t\t} else if(j-i <4) {\n \t\t\t\t\t\tmatrix[i][j] = true;\n \t\t\t\t\toutput++;\n \t\t\t\t\t} else {\n \t\t\t\t\t\tmatrix[i][j] = false;\n \t\t\t\t\t}\n \t\t\t\t\t\n \t\t\t\t} else {\n \t\t\t\t\tmatrix[i][j] = false;\n \t\t\t\t}\n \t\t\t}\n \t\t}\n \t}\n \t\n \treturn output;\n }", "@Test\n public void givenStringShouldReturnTheTransposedString() {\n assertTrue(transpose.setString(\"This is the given text\"));\n String expectedOutput = \"sihT si eht nevig txet\";\n assertEquals(expectedOutput, transpose.getTransposedString());\n }", "private String GetFourColContent(String col1Content, String col2Content,\n\t\t\t\t\t\t\t\t\t String col3Content, String col4Content,int charScale) {\n\n\t\tStringBuffer result = new StringBuffer();\n\n\t\tint col1Lines = 1;\n\t\tint col2Lines = 1;\n\t\tint col3Lines = 1;\n\t\tint col4Lines = 1;\n\n\t\tBillPrint.COL4_ITEMNAME = (this.charSize -BillPrint.FIXED_COL4_TOTAL - BillPrint.FIXED_COL4_QTY - BillPrint.FIXED_COL4_PRICE)/charScale - 3*BillPrint.FIXED_COL4_SPACE;\n\n\t\tdouble ln1 = col1Content.length();\n\t\ttry {\n\t\t\tln1 = (col1Content.getBytes(\"GBK\").length)/(BillPrint.COL4_ITEMNAME*1.0);\n\t\t} catch (UnsupportedEncodingException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\tcol1Lines = StringUtil.nearestTen(ln1);\n\t\tString col1PadContent = StringUtil.padRight(col1Content, col1Lines*BillPrint.COL4_ITEMNAME);\n\t\tArrayList<String> splittedCol1Content = StringUtil.splitEqually(col1PadContent, BillPrint.COL4_ITEMNAME);\n\n\t\tdouble ln2 = (col2Content.length())/(BillPrint.FIXED_COL4_PRICE*1.0/charScale);\n\t\tcol2Lines = StringUtil.nearestTen(ln2);\n\t\tString col2PadContent = StringUtil.padLeft(col2Content, col2Lines*BillPrint.FIXED_COL4_PRICE/charScale);\n\t\tArrayList<String> splittedCol2Content = StringUtil.splitEqually(col2PadContent, BillPrint.FIXED_COL4_PRICE/charScale);\n\n\t\tdouble ln3 = (col3Content.length())/(BillPrint.FIXED_COL4_QTY*1.0/charScale);\n\t\tcol3Lines = StringUtil.nearestTen(ln3);\n\t\tString col3PadContent = StringUtil.padLeft(col3Content, col3Lines*BillPrint.FIXED_COL4_QTY/charScale);\n\t\tArrayList<String> splittedCol3Content = StringUtil.splitEqually(col3PadContent, BillPrint.FIXED_COL4_QTY/charScale);\n\n\t\tdouble ln4 = (col4Content.length())/(BillPrint.FIXED_COL4_TOTAL*1.0/charScale);\n\t\tcol4Lines = StringUtil.nearestTen(ln4);\n\t\tString col4PadContent = StringUtil.padLeft(col4Content, col4Lines*BillPrint.FIXED_COL4_PRICE/charScale);\n\t\tArrayList<String> splittedCol4Content = StringUtil.splitEqually(col4PadContent, BillPrint.FIXED_COL4_PRICE/charScale);\n\n\n\t\tfor (int i=0; i< Math.max(Math.max(col1Lines, col2Lines), Math.max(col3Lines, col4Lines)); i++) {\n\t\t\tif (i<col1Lines) {\n\t\t\t\tresult.append(splittedCol1Content.get(i));\n\t\t\t}else{\n\t\t\t\tresult.append(StringUtil.padRight(\" \", BillPrint.COL4_ITEMNAME));\n\t\t\t}\n\t\t\t//padding\n\t\t\tresult.append(StringUtil.padRight(\" \", BillPrint.FIXED_COL4_SPACE));\n\n\t\t\tif (i<col2Lines) {\n\t\t\t\tresult.append(splittedCol2Content.get(i));\n\t\t\t}else {\n\t\t\t\tresult.append(StringUtil.padLeft(\" \", (BillPrint.FIXED_COL4_PRICE)/charScale));\n\t\t\t}\n\n\t\t\t//padding\n\t\t\tresult.append(StringUtil.padRight(\" \", BillPrint.FIXED_COL4_SPACE));\n\n\t\t\tif (i<col3Lines) {\n\t\t\t\tresult.append(splittedCol3Content.get(i));\n\t\t\t}else {\n\t\t\t\tresult.append(StringUtil.padLeft(\" \", (BillPrint.FIXED_COL4_QTY)/charScale));\n\t\t\t}\n\n\t\t\t//padding\n\t\t\tresult.append(StringUtil.padRight(\" \", BillPrint.FIXED_COL4_SPACE));\n\n\t\t\tif (i<col4Lines) {\n\t\t\t\tresult.append(splittedCol4Content.get(i));\n\t\t\t}else {\n\t\t\t\tresult.append(StringUtil.padLeft(\" \", (BillPrint.FIXED_COL4_PRICE)/charScale));\n\t\t\t}\n\t\t\tresult.append(reNext);\n\t\t}\n\t\treturn result.toString();\n\t}", "public String convert(String s, int nRows) {\n if (nRows == 1)\n return s;\n \n int l = s.length();\n \n char [][]a = new char[nRows][l];\n \n boolean down = true;\n \n int x = 0, y = 0;\n for (int i = 0; i < l; ++i) {\n char c = s.charAt(i);\n \n a[x][y] = c;\n \n if (x == nRows-1)\n down = false;\n if (x == 0)\n down = true;\n \n if (down) {\n ++x;\n } else {\n ++y;\n --x;\n } \n }\n \n StringBuilder sb = new StringBuilder();\n \n for (int i = 0; i < nRows; ++i)\n for (int j = 0; j < l; ++j) {\n if (a[i][j] != '\\0')\n sb.append(a[i][j]);\n }\n \n return sb.toString();\n }", "int main()\n{\n char s[10000]; \n scanf(\"%s\",s); \n int c; char t[1000][1000]; \n scanf(\"%d\",&c); \n int i,j=0,k=0; \n for(i=0;i<strlen(s); i+=c)\n {\n for(j=0;j<c;j++)\n {\n if(k%2==0)\n {\n if(i+j < strlen(s) )\n {t[k][j]=s[i+j];} \n else\n {t[k][j]='X';}\n }\n else\n {\n if(i+j < strlen(s))\n {\n t[k][c-j-1]=s[i+j]; \n } else\n {\n t[k][c-j-1]='X'; \n }\n } \n }\n k++;\n } \n for(i=0;i<c;i++)\n {\n for(j=0;j<k;j++)\n {\n printf(\"%c\",t[j][i]); \n }\n }\n}", "public static String[][] generateBoard(String puzzle) {\n //1 2 3 8 B 4 7 6 5\n String puzzleString = puzzle.replaceAll(\"\\\\s+\", \"\");\n String[][] puzzleBoard = new String[3][3];\n for (int i = 0; i < puzzleString.length(); i++) {\n char c = puzzleString.charAt(i);\n\n if (i < 3) {\n puzzleBoard[0][i] = String.valueOf(c);\n } else if (i > 2 && i < 6) {\n puzzleBoard[1][i - 3] = String.valueOf(c);\n } else {\n puzzleBoard[2][i - 6] = String.valueOf(c);\n }\n }\n\n return puzzleBoard;\n\n\n }", "public Row(String pegstring){\n\t\titems = new ArrayList<Peg>();\n\t\t//parse row string, create peg object and add to items array\n\t\tfor (int i = 0; i < pegstring.length();i++){\n\n\t\t\titems.add(new Peg(pegstring.charAt(i)));\n\n\t\t}// end for\n\n\t}", "public int getStringWidth(String text);", "private static char[] input(String string) {\n\t\tchar[] result = new char[4];\n\t\tfor (int i = 0; i < 4; i++)\n\t\t\tresult[i] = string.charAt(i);\n\t\treturn result;\n\t}", "public void fillVariable(String str, int i){\n\n String [] splitted = str.split(\" \");\n\n switch (i){\n case 0 : {\n width = Integer.parseInt(splitted[0]);\n height = Integer.parseInt(splitted[1]);\n maze = new String[height][width];\n\n break;\n }\n case 1 :{\n startX = Integer.parseInt(splitted[0]);\n startY = Integer.parseInt(splitted[1]);\n break;\n }\n case 2 :{\n endX = Integer.parseInt(splitted[0]);\n endY = Integer.parseInt(splitted[1]);\n break;\n }\n default: break;\n }\n\n\n }", "private void readStringCells( InputStream istrm ) throws IOException {\n PushbackInputStream stream =\n new PushbackInputStream( new BufferedInputStream( istrm ) );\n for ( boolean done = false; ! done; ) {\n int c = stream.read();\n switch ( (char) c ) {\n case '\\r':\n case '\\n':\n endRow();\n break;\n case '#':\n if ( rows.size() == 0 ) {\n comments.add( eatLine( stream ) );\n }\n else {\n eatLine( stream );\n }\n endRow();\n break;\n case ' ':\n case '\\t':\n break;\n case '\"':\n case '\\'':\n stream.unread( c );\n addCell( readString( stream ) );\n break;\n case END:\n done = true;\n endRow();\n break;\n default:\n stream.unread( c );\n addCell( readToken( stream ) );\n }\n }\n stream.close();\n }", "public String convert(String s, int numRows) {\n char[][] map = new char[numRows][s.length() * numRows / (2 * numRows - 1) + 1];\n char[] chars = s.toCharArray();\n\n boolean isDown = true;\n int i = 0, j = 0;\n int idx = 0;\n while (idx < chars.length) {\n map[i][j] = chars[idx++];\n if (isDown) {\n if (i < map.length - 1) {\n i++;\n } else if (i > 0) {\n i--;\n j++;\n isDown = false;\n } else {\n j++;\n }\n } else {\n if (i == 0) {\n i++;\n isDown = true;\n } else if (i < map.length - 1) {\n i--;\n j++;\n } else {\n j++;\n }\n }\n }\n StringBuilder sb = new StringBuilder();\n for (int x = 0; x < map.length; x++) {\n for (int y = 0; y < map[0].length; y++) {\n if (map[x][y] != Character.MIN_VALUE)\n sb.append(map[x][y]);\n }\n }\n return sb.toString();\n }", "public static String[][] createPattern()\n {\n //the game is more like a table of 6 columns and 6 rows\n\t\n\t//we're going to have to make a 2D array of 7 rows \n\n String[][] f = new String[7][15];\n\n //Time to loop over each row from up to down\n\n for (int i = 0; i < f.length; i++)\n { \n for (int j = 0; j < f[i].length; j++)\n {\n if (j % 2 == 0) f[i][j] =\"|\";\n\n else f[i][j] = \" \";\n \n if (i==6) f[i][j]= \"-\";\n } \n }\n return f;\n }", "private static String ZigZagConversionTest(String test, int rows) {\n\t\tString[] Temp = new String[rows];\r\n\t\tString result = \"\";\r\n\t\t\r\n\t\tif(rows == 1){\r\n\t\t\treturn test;\r\n\t\t}\r\n\t\t\r\n\t\tfor(int a = 0; a<rows;a++){\r\n\t\t\tTemp[a] = \"\";\r\n\t\t}\r\n\r\n\t\tfor(int i = 0; i<test.length(); i++){\r\n\t\t\tint pos = (i)%(2*rows-2);\r\n\t\t\tif(pos < rows){\r\n\t\t\t\tSystem.out.println(\"position is type1: \" + pos + test.charAt(i));\r\n\t\t\t\tTemp[pos] = Temp[pos] + String.valueOf(test.charAt(i));\r\n\t\t\t\tSystem.out.println(\"Current string for row \" + pos + \": \" + Temp[pos]);\r\n\t\t\t}else{\r\n\t\t\t\tSystem.out.println(\"position is type2: \" + pos + test.charAt(i));\r\n\t\t\t\tTemp[2*rows-2-pos] = Temp[2*rows-2-pos] + String.valueOf(test.charAt(i));\r\n\t\t\t\tSystem.out.println(\"Current string for row \" + pos + \": \" + Temp[2*rows-2-pos]);\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\tfor(int j = 0; j<rows;j++){\r\n\t\t\tresult = result + Temp[j];\r\n\t\t\tSystem.out.println(\"Current Row: \" + j + \" \" + result);\r\n\t\t}\r\n\t\treturn result;\r\n\t}", "public static String formatDescStr(String sInString) throws java.lang.Exception {\n\n\t\t\tStringBuffer sOut = new StringBuffer();\n\t\t\tboolean bBreakFlag = false;\n\n\t\t\tint iLength = 55;\n\n\t\t\ttry {\n\n\t\t\t\tbyte sTemp[] = sInString.getBytes();\n\n\t\t\t\tsInString = new String(sTemp);\n\n\t\t\t\tint iCounter = 1;\n\n\t\t\t\tif (sInString.length() > iLength) {\n\n\t\t\t\t\tfor (int i = 0; i < sInString.length(); i++) {\n\n\t\t\t\t\t\tif (sTemp[i] == (byte) '\\n') {\n\t\t\t\t\t\t\tiCounter = 1;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (iCounter % iLength == 0) {\n\t\t\t\t\t\t\tbBreakFlag = true;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (bBreakFlag) {\n\t\t\t\t\t\t\tiCounter = iCounter + 1;\n\t\t\t\t\t\t\tif (sInString.substring(i, i + 1).equals(\",\") || sInString.substring(i, i + 1).equals(\" \") || sInString.substring(i, i + 1).equals(\";\")) {\n\t\t\t\t\t\t\t\tif (!sInString.substring(i, i + 1).equals(\" \")) {\n\t\t\t\t\t\t\t\t\tsOut.append(sInString.substring(i, i + 1));\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tsOut.append(\"\\n\");\n\t\t\t\t\t\t\t\tbBreakFlag = false;\n\t\t\t\t\t\t\t\tiCounter = 1;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tsOut.append(sInString.substring(i, i + 1));\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tiCounter = iCounter + 1;\n\t\t\t\t\t\t\tsOut.append(sInString.substring(i, i + 1));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tsOut.append(sInString);\n\t\t\t\t}\n\n\t\t\t} catch (Exception e) {\n\t\t\t\tsOut.setLength(0);\n\t\t\t\tsOut.append(sInString);\n\t\t\t} finally {\n\t\t\t\t\n\t\t\t}\n\t\t\treturn sOut.toString();\n\t\t}", "public String convert(String s, int numRows) {\n if (1 == numRows) return s;\n StringBuffer sb = new StringBuffer(\"\");\n for (int i = 1; i <= numRows; i++) {\n int j = 0;\n while (true) {\n int later = i + j * (2 + 2 * (numRows - 2)) - 1;\n int former = later - 2 * (i - 1);\n if (i != 1 && i != numRows && (later + 1 > numRows) && former < s.length())\n sb.append(s.charAt(former));\n if (later < s.length())\n sb.append(s.charAt(later));\n if (former >= s.length() || later >= s.length())\n break;\n j++;\n }\n }\n return sb.toString();\n }", "public static String wrap ( final String in, final int width )\n {\n final StringBuilder sb;\n\n if (null == in) return null;\n if (width < 1) return in;\n\n sb = new StringBuilder(in);\n\n int i = 0;\n while (i + width < sb.length() && (i = sb.lastIndexOf(\" \", i + width)) != -1) {\n sb.replace(i, i + 1, \"\\n\");\n i++;\n }\n return sb.toString();\n }", "public static void main(String[] args) {\n String textToDecode = \"j5jqktt5tsk559tsskjssjttsjksts5998tsskst8q59kttt59skqj5sktqj5559skst5t59sjk8sqtst5jqqjss99jqj5qj59jsjq5559ktsqsjqj55st59jsqjksjq55k559ktqjks59ktttj55tts595sjq5559k8tst5jqqjk5995tktts59jsjq55595sktsqstjsjq559559k8sjjq5559tkjq555tksts555559ktt55559t559jsst55qjsk59tssjk8ts55jqqj99t5jqk8sj5559jq59tstkjq5ss8sk55k55955ts59kt555s5tksjq5559tkts59ktts55jqqj95\";\n\n //enter secret code characters\n String secretCode = \"58sjtkq9\";\n\n char[] secretCode_Split = secretCode.toCharArray();\n\n\n char[][] secretTable =\n {{'b', '0', 's', '_', 'k', '{','$',' '},\n {'/', '4', 'h', '<', ']', '9','!',':'},\n {'-', 'u', ';', 'z', 'a', 'j','r','_'},\n {'l', '3', 'c', '8', '#', '\"','i','1'},\n {'w', '7', 'o', '2', 'y', 'p','(','}'},\n {',', 'd', 'n', '*', 't', '%','g','['},\n {'x', '?', '=', 'e', '+', '6',')','q'},\n {'.', 'm', '@', '>', '5', '&','f','\\n'}};\n\n\n String[] textToDecode_Split_1 = textToDecode.split(\"(?<=\\\\G.{2})\");\n\n int[] result_row;\n result_row = new int[(textToDecode.length()/2)];\n\n int[] result_column;\n result_column = new int[(textToDecode.length()/2)];\n\n for (int i = 0; i < (textToDecode.length()/2) ; i++) {\n char[] textToDecode_Split_2 = textToDecode_Split_1[i].toCharArray();\n for (int j = 0; j <= 1; j++) {\n char textToDecode_Split_3 = textToDecode_Split_2[j];\n for (int k = 0; k < secretCode.length() ; k++) {\n if (j == 0) {\n if (textToDecode_Split_3 == secretCode_Split[k]) {\n result_row[i] = k;\n }\n } else if (j == 1) {\n if (textToDecode_Split_3 == secretCode_Split[k]) {\n result_column[i] = k;\n }\n }\n }\n }\n }\n\n for (int i = 0; i < result_row.length ; i++) {\n System.out.print(secretTable[result_row[i]][result_column[i]]);\n\n }\n}", "public static void main(String[] args) {\n\t\tString[][] str= new String[4][2];\r\n\t\t\r\n\t\t//Row 1\r\n\t\tstr[0][0]=\"Username\";\r\n\t\tstr[0][1]=\"Password\";\r\n\t\t//Row 2\r\n\t\tstr[1][0]=\"U1\";\r\n\t\tstr[1][1]=\"P1\";\r\n\t\t\r\n\t\tstr[2][0]=\"U2\";\r\n\t\tstr[2][1]=\"P2\";\r\n\t\t\r\n\t\tstr[3][0]=\"U3\";\r\n\t\tstr[3][1]=\"P3\";\r\n\t\t\t\t\r\n\t\t\t\t//System.out.println(str[1][1]);\r\n\t\tfor(int r=0; r<4; r++)\r\n\t\t{\r\n\t\t\tfor(int c=0; c<2; c++)\r\n\t\t\t{\r\n\t\t\tSystem.out.print(str[r][c]+\" \");\t\r\n\t\t\t}\r\n\t\t\tSystem.out.println();\r\n\t\t}\r\n\t}", "private static String[] seperateStr(String str)\r\n\t{\r\n\t\tboolean doubleSpace = false;\r\n\t\tint wordCount = 0;\r\n\t\tStringBuffer sb = new StringBuffer();\r\n\t\tif (str == null || str.length() == 0)\r\n\t\t{\r\n\t\t\treturn null;\r\n\t\t}\r\n\t\tfor (int j = 0; j < str.length(); j++)\r\n\t\t{\r\n\t\t\tif (str.charAt(j) == ' ')\r\n\t\t\t{\r\n\t\t\t\tif (!doubleSpace)\r\n\t\t\t\t\twordCount++;\r\n\r\n\t\t\t\tdoubleSpace = true;\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\t\t\tdoubleSpace = false;\r\n\t\t}\r\n\t\tString st[] = new String[wordCount + 1];\r\n\t\tint i = 0;\r\n\r\n\t\tdoubleSpace = false;\r\n\t\tString ch = \"\";\r\n\t\tfor (int j = 0; j < str.length(); j++)\r\n\t\t{\r\n\t\t\tif (str.charAt(j) == ' ')\r\n\t\t\t{\r\n\t\t\t\tif (!doubleSpace)\r\n\t\t\t\t{\r\n\t\t\t\t\tst[i] = sb.toString();\r\n\t\t\t\t\tsb.delete(0, sb.length());\r\n\t\t\t\t\ti++;\r\n\t\t\t\t}\r\n\t\t\t\tdoubleSpace = true;\r\n\t\t\t\tcontinue;\r\n\t\t\t} else\r\n\t\t\t{\r\n\t\t\t\tsb.append(str.charAt(j));\r\n\t\t\t}\r\n\t\t\tdoubleSpace = false;\r\n\t\t}\r\n\r\n\t\tst[i] = sb.toString();\r\n\t\t;\r\n\t\treturn st;\r\n\t}", "public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\n\t\t\n\t\t //1.Write a regex to split String by new line?\n\t\t String regex=\" \";\n\t\t String regex1=\"\\\\n+\"; //Split by new line\n\t\t \n\t\t String regex2=\"\\\\r?\"; //Split by new line also called carraiage return\n\t\t String regex3=\"\\\\r?\\\\n\";//Answer\n\t\t String s =\"subhash is \\n good \\n\\n boy\";\n\t\t String s1 =\"subhash is \\r good boy\";\n\t\t System.out.println(s1);\n\t\t String[] string = s.split(\"\\\\n\");\n\t\t String[] string1 = s.split(\"\\\\n?\");\n\t\t String[] string2 = s.split(\"\\\\n*\");\n\t\t String[] string3 = s.split(\"\\\\n+\");\n\t\t \n\t\t String[] string4 = s.split(\"\\\\n??\");\n\t\t String[] string5 = s.split(\"\\\\n*?\");\n\t\t String[] string6 = s.split(\"\\\\n+?\");\n\t\t \n\t\t String[] string7 = s.split(\"\\\\n?+\");\n\t\t String[] string8 = s.split(\"\\\\n*+\");\n\t\t String[] string9 = s.split(\"\\\\n++\");\n\t\t \n\t\t \n\t\t for(String ss: string)\n\t\t\t System.out.print(ss);\n\t\t \n\t\t //2.What is use of Dot(.) symbol in Java Regex? . represents any number of any characters\n\t\t \n\t\t //3. How to extract a substring using regex ? Example - String test = \"This is a test String and 'This is data we want'\"\n\t\t \n\t\t String input =\"This is a test String and 'This is data we want'\";\n\t\t Pattern pattern = Pattern.compile(\"(')(.*?)(')\");//reluctant quantifier\n\t\t Matcher matcher = pattern.matcher(input);\n\t\t \n\t\t while(matcher.find())\n\t\t {\n\t\t\t System.out.println(matcher.group(1)+matcher.group(2)+matcher.group(3));\n\t\t\t //'This is data we want'\n\t\t }\n\t\t \n\t\t /*\n\t\t \t\n\t\t \t*\t\t\tZero or more occurrences\t\t\t\t\t. * - Any sequence\n\t\t\t?\t\t\tZero or one occurrences(Optional)\t\t\t[0-9]? - Any optional digit\n\t\t\t+\t\t\tOne or more occurrences\t\t\t\t\t\t[0-9]+ - One or more digit\n\t\t\t{x}\t\t\tx instance of occurrences\t\t\t\t\tm{5} - Five instances of the letter m\n\t\t\t{x,y}\t\tbetween x and y instances of occurrences\t[0-9]{13,19} - Between 13 and 19 occurrences\n\t\t\t{x,}\t\tat least x instances of occurrences\t\t\t.{8,} - At least 8 characters\n\t\t \n\t\t \n\t\t */\n\t\t \n\t\t //4. What is difference between matches() and find() in Java Regex?\n\t\t //matches() returns true only if the whole string matches the specified pattern while find() returns trues even if a substring matches the pattern.\n\t\t \n\t\t \n\t\t //5.How to replace all non-alphanumeric characters with empty strings?\n\t\t \n\t\t \n\t\t System.out.println(\"a1A*()\".replaceAll(\"(?i)[a-z0-9]\",\"\"));//*()\n\t\t System.out.println(\"a1A*()\".replaceAll(\"[a-z0-9A-Z]\",\"\"));//*()\n\t\t \n\t\t \n\t\t \n\t\t //How to replace 2 or more spaces with single space in string and delete leading and trailing spaces?\n\t\t System.out.println(\"a b c \".replaceAll(\"\\\\s{1,}\",\" \").trim());\n\t\t \n\t\t //Create a regular expression that accepts alphanumeric characters only. Its length must be five characters long only\n\t\t System.out.println(Pattern.matches(\"(?i)[a-z0-9]{5}\",\"java1\"));//true- Matches check for the whole of input with the regex\n\t\t System.out.println(Pattern.matches(\"(?i)[a-z0-9]{5}\",\"subhad\"));//false\n\t\t \n\t\t //Create a regular expression that accepts 10 digit numeric characters starting with 1, 2 or 3 only.\n\t\t System.out.println(Pattern.matches(\"[123][0-9]{9}\", \"\"));\n\t\t System.out.println(Pattern.matches(\"[123]{1}[0-9]{9}\",\"\"));\n\t\t System.out.println(Pattern.matches(\"[123]{1}[\\\\d]{9}\",\"\"));\n\t\t \n\t\t \n\t\t //How to extract nos from a string\n\t\t List<Integer> list = new ArrayList<>();\n\t\t Pattern pattern1 = Pattern.compile(\"\\\\d+\");\n\t\t Matcher matcher1 = pattern1.matcher(\"1234dfdf4573dfdf5555d2fdf5555df55dfdfd513\");\n\t\t while(matcher1.find())\n\t\t {\n\t\t\t list.add(Integer.parseInt(matcher1.group()));\n\t\t }\n\t\t System.out.println();\n\t\t list.forEach(e->System.out.print(e+\":\"));// 1234:4573:5555:2:5555:55:513: one or more occurrence are grouped together \n\t\t System.out.println();\n\t\t \n\t\t //Pattern pattern1 = Pattern.compile(\"\\\\d\"); will print 1:2:3:4:4:5:7:3:5:5:5:5:2:5:5:5:5:5:5:5:1:3:\n\t\t \n\t\t \n\t\t System.out.println(\"***********\");\n\t\t //\tHow to split Java String by newlines?\n\t\t //\t\\r and \\n CR and LF used in windows\n\t\t \n\t\t \n\t\t String lines[]= \"lk\\r\\rdfdf\\nsd\\rfsdf\\nzsff\".split(\"[\\\\r?\\\\n]\");\n\t\t // lk::dfdf:sd:fsdf:zsff: this will check for each match of \\r or \\n and insert empty lines if there are consecutive line separators\n\t\t \n\t\t lines= \"lk\\r\\rdfdf\\nsd\\rfsdf\\nzsff\".split(\"[\\\\r\\\\n]+\");\n\t\t //lk:dfdf:sd:fsdf:zsff: - if you do not want empty lines\n\t\t \n\t\t //Importance of Pattern.compile()\n\t\t /*\n\t\t A regular expression, specified as a string, must first be compiled into an instance of Pattern class. \n\t\t Pattern.compile() method is the only way to create a instance of object. A typical invocation sequence is thus\n\t\t */\n\n\t\t \n\t\t \n\t\t System.out.println(Pattern.matches(\".s\", \"as\"));//true (2nd char is s) \n\t\t System.out.println(Pattern.matches(\".s\", \"mk\"));//false (2nd char is not s) \n\t\t System.out.println(Pattern.matches(\".s\", \"mst\"));//false (has more than 2 char) \n\t\t System.out.println(Pattern.matches(\".s\", \"amms\"));//false (has more than 2 char) \n\t\t System.out.println(Pattern.matches(\"..s\", \"mas\"));//true (3rd char is s) \n\t\t \n\t\t \n\t\t \n\t\t \n\t\t \n\t\t \n\t}", "public static void main(String[] args) {\n \tString s = \"[94,93,95,92,94,96,94,93,93,93,95,97,97,95,95,92,94,94,94,92,94,94,96,98,98,96,98,96,94,94,96,91,91,93,95,93,95,95,95,91,93,93,95,95,93,97,97,97,97,97,99,95,97,97,99,95,97,93,95,null,95,95,95,90,92,90,92,92,94,94,96,94,null,96,94,94,94,96,null,90,92,null,null,94,null,94,96,null,null,null,null,96,null,null,null,96,98,96,96,96,96,100,100,94,94,98,96,96,96,98,100,94,96,98,98,94,94,94,96,null,null,94,96,94,94,89,91,null,93,91,91,91,91,null,91,null,null,null,null,null,null,93,95,95,95,93,95,null,null,95,93,null,null,null,null,null,93,null,95,93,95,null,97,95,97,95,95,97,99,97,97,null,97,95,null,95,97,101,101,99,99,95,null,93,null,97,99,95,97,97,97,95,95,99,97,101,99,93,93,95,97,97,99,99,null,null,null,null,95,95,95,97,95,null,null,95,null,null,95,null,null,88,88,92,null,null,94,90,92,92,92,90,90,90,92,90,92,null,null,null,94,94,96,null,null,null,94,null,null,null,null,94,null,null,null,94,null,null,null,96,null,96,96,94,94,null,null,null,96,96,94,96,96,100,100,96,98,96,96,null,96,94,null,94,96,null,null,100,102,100,null,null,100,98,98,94,96,92,94,96,98,98,98,94,94,96,98,96,98,96,98,null,96,96,94,98,98,96,98,100,102,98,null,92,94,92,94,96,null,null,null,96,98,98,100,100,100,94,96,94,null,null,96,96,98,null,null,null,null,96,94,null,null,87,89,91,null,null,null,89,89,null,91,93,93,null,93,89,91,89,91,91,89,93,null,91,null,null,null,null,93,null,null,null,null,null,null,null,null,null,null,null,null,null,95,97,null,95,null,null,95,95,97,95,97,95,null,95,95,97,97,101,101,101,101,95,95,97,99,95,null,95,97,97,null,95,null,93,95,null,null,null,null,101,103,99,null,null,101,null,null,null,null,null,93,97,97,null,91,null,95,97,97,97,null,97,null,97,99,95,95,93,null,null,97,97,null,95,null,null,99,95,97,97,99,95,97,95,97,93,95,99,97,97,99,95,97,97,99,99,99,101,101,null,99,91,null,null,null,null,null,null,93,null,97,95,95,97,null,97,97,101,99,null,99,99,null,null,null,97,97,null,null,null,null,97,97,null,null,null,95,null,null,null,null,null,null,null,null,null,null,null,null,92,null,null,null,null,null,null,94,88,null,null,null,90,90,null,null,null,null,88,88,null,null,null,90,null,null,null,null,null,null,null,null,96,96,96,96,96,96,96,94,null,null,96,96,94,null,94,96,96,null,98,96,100,102,null,null,102,102,null,100,94,96,94,null,96,98,98,null,94,96,96,null,98,null,null,null,96,94,null,null,null,94,null,null,null,104,null,100,null,102,null,null,96,96,96,96,null,92,null,96,null,96,null,null,96,null,null,null,null,null,98,null,null,null,94,94,null,null,null,98,null,96,null,null,100,null,96,96,96,98,96,98,98,100,94,null,null,null,null,null,null,98,94,92,96,96,null,100,96,null,98,null,98,100,94,94,96,98,null,96,98,100,98,98,100,100,102,100,100,null,null,null,null,92,92,null,null,null,96,94,null,96,98,98,96,98,96,null,102,null,98,null,null,null,100,100,null,null,null,null,96,98,96,98,null,94,null,null,95,null,87,null,null,91,91,91,87,null,null,89,91,null,null,null,null,null,null,null,null,null,97,95,95,97,null,null,null,null,97,95,null,null,93,null,95,93,null,null,95,null,97,99,95,95,99,null,null,103,101,null,null,103,null,99,95,95,null,95,95,93,null,97,null,null,null,null,93,95,95,97,null,null,null,null,97,null,null,null,null,null,null,null,101,null,101,103,97,97,95,null,null,null,null,97,null,null,95,null,null,null,null,97,null,null,93,93,null,null,97,null,null,null,99,null,95,95,null,null,97,95,null,null,95,null,97,null,97,99,99,null,null,null,null,99,93,95,91,93,97,97,95,95,101,99,null,null,null,null,99,null,null,null,93,null,93,95,97,95,97,99,95,95,97,99,99,101,97,null,null,99,99,99,null,null,103,103,101,101,null,101,null,93,null,91,null,95,null,95,null,97,99,99,97,99,97,97,97,null,95,95,null,null,null,97,101,99,99,101,null,null,null,null,95,null,null,null,93,null,null,null,null,88,null,null,null,null,null,null,null,null,88,null,90,92,null,null,94,96,null,null,96,96,98,null,96,96,null,null,94,96,92,null,94,null,96,98,100,100,null,96,94,null,null,null,102,null,null,null,null,102,null,null,94,94,94,96,null,96,null,null,92,94,96,null,94,null,94,94,null,96,null,98,null,null,null,100,100,102,null,null,98,null,96,98,null,null,null,null,null,null,null,null,94,94,null,94,null,null,null,null,94,96,96,96,96,96,null,96,null,null,96,96,98,98,null,100,98,100,null,null,null,94,94,96,92,92,92,94,null,98,null,98,94,96,94,96,null,null,null,100,null,null,92,null,92,94,null,96,98,96,96,null,98,98,98,null,96,null,96,96,null,null,null,100,98,null,null,100,96,98,null,null,98,98,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,96,96,98,null,null,100,100,96,98,100,98,null,null,96,98,98,98,96,null,94,null,null,null,null,100,98,null,100,null,null,102,null,null,null,null,null,null,87,null,null,null,null,null,95,95,null,97,null,null,null,97,97,null,95,97,95,97,95,null,null,null,null,null,null,null,95,null,null,null,null,null,null,101,97,null,93,null,null,null,null,103,null,null,95,null,95,93,95,95,95,null,null,93,null,93,null,null,null,null,95,95,null,null,95,97,97,99,null,null,null,null,103,null,null,null,95,95,99,null,93,null,null,null,null,null,93,95,97,95,95,97,null,97,97,null,95,null,null,null,null,null,95,97,99,97,97,99,null,null,99,97,101,null,95,null,null,93,97,97,91,93,91,93,93,91,93,93,null,null,99,97,93,93,95,97,93,null,null,95,null,null,null,93,91,93,95,95,95,97,null,null,null,null,null,null,99,null,null,null,null,null,97,null,95,null,null,null,null,null,99,null,null,null,95,95,null,97,97,null,99,99,95,null,null,null,null,null,null,101,99,null,95,95,null,null,null,null,97,99,null,95,99,null,97,null,null,null,97,null,null,null,101,null,99,null,null,null,103,null,null,null,null,null,94,94,null,null,null,null,null,98,94,94,null,null,null,null,96,null,96,null,null,96,null,102,null,98,null,null,null,null,null,null,null,null,94,94,null,94,96,94,null,null,null,null,null,null,null,94,94,null,null,null,null,null,null,null,null,100,null,null,96,94,null,96,null,null,null,null,94,null,null,null,null,96,null,null,94,null,null,96,null,null,96,null,null,null,null,null,96,null,null,null,96,96,null,98,null,null,98,null,null,null,null,102,null,null,92,94,96,null,96,96,null,90,null,null,92,92,null,92,92,null,null,92,null,92,94,92,null,100,96,null,94,null,null,94,96,null,98,null,92,94,94,96,null,null,92,90,null,null,94,null,94,96,94,96,98,96,null,null,null,null,94,96,null,null,94,null,94,94,null,null,null,98,98,null,null,100,null,null,null,102,null,null,96,null,null,96,null,null,null,null,96,null,100,null,null,null,null,null,null,102,null,null,104,104,null,null,null,null,null,97,null,95,95,null,95,97,null,null,95,null,null,103,null,97,95,95,null,null,93,93,null,null,null,95,null,null,null,93,null,null,97,null,93,null,null,null,null,null,95,null,null,null,null,null,null,null,95,97,95,null,95,null,97,99,null,null,null,null,91,93,null,95,null,null,null,97,95,null,89,null,null,91,null,null,null,null,null,null,null,null,91,null,93,95,93,91,null,null,95,null,93,null,95,null,null,null,null,null,null,93,null,null,null,95,null,null,null,null,89,null,null,95,null,null,95,null,95,93,null,null,null,97,95,null,null,null,95,null,null,null,null,95,null,95,99,null,97,null,null,null,null,103,95,null,95,null,null,97,null,null,null,null,null,null,null,null,null,null,null,96,94,null,null,null,98,null,null,null,104,null,null,null,null,null,null,null,null,null,94,94,null,null,null,94,null,98,94,null,null,96,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,94,null,null,null,null,null,null,null,null,null,92,null,null,null,null,94,null,94,null,92,null,94,92,94,94,96,94,92,null,null,null,null,94,94,null,null,96,null,92,null,96,null,null,null,null,null,null,null,94,null,null,null,96,null,null,102,null,null,null,null,null,null,null,null,null,null,null,null,null,null,93,null,93,null,null,null,99,null,null,null,null,null,null,null,null,null,null,null,null,null,null,91,null,null,null,91,null,null,null,null,null,97,null,null,null,91,null,95,null,null,null,null,null,null,null,97,null,null,null,null,101,null,94,null,null,null,null,null,null,92,null,null,null,96,null,null,94,null,null,96,null,null,93,null,null,null,null,null,null,null,97]\";\r\n\t\tTreeNode one = TreeNode.str2tree(s);\r\n \tFindDuplicateSubtrees3 findDuplicateSubtrees = new FindDuplicateSubtrees3();\r\n\t\tList<TreeNode> result = findDuplicateSubtrees.findDuplicateSubtrees(one);\r\n\t\tfor (TreeNode treeNode : result) {\r\n\t\t\tSystem.out.println(treeNode);\r\n\t\t}\r\n\t}", "public String convert(String s, int numRows) {\n if (s == null || s.length() == 0) return \"\";\n if (numRows == 1) return s;\n StringBuilder[] sb = new StringBuilder[numRows];\n for (int i = 0; i < numRows; i++) {\n sb[i] = new StringBuilder();\n }\n int row = 0;\n int step = 0;\n\n for (int i = 0; i < s.length(); i++) {\n if (row == numRows - 1) step = -1;\n if (row == 0) step = 1;\n sb[row].append(s.charAt(i));\n row += step;\n }\n\n for (int i = 1; i < numRows; i++) {\n sb[0].append(sb[i]);\n }\n return sb[0].toString();\n }", "static String m8561a(String str) {\n return str.replaceAll(\"\\r\\n\", \"\\n\").replaceAll(\" *\\n *\", \"\\n\").replaceAll(\"\\n\", \" \").replaceAll(\"[ \\t\\\\x0B\\f\\r]+\", \" \");\n }", "public String splitColumn(String s){\n\t\tint i;\n\t\tchar ch;\n\t\tfor(i=s.length()-1; i>=0; i--){\n\t\t\tch = s.charAt(i);\n\t\t\tif('9'<ch || ch<'0')\n\t\t\t\tbreak;\t\t\t\n\t\t}\n\t\tif(i>=0 && i<s.length()-1)\n\t\t\treturn s.substring(0, i+1);\n\t\telse\n\t\t\treturn \"\";\t\n\t}", "public static void main(String[] args) {\n Scanner in=new Scanner(System.in);\n String text=in.nextLine();\n text=text.replaceAll(\"\\\\s\",\"\");\n int len=text.length();\n int numofrows=(int)Math.floor(Math.sqrt(len));\n int numofcols=(int)Math.ceil(Math.sqrt(len));\n if(numofcols*numofrows<len)numofrows=numofcols;\n for(int i=len;i<numofcols*numofcols;i++)text+='.';\n int index=0;\n for(int i=0;i<numofcols;i++)\n { for(int j=0;j<numofrows;j++)\n {\n char curr=text.charAt(i+j*numofcols);\n if(curr!='.')\n System.out.print(curr);\n }\n System.out.print(\" \");\n }\n }", "public static String[][] unwrapXml(String str){\n\t\tString[][] result=null;\n\t\t\n\t\ttry {\n\t\t\tDocument document = DocumentHelper.parseText(str);\n\t\t\tElement root = document.getRootElement();\n\n\t\t\tList nodes = root.elements();\n\t\t\t\n\t\t\tint row = root.nodeCount()+1; // number of rows in the table displayed (including field name)\n\t\t\t\t\t\t\t\t\t\t\t// nodeCount() only counts the number of direct children\n\t\t\tint col = 0;\n\t\t\tif(!nodes.isEmpty()){\n\t\t\t\tcol = ((Element)(nodes.get(0))).nodeCount(); \n\t\t\t}\n\t\t\t\n\t\t\t//System.out.println(\"row = \" + row);\n\t\t\t//System.out.println(\"column = \" + col);\n\t\t\t\n\t\t\t\n\t\t\tresult = new String[row][col]; // create the displayed table\n\t\t\t\n\t\t\t// insert field names\n\t\t\tfor(int i=0;i<col;i++){\n\t\t\t\tList elms = ((Element)(nodes.get(i))).elements();\n\t\t\t\tresult[0][i]=((Element)(elms.get(i))).getQualifiedName();\n\t\t\t\t//System.out.println(\"result[0][\"+i+\"] = \" + result[0][i]);\n\t\t\t}\n\t\t\t\n\t\t\t// insert values\n\t\t\tfor(int i=1;i<row;i++){ \n\t\t\t\tList elms = ((Element)(nodes.get(i-1))).elements();\n\t\t\t\t//System.out.println(\"elms in loop size = \"+elms.size());\n\t\t\t\tfor(int j=0;j<col;j++){ \n\t\t\t\t\tresult[i][j]= ((Element)(elms.get(j))).getText();\n\t\t\t\t\t//System.out.println(\"result[\"+i+\"][\"+j+\"] = \" + result[i][j]);\n\t\t\t\t}\t\n\t\t\t}\n\t\t} catch (DocumentException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\treturn result;\n\t}", "private boolean[][] createMatrix(String str) {\n\t\t int len = str.length();\n\t\t boolean[][] temp = new boolean[len][len];\n\t\t for (int i = len - 1; i >= 0; i--) {\n\t\t\t for(int j = len - 1; j >= i; j--) {\n\t\t\t\t if (i == j) {\n\t\t\t\t\t temp[i][j] = true;\n\t\t\t\t } else if (i + 1 == j){\n\t\t\t\t\t temp[i][j] = str.charAt(i) == str.charAt(j);\n\t\t\t\t } else {\n\t\t\t\t\t temp[i][j] = (str.charAt(i) == str.charAt(j)) && temp[i + 1][j - 1];\n\t\t\t\t }\n\t\t\t }\n\t\t }\n\t\t return temp;\n\t }", "public static void main(String [] args) {\n\t\tString str = \"ccacacabccacabaaaabbcbccbabcbbcaccabaababcbcacabcabacbbbccccabcbcabbaaaaabacbcbbbcababaabcbbaa\"\n\t\t\t\t+ \"ababababbabcaabcaacacbbaccbbabbcbbcbacbacabaaaaccacbaabccabbacabaabaaaabbccbaaaab\"\n\t\t\t\t+ \"acabcacbbabbacbcbccbbbaaabaaacaabacccaacbcccaacbbcaabcbbccbccacbbcbcaaabbaababacccbaca\"\n\t\t\t\t+ \"cbcbcbbccaacbbacbcbaaaacaccbcaaacbbcbbabaaacbaccaccbbabbcccbcbcbcbcabbccbacccbacabcaacbcac\"\n\t\t\t\t+ \"cabbacbbccccaabbacccaacbbbacbccbcaaaaaabaacaaabccbbcccaacbacbccaaacaacaaaacbbaaccacbcbaaaccaab\"\n\t\t\t\t+ \"cbccacaaccccacaacbcacccbcababcabacaabbcacccbacbbaaaccabbabaaccabbcbbcaabbcabaacabacbcabbaaabccab\"\n\t\t\t\t+ \"cacbcbabcbccbabcabbbcbacaaacaabb\"\n\t\t\t\t+ \"babbaacbbacaccccabbabcbcabababbcbaaacbaacbacacbabbcacccbccbbbcbcabcabbbcaabbaccccabaa\"\n\t\t\t\t+ \"bbcbcccabaacccccaaacbbbcbcacacbabaccccbcbabacaaaabcccaaccacbcbbcccaacccbbcaaaccccaabacabc\"\n\t\t\t\t+ \"abbccaababbcabccbcaccccbaaabbbcbabaccacaabcabcbacaccbaccbbaabccbbbccaccabccbabbbccbaabcaab\"\n\t\t\t\t+ \"cabcbbabccbaaccabaacbbaaaabcbcabaacacbcaabbaaabaaccacbaacababcbacbaacacccacaacbacbbaacbcbbbabc\"\n\t\t\t\t+ \"cbababcbcccbccbcacccbababbcacaaaaacbabcabcacaccabaabcaaaacacbccccaaccbcbccaccacbcaaaba\";\n\t\tSystem.out.println(substrCount2(1017, str));\n\t}", "@Test(timeout = 4000)\n public void test065() throws Throwable {\n StringReader stringReader0 = new StringReader(\"Cf&9B{tMCu\");\n stringReader0.read();\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0);\n char[] charArray0 = new char[5];\n stringReader0.read(charArray0);\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n javaParserTokenManager0.getNextToken();\n assertEquals(3, javaCharStream0.bufpos);\n assertEquals(4, javaCharStream0.getColumn());\n }", "Map(String input) {\n row = 0;\n col = 0;\n\n String line;\n Scanner fin = null;\n try\n {\n fin = new Scanner(new File(input));\n }\n catch (FileNotFoundException x)\n {\n System.out.println(\"Error: \" + x);\n System.exit(0);\n }\n // Take first line and get mapLength and mapHeight. Initialize map array\n line = fin.nextLine();\n String[] temp = line.split(\" \");\n maxR = Integer.parseInt(temp[0].toString());\n maxC = Integer.parseInt(temp[1].toString());\n map = new String[maxR][maxC];\n\n for(int j = 0; j < maxR; j++) {\n line = fin.nextLine();\n for(int i = 0; i < maxC; i++){\n map[j][i] = (line.charAt(i)) + \"\";\n }\n }\n }", "private static String m60359b(String str, String str2, String str3) {\n StringBuilder sb = new StringBuilder(String.valueOf(str).length() + 4 + String.valueOf(str2).length() + String.valueOf(str3).length());\n sb.append(str);\n sb.append(\"|T|\");\n sb.append(str2);\n sb.append(\"|\");\n sb.append(str3);\n return sb.toString();\n }", "public static double[][] create(String a) {\n a = a.replaceAll(\",\", \"\");\n a = a.trim().replaceAll(\" +\", \" \");\n String[] rowString = a.split(\";\");\n double[][] A = new double[rowString.length][];\n\n Scanner scanner = new Scanner(\"\");\n for (int i = 0; i < A.length; i++) {\n scanner = new Scanner(rowString[i]);\n List<Double> scanResult = new ArrayList<Double>();\n while (scanner.hasNextDouble())\n scanResult.add(scanner.nextDouble());\n A[i] = toPrimitive(scanResult);\n if (i > 0 && A[i].length != A[i - 1].length) {\n System.err.println(\"Dimensions of matrices being concatenated are not consistent.\");\n scanner.close();\n return null;\n }\n }\n scanner.close();\n return A;\n }", "private StringBuilder generateRowStringValue(PuzzlePiece col1, PuzzlePiece col2, PuzzlePiece col3, PuzzlePiece col4) {\n StringBuilder builder = new StringBuilder();\n int[][] arrayPuzzle1 = col1 != null ? col1.getArrayPuzzle() : null;\n int[][] arrayPuzzle2 = col2 != null ? col2.getArrayPuzzle() : null;\n int[][] arrayPuzzle3 = col3 != null ? col3.getArrayPuzzle() : null;\n int[][] arrayPuzzle4 = col4 != null ? col4.getArrayPuzzle() : null;\n for (int i = 0; i < 5; i++) {\n for (int j = 0; j < 20; j++) {\n if (j < 5) {\n if (col1 != null) {\n builder.append(arrayPuzzle1[i][j] == 1 ? \"o\" : \" \");\n } else {\n builder.append(\" \");\n }\n } else if (j < 10) {\n int jj = j - 5;\n if (col2 != null) {\n builder.append(arrayPuzzle2[i][jj] == 1 ? \"o\" : \" \");\n } else {\n builder.append(\" \");\n }\n } else if (j < 15) {\n int jj = j - 10;\n if (col3 != null) {\n builder.append(arrayPuzzle3[i][jj] == 1 ? \"o\" : \" \");\n } else {\n builder.append(\" \");\n }\n } else {\n int jj = j - 15;\n if (col4 != null) {\n builder.append(arrayPuzzle4[i][jj] == 1 ? \"o\" : \" \");\n } else {\n builder.append(\" \");\n }\n }\n }\n builder.append(\"\\n\");\n }\n return builder;\n }", "@Test\n void construct_from_string() {\n ComplexMatrix m = complexMatrix(\"1 + i| (2, 0) | i| 3 -6i|| 123 + 34i| i| 2.3E-10i| 0|| 1.234e+100| 1| i| -2i\");\n\n assertEquals(COMPLEX_MATRIX, m);\n\n System.out.println(m.toPrettyString());\n }", "void mo9058ad(String str, int i);", "static String encryption(String s) {\n\n s = s.replaceAll(\" \",\"\");\n StringBuffer sb = new StringBuffer(s);\n int len = sb.length();\n int L = (int)Math.floor(Math.sqrt(len));\n int M = (int)Math.ceil(Math.sqrt(len));\n int p = M;\n List<String> list = new ArrayList<>();\n for (int i = 0; i < sb.length();) {\n if(i+M < sb.length()){\n list.add(sb.substring(i, i+M));\n }else{\n list.add(sb.substring(i, len));\n }\n i=i+M;\n }\n\n StringBuffer[] tps = new StringBuffer[M];\n for (int i = 0; i < M ; i++) {\n StringBuffer tpsi = new StringBuffer();\n for (String str:\n list) {\n if(i < str.length())\n tpsi.append(str.charAt(i));\n }\n tps[i] = tpsi;\n }\n\n StringBuffer ans = new StringBuffer();\n for (StringBuffer str:\n tps) {\n ans.append(str.toString()+\" \");\n }\n return ans.toString();\n }", "int calcHeightForText(String str) {\n\t\tFontMetrics metrics = self.getGraphics().getFontMetrics(self.getFont());\n\t\tint hgt = metrics.getHeight();\n\t\tint adv = metrics.stringWidth(str);\n\t\tfinal int PIXEL_PADDING = 6;\n\t\tDimension size = new Dimension(adv, hgt + PIXEL_PADDING);\n\t\tfinal float PADDING_PERCENT = 1.1f;\n\t\t// calculate modifier to line wrapping so we can display the wrapped message\n\t\tint mult = (int) Math.floor(size.width / (textArea.getSize().width * PADDING_PERCENT));\n\t\t// System.out.println(mult);\n\t\tmult++;\n\t\treturn size.height * mult;\n\t}", "private StringBlock parseNextStringBlock() {\t\t\n\t\tif(!reader.hasNext())\n\t\t\treturn null;\n\t\t\n\t\tString num = \"-1\";\n\t\t\n\t\ttry {\n\t\t\t\n\t\t\tdo\n\t\t\t{\n\t\t\t\tnum = reader.nextLine(); //read and toss out first line of chunk (number)\n\t\t\t\tcurrentLineNum++;\n\t\t\t} while(num.isEmpty());\n\t\t\t\n\t\t\tcurrentLineNum++;\n\n\t\t\t//first line = number\n\t\t\t//since the stringBlocks are stored in order,\n\t\t\t//this line can be ignored\n\t\t\t\n\t\t\tString timeStr = reader.nextLine(); //read second line of chunk\n\t\t\tcurrentLineNum++;\n\t\t\t\n\t\t\t//second line = timestamps\n\t\t\tint startTime = CSubUtility.parseTimestamp(timeStr.substring(0, 12));\n\t\t\tint endTime = CSubUtility.parseTimestamp(timeStr.substring(17, 29));\n\t\t\t\n\t\t\tString str1 = reader.nextLine(); //read third line of chunk\n\t\t\tcurrentLineNum++;\t\t\t\n\t\t\t\n\t\t\t//if there are more than 2 lines (for the love of God, whyyyyyy would a file do this? [some actually do...])\n\t\t\t//then 2nd, 3rd, 4th, etc. lines get crammed into 2nd line to keep program from crashing.\n\t\t\tString str2 = \"\";\n\t\t\tString currentLine = \"\";\n\t\t\t\n\t\t\twhile(reader.hasNext() && !(currentLine = reader.nextLine()).isEmpty()) {\n\t\t\t\tcurrentLineNum++;\n\t\t\t\tstr2 += currentLine;\n\t\t\t}\n\t\t\t\n\t\t\tcurrentLineNum++; //didn't get incremented on the read where the loop fails\n\t\t\t\n\t\t\t//strip out any html. we ain't that fancy\n\t\t\tstr1 = str1.replaceAll(\"<\\\\w*>\", \"\").replaceAll(\"</\\\\w*>\", \"\");\n\t\t\tstr2 = str2.replaceAll(\"<\\\\w*>\", \"\").replaceAll(\"</\\\\w*>\", \"\");\t\t\t\n\t\t\t\n\t\t\treturn new StringBlock(str1, str2, startTime, endTime);\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\tthrow new IllegalStateException(\"Failed reading line number: \" + currentLineNum + \"\\nError: \" + e.getMessage());\t\t\n\t\t}\n\t}", "@Test\n\t public void test5 ()\n\t{\n\t\t\tString s = new String(\"aaabaaaaabaabaaaabaaaaaaaaaaaaaabaaaaaaaaaaaaaaabaaaaaaaaaaaaaaba\");\n\t s = s.replaceAll(\"\\\\s+\", \" \");\n\t assertEquals(\"aaaaaaaaaaaaaabaaaaaaaaaaaaaa\", LRS.lrs(s)); \n\t}", "@Test(timeout = 4000)\n public void test066() throws Throwable {\n StringReader stringReader0 = new StringReader(\"=<D!T!tLp\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0, 20, 0);\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n char[] charArray0 = new char[5];\n stringReader0.read(charArray0);\n javaParserTokenManager0.getNextToken();\n javaParserTokenManager0.getNextToken();\n assertEquals(1, javaCharStream0.getBeginColumn());\n assertEquals(3, javaCharStream0.getEndColumn());\n }", "public static void main(String[] args) {\n\r\n\t\tString str = \"Mr John Smith \";\r\n\t\tint trueLength= 13;\r\n\t\tint count=0;\r\n\t\tchar[] strArray = str.toCharArray();\r\n\t\t\r\n\t\tint charLength = strArray.length;\r\n\t\t\r\n\t\tfor(int i=0;i<str.length();i++) {\r\n\t\t\tif(str.charAt(i)==' ') count++;\r\n\t\t}\r\n\t\t\r\n\t\tSystem.out.println(\"Total white spaces \"+ count);\r\n\t\t\r\n\t\tint index = charLength+2*count;\r\n\t\tif(trueLength<str.length()) strArray[trueLength]='\\0';\r\n\t\t\r\n\t\tfor(int i=charLength-1;i>=0;i--) {\r\n\t\t\tif(strArray[i]==' ') {\r\n\t\t\t\tstrArray[index-1]='0';\r\n\t\t\t\tstrArray[index-2]='2';\r\n\t\t\t\tstrArray[index-3]='%';\r\n\t\t\t\tindex=index-3;\r\n\t\t\t} else {\r\n\t\t\t\tstrArray[index-1]=strArray[i];\r\n\t\t\t\tindex--;\r\n\t\t\t}\r\n\t\t}\r\n\t\tSystem.out.println(\"Final String \"+ strArray.toString());\r\n\t\t\r\n\t}", "public String readString (int dim) throws IOException {\n char campo[] = new char[dim];\n for (int i=0; i<dim; i++) campo[i] = readChar();\n return new String(campo).replace('\\0',' ');\n }", "private static String m12564b(String str, String str2, String str3) {\n StringBuilder sb = new StringBuilder(String.valueOf(str).length() + 4 + String.valueOf(str2).length() + String.valueOf(str3).length());\n sb.append(str);\n sb.append(\"|T|\");\n sb.append(str2);\n sb.append(\"|\");\n sb.append(str3);\n return sb.toString();\n }", "private void parseContent(String inputContent) {\n if (puzzleMap == null) {\n puzzleMap = new HashMap<String, Block>();\n }\n String[] lines = inputContent.split(System.lineSeparator());\n for (int i = 0; i < lines.length; ++i) {\n String[] val = lines[i].split(\"\\t\");\n\n Block block = new Block(\n val[0].trim(),\n val[1],\n val[2].trim(),\n val[3].trim(),\n val[4].trim(),\n val[5].trim()\n );\n puzzleMap.put(block.getId(), block);\n\n if (block.getLeftId().equals(Block.EMPTY_BLOCK)) cols++;\n if (block.getTopId().equals(Block.EMPTY_BLOCK)) rows++;\n }\n\n reorder();\n }", "@Test(timeout = 4000)\n public void test111() throws Throwable {\n StringReader stringReader0 = new StringReader(\"pZhZ$;yY23j:\");\n stringReader0.read();\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0);\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n javaParserTokenManager0.getNextToken();\n assertEquals(3, javaCharStream0.bufpos);\n assertEquals(4, javaCharStream0.getEndColumn());\n }", "public String[][] loadData(String fileName)\n{\n String[] rows = loadStrings(fileName);\n String[][] dataa = new String [24][7];\n int i = 0;\n for (String row : rows) \n {\n String[] columns = row.split(\",\");\n if (columns.length >= 7) \n {\n for (int j = 0; j < 7; j=j+1)\n {\n dataa [i][j]=columns[j];\n }\n i = i +1;\n }\n }\n return dataa;\n}", "@Test(timeout = 4000)\n public void test028() throws Throwable {\n StringReader stringReader0 = new StringReader(\"Q|ni.,qQXS\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0, 10, 10, 754);\n javaCharStream0.adjustBeginLineColumn(754, 59);\n int int0 = javaCharStream0.getBeginLine();\n assertEquals(59, javaCharStream0.getBeginColumn());\n assertEquals(755, int0);\n }", "@Test(timeout = 4000)\n public void test135() throws Throwable {\n StringReader stringReader0 = new StringReader(\"pZhZ$;yY23j:\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0, 121, 1);\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n javaParserTokenManager0.getNextToken();\n javaParserTokenManager0.getNextToken();\n assertEquals(5, javaCharStream0.bufpos);\n assertEquals(6, javaCharStream0.getBeginColumn());\n }", "@Override\n public String part1(List<String> input) {\n ArrayList<Integer> hit = new ArrayList<>();\n int listLen = input.size();\n\n //how long is the string\n int strLen = input.get(0).length();\n\n //Char init\n char location;\n // checking each column... ...\n for (int i = 0; i < 1; i++) {\n hit.add(0);\n // actual checking. vertical and y is horizontal\n for (int x = 0; x < listLen; x++) {\n int y = 0;\n if (x != 0) {\n y = x * 3;\n }\n\n //loop back if coordinates are out of bounds\n if (y >= strLen) {\n y = y % strLen;\n }\n\n location = input.get(x).charAt(y);\n if (location == '#') {\n hit.set(i,hit.get(i) + 1);\n }\n\n }\n }\n\n return \"\" + hit.get(0);\n }", "public static void stringProcessor(String coordinateString)\n\t{\n\t\t// Declares the String that will hold the column data substring.\n\t\tString columnCoordinate = \"\"; \n\t\n\t\t\n\t\t// Runs through the length of a queen position encoded string checking for the first digit.\n\t\tfor (int i = 0; i < coordinateString.length(); i++)\n\t\t{\n\t\t\tchar ch = coordinateString.charAt(i);\n\t\t\t\n\t\t\t// Once the first digit is found, the string is parsed into substrings for the \n\t\t\t// row and column respectively.\n\t\t\tif (Character.isDigit(ch))\n\t\t\t{\n\t\t\t\tqueenRow = Integer.parseInt(coordinateString.substring(i));\n\t\t\t\tcolumnCoordinate = coordinateString.substring(0, i);\n\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\t// Declares an array that will hold int values parsed from the column substring.\n\t\tint[] baseConValue = new int[columnCoordinate.length()];\n\t\t\n\t\t// Converts chars into usable ints ranging from 1 to 26.\n\t\tfor (int i = 0; i < columnCoordinate.length(); i++)\n\t\t{\n\t\t\tbaseConValue[i] = columnCoordinate.charAt(i) - 'a' + 1;\n\t\t}\n\t\t\n\t\t// Calls the horners method to retrieve a numerical representation for queenColumn.\n\t\tqueenColumn = horners(baseConValue, columnCoordinate.length());\n\t}", "public void testInlineString() {\n XSSFWorkbook wb = (XSSFWorkbook)_testDataProvider.openSampleWorkbook(\"xlsx-jdbc.xlsx\");\n XSSFSheet sheet = wb.getSheetAt(0);\n XSSFRow row = sheet.getRow(1);\n \n XSSFCell cell_0 = row.getCell(0);\n assertEquals(STCellType.INT_INLINE_STR, cell_0.getCTCell().getT().intValue());\n assertTrue(cell_0.getCTCell().isSetIs());\n assertEquals(\"A Very large string in column 1 AAAAAAAAAAAAAAAAAAAAA\", cell_0.getStringCellValue());\n \n XSSFCell cell_1 = row.getCell(1);\n assertEquals(STCellType.INT_INLINE_STR, cell_1.getCTCell().getT().intValue());\n assertTrue(cell_1.getCTCell().isSetIs());\n assertEquals(\"foo\", cell_1.getStringCellValue());\n \n XSSFCell cell_2 = row.getCell(2);\n assertEquals(STCellType.INT_INLINE_STR, cell_2.getCTCell().getT().intValue());\n assertTrue(cell_2.getCTCell().isSetIs());\n assertEquals(\"bar\", row.getCell(2).getStringCellValue());\n }", "@Test(timeout = 4000)\n public void test123() throws Throwable {\n StringReader stringReader0 = new StringReader(\"[KXX]J]NmN+<TJ,w1_\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0, 2897, 2897);\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n javaParserTokenManager0.getNextToken();\n Token token0 = javaParserTokenManager0.getNextToken();\n assertEquals(2898, javaCharStream0.getBeginColumn());\n assertEquals(74, token0.kind);\n }", "@Test(timeout = 4000)\n public void test044() throws Throwable {\n StringReader stringReader0 = new StringReader(\"}y5+{SPClS&QvLb0Qm\");\n stringReader0.read();\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0);\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n javaParserTokenManager0.getNextToken();\n javaParserTokenManager0.getNextToken();\n assertEquals(2, javaCharStream0.bufpos);\n assertEquals(3, javaCharStream0.getColumn());\n }", "private void initMapData() {\n\n\t\ttry {\n\n\t\t\t@SuppressWarnings(\"resource\")\n\t\t\tBufferedReader br = new BufferedReader(new FileReader(mapFile));\n\t\t\t\n\t\t\tfor (int row = 0; row < height; row++) {\n\t\t\t\t\n\t\t\t\t// read a line\n\t\t\t\tString line = br.readLine();\n\t\t\t\t\n\t\t\t\t// if length of this line is different from width, then throw\n\t\t\t\tif (line.length() != width)\n\t\t\t\t\tthrow new InvalidLevelFormatException();\n\t\t\t\t\n\t\t\t\t// split all single characters of this string into array\n\t\t\t\tchar[] elements = line.toCharArray();\n\t\t\t\t\n\t\t\t\t// save these single characters into mapData array\n\t\t\t\tfor (int col = 0; col < width; col++) {\n\t\t\t\t\tmapElementStringArray[row][col] = String.valueOf(elements[col]);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t\tbr.close();\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}", "@Test\n public void repeatedSubstringPattern() {\n assertTrue(new Solution1().repeatedSubstringPattern(\"abcabcabcabc\"));\n }", "static long repeatedString(String s, long n) {\n char[] arr=s.toCharArray();\n int i,count=0,cnt=0;\n for(i=0;i<arr.length;i++){\n if(arr[i]=='a'){\n count++;\n }\n }\n long len=(n/arr.length)*count;\n long extra=n%arr.length;\n if(extra==0){\n return len;\n }else{\n for(i=0;i<extra;i++){\n if(arr[i]=='a'){\n cnt++;\n }\n }\n return len+cnt;\n }\n\n\n }", "private void process(String rowString) {\r\n\r\n //split to array\r\n data = rowString.split(\",\");\r\n len=data.length;\r\n\r\n //get xlsx sheet file name\r\n buildFileName();\r\n\r\n System.out.println(unitName.toString());\r\n\r\n excel();\r\n\r\n }", "private static int[][] parseMatrixInput(String input) throws MatrixException {\n String[] rows = input.trim().split(\"\\n\");\n String[] columns = rows[0].trim().split(\" \");\n\n // Various checks against dimension\n if(rows.length < 1 || columns.length < 1) {\n throw new MatrixException(\"Matrix Exception: Matrix does not have rows or perhaps columns.\");\n }\n\n if(rows.length != columns.length) {\n throw new MatrixException(\"Matrix Exception: Square matrix not provided\");\n }\n\n if(!MatrixHelpers.isAPowerOfTwo(rows.length)) {\n throw new MatrixException(\"Matrix Exception: Matrix dimension is not a power of two.\");\n }\n\n // Should be ideal dimension\n int [][] matrix = new int[rows.length][columns.length];\n\n try {\n for(int i = 0; i < rows.length; i++) {\n // Tokenize horizontally\n String[] rowTokens = rows[i].trim().split(\" \");\n\n // Check for a dodgy line\n if(rowTokens.length != columns.length) {\n throw new MatrixException(\"Matrix Exception: Matrix row length does not conform to original dimension.\");\n }\n\n for(int j = 0; j < rowTokens.length; j++) {\n matrix[i][j] = Integer.parseInt(rowTokens[j]);\n }\n }\n } catch(ArrayIndexOutOfBoundsException | NumberFormatException ex) {\n throw new MatrixException(\"Matrix Exception: Could not parse number.\", ex);\n }\n\n return matrix;\n }", "public String row(int i)\n throws Exception\n {\n if (i < 0 || i > height)\n throw new Exception(\"Invalid row \" + i);\n\n String result = tb.row(i);\n result = result.substring(0, width);\n return result;\n }", "public static String toFixedWidth(String s, int w) {\n StringTokenizer tokenizer = new StringTokenizer(s);\n StringBuffer buf = new StringBuffer();\n int col = 0;\n\n while (tokenizer.hasMoreTokens()) {\n String token = tokenizer.nextToken();\n if (col + 1 + token.length() > w) {\n buf.append(\"\\n\" + token);\n col = token.length();\n continue;\n }\n else if (col > 0) {\n buf.append(\" \");\n col++;\n }\n buf.append(token);\n col += token.length();\n }\n\n return buf.toString();\n }", "public static Boolean validateInput(String str) {\n String[] lines = str.split(\"\\n\");\r\n // System.out.println(\"lines array:\"+lines.length);\r\n Boolean validate = true;\r\n String[] lineParameters;\r\n int countFor =0;\r\n for (String line : lines) {\r\n if(countFor > 1){\r\n lineParameters = line.split(\",\");\r\n\r\n if (lineParameters.length != 5) {\r\n validate = false;\r\n break;\r\n }\r\n }\r\n countFor++;\r\n \r\n\r\n }\r\n return validate;\r\n }", "public static void main(String args[]){\n\t\tString s =stringRotate5(\"abcdefghijk\",4);\r\n\t\tSystem.out.println(s);\r\n\t}", "@Test(timeout = 4000)\n public void test023() throws Throwable {\n StringReader stringReader0 = new StringReader(\"Gnzd86`;Gs=\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0, 14, 4094, 4075);\n javaCharStream0.BeginToken();\n int int0 = javaCharStream0.getEndColumn();\n assertEquals(0, javaCharStream0.bufpos);\n assertEquals(4094, int0);\n }", "private static String makeCorrectSize(String s, int length){\n\t\tStringBuilder sb = new StringBuilder(s); \n\t\tfor(int i = sb.length(); i<length; i++){\n sb.append(\" \");\n }\n\t\treturn sb.toString(); \n\n\t}", "private static String compressString(String str){\n\t\t\n\t\tint sizeComStr = sizeOfCompressedStr(str);\n\t\tint orgLen = str.length();\n\t\tif(sizeComStr>= orgLen)\n\t\t\treturn str;\n\t\t\n\t\tStringBuffer myStr = new StringBuffer();\n\t\tint i=0,j=i+1;\n\t\tint count =1;\n\t\t\n\t\twhile(i<orgLen && j<orgLen){\n\t\t\n\t\t\tif(str.charAt(i) == str.charAt(j)){\n\t\t\t\tcount++;\n\t\t\t\tj++;\t\t\t\t\t\t\t\n\t\t\t}\n\t\t\telse{\n\t\t\t\t\n\t\t\t\tmyStr.append(str.charAt(i));\n\t\t\t\tmyStr.append(count);\n\t\t\t\ti=j;\n\t\t\t\tcount = 1;\t\n\t\t\t\tj++;\n\t\t\t\tif(j>=orgLen)\n\t\t\t\t\tbreak;\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t}\n\t\t\n\t\tmyStr.append(str.charAt(i));\n\t\tmyStr.append(count);\n\t\t\n\t\treturn myStr.toString();\t\n\t\t\n\t}", "public List<String> decode(String s) {\r\n int i = 0, n = s.length();\r\n List<String> output = new ArrayList();\r\n while (i < n) {\r\n int length = stringToInt(s.substring(i, i + 4));\r\n i += 4;\r\n output.add(s.substring(i, i + length));\r\n i += length;\r\n }\r\n return output;\r\n }", "private String testString() {\n\t return\n\t \"CPLEX 10.1.0: optimal integer solution; objective 0\\n\" +\n\t \"0 MIP simplex iterations\\n\" +\n\t \"0 branch-and-bound nodes\\n\" +\n\t \"shipping_amount [*,*] (tr)\\n\" +\n\t \"# $1 = Product98464\\n\" +\n\t \"# $2 = Product98783\\n\" +\n\t \"# $4 = Product98989\\n\" +\n\t \"# $6 = Product99172\\n\" +\n\t \"# $7 = Product98911\\n\" +\n\t \"# $8 = Product98970\\n\" +\n\t \"# $9 = Product98991\\n\" +\n\t \"# $10 = Product99022\\n\" +\n\t \"# $11 = Product98803\\n\" +\n\t \": $1 $2 Product98731 $4 Product99036 $6 $7 $8 $9 $10 $11 :\\n\" +\n\t \"=\\n\" +\n\t \"Store65536 9 9 0 9 19 11 11 16 12 12 17\\n\" +\n\t \"Store65583 0 0 0 0 0 0 0 0 0 0 0\\n\" +\n\t \"Store65581 0 0 0 0 0 0 0 0 0 0 0\\n\" +\n\t \"Store65627 0 0 18 0 0 0 0 0 0 0 0\\n\" +\n\t \"Store65542 0 0 0 0 0 0 0 0 0 0 0\\n\" +\n\t \"Store65631 0 0 0 0 0 0 0 0 0 0 0\\n\" +\n\t \"Store65546 0 0 0 0 0 0 0 0 0 0 0\\n\" +\n\t \"Store65625 0 0 0 0 0 0 0 0 0 0 0\\n\" +\n\t \"Store65610 0 0 0 3 4 0 0 0 0 0 0\\n\" +\n\t \"Store65620 0 0 0 0 0 0 0 0 0 0 0\\n\" +\n\t \"Store65603 0 0 0 0 0 0 0 0 0 0 0\\n\" +\n\t \"Store65634 0 1 0 0 0 0 0 0 0 0 222\\n\" +\n\t \";\\n\";\n\t}", "public static String [][] MixColumnss(String s[][]) {\n String [][] ss=new String[4][4];\n for (int c = 0; c < 4; c++) {\n \n ss[0][c] =Integer.toHexString( (byte) (GMul(0x02,Integer.parseInt(s[0][c], 16)) ^ GMul(0x03, Integer.parseInt(s[1][c], 16)) ^ Integer.parseInt(s[2][c], 16) ^ Integer.parseInt(s[3][c], 16)) & 0xFF);\n ss[1][c] =Integer.toHexString( (byte) (Integer.parseInt(s[0][c], 16) ^ GMul(0x02, Integer.parseInt(s[1][c], 16)) ^ GMul(0x03, Integer.parseInt(s[2][c], 16)) ^ Integer.parseInt(s[3][c], 16)) & 0xFF);\n ss[2][c] =Integer.toHexString( (byte) (Integer.parseInt(s[0][c], 16) ^ Integer.parseInt(s[1][c], 16) ^ GMul(0x02, Integer.parseInt(s[2][c], 16)) ^ GMul(0x03, Integer.parseInt(s[3][c], 16))) & 0xFF);\n ss[3][c] =Integer.toHexString( (byte) (GMul(0x03, Integer.parseInt(s[0][c], 16)) ^ Integer.parseInt(s[1][c], 16) ^ Integer.parseInt(s[2][c], 16) ^ GMul(0x02, Integer.parseInt(s[3][c], 16))) & 0xFF);\n }\nreturn ss;\n}", "static String[] wrapLines(String s) {\n if (s.length() <= 80) {\n return new String[]{s};\n }\n int wc = countWrapSep(s);\n if (wc > 0) {\n int[] break_points = new int[wc];\n int offset = 0;\n for (int i = 0; i < wc; i++) {\n int index = s.indexOf('\\u001c', offset);\n break_points[i] = index;\n offset = index + 1;\n }\n\n int first_break = -1;\n for (int i = 0; i < break_points.length; i++) {\n int possible = break_points[i];\n if (possible > 80) {\n break;\n }\n first_break = possible;\n }\n if ( first_break == -1 ) {\n first_break = s.length();\n }\n\n int ws_length = 0;\n for (int i = 0; i < s.length(); i++) {\n if (s.charAt(i) == ' ')\n ++ws_length;\n else\n break;\n }\n String leading_ws = s.substring(0, ws_length);\n String head = s.substring(0, first_break);\n String tail = s.substring(first_break);\n //head = head.replaceAll(\"[\u001c]\", \"\");\n //tail = tail.replaceAll(\"[\u001c]\", \"\");\n return new String[]{head, leading_ws + double_indent + tail};\n }\n return null;\n }", "@Test(timeout = 4000)\n public void test019() throws Throwable {\n StringReader stringReader0 = new StringReader(\"GD}>zPHIT2VcF.\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0, 91, 91);\n javaCharStream0.BeginToken();\n javaCharStream0.adjustBeginLineColumn((-366), 1);\n int int0 = javaCharStream0.getLine();\n assertEquals(0, javaCharStream0.bufpos);\n assertEquals((-366), int0);\n }", "@Test(timeout = 4000)\n public void test078() throws Throwable {\n StringReader stringReader0 = new StringReader(\"q,rv8PAfKjbSw`H(r\");\n stringReader0.read();\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0);\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n char[] charArray0 = new char[2];\n stringReader0.read(charArray0);\n javaParserTokenManager0.getNextToken();\n assertEquals(9, javaCharStream0.bufpos);\n assertEquals(10, javaCharStream0.getColumn());\n }", "public static String sBoxes(String input) {\n\n assert input.length() == 48;\n\n StringBuilder result = new StringBuilder();\n\n int tempIndex = 0;\n String[] blocks = new String[8];\n\n for (int i = 0; i < 48; i+=6) {\n String tempBlock = input.substring(i, i+6);\n blocks[tempIndex] = tempBlock;\n tempIndex++;\n }\n\n for (int i = 0; i < 8; i++) {\n String outside = blocks[i].charAt(0) + \"\" + blocks[i].charAt(blocks[i].length() - 1);\n String inside = blocks[i].substring(1, blocks[i].length() - 1);\n\n int row = Integer.parseInt(outside, 2);\n int col = Integer.parseInt(inside, 2);\n\n int fromMap = SBoxes[i][row][col];\n String fromMapBinary = Integer.toBinaryString(fromMap);\n\n result.append(String.format(\"%4s\", fromMapBinary).replace(\" \", \"0\"));\n }\n\n return result.toString();\n }", "private static List<String> stringToList(String string) {\n\t // Create a tokenize that uses \\t as the delim, and reports\n\t // both the words and the delimeters.\n\t\tStringTokenizer tokenizer = new StringTokenizer(string, \"\\t\", true);\n\t\tList<String> row = new ArrayList<String>();\n\t\tString elem = null;\n\t\tString last = null;\n\t\twhile(tokenizer.hasMoreTokens()) {\n\t\t\tlast = elem;\n\t\t\telem = tokenizer.nextToken();\n\t\t\tif (!elem.equals(\"\\t\")) row.add(elem);\n\t\t\telse if (last.equals(\"\\t\")) row.add(\"\");\n\t\t\t// We need to track the 'last' state so we can treat\n\t\t\t// two tabs in a row as an empty string column.\n\t\t}\n\t\tif (elem.equals(\"\\t\")) row.add(\"\"); // tricky: notice final element\n\t\t\n\t\treturn(row);\n\t}", "@Test(timeout = 4000)\n public void test154() throws Throwable {\n StringReader stringReader0 = new StringReader(\"Q!@aV0Ak~pvq\");\n stringReader0.read();\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0);\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n javaParserTokenManager0.getNextToken();\n javaParserTokenManager0.getNextToken();\n javaParserTokenManager0.getNextToken();\n assertEquals(4, javaCharStream0.bufpos);\n assertEquals(7, javaCharStream0.getEndColumn());\n }", "public static void main(String[] args) {\n\t\t\n\t\tString str = \"abccbc\";\n\t\t\n\t\tlong[][] dp = new long[str.length()][str.length()];\t\n\t\t\n\t\tfor (int g=0 ; g<str.length() ; g++) {\n\t\t\t\n\t\t\tfor (int i=0 , j=g ; j<str.length() ; i++ , j++) {\n\t\t\t\tif (g == 0) dp[i][j] = 1;\n\t\t\t\t\n\t\t\t\telse if (g == 1) dp[i][j] = (str.charAt(i) == str.charAt(j)) ? 3 : 2;\n\t\t\t\t\n\t\t\t\telse dp[i][j] = (str.charAt(i) == str.charAt(j)) ? (dp[i][j-1] + dp[i+1][j] + 1) : (dp[i][j-1] + dp[i+1][j] - dp[i+1][j-1]);\n\t\t\t\t\n\t\t\t\t//if (dp[i][j] && str.substring(i, j+1).length() > result.length()) result = str.substring(i, j+1);\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(dp[0][str.length()-1]);\n\t}", "@Test(timeout = 4000)\n public void test114() throws Throwable {\n StringReader stringReader0 = new StringReader(\"WA.W2e9@MV5G\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0, 1, 1);\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n javaParserTokenManager0.getNextToken();\n javaParserTokenManager0.getNextToken();\n assertEquals(2, javaCharStream0.bufpos);\n assertEquals(3, javaCharStream0.getColumn());\n }", "public String decodeString(String s) {\n Deque<String> stack = new ArrayDeque<String>();\n Deque<Integer> counts = new ArrayDeque<Integer>();\n stack.push(\"\");\n\n char[] str = s.toCharArray();\n\n int i=0;\n while(i<str.length){\n char step = str[i];\n if(!isDigit(step) && step != '[' && step != ']'){\n stack.push(stack.pop()+step);\n i++;\n }else if(isDigit(step)){\n StringBuilder sb = new StringBuilder();\n sb.append(step);\n i++;\n while(i<str.length){\n if(isDigit(str[i])){\n sb.append(str[i]); i++;\n }else{ break; }\n }\n counts.push(Integer.valueOf(sb.toString()));\n }else if(step == '['){\n stack.push(\"[\"); stack.push(\"\"); i++;\n }else{\n int repeatTimes = counts.pop();\n String toBeRepeated = stack.pop(); stack.pop();\n StringBuilder sb = new StringBuilder();\n for(int j=0;j<repeatTimes;j++){\n sb.append(toBeRepeated);\n }\n stack.push(stack.pop()+sb.toString());\n i++;\n }\n }\n\n return stack.pop();\n\n }", "public static void main(String[] args)throws IOException \n\t{\n\t\tFileReader fr = new FileReader(\"test.txt\");\n\t\tBufferedReader br = new BufferedReader (fr);\n\t\t\n\t\t//Declare variables\n\t\tchar[][] matrix = new char[20][45];\n\t\tString text = \"\";\n\t\t\n\t\t//Create Scanner\n\t\tScanner input = new Scanner(br);\n\t\t\t\n\t\t//Row-major ordered array\n\t\tfor (int row = 0; row < matrix.length; row++) \n\t\t{\n\t\t\tfor (int column = 0; column < matrix[row].length; column++) \n\t\t\t{ \n\t\t\t\tmatrix[row][column] = (char) br.read(); \t\n\t\t\t\tSystem.out.print(matrix[row][column]);\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t\t//Column-major ordered String\n\t\tfor (int column = 0; column < matrix[0].length; column++) \n\t\t{\n\t\t\tfor (int row = 0; row < matrix.length; row++) \n\t\t\t{\n\t\t\t\ttext = (text + matrix[row][column]); \n\t\t\t} \t\n\t\t}\n\t\tSystem.out.print(text);\n\t\tinput.close();\n}", "public static String fitToColumnSize(String value, int columns) {\n\t\tvalue = value.substring(0, Math.min(columns, value.length()));\n\t\t// if too short, pad on the left\n\t\tStringBuilder builder = new StringBuilder(value);\n\t\twhile (builder.length() < columns) {\n\t\t\tbuilder.insert(0, ' ');\n\t\t}\n\t\treturn builder.toString();\n\t}", "private ArrayList<String> split(String string, int width, FontMetrics metrics){\n return splitHelper(new ArrayList<>(),string,width,metrics);\n }" ]
[ "0.63638836", "0.613692", "0.5972065", "0.554883", "0.5478978", "0.5451898", "0.54378825", "0.53420234", "0.53071517", "0.53031766", "0.5294269", "0.5291476", "0.5240912", "0.52282286", "0.5180367", "0.51361793", "0.5074929", "0.5070205", "0.50591564", "0.50558496", "0.5051761", "0.5041901", "0.5034432", "0.5003942", "0.4984948", "0.49825546", "0.4970853", "0.49678117", "0.49663928", "0.49636257", "0.493504", "0.49342158", "0.49220335", "0.49209028", "0.4917466", "0.49132764", "0.49036166", "0.48988938", "0.48750162", "0.48682383", "0.4868093", "0.4841038", "0.48349303", "0.48294416", "0.48277652", "0.48268586", "0.4818441", "0.48101887", "0.480748", "0.48066258", "0.48013067", "0.47945356", "0.4792427", "0.47882026", "0.47789377", "0.47788686", "0.4773058", "0.47729114", "0.47726923", "0.47700104", "0.47646675", "0.47572017", "0.4756574", "0.47532946", "0.4753121", "0.47520635", "0.4750424", "0.4742069", "0.47403535", "0.473449", "0.47285065", "0.472542", "0.47165415", "0.4716002", "0.47156808", "0.47125465", "0.47123381", "0.471232", "0.47089556", "0.46998397", "0.46992904", "0.46896946", "0.46831787", "0.46723464", "0.46686873", "0.46607935", "0.4657095", "0.46511585", "0.4649502", "0.4648253", "0.464472", "0.46431515", "0.4642256", "0.46371108", "0.46359724", "0.46346837", "0.4625215", "0.46218473", "0.46181655", "0.4613715" ]
0.5238974
13
Creates a CDCollection object and adds some CDs to it. Prints reports on the status of the collection.
public static void main(String[] args) throws Exception { CDCollection collection = new CDCollection(); BufferedReader br = new BufferedReader(new FileReader("E:\\Reading Writing Labs\\bin\\textfile.txt")); String line = null; while ((line = br.readLine()) != null) { // you can use " " to split where white space is String[] values = line.split("-"); // for (String str : values) { // System.out.println(str); //} collection.addCD(values[0], values[1], Double.parseDouble(values[2]) , Integer.parseInt(values[3])); } br.close(); System.out.println (collection); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void writeCollection() throws DvdCollectionDaoException {\n // NOTE FOR APPRENTICES: We are not handling the IOException - but\n // we are translating it to an application specific exception and \n // then simple throwing it (i.e. 'reporting' it) to the code that\n // called us. It is the responsibility of the calling code to \n // handle any errors that occur.\n PrintWriter out;\n\t \n try {\n out = new PrintWriter(new FileWriter(COLLECTION_FILE));\n } catch (IOException e) {\n throw new DvdCollectionDaoException(\n \"Could not save DVD Collection data.\", e);\n }\n\t \n // Write out the DVD objects to the collection file.\n List<Dvd> dvdList = this.getAllDvds();\n for (Dvd currentDvd : dvdList) {\n // write the DVD object to the file\n out.println(currentDvd.getTitle() + DELIMITER\n + currentDvd.getReleaseDate() + DELIMITER \n + currentDvd.getMpaaRating() + DELIMITER\n + currentDvd.getDirectorName() + DELIMITER \n + currentDvd.getStudio() + DELIMITER\n + currentDvd.getUserRating());\n // force PrintWriter to write line to the file\n out.flush();\n }\n // Clean up\n out.close();\n }", "public void createCollection(IndexBenchmark.Setup setup, String collectionName, String configsetName) throws Exception {\n\t try (HttpSolrClient hsc = createClient()) {\n\t\t Create create;\n\t\t if (setup.replicationFactor != null) {\n\t\t\t create = Create.createCollection(collectionName, configsetName, setup.shards, setup.replicationFactor);\n\t\t\t create.setMaxShardsPerNode(setup.shards*(setup.replicationFactor));\n\t\t } else {\n\t\t\t create = Create.createCollection(collectionName, configsetName, setup.shards,\n\t\t\t\t\t setup.nrtReplicas, setup.tlogReplicas, setup.pullReplicas);\n\t\t\t create.setMaxShardsPerNode(setup.shards\n\t\t\t\t\t * ((setup.pullReplicas==null? 0: setup.pullReplicas)\n\t\t\t\t\t + (setup.nrtReplicas==null? 0: setup.nrtReplicas)\n\t\t\t\t\t + (setup.tlogReplicas==null? 0: setup.tlogReplicas)));\n\t\t }\n\t\t CollectionAdminResponse resp;\n\t\t if (setup.collectionCreationParams != null && setup.collectionCreationParams.isEmpty()==false) {\n\t\t\t resp = new CreateWithAdditionalParameters(create, collectionName, setup.collectionCreationParams).process(hsc);\n\t\t } else {\n\t\t\t resp = create.process(hsc);\n\t\t }\n\t\t log.info(\"Collection created: \"+ resp.jsonStr());\n }\n\t colls.add(setup.collection);\n }", "public static void add(Collection collection) {\n\t\t\n\t}", "public static void main(String[] args) \n {\n CDCollection music = new CDCollection ();\n \n music.addCD(\"Storm Front\", \"Billy Joel\", 14.95, 10);\n music.addCD(\"Come On Over\", \"Shania Twain\", 14.95, 16);\n music.addCD(\"Soundtrack\", \"Les Miserables\", 17.95, 33);\n music.addCD(\"Graceland\", \"Paul Simon\", 13.90, 11);\n \n System.out.println (music);\n \n music.addCD(\"Double Live\", \"Garth Brooks\", 19.99, 26);\n music.addCD(\"Greatest Hits\", \"Jimmy Buffet\", 15.95, 13);\n \n System.out.println (music);\n }", "public void createCollections() {\n \n\t\t//Creating columns for the collection\n collectionToolName = new VBox();\n collectionPurchaseDate = new VBox();\n collectionReturnButtons = new VBox();\n \n //Creating columns for the owned tools section\n ownedToolName = new VBox();\n ownedPurchaseDate = new VBox();\n ownedLendable = new VBox();\n \n collectionList.getChildren().add(collectionToolName);\n collectionList.getChildren().add(new Separator());\n collectionList.getChildren().add(collectionPurchaseDate);\n collectionList.getChildren().add(new Separator());\n collectionList.getChildren().add(collectionReturnButtons);\n \n \n ownedList.getChildren().add(ownedToolName);\n ownedList.getChildren().add(new Separator());\n ownedList.getChildren().add(ownedPurchaseDate);\n ownedList.getChildren().add(new Separator());\n ownedList.getChildren().add(ownedLendable);\n \n\t}", "public DTCCollection() {\n\t}", "protected abstract Collection createCollection();", "public Collection() {\n this.collection = new ArrayList<>();\n }", "public void startCollection() {\n if (recordHandler != null)\n recordHandler.startCollection();\n }", "public void collection() {\n\t\tif(showCollection) {\n\t\t\tclear_console();\n\t\t\tfor(int i = 1;i<crystalQuantity.length;i++) {\n\t\t\t\tif(crystalQuantity[i]>0) {\n\t\t\t\t\tSystem.out.println(\"T\" + i + \": \" + crystalQuantity[i]);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t}", "public void CollectionsDetails() throws Exception {\n\t\n\tCollection();\n\t Thread.sleep(2000);\n CreateCollection();\n\tCollectionName();\n\t//CollectionCategory();\n\tCollectionDescription();\n\tAddCollectionTrailerTab();\n\tThread.sleep(2000);\n\tAddCollectionTrailer();\n\tAddCollectionTrailer();\n\tAddCollectionVideoTab();\n\tAddCollectionVideo();\n\tAddCollectionVideo();\n\tAddCollectionVideo();\n\tThread.sleep(2000);\n\tSearchCollectionVideo();\n\tCreateCollectionBtn(); \n\t Thread.sleep(2000);\n\t\n\t \n\t SelectCollection();\n\tEditCollection();\n\tEditCollectionName();\n\tAddCollectionTrailerTab();\n\tThread.sleep(2000);\n\tAddCollectionTrailer();\n\tAddCollectionVideoTab();\n\tRemoveCollectionVideo();\n\tThread.sleep(2000);\n\tAddCollectionVideo();\n\t Thread.sleep(2000);\n UpdateCollectionBtn();\n SelectCollection();\n DeleteCollectionBtn();\n DeleteCollection();\n Thread.sleep(2000); \n}", "private void addCollection(String dir, Site site) throws Exception {\r\n\tContentCollectionEdit collection = null;\r\n\tString id = null;\r\n\r\n\tid = getSiteReference(site) + dir;\r\n\tid = id.substring(8) + \"/\";\r\n\tif (!collectionExist(id)) {\r\n\t collection = contentHostingService.addCollection(id);\r\n\t ResourcePropertiesEdit fileProperties =\r\n\t\t collection.getPropertiesEdit();\r\n\t fileProperties.addProperty(ResourceProperties.PROP_DISPLAY_NAME,\r\n\t\t dir);\r\n\t contentHostingService.commitCollection(collection);\r\n\t}\r\n }", "private void createCollection(String commonLocation) throws RegistryException {\n\t\tRegistry systemRegistry = CommonUtil.getUnchrootedSystemRegistry(requestContext);\n\t\t//Creating a collection if not exists.\n\t\tif (!systemRegistry.resourceExists(commonLocation)) {\n\t\t\tsystemRegistry.put(commonLocation, systemRegistry.newCollection());\n\t\t}\n\t}", "public void collectionProcessComplete() {\n long time = System.currentTimeMillis();\n System.out.print(\"Completed \" + entityCount + \" documents\");\n if (size > 0) {\n System.out.print(\"; \" + size + \" characters\");\n }\n System.out.println();\n long initTime = mInitCompleteTime - mStartTime;\n long processingTime = time - mInitCompleteTime;\n long elapsedTime = initTime + processingTime;\n System.out.println(\"Total Time Elapsed: \" + elapsedTime + \" ms \");\n System.out.println(\"Initialization Time: \" + initTime + \" ms\");\n System.out.println(\"Processing Time: \" + processingTime + \" ms\");\n\n System.out.println(\"\\n\\n ------------------ PERFORMANCE REPORT ------------------\\n\");\n System.out.println(cpe.getPerformanceReport().toString());\n if (docsProcessedWithException > 0) {\n System.out.println(String.format(\n \"There are %s entities that caused exceptions:\\n%s\\n\"\n + \"Check previous output for details\",\n docsProcessedWithException, docsWithException));\n }\n }", "public Collection()\n {\n // initialisation des variables d'instance\n documents = new ArrayList<>();\n }", "public void addCD(CD cd){\n\t\tthis.cd.add(cd);\n\t}", "public Cattery()\r\n {\r\n businessName = \"unknown business\";\r\n catCollection = new ArrayList<Cat>();\r\n }", "public void addCollection(Collection<E> coll) {\n collectionList.add(coll);\n }", "public Collection() {\n }", "private void createTargetCollection() throws Exception {\n List<String> nodeNames = this.startServers(shardCount * replicationFactor);\n this.collectionToNodeNames.put(TARGET_COLLECTION, nodeNames);\n this.createCollection(TARGET_COLLECTION);\n this.waitForRecoveriesToFinish(TARGET_COLLECTION, true);\n this.updateMappingsFromZk(TARGET_COLLECTION);\n }", "public long createCollection(String name)\n {\n SQLiteDatabase db = this.dbHelper.getWritableDatabase();\n ContentValues values = new ContentValues();\n values.put(CollectionContract.CollectionEntry.COLUMN_NAME_COLLECTION_NAME, name);\n return db.insert(CollectionContract.CollectionEntry.TABLE_NAME,null, values);\n }", "public static void writeCollections(File directory, Vector collections, HashMap books, JarFile goBibleJar) throws IOException\n\t{\n\t\t/*StringBuffer wapPage = new StringBuffer();\n\t\n\t\twapPage.append(\"<html>\\n<head>\\n<title>Go Bible</title>\\n</head>\\n<body>\\n\\n\");*/\n\t\n\t\tfor (Enumeration e = collections.elements(); e.hasMoreElements(); )\n\t\t{\n\t\t\tCollection collection = (Collection) e.nextElement();\n\t\t\t\n\t\t\tSystem.out.println(\"Writing Collection \" + collection.fileName + \": \");\n\t\t\t\n\t\t\twriteCollection(directory, collection, books, goBibleJar/*, wapPage*/);\n\t\t}\n\t\t\n\t\t/*if (wapSite != null)\n\t\t{\n\t\t\twapPage.append(\"</body>\\n</html>\");\n\t\t\t\n\t\t\t// Write out wap page\n\t\t\tFile wapFile = new File(directory, \"wap/Welcome.html\");\n\t\t\t\n\t\t\tPrintWriter writer = new PrintWriter(new BufferedWriter(new FileWriter(wapFile)));\n\t\t\t\n\t\t\twriter.print(wapPage.toString());\n\t\t\twriter.close();\n\t\t}*/\n\t}", "public BusinessObjectFormatDdlCollectionResponse generateBusinessObjectFormatDdlCollection(\n BusinessObjectFormatDdlCollectionRequest businessObjectFormatDdlCollectionRequest);", "public com.google.protobuf.ByteString\n getCollectionBytes() {\n return com.google.protobuf.ByteString.copyFromUtf8(collection_);\n }", "private void createSourceCollection() throws Exception {\n List<String> nodeNames = this.startServers(shardCount * replicationFactor);\n this.collectionToNodeNames.put(SOURCE_COLLECTION, nodeNames);\n this.createCollection(SOURCE_COLLECTION);\n this.waitForRecoveriesToFinish(SOURCE_COLLECTION, true);\n this.updateMappingsFromZk(SOURCE_COLLECTION);\n }", "CollectionResource createCollectionResource();", "public SitbMoneyCollection create(long money_collection_id);", "public List<String> createCollections(final Context context){\n Map<String, Object> example = new HashMap<>();\n example.put(\"examplekey\", \"examplevalue\");\n\n //Collection section\n // (#1 Adminds, #2 Healthcare profesional, #3 Carers, #4 Patients,\n // #5 Terapies, #6 Notifications)\n\n //region Create collection Adminds\n db.collection(Constants.Adminds).document(Constants.Example).set(example)\n .addOnSuccessListener(new OnSuccessListener<Void>() {\n @Override\n public void onSuccess(Void aVoid) {\n listMnsj.add(context.getResources().getString(R.string.collection_administrators));\n }\n })\n .addOnFailureListener(new OnFailureListener() {\n @Override\n public void onFailure(@NonNull Exception e) {\n Log.d(\"Message: \", e.toString());\n listMnsj.add(context.getResources().getString(R.string.creation_failed));\n }\n });\n //endregion\n\n //region Create collection Healthcare Profesional\n db.collection(Constants.HealthcareProfesional).document(Constants.Example).set(example)\n .addOnSuccessListener(new OnSuccessListener<Void>() {\n @Override\n public void onSuccess(Void aVoid) {\n listMnsj.add(context.getResources().getString(R.string.collection_healthcare_profeional));\n }\n })\n .addOnFailureListener(new OnFailureListener() {\n @Override\n public void onFailure(@NonNull Exception e) {\n Log.d(\"Message: \", e.toString());\n listMnsj.add(context.getResources().getString(R.string.creation_failed));\n }\n });\n //endregion\n\n //region Create collection Carers\n db.collection(Constants.Carers).document(Constants.Example).set(example)\n .addOnSuccessListener(new OnSuccessListener<Void>() {\n @Override\n public void onSuccess(Void aVoid) {\n listMnsj.add(context.getResources().getString(R.string.collection_carers));\n }\n })\n .addOnFailureListener(new OnFailureListener() {\n @Override\n public void onFailure(@NonNull Exception e) {\n Log.d(\"Message: \", e.toString());\n listMnsj.add(context.getResources().getString(R.string.creation_failed));\n }\n });\n //endregion\n\n //region Create collection Pacients\n db.collection(Constants.Patients).document(Constants.Example).set(example)\n .addOnSuccessListener(new OnSuccessListener<Void>() {\n @Override\n public void onSuccess(Void aVoid) {\n listMnsj.add(context.getResources().getString(R.string.collection_patients));\n }\n })\n .addOnFailureListener(new OnFailureListener() {\n @Override\n public void onFailure(@NonNull Exception e) {\n Log.d(\"Message: \", e.toString());\n listMnsj.add(context.getResources().getString(R.string.creation_failed));\n }\n });\n //endregion\n\n //region Create collection Terapies\n db.collection(Constants.Terapies).document(Constants.Example).set(example)\n .addOnSuccessListener(new OnSuccessListener<Void>() {\n @Override\n public void onSuccess(Void aVoid) {\n listMnsj.add(context.getResources().getString(R.string.collection_terapies));\n }\n })\n .addOnFailureListener(new OnFailureListener() {\n @Override\n public void onFailure(@NonNull Exception e) {\n Log.d(\"Message: \", e.toString());\n listMnsj.add(context.getResources().getString(R.string.creation_failed));\n }\n });\n //endregion\n\n //region Create collection Notifications\n db.collection(Constants.Notifications).document(Constants.Example).set(example)\n .addOnSuccessListener(new OnSuccessListener<Void>() {\n @Override\n public void onSuccess(Void aVoid) {\n listMnsj.add(context.getResources().getString(R.string.collection_notications));\n }\n })\n .addOnFailureListener(new OnFailureListener() {\n @Override\n public void onFailure(@NonNull Exception e) {\n Log.d(\"Message: \", e.toString());\n listMnsj.add(context.getResources().getString(R.string.creation_failed));\n }\n });\n //endregion\n\n return listMnsj;\n }", "public boolean addNewCollection(String name) throws NoPermissionsException, CollectionAlreadyExists {\n if(collections.containsKey(name)){\n throw new CollectionAlreadyExists(name);\n }\n logger.info(\"Creating new collection: \" +name);\n String path = fileManager.createCollectionDirectory(name);\n\n Collection collection = new Collection(name, path);\n this.collections.put(name, collection);\n logger.info(\"Collection:\"+name+\" loaded\");\n\n try {\n this.writeTo(this.file);\n } catch (ClassNotFoundException e) {\n e.printStackTrace();\n } catch (CollectionManagerNotExist collectionManagerNotExist) {\n collectionManagerNotExist.printStackTrace();\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n return true;\n }", "public void addItemCollection(ItemCollection itemCollection) {\n\t\t// Start of user code for method addItemCollection\n\t\t// End of user code\n\t}", "public ArrayList<Collective> getCreatedCollectives() { return this.createdCollectives;}", "private OIFitsCollectionManager() {\n super();\n\n this.jf = JAXBFactory.getInstance(OIFITS_EXPLORER_MODEL_JAXB_PATH);\n\n logger.debug(\"OIFitsCollectionManager: JAXBFactory: {}\", this.jf);\n\n this.oiFitsCollectionManagerEventNotifierMap = new EnumMap<OIFitsCollectionManagerEventType, EventNotifier<OIFitsCollectionManagerEvent, OIFitsCollectionManagerEventType, Object>>(OIFitsCollectionManagerEventType.class);\n\n int priority = 0;\n EventNotifier<OIFitsCollectionManagerEvent, OIFitsCollectionManagerEventType, Object> eventNotifier;\n\n for (OIFitsCollectionManagerEventType eventType : OIFitsCollectionManagerEventType.values()) {\n // false argument means allow self notification:\n final boolean skipSourceListener = (eventType != OIFitsCollectionManagerEventType.COLLECTION_CHANGED);\n\n eventNotifier = new EventNotifier<OIFitsCollectionManagerEvent, OIFitsCollectionManagerEventType, Object>(eventType.name(), priority, skipSourceListener);\n\n this.oiFitsCollectionManagerEventNotifierMap.put(eventType, eventNotifier);\n priority += 10;\n }\n\n // listen for COLLECTION_CHANGED event to analyze collection and fire initial events:\n getOiFitsCollectionChangedEventNotifier().register(this);\n\n // reset anyway:\n reset();\n }", "public long add(Collection<String> collection, int amount) {\n List<String> testData = new ArrayList<>();\n for (int i = 0; i < amount; i++) {\n long data = System.currentTimeMillis() + (int) Math.random() * 100 + i;\n String str = String.valueOf(data);\n testData.add(str);\n }\n\n long start = System.currentTimeMillis();\n\n for (int i = 0; i < amount; i++) {\n collection.add(testData.get(i));\n }\n\n long finish = System.currentTimeMillis();\n System.out.println(String.format(\"Collection after adding - %s\", collection.size()));\n return finish - start;\n }", "@Test\n public void testAddAll_Collection() {\n SegmentedOasisList<Integer> instance = new SegmentedOasisList<>();\n instance.add(3);\n instance.add(2);\n\n Collection c = Arrays.asList(1, 2, 3);\n\n boolean expResult = true;\n boolean result = instance.addAll(c);\n assertEquals(expResult, result);\n\n }", "public CollectionDataStore(FeatureCollection<SimpleFeatureType,SimpleFeature> collection) {\n this.collection = collection;\n if (collection.size() == 0) {\n this.featureType = FeatureTypes.EMPTY;\n } else {\n this.featureType = collection.getSchema();\n }\n }", "public static void main(String[] args) {\n MongoClient mongoClient = new MongoClient(\"localhost\", 27017);\n\n ArrayList<DatabaseObj> databaseObjarray = new ArrayList<DatabaseObj>();\n \n ListDatabasesIterable<Document> databaseDocList = mongoClient.listDatabases(); \n \n for (Document databaseDocument : databaseDocList){\n String databaseName = databaseDocument.get(\"name\").toString();\n ArrayList<String> collectionNameList = new ArrayList<String>();\n \n MongoDatabase database = mongoClient.getDatabase(databaseName); \n \n ListCollectionsIterable<Document> list = database.listCollections();\n for (Document d : list){\n String name = d.get(\"name\").toString(); \n collectionNameList.add(name); \n }\n databaseObjarray.add(new DatabaseObj(databaseName, collectionNameList)); \n }\n\n \n //JOptionPane.showMessageDialog(null,\"Eggs are not supposed to be green.\",\"Inane error\",JOptionPane.ERROR_MESSAGE);\n \n \n MainUserInterface mui = new MainUserInterface(databaseObjarray);\n mui.go();\n \n }", "public Resource createCollection(String uri, String label) {\n Resource collection = createStatement(uri, ProvOntology.getRDFTypeFullURI(),\n ProvOntology.getCollectionExpandedClassFullURI());\n labelResource(collection, label);\n return collection;\n }", "public MethodCollector(Collection<Method> collection)\n {\n this.collection = collection;\n }", "private PropertyCollection createCollectionProperty(final String descr) {\n\t\treturn createCollectionProperty(descr, null, null);\n\t}", "public WECollection()\n {\n }", "public GameCollection() {\n\t\tcollection = new Vector();\n\t}", "public MYCollection() throws UnknownHostException, IOException, ClassNotFoundException {\r\n\t\tinitComponents();\r\n\r\n\t\t/*处理页面美化*/\r\n\t\tthis.drawCollection();\r\n\r\n\t\t/*显示所有收藏*/\r\n\t\tthis.showCollection();\r\n\r\n\t\tjScrollPane1\r\n\t\t\t\t.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);\r\n\t\tthis.setDefaultCloseOperation(this.DISPOSE_ON_CLOSE);\r\n\t\tthis.setLocationRelativeTo(null);\r\n\t\tthis.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);\r\n\t\t\r\n\t}", "private void addDvd() {\n String title;\n //validate whether or not the title they choose is right?\n do {\n title = console.getUserInputString(\"What is the DVD's title?: \");\n } while (isCorrect());\n\n //validate whether or not the release they choose is right?\n Integer releaseDate;\n do {\n releaseDate = console.getUserInputInt(\"What year was it released? \", 1920, 2016);\n } while (isCorrect());\n\n //validate whether or not the rating they choose is right?\n String rating;\n do {\n rating = console.getMultiChoiceString(\"What is the MPAA rating\", new String[]{\"G\", \"PG\",\n \"PG13\", \"R\", \"NC-17\"});\n } while (isCorrect());\n\n //validate whether or not the studio they choose is right?\n String studio;\n do {\n studio = console.getUserInputString(\"What studio created the DVD?:\");\n } while (isCorrect());\n\n //creates a List of strings to stor potential comments\n boolean addComments = true;\n while (addComments) {\n //asks if the user wants to add a comment\n String commentConsent = console.getMultiChoiceString(\"Would you like to add a comment\",\n new String[]{\"Yes\", \"No\"});\n switch (commentConsent) {\n case \"Yes\":\n //Asks for a comment\n String commentToAdd = console.getUserInputString(\"Comment>>> \");\n //stores the comment\n commentDao.createComment(commentToAdd);\n\n break;\n case \"No\":\n addComments = false;\n break;\n }\n }\n\n //creates new dvd object with appropriate constructor\n DVD newDvd;\n newDvd = new DVD(title, releaseDate, rating, studio, commentDao.getComments());\n //creates new Dvd in DVD Dao's Map\n dao.add(newDvd);\n\n }", "void setNewCollectionPanel();", "public DTCCollection(final int initialCapacity) {\n\t\tsuper(initialCapacity);\n\t}", "public void setCreatedCollectives(ArrayList<Collective> createdCollectives) { this.createdCollectives = createdCollectives; }", "public void setCollectionName(String collectionName);", "public com.google.protobuf.ByteString\n getCollectionBytes() {\n return instance.getCollectionBytes();\n }", "StoreCollection getOrCreateCollection( String name);", "public static void main(String[] args) {\n\t\tCollection testCol = new Collection();\n\t\t\n\t\t// Basic Test #2: Creating a song & adding to empty collection\n\t\tSong testSong = new Song();\n\t\tSong testSong2 = new Song(\"000035\", \"FakeArtist\", \"Pop\", \"Track1\", \"Album1\", 2020, 0.0);\n\t\ttestCol.addSong(testSong);\n\t\ttestCol.addSong(testSong2);\n\t\tSystem.out.println(\"Test Song Collection:\\n\" + testCol);\n\t\t\n\t\t\n\t\t// Main Test: Get collection from the .csv\n\t\tCollection SongCol = new Collection(\"./projectBackEnd/finalTracks.csv\");\n\t\t\n\t\t\n\t\t/* Note: Main functionalities tested on a TEST COLLECTION in\n\t\t * order to show case methods without having to print a giant text\n\t\t * file every time. */\n\t\t// Remove Test: Remove a song based on ID\n\t\ttestCol.removeSong(\"000000\");\n\t\tSystem.out.println(\"Song Removed:\\n\" + testCol);\n\t\tSongCol.removeSong(\"000002\"); // Removes from actual SongCol! \n\t\t\n\t\t\n\t\t// Edit Tests: Getters & Setters using SongCol.\n\t\tSong editTest = SongCol.getSong(\"000005\");\n\t\t\n\t\t// Before Edits\n\t\tSystem.out.println(\"Before Edits:\\n\" + editTest + \"\\n\");\n\t\t\n\t\teditTest.setAlbum(\"NewAlb\");\t\t\t\t\t\t\t\t\t// SetAlbum\n\t\tSystem.out.print(\"Changes: \" + editTest.getAlbum() + \" \"); \t\t// GetAlbum\n\t\t\n\t\teditTest.setId(\"000005\");\t\t\t\t\t\t\t\t\t\t// SetId\n\t\tSystem.out.print(editTest.getId() + \" \");\t\t\t\t\t\t// GetId\n\n\t\teditTest.setGenre(\"Indie\");\t\t\t\t\t\t\t\t\t\t// SetGenre\n\t\tSystem.out.print(editTest.getGenre() + \" \");\t\t\t\t\t// GetGenre\n\t\t\n\t\teditTest.setArtist(\"NEW Artist\");\t\t\t\t\t\t\t\t// SetArtist\n\t\tSystem.out.print(editTest.getArtist() + \" \");\t\t\t\t\t// GetArtist\n\t\t\n\t\teditTest.setLong(-73.2);\t\t\t\t\t\t\t\t\t\t// SetLong\n\t\tSystem.out.print(editTest.getLong() + \" \"); \t\t\t\t\t// GetLong\n\t\t\n\t\teditTest.setTrack(\"TRACK NAME\");\t\t\t\t\t\t\t\t// SetTrack\n\t\tSystem.out.print(editTest.getTrack() + \" \");\t\t\t\t\t// GetTrack\n\t\t\n\t\teditTest.setYear(2004);\t\t\t\t\t\t\t\t\t\t\t// SetYear\n\t\tSystem.out.println(editTest.getYear() + \"\\n\");\t\t\t\t\t// GetYear\n\t\t\n\t\t// After Edits\n\t\tSystem.out.println(\"After Edits:\\n\" + SongCol.getSong(\"000005\") + \"\\n\");\n\n\t\t\n\t\t// Iterator Test: Checks that the iterator works\n\t\tIterator<Song> itr = testCol.getIterator();\n\t\tSystem.out.println(\"Iterator Test:\");\n\t\twhile (itr.hasNext()) {\n\t\t\tSystem.out.println(itr.next());\n\t\t}\n\t\tSystem.out.println();\n\t\t\n\t\t\n\t\t// Query Tests using the actual SongCol\n\t\t// Query Test #1: Get a song based on artist \n\t\tSystem.out.println(\"Query Test #1:\\n\" + SongCol.InputOneToOne(\"AWOL\") + \"\\n\");\n\t\t\n\t\t// Query Test #2: Get a song based on artist and album\n\t\tSystem.out.println(\"Query Test #2:\\n\" + SongCol.InputManyToOne(\"Fósforo\", \"Macondo\") + \"\\n\");\n\t\t\n\t\t// Query Test #3: Get a variety of songs based on genre\n\t\tSystem.out.println(\"Query Test #3:\\n\" + SongCol.InputOneToMany(\"Latin America\") + \"\\n\");\n\t\t\n\t\t// Query Test #4: Get a variety of songs based on genre and year\n\t\tSystem.out.println(\"Query Test #4:\\n\" + SongCol.InputManyToMany(\"Psych-Folk\", 2008) + \"\\n\");\n\t\t\n\t\t\n\t\t// End Test: Write to same file\n\t\tSongCol.writeFile(\"./projectBackEnd/finalTracks.csv\");\n\t}", "private void addDatacollectionGroup(SnmpCollection collection, String dataCollectionGroupName, List<String> excludeList) {\n DatacollectionGroup group = externalGroupsMap.get(dataCollectionGroupName);\n if (group == null) {\n throwException(\"Group \" + dataCollectionGroupName + \" does not exist.\", null);\n }\n log().debug(\"addDatacollectionGroup: adding all definitions from group \" + group.getName() + \" to snmp-collection \" + collection.getName());\n for (SystemDef systemDef : group.getSystemDefCollection()) {\n String sysDef = systemDef.getName();\n if (shouldAdd(sysDef, excludeList)) {\n addSystemDef(collection, sysDef);\n }\n }\n }", "public CortexCollection(List<CortexGraph> graphCollection) {\n loadCollection(graphCollection);\n }", "private NotesCollection getCollection() {\n\t\t\n\t\tif (collection == null || collection.isRecycled() ) {\n\t\t\tNotesDatabase db = new NotesDatabase(ExtLibUtil.getCurrentSession(), \"\", fakenamesPath);\n\t\t\tcollection = db.openCollectionByName(\"contacts\");\n\t\t}\n\n\t\treturn collection;\n\t}", "@Test(enabled=false)\n public void testNewCollection() {\n Platform mockPlatform = Mockito.mock(Platform.class); \n\n \n MockComponentRegistry registry = new MockComponentRegistry();\n \n // Set the platform SPI\n PlatformAccess platformAccess = new PlatformAccess();\n platformAccess.setPlatform(mockPlatform);\n \n // Case #1: test returned collection when adding selectedComponents to the new collection is successful\n \n // Setup\n TestBaseComponent collection = Mockito.mock(TestBaseComponent.class); \n registry.setDefaultCollection(collection);\n List<AbstractComponent> selectedComponents = Collections.singletonList(Mockito.mock(AbstractComponent.class));\n registry.setExpectedResultForAddComponents(true);\n\n // The test\n AbstractComponent newCollection = registry.newCollection(selectedComponents);\n Assert.assertSame(newCollection, collection);\n \n // Case #2: test returned collection when adding selectedComponents to the new collection fails\n \n // Setup\n registry.clearRegistry();\n registry.setDefaultCollection(collection);\n registry.setExpectedResultForAddComponents(false);\n \n // The test\n newCollection = registry.newCollection(selectedComponents);\n Assert.assertNotNull(newCollection);\n\n // Tear down\n platformAccess.setPlatform(null);\n }", "public void addIndexedCollection(IndexedCollection iColl) throws InvalidArgumentException,\r\n\t\t\tDuplicatedDataNameException\r\n\t{\n\t\taddDataElement(iColl);\r\n\r\n\t}", "public CardCollection() {\n cards = new ArrayList<>();\n }", "void insertDocuments(Collection<Category> categoryList){\n mongoCollection.drop();\n for(Category category : categoryList){\n String json = gson.toJson(category);\n Document document = Document.parse(json);\n mongoCollection.insertOne(document);\n System.out.println(json);\n }\n }", "private void buildViewCollections() {\t\n\t\t// Build the Pop Estimate Collection\n\t\tdb.createCollection(\"PopEst20102014all\", null);\n\t\tDBCollection coll = db.getCollection(\"PopEst20102014all\");\n\t\tDBCollection mainCollection = db.getCollection(\"Pop20102014\");\n\t\tBasicDBObject allQuery = new BasicDBObject();\n\t\tBasicDBObject fields = new BasicDBObject();\n\t\tfields.put(CensusConst.REGION_NAME, 1);\n\t\tfields.put(CensusConst.POP_ESTIMATE_2010, 1);\n\t\tfields.put(CensusConst.POP_ESTIMATE_2011, 1);\n\t\tfields.put(CensusConst.POP_ESTIMATE_2012, 1);\n\t\tfields.put(CensusConst.POP_ESTIMATE_2013, 1);\n\t\tfields.put(CensusConst.POP_ESTIMATE_2014, 1);\n\n\t\tDBCursor cursor = mainCollection.find(allQuery, fields);\n\t\twhile (cursor.hasNext()) {\n\t\t\tSystem.out.println(\"--Inserting Value into Other Table---\");\n\t\t\tcoll.insert(new BasicDBObject(cursor.next().toMap()));\n\t\t}\n\n\t\t// Build the Net Population Change Collection\n\t\tdb.createCollection(\"PopEst20102014Num\", null);\n\t\tDBCollection collNum = db.getCollection(\"PopEst20102014Num\");\n\t\tBasicDBObject numQuery = new BasicDBObject();\n\t\tBasicDBObject numfields = new BasicDBObject();\n\t\tnumfields.put(CensusConst.REGION_NAME, 1);\n\t\tnumfields.put(CensusConst.NET_POP_CHANGE2010, 1);\n\t\tnumfields.put(CensusConst.NET_POP_CHANGE2011, 1);\n\t\tnumfields.put(CensusConst.NET_POP_CHANGE2012, 1);\n\t\tnumfields.put(CensusConst.NET_POP_CHANGE2013, 1);\n\t\tnumfields.put(CensusConst.NET_POP_CHANGE2014, 1);\n\n\t\tcursor = mainCollection.find(numQuery, numfields);\n\t\twhile (cursor.hasNext()) {\n\t\t\tSystem.out.println(\"--Inserting Value into Other Table---\");\n\t\t\tcollNum.insert(new BasicDBObject(cursor.next().toMap()));\n\t\t}\n\n\t\t// Build the Percentage Population Change Collection\n\t\tdb.createCollection(\"PopEst20102014Per\", null);\n\t\tDBCollection perNum = db.getCollection(\"PopEst20102014Per\");\n\t\tBasicDBObject perQuery = new BasicDBObject();\n\t\tBasicDBObject perfields = new BasicDBObject();\n\t\tperfields.put(CensusConst.REGION_NAME, 1);\n\t\tperfields.put(CensusConst.PER_POP_CHANGE2010, 1);\n\t\tperfields.put(CensusConst.PER_POP_CHANGE2011, 1);\n\t\tperfields.put(CensusConst.PER_POP_CHANGE2012, 1);\n\t\tperfields.put(CensusConst.PER_POP_CHANGE2013, 1);\n\t\tperfields.put(CensusConst.PER_POP_CHANGE2014, 1);\n\n\t\tcursor = mainCollection.find(perQuery, perfields);\n\t\twhile (cursor.hasNext()) {\n\t\t\tSystem.out.println(\"--Inserting Value into Other Table---\");\n\t\t\tperNum.insert(new BasicDBObject(cursor.next().toMap()));\n\t\t}\n\t\t\n\t}", "static void AddCollections()\n\t{\n\t\tSet<String> oSet1 = null;\n\t\tSet<String> oSet2 = null;\n\t\ttry {\n\t\t\toSet1 = new TreeSet<String>();\n\t\t\toSet1.add(\"Apple\");\n\t\t\toSet1.add(\"Boy\");\n\t\t\toSet1.add(\"Cat\");\n\t\t\tSystem.out.println(oSet1);\n\t\t\t\n\t\t\toSet2 = new TreeSet<String>();\n\t\t\toSet2.add(\"Dog\");\n\t\t\toSet2.add(\"Arrow\");\n\t\t\toSet2.add(\"Frog\");\n\t\t\tSystem.out.println(oSet2);\n\t\t\t\n\t\t\toSet1.addAll(oSet2);\n\t\t\tSystem.out.println(oSet1);\n\t\t}catch(Exception e)\n\t\t{\n\t\t\te.printStackTrace();\n\t\t}\n\t\tfinally {\n\t\t\toSet1 = null;\n\t\t\toSet2 = null;\n\t\t}\n\t}", "protected ContainerChunk(String type, String name, Collection collection) {\r\n super(type, name);\r\n this.collection = collection;\r\n }", "public CollectionInfo getCollectionInfo(String collectionId) {\r\n CollectionInfo toReturn = new CollectionInfo();\r\n if (null == collectionId || 0 == collectionId.length()) {\r\n setError(\"APIL_0100\", \"argument's not valid.\");\r\n return toReturn;\r\n }\r\n\r\n String[] paramFields = {\"collection_id\"};\r\n SocketMessage request = new SocketMessage(\"admin\", \"coll_info\", SocketMessage.PriorityType.EMERGENCY, SocketMessage.TransferType.BI_WAY, \"\",\r\n paramFields);\r\n request.setValue(\"collection_id\", collectionId);\r\n\r\n SocketMessage response = handleMessage(request);\r\n if (!isSuccessful(response)) {\r\n if (\"\".equals(response.getErrorCode())) {\r\n setError(\"APIL_0285\", \"couldn't get collection info: coll_id=\" + collectionId);\r\n } else {\r\n wrapError(\"APIL_0285\", \"couldn't get collection info: coll_id=\" + collectionId);\r\n }\r\n } else {\r\n boolean isTeColl = \"y\".equals(response.getValue(\"is_te_collection\"));\r\n boolean isRoasterColl = \"y\".equals(response.getValue(\"is_roaster_collection\"));\r\n long timeTeExtract = Tools.parseTime(response.getValue(\"time_te_extracted\"));\r\n long timeRoasterAnalysis = Tools.parseTime(response.getValue(\"time_roaster_analyzed\"));\r\n long timeStarted = Tools.parseTime(response.getValue(\"start_time\"));\r\n String statusString = response.getValue(\"collection_status\");\r\n boolean needsAnalysis = \"y\".equals(response.getValue(\"needs_analysis\"));\r\n\r\n String eCodeTe = response.getValue(\"te_error_code\");\r\n String eMessageTe = response.getValue(\"te_error_message\");\r\n String eCodeRoaster = response.getValue(\"roaster_error_code\");\r\n String eMessageRoaster = response.getValue(\"roaster_error_message\");\r\n String eCodeCustom = response.getValue(\"custom_error_code\");\r\n String eMessageCustom = response.getValue(\"custom_error_message\");\r\n\r\n String charset = response.getValue(\"charset\");\r\n String taskId = \"0\".equals(response.getValue(\"locker\")) ? \"\" : response.getValue(\"locker\");\r\n boolean isRealtime = \"y\".equals(response.getValue(\"realtime\"));\r\n\r\n toReturn = new CollectionInfo(collectionId, isTeColl, isRoasterColl, timeTeExtract, timeRoasterAnalysis, timeStarted,\r\n statusString, needsAnalysis);\r\n\r\n toReturn.setErrors(eCodeTe, eMessageTe, eCodeRoaster, eMessageRoaster, eCodeCustom, eMessageCustom);\r\n toReturn.setCharset(charset);\r\n toReturn.setTaskId(taskId);\r\n toReturn.setRealtime(isRealtime);\r\n }\r\n return toReturn;\r\n }", "void addCollectionName(Object newCollectionName);", "public void putCollectionData(String id, CollectionConfig collectionConfig, DcsDataRecord dcsDataRecord)\n\t\t throws RepositoryWriterPluginException {\n\n\t\t// do nothing\n\t}", "public ItemCollection()\n\t{\n\t\t/*\n\t\t * master list of all consumable/miscellaneous items in the game\n\t\t * \n\t\t * to add a new item to the game, add the item to the itemCollections, and if it is a consumable,\n\t\t * add the effect to the useItem method in the switch statement. If it has no effect, don't add anything.\n\t\t * \n\t\t * sorted by NAME, VALUE, DESCRIPTION, TYPE\n\t\t */\n\t\t\n\t\t//CONSUMABLES\n\t\titemCollections.add(new Item(\"Polar Pop\", 1, \"Do you ever drink water?\", \"Consumable\"));\n\t\titemCollections.add(new Item(\"Klondike Bar\", 20, \"What would you do for this?\", \"Consumable\"));\n\t\titemCollections.add(new Item(\"Big tiddy goth GF\", 666, \"Vore.\", \"Consumable\"));\n\t\t\n\t\t//MISC, i.e. NO STATUS EFFECT\n\t\titemCollections.add(new Item(\"Sippy Cup\", 9, \"Somebody otta get their child their sippy cup back.\", \"Misc\"));\n\t\t\n\t\t/*\n\t\t * master list of equipment items in the game\n\t\t * \n\t\t * same as above\n\t\t * \n\t\t * sorted by NAME, VALUE, DESCRIPTION, TYPE, DAMAGE, DEFENSE, VITALITY, INTELLIGENCE, STRENGTH, WISDOM\n\t\t */\n\t\t\n\t\t//2H-WEAPONS\n\t\tequipmentCollections.add(new Equipment(\"A Big Boy's Sword\", 69, \"A two- handed sword for a big boy like you... You're growing up so fast!\", \"2H-Weapon\", 10, 0, 0, 0, 0, 0));\n\t\t\n\t\t//1H-WEAPONS\n\t\tequipmentCollections.add(new Equipment(\"Red Copper Pan\", 300, \"Hey there mothafuckas it's ya girl cathy, I got some brand new shit\", \"1H-Weapon\", 250, 0, 25, 3, 25, 3));\n\t\t\n\t\t//HEAD\n\t\tequipmentCollections.add(new Equipment(\"Broken Helmet\", 1, \"Leather helmet broken from thousands of years of war and abuse\", \"Head\", 0, 3, 0, 0, 0, 0));\n\t\t\n\t\t//TORSO\n\t\tequipmentCollections.add(new Equipment(\"Bloodied Tunic\", 1, \"Tunic covered in your own blood, you can see your wounds through its holes\", \"Torso\", 0, 2, 0, 0, 0, 0));\n\t\t\n\t\t//ARMS\n\t\tequipmentCollections.add(new Equipment(\"Torn Gloves\", 1, \"Gloves so torn they hardly protect your hands\", \"Arms\", 0, 1, 0, 0, 0, 0));\n\t\t\n\t\t//LEGS\n\t\tequipmentCollections.add(new Equipment(\"Muddy Pants\", 1, \"Cloth pants soiled in mud\", \"Legs\", 0, 2, 0, 0, 0, 0));\n\t\t\n\t\t//FEET\n\t\tequipmentCollections.add(new Equipment(\"Worn Boot\", 1, \"A boot with a hole in it, but where is the other one?\", \"Feet\", 0, 1, 0, 0, 0, 0));\n\t}", "CollectionItem createCollectionItem();", "private void createClinicList(){\n\n ArrayList<Clinic> clinics = LogIn.clinicDAO.getAllClinics();\n for(Clinic cn : clinics){\n double avgRating = LogIn.rateDAO.getAvgRating(cn.getClinicID());\n clinicList.add(new ClinicItem(cn.getClinicName(), drawable.clinic_logo, \"Singapore\", Double.toString(avgRating)));\n }\n }", "protected abstract <T> Collection<T> createCollection(Class<T> clazz);", "public static void PrintCollection1(Collection<Object> c)\r\n\t{\r\n\t\tfor (Object obj : c)\r\n\t\t\tSystem.out.println(obj);\r\n\t}", "public CollectFolderExample() {\n oredCriteria = new ArrayList<Criteria>();\n }", "@Test\r\n public void testGetCollectionInfo() throws MovieDbException {\r\n LOG.info(\"getCollectionInfo\");\r\n String language = \"\";\r\n CollectionInfo result = tmdb.getCollectionInfo(ID_MOVIE_STAR_WARS_COLLECTION, language);\r\n assertFalse(\"No collection information\", result.getParts().isEmpty());\r\n }", "public Collection getCollection() {\n return mCollection;\n }", "private CollectionType() {}", "@Test\n\tpublic void shouldCreateBoardCollection() {\n\t\tBDDMockito.given(mongoOperations.collectionExists(Board.class)).willReturn(false);\n\t\t\n\t\t// when service.configure() is invoked\n\t\tservice.configure();\n\t\t\n\t\t// then the board collection should be created\n\t\tMockito.verify(mongoOperations).createCollection(Board.class);\n\t}", "Collect getColl();", "public java.lang.String getCollection() {\n return collection_;\n }", "public void AddCollection(View view) {\n Intent intent = new Intent(this, AddCollectionActivity.class);\n this.startActivity(intent);\n }", "public void setCollection(ArrayList<Fonds> collection){\r\n this.collection = collection;\r\n }", "public static void main(String[] args) {\n Collection collection= new ArrayList();\n collection.add(1500);\n collection.add(true);\n collection.add(12.32);\n collection.add(\"s\");\n collection.add('f');\n //System.out.println(collection);\n\n //Collection add(item) bunda item qo'sha olsa true aksi bo'lsa false qataradi\n System.out.println(collection.add(2200)); // bunda console da true bo'ladi 2200 qo'sha olgani uchun\n\n /* Collection ni addAll metothdi bu bizga collection methodiga narsalarni collection1 b-n\n ketma ketlikda qo'shish imkonini beradi*/\n\n Collection collection1=new ArrayList();\n collection1.addAll(collection);\n collection1.add(\"otherNumber1\");\n collection1.add(\"otherNumber2\");\n collection1.add(\"otherNumber3\");\n System.out.println(collection1);\n\n // boolean remove(object item) bu ko'rsatilgan obyektni collectionda o'chiradi listlarda index bilan bajariladi\n collection1.remove(12.32);\n System.out.println(collection1);\n\n // boolean removeAll(Collection<?> col)\n collection1.removeAll(collection);\n System.out.println(collection1);\n\n\n\n\n\n }", "@Test\n public void testAddAll_int_Collection() {\n SegmentedOasisList<Integer> instance = new SegmentedOasisList<>();\n instance.add(3);\n instance.add(2);\n\n Collection c = Arrays.asList(1, 2, 3);\n\n boolean expResult = true;\n boolean result = instance.addAll(1, c);\n assertEquals(expResult, result);\n\n }", "public Collection(char colour) { /* ... code ... */ }", "public OCRSet(Collection<? extends E> c) {\r\n this.map =\r\n new HashMap<Integer, E>(Math.max((int) (c.size() / .75f) + 1,\r\n 16));\r\n this.addAll(c);\r\n }", "public StdCollectionTrashColl() throws OculusException\n {\n super();\n }", "public void init(String collectionName) {\n\r\n }", "public static IDatastreamCollection createDatastreamCollection(File f) throws ScapException {\r\n \treturn new DatastreamCollection(DatastreamCollection.getDSCollection(f));\r\n }", "private void addCaterings(HttpServletRequest request, HttpServletResponse response) throws Exception {\n\n\t\tSystem.out.println(\"ĪNSIDE\");\n\t\tString name = request.getParameter(\"name\");\n\t\tString contactNumber = request.getParameter(\"contactNumber\");\n\t\tString date = request.getParameter(\"date\");\n\t\tString numberOfPeople = request.getParameter(\"numberOfPeople\");\n\t\tString email = request.getParameter(\"email\");\n\t\tString menuID = request.getParameter(\"menuID\");\n\t\t// create a new catering object\n\t\tCatering theCatering = new Catering(name, contactNumber, date, numberOfPeople, email, menuID);\n\n\t\t// add the catering to the database\n\t\tcateringDbUtil.addCatering(theCatering);\n\n\t\t// send back to main page (catering list)\n\t\tlistCatering(request, response);\n\t}", "public void addAll(FeatureCollection featColl){\n if (debug) logger.info(\"collection added\");\n fc.addAll(featColl);\n fcLastEdits.clear();\n fcLastEdits.addAll(featColl);\n lastEditType = EDIT_ADD;\n fireTableDataChanged();\n }", "public WellSetListPOJOBigDecimal(Collection<WellSetBigDecimal> collection) {\n for(WellSetBigDecimal set : collection) {\n this.wellsets.add(new WellSetPOJOBigDecimal(set));\n }\n }", "public final EObject entryRuleCollectionTypeCS() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleCollectionTypeCS = null;\n\n\n try {\n // InternalMyDsl.g:5791:57: (iv_ruleCollectionTypeCS= ruleCollectionTypeCS EOF )\n // InternalMyDsl.g:5792:2: iv_ruleCollectionTypeCS= ruleCollectionTypeCS EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getCollectionTypeCSRule()); \n }\n pushFollow(FOLLOW_1);\n iv_ruleCollectionTypeCS=ruleCollectionTypeCS();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleCollectionTypeCS; \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 }", "protected Collection<V> newCollection() {\r\n \treturn new ArrayList<V>();\r\n }", "static public void collection(Shape2DCollection collection, float dx, float dy){\n for (Shape2D subShape:collection.items){\n shape(subShape,dx,dy);\n }\n }", "public CDAdapter(List<CDAlbum> myCollection, Activity something) {\n this.myCollection = myCollection;\n main = something;\n }", "public void displayData(MongoCollection<Document> collection) {\n\n\t\ttry {\n\t\t\tFindIterable<Document> iterDoc = collection.find(); \n\t\t\tMongoCursor<Document> it = iterDoc.iterator(); \n\n\t\t\twhile (it.hasNext()) { \n\t\t\t\tSystem.out.println(it.next()); \n\t\t\t}\n\t\t}catch(Exception e) {}\n\t}", "protected void addCollectionDisplayOptionPropertyDescriptor(Object object) {\n\t\titemPropertyDescriptors.add\n\t\t\t(createItemPropertyDescriptor\n\t\t\t\t(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),\n\t\t\t\t getResourceLocator(),\n\t\t\t\t getString(\"_UI_UnitField_collectionDisplayOption_feature\"),\n\t\t\t\t getString(\"_UI_PropertyDescriptor_description\", \"_UI_UnitField_collectionDisplayOption_feature\", \"_UI_UnitField_type\"),\n\t\t\t\t WafPackage.Literals.UNIT_FIELD__COLLECTION_DISPLAY_OPTION,\n\t\t\t\t true,\n\t\t\t\t false,\n\t\t\t\t false,\n\t\t\t\t ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,\n\t\t\t\t null,\n\t\t\t\t null));\n\t}", "public static void init(){\n java.util.Collection<String> collection = new ArrayList<>();\n\n // List Implementation\n // use for ordered collection with duplicates\n // Items can be retrieved and inserted at specific positions (like array)\n //\n // ArrayList:\n // Grows automatically, lookup constant time, add/remove slower\n //\n // LinkedList:\n // Implements List and Queue, add/remove/access at start/end constant time\n // arbitrary index linear time, good if used like queue\n //\n // Vector:\n // Old class before ArrayList, same as ArrayList just slower but thread-safe, not really used\n //\n // Stack:\n // Add/remove from top of stack, extends Vector, not really used, instead ArrayDeque is used\n \n // Common List Methods\n // boolean add(E) | void add(int, E) | E get(int) | void remove(int) | E set(int, E)\n // int indexOf(Object) | int lastIndexOf(Object) - both return -1 if not found\n List<String> list = (List<String>) collection;\n\n // Loop through Collections\n // Old way without generic -> needs casting\n Iterator<String> iter = collection.iterator();\n while(iter.hasNext()){\n System.out.println(iter.next());\n }\n\n // Set Implementation\n // Stores in hash table using hashCode(), add/check constant time\n //\n // HashSet:\n // Groups elements inside buckets if same hashCode\n //\n // TreeSet:\n // In sorted tree structure, always in sorted order, add/check O(log n), implements NavigableSet\n // Looping through will print out in natural order\n\n // No new set methods but collection methods is different for sets (add() can return false)\n //\n // NavigableSet Interface:\n // E lower(E) - return greatest element < e, or null if no such element\n // E floor(E) - return greatest element <= e, ...\n // E ceiling(E) - return smallest element >= e, ...\n // E higher(E) - return smallest element > e, ...\n\n // Queue Implementation\n // Elements added/removed in specific order\n //\n // LinkedList:\n // Double-ended queue, implements List and Queue, not as efficient, has indexes\n //\n // ArrayDeque:\n // ‘pure’ double-ended queue, resizable array, more efficient\n\n // Common Queue Methods\n // Examine and Remove always head of queue\n // Insert always at end of queue\n //\n // Throws exception on failure\n // boolean add(E) | E element() | E remove()\n //\n // Returns special value (null) on failure\n // boolean offer(E) | E peek() | E poll();\n\n // Common ArrayDeque Methods\n // void push(E) | E pop() - throws exception when Empty\n\t\t//\t\tpop() and poll() return same values\n\t\t//\t\tpush() + pop/poll() = stack\n\t\t//\t\toffer() + pop/poll() = queue\n //\n // LinkedList like ArrayDeque\n\n // Map Implementation: (not implementing Collection)\n // Identify values by key\n //\n // HashMap:\n // Keys in hash table using hashCode(), add/retrieve constant time\n //\n // LinkedHashMap:\n // same as HashMap only with an order\n //\n // TreeMap:\n // Keys in sorted tree structure, always sorted, add/check O(log n)\n //\n // Hashtable:\n // Like Vector, old and thread-safe, newer version: HashMap\n\n // Common Map Methods, does not have Collection methods\n // void clear() | boolean isEmpty() | int size()\n //\n // V get(Object) return value mapped by key or null if none\n // V put(K, V) add or replace key/value pair, return previous value or null if none\n // V remove(Object) removes and return value mapped by key, null if none\n //\n // boolean containsKey(Object) | boolean containsValue(Object)\n // Set<K> keySet() | Collection<V> values()\n //\n // V merge(K, V, BiFunction<? super V, ? super V, ? extends V>) - BiFunction decides which value saved to key\n // If key does not exists or value == null -> new value will always be used, BiFunction not called\n // If BiFunction return null -> key will be removed from map\n\n // Sorted Type cannot contain null.\n // TreeMap no null keys, TreeSet no null values\n //\n // ArrayDeque no null values. Null values has special meaning\n // Hashtable no null values and keys. Just because. Too old.\n //\n // Else throws NullPointerException\n\n /* Searching and Sorting */\n List<Comparing> cList = new ArrayList<>();\n\n // If no Comparator specified, List type has to implement Comparable\n // else compiler error\n Collections.sort(cList);\n Collections.sort(cList, new Comparator<Comparing>() {\n public int compare(Comparing t1, Comparing t2){ return 0; }\n });\n\n // Same as sorting\n // Warning: unsorted list results in undefined values\n Collections.binarySearch(cList, new Comparing());\n Collections.binarySearch(cList, new Comparing(), new Comparator<Comparing>() {\n public int compare(Comparing t1, Comparing t2){ return 0; }\n });\n\n // Same applies to sorted collections like: TreeSet, TreeMap\n // Comparator can be passed to constructor\n Set<Comparing> tSet = new TreeSet<>(new Comparator<Comparing>() {\n public int compare(Comparing t1, Comparing t2){ return 0; }\n });\n\n // Throw ClassCastException when adding class that is not implementing Comparable\n tSet.add(new Comparing());\n }", "@Test\n public void testAddAll_int_Collection_Order() {\n SegmentedOasisList<Integer> instance = new SegmentedOasisList<>();\n instance.add(3);\n instance.add(2);\n\n Collection c = Arrays.asList(1, 2, 3);\n instance.addAll(1, c);\n\n List expResult = Arrays.asList(3, 1, 2, 3, 2);\n\n for (int i = 0; i < expResult.size(); i++) {\n assertEquals(expResult.get(i), instance.get(i));\n }\n }", "@SuppressWarnings(\"unchecked\")\n public <T> IndexedCollection<T> collection() {\n return (IndexedCollection<T>) journal\n .retrieve(BarbelQueries.all(id), queryOptions(orderBy(ascending(BarbelQueries.EFFECTIVE_FROM))))\n .stream().map(d -> processingState.expose(context, (Bitemporal) d)).collect(Collectors.toList());\n }", "void addAll(Collection<Book> books);", "public DDSViewCollectionForm() {\n\t}", "public static void main (String args[]){\n\t\n\tCargoContainer test1 = new CargoContainer(\"Austin\", 800, 8000);\n\tCargoContainer test2 = new CargoContainer(\"Swathi\", 10000, 10000000);\n\tCargoItem item1 = new CargoItem(\"Toys\", 200, 10, 20, 10); //Volume= 2000\n\tCargoItem item2 = new CargoItem(\"Pens\", 50, 50, 20, 5); //Volume= 5000\n\tCargoItem item3 = new CargoItem(\"Trucks\", 5000, 500, 500, 10); //Volume= 2500000\n\t\n\tSystem.out.println(test1);\n\ttest1.addItem(item1);\n\tSystem.out.println(test1);\n\ttest1.addItem(item2);\n\tSystem.out.println(test1);\n\ttest1.addItem(item3);\n\ttest2.addItem(item3);\n\tSystem.out.println(test2);\n\ttest1.removeItem(item1);\n\tSystem.out.println(test1);\n}", "public void addCat(Cat catToAdd)\r\n {\r\n if(catToAdd != null){\r\n catCollection.add(catToAdd);\r\n }\r\n }" ]
[ "0.61670744", "0.60392284", "0.59267336", "0.5903112", "0.584236", "0.5650267", "0.56233454", "0.5617235", "0.55292577", "0.54846025", "0.54227215", "0.5400116", "0.5338847", "0.53358346", "0.5303417", "0.5272125", "0.5269892", "0.52516055", "0.52392244", "0.51554763", "0.5146396", "0.5132579", "0.51246566", "0.51043236", "0.5081384", "0.5080633", "0.5064195", "0.5058644", "0.50046265", "0.4991675", "0.49772716", "0.4976376", "0.49624452", "0.49594375", "0.4954691", "0.49535936", "0.4949083", "0.49453503", "0.49359655", "0.49285823", "0.49041387", "0.48912168", "0.48897573", "0.4887934", "0.48865104", "0.4876909", "0.48707694", "0.4867215", "0.48608038", "0.48558167", "0.48468408", "0.48462597", "0.48453802", "0.4840582", "0.48401925", "0.48296362", "0.48232713", "0.48172528", "0.478198", "0.4778032", "0.47689116", "0.47570735", "0.4755229", "0.47486994", "0.47399676", "0.47382006", "0.47332004", "0.47279477", "0.47214967", "0.47190294", "0.47178957", "0.47117093", "0.4708139", "0.470472", "0.46956146", "0.46950287", "0.46903148", "0.46824828", "0.4681877", "0.46810699", "0.46808603", "0.4673486", "0.4665901", "0.4665443", "0.46599102", "0.46579698", "0.46473494", "0.4645043", "0.46440265", "0.46422988", "0.46404824", "0.4640308", "0.46348974", "0.46344486", "0.46343505", "0.4632106", "0.4629303", "0.46291", "0.46166322", "0.46156704" ]
0.5172037
19
crea ed ordina i gruppi sulla base dei passeggeri
public static Gruppo[] sortGroup(List<Passeggero> lista){ //creo mappa hash contentente id gruppo e gruppo, dimensione iniziale pari al numero di passeggeri //da analizzare (caso peggiore per migliorare le prestaioni) HashMap<ObjectId, Gruppo> map = new HashMap<ObjectId, Gruppo>(lista.size(), 1f); Iterator<Passeggero> i = lista.iterator(); //inserisco passeggeri nei rispettivi gruppi con complessià n (simile ad ordinamento lineare) while (i.hasNext()) { Passeggero passeggero = (Passeggero) i.next(); ObjectId groupId = passeggero.getIdGruppo(); //controllo se il gruppo esiste già nella lista Gruppo g = map.get(groupId); //se non esiste creo un nuovo gruppo if(g == null){ g = new Gruppo(groupId); map.put(groupId, g); } //inserisco il passeggero nella lista di quel gruppo g.add(passeggero); } //ordino gruppi per peso (merge sort) Gruppo[] gruppi = map.values().toArray(new Gruppo[0]); Arrays.sort(gruppi, Collections.reverseOrder()); return gruppi; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract void creationGrille();", "public void insertarGrado() {\n \tGrado grado = new Grado();\n \tgrado.setIdSeccion(38);\n \tgrado.setNumGrado(2);\n \tgrado.setUltimoGrado(0);\n \tString respuesta = negocio.insertarGrado(\"\", grado);\n \tSystem.out.println(respuesta);\n }", "public CrearGrupos() throws SQLException {\n initComponents();\n setTitle(\"Crear Grupos\");\n setSize(643, 450);\n setLocationRelativeTo(this);\n cargarModelo();\n }", "public void postuler(int p_id,int g_id) throws RemoteException{\r\n\t\t\t\t\t\t\r\n\t\t String requete = \"SELECT p_maxGroup, p_minEtud, p_maxEtud FROM projet WHERE p_id=\"+p_id;\r\n\t\t\tSystem.out.println(\"requete :\" + requete);\r\n\t\t DataSet data = database.executeQuery(requete);\r\n\t\t\t if (!data.hasMoreElements()) {\r\n\t\t\t\t System.out.println(\"Projet id inexistant\");\r\n\t\t\t\t return;\r\n\t\t\t }\r\n\t\t\t \r\n\t\t\t int maxGroup = Integer.parseInt(data.getColumnValue(\"p_maxGroup\"));\r\n\t\t\t int minEtud = Integer.parseInt(data.getColumnValue(\"p_minEtud\"));\r\n\t\t\t int maxEtud = Integer.parseInt(data.getColumnValue(\"p_maxEtud\"));\r\n\t\t\t \r\n\t\t\t //recuperation des membres du groupe\r\n\t\t\t int nbMembre = this.getMember(g_id).size();\r\n\t\t\t if(nbMembre>maxEtud || nbMembre < minEtud){\r\n\t\t\t\t System.out.println(\"Vous ne pouvez pas postuler\");\r\n\t\t\t\t return;\r\n\t\t\t }\r\n\t\t\t \r\n\t\t\t //Recuparation du nombre de groupe qui ont deja postuler a ce projet\r\n\t\t\t requete = \"SELECT COUNT(a_idgroupe) as nbGroupe FROM association WHERE a_idProjet=\"+p_id;\r\n\t\t\t System.out.println(\"requete :\" + requete);\r\n\t\t\t data = database.executeQuery(requete);\r\n\t\t\t int nbGroupe = 0;\r\n\t\t\t if (data.hasMoreElements()) {\r\n\t\t\t \tnbGroupe = Integer.parseInt(data.getColumnValue(\"nbGroupe\"));\r\n\t\t\t }\r\n\t\t\t if(nbGroupe>maxGroup){\r\n\t\t\t\t System.out.println(\"Vous ne pouvez pas postuler Nbgroupe max atteint\");\r\n\t\t\t\t return;\r\n\t\t\t }\r\n\t\t\t \r\n\t\t\t //Creation d'un nouveau groupe\r\n\t\t\t requete = \"INSERT INTO association VALUES (\" + g_id + \", \"+ p_id + \", DEFAULT)\";\r\n\t\t\t System.out.println(\"requete :\" + requete);\r\n\t\t\t database.executeUpdate(requete);\r\n\t\t\t System.out.println(\"Vous avez postuler\");\r\n\t\t\r\n\t\t}", "public CtrlEditGrupos() {\n edEsc = EditEscenario.getInstance();\n try {\n cd = CtrlDomain.getInstance();\n } catch (Exception e) {\n System.out.println(\"ERROR EN LA CARGA DEL CONTROLADOR DE DOMINIO\");\n }\n planEstudiosFinal = edEsc.getPlanEstudiosFinal();\n asignaturasFinal = edEsc.getAsignaturasFinal();\n restriccionesFinal = edEsc.getRestriccionesFinal();\n }", "private void iniciarGrilla(int iOps) throws Exception {\n deleteRows();\n regcontribuyenteBean oregcontribuyenteBean = new regcontribuyenteBean();\n oregcontribuyenteBean.setIOps(iOps);\n oregcontribuyenteBean.setBEstado(true);\n oregcontribuyenteBean.setNvObservacion(busquedanombre.getText());\n List lista = Generic.getInstance(regcontribuyenteBL.class).fnGridregcontribuyenteBean(oregcontribuyenteBean);\n\n lista.stream().forEach((list) -> {\n modeloTabla.addRow((Object[]) list);\n });\n }", "public Grille creationGrille() {\n\t\tList<Mot> listeMots = new ArrayList<Mot>();\r\n\r\n\t\t// Init de la liste de cases\r\n\t\tList<Case> cases = new ArrayList<Case>();\r\n\r\n\t\t// Init de la grille\r\n\t\tGrille grille = new Grille();\r\n\t\tgrille.setDifficulte(Difficulte.moyen);\r\n\r\n\t\t// Creation de la liste de mots\r\n\t\tlisteMots = creerListeMots(grille);\r\n\r\n\t\t// Creation de la liste de cases avec les mots/couleurs\r\n\t\tcases = creerListeCase(listeMots, grille);\r\n\r\n\t\t// affection de la liste de cases a la grille et inverse\r\n\t\tgrille.setCases(cases);\r\n\t\tdaoGrille.save(grille);\r\n\t\tfor (Case c : cases) {\r\n\t\t\tc.setGrille(grille);\r\n\t\t\tdaoCase.save(c);\r\n\t\t}\r\n\r\n\t\treturn grille;\r\n\r\n\t}", "@Override\n\tpublic void crearNuevaPoblacion() {\n\t\t/* Nos quedamos con los mejores individuos. Del resto, cruzamos la mitad, los mejores,\n\t\t * y el resto los borramos.*/\n\t\tList<IIndividuo> poblacion2 = new ArrayList<>();\n\t\tint numFijos = (int) (poblacion.size()/2);\n\t\t/* Incluimos el 50%, los mejores */\n\t\tpoblacion2.addAll(this.poblacion.subList(0, numFijos));\n\t\t\n\t\t/* De los mejores, mezclamos la primera mitad \n\t\t * con todos, juntandolos de forma aleatoria */\n\t\tList<IIndividuo> temp = poblacion.subList(0, numFijos+1);\n\t\tfor(int i = 0; i < temp.size()/2; i++) {\n\t\t\tint j;\n\t\t\tdo {\n\t\t\t\tj = Individuo.aleatNum(0, temp.size()-1);\n\t\t\t}while(j != i);\n\t\t\t\n\t\t\ttry {\n\t\t\t\tpoblacion2.addAll(cruce(temp.get(i), temp.get(j)));\n\t\t\t} catch (CruceNuloException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\t\n\t\t//this.poblacion.clear();\n\t\tthis.poblacion = poblacion2;\n\t}", "public Map<Long, GrupoAtencion> getGruposAtentionGenerados(Integer accion, Long numeroProgramacion) {\n\t\tlogger.info(\" ### getGruposAtentionGenerados ### \");\n\t\t\n\t\tMap<Long, GrupoAtencion> mpGrupos = Collections.EMPTY_MAP;\n\t\t\n\t\ttry{\n\t\t\t\n\t\t\tif(accion!=null && accion.equals(ConstantBusiness.ACCION_NUEVA_PROGRAMACION)){\n\t\t\t\tmpGrupos = new LinkedHashMap<Long, GrupoAtencion>();\n\t\t\t\tlogger.info(\" mostrando mostrando grupos temporales \");\n\t\t\t\t\n\t\t\t\tmpGrupos.putAll(mpGruposCached);\n\t\t\t\t\n\t\t\t}else if(accion!=null && accion.equals(ConstantBusiness.ACCION_EDITA_PROGRAMACION)){\n\t\t\t\tmpGrupos = new LinkedHashMap<Long, GrupoAtencion>();\n\t\t\t\tlogger.info(\" mostrando mostrando grupos bd \");\n\t\t\t\tList<GrupoAtencion> grupoAtencionLíst = grupoAtencionDao.getGruposAtencionPorProgramacion(numeroProgramacion);\n\t\t\t\tList<GrupoAtencion> _grupoAtencionLíst = new ArrayList<>();\n\t\t\t\t\n\t\t\t\tList<GrupoAtencionDetalle> _grupoDetalleAtencionLíst = new ArrayList<>();\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tfor (GrupoAtencion g : grupoAtencionLíst) {\n\t\t\t\t\tlogger.info(\" grupo generado :\"+g.getDescripcion());\n\t\t\t\t\t//clonando grupos \n\t\t\t\t\tlogger.info(\" ### clonando grupo : \"+g.getNumeroGrupoAtencion());\n\t\t\t\t\tGrupoAtencion grupoAtencion = (GrupoAtencion) g.clone();\n\t\t\t\t\tfor(GrupoAtencionDetalle d: g.getGrupoAtencionDetalles()){\n\t\t\t\t\t\t\n\t\t\t\t\t\tlogger.info(\"### numero de solicitud :\"+d.getSolicitudServicio().getNumeroSolicitud());\n\t\t\t\t\t\t\n\t\t\t\t\t\t_grupoDetalleAtencionLíst.add((GrupoAtencionDetalle)d.clone());\n\t\t\t\t\t }\n\t\t\t\t\t\n\t\t\t\t\t_grupoAtencionLíst.add(grupoAtencion);\n\t\t\t\t}\n\n\t\t\t\tlogger.info(\" mapeando objetos clonados \");\n\t\t\t\tfor (GrupoAtencion g : _grupoAtencionLíst) {\n\t\t\t\t\tg.setGrupoAtencionDetalles(new ArrayList<GrupoAtencionDetalle>());\n\t\t\t\t\tfor (GrupoAtencionDetalle d : _grupoDetalleAtencionLíst) {\n\t\t\t\t\t\tif( d.getGrupoAtencion()!=null && \n\t\t\t\t\t\t\t\td.getGrupoAtencion().getNumeroGrupoAtencion()==g.getNumeroGrupoAtencion()){\n\t\t\t\t\t\t\tg.getGrupoAtencionDetalles().add(d);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tmpGrupos.put(g.getNumeroGrupoAtencion(), g);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tthis.mpGruposCached = mpGrupos;\n\t\t\t\t\n\t\t\t\tmostrarGrupos(mpGrupos);\n\t\t\t}\n\t\t\t\n\t\t\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\treturn mpGrupos;\n\t}", "public void creaAziendaAgricola(){\n\t\tCantina nipozzano = creaCantina(\"Nipozzano\");\t\n\t\tBotte[] bottiNipozzano = new Botte[5+(int)(Math.random()*10)];\t\n\t\tfor(int i=0; i<bottiNipozzano.length; i++){\n\t\t\tbottiNipozzano[i] = creaBotte(nipozzano, i, (int)(Math.random()*10+1), tipologiaBotte[(int)(Math.random()*tipologiaBotte.length)]);\n\t\t}\t\t\n\t\tVigna mormoreto = creaVigna(\"Mormoreto\", 330, 25, EsposizioneVigna.sud, \"Terreni ricchi di sabbia, ben drenati. Discreta presenza di calcio. pH neutro o leggermente alcalino\");\n\t\tFilare[] filariMormoreto = new Filare[5+(int)(Math.random()*10)];\n\t\tfor(int i=0; i<filariMormoreto.length;i++){\n\t\t\tfilariMormoreto[i] = creaFilare(mormoreto, i, tipologiaFilare[(int)(Math.random()*tipologiaFilare.length)]);\n\t\t}\t\n\t\tVigna montesodi = creaVigna(\"Montesodi\", 400, 20, EsposizioneVigna.sud_ovest, \"Arido e sassoso, di alberese, argilloso e calcareo, ben drenato, poco ricco di sostanza organica\");\n\t\tFilare[] filariMontesodi = new Filare[5+(int)(Math.random()*10)];\n\t\tfor(int i=0; i<filariMontesodi.length;i++){\n\t\t\tfilariMontesodi[i] = creaFilare(montesodi, i, tipologiaFilare[(int)(Math.random()*tipologiaFilare.length)]);\n\t\t}\n\t\t/*\n\t\t * CANTINA: POMINO - VIGNETO BENEFIZIO\n\t\t */\n\t\t\n\t\tCantina pomino = creaCantina(\"Pomino\");\n\t\tBotte[] bottiPomino = new Botte[5+(int)(Math.random()*10)];\t\n\t\tfor(int i=0; i<bottiPomino.length; i++){\n\t\t\tbottiPomino[i] = creaBotte(pomino, i, (int)(Math.random()*10+1), tipologiaBotte[(int)(Math.random()*tipologiaBotte.length)]);\n\t\t}\n\t\tVigna benefizio = creaVigna(\"Benefizio\", 700, 9, EsposizioneVigna.sud_ovest, \"Terreni ricchi di sabbia, forte presenza di scheletro. Molto drenanti. Ricchi in elementi minerali. PH acido o leggermente acido.\");\n\t\tFilare[] filariBenefizio = new Filare[5+(int)(Math.random()*10)];\n\t\tfor(int i=0; i<filariBenefizio.length;i++){\n\t\t\tfilariBenefizio[i] = creaFilare(benefizio, i, tipologiaFilare[(int)(Math.random()*tipologiaFilare.length)]);\n\t\t}\n\t\t\n\t\taziendaAgricolaDAO.saveLuogo(nipozzano);\n\t\taziendaAgricolaDAO.saveLuogo(mormoreto);\n\t\taziendaAgricolaDAO.saveLuogo(montesodi);\n\t\t\n\t\taziendaAgricolaDAO.saveLuogo(pomino);\n\t\taziendaAgricolaDAO.saveLuogo(benefizio);\n\t\t\n\t\taziendaAgricolaDAO.saveResponsabile(responsabile(\"Giulio d'Afflitto\"));\n\t\taziendaAgricolaDAO.saveResponsabile(responsabile(\"Francesco Ermini\"));\n\n\t\t\n\t}", "public void quitterGroupe (int idGroupe, int idType) throws RemoteException{\r\n\t\t\t\r\n\t\t //Récupérer le propriétaire du groupe :\r\n\t\t String requete = \"Select g_idprop From groupe Where g_id = \" + idGroupe;\r\n\t\t System.out.println(\"requete quitterGroupe(1) : \" + requete);\r\n\t\t \r\n\t\t DataSet data = database.executeQuery(requete);\r\n\t\t String[] line = null;\r\n\t\t int idProp=-1;\r\n\t\t \r\n\t\t \tif (data.hasMoreElements()) {\r\n\t\t \t\tline = data.nextElement();\r\n\t\t \t\tidProp = Integer.parseInt(line[1]);\r\n\t\t \t}\r\n\t\t \t\r\n\t\t \trequete = \"DELETE FROM groupeassoc Where ga_idetudiant = \" + _etudiant.getId() +\r\n \t\t\t \" AND ga_idgroupe = \" + idGroupe;\t\r\n\t\t \tSystem.out.println(\"requete quitterGroupe(2) : \" + requete);\r\n\t\t \tdatabase.executeUpdate(requete);\r\n\t\t \t\r\n\t\t \tif (idProp == _etudiant.getId()){\r\n\t\t \t\trequete = \"Select ga_idetudiant From groupeassoc Where ga_idgroupe = \" + idGroupe;\r\n\t\t \t\tSystem.out.println(\"requete quitterGroupe(3) : \" + requete);\r\n\t\t \t\tdata = database.executeQuery(requete);\r\n\t\t \t\t\r\n\t\t \t\tint idFuturProp = -1;\r\n\t\t \t\tif (data.hasMoreElements()) {\r\n\t\t\t \t\tline = data.nextElement();\r\n\t\t\t \t\tidFuturProp = Integer.parseInt(line[1]);\r\n\t\t\t \t}\r\n\t\t \t\t\r\n\t\t \t\trequete = \"UPDATE groupe SET g_idprop = \" + idFuturProp + \" Where g_id = \" + idGroupe;\r\n\t\t \t\tSystem.out.println(\"requete quitterGroupe(4) : \" + requete);\r\n\t\t \t\tdatabase.executeUpdate(requete);\r\n\t\t \t}\r\n\t\t \t\r\n\t \t\trequete = \"INSERT INTO groupe VALUES ( DEFAULT, \" + _etudiant.getId() + \", \" + idType + \" )\"; \r\n\t \t\tSystem.out.println(\"requete quitterGroupe(5) : \" + requete);\r\n\t \t\tdatabase.executeUpdate(requete);\r\n\t \t\t\r\n\t \t\trequete = \"INSERT INTO groupeassoc ( Select g_id, g_idprop From groupe Where g_idprop = \" + _etudiant.getId() + \" AND g_idtype = \" + idType + \" )\";\r\n\t \t\tSystem.out.println(\"requete quitterGroupe(6) : \" + requete);\r\n\t \t\tdatabase.executeUpdate(requete);\r\n\t\t \t\t \r\n\t\t}", "private void idGrupos() {\n\t\tmyHorizontalListView.setOnItemClickListener(new OnItemClickListener() {\n\n\t\t\tpublic void onItemClick(AdapterView<?> parent, View view,\n\t\t\t\t\tint position, long id) {\n\t\t\t\tURL_BOOKS = \"http://tutoriapps.herokuapp.com/api/v1/groups/\"\n\t\t\t\t\t\t+ gid[position].toString() + \"/books.json?auth_token=\";\n\t\t\t\tposicionId = gid[position].toString();\n\t\t\t\tvalorUltimo = 0;\n\t\t\t\tnuevo = 0;\n\t\t\t\taa.clear();\n\t\t\t\tgetData();\n\t\t\t}\n\t\t});\n\t}", "private void populaParteCorpo()\n {\n ParteCorpo p1 = new ParteCorpo(\"Biceps\");\n parteCorpoDAO.insert(p1);\n ParteCorpo p2 = new ParteCorpo(\"Triceps\");\n parteCorpoDAO.insert(p2);\n ParteCorpo p3 = new ParteCorpo(\"Costas\");\n parteCorpoDAO.insert(p3);\n ParteCorpo p4 = new ParteCorpo(\"Lombar\");\n parteCorpoDAO.insert(p4);\n ParteCorpo p5 = new ParteCorpo(\"Peito\");\n parteCorpoDAO.insert(p5);\n ParteCorpo p6 = new ParteCorpo(\"Panturrilha\");\n parteCorpoDAO.insert(p6);\n ParteCorpo p7 = new ParteCorpo(\"Coxas\");\n parteCorpoDAO.insert(p7);\n ParteCorpo p8 = new ParteCorpo(\"Gluteos\");\n parteCorpoDAO.insert(p8);\n ParteCorpo p9 = new ParteCorpo(\"Abdomen\");\n parteCorpoDAO.insert(p9);\n ParteCorpo p10 = new ParteCorpo(\"Antebraço\");\n parteCorpoDAO.insert(p10);\n ParteCorpo p11 = new ParteCorpo(\"Trapezio\");\n parteCorpoDAO.insert(p11);\n ParteCorpo p12 = new ParteCorpo(\"Ombro\");\n parteCorpoDAO.insert(p12);\n }", "protected void creaPagine() {\n Pagina pag;\n Pannello pan;\n\n try { // prova ad eseguire il codice\n\n /* crea la pagina e aggiunge campi e pannelli */\n pag = this.addPagina(\"generale\");\n\n pan = PannelloFactory.orizzontale(this);\n pan.add(Cam.data);\n pan.add(Cam.importo.get());\n pan.add(Cam.note.get());\n pag.add(pan);\n\n } catch (Exception unErrore) { // intercetta l'errore\n Errore.crea(unErrore);\n }// fine del blocco try-catch\n\n }", "public void actualizarGrado() {\n \tGrado grado = new Grado();\n \tgrado.setIdGrado(7);\n \tgrado.setDescripcionSeccion(\"Secundaria\");\n \tgrado.setNumGrado(6);\n \tgrado.setDescripcionUltimoGrado(\"SI\");\n \tString respuesta = negocio.actualizarGrado(\"\", grado);\n \tSystem.out.println(respuesta);\n }", "@Override\n public void registrarPropiedad(Propiedad nuevaPropiedad, String pIdAgente) {\n int numFinca = nuevaPropiedad.getNumFinca();\n String modalidad = nuevaPropiedad.getModalidad();\n double area = nuevaPropiedad.getAreaTerreno();\n double metro = nuevaPropiedad.getValorMetroCuadrado();\n double fiscal = nuevaPropiedad.getValorFiscal();\n String provincia = nuevaPropiedad.getProvincia();\n String canton = nuevaPropiedad.getCanton();\n String distrito = nuevaPropiedad.getDistrito();\n String dirExacta = nuevaPropiedad.getDirExacta();\n String estado = nuevaPropiedad.getEstado();\n String tipo = nuevaPropiedad.getTipo();\n System.out.println(nuevaPropiedad.getFotografias().size());\n double precio = nuevaPropiedad.getPrecio();\n try {\n bdPropiedad.manipulationQuery(\"INSERT INTO PROPIEDAD (ID_PROPIEDAD, ID_AGENTE, MODALIDAD, \"\n + \"AREA_TERRENO, VALOR_METRO, VALOR_FISCAL, PROVINCIA, CANTON, DISTRITO, DIREXACTA, TIPO, \"\n + \"ESTADO, PRECIO) VALUES (\" + numFinca + \", '\" + pIdAgente + \"' , '\" + modalidad + \"',\" + \n area + \",\" + metro + \",\" + fiscal + \", '\" + provincia + \"' , '\" + canton + \"' , '\" + distrito \n + \"' , '\" + dirExacta + \"' , '\" + tipo + \"' , '\" + estado + \"', \" + precio + \")\");\n bdPropiedad.insertarFotografias(nuevaPropiedad);\n } catch (SQLException ex) {\n Logger.getLogger(Propiedad.class.getName()).log(Level.SEVERE, null, ex);\n }\n }", "public Vector listaGrupos(String asignatura)\n {\n try\n {\n //Se obtiene una conexion\n Connection conexion = this.bbdd.getConexion();\n\n //Se prepara la query\n String query = \"SELECT * FROM grupos \";\n query += \"WHERE asignasoc='\"+asignatura+\"' AND activa='s'\";\n\n //Se crea un vector de grupos\n Vector vectorGrupos = new Vector();\n\n //Se ejecuta la query\n Statement st = conexion.createStatement();\n ResultSet resultado = st.executeQuery(query);\n\n //Para cada fila se creará un objeto y se rellenará\n //con los valores de las columnas.\n while(resultado.next())\n {\n grupo grupo = new grupo();\n\n grupo.setCodigoLab(resultado.getInt(\"codigolab\"));\n grupo.setAsigAsoc(resultado.getString(\"asignasoc\"));\n grupo.setDia(resultado.getString(\"dia\"));\n grupo.setHora(resultado.getString(\"hora\"));\n grupo.setPlazas(resultado.getInt(\"plazas\"));\n grupo.setPlazasOcupadas(resultado.getInt(\"plazasocupadas\"));\n grupo.setObservaciones(resultado.getString(\"observaciones\"));\n\n //Se añade el grupo al vector de grupos\n vectorGrupos.add(grupo);\n }\n\n //Se cierra la conexión\n this.bbdd.cerrarConexion(conexion);\n\n return vectorGrupos;\n }\n catch(SQLException e)\n {\n System.out.println(\"Error al acceder a los grupos de la Base de Datos: \"+e.getMessage());\n return null;\n }\n }", "public void buscarGrado() {\n \tGrado grado = new Grado();\n \tgrado.setDescripcionSeccion(\"Primaria\");\n \tgrado.setNumGrado(4);\n \tgrado.setDescripcionUltimoGrado(\"NO\");\n \tString respuesta = negocio.buscarGrado(\"\", grado);\n \tSystem.out.println(respuesta);\n }", "private void setUpGroupBy(){\n\t\tEPPropiedad pro = new EPPropiedad();\n\t\tpro.setNombre(\"a1.p2\");\n\t\tpro.setPseudonombre(\"\");\n\t\texpresionesGroupBy.add(pro);\n\t\tpro = new EPPropiedad();\n\t\tpro.setNombre(\"a1.p3\");\n\t\tpro.setPseudonombre(\"\");\n\t\texpresionesGroupBy.add(pro);\n\t}", "private GrupoCuenta(String nombre, int operacion)\r\n/* 11: */ {\r\n/* 12:31 */ this.nombre = nombre;\r\n/* 13:32 */ this.operacion = operacion;\r\n/* 14: */ }", "private List<PlanTrabajo> generarPlanesTrabajo( Date fecPrgn, \n\t\t\tList<Cuadrilla> cuadrillas,Map<Long, GrupoAtencion> mpGrupos, \n\t\t\tMap<Long, Long> asignaciones ){\n\t\t\n\t\t\tList<PlanTrabajo> planTrabajoList = new ArrayList<PlanTrabajo>();\n\t\t\tSet<Long> grupos = asignaciones.keySet();\t\n\t\t\tlong np = 1;\n\t\t\tfor (Long ngrupo : grupos) {\n\t\t\t\t Long ncuadrilla = asignaciones.get(ngrupo);\n\t\t\t\t GrupoAtencion grupoAtencion = mpGrupos.get(ngrupo);\n\t\t\t\t //GrupoAtencion grupoAtencion = asignar(cuadrilla, idx, mpGruposCached);\n\t\t\t\t PlanTrabajo planTrabajo = new PlanTrabajo(np);\n\t\t\t\t int nsp = 1;\n\t\t\t\t planTrabajo.setFechaProgramacion(new Timestamp(fecPrgn.getTime()));\n\t\t\t\t int i = cuadrillas.indexOf( new Cuadrilla(ncuadrilla));\n\t\t\t\t if(i!=-1){\n\t\t\t\t\t \n\t\t\t\t\t Cuadrilla cuadrilla = cuadrillas.get(i);\n\t\t\t\t\t planTrabajo.setCuadrilla(cuadrilla);\n\t\t\t\t\t planTrabajo.setGrupoAtencion(grupoAtencion);\n\t\t\t\t\t \n\t\t\t\t\t if(grupoAtencion!=null){\n\t\t\t\t\t\t for( GrupoAtencionDetalle d : grupoAtencion.getGrupoAtencionDetalles()){\n\t\t\t\t\t\t\t // añadiendo las solicitudes de servicio\t\n\t\t\t\t\t\t\t SolicitudServicio s = d.getSolicitudServicio();\n\t\t\t\t\t\t\t //System.out.println(\" #### añadiendo solicitud \"+s.getNumeroSolicitud());\n\t\t\t\t\t\t\t if(planTrabajo.getPlanTrabajoDetalles()==null){\n\t\t\t\t\t\t\t\t planTrabajo.setPlanTrabajoDetalles(new ArrayList<PlanTrabajoDetalle>());\n\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t PlanTrabajoDetalle pd = new PlanTrabajoDetalle(np, nsp);\n\t\t\t\t\t\t\t pd.setSolicitudServicio(s);\n\t\t\t\t\t\t\t //planTrabajo.addPlanTrabajoDetalle( new PlanTrabajoDetalle(s));;\n\t\t\t\t\t\t\t planTrabajo.addPlanTrabajoDetalle(pd);\n\t\t\t\t\t\t\t nsp++;\n\t\t\t\t\t\t }\n\t\t\t\t\t\t planTrabajoList.add(planTrabajo);\n\t\t\t\t\t }\n\t\t\t\t }\n\t\t\t\t np++;\n\t\t\t}\n\t\t\t\n\t\treturn planTrabajoList;\n\t}", "OperacionColeccion createOperacionColeccion();", "Operacion createOperacion();", "public void creatOnt(List<Promoter> pros){\r\n\t\tString nameuri = \"http://miuras.inf.um.es/ontologies/OGO.owl#Name\";\r\n\t\tString authoruri = \"http://miuras.inf.um.es/ontologies/promoter.owl#Author\";\r\n\t\tString iduri = \"http://miuras.inf.um.es/ontologies/OGO.owl#Identifier\";\r\n\t\tString linkuri = \"http://miuras.inf.um.es/ontologies/promoter.owl#Link\";\r\n\t\tString locuri = \"http://miuras.inf.um.es/ontologies/OGO.owl#Location\";\r\n\t\tString titleuri = \"http://miuras.inf.um.es/ontologies/promoter.owl#Title\";\r\n\t\t\r\n\t\tString activeuri = \"http://miuras.inf.um.es/ontologies/promoter.owl#active\";\r\n\t\tString fromspeciesuri = \"http://miuras.inf.um.es/ontologies/OGO.owl#fromSpecies\";\r\n\t\tString hasgouri = \"http://miuras.inf.um.es/ontologies/OGO.owl#hasGO\";\r\n\t\tString hashomologyuri = \"http://miuras.inf.um.es/ontologies/promoter.owl#hasHomolgy\";\r\n\t\tString haskeyworduri = \"http://miuras.inf.um.es/ontologies/promoter.owl#hasKeywords\";\r\n\t\tString haspromoteruri = \"http://miuras.inf.um.es/ontologies/promoter.owl#hasPromoter\";\r\n\t\tString hasreferenceuri = \"http://miuras.inf.um.es/ontologies/promoter.owl#hasReference\";\r\n\t\tString hasresourceuri = \"http://miuras.inf.um.es/ontologies/OGO.owl#hasResource\";\r\n\t\tString isbelongeduri = \"http://miuras.inf.um.es/ontologies/promoter.owl#isBelongedTo\";\r\n\t\tString isexpresseduri = \"http://miuras.inf.um.es/ontologies/promoter.owl#isExpressedTo\";\r\n\t\tString istranscribeduri = \"http://miuras.inf.um.es/ontologies/promoter.owl#isTranscribedTo\";\r\n\t\tString istranslateduri = \"http://miuras.inf.um.es/ontologies/OGO.owl#isTranslatedTo\";\r\n\t\t\r\n\t\tString gouri = \"http://miuras.inf.um.es/ontologies/OGO.owl#GO_term\";\r\n\t\tString geneuri = \"http://miuras.inf.um.es/ontologies/OGO.owl#Gene\";\r\n\t\tString homologyuri = \"http://miuras.inf.um.es/ontologies/promoter.owl#Homology\";\r\n\t\tString keyworduri = \"http://miuras.inf.um.es/ontologies/promoter.owl#Keyword\";\r\n\t\tString taxonomyuri = \"http://um.es/ncbi.owl#NCBI_1\";\r\n\t\tString promoteruri = \"http://miuras.inf.um.es/ontologies/promoter.owl#Promoter\";\r\n\t\tString proteinuri = \"http://miuras.inf.um.es/ontologies/OGO.owl#Protein\";\r\n\t\tString referenceuri = \"http://miuras.inf.um.es/ontologies/promoter.owl#Reference\";\r\n\t\tString resourceuri = \"http://miuras.inf.um.es/ontologies/OGO.owl#Resource\";\r\n\t\tString mrnauri = \"http://miuras.inf.um.es/ontologies/promoter.owl#mRNA\";\r\n\t\t\r\n\t\tSimpleExample se = new SimpleExample();\r\n\t\tOntModel onmo = null;\r\n\t\ttry {\r\n\t\t\tonmo = se.loadDB2nd();\r\n\t\t} catch (ClassNotFoundException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\tint index = 1;\r\n\t\tfor(Promoter pro: pros){\r\n\t\t\t// Create new individual of promoter;\r\n\t\t\tIndividual newproidv = se.CreateandGetIdv(\r\n\t\t\t\t\tpromoteruri + \"_\" + pro.getName(),\r\n\t\t\t\t\tpromoteruri, onmo);\r\n\t\t\t// Create the relation between promoter and homology\r\n\t\t\tif(pro.getHomology().getId().trim().length()>0){\r\n\t\t\t\tIndividual homoidv = se.CreateandGetIdv(\r\n\t\t\t\t\t\thomologyuri + \"_\" + pro.getHomology().getId(),\r\n\t\t\t\t\t\thomologyuri, onmo);\r\n\t\t\t\tse.addObjProperty(onmo, newproidv.getURI(), hashomologyuri, homoidv.getURI());\r\n\t\t\t}\r\n\t\t\t//create the reference individual and the relation to promoter\r\n\t\t\tfor(Reference ref : pro.getReferences()){\r\n\t\t\t\tIndividual refidv = se.CreateandGetIdv(\r\n\t\t\t\t\t\treferenceuri + \"_\" + ref.getPubmed(),\r\n\t\t\t\t\t\treferenceuri, onmo);\r\n\t\t\t\tse.addDataProperty(onmo, refidv.getURI(), authoruri, ref.getAuther());\r\n\t\t\t\tse.addDataProperty(onmo, refidv.getURI(), titleuri, ref.getTitle());\r\n\t\t\t\tse.addDataProperty(onmo, refidv.getURI(), iduri, ref.getPubmed());\r\n\t\t\t\tse.addDataProperty(onmo, refidv.getURI(), locuri, ref.getLocation());\r\n\t\t\t\tse.addObjProperty(onmo, newproidv.getURI(), hasreferenceuri, refidv.getURI());\r\n\t\t\t}\r\n\t\t\t//create the resource individual and the relation to promoter\r\n\t\t\tfor(Resource res : pro.getResources()){\r\n\t\t\t\tIndividual residv = se.CreateandGetIdv(\r\n\t\t\t\t\t\tresourceuri + \"_\" + res.getId(),\r\n\t\t\t\t\t\tresourceuri, onmo);\r\n\t\t\t\tse.addDataProperty(onmo, residv.getURI(), nameuri, res.getDataset());\r\n\t\t\t\tse.addDataProperty(onmo, residv.getURI(), linkuri, res.getLink());\r\n\t\t\t\tse.addDataProperty(onmo, residv.getURI(), iduri, res.getId());\r\n\t\t\t\tse.addObjProperty(onmo, newproidv.getURI(), hasresourceuri, residv.getURI());\r\n\t\t\t}\r\n\t\t\t//create the keyword individual and the relation to promoter\r\n\t\t\tfor(Keyword kwd : pro.getKeywords()){\r\n\t\t\t\tIndividual kwdidv = se.CreateandGetIdv(\r\n\t\t\t\t\t\tkeyworduri + \"_\" + kwd.getKeyword(),\r\n\t\t\t\t\t\tkeyworduri, onmo);\r\n\t\t\t\tse.addDataProperty(onmo, kwdidv.getURI(), nameuri, kwd.getKeyword());\r\n\t\t\t\tse.addObjProperty(onmo, newproidv.getURI(), haskeyworduri, kwdidv.getURI());\r\n\t\t\t}\r\n\t\t\t//create the gene individual and the relative individuals to the gene\r\n\t\t\t//create the relation between the gene individual and the relative individuals to the gene and the promoter\r\n\t\t\tfor(Gene gen: pro.getGenes()){\r\n\t\t\t\t//create the gene individual and the relation to promoter\r\n\t\t\t\tIndividual genidv = se.CreateandGetIdv(\r\n\t\t\t\t\t\tgeneuri + \"_\" + gen.getId(),\r\n\t\t\t\t\t\tgeneuri, onmo);\r\n\t\t\t\tse.addDataProperty(onmo, genidv.getURI(), iduri, gen.getId());\r\n\t\t\t\tse.addObjProperty(onmo, genidv.getURI(), haspromoteruri, newproidv.getURI());\r\n\t\t\t\tse.addObjProperty(onmo, newproidv.getURI(), isbelongeduri, genidv.getURI());\r\n\t\t\t\t//create or get the go individual and the relation to gene\r\n\t\t\t\tfor(GO ngo: gen.getGos()){\r\n\t\t\t\t\tIndividual goidv = se.CreateandGetIdv(\r\n\t\t\t\t\t\t\tse.OGO_PREFIX + \"#GO_\" + ngo.getId(),\r\n\t\t\t\t\t\t\tgouri, onmo);\r\n\t\t\t\t\tse.addObjProperty(onmo, genidv.getURI(), hasgouri, goidv.getURI());\r\n\t\t\t\t}\r\n\t\t\t\t//create or get the taxonomy individual and the relation to gene\r\n\t\t\t\tIndividual taxidv = se.CreateandGetIdv(\r\n\t\t\t\t\t\tse.NCBI_PREFIX + \"#NCBI_\" + gen.getTaxonomy().getId(),\r\n\t\t\t\t\t\ttaxonomyuri, onmo);\r\n\t\t\t\tse.addObjProperty(onmo, genidv.getURI(), fromspeciesuri, taxidv.getURI());\r\n\t\t\t\t//create the mRNA and protein individual and the relation to gene\r\n\t\t\t\tfor(int i = 0; i<=gen.getMrnas().size()-1; i++){\r\n\t\t\t\t\tString rnaid = gen.getMrnas().get(i).getId();\r\n\t\t\t\t\tif(!rnaid.equals(\"-\")){\r\n\t\t\t\t\t\tIndividual rnaidv = se.CreateandGetIdv(\r\n\t\t\t\t\t\t\tmrnauri + \"_\" + rnaid,\r\n\t\t\t\t\t\t\tmrnauri, onmo);\r\n\t\t\t\t\t\tse.addDataProperty(onmo, rnaidv.getURI(), iduri, rnaid);\r\n\t\t\t\t\t se.addObjProperty(onmo, genidv.getURI(), istranscribeduri, rnaidv.getURI());\r\n\t\t\t\t\t se.addObjProperty(onmo, newproidv.getURI(), activeuri, rnaidv.getURI());\r\n\t\t\t\t\t String prnid = gen.getProteins().get(i).getId();\r\n\t\t\t\t\t if(!prnid.equals(\"-\")){\r\n\t\t\t\t\t \tIndividual prnidv = se.CreateandGetIdv(\r\n\t\t\t\t\t\t\t\t\tproteinuri + \"_\" + rnaid,\r\n\t\t\t\t\t\t\t\t\tproteinuri, onmo);\r\n\t\t\t\t\t\t\tse.addDataProperty(onmo, prnidv.getURI(), iduri, prnid);\r\n\t\t\t\t\t\t\tse.addObjProperty(onmo, genidv.getURI(), isexpresseduri, prnidv.getURI());\r\n\t\t\t\t\t\t\tse.addObjProperty(onmo, rnaidv.getURI(), istranslateduri, prnidv.getURI());\r\n\t\t\t\t\t }\r\n\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\tSystem.out.println(index+++\".\t\"+\"Promoter: \"+pro.getName()+\" finished!\");\r\n\t\t}\r\n\t}", "public void generarNumeroFacura(){\n try{\n FacturaDao facturaDao = new FacturaDaoImp();\n //Comprobamos si hay registros en la tabla Factura de la BD\n this.numeroFactura = facturaDao.numeroRegistrosFactura();\n \n //Si no hay registros hacemos el numero de factura igual a 1\n if(numeroFactura <= 0 || numeroFactura == null){\n numeroFactura = Long.valueOf(\"1\");\n this.factura.setNumeroFactura(this.numeroFactura.intValue());\n this.factura.setTotalVenta(new BigDecimal(0));\n }else{\n //Recuperamos el ultimo registro que existe en la tabla Factura\n Factura factura = facturaDao.getMaxNumeroFactura();\n //Le pasamos a la variable local el numero de factura incrementado en 1\n this.numeroFactura = Long.valueOf(factura.getNumeroFactura() + 1);\n this.factura.setNumeroFactura(this.numeroFactura.intValue());\n this.factura.setTotalVenta(new BigDecimal(0));\n }\n \n \n }catch(Exception e){\n e.printStackTrace();\n }\n \n }", "private void crearElementos() {\n\n\t\tRotonda rotonda1 = new Rotonda(new Posicion(400, 120), \"5 de octubre\");\n\t\tthis.getListaPuntos().add(rotonda1);\n\n\t\tCiudad esquel = new Ciudad(new Posicion(90, 180), \"Esquel\");\n\t\tthis.getListaPuntos().add(esquel);\n\n\t\tCiudad trelew = new Ciudad(new Posicion(450, 200), \"Trelew\");\n\t\tthis.getListaPuntos().add(trelew);\n\n\t\tCiudad comodoro = new Ciudad(new Posicion(550, 400), \"Comodoro\");\n\t\tthis.getListaPuntos().add(comodoro);\n\n\t\tCiudad rioMayo = new Ciudad(new Posicion(350, 430), \"Rio Mayo\");\n\t\tthis.getListaPuntos().add(rioMayo);\n\n\t\t// --------------------------------------------------------\n\n\t\tRutaDeRipio rutaRipio = new RutaDeRipio(230, 230, rotonda1, esquel);\n\t\tthis.getListaRuta().add(rutaRipio);\n\n\t\tRutaPavimentada rutaPavimentada1 = new RutaPavimentada(380, 100, trelew, comodoro);\n\t\tthis.getListaRuta().add(rutaPavimentada1);\n\n\t\tRutaPavimentada rutaPavimentada2 = new RutaPavimentada(800, 120, esquel, comodoro);\n\t\tthis.getListaRuta().add(rutaPavimentada2);\n\n\t\tRutaDeRipio rutaripio3 = new RutaDeRipio(380, 100, trelew, comodoro);\n\t\tthis.getListaRuta().add(rutaripio3);\n\n\t\tRutaEnConstruccion rutaConst1 = new RutaEnConstruccion(180, 70, rioMayo, comodoro);\n\t\tthis.getListaRuta().add(rutaConst1);\n\n\t\tRutaPavimentada rutaPavimentada3 = new RutaPavimentada(600, 110, rioMayo, esquel);\n\t\tthis.getListaRuta().add(rutaPavimentada3);\n\t}", "private static Set<TipoLinkPartita> initModel() {\n\n Set<TipoLinkPartita> partite = new HashSet<TipoLinkPartita>();\n\n Squadra verdi = new Squadra(\"Verdi\");\n Squadra rossi = new Squadra(\"Rossi\");\n Squadra gialli = new Squadra(\"Gialli\");\n Squadra blu = new Squadra(\"Blu\");\n\n try {\n\n TipoLinkPartita p = new TipoLinkPartita(verdi, 2, rossi, 0);\n verdi.inserisciLinkPartita(p);\n partite.add(p);\n\n p = new TipoLinkPartita(verdi, 3, blu, 1);\n verdi.inserisciLinkPartita(p);\n partite.add(p);\n\n p = new TipoLinkPartita(blu, 2, rossi, 0);\n blu.inserisciLinkPartita(p);\n partite.add(p);\n\n p = new TipoLinkPartita(gialli, 1, rossi, 3);\n rossi.inserisciLinkPartita(p);\n partite.add(p);\n\n } catch (EccezionePrecondizioni e) {\n e.printStackTrace();\n }\n\n // Crea ed aggiunge giocatori alle squadre\n // eta' casuale tra 1970 e 1980\n // (Math.random() resituisce un double casuale tra 0.0 e 1.0)\n for (int i = 0; i < 20; i++) {\n\n Giocatore g = new Giocatore(\"verde-\" + i, 1970 + (int) (10 * Math.random()));\n verdi.insericiLinkGioca(g);\n\n g = new Giocatore(\"rosso-\" + i, 1970 + (int) (10 * Math.random()));\n rossi.insericiLinkGioca(g);\n\n g = new Giocatore(\"giallo-\" + i, 1970 + (int) (10 * Math.random()));\n gialli.insericiLinkGioca(g);\n\n g = new Giocatore(\"blu-\" + i, 1970 + (int) (10 * Math.random()));\n blu.insericiLinkGioca(g);\n }\n\n return partite;\n }", "Position_changerOrdonnee createPosition_changerOrdonnee();", "public void creaAddebitiGiornalieri(AddebitoFissoPannello pannello,\n int codConto,\n Date dataInizio,\n Date dataFine) {\n /* variabili e costanti locali di lavoro */\n boolean continua = true;\n Modulo modAddFisso;\n ArrayList<CampoValore> campiFissi;\n Campo campoQuery;\n CampoValore campoVal;\n ArrayList<WrapListino> lista;\n ArrayList<AddebitoFissoPannello.Riga> righeDialogo = null;\n int quantita;\n\n try { // prova ad eseguire il codice\n\n modAddFisso = this.getModulo();\n campiFissi = new ArrayList<CampoValore>();\n\n /* recupera dal dialogo il valore obbligatorio del conto */\n if (continua) {\n campoQuery = modAddFisso.getCampo(Addebito.Cam.conto.get());\n campoVal = new CampoValore(campoQuery, codConto);\n campiFissi.add(campoVal);\n }// fine del blocco if\n\n /* recupera dal dialogo il pacchetto di righe selezionate */\n if (continua) {\n righeDialogo = pannello.getRigheSelezionate();\n }// fine del blocco if\n\n /* crea il pacchetto delle righe di addebito fisso da creare */\n if (continua) {\n\n /* traverso tutta la collezione delle righe selezionate nel pannello */\n for (AddebitoFissoPannello.Riga riga : righeDialogo) {\n lista = ListinoModulo.getPrezzi(riga.getCodListino(),\n dataInizio,\n dataFine,\n true,\n false);\n quantita = riga.getQuantita();\n for (WrapListino wrapper : lista) {\n this.creaAddebitoFisso(codConto, dataInizio, wrapper, quantita);\n }\n } // fine del ciclo for-each\n }// fine del blocco if\n\n } catch (Exception unErrore) { // intercetta l'errore\n Errore.crea(unErrore);\n }// fine del blocco try-catch\n\n }", "public void crearNodos()\n\t{\n\t\tfor(List<String> renglon: listaDeDatos)\n\t\t{\n\t\t\tPersona persona = new Persona(Integer.parseInt(renglon.get(1)), Integer.parseInt(renglon.get(2))); //crea la persona\n\t\t\t\n\t\t\tNodo nodo = new Nodo(Integer.parseInt(renglon.get(0)), 0, 0, false); //crea el nodo con id en posicion 1\n\t\t\t\n\t\t\tnodo.agregarPersona(persona);\n\t\t\tlistaNodos.add(nodo);\n\t\t}\n\t\t\n\t}", "private GrupoAtencion asignar(Cuadrilla cuadrilla,int idx , Map<Long, GrupoAtencion> mpGrupos){\n\t\t\n\t\tSystem.out.println(mpGrupos.toString());\n\t\t\n\t\ttry{\n\t\t\tLong indexalt = Long.parseLong(gruposidx.get(idx).toString());\n\t\t\t// provisional\n\t\t\tGrupoAtencion grupoAtencion = mpGrupos.get(indexalt);\t\t\t\n\t\t\treturn grupoAtencion;\n\t\t}catch(Exception e){\n\t\t\t\n\t\t\treturn null;\n\t\t}\n\t}", "public Funcionalidad() {\n Cajero cajero1 = new Cajero(\"Pepe\", 2);\n empleados.put(cajero1.getID(), cajero1);\n Reponedor reponedor1 = new Reponedor(\"Juan\", 3);\n empleados.put(reponedor1.getID(), reponedor1);\n Producto producto1 = new Producto(\"Platano\", 10, 8);\n productos.add(producto1);\n Perecedero perecedero1 = new Perecedero(LocalDateTime.now(), \"Yogurt\", 10, 8);\n }", "public void creationPlateau() {\n for (int i = 0; i < 10; i++) {\n int X = rand.nextInt(14);\n int Y = rand.nextInt(14);\n if (plateau[X][Y] == null && espacementMonstre(X,Y,plateau)) {\n int monstreAleatoire = 1 + (int)(Math.random() * ((3 - 1) + 1));\n switch (monstreAleatoire) {\n case 1:\n Personnage monstreD = new Dragonnet(X,Y);\n plateau[X][Y] = monstreD;\n this.monstre.add(monstreD);\n System.out.println(\"Dragonnet ajouté en position : \"+X+\" \"+Y);\n break;\n case 2:\n Personnage monstreL = new Loup(X,Y);\n plateau[X][Y] = monstreL;\n this.monstre.add(monstreL);\n System.out.println(\"Loup ajouté en position : \"+X+\" \"+Y);\n\n break;\n case 3:\n Personnage monstreO = new Orque(X,Y);\n plateau[X][Y] = monstreO;\n this.monstre.add(monstreO);\n System.out.println(\"Orque ajouté en position : \"+X+\" \"+Y);\n break;\n }\n } else {\n i --;\n }\n }\n }", "public void carregar(DadosGrafico dados){\r\n \r\n }", "public void genererchemin() {\r\n\t\tRandom hauteur1 = new Random();\r\n\t\tRandom longueur2 = new Random();\r\n\t\tRandom choix = new Random();\r\n\t\tArrayList chemin = new ArrayList();\r\n\t\tSystem.out.println(this.getHauteur());\r\n\t\tSystem.out.println(this.getLargeur());\r\n\t\tint milieu = getLargeur() / 2;\r\n\t\t//System.out.println(milieu);\r\n\t\tCoordonnees c = new Coordonnees(milieu, hauteur1.nextInt(\r\n\t\t\t\tgetLargeur()));\r\n\t\tchemin.add(c);\r\n\t\tchemin.add(new Coordonnees(0, 0));\r\n\t\tchemin.add(new Coordonnees(getLargeur() - 1, getHauteur() - 1));\r\n\t\tCoordonnees droite = new Coordonnees(milieu + 1, c.getHauteur());\r\n\t\tchemin.add(droite);\r\n\t\tCoordonnees gauche = new Coordonnees(milieu - 1, c.getHauteur());\r\n\t\tchemin.add(gauche);\r\n\t\tCoordonnees base1 = new Coordonnees(0, 0);\r\n\t\tCoordonnees base2 =new Coordonnees(getLargeur() - 1, getHauteur() - 1);\r\n\r\n\t\twhile (!gauche.equals(base1)) {\r\n\t\t\tif (gauche.getLargeur() == 0) {\r\n\t\t\t\tgauche = new Coordonnees(0, gauche.getHauteur() - 1);\r\n\t\t\t\tchemin.add(gauche);\r\n\t\t\t} else if (gauche.getHauteur() == 0) {\r\n\t\t\t\tgauche = new Coordonnees(gauche.getLargeur() - 1, 0);\r\n\t\t\t\tchemin.add(gauche);\r\n\t\t\t}\r\n\t\t\telse if (choix.nextInt(2) == 0) {\r\n\t\t\t\tgauche = new Coordonnees(gauche.getLargeur() - 1, \r\n\t\t\t\t\t\tgauche.getHauteur());\r\n\t\t\t\tchemin.add(gauche);\r\n\t\t\t} else {\r\n\t\t\t\tgauche = new Coordonnees(gauche.getLargeur(), \r\n\t\t\t\t\t\tgauche.getHauteur() - 1);\r\n\t\t\t\tchemin.add(gauche);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\twhile (!droite.equals(base2)) {\r\n\t\t\tif (droite.getLargeur() == (this.largeur -1)) {\r\n\t\t\t\tdroite = new Coordonnees(droite.getLargeur(), \r\n\t\t\t\t\t\tdroite.getHauteur() + 1);\r\n\t\t\t\tchemin.add(droite);\r\n\r\n\t\t\t} else if (droite.getHauteur() == (this.hauteur -1)) {\r\n\t\t\t\tdroite = new Coordonnees(droite.getLargeur() + 1, \r\n\t\t\t\t\t\tdroite.getHauteur());\r\n\t\t\t\tchemin.add(droite);\r\n\t\t\t\t//System.out.println(\"fais chier\");\r\n\t\t\t}\r\n\t\t\telse if (choix.nextInt(2) == 0) {\r\n\t\t\t\tdroite = new Coordonnees(droite.getLargeur() + 1, \r\n\t\t\t\t\t\tdroite.getHauteur());\r\n\t\t\t\tchemin.add(droite);\r\n\t\t\t} else {\r\n\t\t\t\tdroite = new Coordonnees(droite.getLargeur(), \r\n\t\t\t\t\t\tdroite.getHauteur() + 1);\r\n\t\t\t\tchemin.add(droite);\r\n\t\t\t}\r\n\t\t}\r\n\t\tScanner sc = new Scanner(System.in);\r\n\t\tSystem.out.println(\"Quel est le pourcentage d'obstacle souhaite :\");\r\n\t\tint pourcentage = sc.nextInt();\r\n\t\tint ctp = getHauteur() * getLargeur() * pourcentage / 100;\r\n\t\twhile(ctp >0){\r\n\t\t\tCoordonnees obstacle = new Coordonnees(longueur2.nextInt(getLargeur()), \r\n\t\t\t\t\thauteur1.nextInt(getHauteur()));\r\n\t\t\t//System.out.println(!chemin.contains(obstacle));\r\n\t\t\tif (!chemin.contains(obstacle)) {\r\n\t\t\t\tthis.plateau[obstacle.getHauteur()][obstacle.getLargeur()] = new Obstacle(\r\n\t\t\t\t\t\tobstacle.getHauteur(), obstacle.getLargeur());\r\n\t\t\t\tctp--;\r\n\t\t\t} else {\r\n\t\t\t\t//System.out.println(obstacle + \"est sur le chemin\");\r\n\t\t\t}\r\n\t\t}\r\n\t}", "Gruppo getGruppo();", "public abstract Anuncio creaAnuncioIndividualizado();", "@Transactional\n\tprivate void generateGodSet() {\n\t\tMinionCard ex1 = createMinionCard(\"Chatton transcendent\", -2, 1 , 1 , -1, \"Utilise mon energie\",\"img/cardImg/godSet/glow.jpg\");\n\t\tMinionCard ex2 = createMinionCard(\"Reda EX\", -7, 1,1, -2, \"Oh la la.\",\"img/cardImg/godSet/Reda.png\");\n\t\tMinionCard ex3 = createMinionCard(\"François EX\", -12, 1, 1, -3, \"Aujourd'hui On a Oncle Bob\",\"img/cardImg/godSet/Francois.png\");\n\t\t\n\t\tcardRepository.save(ex1);\n\t\tcardRepository.save(ex2);\n\t\tcardRepository.save(ex3);\n\t\t\n\t}", "private static void registrarAuditoriaDetallesGrupoBodega(Connexion connexion,GrupoBodega grupobodega)throws Exception {\n\t\t\r\n\t\tString strValorActual=null;\r\n\t\tString strValorNuevo=null;\r\n\t\t\r\n\t\t\t\r\n\t\t\tif(grupobodega.getIsNew()||!grupobodega.getid_empresa().equals(grupobodega.getGrupoBodegaOriginal().getid_empresa()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(grupobodega.getGrupoBodegaOriginal().getid_empresa()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=grupobodega.getGrupoBodegaOriginal().getid_empresa().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(grupobodega.getid_empresa()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=grupobodega.getid_empresa().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),GrupoBodegaConstantesFunciones.IDEMPRESA,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(grupobodega.getIsNew()||!grupobodega.getcodigo().equals(grupobodega.getGrupoBodegaOriginal().getcodigo()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(grupobodega.getGrupoBodegaOriginal().getcodigo()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=grupobodega.getGrupoBodegaOriginal().getcodigo();\r\n\t\t\t\t}\r\n\t\t\t\tif(grupobodega.getcodigo()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=grupobodega.getcodigo() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),GrupoBodegaConstantesFunciones.CODIGO,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(grupobodega.getIsNew()||!grupobodega.getnombre().equals(grupobodega.getGrupoBodegaOriginal().getnombre()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(grupobodega.getGrupoBodegaOriginal().getnombre()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=grupobodega.getGrupoBodegaOriginal().getnombre();\r\n\t\t\t\t}\r\n\t\t\t\tif(grupobodega.getnombre()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=grupobodega.getnombre() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),GrupoBodegaConstantesFunciones.NOMBRE,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(grupobodega.getIsNew()||!grupobodega.getruc().equals(grupobodega.getGrupoBodegaOriginal().getruc()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(grupobodega.getGrupoBodegaOriginal().getruc()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=grupobodega.getGrupoBodegaOriginal().getruc();\r\n\t\t\t\t}\r\n\t\t\t\tif(grupobodega.getruc()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=grupobodega.getruc() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),GrupoBodegaConstantesFunciones.RUC,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(grupobodega.getIsNew()||!grupobodega.getdireccion().equals(grupobodega.getGrupoBodegaOriginal().getdireccion()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(grupobodega.getGrupoBodegaOriginal().getdireccion()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=grupobodega.getGrupoBodegaOriginal().getdireccion();\r\n\t\t\t\t}\r\n\t\t\t\tif(grupobodega.getdireccion()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=grupobodega.getdireccion() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),GrupoBodegaConstantesFunciones.DIRECCION,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(grupobodega.getIsNew()||!grupobodega.gettelefono().equals(grupobodega.getGrupoBodegaOriginal().gettelefono()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(grupobodega.getGrupoBodegaOriginal().gettelefono()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=grupobodega.getGrupoBodegaOriginal().gettelefono();\r\n\t\t\t\t}\r\n\t\t\t\tif(grupobodega.gettelefono()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=grupobodega.gettelefono() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),GrupoBodegaConstantesFunciones.TELEFONO,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(grupobodega.getIsNew()||!grupobodega.getid_pais().equals(grupobodega.getGrupoBodegaOriginal().getid_pais()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(grupobodega.getGrupoBodegaOriginal().getid_pais()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=grupobodega.getGrupoBodegaOriginal().getid_pais().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(grupobodega.getid_pais()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=grupobodega.getid_pais().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),GrupoBodegaConstantesFunciones.IDPAIS,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(grupobodega.getIsNew()||!grupobodega.getid_ciudad().equals(grupobodega.getGrupoBodegaOriginal().getid_ciudad()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(grupobodega.getGrupoBodegaOriginal().getid_ciudad()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=grupobodega.getGrupoBodegaOriginal().getid_ciudad().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(grupobodega.getid_ciudad()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=grupobodega.getid_ciudad().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),GrupoBodegaConstantesFunciones.IDCIUDAD,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(grupobodega.getIsNew()||!grupobodega.getid_centro_costo().equals(grupobodega.getGrupoBodegaOriginal().getid_centro_costo()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(grupobodega.getGrupoBodegaOriginal().getid_centro_costo()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=grupobodega.getGrupoBodegaOriginal().getid_centro_costo().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(grupobodega.getid_centro_costo()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=grupobodega.getid_centro_costo().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),GrupoBodegaConstantesFunciones.IDCENTROCOSTO,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(grupobodega.getIsNew()||!grupobodega.getid_empleado().equals(grupobodega.getGrupoBodegaOriginal().getid_empleado()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(grupobodega.getGrupoBodegaOriginal().getid_empleado()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=grupobodega.getGrupoBodegaOriginal().getid_empleado().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(grupobodega.getid_empleado()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=grupobodega.getid_empleado().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),GrupoBodegaConstantesFunciones.IDEMPLEADO,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(grupobodega.getIsNew()||!grupobodega.getdescripcion().equals(grupobodega.getGrupoBodegaOriginal().getdescripcion()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(grupobodega.getGrupoBodegaOriginal().getdescripcion()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=grupobodega.getGrupoBodegaOriginal().getdescripcion();\r\n\t\t\t\t}\r\n\t\t\t\tif(grupobodega.getdescripcion()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=grupobodega.getdescripcion() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),GrupoBodegaConstantesFunciones.DESCRIPCION,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(grupobodega.getIsNew()||!grupobodega.getid_cuenta_contable_inventario().equals(grupobodega.getGrupoBodegaOriginal().getid_cuenta_contable_inventario()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(grupobodega.getGrupoBodegaOriginal().getid_cuenta_contable_inventario()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=grupobodega.getGrupoBodegaOriginal().getid_cuenta_contable_inventario().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(grupobodega.getid_cuenta_contable_inventario()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=grupobodega.getid_cuenta_contable_inventario().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),GrupoBodegaConstantesFunciones.IDCUENTACONTABLEINVENTARIO,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(grupobodega.getIsNew()||!grupobodega.getid_cuenta_contable_costo().equals(grupobodega.getGrupoBodegaOriginal().getid_cuenta_contable_costo()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(grupobodega.getGrupoBodegaOriginal().getid_cuenta_contable_costo()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=grupobodega.getGrupoBodegaOriginal().getid_cuenta_contable_costo().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(grupobodega.getid_cuenta_contable_costo()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=grupobodega.getid_cuenta_contable_costo().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),GrupoBodegaConstantesFunciones.IDCUENTACONTABLECOSTO,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(grupobodega.getIsNew()||!grupobodega.getid_cuenta_contable_venta().equals(grupobodega.getGrupoBodegaOriginal().getid_cuenta_contable_venta()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(grupobodega.getGrupoBodegaOriginal().getid_cuenta_contable_venta()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=grupobodega.getGrupoBodegaOriginal().getid_cuenta_contable_venta().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(grupobodega.getid_cuenta_contable_venta()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=grupobodega.getid_cuenta_contable_venta().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),GrupoBodegaConstantesFunciones.IDCUENTACONTABLEVENTA,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(grupobodega.getIsNew()||!grupobodega.getid_cuenta_contable_descuento().equals(grupobodega.getGrupoBodegaOriginal().getid_cuenta_contable_descuento()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(grupobodega.getGrupoBodegaOriginal().getid_cuenta_contable_descuento()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=grupobodega.getGrupoBodegaOriginal().getid_cuenta_contable_descuento().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(grupobodega.getid_cuenta_contable_descuento()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=grupobodega.getid_cuenta_contable_descuento().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),GrupoBodegaConstantesFunciones.IDCUENTACONTABLEDESCUENTO,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(grupobodega.getIsNew()||!grupobodega.getid_cuenta_contable_devolucion().equals(grupobodega.getGrupoBodegaOriginal().getid_cuenta_contable_devolucion()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(grupobodega.getGrupoBodegaOriginal().getid_cuenta_contable_devolucion()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=grupobodega.getGrupoBodegaOriginal().getid_cuenta_contable_devolucion().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(grupobodega.getid_cuenta_contable_devolucion()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=grupobodega.getid_cuenta_contable_devolucion().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),GrupoBodegaConstantesFunciones.IDCUENTACONTABLEDEVOLUCION,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(grupobodega.getIsNew()||!grupobodega.getid_cuenta_contable_debito().equals(grupobodega.getGrupoBodegaOriginal().getid_cuenta_contable_debito()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(grupobodega.getGrupoBodegaOriginal().getid_cuenta_contable_debito()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=grupobodega.getGrupoBodegaOriginal().getid_cuenta_contable_debito().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(grupobodega.getid_cuenta_contable_debito()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=grupobodega.getid_cuenta_contable_debito().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),GrupoBodegaConstantesFunciones.IDCUENTACONTABLEDEBITO,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(grupobodega.getIsNew()||!grupobodega.getid_cuenta_contable_credito().equals(grupobodega.getGrupoBodegaOriginal().getid_cuenta_contable_credito()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(grupobodega.getGrupoBodegaOriginal().getid_cuenta_contable_credito()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=grupobodega.getGrupoBodegaOriginal().getid_cuenta_contable_credito().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(grupobodega.getid_cuenta_contable_credito()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=grupobodega.getid_cuenta_contable_credito().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),GrupoBodegaConstantesFunciones.IDCUENTACONTABLECREDITO,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(grupobodega.getIsNew()||!grupobodega.getid_cuenta_contable_produccion().equals(grupobodega.getGrupoBodegaOriginal().getid_cuenta_contable_produccion()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(grupobodega.getGrupoBodegaOriginal().getid_cuenta_contable_produccion()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=grupobodega.getGrupoBodegaOriginal().getid_cuenta_contable_produccion().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(grupobodega.getid_cuenta_contable_produccion()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=grupobodega.getid_cuenta_contable_produccion().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),GrupoBodegaConstantesFunciones.IDCUENTACONTABLEPRODUCCION,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(grupobodega.getIsNew()||!grupobodega.getid_cuenta_contable_bonifica().equals(grupobodega.getGrupoBodegaOriginal().getid_cuenta_contable_bonifica()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(grupobodega.getGrupoBodegaOriginal().getid_cuenta_contable_bonifica()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=grupobodega.getGrupoBodegaOriginal().getid_cuenta_contable_bonifica().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(grupobodega.getid_cuenta_contable_bonifica()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=grupobodega.getid_cuenta_contable_bonifica().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),GrupoBodegaConstantesFunciones.IDCUENTACONTABLEBONIFICA,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(grupobodega.getIsNew()||!grupobodega.getid_cuenta_contable_costo_bonifica().equals(grupobodega.getGrupoBodegaOriginal().getid_cuenta_contable_costo_bonifica()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(grupobodega.getGrupoBodegaOriginal().getid_cuenta_contable_costo_bonifica()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=grupobodega.getGrupoBodegaOriginal().getid_cuenta_contable_costo_bonifica().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(grupobodega.getid_cuenta_contable_costo_bonifica()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=grupobodega.getid_cuenta_contable_costo_bonifica().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),GrupoBodegaConstantesFunciones.IDCUENTACONTABLECOSTOBONIFICA,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t}", "private void InicializaGrafo() {\n\t\t\n\t\tnumeroVertices = ruas.length + 1;\n\t\tgrafo = new Grafo(numeroVertices);\n\t\t\n\t\tfor (int i = 0; i < numeroVertices - 1; i++) {\n\t\t\t\n\t\t\tint u = ruas[i];\n\t\t\tint v = (i + 1);\n\t\t\t\n\t\t\tgrafo.AdicionaAresta(u, v);\n\t\t\t\n\t\t} // Fim for int i = 0\n\t\t\n\t}", "Position_ordonnee createPosition_ordonnee();", "public GenerarInformePlanificacion(Curso[] cursos, Apoderado[] apoderados) {\n this.apoderados = new PlanificacionApoderado[apoderados.length];\n for (int i = 0; i < apoderados.length; i++) {\n this.apoderados[i] = new PlanificacionApoderado();\n }\n\n int cantidadCurso = 0;\n\n for (int apTotal = 0; apTotal < this.apoderados.length; apTotal++) {\n this.apoderados[apTotal].nombre = apoderados[apTotal].getNombre();\n this.apoderados[apTotal].apellido = apoderados[apTotal].getApellido();\n this.apoderados[apTotal].run = apoderados[apTotal].getRun();\n for (int cantPupilos = 0; cantPupilos < apoderados[apTotal].getPupilos().size(); cantPupilos++) {\n\n PlanificacionAlumno alumnoAgregar = new PlanificacionAlumno();\n alumnoAgregar.nombre = apoderados[apTotal].getPupilos().get(cantPupilos).getNombre();\n alumnoAgregar.apellido = apoderados[apTotal].getPupilos().get(cantPupilos).getApellido();\n alumnoAgregar.run = apoderados[apTotal].getPupilos().get(cantPupilos).getRun();\n for (int j = 0; j < 16; j++) {\n for (int alum = 0; alum < 30; alum++) {\n if (cursos[j].getAlumnos()[alum].getRun().equals(apoderados[apTotal].getPupilos().get(cantPupilos).getRun())) {\n cantidadCurso = j;\n break;\n }\n }\n }\n for (int i = 0; i < 50; i++) {\n alumnoAgregar.plan[i] = cursos[cantidadCurso].getAsignaturas()[(int) i / 10].getPlan()[i % 10];\n }\n this.apoderados[apTotal].pupilos.add(alumnoAgregar);\n\n }\n }\n\n }", "@Override\n\tpublic void crearPoblacion() {\n\t\tif(this.terminales == null || this.funciones == null) {\n\t\t\tSystem.out.println(\"Error. Los terminales y las funciones tienen que estar inicializados\");\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tpoblacion = new ArrayList<>();\n\t\tfor(int i = 0; i < this.numIndividuos; i++) {\n\t\t\tIndividuo ind = new Individuo();\n\t\t\tind.crearIndividuoAleatorio(this.profundidad, this.terminales, this.funciones);\n\t\t\tthis.poblacion.add(ind);\n\t\t}\n\t}", "void setGruppo(Gruppo gruppo);", "public void mezclarPorGrado() {\n\t\tint i = 0;\n\t\tint inicio = 0;\n\t\tint fin = 0;\n\t\tint grado = 0;\n\t\tNodo aux;\n\t\tRandom r = new Random();\n\t\tboolean[] mezclado = new boolean[cantNodos];\n\n\t\twhile (i < cantNodos) {\n\t\t\tinicio = i;\n\t\t\tgrado = nodos.get(i).getGrado();\n\t\t\twhile (i < cantNodos && nodos.get(i).getGrado() == grado)\n\t\t\t\ti++;\n\n\t\t\tfin = i;\n\n\t\t\tfor (int k = inicio; k < (fin - inicio); k++) {\n\t\t\t\tint res = r.nextInt(fin - inicio);\n\t\t\t\tif (mezclado[k])\n\t\t\t\t\tres = r.nextInt(fin - inicio);\n\t\t\t\taux = nodos.get(k);\n\t\t\t\tmezclado[k] = true;\n\t\t\t\tnodos.set(k, nodos.get(inicio + res));\n\t\t\t\tnodos.set(inicio + res, aux);\n\t\t\t}\n\t\t}\n\t\tvalidarMezcla();\n\t}", "public void initialisationGrille(){\n for(int i = 0; i < this.grille.length ; i++)\n {\n for(int j = 0 ; j < this.grille[i].length;j++)\n {\n this.grille[i][j] = \"0\";\n this.grilleObjectif[i][j] = \"0\";\n }\n }\n }", "public void generTirarDados() {\n\r\n\t}", "private static void generaGrupos(PrintWriter salida_grupos, PrintWriter salida_musicos, PrintWriter salida_discos, PrintWriter salida_canciones){\r\n boolean flagm = true;//Indica si el nº de integrantes de a es 10 para contrarestar en la siguiente generación\r\n int a, b;\r\n String nombre = \"nombre\";\r\n String titulo = \"www.web\";\r\n String dominio = \".com\";\r\n \r\n for (long i = 1; i <= num_grupos; i++){\r\n //Calculamos el numero de integrantes que tendrán los dos grupos que se generarán por loop\r\n // si el anterior loop no se han superado los 10 integrantes en la suma de a y b,\r\n // se permitirá la generación de 10 integrantes en el grupo a\r\n // si en el anterior loop se han generado en uno de los grupos 10 integrantes\r\n // debemos reducir el numero para contrarestar en este loop,\r\n // de forma que resulte una generación aleatoria dentro de los límites pedidos\r\n if (flagm){\r\n a = rand.nextInt(10) + 1;\r\n b = 10 - a;\r\n } else {\r\n a = rand.nextInt(8) + 1;\r\n b = 9 - a;\r\n flagm = true;\r\n }\r\n if (b == 0){ b++; flagm = false;}\r\n \r\n //Grupo A del loop\r\n salida_grupos.println(cod_grupo + \",\" + nombre + cod_grupo + \",\"\r\n + genero.getGenero() + \",\" + rand.nextInt(paises.length)\r\n + \",\" + titulo + cod_grupo + dominio);\r\n generaMusicos(salida_musicos, cod_grupo, a);\r\n generaDiscos(salida_discos, salida_canciones, cod_grupo);\r\n \r\n //Aumento de las variables usadas\r\n i++; cod_grupo++;\r\n //Grupo B del loop\r\n salida_grupos.println(cod_grupo + \",\" + nombre + cod_grupo + \",\"\r\n + genero.getGenero() + \",\" + rand.nextInt(paises.length)\r\n + \",\" + titulo + cod_grupo + dominio);\r\n generaMusicos(salida_musicos, cod_grupo, b);\r\n generaDiscos(salida_discos, salida_canciones, cod_grupo);\r\n \r\n cod_grupo++;\r\n }\r\n }", "private void creaModuloMem() {\n /* variabili e costanti locali di lavoro */\n ArrayList<Campo> campi = new ArrayList<Campo>();\n ModuloRisultati modulo;\n Campo campo;\n\n try { // prova ad eseguire il codice\n\n campo = CampoFactory.intero(Campi.Ris.codicePiatto.getNome());\n campi.add(campo);\n\n campo = CampoFactory.testo(Campi.Ris.nomePiatto.getNome());\n campo.setVisibileVistaDefault();\n campo.setTitoloColonna(\"piatto\");\n campo.setToolTipLista(\"nome del piatto\");\n campo.decora()\n .etichetta(\"nome del piatto\"); // le etichette servono per il dialogo ricerca\n campo.setLarghezza(250);\n campi.add(campo);\n\n campo = CampoFactory.testo(Campi.Ris.categoria.getNome());\n campo.setVisibileVistaDefault();\n campo.setTitoloColonna(\"categoria\");\n campo.setToolTipLista(\"categoria del piatto\");\n campo.setLarghezza(80);\n campi.add(campo);\n\n campo = CampoFactory.intero(Campi.Ris.quanteVolte.getNome());\n campo.setVisibileVistaDefault();\n campo.setLarghezza(80);\n campo.setTitoloColonna(\"quante volte\");\n campo.setToolTipLista(\n \"quante volte questo piatto è stato offerto nel periodo analizzato\");\n campo.decora().etichetta(\"quante volte\");\n campi.add(campo);\n\n campo = CampoFactory.intero(Campi.Ris.quantiCoperti.getNome());\n campo.setVisibileVistaDefault();\n campo.setTitoloColonna(\"coperti\");\n campo.setToolTipLista(\"numero di coperti che avrebbero potuto ordinare\");\n campo.decora().etichetta(\"n. coperti\");\n campo.setLarghezza(80);\n campi.add(campo);\n\n campo = CampoFactory.intero(Campi.Ris.quanteComande.getNome());\n campo.setVisibileVistaDefault();\n campo.setTitoloColonna(\"comande\");\n campo.setToolTipLista(\"numero di comande effettive\");\n campo.decora().etichetta(\"n. comande\");\n campo.setLarghezza(80);\n campo.setTotalizzabile(true);\n campi.add(campo);\n\n campo = CampoFactory.percentuale(Campi.Ris.gradimento.getNome());\n campo.setVisibileVistaDefault();\n campo.setTitoloColonna(\"gradimento\");\n campo.setToolTipLista(\n \"percentuale di gradimento (è il 100% se tutti i coperti potenziali lo hanno ordinato)\");\n campo.decora().etichetta(\"% gradimento\");\n campo.setLarghezza(80);\n campi.add(campo);\n\n modulo = new ModuloRisultati(campi);\n setModuloRisultati(modulo);\n\n\n } catch (Exception unErrore) { // intercetta l'errore\n Errore.crea(unErrore);\n } // fine del blocco try-catch\n\n }", "public void llenadoDeCombos() {\n PerfilDAO asignaciondao = new PerfilDAO();\n List<Perfil> asignacion = asignaciondao.listar();\n cbox_perfiles.addItem(\"\");\n for (int i = 0; i < asignacion.size(); i++) {\n cbox_perfiles.addItem(Integer.toString(asignacion.get(i).getPk_id_perfil()));\n }\n \n }", "Dimension_hauteur createDimension_hauteur();", "public void popoulaRepositorioUsuarios(){\n Usuario usuario1 = new Usuario();\n usuario1.setUsername(\"EliSilva\");\n usuario1.setEmail(\"[email protected]\");\n usuario1.setSenha(\"123\");\n usuario1.setNome(\"Elineide Silva\");\n usuario1.setCPF(\"12345678\");\n\n\n\n Usuario usuario2 = new Usuario();\n usuario2.setUsername(\"gustavo\");\n usuario2.setEmail(\"[email protected]\");\n usuario2.setSenha(\"12345\");\n usuario2.setNome(\"Gustavo\");\n usuario2.setCPF(\"666\");\n\n Usuario usuario3 = new Usuario();\n usuario1.setUsername(\"peixe\");\n usuario1.setEmail(\"[email protected]\");\n usuario1.setSenha(\"1111\");\n usuario1.setNome(\"quem dera ser um peixe\");\n usuario1.setCPF(\"1111\");\n\n Usuario usuario4 = new Usuario();\n usuario1.setUsername(\"segundo\");\n usuario1.setEmail(\"[email protected]\");\n usuario1.setSenha(\"123\");\n usuario1.setNome(\"Elineide Silva\");\n usuario1.setCPF(\"12345678\");\n\n inserir(usuario1);\n inserir(usuario2);\n inserir(usuario3);\n inserir(usuario4);\n }", "public static void main(String[] args) { \n /* Grafo grafo = new Grafo();\n \n No no;\n no = new No(\"1\");//0\n grafo.addNo(no);\n no = new No(\"2\");//1\n grafo.addNo(no);\n no = new No(\"3\");//2\n grafo.addNo(no);\n no = new No(\"4\");//3\n grafo.addNo(no);\n no = new No(\"5\");//4\n grafo.addNo(no);\n no = new No(\"6\");//5\n grafo.addNo(no);\n no = new No(\"7\");//6\n grafo.addNo(no);\n \n //Cria as arestas do nó\n \n Aresta.inserirAresta(grafo.getNo(0), grafo.getNo(1), 2);\n Aresta.inserirAresta(grafo.getNo(0), grafo.getNo(2), 5);\n Aresta.inserirAresta(grafo.getNo(0), grafo.getNo(3), 4);\n Aresta.inserirAresta(grafo.getNo(1), grafo.getNo(2), 2);\n Aresta.inserirAresta(grafo.getNo(1), grafo.getNo(4), 7);\n Aresta.inserirAresta(grafo.getNo(2), grafo.getNo(3), 1);\n Aresta.inserirAresta(grafo.getNo(2), grafo.getNo(4), 4);\n Aresta.inserirAresta(grafo.getNo(2), grafo.getNo(5), 3);\n Aresta.inserirAresta(grafo.getNo(3), grafo.getNo(5), 4);\n Aresta.inserirAresta(grafo.getNo(4), grafo.getNo(5), 1);\n Aresta.inserirAresta(grafo.getNo(4), grafo.getNo(6), 5);\n Aresta.inserirAresta(grafo.getNo(5), grafo.getNo(6), 7);\n \n No no;\n no = new No(\"SF\");//0\n grafo.addNo(no);\n no = new No(\"LA\");//1\n grafo.addNo(no);\n no = new No(\"D\");//2\n grafo.addNo(no);\n no = new No(\"C\");//3\n grafo.addNo(no);\n no = new No(\"A\");//4\n grafo.addNo(no);\n no = new No(\"B\");//5\n grafo.addNo(no);\n no = new No(\"NY\");//6\n grafo.addNo(no);\n no = new No(\"M\");//7\n grafo.addNo(no);\n \n \n //Cria as arestas do nó\n Aresta.inserirAresta(grafo.getNo(0), grafo.getNo(1), 39);\n Aresta.inserirAresta(grafo.getNo(0), grafo.getNo(2), 89);\n Aresta.inserirAresta(grafo.getNo(0), grafo.getNo(3), 120);\n Aresta.inserirAresta(grafo.getNo(0), grafo.getNo(6), 210);\n Aresta.inserirAresta(grafo.getNo(1), grafo.getNo(2), 50);\n Aresta.inserirAresta(grafo.getNo(1), grafo.getNo(6), 170);\n Aresta.inserirAresta(grafo.getNo(2), grafo.getNo(3), 65);\n Aresta.inserirAresta(grafo.getNo(3), grafo.getNo(5), 79);\n Aresta.inserirAresta(grafo.getNo(3), grafo.getNo(6), 59);\n Aresta.inserirAresta(grafo.getNo(3), grafo.getNo(4), 99);\n Aresta.inserirAresta(grafo.getNo(4), grafo.getNo(6), 80);\n Aresta.inserirAresta(grafo.getNo(4), grafo.getNo(7), 70);\n Aresta.inserirAresta(grafo.getNo(5), grafo.getNo(6), 20);\n Aresta.inserirAresta(grafo.getNo(6), grafo.getNo(7), 66);*/\n \n Grafo grafo = GrafoAleatorioKruskal.gerar(1000, 10, 10, 100);\n //Gera a arvore geradora com custo minimo\n grafo.kruskal();\n \n //TESTE\n int teste = grafo.getNo(0).getConjunto();\n boolean answer = true;\n for(No n : grafo.getNos()){\n if (teste!= n.getConjunto()){\n answer = false;\n }\n }\n if(answer){\n System.out.println(\"Todos os nós pertecem ao mesmo conjunto\");\n }\n else{\n System.out.println(\"Deu erro\");\n }\n }", "ParqueaderoEntidad agregar(ParqueaderoEntidad parqueadero);", "public void criaGrupo() {\n\t\tThread threadMain = Thread.currentThread(); // determina grupo raiz\n\t\tThreadGroup grupoRaiz = threadMain.getThreadGroup().getParent();\n\t\tThreadGroup newGroup = new ThreadGroup(grupoRaiz, \"Extra-\"\n\t\t\t\t+ gruposCriados++);\n\t\tnewGroup.setDaemon(true); // ajusta auto-remocao do grupo\n\t\tint quant = (int) (Math.random() * 10);\n\t\tfor (int i = 0; i < quant; i++) { // adiciona EmptyThreads ao grupo\n\t\t\tnew EmptyThread(newGroup, \"EmptyThread-\" + i).start();\n\t\t}\n\t\tbRefresh.doClick();\n\t}", "public void crearAtracciones(){\n \n //Añado atracciones tipo A\n for (int i = 0; i < 4 ; i++){\n Atraccion atraccion = new A();\n atracciones.add(atraccion);\n }\n //Añado atracciones tipo B\n for (int i = 0; i < 6 ; i++){\n Atraccion atraccion = new B();\n atracciones.add(atraccion);\n }\n //Añado atracciones tipo C\n for (int i = 0; i < 4 ; i++){\n Atraccion atraccion = new C();\n atracciones.add(atraccion);\n }\n //Añado atracciones tipo D\n for (int i = 0; i < 3 ; i++){\n Atraccion atraccion = new D();\n atracciones.add(atraccion);\n }\n //Añado atracciones tipo E\n for (int i = 0; i < 7 ; i++){\n Atraccion atraccion = new E();\n atracciones.add(atraccion);\n }\n \n }", "@SuppressWarnings(\"empty-statement\")\n private void registrarBActionPerformed(java.awt.event.ActionEvent evt) {\n procesos.clear();\n numeroProcesos=Integer.parseInt(numeroProcesosT.getText());\n int op1,op2,op,tiempoMaximo,lote;\n int id=0;\n String [] operadores= {\"+\",\"/\",\"*\",\"%\",\"potencia\",\"sqrt\",\"-\"};\n \n \n lote=numeroProcesos/4;\n \n if(numeroProcesos%4!=0){\n lote++;\n }\n \n lotesL.setText(Integer.toString(lote));\n procesosL.setText(Integer.toString(numeroProcesos));\n \n \n for(int i=0; i<numeroProcesos; i++){\n \n op1=(int) (Math.random()*25+1);\n op=(int) (Math.random()*6+0);\n op2=(int) (Math.random()*25+1);\n tiempoMaximo=(int) (Math.random()*20+1);\n \n procesos.add(new Procesos(\"\",\n Integer.toString(op1),\n operadores[op],\n Integer.toString(op2),\n \"\",\n Integer.toString(id),\n Integer.toString(tiempoMaximo),\n \"\",\"0\"\n ));\n \n \n id++;\n }\n \n numeroProcesosT.setText(\"\");\n \n \n \n \n \n }", "@Override\r\n\tpublic void crearVehiculo() {\n\t\t\r\n\t}", "public void ordenaPontos(){\r\n\t\tloja.ordenaPontos();\r\n\t}", "private CapitoloUscitaGestione ricercaCapitoloUscitaGestione() {\n\t\tRicercaPuntualeCapitoloUGest ricercaPuntualeCapitoloUGest = new RicercaPuntualeCapitoloUGest();\n\t\tricercaPuntualeCapitoloUGest.setAnnoEsercizio(req.getCapitoloUPrev().getAnnoCapitolo());\n\t\tricercaPuntualeCapitoloUGest.setAnnoCapitolo(req.getCapitoloUPrev().getAnnoCapitolo());\n\t\tricercaPuntualeCapitoloUGest.setNumeroCapitolo(req.getCapitoloUPrev().getNumeroCapitolo());\n\t\tricercaPuntualeCapitoloUGest.setNumeroArticolo(req.getCapitoloUPrev().getNumeroArticolo());\n\t\tricercaPuntualeCapitoloUGest.setNumeroUEB(req.getCapitoloUPrev().getNumeroUEB());\n\t\tricercaPuntualeCapitoloUGest.setStatoOperativoElementoDiBilancio(req.getCapitoloUPrev().getStatoOperativoElementoDiBilancio());\n\n\t\tRicercaPuntualeCapitoloUscitaGestione ricercaPuntualeCapitoloUscitaGestione = new RicercaPuntualeCapitoloUscitaGestione();\n\t\tricercaPuntualeCapitoloUscitaGestione.setEnte(req.getEnte());\n\t\tricercaPuntualeCapitoloUscitaGestione.setRichiedente(req.getRichiedente());\n\t\tricercaPuntualeCapitoloUscitaGestione.setRicercaPuntualeCapitoloUGest(ricercaPuntualeCapitoloUGest);\n\t\tricercaPuntualeCapitoloUscitaGestione.setDataOra(new Date());\n\t\t\t\t\t\n\t\tRicercaPuntualeCapitoloUscitaGestioneResponse ricercaPuntualeCapitoloUscitaGestioneResponse = executeExternalService(ricercaPuntualeCapitoloUscitaGestioneService,ricercaPuntualeCapitoloUscitaGestione);\n\t\treturn ricercaPuntualeCapitoloUscitaGestioneResponse.getCapitoloUscitaGestione();\n\t}", "Groepen maakGroepsindeling(Groepen aanwezigheidsGroepen);", "public static void registrarOperacionPrestamo(Usuario autor, long idPrestamo, Operacion operacion) throws DaoException {\r\n String msg = null;\r\n Prestamo prestamo = PrestamoDao.findPrestamoById(idPrestamo, null);\r\n Conexion con = null;\r\n try {\r\n HashMap<String, String> infoPrestamo;\r\n HashMap<String, Object> infoOperacion = new HashMap<String, Object>();\r\n infoOperacion.put(\"ID\", Consultas.darNumFilas(Operacion.NOMBRE_TABLA)+1);\r\n infoOperacion.put(\"FECHA\", Consultas.getCurrentDate());\r\n infoOperacion.put(\"TIPO\", operacion.getTipo());\r\n infoOperacion.put(\"ID_AUTOR\", autor.getId());\r\n\r\n \r\n con=new Conexion();\r\n switch (operacion.getTipo()) {\r\n case Operacion.PAGAR_CUOTA:\r\n PrestamoDao.registrarPagoCuota(prestamo,con);\r\n infoOperacion.put(\"MONTO\", prestamo.getValorCuota());\r\n infoOperacion.put(\"DESTINO\", \"0\");\r\n infoOperacion.put(\"METODO\", operacion.getMetodo());\r\n infoOperacion.put(\"ID_PRESTAMO\", prestamo.getId()); \r\n \r\n break;\r\n case Operacion.PAGAR_CUOTA_EXTRAORDINARIA:\r\n \r\n //solo gasta lo necesario par apagar el prestamo\r\n if (operacion.getMonto()>prestamo.getCantidadRestante())\r\n {\r\n throw new DaoException(\"La cuota supera lo que debe\");\r\n }\r\n \r\n infoOperacion.put(\"MONTO\", operacion.getMonto());\r\n infoOperacion.put(\"DESTINO\",\"0\" );\r\n infoOperacion.put(\"METODO\", operacion.getMetodo());\r\n infoOperacion.put(\"ID_PRESTAMO\", prestamo.getId()); \r\n PrestamoDao.registrarPagoCuotaExtraordinaria(prestamo,operacion,con);\r\n break;\r\n case Operacion.CERRAR:\r\n if (prestamo.getCantidadRestante() != 0) {\r\n throw new DaoException( \"El prestamo no se ha pagado completamente\");\r\n } else {\r\n \r\n Consultas.insertar(null, infoOperacion, Operacion.infoColumnas, Operacion.NOMBRE_TABLA);\r\n String sentenciaCerrar = \"UPDATE PRESTAMOS SET ESTADO='CERRADO' WHERE ID=\" + prestamo.getId();\r\n con.getConexion().prepareStatement(sentenciaCerrar).executeUpdate();\r\n \r\n }\r\n \r\n }\r\n \r\n Consultas.insertar(con, infoOperacion, Operacion.infoColumnas, Operacion.NOMBRE_TABLA);\r\n } catch (SQLException ex) {\r\n Logger.getLogger(OperacionDao.class.getName()).log(Level.SEVERE, null, ex); \r\n con.rollback();\r\n throw new DaoException();\r\n }\r\n\r\n \r\n }", "public figuras(int opcion) {\r\n this.opcion = opcion;\r\n // this.aleatorio = aleatorio;\r\n }", "public void crearDepartamento(String nombredep, String num, int nvJefe, int horIn, int minIn, int horCi, int minCi) {\r\n\t\t// TODO Auto-generated method stub by carlos Sánchez\r\n\t\t//Agustin deberia devolverme algo q me indique si hay un fallo alcrearlo cual es\r\n\t\t//hazlo como mas facil te sea.Yo no se cuantos distintos puede haber.\r\n\t\r\n\t//para añadir el Dpto en la BBDD no se necesita el Nombre del Jefe\r\n\t//pero si su numero de vendedor (por eso lo he puesto como int) que forma parte de la PK \r\n\t\t\r\n\t\tint n= Integer.parseInt(num);\r\n\t\tString horaapertura=aplicacion.utilidades.Util.horaminutosAString(horIn, minIn);\r\n\t\tString horacierre=aplicacion.utilidades.Util.horaminutosAString(horCi, minCi);\r\n\t\tTime thI= Time.valueOf(horaapertura);\r\n\t\tTime thC=Time.valueOf(horacierre);\r\n\t\tthis.controlador.insertDepartamentoPruebas(nombredep, nvJefe,thI,thC); //tabla DEPARTAMENTO\r\n\t\tthis.controlador.insertNumerosDepartamento(n, nombredep); //tabla NumerosDEPARTAMENTOs\r\n\t\tthis.controlador.insertDepartamentoUsuario(nvJefe, nombredep); //tabla DepartamentoUsuario\r\n\r\n\t\t//insertamos en la cache\r\n\t\t//Departamento d=new Departamento(nombredep,Integer.parseInt(num),getEmpleado(nvJefe),null,null);\r\n\t\t//departamentosJefe.add(d);\r\n\t\t/*ArrayList<Object> aux=new ArrayList<Object>();\r\n\t\taux.add(nombredep);\r\n\t\taux.add(n);\r\n\t\taux.add(nvJefe);\r\n\t\tinsertCache(aux,\"crearDepartamento\");*///no quitar el parseInt\r\n\t}", "@Override\r\n\tprotected void agregarObjeto() {\r\n\t\t// opcion 1 es agregar nuevo justificativo\r\n\t\tthis.setTitle(\"PROCESOS - PERMISOS INDIVIDUALES (AGREGANDO)\");\r\n\t\tthis.opcion = 1;\r\n\t\tactivarFormulario();\r\n\t\tlimpiarTabla();\r\n\t\tthis.panelBotones.habilitar();\r\n\t}", "private static void generaGruposTocanConciertos(PrintWriter salida_grupos_tocan_conciertos){\r\n long i;\r\n cod_concierto = 0;\r\n \r\n for (i = 0; i < num_grupos; i++){\r\n for (int j = 0; j < 10; j++){//todos los grupos darán 10 conciertos\r\n if (cod_concierto == max_conciertos) cod_concierto = 0;\r\n salida_grupos_tocan_conciertos.println(i + \",\" + cod_concierto);\r\n cod_concierto++;\r\n }\r\n }\r\n }", "private void cargaComboBoxTipoGrano() {\n Session session = Conexion.getSessionFactory().getCurrentSession();\n Transaction tx = session.beginTransaction();\n\n Query query = session.createQuery(\"SELECT p FROM TipoGranoEntity p\");\n java.util.List<TipoGranoEntity> listaTipoGranoEntity = query.list();\n\n Vector<String> miVectorTipoLaboreo = new Vector<>();\n for (TipoGranoEntity tipoGrano : listaTipoGranoEntity) {\n miVectorTipoLaboreo.add(tipoGrano.getTgrNombre());\n cbxSemillas.addItem(tipoGrano);\n\n// cboCampania.setSelectedItem(null);\n }\n tx.rollback();\n }", "public static void instanciarCreencias() {\n\t\tfor(int i =0; i < GestorPartida.getContJugadores(); i++) {\n\t\t\t\n\t\t\tGestorPartida.jugadores[i].setCreencias(new Creencias(GestorPartida.jugadores, GestorPartida.objetoJugador, GestorPartida.objetoSala, i)); \n\t\t}\n\t}", "ProjetoRN createProjetoRN();", "public void agregarMarcayPeso() {\n int id_producto = Integer.parseInt(TextCodProduct.getText());\n String Descripcion_prod = TextDescripcion.getText();\n double Costo_Venta_prod = Double.parseDouble(TextCostoproduc.getText());\n double Precio_prod = Double.parseDouble(TextPrecio.getText());\n int Codigo_proveedor = ((Proveedor) LitsadeProovedores.getSelectedItem()).getIdProveedor();\n double ivaproducto = Double.parseDouble(txtIvap.getText());\n Object tipodelproducto = jcboxTipoProducto.getSelectedItem();\n\n //Captura el tipo del producto\n //Se crea un nuevo objeto de tipo producto para hacer el llamado al decorador\n Producto p;\n //Switch para Ingresar al tipo de producto deseado \n switch ((String) tipodelproducto) {\n case \"Alimentos\":\n log(String.valueOf(tipodelproducto));\n //Creamos un nuevo producto de tipo en este caso comida y le enviamois\n //el id y el tipo de producto\n p = new Producto_tipo_comida(id_producto, (String) tipodelproducto);\n //el producto p , ahora tendra una adicion de marca del producto\n //ingreso\n p = new Marca_del_producto(p, id_producto, Descripcion_prod, Costo_Venta_prod, Precio_prod, ivaproducto, Costo_Venta_prod);\n p.getMarca_product();\n p.getPeso_product();\n //ingreso\n break;\n case \"Ropa\":\n p = new Producto_tipo_ropa(id_producto, (String) tipodelproducto);\n p = new Marca_del_producto(p, id_producto, Descripcion_prod, Costo_Venta_prod, Precio_prod, ivaproducto, Costo_Venta_prod);\n p.getMarca_product();\n p.getPeso_product();\n\n break;\n\n case \"Automotor\":\n p = new Producto_tipo_automotor(id_producto, (String) tipodelproducto);\n p = new Marca_del_producto(p, id_producto, Descripcion_prod, Costo_Venta_prod, Precio_prod, ivaproducto, Costo_Venta_prod);\n p.getMarca_product();\n p.getPeso_product();\n\n break;\n\n case \"Electronico\":\n p = new Producto_tipo_electronico(id_producto, (String) tipodelproducto);\n p = new Marca_del_producto(p, id_producto, Descripcion_prod, Costo_Venta_prod, Precio_prod, ivaproducto, Costo_Venta_prod);\n p.getMarca_product();\n p.getPeso_product();\n\n break;\n }\n\n }", "public void create() {\r\n for(int i=0; i< 50; i++){\r\n long id = (new Date()).getTime();\r\n Benefit newBeneficio = new Benefit();\r\n newBeneficio.setId(\"\"+id); \r\n newBeneficio.setCategory(\"almacenes \"+id);\r\n newBeneficio.setDescription(\"description \"+id);\r\n newBeneficio.setDiscount(i);\r\n newBeneficio.setStart_date(\"start_date \"+id);\r\n newBeneficio.setEnd_date(\"end_date \"+id);\r\n newBeneficio.setReview(\"review \"+id);\r\n newBeneficio.setTitle(\"title \"+id);\r\n newBeneficio.setLogo(\"logo \"+id);\r\n newBeneficio.setTwitter(\"twitter \"+id);\r\n newBeneficio.setFacebook(\"facebook \"+id);\r\n newBeneficio.setUrl(\"url \"+ id);\r\n \r\n Address address = new Address();\r\n address.setCity(\"Santiago \"+ id);\r\n address.setCountry(\"Santiago \"+ id);\r\n address.setLine_1(\"Linea 1 \"+ id);\r\n address.setLine_2(\"Linea 2 \"+ id);\r\n address.setLine_3(\"Linea 3 \"+ id);\r\n address.setPostcode(\"\" + id);\r\n address.setState(\"Region Metropolitana \"+ id);\r\n \r\n Location location = new Location();\r\n double[] cordenadas = {-77.99283,-33.9980};\r\n location.setCoordinates(cordenadas);\r\n location.setDistance(5.445);\r\n location.setType(\"Point\");\r\n \r\n Lobby lobby = new Lobby();\r\n lobby.setHours(\"HORA \"+ + id);\r\n \r\n newBeneficio = service.persist(newBeneficio);\r\n LOGGER.info(newBeneficio.toString());\r\n }\r\n }", "public Giocatore(String nome, Casella c, Pedina p) {\r\n\t\tsetNome(nome);\r\n\t\tsetPedina(p);\r\n\t\tcasella = c;\r\n\t\tdado = new Dado();\r\n\t\t\r\n\t\tpunt_carta = punteggioIniziale;\r\n\t\tpunt_plastica = punteggioIniziale;\r\n\t\tpunt_vetro = punteggioIniziale;\r\n\t\tpunt_metallo = punteggioIniziale;\r\n\t\tpunt_indifferenziata = punteggioIniziale;\r\n\t\tpunt_organica = punteggioIniziale;\r\n\t}", "void crearCampania(GestionPrecioDTO campania);", "public static void main(String p, String nom, String groupe) {\n\t\tint nbTours = Constantes.NB_TOURS_PERSONNAGE_DEFAUT;\n\t\t\n\t\t// init des arguments\n\t\tint port = Constantes.PORT_DEFAUT;\n\t\tString ipArene = Constantes.IP_DEFAUT;\n\t\t\n\t\t\n\t\t// creation du logger\n\t\tLoggerProjet logger = null;\t\t\n\t\t\n\t\ttry {\n\t\t\tlogger = new LoggerProjet(true, \"personnage_\" + nom + groupe);\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t\tSystem.exit(ErreurLancement.suivant);\n\t\t}\n\t\t\n\t\t// lancement du serveur\n\t\ttry {\n\t\t\tString ipConsole = InetAddress.getLocalHost().getHostAddress();\n\t\t\t\n\t\t\tlogger.info(\"Lanceur\", \"Creation du personnage...\");\n\t\t\t\n\t\t\t// caracteristiques du personnage\n\t\t\tHashMap<Caracteristique, Integer> caracts = new HashMap<Caracteristique, Integer>();\n\t\t\t// seule la force n'a pas sa valeur par defaut (exemple)\n\t\t\tif (p==\"Crevard\"){\n\t\t\t\tcaracts.put(Caracteristique.FORCE, 5);\n\t\t\t} /*else \n\t\t\tcaracts.put(Caracteristique.FORCE, \n\t\t\t\t\tCalculs.valeurCaracAleatoire(Caracteristique.FORCE)); */\n\t\t\t\n\t\t\tPoint position = Calculs.positionAleatoireArene();\n\t\t\t\n\t\t\tswitch (p){\n\t\t\tcase \"Pochtron\":\n\t\t\t\tnew Pochtron(ipArene, port, ipConsole, nom, groupe, caracts, nbTours, position, logger);\n\t\t\t\tbreak;\n\t\t\tcase \"Crevard\":\n\t\t\t\tnew Crevard(ipArene, port, ipConsole, nom, groupe, caracts, nbTours, position, logger);\n\t\t\t\tbreak;\n\t\t\tcase \"Intello\":\n\t\t\t\tnew Intello(ipArene, port, ipConsole, nom, groupe, caracts, nbTours, position, logger);\n\t\t\t\tbreak;\n\t\t\tcase \"Kamikaze\":\n\t\t\t\tnew Kamikaze(ipArene, port, ipConsole, nom, groupe, caracts, nbTours, position, logger);\n\t\t\t\tbreak;\n\t\t\tcase \"Fuyard\":\n\t\t\t\tnew Fuyard(ipArene, port, ipConsole, nom, groupe, caracts, nbTours, position, logger);\n\t\t\t\tbreak;\n\t\t\tcase \"Soigneur\":\n\t\t\t\tnew Soigneur(ipArene, port, ipConsole, nom, groupe, caracts, nbTours, position, logger);\n\t\t\t\tbreak;\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\tlogger.info(\"Lanceur\", \"Creation du personnage reussie\");\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\tlogger.severe(\"Lanceur\", \"Erreur lancement :\\n\" + e.getCause());\n\t\t\te.printStackTrace();\n\t\t\tSystem.exit(ErreurLancement.suivant);\n\t\t}\n\t}", "public HashMap<String, String> cargarValoresParametrosGeneralesPlantillasGrupos(){\n\t\tHashMap<String, String> valoresParametros = new HashMap<String, String>();\n//\t\ttry {\n\t\n//\t\tString cargofirmantepr =parametrosGeneralesService.getParametroGeneralByCodigo(\"CARPR\").getValor();\n//\t\tString nombrefirmantepr =parametrosGeneralesService.getParametroGeneralByCodigo(\"NOMBPR\").getValor();\n//\t\tString cargofirmanteresol =parametrosGeneralesService.getParametroGeneralByCodigo(\"CARRESOL\").getValor();\n//\t\tString nombrefirmanteresol =parametrosGeneralesService.getParametroGeneralByCodigo(\"NOMBRESOL\").getValor();\n//\t\tvaloresParametros.put(\"CARPR\", cargofirmantepr);\n//\t\tvaloresParametros.put(\"NOMBPR\", nombrefirmantepr);\n//\t\tvaloresParametros.put(\"CARRESOL\", cargofirmanteresol);\n//\t\tvaloresParametros.put(\"NOMBRESOL\", nombrefirmanteresol);\n//\t\t} catch (PersistenciaException e) {\n//\t\t\t// TODO Auto-generated catch block\n//\t\t\te.printStackTrace();\n//\t\t}\n\t\t\n\t\treturn valoresParametros;\n\t}", "ParqueaderoEntidad agregar(String nombre);", "public RespuestaBD crearRegistro(int codigoFlujo, int secuencia, int servicioInicio, int accion, int codigoEstado, int servicioDestino, String nombreProcedimiento, String correoDestino, String enviar, String mismoProveedor, String mismoCliente, String estado, int caracteristica, int caracteristicaValor, int caracteristicaCorreo, String metodoSeleccionProveedor, String indCorreoCliente, String indHermana, String indHermanaCerrada, String indfuncionario, String usuarioInsercion) {\n/* 342 */ RespuestaBD rta = new RespuestaBD();\n/* */ \n/* 344 */ int elSiguiente = siguienteRegistro(codigoFlujo);\n/* 345 */ if (elSiguiente == 0) {\n/* 346 */ rta.setMensaje(\"Generando secuencia\");\n/* 347 */ return rta;\n/* */ } \n/* */ \n/* */ try {\n/* 351 */ String s = \"insert into wkf_detalle(codigo_flujo,secuencia,servicio_inicio,accion,codigo_estado,servicio_destino,nombre_procedimiento,correo_destino,enviar_solicitud,ind_mismo_proveedor,ind_mismo_cliente,estado,caracteristica,valor_caracteristica,caracteristica_correo,metodo_seleccion_proveedor,ind_correo_clientes,enviar_hermana,enviar_si_hermana_cerrada,ind_cliente_inicial,usuario_insercion,fecha_insercion) values (\" + codigoFlujo + \",\" + \"\" + elSiguiente + \",\" + \"\" + servicioInicio + \",\" + \"\" + accion + \",\" + \"\" + codigoEstado + \",\" + \"\" + ((servicioDestino == 0) ? \"null\" : Integer.valueOf(servicioDestino)) + \",\" + \"'\" + nombreProcedimiento + \"',\" + \"'\" + correoDestino + \"',\" + \"'\" + enviar + \"',\" + \"'\" + mismoProveedor + \"',\" + \"'\" + mismoCliente + \"',\" + \"'\" + estado + \"',\" + ((caracteristica == 0) ? \"null\" : (\"\" + caracteristica)) + \",\" + ((caracteristicaValor == 0) ? \"null\" : (\"\" + caracteristicaValor)) + \",\" + ((caracteristicaCorreo == 0) ? \"null\" : (\"\" + caracteristicaCorreo)) + \",\" + ((metodoSeleccionProveedor.length() == 0) ? \"null\" : (\"'\" + metodoSeleccionProveedor + \"'\")) + \",\" + ((indCorreoCliente.length() == 0) ? \"null\" : (\"'\" + indCorreoCliente + \"'\")) + \",\" + ((indHermana.length() == 0) ? \"null\" : (\"'\" + indHermana + \"'\")) + \",\" + ((indHermanaCerrada.length() == 0) ? \"null\" : (\"'\" + indHermanaCerrada + \"'\")) + \",\" + ((indfuncionario.length() == 0) ? \"null\" : (\"'\" + indfuncionario + \"'\")) + \",\" + \"'\" + usuarioInsercion + \"',\" + \"\" + Utilidades.getFechaBD() + \"\" + \")\";\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* 398 */ rta = this.dat.executeUpdate2(s);\n/* 399 */ rta.setSecuencia(elSiguiente);\n/* */ }\n/* 401 */ catch (Exception e) {\n/* 402 */ e.printStackTrace();\n/* 403 */ Utilidades.writeError(\"%FlujoDetalleDAO:crearRegistro \", e);\n/* 404 */ rta.setMensaje(e.getMessage());\n/* */ } \n/* 406 */ return rta;\n/* */ }", "public void crearPersona(){\r\n persona = new Persona();\r\n persona.setNombre(\"Jose\");\r\n persona.setCedula(12345678);\r\n }", "private void populaDiasTreinoCat()\n {\n DiasTreinoCat dias1 = new DiasTreinoCat(\"1 vez por semana\", 1);\n diasTreinoCatDAO.insert(dias1);\n DiasTreinoCat dias2 = new DiasTreinoCat(\"2 vez por semana\", 2);\n diasTreinoCatDAO.insert(dias2);\n DiasTreinoCat dias3 = new DiasTreinoCat(\"3 vez por semana\", 3);\n diasTreinoCatDAO.insert(dias3);\n DiasTreinoCat dias4 = new DiasTreinoCat(\"4 vez por semana\", 4);\n diasTreinoCatDAO.insert(dias4);\n DiasTreinoCat dias5 = new DiasTreinoCat(\"5 vez por semana\", 5);\n diasTreinoCatDAO.insert(dias5);\n DiasTreinoCat dias6 = new DiasTreinoCat(\"6 vez por semana\", 6);\n diasTreinoCatDAO.insert(dias6);\n DiasTreinoCat dias7 = new DiasTreinoCat(\"7 vez por semana\", 7);\n diasTreinoCatDAO.insert(dias7);\n\n }", "public GrupCaselles( TaulerHex tauler )\n\t{\n\t\tthis.tauler = tauler;\n\t\tgrup = new ArrayList<Casella>();\n\t}", "private void aggiornamento()\n {\n\t gestoreTasti.aggiornamento();\n\t \n\t /*Se lo stato di gioco esiste eseguiamo il suo aggiornamento.*/\n if(Stato.getStato() != null)\n {\n \t Stato.getStato().aggiornamento();\n }\n }", "public void modifica(DTOAcreditacionGafetes acreGafete) throws Exception ;", "public GenerarInformeProfesores(Curso[] cursos) {\n this.infoProfe = new InformeProfesores[5 * 16];\n\n int as = 0;\n int profe = 0;\n for (int cantidadCurso = 0; cantidadCurso < 16; cantidadCurso++) {\n for (as = 0; as < 5; as++) {\n this.infoProfe[profe] = new InformeProfesores(cursos[cantidadCurso].getAsignaturas()[as].getNombre());\n this.infoProfe[profe].setNombre(cursos[cantidadCurso].getAsignaturas()[as].getProfesor().getNombre());\n this.infoProfe[profe].setApellido(cursos[cantidadCurso].getAsignaturas()[as].getProfesor().getApellido());\n this.infoProfe[profe].setRun(cursos[cantidadCurso].getAsignaturas()[as].getProfesor().getRun());\n for (int alumnosTotal = 0; alumnosTotal < 30; alumnosTotal++) {\n\n this.infoProfe[profe].getAlumnos()[alumnosTotal].setNombre(cursos[cantidadCurso].getAlumnos()[alumnosTotal].getNombre());\n this.infoProfe[profe].getAlumnos()[alumnosTotal].setApellido(cursos[cantidadCurso].getAlumnos()[alumnosTotal].getApellido());\n this.infoProfe[profe].getAlumnos()[alumnosTotal].setRun(cursos[cantidadCurso].getAlumnos()[alumnosTotal].getRun());\n for (int j = 0; j < 5; j++) {\n if (cursos[cantidadCurso].getAlumnos()[alumnosTotal].getPromedios()[j].getAsignatura().equals(infoProfe[profe].getAsignatura())) {\n infoProfe[profe].getAlumnos()[alumnosTotal].setPromedio(cursos[cantidadCurso].getAlumnos()[alumnosTotal].getPromedios()[j].getNota());\n }\n }\n }\n profe++;\n }\n }\n\n }", "public Regla2(){ /*ESTE ES EL CONSTRUCTOR POR DEFECTO */\r\n\r\n /* TODAS LAS CLASES TIENE EL CONSTRUCTOR POR DEFECTO, A VECES SE CREAN AUTOMATICAMENTE, PERO\r\n PODEMOS CREARLOS NOSOTROS TAMBIEN SI NO SE HUBIERAN CREADO AUTOMATICAMENTE\r\n */\r\n \r\n }", "public void joindreGroupe(int g_id) throws RemoteException{\r\n\t\t\t\r\n\t\t String requete = \"INSERT INTO demande VALUES(DEFAULT, \"+ g_id +\", \"+ _etudiant.getId() +\" )\";\r\n\t\t System.out.println(\"\\nrequete joindreGroupe: \" + requete);\r\n\t\t database.executeUpdate(requete);\t\r\n\t\t \r\n\t\t}", "private void populaUnidadeMedida()\n {\n UnidadeMedida u = new UnidadeMedida(\"Gramas\", \"g\");\n unidadeMedidaDAO.insert(u);\n u = new UnidadeMedida(\"Quilo\", \"kg\");\n unidadeMedidaDAO.insert(u);\n u = new UnidadeMedida(\"Quilo\", \"kg\");\n unidadeMedidaDAO.insert(u);\n u = new UnidadeMedida(\"Unidade\", \"unidade\");\n unidadeMedidaDAO.insert(u);\n u = new UnidadeMedida(\"Colher de Sopa\", \"col. sopa\");\n unidadeMedidaDAO.insert(u);\n u = new UnidadeMedida(\"Colher de Sobremesa\", \"col. sobremesa\");\n unidadeMedidaDAO.insert(u);\n u = new UnidadeMedida(\"Colher de Chá\", \"col. chá\");\n unidadeMedidaDAO.insert(u);\n u = new UnidadeMedida(\"Copo\", \"copo\");\n unidadeMedidaDAO.insert(u);\n\n }", "private void creaAddebitiGiornoConto(Date data, int codConto) {\n /* variabili e costanti locali di lavoro */\n boolean continua;\n Filtro filtro;\n int[] interi;\n ArrayList<Integer> codici = null;\n Modulo modAddFisso;\n Modulo modConto;\n boolean chiuso;\n\n try { // prova ad eseguire il codice\n\n /* controllo se il conto e' aperto */\n modConto = Albergo.Moduli.Conto();\n chiuso = modConto.query().valoreBool(Conto.Cam.chiuso.get(), codConto);\n continua = (!chiuso);\n\n if (continua) {\n\n /* filtro che isola gli addebiti fissi da eseguire\n * per il giorno e il conto dati */\n filtro = this.getFiltroFissiGiornoConto(data, codConto);\n continua = filtro != null;\n\n /* crea elenco dei codici addebito fisso da elaborare */\n if (continua) {\n modAddFisso = Albergo.Moduli.AddebitoFisso();\n interi = modAddFisso.query().valoriChiave(filtro);\n codici = Lib.Array.creaLista(interi);\n }// fine del blocco if\n\n /* crea un addebito effettivo per ogni addebito fisso */\n if (codici != null) {\n for (int cod : codici) {\n this.creaSingoloAddebito(cod, data);\n } // fine del ciclo for-each\n }// fine del blocco if\n\n }// fine del blocco if\n\n\n } catch (Exception unErrore) { // intercetta l'errore\n Errore.crea(unErrore);\n }// fine del blocco try-catch\n }", "public static void main(String[] args) {\n\t\t\r\n\tString nombre = leerTexto(\"Ingrese un nombre:\");\r\n\tint edad = leerNumero(\"Ingrese su edad:\");\r\n\tString rut = leerTexto(\"Ingresa el RUT:\");\r\n\tchar genero = leerTexto(\"Ingresa el genero: (M/F/O)\").charAt(0);\r\n\tfloat peso = leerNumero(\"Ingrese peso:\");\r\n\tfloat altura = leerNumero(\"Ingrese la altura:\");\r\n\tPersona claudia = new Persona(nombre, rut, edad, genero, peso, altura);\r\n\t\r\n\tnombre = leerTexto(\"Ingrese un nombre:\");\r\n\tedad = leerNumero(\"Ingrese su edad:\");\r\n\trut = leerTexto(\"Ingresa el RUT:\");\r\n\tgenero = leerTexto(\"Ingresa el genero: (M/F/O)\").charAt(0);\r\n\tPersona juliano = new Persona(nombre, rut, edad, genero);\r\n\t\r\n\tPersona noelia = new Persona();\r\n\tnoelia.setNombre(leerTexto(\"Ingresa un nombre\"));\r\n\tnoelia.setEdad(leerNumero(\"Ingresa la edad\"));\r\n\tnoelia.setRut(leerTexto(\"Ingresa el RUT\"));\r\n\tnoelia.setGenero(leerTexto(\"Ingresa el genero\").charAt(0));\r\n\tnoelia.setAltura(leerNumero(\"Ingresa la altura\"));\r\n\tnoelia.setPeso(leerNumero(\"Ingresa el peso\"));\r\n\t\r\n\tPersona[] perso = new Persona[3];\r\n\tperso[0] = claudia;\r\n\tperso[1] = juliano;\r\n\tperso[2] = noelia;\r\n\t\r\n\tfor (Persona persona : perso) {\r\n\t\tif (persona.calcularIMC()==Persona.PESO_BAJO) {\r\n\t\t\tescribir(\"Pongale sus buenas cazuelas\");\r\n\t\t}else {\r\n\t\t\tif (persona.calcularIMC()==Persona.PESO_IDEAL) {\r\n\t\t\t\tescribir(\"Estamos tiki taka\");\r\n\t\t\t}else {\r\n\t\t\t\tescribir(\"Menos coffe break!\");\r\n\t\t\t}\r\n\t\t}\r\n\t\t//Mayor de edad\r\n\t\tescribir(\"La persona \" + persona.getNombre() + \" es mayor de edad? \" + persona.esMayorDeEdad());\r\n\t\t//Mostrar el toString()\r\n\t\tescribir(persona.toString());\r\n\t }\r\n\t}", "public static void main(String[] args) {\n\n\t\tUsuario lisa = new Usuario(\"Lisa\", 8);\n\t\tlisa.addGeneroPreferido(\"Romántico\");\n\t\tlisa.addGeneroPreferido(\"Musical\");\n\t\tlisa.addGeneroPreferido(\"Infantil\");\n\t\tlisa.addGeneroPreferido(\"Aventura\");\n\n\t\tUsuario bart = new Usuario(\"Bart\", 10);\n\t\tbart.addGeneroPreferido(\"Infantil\");\n\t\tbart.addGeneroPreferido(\"Musical\");\n\t\tbart.addGeneroPreferido(\"Aventura\");\n\t\tbart.addGeneroPreferido(\"Accion\");\n\n\t\tUsuario maggie = new Usuario(\"Maggie\", 1);\n\t\tmaggie.addGeneroPreferido(\"Musical\");\n\t\tmaggie.addGeneroPreferido(\"Aventura\");\n\t\tmaggie.addGeneroPreferido(\"Infantil\");\n\n\t\tUsuario marge = new Usuario(\"Marge\", 30);\n\t\tmarge.addGeneroPreferido(\"Musical\");\n\t\tmarge.addGeneroPreferido(\"Aventura\");\n\t\tmarge.addGeneroPreferido(\"Infantil\");\n\t\tmarge.addGeneroPreferido(\"Romántico\");\n\n\t\tUsuario homero = new Usuario(\"Homero\", 31);\n\t\thomero.addGeneroPreferido(\"Musical\");\n\t\thomero.addGeneroPreferido(\"Accion\");\n\t\thomero.addGeneroPreferido(\"Infantil\");\n\n\t\t// GRUPO DE USUARIOS\n\t\tGrupoDeUsuarios hombresSimpson = new GrupoDeUsuarios(\"Hombres Simpson\");\n\n\t\thombresSimpson.addUser(bart);\n\t\thombresSimpson.addUser(homero);\n\n\t\tGrupoDeUsuarios hermanosSimpson = new GrupoDeUsuarios(\"Hermanos Simpson\");\n\t\thermanosSimpson.addUser(lisa);\n\t\thermanosSimpson.addUser(maggie);\n\t\thermanosSimpson.addUser(bart);\n\n\t\tGrupoDeUsuarios familiaSimpson = new GrupoDeUsuarios(\"Familia Simpson\");\n\t\tfamiliaSimpson.addUser(lisa);\n\t\tfamiliaSimpson.addUser(maggie);\n\t\tfamiliaSimpson.addUser(bart);\n\t\tfamiliaSimpson.addUser(homero);\n\t\tfamiliaSimpson.addUser(marge);\n\n\t\tPelicula p1 = new Pelicula(\"Up : una aventura en la altura\",\n\t\t\t\t\"Carl Fredricksen es un vendedor de globos de 78 años de edad dispuesto a cumplir su sueño: \"\n\t\t\t\t\t\t+ \"atar miles de globos a su casa y volar a Sudamérica. Sin embargo, descubre demasiado tarde a un joven e inesperado polizón.\"\n\t\t\t\t\t\t+ \" Lo que en principio será recelo, acabará por tornarse simpatía hacia el muchacho mientras juntos pasan fascinantes aventuras en exóticos lugares.\",\n\t\t\t\t1.4, 2009);\n\t\tp1.addDirector(\"Pete Docter\");\n\t\tp1.addDirector(\"Bob Peterson\");\n\t\tp1.addActor(\"Pete Docter\");\n\t\tp1.addActor(\"Ed Asner\");\n\t\tp1.addActor(\"Bob Peterson\");\n\t\tp1.addActor(\"Jordan Nagai\");\n\t\t\n\t\tp1.addGenero(\"Infantil\");\n\t\tp1.addGenero(\"Accion\");\n\t\tp1.addGenero(\"Drama\");\n\n\t\tPelicula p2 = new Pelicula(\"Los Simpson\",\n\t\t\t\t\" la película La combinación de Homero (Dan Castellaneta), su nuevo puerco mascota, \"\n\t\t\t\t\t\t+ \"y un silo lleno de excremento podrían provocar un desastre que amenace no sólo a Springfield, sino al mundo entero. Una muchedumbre enojada llega a la casa de los Simpson,\"\n\t\t\t\t\t\t+ \" dividiendo a la familia. Con el destino de la Tierra en equilibrio, Homero se prepara para intentar redimirse con la intención de salvar al mundo y ganarse el perdón de Marge (Julie Kavner).\",\n\t\t\t\t2.0, 2007);\n\n\t\tp2.addDirector(\"David Silverman\");\n\t\tp2.addActor(\"Dan Castellaneta\");\n\t\tp2.addActor(\"Harry Shearer\");\n\t\tp2.addActor(\"Julie Kavner\");\n\t\t\n\t\tp2.addGenero(\"Romántico\");\n\t\tp2.addGenero(\"Musical\");\n\t\tp2.addGenero(\"Infantil\");\n\t\tp2.addGenero(\"Aventura\");\n\t\tp2.addGenero(\"Comedia\");\n\n\t\tPelicula p3 = new Pelicula(\"Los Increibles\",\n\t\t\t\t\"Un súper héroe retirado lucha contra el aburrimiento en un suburbio y junto con su familia tiene la oportunidad de salvar al mundo.\\r\\n\",\n\t\t\t\t2.0, 2004);\n\n\t\tp3.addDirector(\"Brad Bird\");\n\t\tp3.addActor(\"Brad Bird\");\n\t\tp3.addActor(\"Craig T. Nelson\");\n\t\tp3.addActor(\"Holly Hunter\");\n\t\t\n\t\tp3.addGenero(\"Musical\");\n\t\tp3.addGenero(\"Infantil\");\n\t\tp3.addGenero(\"Aventura\");\n\t\tp3.addGenero(\"Accion\");\n\n\t\tPelicula p4 = new Pelicula(\"Los Increibles 2\",\n\t\t\t\t\" Helen entra en acción y debe luchar contra un cibercriminal que planea hipnotizar el mundo a través de las pantallas de las computadoras. Eso deja al Sr. Increíble con uno de sus mayores desafíos: quedarse en casa y cuidar de tres niños traviesos.\\r\\n\",\n\t\t\t\t2.0, 2018);\n\n\t\tp4.addDirector(\"Brad Bird\");\n\t\tp4.addActor(\"Brad Bird\");\n\t\tp4.addActor(\"Craig T. Nelson\");\n\t\tp4.addActor(\"Holly Hunter\");\n\t\t\n\t\tp4.addGenero(\"Musical\");\n\t\tp4.addGenero(\"Infantil\");\n\t\tp4.addGenero(\"Aventura\");\n\t\tp4.addGenero(\"Accion\");\n\n\t\tPelicula p5 = new Pelicula(\"Toy Story\",\n\t\t\t\t\"Lo mejor de la animación computarizada produce esta historia sobre juguetes que cobran vida cuando su dueño se ausenta.\",\n\t\t\t\t2.0, 1995);\n\n\t\tp5.addDirector(\"John Lasseter\");\n\t\tp5.addActor(\"Tim Allen\");\n\t\tp5.addActor(\"Tom Hanks\");\n\t\tp5.addActor(\"Don Rickles\");\n\t\tp5.addActor(\"Wallace Shawn\");\n\t\t\n\t\tp5.addGenero(\"Infantil\");\n\t\tp5.addGenero(\"Aventura\");\n\t\tp5.addGenero(\"Accion\");\n\n\t\tPelicula p6 = new Pelicula(\"Monsters Inc.\",\n\t\t\t\t\"Monsters, Incorporated es la fábrica de sustos más grande en el mundo de los\"\n\t\t\t\t\t\t+ \" monstruos y James P. Sullivan (John Goodman) es uno de sus mejores asustadores. Sullivan es un monstruo \"\n\t\t\t\t\t\t+ \"grande e intimidante de piel azul, grandes manchas color púrpura y cuernos. Su asistente, mejor amigo y \"\n\t\t\t\t\t\t+ \"compañero de cuarto es Mike Wazowski (Billy Crystal), un pequeño y alegre monstruo verde con un solo ojo.\"\n\t\t\t\t\t\t+ \" Boo (Mary Gibbs), una niña pequeña visita lugares en donde nunca antes había estado un ser humano.\\r\\n\",\n\t\t\t\t2.0, 2001);\n\n\t\tp6.addDirector(\"Pete Docter\");\n\t\tp6.addActor(\"John Goodman\");\n\t\tp6.addActor(\"Billy Crystal\");\n\t\tp6.addActor(\"John Ratzenberger\");\n\t\t\n\t\tp6.addGenero(\"Infantil\");\n\t\tp6.addGenero(\"Musical\");\n\t\tp6.addGenero(\"Aventura\");\n\t\tp6.addGenero(\"Accion\");\n\n\t\t// Agregar peliculas al cine\n\t\tGestorDePeliculas cine = new GestorDePeliculas();\n\t\tcine.agregarPelicula(p1);\n\t\tcine.agregarPelicula(p2);\n\t\tcine.agregarPelicula(p3);\n\t\tcine.agregarPelicula(p4);\n\t\tcine.agregarPelicula(p5);\n\t\tcine.agregarPelicula(p6);\n\n\t\t// agregar usuarios\n\n\t\tcine.agregarUsuario(lisa);\n\t\tcine.agregarUsuario(homero);\n\t\tcine.agregarUsuario(bart);\n\t\tcine.agregarUsuario(maggie);\n\t\tcine.agregarUsuario(marge);\n\t\tcine.agregarUsuario(hombresSimpson);\n\t\tcine.agregarUsuario(hermanosSimpson);\n\t\tcine.agregarUsuario(familiaSimpson);\n\n\t\t// Calificaciones\n\t\tlisa.darCalificacion(p3, 5);\n\t\tbart.darCalificacion(p3, 2);\n\t\thomero.darCalificacion(p3, 4);\n\t\tmarge.darCalificacion(p3, 2);\n\n\t\tmarge.darCalificacion(p4, 5);\n\t\tmaggie.darCalificacion(p5, 1);\n\n\t\tCondicion conTodosGeneros = new CondicionTodosGeneros();\n\t\tCondicion conUnGeneros = new CondicionUnGenero();\n\t\t\n\t\tCondicionBusqueda conActorPD = new CondicionPoseeActor(\"Pete Docter\");\n\t\tCondicionBusqueda conDirectorPD = new CondicionPoseeDirector(\"Pete Docter\");\n\t\tCondicionBusqueda andActorDirector = new CondicionAnd(conActorPD,conDirectorPD); \n\t\t\n\t\tCondicionBusqueda generoRomantico = new CondicionGenero(\"Romántico\");\n\t\tCondicionBusqueda generoComedia = new CondicionGenero(\"Comedia\");\n\t\tCondicionBusqueda generoDrama = new CondicionGenero(\"Drama\");\n\t\t\n\t\tCondicionBusqueda andRC = new CondicionOR(generoRomantico,generoComedia);\n\t\tCondicionBusqueda andAD = new CondicionOR(andRC,generoDrama);\n\t\t\n\t\tCondicionBusqueda conActorTH = new CondicionPoseeActor(\"Tom Hanks\");\n\t\t\n\t\tCondicionBusqueda busquedaPorAnio = new CondicionAnio(2000);\n\t\t\n\t\tOrdenarPelicula comp = new OrdenarPorPromedio();\n\t\tOrdenarPelicula compVoto = new OrdenarPorVotos();\n\t\t\n\t\t//SETEAMOS TODOS LOS GENEROS\n\t\tcine.setCondicion(conTodosGeneros);\n\t\t\n\t\tArrayList<User> usuarios = new ArrayList<>();\n\t\t\n\t\t// Una vez probado todo agregas esta linea para volver a imprimir todo hermanosSimpson.darCalificacion(p1, 4);\n\t\t\n\t\t//LISTAR PELICULAS VISTAS POR MARGE Y BART\n\t\t\n\t\timprimirIterador(bart.listarPeliculasVistas(), bart, \"Peliculas vistas por \");\n\t\t\n\t\timprimirIterador(marge.listarPeliculasVistas(), marge, \"Peliculas vistas por \");\n\t\t\n\t\t//Pedimos todo los usuarios del cine\n\t\tusuarios = cine.getUsuarios();\n\t\t\n\t\t//Recomendar peliculas con todos los generos\n\t\tfor(int i=0; i < usuarios.size(); i++) {\n\t\t\t\n\t\t\timprimirIterador(cine.recomendarPeliculas(usuarios.get(i), compVoto, 2), usuarios.get(i), \"Recomendar peliculas para \");\n\t\t}\n\t\t\n\t\tcine.setCondicion(conUnGeneros);\n\t\t\n\t\tfor(int i=0; i < usuarios.size(); i++) {\n\t\t\t\n\t\t\timprimirIterador(cine.recomendarPeliculas(usuarios.get(i), comp, 5), usuarios.get(i), \"Recomendar peliula con un genero \");\n\t\t}\n\t\t\n\t\tIterator<Pelicula> itPeliculas = cine.buscarPeliculas(busquedaPorAnio);\n\t\tIterator<Pelicula> itPeliculasDA = cine.buscarPeliculas(andActorDirector);\n\t\tIterator<Pelicula> itPeliculasA = cine.buscarPeliculas(conActorTH);\n\t\tIterator<Pelicula> itPeliculasPorGenero = cine.buscarPeliculas(andAD);\n\t\t\n\t\t\n\t\timprimirIterador(itPeliculas, \"Peliculas estrenadas a partir del 2000\");\n\t\timprimirIterador(itPeliculasDA, \"Todas las películas en las que Pete Docter haya actuado y sido director al\\r\\n\" + \n\t\t\t\t\"mismo tiempo\");\n\t\timprimirIterador(itPeliculasA, \"Todas las películas en las que haya actuado Tom Hanks\");\n\t\timprimirIterador(itPeliculasPorGenero, \"Todas las películas con género romántico, comedia, o drama\");\n\t\t\n\t}", "public void generarCuestionario() {\n setLayout(null);\n \n setTitle(\"Cuestionario de Fin de Curso\"); \n \n //Con el modelo construido debemos representar uestra pregunta\n //y mostrarala\n //Primero creamos las opciones\n \n Opcion op1 = new Opcion();\n op1.setTitulo(\"Londres\");\n op1.setCorrecta(false);\n\n Opcion op2 = new Opcion();\n op2.setTitulo(\"Roma\");\n op2.setCorrecta(false);\n\n Opcion op3 = new Opcion();\n op3.setTitulo(\"Paris\");\n op3.setCorrecta(true);\n\n Opcion op4 = new Opcion();\n op4.setTitulo(\"Oslo\");\n op4.setCorrecta(false);\n\n //Sigue el arreglo de opcion\n Opcion[] opciones = {op1, op2, op3, op4};\n Pregunta p1 = new Pregunta();\n p1.setTitulo(\"¿Cual es la capital de Francia\");\n p1.setOpciones(opciones);\n \n //Opiciones de la pregumta Numero 2\n Opcion op21 = new Opcion();\n op21.setTitulo(\"Atlantico\");\n op21.setCorrecta(false);\n\n Opcion op22 = new Opcion();\n op22.setTitulo(\"Indico\");\n op22.setCorrecta(false);\n\n Opcion op23 = new Opcion();\n op23.setTitulo(\"Artico\");\n op23.setCorrecta(false);\n\n Opcion op24 = new Opcion();\n op24.setTitulo(\"Pacifico\");\n op24.setCorrecta(true);\n\n //Sigue el arreglo de opcion\n Opcion[] opciones2 = {op21, op22, op23, op24};\n Pregunta p2 = new Pregunta();\n p2.setTitulo(\"¿Cual es el oceano más grande del mundo?\");\n p2.setOpciones(opciones2);\n \n //Opiciones de la pregumta Numero 3\n Opcion op31 = new Opcion();\n op31.setTitulo(\"Cristobal Colon\");\n op31.setCorrecta(true);\n\n Opcion op32 = new Opcion();\n op32.setTitulo(\"Cristobal Nodal\");\n op32.setCorrecta(false);\n\n Opcion op33 = new Opcion();\n op33.setTitulo(\"Cuahutemoc blanco\");\n op33.setCorrecta(false);\n\n Opcion op34 = new Opcion();\n op34.setTitulo(\"Cuahutemoc\");\n op34.setCorrecta(false);\n\n //Sigue el arreglo de opcion\n Opcion[] opciones3 = {op31, op32, op33, op34};\n Pregunta p3 = new Pregunta();\n p3.setTitulo(\"¿Quien descubrio América?\");\n p3.setOpciones(opciones3);\n \n //Opiciones de la pregumta Numero 4\n Opcion op41 = new Opcion();\n op41.setTitulo(\"Fernanflo\");\n op41.setCorrecta(false);\n\n Opcion op42 = new Opcion();\n op42.setTitulo(\"Polinesios\");\n op42.setCorrecta(false);\n\n Opcion op43 = new Opcion();\n op43.setTitulo(\"Eh vegeta\");\n op43.setCorrecta(true);\n\n Opcion op44 = new Opcion();\n op44.setTitulo(\"Willyrex\");\n op44.setCorrecta(false);\n\n //Sigue el arreglo de opcion\n Opcion[] opciones4 = {op41, op42, op43, op44};\n Pregunta p4 = new Pregunta();\n p4.setTitulo(\"¿Quien es el mejor youtuber?\");\n p4.setOpciones(opciones4);\n \n //Opiciones de la pregumta Numero 5\n Opcion op51 = new Opcion();\n op51.setTitulo(\"Amarillo patito\");\n op51.setCorrecta(false);\n\n Opcion op52 = new Opcion();\n op52.setTitulo(\"Verde Sherec\");\n op52.setCorrecta(false);\n\n Opcion op53 = new Opcion();\n op53.setTitulo(\"Rojo me faltas tú\");\n op53.setCorrecta(false);\n\n Opcion op54 = new Opcion();\n op54.setTitulo(\"Azul\");\n op54.setCorrecta(true);\n\n //Sigue el arreglo de opcion\n Opcion[] opciones5 = {op51, op52, op53, op54};\n Pregunta p5 = new Pregunta();\n p5.setTitulo(\"¿De que color es el cielo?\");\n p5.setOpciones(opciones5);\n \n //Opiciones de la pregumta Numero 6\n Opcion op61 = new Opcion();\n op61.setTitulo(\"200\");\n op61.setCorrecta(false);\n\n Opcion op62 = new Opcion();\n op62.setTitulo(\"100\");\n op62.setCorrecta(false);\n\n Opcion op63 = new Opcion();\n op63.setTitulo(\"45\");\n op63.setCorrecta(true);\n\n Opcion op64 = new Opcion();\n op64.setTitulo(\"13\");\n op64.setCorrecta(false);\n\n //Sigue el arreglo de opcion\n Opcion[] opciones6 = {op61, op62, op63, op64};\n Pregunta p6 = new Pregunta();\n p6.setTitulo(\"¿De cuantas localidades se compone una memoria de 8x5?\");\n p6.setOpciones(opciones6);\n \n //Opiciones de la pregumta Numero 7\n Opcion op71 = new Opcion();\n op71.setTitulo(\"Try - Catch\");\n op71.setCorrecta(false);\n\n Opcion op72 = new Opcion();\n op72.setTitulo(\"IF\");\n op72.setCorrecta(true);\n\n Opcion op73 = new Opcion();\n op73.setTitulo(\"Switch - Case\");\n op73.setCorrecta(false);\n\n Opcion op74 = new Opcion();\n op74.setTitulo(\"For anidado\");\n op74.setCorrecta(false);\n\n //Sigue el arreglo de opcion\n Opcion[] opciones7 = {op71, op72, op73, op74};\n Pregunta p7 = new Pregunta();\n p7.setTitulo(\"¿Que estructura condicional se recomienda usar menos en una interfaz de usuario?\");\n p7.setOpciones(opciones7);\n \n //Opiciones de la pregumta Numero 8\n Opcion op81 = new Opcion();\n op81.setTitulo(\"Access\");\n op81.setCorrecta(false);\n\n Opcion op82 = new Opcion();\n op82.setTitulo(\"Oracle\");\n op82.setCorrecta(false);\n\n Opcion op83 = new Opcion();\n op83.setTitulo(\"MySQL\");\n op83.setCorrecta(false);\n\n Opcion op84 = new Opcion();\n op84.setTitulo(\"Mongo DB\");\n op84.setCorrecta(true);\n\n //Sigue el arreglo de opcion\n Opcion[] opciones8 = {op81, op82, op83, op84};\n Pregunta p8 = new Pregunta();\n p8.setTitulo(\"¿Es una base de datos no relacional de uso moderno?\");\n p8.setOpciones(opciones8);\n \n //Opiciones de la pregumta Numero 9\n Opcion op91 = new Opcion();\n op91.setTitulo(\"GitHub\");\n op91.setCorrecta(true);\n\n Opcion op92 = new Opcion();\n op92.setTitulo(\"MIcrosoft teams\");\n op22.setCorrecta(false);\n\n Opcion op93 = new Opcion();\n op93.setTitulo(\"Zoom\");\n op93.setCorrecta(false);\n\n Opcion op94 = new Opcion();\n op94.setTitulo(\"Collaborate\");\n op94.setCorrecta(false);\n\n //Sigue el arreglo de opcion\n Opcion[] opciones9 = {op91, op92, op93, op94};\n Pregunta p9 = new Pregunta();\n p9.setTitulo(\"¿Es una plataforma para trabajo en línea?\");\n p9.setOpciones(opciones9);\n\n //Opiciones de la pregumta Numero 10\n Opcion op101 = new Opcion();\n op101.setTitulo(\"Prog. a nivel maquina\");\n op101.setCorrecta(false);\n\n Opcion op102 = new Opcion();\n op102.setTitulo(\"Prog. orientada a objetos\");\n op102.setCorrecta(true);\n\n Opcion op103 = new Opcion();\n op103.setTitulo(\"MySQL\");\n op103.setCorrecta(false);\n\n Opcion op104 = new Opcion();\n op104.setTitulo(\"C++\");\n op104.setCorrecta(false);\n\n //Sigue el arreglo de opcion\n Opcion[] opciones10 = {op101, op102, op103, op104};\n Pregunta p10 = new Pregunta();\n p10.setTitulo(\"¿Que aprendi en este curso?\");\n p10.setOpciones(opciones10);\n\n\n //Vamos a adaptar el cuestioanario a lo que ya teniamos\n Cuestionario c = new Cuestionario();\n //Creamos el list de preguntas\n\n //Se agrega a este list la unica prgunta que tenemos\n preguntas.add(p1);\n preguntas.add(p2);\n preguntas.add(p3);\n preguntas.add(p4);\n preguntas.add(p5);\n preguntas.add(p6);\n preguntas.add(p7);\n preguntas.add(p8);\n preguntas.add(p9);\n preguntas.add(p10);\n //A este list le vamos a proporcionar el valor del correspondiente\n //cuestioanrio\n c.setPreguntas(preguntas);\n//Primero ajustamos el titulo de la primer pregunta en la etiqueta de la preunta\n mostrarPregunta(preguntaActual);\n \n Salir.setVisible(false);\n siguiente.setEnabled(false);\n \n }", "private static void crearPedidoGenerandoOPCyOrdenInsumo() throws RemoteException {\n\t\tlong[] idVariedades = { 63 };\n\t\tint[] cantidades = { 4 };\n\t\tPedidoClienteDTO pedido = crearPedido(\"20362134596\", \"test 5\", idVariedades, cantidades);\n\n\t\tpedido = PedidoController.getInstance().crearPedido(pedido).toDTO();\n\n\t\tPedidoController.getInstance().cambiarEstadoPedidoCliente(pedido.getNroPedido(), EstadoPedidoCliente.ACEPTADO);\n\t}", "private Map<Integer, Map<String,Object>> getCombinaciones( List<GrupoAtencion> grupos, List<Cuadrilla> cuadrillas){\n\t\t\n\n\t\tMap<Long, Map<String, Double>> mpgrupos = new LinkedHashMap<Long, Map<String, Double>>();\n\t\t// aplicando todos contra todos\n\t\t\n\t\tfor (GrupoAtencion g : grupos) {\n\t\t\t\n\t\t\tMap<String, Double>mpcants = getCantidadPorTipoSolicitudes(g);\n\t\t\t// añdiendo \n\t\t\tmpgrupos.put(g.getNumeroGrupoAtencion(), mpcants); \n\t\t}\n\t\t\n\t\t\n\t\t\n\t\tMap<Long, Map<String, Double>> mpcuadrillas = new LinkedHashMap<Long, Map<String, Double>>();\n\t\t\n\t\tfor(Cuadrilla c : cuadrillas){\n\t\t\tMap<String, Double> mpproms = getPromedioHabilidades(c);\n\t\t\tmpcuadrillas.put(c.getNumeroCuadrilla(),mpproms );\n\t\t\t\n\t\t}\n\t\t\n\t\t\n\t\t// todos contra todos;\n\t\t\n\t\tIterator<Long> it = mpgrupos.keySet().iterator();\n\t\t\n\t\t// combinaciones\n\t\tMap<Integer, Map<String,Object>> mpcomb = new LinkedHashMap<Integer, Map<String,Object>>();\n\t\tint idxcomb = 1; // indice de combinacion\n\t\twhile(it.hasNext()){\n\t\t\t\n\t\t\tLong ng = it.next();// número de grupos\n\t\t\tMap<String, Double> mpcants = mpgrupos.get(ng); // cantidades\n\t\t\t\n\t\t\tIterator<Long> itp = mpcuadrillas.keySet().iterator();\n\t\t\twhile(itp.hasNext()){\n\t\t\t\tLong nc = itp.next();// número de cuadrilla\n\t\t\t\tMap<String, Double> mpproms = mpcuadrillas.get(nc); // promedios\n\t\t\t\tMap<String,Object> mp = new LinkedHashMap<>();\n\t\t\t\t//System.out.println(mpproms.toString());\n\t\t\t\t\n\t\t\t\tmp.put(\"ng\",ng);// numero grupo\n\t\t\t\tmp.put(\"nc\",nc); // numero cuadrilla\n\t\t\t\t// añadiendo cantidades de tipos de solicitudes\n\t\t\t\tmp = addMap(mp, mpcants);\n\t\t\t\t// añadiendo promedio de habilidades\n\t\t\t\tmp = addMap(mp, mpproms);\n\t\t\t\t\n\t\t\t\tmpcomb.put(idxcomb, mp);\n\t\t\t\t//System.out.println(mp.toString());\n\t\t\t\tidxcomb++;\n\t\n\t\t\t}\n\t\t\t\n\t\t}\n\n\t\treturn mpcomb ;\n\t}", "public GrupoBodegaLogic()throws SQLException,Exception {\r\n\t\tsuper();\r\n\t\t\r\n\t\ttry\t{\t\t\t\t\t\t\r\n\t\t\tthis.grupobodegaDataAccess = new GrupoBodegaDataAccess();\r\n\t\t\t\r\n\t\t\tthis.grupobodegas= new ArrayList<GrupoBodega>();\r\n\t\t\tthis.grupobodega= new GrupoBodega();\r\n\t\t\t\r\n\t\t\tthis.grupobodegaObject=new Object();\r\n\t\t\tthis.grupobodegasObject=new ArrayList<Object>();\r\n\t\t\t\t\r\n\t\t\t/*\r\n\t\t\tthis.connexion=new Connexion();\r\n\t\t\tthis.datosCliente=new DatosCliente();\r\n\t\t\tthis.arrDatoGeneral= new ArrayList<DatoGeneral>();\r\n\t\t\t\r\n\t\t\t//INICIALIZA PARAMETROS CONEXION\r\n\t\t\tthis.connexionType=Constantes.CONNEXIONTYPE;\r\n\t\t\tthis.parameterDbType=Constantes.PARAMETERDBTYPE;\r\n\t\t\t\r\n\t\t\tif(Constantes.CONNEXIONTYPE.equals(ConnexionType.HIBERNATE)) {\r\n\t\t\t\tthis.entityManagerFactory=ConstantesCommon.JPAENTITYMANAGERFACTORY;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tthis.datosDeep=new DatosDeep();\r\n\t\t\tthis.isConDeep=false;\r\n\t\t\t*/\r\n\t\t\t\r\n\t\t\tthis.grupobodegaDataAccess.setConnexionType(this.connexionType);\r\n\t\t\tthis.grupobodegaDataAccess.setParameterDbType(this.parameterDbType);\r\n\t\t\t\r\n\t\t\t\r\n\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\tthis.invalidValues=new InvalidValue[0];\r\n\t\t\tthis.stringBuilder=new StringBuilder();\r\n\t\t\tthis.conMostrarMensajesStringBuilder=true;\r\n\t\t\t\r\n\t\t} catch(Exception e) {\r\n\t\t\tFunciones.manageException(logger,e);\r\n\t\t\tthrow e;\r\n\t\t}\t \r\n }", "public static void main(String args[]){\n int x = 10;\r\n List<Perro> perros = new ArrayList();\r\n \r\n Perro perro=new Perro();\r\n \r\n Persona persona = new Persona();\r\n persona.setAltura(5.5);\r\n persona.setColorPiel(\"Blanca\");\r\n persona.setEdad(16);\r\n persona.setGenero('f');\r\n persona.setNacionalidad(\"Japonesa\");\r\n persona.setPeso(130);\r\n persona.setTipoDePelo(\"Lacio\"); \r\n persona.setOcupacion(\"Dinero\");\r\n \r\n //Se dan todas las características\r\n perro.setNombre(\"Manuel\");\r\n perro.setColor(\"Negro\");\r\n perro.setTamano(10.2);\r\n perro.setRaza(\"Golden\");\r\n perro.setTipoDePelo(\"Crespo\");\r\n perro.setAdoptado(false);\r\n perro.setGenero('H');\r\n \r\n perros.add(perro);//Se añade a la instancia\r\n \r\n perro = new Perro();//Se limpia y se vuelve a llamar la instancia\r\n perro.setNombre(\"Igor\");\r\n perro.setColor(\"Negro\");\r\n perro.setTamano(10.2);\r\n perro.setRaza(\"Golden\");\r\n perro.setTipoDePelo(\"Lacio\");\r\n perro.setAdoptado(false);\r\n perro.setGenero('H');\r\n \r\n perros.add(perro);\r\n \r\n perro = new Perro();\r\n perro.setNombre(\"Luli\");\r\n perro.setColor(\"Negro\");\r\n perro.setTamano(10.2);\r\n perro.setRaza(\"Siberiano\");\r\n perro.setTipoDePelo(\"Crespo\");\r\n perro.setAdoptado(false);\r\n perro.setGenero('H');\r\n \r\n perros.add(perro);\r\n //****************CUANDO EJECUTES ESTO VE COMENTADO LOS BLOQUES QUE NO QUIERES QUE SE USEN*************\r\n //foreach y for hace la misma funcion\r\n //Uso de for\r\n for (Perro perro1:perros){\r\n System.out.println(perro1.getNombre());\r\n System.out.println(perro1.getColor());\r\n System.out.println(perro1.getTamano());\r\n System.out.println(perro1.getRaza());\r\n System.out.println(perro1.getTipoDePelo());\r\n }\r\n \r\n //Formas de uso del for each\r\n perros.forEach(perro1->\r\n System.out.println(perro1.getNombre()));\r\n \r\n perros.forEach(perro1 ->{//Se define una variable que es perro1 y esta recorrera toda la lista\r\n System.out.println(perro1.getNombre());\r\n System.out.println(perro1.getColor());\r\n System.out.println(perro1.getTamano());\r\n System.out.println(perro1.getRaza());\r\n System.out.println(perro1.getTipoDePelo()); \r\n System.out.println();\r\n \r\n });\r\n \r\n \r\n System.out.println(\"Blanco\".equals(perro.color)? \"Si es blanco\":\"No es blanco\");\r\n \r\n //Uso del if\r\n if (((4/2==0)&&(10/5 !=0))||(100/20==0)){\r\n System.out.println(\"Es bisiesto\");\r\n }else{\r\n System.out.println(\"No es bisiesto\");\r\n }\r\n \r\n //Uso del switcH\r\n switch(x){\r\n case 6:\r\n System.out.println(\"Es verdadero\");\r\n break;\r\n case 2:\r\n System.out.println(\"Es falso\");\r\n break;\r\n default:\r\n System.out.println(\"No es ninguna\");\r\n \r\n //Uso de la lista de un item en especifico \r\n System.out.println(\"Nombre: \" + perros.get(2).getNombre());//El número del get\r\n System.out.println(\"Color: \"+perros.get(2).getColor());//define que item es que tomará\r\n System.out.println(\"Raza: \"+perros.get(2).getRaza());\r\n \r\n \r\n //Demostración del uso de getters\r\n System.out.println(\"Nombre: \");\r\n System.out.println(\"Altura: \" + persona.getAltura());\r\n System.out.println(\"Color: \" + persona.getColorPiel());\r\n System.out.println(\"Edad: \"+persona.getEdad());\r\n System.out.println(\"Genero: \"+persona.getGenero());\r\n System.out.println(\"Nacionalidad: \"+persona.getNacionalidad());\r\n System.out.println(\"Peso: \"+persona.getPeso());\r\n System.out.println(\"Tipo de Pelo: \"+persona.getTipoDePelo());\r\n \r\n }\r\n \r\n}", "private String creaElenco() {\n String testoTabella ;\n String riga = CostBio.VUOTO;\n ArrayList listaPagine = new ArrayList();\n ArrayList listaRiga;\n HashMap mappaTavola = new HashMap();\n String cognomeText;\n int num;\n int taglioPagine = Pref.getInt(CostBio.TAGLIO_COGNOMI_PAGINA);\n String tag = \"Persone di cognome \";\n ArrayList titoli = new ArrayList();\n titoli.add(LibWiki.setBold(\"Cognome\"));\n titoli.add(LibWiki.setBold(\"Voci\"));\n\n for (Map.Entry<String, Integer> mappa: mappaCognomi.entrySet()) {\n\n cognomeText = mappa.getKey();\n num = mappa.getValue();\n if (num >= taglioPagine) {\n cognomeText = tag + cognomeText + CostBio.PIPE + cognomeText;\n cognomeText = LibWiki.setQuadre(cognomeText);\n cognomeText = LibWiki.setBold(cognomeText);\n }// end of if cycle\n\n listaRiga = new ArrayList();\n listaRiga.add(cognomeText);\n listaRiga.add(num);\n listaPagine.add(listaRiga);\n\n }// end of for cycle\n mappaTavola.put(Cost.KEY_MAPPA_SORTABLE_BOOLEAN, true);\n mappaTavola.put(Cost.KEY_MAPPA_TITOLI, titoli);\n mappaTavola.put(Cost.KEY_MAPPA_RIGHE_LISTA, listaPagine);\n testoTabella = LibWiki.creaTable(mappaTavola);\n\n return testoTabella;\n }", "protected void creaNavigatori() {\n /* variabili e costanti locali di lavoro */\n Navigatore nav;\n\n try { // prova ad eseguire il codice\n nav = new NavigatoreRisultati(this);\n this.addNavigatore(nav);\n } catch (Exception unErrore) { // intercetta l'errore\n Errore.crea(unErrore);\n }// fine del blocco try-catch\n\n }", "public void repartirGanancias() {\n\t\t \n\t\t System.out.println(\"JUGADORES EN GANANCIAS:\");\n\t\t for(int i = 0; i < idJugadores.length;i++) {\n\t\t\t System.out.println(\"idJugador [\"+i+\"] : \"+idJugadores[i]);\n\t\t }\n\t\t System.out.println(\"GANADORES EN GANANCIA\");\n\t\t for(int i = 0; i < ganador.size();i++) {\n\t\t\t System.out.println(\"Ganador [\"+i+\"] : \"+ganador.get(i));\n\t\t }\n\t\t if(ganador.size() >= 1) {\n\t\t\t for(int i = 0; i < idJugadores.length; i++) {\n\n\t\t\t\t if(contieneJugador(ganador, idJugadores[i])) {\n\t\t\t\t\t System.out.println(\"Entra ganador \"+idJugadores[i]);\n\t\t\t\t\t if(verificarJugadaBJ(manosJugadores.get(i))) {\n\t\t\t\t\t\t System.out.println(\"Pareja nombre agregado: \"+idJugadores[i]);\n\t\t\t\t\t\t parejaNombreGanancia.add(new Pair<String, Integer>(idJugadores[i],25));\n\t\t\t\t\t }else {\n\t\t\t\t\t\t System.out.println(\"Pareja nombre agregado --> \"+idJugadores[i]);\n\t\t\t\t\t\t parejaNombreGanancia.add(new Pair<String, Integer>(idJugadores[i],20));\n\t\t\t\t\t }\n\t\t\t\t }\n\t\t\t } \n\t\t }else {\n\t\t\t System.out.println(\"no ganó nadie\");\n\t\t\t parejaNombreGanancia.add(new Pair<String, Integer>(\"null\",0));\n\t\t }\n\t }", "public void MieiOrdini()\r\n {\r\n getOrdini();\r\n\r\n }", "public void ingresarUbigeo() {\n\t\t\tlog.info(\"ingresarUbigeo :D a --- \" + idUbigeo1);\r\n\t\t\tubigeoDefecto = \"otro ubigeo\";\r\n\t\t\tIterator it = comboManager.getUbigeoDeparItems().entrySet().iterator();\r\n\t\t\tIterator it2 = comboManager.getUbigeoProvinItems().entrySet().iterator();\r\n\t\t\tIterator it3 = comboManager.getUbigeoDistriItems().entrySet().iterator();\r\n\t\twhile (it.hasNext()) {\r\n\t\t\tMap.Entry e = (Map.Entry) it.next();\r\n\t\t\tSystem.out.println(\"key \" + e.getKey() + \" value \" + e.getValue());\r\n\t\tif (e.getValue().toString().equals(idDepartamento)) {\r\n\t\t\tubigeoDefecto = (String) e.getKey();\r\n\t\t\tlog.info(\"ubigeo depa \" + ubigeoDefecto);\r\n\t\tbreak;\r\n\t\t\t}\r\n\t\t\t}\r\n\t\twhile (it2.hasNext()) {\r\n\t\t\tMap.Entry e = (Map.Entry) it2.next();\r\n\t\t\tSystem.out.println(\"key \" + e.getKey() + \" value \" + e.getValue());\r\n\t\tif (e.getValue().toString().equals(idProvincia)) {\r\n\t\t\tubigeoDefecto += \"-\" + (String) e.getKey();\r\n\t\t\tlog.info(\"ubigeo prov \" + ubigeoDefecto);\r\n\t\tbreak;\r\n\t\t\t}\r\n\t\t\t}\r\n\t\twhile (it3.hasNext()) {\r\n\t\t\tMap.Entry e = (Map.Entry) it3.next();\r\n\t\t\tSystem.out.println(\"key \" + e.getKey() + \" value \" + e.getValue());\r\n\t\tif (e.getValue().toString().equals(idUbigeo1)) {\r\n\t\t\tubigeoDefecto += \"-\" + (String) e.getKey();\r\n\t\t\tlog.info(\"ubigeo distrito \" + ubigeoDefecto);\r\n\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\t\tlog.info(\"ubigeo ------> :D \" + ubigeoDefecto);\r\n\t}", "private JPanel getPAbmGrupos() {\r\n if (pAbmGrupos == null) {\r\n lInfo = new JLabel();\r\n lInfo.setBounds(new Rectangle(0, 240, 370, 30));\r\n lInfo.setHorizontalAlignment(SwingConstants.CENTER);\r\n lInfo.setHorizontalTextPosition(SwingConstants.CENTER);\r\n \r\n lInfo.setText(\"\");\r\n lId = new JLabel();\r\n lId.setBounds(new Rectangle(10, 20, 90, 20));\r\n lId.setText(\"Id Grupo\");\r\n lNombre = new JLabel();\r\n lNombre.setBounds(new Rectangle(10, 45, 90, 20));\r\n lNombre.setText(\"Nombre\");\r\n pAbmGrupos = new JPanel();\r\n pAbmGrupos.setLayout(null);\r\n pAbmGrupos.add(lNombre);\r\n pAbmGrupos.add(getTNombre());\r\n pAbmGrupos.add(getBGuardar());\r\n pAbmGrupos.add(getBCancelar());\r\n pAbmGrupos.add(getBEliminar());\r\n pAbmGrupos.add(getPGrupos());\r\n pAbmGrupos.add(getTBuscar());\r\n pAbmGrupos.add(getBBuscar());\r\n pAbmGrupos.add(getBNuevo(), null);\r\n pAbmGrupos.add(lId, null);\r\n pAbmGrupos.add(getTId(), null);\r\n pAbmGrupos.add(lInfo, null);\r\n \r\n }\r\n return pAbmGrupos;\r\n }", "private void populaUnidade()\n {\n Unidade unidade = new Unidade(\"Unidade Santo Amaro\", \"Horario de funcionamento: 6:00 as 23:00\");\n unidadeDAO.insert(unidade);\n unidade = new Unidade(\"Unidade Aclimação\", \"Horario de funcionamento: 7:00 as 22:00\");\n unidadeDAO.insert(unidade);\n unidade = new Unidade(\"Unidade Vinhedo\", \"Horario de funcionamento: 6:00 as 22:00\");\n unidadeDAO.insert(unidade);\n }" ]
[ "0.67408144", "0.6645665", "0.6447553", "0.6391483", "0.63522166", "0.631647", "0.63057417", "0.6284613", "0.62664235", "0.6236112", "0.62303096", "0.62113154", "0.6199761", "0.61636543", "0.6159346", "0.611859", "0.61182934", "0.6094", "0.6089481", "0.60687274", "0.6052245", "0.6050803", "0.60486287", "0.60161406", "0.60150796", "0.6003891", "0.6003888", "0.6001229", "0.59995645", "0.5974152", "0.5950282", "0.5944365", "0.59435207", "0.5935603", "0.59333116", "0.5930016", "0.5927081", "0.5923467", "0.591628", "0.5898373", "0.5892209", "0.58918846", "0.5873648", "0.58687687", "0.58526325", "0.5847646", "0.5846976", "0.58434033", "0.58406174", "0.58377105", "0.58257973", "0.5819598", "0.58134115", "0.5812426", "0.5804674", "0.5804042", "0.57850724", "0.5780375", "0.57790464", "0.577238", "0.5768744", "0.57666004", "0.57606196", "0.57493174", "0.5739205", "0.5731769", "0.57300276", "0.57259035", "0.5723846", "0.572318", "0.5717002", "0.5714552", "0.57105225", "0.5710467", "0.5704408", "0.5697283", "0.5691423", "0.56905663", "0.56818193", "0.5681298", "0.56729144", "0.56701577", "0.56678665", "0.56616443", "0.5659561", "0.5654816", "0.56531125", "0.5651315", "0.5651126", "0.5649211", "0.56471974", "0.5644143", "0.5631169", "0.56232697", "0.56205475", "0.56199443", "0.56186086", "0.56136626", "0.5612214", "0.5612013", "0.5611007" ]
0.0
-1
mapping tm_customer_ddpay, customerDDPay DAO component
List<CustomerDDPay> selectCustomerDDPay(CustomerDDPay cddp);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void insertCustomerDDPay(CustomerDDPay cddp);", "void updateCustomerDDPay(CustomerDDPay cddp);", "public interface CustomerMapper extends JdMapper<Customer, Long> {\n\t\n\tPage<Customer> selectPageByColumn(Customer customer);\n\t\n\tList<Customer> selectListColumn(Customer customer);\n\tpublic int insertTable(Customer customer);\n\tpublic int updateByPrimaryKeyTable(Customer customer);\n\t\n\tpublic List<Customer> selectByExampleTable(Customer customer);\n\tpublic List<Customer> selectByExampleByPhone(Customer cus);\n\tpublic Customer selectOneTable(Customer customer);\n}", "public interface IPayAccountCardDao\n{\n int Update(PayAccountCard payAccountCard);\n\n int Insert(PayAccountCard payAccountCard);\n\n int Delete(PayAccountCard payAccountCard);\n\n /**\n * 根据网点编号获取该网点银行卡号\n *\n * @param company_code\n * @param payee_id\n * @return\n */\n List<Map<String, Object>> loadBankCardByPayeeId(String company_code, String payee_id);\n\n /**\n * 根据网点编号获取该网点银行卡号\n *\n * @param payAccountCard\n * @return\n */\n List<Map<String, Object>> Select(PayAccountCard payAccountCard);\n\n /**\n * 根据银行卡号获取银行卡银行\n *\n * @param payAccountCard\n * @return\n */\n List<Map<String, Object>> selectBankCardById(PayAccountCard payAccountCard);\n\n /**\n * 设置别名或设置默认标识\n * @param company_code\n * @param payee_id\n * @param account_id\n * @param alias\n * @param default_id\n * @return\n */\n int SetAliasOrDefault(String company_code, String payee_id,String account_id, String alias, int default_id);\n}", "@Mapper\npublic interface SysPayMoneyDao extends BaseMapper<SysPayMoneyEntity> {\n}", "void setCustomerDao(CustomerDao customerDao);", "public interface TenureCustomerMapper {\n /**\n * 按天查询总条数\n * @return\n */\n int selectDayCount(@Param(\"accountId\") int accountId, @Param(\"childId\")int childId,@Param(\"perfect\")int perfect);\n /**\n * 按月查询总条数\n * @return\n */\n int selectMonthCount(@Param(\"accountId\") int accountId, @Param(\"childId\")int childId,@Param(\"perfect\")int perfect);\n /**\n * 按年查询总条数\n * @return\n */\n int selectYearCount(@Param(\"accountId\") int accountId, @Param(\"childId\")int childId,@Param(\"perfect\")int perfect);\n /**\n * 按周查询总条数\n * @return\n */\n int selectWeekCount(@Param(\"accountId\") int accountId, @Param(\"childId\")int childId,@Param(\"perfect\")int perfect);\n\n /**\n * 按月筛选\n * @param accountId\n * @param childId\n * @param perfect\n * @param month\n * @return\n */\n int selectByMonthCount(@Param(\"accountId\") int accountId, @Param(\"childId\")int childId,@Param(\"perfect\")int perfect,@Param(\"month\")String month);\n /**\n * 查询已完善客户总数\n * @param accountId\n * @param childId\n * @return\n */\n int selectYesCount(@Param(\"accountId\") int accountId, @Param(\"childId\")int childId,@Param(\"times\")int times);\n\n int selectYesCountByMonth(@Param(\"accountId\") int accountId, @Param(\"childId\")int childId,@Param(\"month\")String month);\n\n /**\n * 查询待完善客户总数\n * @param accountId\n * @param childId\n * @return\n */\n int selectNoCount(@Param(\"accountId\") int accountId, @Param(\"childId\")int childId,@Param(\"times\")int times);\n\n int selectNoCountByMonth(@Param(\"accountId\") int accountId, @Param(\"childId\")int childId,@Param(\"month\")String month);\n\n int selectBySaledCount(@Param(\"accountId\") int accountId, @Param(\"childId\")int childId,@Param(\"otherId\")int otherId);\n\n List<CustomerTenure> selectBySaledMsg(@Param(\"p1\")int p1, @Param(\"p2\")int p2,@Param(\"accountId\")int accountId,@Param(\"childId\")int childId,@Param(\"otherId\")int otherId);\n /**\n * 查询list\n * @param p1\n * @param p2\n * @param times\n * @param accountId\n * @param childId\n * @return\n */\n List<CustomerTenure> selectTenureMsg(@Param(\"p1\")int p1, @Param(\"p2\")int p2,@Param(\"times\")int times,@Param(\"accountId\")int accountId,@Param(\"childId\")int childId,@Param(\"perfect\")int perfect);\n\n List<CustomerTenure> selectTenureMsgByMonth(@Param(\"p1\")int p1, @Param(\"p2\")int p2,@Param(\"month\")String month,@Param(\"accountId\")int accountId,@Param(\"childId\")int childId,@Param(\"perfect\")int perfect);\n /**\n * 根据id查询tenure表\n * @param tid\n * @return\n */\n CustomerTenure selectTenureAll(@Param(\"tid\")int tid);\n\n /**\n * 根据id查询car表\n * @param tcid\n * @return\n */\n CustomerCar selectCarAll(@Param(\"tcid\") int tcid);\n\n /**\n * 根据关键字查询总数\n */\n int selectBySearch(@Param(\"selects\")String selects,@Param(\"month\")String month,@Param(\"accountId\")int accountId,@Param(\"childId\")int childId);\n\n int selectByNull(@Param(\"accountId\")int accountId,@Param(\"childId\")int childId,@Param(\"times\")int time,@Param(\"month\")String month);\n int selectByNotNull(@Param(\"accountId\")int accountId,@Param(\"childId\")int childId,@Param(\"times\")int time,@Param(\"month\")String month);\n\n /**\n * 根据关键字查询list\n * @param p1\n * @param p2\n * @param selects\n * @param accountId\n * @param childId\n * @return\n */\n List<CustomerTenure> selectSearchList(@Param(\"p1\")int p1,@Param(\"p2\") int p2,@Param(\"selects\")String selects,@Param(\"month\")String month,@Param(\"accountId\")int accountId,@Param(\"childId\")int childId);\n\n List<CustomerTenure> selectNullList(@Param(\"p1\")int p1,@Param(\"p2\") int p2,@Param(\"accountId\")int accountId,@Param(\"childId\")int childId,@Param(\"times\")int time,@Param(\"month\")String month);\n List<CustomerTenure> selectNotNullList(@Param(\"p1\")int p1,@Param(\"p2\") int p2,@Param(\"accountId\")int accountId,@Param(\"childId\")int childId,@Param(\"times\")int time,@Param(\"month\")String month);\n /**\n * 根据tid删除tenure表\n * @param tid\n * @return\n */\n int deleteByTid(@Param(\"tid\")int tid);\n\n /**\n * 根据tcid删除tenurecar表\n * @param tcid\n * @return\n */\n int deleteByTcid(@Param(\"tcid\")int tcid);\n\n /**\n * 根据tid查询tenure表\n * @param tid\n * @return\n */\n CustomerTenure selectTenureById(@Param(\"tid\")int tid);\n\n /**\n * 根据tcid查询tenurecar表\n * @param tcid\n * @return\n */\n CustomerCar selectTenureCarById(@Param(\"tcid\")int tcid);\n\n /**\n * 添加CustomerTenure\n * @param customerTenure\n * @return\n */\n int insertTenure(CustomerTenure customerTenure);\n\n /**\n * 添加CustomerCar\n * @param customerCar\n * @return\n */\n int insertTenureCar(CustomerCar customerCar);\n\n int insertWelfare(Welfare welfare);\n\n int updateWelfare(Welfare welfare);\n\n Welfare selectCarWelfareByMobile(@Param(\"mobile\")String mobile);\n\n int updateTenureMsg(CustomerTenure customerTenure);\n\n List<TenureTask> selectTenureThree();\n\n CustomerTenure selectNewMsgBycustPhone(@Param(\"custPhone\")String custPhone,@Param(\"accountId\")int accountId,@Param(\"childId\")int childId);\n\n List<CustomerTenure> selectCarListByCustPhone(@Param(\"custPhone\")String custPhone,@Param(\"accountId\")int accountId,@Param(\"childId\")int childId);\n\n CustomerTenure selectCustMsgByCarId(int tenurecarId);\n\n int updateOldByNew(CustomerCar customerCar);\n\n int updateNewCarIsDelete(@Param(\"id\") int id);\n\n int selectByProductId(@Param(\"id\")Integer id);\n\n int selectNum(@Param(\"accountId\")int accountId, @Param(\"childId\")int childId, @Param(\"type\")int type);\n\n Page<CustomerTenure> selectListNew(@Param(\"accountId\")int accountId, @Param(\"childId\")int childId, @Param(\"type\")String type, @Param(\"selects\")String selects, @Param(\"compeleteStatus\")String compeleteStatus, @Param(\"dateStatus\")String dateStatus, @Param(\"buyStatus\")String buyStatus);\n\n List<TenureCarFollow> selectFollowMessage(@Param(\"tcid\")int tcid);\n\n int saveFollowMessage(TenureCarFollow tenureCarFollow);\n\n int updateStatusByType(@Param(\"tenurecarId\")Integer tenurecarId, @Param(\"followType\")Integer followType);\n\n int selectByTenurecarId(@Param(\"tcid\")Integer tcid);\n}", "@Mapper\npublic interface CscpBusinessDao {\n List<CscpBusiness> getBusinessList(CscpBusinessDTO business);\n void insert(CscpBusiness business);\n void update(CscpBusiness business);\n int delete(Map<String,List<String>> maps);\n}", "public interface CashRegisterDAO {\n public void addCashRegister(CashRegister cashRegister ) throws SQLException;\n public void updateCashRegister(CashRegister cashRegister ) throws SQLException;\n public CashRegister getCashRegisterById(Long cashregister_id) throws SQLException;\n public Collection getAllCashRegister() throws SQLException;\n public void deleteCashRegister(CashRegister cashRegister) throws SQLException;\n}", "public interface CustomerDao {\n\n //总条数\n public Integer customerCountByQueryVo(QueryVo vo);\n //结果集\n public List<Customer> selectCustomerListByQueryVo(QueryVo vo);\n\n //通过id查询客户\n public Customer selectCustomerById(Integer id);\n\n //通过id修改客户\n public void updateCustomerById(Customer customer);\n\n //通过id删除客户\n public void deleteCustomerById(Integer id);\n\n //通过id增加客户\n public void addCustomerById(Customer customer);\n}", "@MyBatisDao\npublic interface ContnDao extends BaseDao<Contn> {\n\n Contn get(@Param(\"id\") int id);\n\n Contn getByContnNo(@Param(\"contnNo\") String contnNo);\n}", "public interface CustomerDAO {\n\t\n\tpublic List<Customer> getCustomerList();\n\n\tpublic void saveCustomer(Customer customer);\n\n\tpublic Customer getCustomer(int id);\n\n\tpublic void deleteCustomer(int id);\n\n\tpublic List<Customer> searchCustomer(String searchCustomer);\n\t\n}", "@Mapper\npublic interface PaymentDao {\n int create(Payment payment);\n Payment paymentById(@Param(\"id\") Long id);\n}", "public interface SalesDateLocationDetailService extends BaseService<SalesDateLocationDetailHolder>,\r\n DBActionService<SalesDateLocationDetailHolder>\r\n{\r\n public List<SalesDateLocationDetailHolder> selectSalesLocationDetailByKey(BigDecimal salesOid) throws Exception;\r\n}", "public interface BookLoginDao {\r\n int SaveBookLogin(BookLogin bookLogin);\r\n\r\n int getLastOrder();\r\n\r\n Map<String, Object> getBookLoginPage(DataGridModel dgm, Login_Catalog bookLogin);\r\n\r\n\r\n}", "public GenericDao<Payment> getPaymentDao();", "public GenericDao<CreditCard> getCreditCardDao();", "public interface BossPayDao {\n boolean addBossPay(BossPay bossPay);\n\n boolean updateBossPay(BossPay bossPay);\n\n List<BossPay> getAllBossPay();\n\n}", "@MyBatisRepository\npublic interface TypeCusMapper {\n\tvoid insert(TypeCus typeCus);\n\n\tvoid delete(Long typeCusId);\n\t\n\tvoid removeTcs(TypeCusQB tcQb);\n\n\tvoid update(TypeCus typeCus);\n\n\tTypeCus select(Long typeCusId);\n\n\tList<TypeCus> selectList(TypeCusQB queryBean);\n\n\tList<TypeCus> selectPage(PagingQueryBean<TypeCusQB> pagingQueryBean);\n\n\tInteger selectCount(PagingQueryBean<TypeCusQB> pagingQueryBean);\n\n\tObject proc(TypeCus typeCus);\n\t\n\tList<Customer> selectComplex(PagingQueryBean<TypeCusQB> pagingQueryBean);;\n\t\n\tInteger selectComplexCount(PagingQueryBean<TypeCusQB> pagingQueryBean);\n\tLong getMaxOrder(Long typeId);\n}", "public interface SysRouteCustomerConfigDao {\n\t\n\t/**\n\t * \n\t * @param bankInterface\n\t * @param bankCustomerNo\n\t * @param status\n\t * @return\n\t */\n\tpublic SysRouteCustomerConfig findByBankInterfaceAndBankCustNoAndStatus(String bankInterface, String bankCustomerNo, Status status);\n\n\t/**\n\t * @param sysRouteCustomerConfig\n\t */\n\tpublic SysRouteCustomerConfig create(SysRouteCustomerConfig sysRouteCustomerConfig);\n\t\n\t/**\n\t * \n\t * @param config\n\t * @return\n\t */\n\tpublic SysRouteCustomerConfig update(SysRouteCustomerConfig config);\n\t\n\tpublic SysRouteCustomerConfig findById(Long id);\n\t\n}", "public PosPay findPosPayById(Long id)throws DataAccessException;", "public interface CustomerDao {\n// 添加一个用户信息\n Customers add(Customers customers);\n\n// 删除一个用户信息\n void delete(int customerId);\n\n// 更新一个用户信息\n Customers update(Customers customers);\n\n// 得到所有的用户\n List<Customers> getAll();\n\n// 得到一个用户序号对应的用户信息\n Customers getOne(int customerId);\n}", "List<Purchase> retrieveForCustomerID(Long customerID) throws SQLException, DAOException;", "public DeptpkDAOImpl(SqlMapClient sqlMapClient) {\r\n super();\r\n this.sqlMapClient = sqlMapClient;\r\n }", "@Mapper\npublic interface DiscountMapper extends IBaseDao<DiscountDTO>{\n\n /**\n * 查询DISCOUNT表\n * @param (supplierId)\n */\n List<DiscountDTO> findAllBySupplierID(String supplierId);\n\n}", "@Override\n\tpublic MstCustomerDto getOne(String kdCustomer) {\n\t\tMstCustomerDto mstCustomerDto=new MstCustomerDto();\n\t\tMstCustomer mstCustomer = new MstCustomer();\n\t\tmstCustomer=mstCustomerDao.getOne(kdCustomer);\n\t\tmstCustomerDto = mapperFacade.map(mstCustomer, MstCustomerDto.class);\n\t\t\n\t\treturn mstCustomerDto;\n\t}", "public interface DcSquadDAO {\n /**\n * Insert one <tt>DcSquadDO</tt> object to DB table <tt>dc_squad</tt>, return primary key\n *\n * <p>\n * The sql statement for this operation is <br>\n * <tt>insert into dc_squad(squad_name,squad_desc,axiser,cubers,followers,investors,status,gmt_create,gmt_modify,attention) values (?, ?, ?, ?, ?, ?, ?, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP, ?)</tt>\n *\n *\t@param dcSquad\n *\t@return long\n *\t@throws DataAccessException\n */\n public long insert(DcSquadDO dcSquad) throws DataAccessException;\n\n /**\n * Query DB table <tt>dc_squad</tt> for records.\n *\n * <p>\n * The sql statement for this operation is <br>\n * <tt>select * from dc_squad</tt>\n *\n *\t@return List<DcSquadDO>\n *\t@throws DataAccessException\n */\n public List<DcSquadDO> load() throws DataAccessException;\n\n /**\n * Query DB table <tt>dc_squad</tt> for records.\n *\n * <p>\n * The sql statement for this operation is <br>\n * <tt>select * from dc_squad where (id = ?)</tt>\n *\n *\t@param id\n *\t@return DcSquadDO\n *\t@throws DataAccessException\n */\n public DcSquadDO loadById(long id) throws DataAccessException;\n\n /**\n * Query DB table <tt>dc_squad</tt> for records.\n *\n * <p>\n * The sql statement for this operation is <br>\n * <tt>select * from dc_squad where (squad_name = ?)</tt>\n *\n *\t@param squadName\n *\t@return DcSquadDO\n *\t@throws DataAccessException\n */\n public DcSquadDO loadByName(String squadName) throws DataAccessException;\n\n /**\n * Update DB table <tt>dc_squad</tt>.\n *\n * <p>\n * The sql statement for this operation is <br>\n * <tt>update dc_squad set squad_name=?, squad_desc=?, axiser=?, cubers=?, followers=?, investors=?, status=?, gmt_modify=CURRENT_TIMESTAMP where (id = ?)</tt>\n *\n *\t@param dcSquad\n *\t@return int\n *\t@throws DataAccessException\n */\n public int update(DcSquadDO dcSquad) throws DataAccessException;\n\n /**\n * Delete records from DB table <tt>dc_squad</tt>.\n *\n * <p>\n * The sql statement for this operation is <br>\n * <tt>delete from dc_squad where (id = ?)</tt>\n *\n *\t@param id\n *\t@return int\n *\t@throws DataAccessException\n */\n public int deleteById(long id) throws DataAccessException;\n\n /**\n * Query DB table <tt>dc_squad</tt> for records.\n *\n * <p>\n * The sql statement for this operation is <br>\n * <tt>select * from dc_squad where ((squad_name = ?) AND (axiser = ?) AND (cubers = ?) AND (followers = ?) AND (investors = ?) AND (status = ?) AND (gmt_create = ?) AND (gmt_modify = ?))</tt>\n *\n *\t@param squadName\n *\t@param axiser\n *\t@param cubers\n *\t@param followers\n *\t@param investors\n *\t@param status\n *\t@param gmtCreate\n *\t@param gmtModify\n *\t@param pageSize\n *\t@param pageNum\n *\t@return PageList\n *\t@throws DataAccessException\n */\n public PageList query(String squadName, String axiser, String cubers, String followers,\n String investors, String status, Date gmtCreate, Date gmtModify,\n int pageSize, int pageNum) throws DataAccessException;\n\n /**\n * Update DB table <tt>dc_squad</tt>.\n *\n * <p>\n * The sql statement for this operation is <br>\n * <tt>update dc_squad set attention=? where (id = ?)</tt>\n *\n *\t@param attention\n *\t@param id\n *\t@return int\n *\t@throws DataAccessException\n */\n public int updateAttention(long attention, long id) throws DataAccessException;\n\n}", "public interface MaestroPersonalDAO {\n\tpublic MaestroPersonalBean obtenerPersonaxUsuario(String cod_user)\n\tthrows DataAccessException;\n\t\n\tpublic MaestroPersonalBean obtenerPersonaxCodigo(String cod_empl)\n\tthrows DataAccessException;\n\t\n\tpublic MaestroPersonalBean obtenerPersonaxRegistro(String cod_reg)\n\tthrows DataAccessException;\n\t\n\tpublic String obtenerCorreoEmpleado(Map<String,Object> parm)\n\t\t\tthrows DataAccessException;\n\t\n\tpublic String obtenerRegistroPersonal(String cod_user)\n\tthrows DataAccessException;\n\t\n\tpublic String obtenerJefeInmediato(String cod_empl)\n\tthrows DataAccessException;\n\t\n\tpublic String obtenerIntendente(String cod_empl)\n\tthrows DataAccessException;\n\t\n\tpublic String obtenerAprobador(String cod_empl)\n\tthrows DataAccessException;\n\t\n\tpublic String obtenerAprobadorAUC(String cod_auc)\n\tthrows DataAccessException;\n\t\n\tpublic String esIntendente(String cod_empl)\n\tthrows DataAccessException;\n\t\n\tpublic String esAprobador(String cod_empl)\n\tthrows DataAccessException;\n\t\n\tpublic String obtenerSuperIntendente(String cod_empl)\n\tthrows DataAccessException;\n\t\n\t\n\tpublic String esJefeUBG(String cod_empl)\n\tthrows DataAccessException;\n\n\tpublic Collection<MaestroPersonalBean> listarMaestroPersonal(Map parm)\n\tthrows DataAccessException;\n\n\tpublic Collection<MaestroPersonalBean> buscarMaestroPersonal(Map parm)\n\t\t\tthrows DataAccessException ;\n\t\n\t\n\tpublic Collection<MaestroPersonalBean> buscarMaestroPersonalInactivo(Map parm)\n\t\t\tthrows DataAccessException ;\n\t\n\t\n\t\n\t\n\tpublic Collection<MaestroPersonalBean> buscarMaestroPersonalMovilidad(Map parm)\n\t\t\tthrows DataAccessException ;\n\tpublic Collection<MaestroPersonalBean> buscarMaestroPersonalViaticos(Map parm)\n\t\t\tthrows DataAccessException ;\n\tpublic String obtenerJefeInmediatoEncargado(String cod_empl, String cod_encargado)\n\tthrows DataAccessException;\n\t\n\tpublic String obtenerAprobadorEncargado(String cod_empl, String cod_encargado)\n\tthrows DataAccessException;\n\t\n\tpublic String obtenerAprobadorEncargadoAUC(String cod_auc, String cod_encargado)\n\tthrows DataAccessException;\n\t\n\tpublic String esAprobadorEncargado(String cod_empl)\n\tthrows DataAccessException;\n\t\n////////////////////////////////////////////////////////////////////////\t\n\tpublic String esJefe(String cod_empl, String cod_dep )\n\tthrows DataAccessException;\n\t\n\tpublic String obtenerJefeAuc(String cod_dep)\n\tthrows DataAccessException;\n\t\n\tpublic String esJefeInmediatoEncargado(String cod_empl, String cod_enca)\n\tthrows DataAccessException;\n\t\n\tpublic String verificaEncargo(String cod_empl, String cod_enca)\n\tthrows DataAccessException;\n\t\n\tpublic MaestroPersonalBean obtenerCategoriaGasto(String codigoEmpleado) throws DataAccessException;\n\t\n\tpublic String determinaJefeInmediatoEncargadoMovilidad(String codigoEmpleado) throws DataAccessException;\n\t\n\tpublic String determinaAutorizadorGastoMovilidad(String codigoEmpleado) throws DataAccessException;\n\t\n\tpublic String determinaAutorizadorGastoViatico(String codigoEmpleado) throws DataAccessException;\n\t\n\tpublic List<MaestroPersonalBean> buscarMaestroPersonalComisionadoInactivo(Map<String, Object> parm) throws DataAccessException;\n\n\tpublic String buscarNombreAutorizador(String codigoEmpleado) throws Exception;\n\t\n\t//PAS201780000300007\n\tpublic boolean esPerfilColaboradorJefe(String codDependencia,String codEmpleado ) throws DataAccessException;\n\tpublic boolean esPerfilColaboradorEncargado(String codDependencia,String codEmpleado ) throws DataAccessException;\n\tpublic abstract boolean esEncargadoOtraUuoo(String codEmpleado) throws DataAccessException;\n\tpublic abstract boolean esEncargadoAuc(String codEmpleado) throws DataAccessException;\n\tpublic String obtenerCadenaUuoosQueEsJefe(String codEmpleadoJefe) throws DataAccessException;\n}", "void insertCart(int customer_id, detailDTO re) throws DataAccessException;", "DepAcctDO selectByPrimaryKey(String depCode);", "public interface SDeptDao extends BaseMapper<SDept> {\n\t\n}", "public interface CustomerOrderDao {\n\n void addCustomerOrder(CustomerOrder customerOrder);\n\n}", "public CreditChainDao() {\n super(CreditChain.CREDIT_CHAIN, com.generator.tables.pojos.CreditChain.class);\n }", "@SuppressWarnings(\"all\")\npublic interface I_BSCA_PriceChange \n{\n\n /** TableName=BSCA_PriceChange */\n public static final String Table_Name = \"BSCA_PriceChange\";\n\n /** AD_Table_ID=1000276 */\n public static final int Table_ID = MTable.getTable_ID(Table_Name);\n\n KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);\n\n /** AccessLevel = 3 - Client - Org \n */\n BigDecimal accessLevel = BigDecimal.valueOf(3);\n\n /** Load Meta Data */\n\n /** Column name AD_Client_ID */\n public static final String COLUMNNAME_AD_Client_ID = \"AD_Client_ID\";\n\n\t/** Get Client.\n\t * Client/Tenant for this installation.\n\t */\n\tpublic int getAD_Client_ID();\n\n /** Column name AD_Org_ID */\n public static final String COLUMNNAME_AD_Org_ID = \"AD_Org_ID\";\n\n\t/** Set Organization.\n\t * Organizational entity within client\n\t */\n\tpublic void setAD_Org_ID (int AD_Org_ID);\n\n\t/** Get Organization.\n\t * Organizational entity within client\n\t */\n\tpublic int getAD_Org_ID();\n\n /** Column name AD_OrgTrx_ID */\n public static final String COLUMNNAME_AD_OrgTrx_ID = \"AD_OrgTrx_ID\";\n\n\t/** Set Trx Organization.\n\t * Performing or initiating organization\n\t */\n\tpublic void setAD_OrgTrx_ID (int AD_OrgTrx_ID);\n\n\t/** Get Trx Organization.\n\t * Performing or initiating organization\n\t */\n\tpublic int getAD_OrgTrx_ID();\n\n /** Column name BSCA_CompletedBy_ID */\n public static final String COLUMNNAME_BSCA_CompletedBy_ID = \"BSCA_CompletedBy_ID\";\n\n\t/** Set BSCA_CompletedBy_ID\t */\n\tpublic void setBSCA_CompletedBy_ID (int BSCA_CompletedBy_ID);\n\n\t/** Get BSCA_CompletedBy_ID\t */\n\tpublic int getBSCA_CompletedBy_ID();\n\n\tpublic org.compiere.model.I_AD_User getBSCA_CompletedBy() throws RuntimeException;\n\n /** Column name BSCA_PreparedBy_ID */\n public static final String COLUMNNAME_BSCA_PreparedBy_ID = \"BSCA_PreparedBy_ID\";\n\n\t/** Set BSCA_PreparedBy_ID\t */\n\tpublic void setBSCA_PreparedBy_ID (int BSCA_PreparedBy_ID);\n\n\t/** Get BSCA_PreparedBy_ID\t */\n\tpublic int getBSCA_PreparedBy_ID();\n\n\tpublic org.compiere.model.I_AD_User getBSCA_PreparedBy() throws RuntimeException;\n\n /** Column name BSCA_PriceChange_ID */\n public static final String COLUMNNAME_BSCA_PriceChange_ID = \"BSCA_PriceChange_ID\";\n\n\t/** Set Price Change\t */\n\tpublic void setBSCA_PriceChange_ID (int BSCA_PriceChange_ID);\n\n\t/** Get Price Change\t */\n\tpublic int getBSCA_PriceChange_ID();\n\n /** Column name BSCA_PriceChangePrev_ID */\n public static final String COLUMNNAME_BSCA_PriceChangePrev_ID = \"BSCA_PriceChangePrev_ID\";\n\n\t/** Set Price Change Previus\t */\n\tpublic void setBSCA_PriceChangePrev_ID (int BSCA_PriceChangePrev_ID);\n\n\t/** Get Price Change Previus\t */\n\tpublic int getBSCA_PriceChangePrev_ID();\n\n\tpublic com.bucaresystems.model.I_BSCA_PriceChange getBSCA_PriceChangePrev() throws RuntimeException;\n\n /** Column name BSCA_PriceChange_UU */\n public static final String COLUMNNAME_BSCA_PriceChange_UU = \"BSCA_PriceChange_UU\";\n\n\t/** Set BSCA_PriceChange_UU\t */\n\tpublic void setBSCA_PriceChange_UU (String BSCA_PriceChange_UU);\n\n\t/** Get BSCA_PriceChange_UU\t */\n\tpublic String getBSCA_PriceChange_UU();\n\n /** Column name BSCA_PrintPrice */\n public static final String COLUMNNAME_BSCA_PrintPrice = \"BSCA_PrintPrice\";\n\n\t/** Set Print Price\t */\n\tpublic void setBSCA_PrintPrice (String BSCA_PrintPrice);\n\n\t/** Get Print Price\t */\n\tpublic String getBSCA_PrintPrice();\n\n /** Column name BSCA_PrintPrice2 */\n public static final String COLUMNNAME_BSCA_PrintPrice2 = \"BSCA_PrintPrice2\";\n\n\t/** Set Print Price 2\t */\n\tpublic void setBSCA_PrintPrice2 (String BSCA_PrintPrice2);\n\n\t/** Get Print Price 2\t */\n\tpublic String getBSCA_PrintPrice2();\n\n /** Column name BSCA_ProductValue_ID */\n public static final String COLUMNNAME_BSCA_ProductValue_ID = \"BSCA_ProductValue_ID\";\n\n\t/** Set BSCA_ProductValue\t */\n\tpublic void setBSCA_ProductValue_ID (int BSCA_ProductValue_ID);\n\n\t/** Get BSCA_ProductValue\t */\n\tpublic int getBSCA_ProductValue_ID();\n\n\tpublic com.bucaresystems.model.I_BSCA_ProductValue getBSCA_ProductValue() throws RuntimeException;\n\n /** Column name BSCA_ProfitPriceLimit */\n public static final String COLUMNNAME_BSCA_ProfitPriceLimit = \"BSCA_ProfitPriceLimit\";\n\n\t/** Set Profit Price Limit\t */\n\tpublic void setBSCA_ProfitPriceLimit (BigDecimal BSCA_ProfitPriceLimit);\n\n\t/** Get Profit Price Limit\t */\n\tpublic BigDecimal getBSCA_ProfitPriceLimit();\n\n /** Column name BSCA_ProfitPriceLimitEntered */\n public static final String COLUMNNAME_BSCA_ProfitPriceLimitEntered = \"BSCA_ProfitPriceLimitEntered\";\n\n\t/** Set Profit Price Limit Entered\t */\n\tpublic void setBSCA_ProfitPriceLimitEntered (BigDecimal BSCA_ProfitPriceLimitEntered);\n\n\t/** Get Profit Price Limit Entered\t */\n\tpublic BigDecimal getBSCA_ProfitPriceLimitEntered();\n\n /** Column name BSCA_ProfitPriceList */\n public static final String COLUMNNAME_BSCA_ProfitPriceList = \"BSCA_ProfitPriceList\";\n\n\t/** Set Profit Price List\t */\n\tpublic void setBSCA_ProfitPriceList (BigDecimal BSCA_ProfitPriceList);\n\n\t/** Get Profit Price List\t */\n\tpublic BigDecimal getBSCA_ProfitPriceList();\n\n /** Column name BSCA_ProfitPriceListEntered */\n public static final String COLUMNNAME_BSCA_ProfitPriceListEntered = \"BSCA_ProfitPriceListEntered\";\n\n\t/** Set Profit Price List Entered\t */\n\tpublic void setBSCA_ProfitPriceListEntered (BigDecimal BSCA_ProfitPriceListEntered);\n\n\t/** Get Profit Price List Entered\t */\n\tpublic BigDecimal getBSCA_ProfitPriceListEntered();\n\n /** Column name BSCA_ProfitPriceStd */\n public static final String COLUMNNAME_BSCA_ProfitPriceStd = \"BSCA_ProfitPriceStd\";\n\n\t/** Set Profit Price Std\t */\n\tpublic void setBSCA_ProfitPriceStd (BigDecimal BSCA_ProfitPriceStd);\n\n\t/** Get Profit Price Std\t */\n\tpublic BigDecimal getBSCA_ProfitPriceStd();\n\n /** Column name BSCA_ProfitPriceStdEntered */\n public static final String COLUMNNAME_BSCA_ProfitPriceStdEntered = \"BSCA_ProfitPriceStdEntered\";\n\n\t/** Set Profit Price Std Entered\t */\n\tpublic void setBSCA_ProfitPriceStdEntered (BigDecimal BSCA_ProfitPriceStdEntered);\n\n\t/** Get Profit Price Std Entered\t */\n\tpublic BigDecimal getBSCA_ProfitPriceStdEntered();\n\n /** Column name BSCA_QtyCurrent */\n public static final String COLUMNNAME_BSCA_QtyCurrent = \"BSCA_QtyCurrent\";\n\n\t/** Set Qty Current\t */\n\tpublic void setBSCA_QtyCurrent (BigDecimal BSCA_QtyCurrent);\n\n\t/** Get Qty Current\t */\n\tpublic BigDecimal getBSCA_QtyCurrent();\n\n /** Column name BSCA_SendTxtScale */\n public static final String COLUMNNAME_BSCA_SendTxtScale = \"BSCA_SendTxtScale\";\n\n\t/** Set Send Txt Scale\t */\n\tpublic void setBSCA_SendTxtScale (String BSCA_SendTxtScale);\n\n\t/** Get Send Txt Scale\t */\n\tpublic String getBSCA_SendTxtScale();\n\n /** Column name C_DocType_ID */\n public static final String COLUMNNAME_C_DocType_ID = \"C_DocType_ID\";\n\n\t/** Set Document Type.\n\t * Document type or rules\n\t */\n\tpublic void setC_DocType_ID (int C_DocType_ID);\n\n\t/** Get Document Type.\n\t * Document type or rules\n\t */\n\tpublic int getC_DocType_ID();\n\n\tpublic org.compiere.model.I_C_DocType getC_DocType() throws RuntimeException;\n\n /** Column name C_DocTypeTarget_ID */\n public static final String COLUMNNAME_C_DocTypeTarget_ID = \"C_DocTypeTarget_ID\";\n\n\t/** Set Target Document Type.\n\t * Target document type for conversing documents\n\t */\n\tpublic void setC_DocTypeTarget_ID (int C_DocTypeTarget_ID);\n\n\t/** Get Target Document Type.\n\t * Target document type for conversing documents\n\t */\n\tpublic int getC_DocTypeTarget_ID();\n\n\tpublic org.compiere.model.I_C_DocType getC_DocTypeTarget() throws RuntimeException;\n\n /** Column name C_Invoice_ID */\n public static final String COLUMNNAME_C_Invoice_ID = \"C_Invoice_ID\";\n\n\t/** Set Invoice.\n\t * Invoice Identifier\n\t */\n\tpublic void setC_Invoice_ID (int C_Invoice_ID);\n\n\t/** Get Invoice.\n\t * Invoice Identifier\n\t */\n\tpublic int getC_Invoice_ID();\n\n\tpublic org.compiere.model.I_C_Invoice getC_Invoice() throws RuntimeException;\n\n /** Column name C_Order_ID */\n public static final String COLUMNNAME_C_Order_ID = \"C_Order_ID\";\n\n\t/** Set Order.\n\t * Order\n\t */\n\tpublic void setC_Order_ID (int C_Order_ID);\n\n\t/** Get Order.\n\t * Order\n\t */\n\tpublic int getC_Order_ID();\n\n\tpublic org.compiere.model.I_C_Order getC_Order() throws RuntimeException;\n\n /** Column name Created */\n public static final String COLUMNNAME_Created = \"Created\";\n\n\t/** Get Created.\n\t * Date this record was created\n\t */\n\tpublic Timestamp getCreated();\n\n /** Column name CreatedBy */\n public static final String COLUMNNAME_CreatedBy = \"CreatedBy\";\n\n\t/** Get Created By.\n\t * User who created this records\n\t */\n\tpublic int getCreatedBy();\n\n /** Column name DateAcct */\n public static final String COLUMNNAME_DateAcct = \"DateAcct\";\n\n\t/** Set Account Date.\n\t * Accounting Date\n\t */\n\tpublic void setDateAcct (Timestamp DateAcct);\n\n\t/** Get Account Date.\n\t * Accounting Date\n\t */\n\tpublic Timestamp getDateAcct();\n\n /** Column name DateCompleted */\n public static final String COLUMNNAME_DateCompleted = \"DateCompleted\";\n\n\t/** Set Date Completed\t */\n\tpublic void setDateCompleted (Timestamp DateCompleted);\n\n\t/** Get Date Completed\t */\n\tpublic Timestamp getDateCompleted();\n\n /** Column name DateInvoiced */\n public static final String COLUMNNAME_DateInvoiced = \"DateInvoiced\";\n\n\t/** Set Date Invoiced.\n\t * Date printed on Invoice\n\t */\n\tpublic void setDateInvoiced (Timestamp DateInvoiced);\n\n\t/** Get Date Invoiced.\n\t * Date printed on Invoice\n\t */\n\tpublic Timestamp getDateInvoiced();\n\n /** Column name DateOrdered */\n public static final String COLUMNNAME_DateOrdered = \"DateOrdered\";\n\n\t/** Set Date Ordered.\n\t * Date of Order\n\t */\n\tpublic void setDateOrdered (Timestamp DateOrdered);\n\n\t/** Get Date Ordered.\n\t * Date of Order\n\t */\n\tpublic Timestamp getDateOrdered();\n\n /** Column name DatePrepared */\n public static final String COLUMNNAME_DatePrepared = \"DatePrepared\";\n\n\t/** Set Date Prepared\t */\n\tpublic void setDatePrepared (Timestamp DatePrepared);\n\n\t/** Get Date Prepared\t */\n\tpublic Timestamp getDatePrepared();\n\n /** Column name DocAction */\n public static final String COLUMNNAME_DocAction = \"DocAction\";\n\n\t/** Set Document Action.\n\t * The targeted status of the document\n\t */\n\tpublic void setDocAction (String DocAction);\n\n\t/** Get Document Action.\n\t * The targeted status of the document\n\t */\n\tpublic String getDocAction();\n\n /** Column name DocStatus */\n public static final String COLUMNNAME_DocStatus = \"DocStatus\";\n\n\t/** Set Document Status.\n\t * The current status of the document\n\t */\n\tpublic void setDocStatus (String DocStatus);\n\n\t/** Get Document Status.\n\t * The current status of the document\n\t */\n\tpublic String getDocStatus();\n\n /** Column name DocumentNo */\n public static final String COLUMNNAME_DocumentNo = \"DocumentNo\";\n\n\t/** Set Document No.\n\t * Document sequence number of the document\n\t */\n\tpublic void setDocumentNo (String DocumentNo);\n\n\t/** Get Document No.\n\t * Document sequence number of the document\n\t */\n\tpublic String getDocumentNo();\n\n /** Column name IsActive */\n public static final String COLUMNNAME_IsActive = \"IsActive\";\n\n\t/** Set Active.\n\t * The record is active in the system\n\t */\n\tpublic void setIsActive (boolean IsActive);\n\n\t/** Get Active.\n\t * The record is active in the system\n\t */\n\tpublic boolean isActive();\n\n /** Column name IsApproved */\n public static final String COLUMNNAME_IsApproved = \"IsApproved\";\n\n\t/** Set Approved.\n\t * Indicates if this document requires approval\n\t */\n\tpublic void setIsApproved (boolean IsApproved);\n\n\t/** Get Approved.\n\t * Indicates if this document requires approval\n\t */\n\tpublic boolean isApproved();\n\n /** Column name IsFixPrice */\n public static final String COLUMNNAME_IsFixPrice = \"IsFixPrice\";\n\n\t/** Set Is Fix Price\t */\n\tpublic void setIsFixPrice (String IsFixPrice);\n\n\t/** Get Is Fix Price\t */\n\tpublic String getIsFixPrice();\n\n /** Column name IsFromMassUpdate */\n public static final String COLUMNNAME_IsFromMassUpdate = \"IsFromMassUpdate\";\n\n\t/** Set Is From Mass Update\t */\n\tpublic void setIsFromMassUpdate (boolean IsFromMassUpdate);\n\n\t/** Get Is From Mass Update\t */\n\tpublic boolean isFromMassUpdate();\n\n /** Column name IsSetPriceLimit */\n public static final String COLUMNNAME_IsSetPriceLimit = \"IsSetPriceLimit\";\n\n\t/** Set Is Set Price Limit\t */\n\tpublic void setIsSetPriceLimit (boolean IsSetPriceLimit);\n\n\t/** Get Is Set Price Limit\t */\n\tpublic boolean isSetPriceLimit();\n\n /** Column name IsSetPriceList */\n public static final String COLUMNNAME_IsSetPriceList = \"IsSetPriceList\";\n\n\t/** Set Is Set Price List\t */\n\tpublic void setIsSetPriceList (boolean IsSetPriceList);\n\n\t/** Get Is Set Price List\t */\n\tpublic boolean isSetPriceList();\n\n /** Column name IsSetPriceStd */\n public static final String COLUMNNAME_IsSetPriceStd = \"IsSetPriceStd\";\n\n\t/** Set Is Set Price Std\t */\n\tpublic void setIsSetPriceStd (boolean IsSetPriceStd);\n\n\t/** Get Is Set Price Std\t */\n\tpublic boolean isSetPriceStd();\n\n /** Column name IsVoidPrevDocs */\n public static final String COLUMNNAME_IsVoidPrevDocs = \"IsVoidPrevDocs\";\n\n\t/** Set Is Void Previous Documents\t */\n\tpublic void setIsVoidPrevDocs (boolean IsVoidPrevDocs);\n\n\t/** Get Is Void Previous Documents\t */\n\tpublic boolean isVoidPrevDocs();\n\n /** Column name Limit_Base */\n public static final String COLUMNNAME_Limit_Base = \"Limit_Base\";\n\n\t/** Set Limit price Base.\n\t * Base price for calculation of the new price\n\t */\n\tpublic void setLimit_Base (String Limit_Base);\n\n\t/** Get Limit price Base.\n\t * Base price for calculation of the new price\n\t */\n\tpublic String getLimit_Base();\n\n /** Column name List_Base */\n public static final String COLUMNNAME_List_Base = \"List_Base\";\n\n\t/** Set List price Base.\n\t * Price used as the basis for price list calculations\n\t */\n\tpublic void setList_Base (String List_Base);\n\n\t/** Get List price Base.\n\t * Price used as the basis for price list calculations\n\t */\n\tpublic String getList_Base();\n\n /** Column name M_InOut_ID */\n public static final String COLUMNNAME_M_InOut_ID = \"M_InOut_ID\";\n\n\t/** Set Shipment/Receipt.\n\t * Material Shipment Document\n\t */\n\tpublic void setM_InOut_ID (int M_InOut_ID);\n\n\t/** Get Shipment/Receipt.\n\t * Material Shipment Document\n\t */\n\tpublic int getM_InOut_ID();\n\n\tpublic org.compiere.model.I_M_InOut getM_InOut() throws RuntimeException;\n\n /** Column name M_MovementConfirm_ID */\n public static final String COLUMNNAME_M_MovementConfirm_ID = \"M_MovementConfirm_ID\";\n\n\t/** Set Move Confirm.\n\t * Inventory Move Confirmation\n\t */\n\tpublic void setM_MovementConfirm_ID (int M_MovementConfirm_ID);\n\n\t/** Get Move Confirm.\n\t * Inventory Move Confirmation\n\t */\n\tpublic int getM_MovementConfirm_ID();\n\n\tpublic org.compiere.model.I_M_MovementConfirm getM_MovementConfirm() throws RuntimeException;\n\n /** Column name MovementDate */\n public static final String COLUMNNAME_MovementDate = \"MovementDate\";\n\n\t/** Set Movement Date.\n\t * Date a product was moved in or out of inventory\n\t */\n\tpublic void setMovementDate (Timestamp MovementDate);\n\n\t/** Get Movement Date.\n\t * Date a product was moved in or out of inventory\n\t */\n\tpublic Timestamp getMovementDate();\n\n /** Column name M_PriceList_Version_ID */\n public static final String COLUMNNAME_M_PriceList_Version_ID = \"M_PriceList_Version_ID\";\n\n\t/** Set Price List Version.\n\t * Identifies a unique instance of a Price List\n\t */\n\tpublic void setM_PriceList_Version_ID (int M_PriceList_Version_ID);\n\n\t/** Get Price List Version.\n\t * Identifies a unique instance of a Price List\n\t */\n\tpublic int getM_PriceList_Version_ID();\n\n\tpublic org.compiere.model.I_M_PriceList_Version getM_PriceList_Version() throws RuntimeException;\n\n /** Column name M_Product_ID */\n public static final String COLUMNNAME_M_Product_ID = \"M_Product_ID\";\n\n\t/** Set Product.\n\t * Product, Service, Item\n\t */\n\tpublic void setM_Product_ID (int M_Product_ID);\n\n\t/** Get Product.\n\t * Product, Service, Item\n\t */\n\tpublic int getM_Product_ID();\n\n\tpublic org.compiere.model.I_M_Product getM_Product() throws RuntimeException;\n\n /** Column name M_Production_ID */\n public static final String COLUMNNAME_M_Production_ID = \"M_Production_ID\";\n\n\t/** Set Production.\n\t * Plan for producing a product\n\t */\n\tpublic void setM_Production_ID (int M_Production_ID);\n\n\t/** Get Production.\n\t * Plan for producing a product\n\t */\n\tpublic int getM_Production_ID();\n\n\tpublic org.compiere.model.I_M_Production getM_Production() throws RuntimeException;\n\n /** Column name PercentageProfitPLimit */\n public static final String COLUMNNAME_PercentageProfitPLimit = \"PercentageProfitPLimit\";\n\n\t/** Set Percentage Profit Price Limit\t */\n\tpublic void setPercentageProfitPLimit (BigDecimal PercentageProfitPLimit);\n\n\t/** Get Percentage Profit Price Limit\t */\n\tpublic BigDecimal getPercentageProfitPLimit();\n\n /** Column name PercentageProfitPList */\n public static final String COLUMNNAME_PercentageProfitPList = \"PercentageProfitPList\";\n\n\t/** Set Percentage Profit Price List\t */\n\tpublic void setPercentageProfitPList (BigDecimal PercentageProfitPList);\n\n\t/** Get Percentage Profit Price List\t */\n\tpublic BigDecimal getPercentageProfitPList();\n\n /** Column name PercentageProfitPStd */\n public static final String COLUMNNAME_PercentageProfitPStd = \"PercentageProfitPStd\";\n\n\t/** Set Percentage Profit Price Standart\t */\n\tpublic void setPercentageProfitPStd (BigDecimal PercentageProfitPStd);\n\n\t/** Get Percentage Profit Price Standart\t */\n\tpublic BigDecimal getPercentageProfitPStd();\n\n /** Column name PriceActual */\n public static final String COLUMNNAME_PriceActual = \"PriceActual\";\n\n\t/** Set Unit Price.\n\t * Actual Price \n\t */\n\tpublic void setPriceActual (BigDecimal PriceActual);\n\n\t/** Get Unit Price.\n\t * Actual Price \n\t */\n\tpublic BigDecimal getPriceActual();\n\n /** Column name PriceLastInv */\n public static final String COLUMNNAME_PriceLastInv = \"PriceLastInv\";\n\n\t/** Set Last Invoice Price.\n\t * Price of the last invoice for the product\n\t */\n\tpublic void setPriceLastInv (BigDecimal PriceLastInv);\n\n\t/** Get Last Invoice Price.\n\t * Price of the last invoice for the product\n\t */\n\tpublic BigDecimal getPriceLastInv();\n\n /** Column name PriceLastOrd */\n public static final String COLUMNNAME_PriceLastOrd = \"PriceLastOrd\";\n\n\t/** Set Price Last Order\t */\n\tpublic void setPriceLastOrd (BigDecimal PriceLastOrd);\n\n\t/** Get Price Last Order\t */\n\tpublic BigDecimal getPriceLastOrd();\n\n /** Column name PriceLastProduction */\n public static final String COLUMNNAME_PriceLastProduction = \"PriceLastProduction\";\n\n\t/** Set PriceLastProduction\t */\n\tpublic void setPriceLastProduction (BigDecimal PriceLastProduction);\n\n\t/** Get PriceLastProduction\t */\n\tpublic BigDecimal getPriceLastProduction();\n\n /** Column name PriceLimit */\n public static final String COLUMNNAME_PriceLimit = \"PriceLimit\";\n\n\t/** Set Limit Price.\n\t * Lowest price for a product\n\t */\n\tpublic void setPriceLimit (BigDecimal PriceLimit);\n\n\t/** Get Limit Price.\n\t * Lowest price for a product\n\t */\n\tpublic BigDecimal getPriceLimit();\n\n /** Column name PriceLimitEntered */\n public static final String COLUMNNAME_PriceLimitEntered = \"PriceLimitEntered\";\n\n\t/** Set Limit Price.\n\t * Entered Limit Price\n\t */\n\tpublic void setPriceLimitEntered (BigDecimal PriceLimitEntered);\n\n\t/** Get Limit Price.\n\t * Entered Limit Price\n\t */\n\tpublic BigDecimal getPriceLimitEntered();\n\n /** Column name PriceLimitOld */\n public static final String COLUMNNAME_PriceLimitOld = \"PriceLimitOld\";\n\n\t/** Set Limit Price Old.\n\t * Old Limit Price\n\t */\n\tpublic void setPriceLimitOld (BigDecimal PriceLimitOld);\n\n\t/** Get Limit Price Old.\n\t * Old Limit Price\n\t */\n\tpublic BigDecimal getPriceLimitOld();\n\n /** Column name PriceLimitWTax */\n public static final String COLUMNNAME_PriceLimitWTax = \"PriceLimitWTax\";\n\n\t/** Set Price Limit With Tax\t */\n\tpublic void setPriceLimitWTax (BigDecimal PriceLimitWTax);\n\n\t/** Get Price Limit With Tax\t */\n\tpublic BigDecimal getPriceLimitWTax();\n\n /** Column name PriceList */\n public static final String COLUMNNAME_PriceList = \"PriceList\";\n\n\t/** Set List Price.\n\t * List Price\n\t */\n\tpublic void setPriceList (BigDecimal PriceList);\n\n\t/** Get List Price.\n\t * List Price\n\t */\n\tpublic BigDecimal getPriceList();\n\n /** Column name PriceListEntered */\n public static final String COLUMNNAME_PriceListEntered = \"PriceListEntered\";\n\n\t/** Set List Price Entered.\n\t * Entered List Price\n\t */\n\tpublic void setPriceListEntered (BigDecimal PriceListEntered);\n\n\t/** Get List Price Entered.\n\t * Entered List Price\n\t */\n\tpublic BigDecimal getPriceListEntered();\n\n /** Column name PriceListOld */\n public static final String COLUMNNAME_PriceListOld = \"PriceListOld\";\n\n\t/** Set List Price Old.\n\t * Old List Price\n\t */\n\tpublic void setPriceListOld (BigDecimal PriceListOld);\n\n\t/** Get List Price Old.\n\t * Old List Price\n\t */\n\tpublic BigDecimal getPriceListOld();\n\n /** Column name PriceListWTax */\n public static final String COLUMNNAME_PriceListWTax = \"PriceListWTax\";\n\n\t/** Set PriceList With Tax\t */\n\tpublic void setPriceListWTax (BigDecimal PriceListWTax);\n\n\t/** Get PriceList With Tax\t */\n\tpublic BigDecimal getPriceListWTax();\n\n /** Column name PriceStd */\n public static final String COLUMNNAME_PriceStd = \"PriceStd\";\n\n\t/** Set Standard Price.\n\t * Standard Price\n\t */\n\tpublic void setPriceStd (BigDecimal PriceStd);\n\n\t/** Get Standard Price.\n\t * Standard Price\n\t */\n\tpublic BigDecimal getPriceStd();\n\n /** Column name PriceStdEntered */\n public static final String COLUMNNAME_PriceStdEntered = \"PriceStdEntered\";\n\n\t/** Set Standart Price.\n\t * Entered Standart Price\n\t */\n\tpublic void setPriceStdEntered (BigDecimal PriceStdEntered);\n\n\t/** Get Standart Price.\n\t * Entered Standart Price\n\t */\n\tpublic BigDecimal getPriceStdEntered();\n\n /** Column name PriceStdOld */\n public static final String COLUMNNAME_PriceStdOld = \"PriceStdOld\";\n\n\t/** Set Standart Price Old.\n\t * Old Standart Price\n\t */\n\tpublic void setPriceStdOld (BigDecimal PriceStdOld);\n\n\t/** Get Standart Price Old.\n\t * Old Standart Price\n\t */\n\tpublic BigDecimal getPriceStdOld();\n\n /** Column name PriceStdWTax */\n public static final String COLUMNNAME_PriceStdWTax = \"PriceStdWTax\";\n\n\t/** Set Price Standard With Tax\t */\n\tpublic void setPriceStdWTax (BigDecimal PriceStdWTax);\n\n\t/** Get Price Standard With Tax\t */\n\tpublic BigDecimal getPriceStdWTax();\n\n /** Column name Processed */\n public static final String COLUMNNAME_Processed = \"Processed\";\n\n\t/** Set Processed.\n\t * The document has been processed\n\t */\n\tpublic void setProcessed (boolean Processed);\n\n\t/** Get Processed.\n\t * The document has been processed\n\t */\n\tpublic boolean isProcessed();\n\n /** Column name ProcessedOn */\n public static final String COLUMNNAME_ProcessedOn = \"ProcessedOn\";\n\n\t/** Set Processed On.\n\t * The date+time (expressed in decimal format) when the document has been processed\n\t */\n\tpublic void setProcessedOn (BigDecimal ProcessedOn);\n\n\t/** Get Processed On.\n\t * The date+time (expressed in decimal format) when the document has been processed\n\t */\n\tpublic BigDecimal getProcessedOn();\n\n /** Column name Processing */\n public static final String COLUMNNAME_Processing = \"Processing\";\n\n\t/** Set Process Now\t */\n\tpublic void setProcessing (boolean Processing);\n\n\t/** Get Process Now\t */\n\tpublic boolean isProcessing();\n\n /** Column name Product */\n public static final String COLUMNNAME_Product = \"Product\";\n\n\t/** Set Product\t */\n\tpublic void setProduct (String Product);\n\n\t/** Get Product\t */\n\tpublic String getProduct();\n\n /** Column name Std_Base */\n public static final String COLUMNNAME_Std_Base = \"Std_Base\";\n\n\t/** Set Standard price Base.\n\t * Base price for calculating new standard price\n\t */\n\tpublic void setStd_Base (String Std_Base);\n\n\t/** Get Standard price Base.\n\t * Base price for calculating new standard price\n\t */\n\tpublic String getStd_Base();\n\n /** Column name TaxAmtPriceLimit */\n public static final String COLUMNNAME_TaxAmtPriceLimit = \"TaxAmtPriceLimit\";\n\n\t/** Set Tax Amt Price Limit\t */\n\tpublic void setTaxAmtPriceLimit (BigDecimal TaxAmtPriceLimit);\n\n\t/** Get Tax Amt Price Limit\t */\n\tpublic BigDecimal getTaxAmtPriceLimit();\n\n /** Column name TaxAmtPriceList */\n public static final String COLUMNNAME_TaxAmtPriceList = \"TaxAmtPriceList\";\n\n\t/** Set Tax Amt Price List\t */\n\tpublic void setTaxAmtPriceList (BigDecimal TaxAmtPriceList);\n\n\t/** Get Tax Amt Price List\t */\n\tpublic BigDecimal getTaxAmtPriceList();\n\n /** Column name TaxAmtPriceStd */\n public static final String COLUMNNAME_TaxAmtPriceStd = \"TaxAmtPriceStd\";\n\n\t/** Set Tax Amt Price Standard\t */\n\tpublic void setTaxAmtPriceStd (BigDecimal TaxAmtPriceStd);\n\n\t/** Get Tax Amt Price Standard\t */\n\tpublic BigDecimal getTaxAmtPriceStd();\n\n /** Column name Updated */\n public static final String COLUMNNAME_Updated = \"Updated\";\n\n\t/** Get Updated.\n\t * Date this record was updated\n\t */\n\tpublic Timestamp getUpdated();\n\n /** Column name UpdatedBy */\n public static final String COLUMNNAME_UpdatedBy = \"UpdatedBy\";\n\n\t/** Get Updated By.\n\t * User who updated this records\n\t */\n\tpublic int getUpdatedBy();\n\n /** Column name User1_ID */\n public static final String COLUMNNAME_User1_ID = \"User1_ID\";\n\n\t/** Set User Element List 1.\n\t * User defined list element #1\n\t */\n\tpublic void setUser1_ID (int User1_ID);\n\n\t/** Get User Element List 1.\n\t * User defined list element #1\n\t */\n\tpublic int getUser1_ID();\n\n\tpublic org.compiere.model.I_C_ElementValue getUser1() throws RuntimeException;\n\n /** Column name User1W_ID */\n public static final String COLUMNNAME_User1W_ID = \"User1W_ID\";\n\n\t/** Set User Element List 1 W.\n\t * User defined list element #1\n\t */\n\tpublic void setUser1W_ID (int User1W_ID);\n\n\t/** Get User Element List 1 W.\n\t * User defined list element #1\n\t */\n\tpublic int getUser1W_ID();\n\n\tpublic org.compiere.model.I_C_ElementValue getUser1W() throws RuntimeException;\n\n /** Column name User1X_ID */\n public static final String COLUMNNAME_User1X_ID = \"User1X_ID\";\n\n\t/** Set User Element List 1 X.\n\t * User defined list element #1\n\t */\n\tpublic void setUser1X_ID (int User1X_ID);\n\n\t/** Get User Element List 1 X.\n\t * User defined list element #1\n\t */\n\tpublic int getUser1X_ID();\n\n\tpublic org.compiere.model.I_C_ElementValue getUser1X() throws RuntimeException;\n\n /** Column name User1Y_ID */\n public static final String COLUMNNAME_User1Y_ID = \"User1Y_ID\";\n\n\t/** Set User Element List 1 Y.\n\t * User defined list element #1\n\t */\n\tpublic void setUser1Y_ID (int User1Y_ID);\n\n\t/** Get User Element List 1 Y.\n\t * User defined list element #1\n\t */\n\tpublic int getUser1Y_ID();\n\n\tpublic org.compiere.model.I_C_ElementValue getUser1Y() throws RuntimeException;\n\n /** Column name User1Z_ID */\n public static final String COLUMNNAME_User1Z_ID = \"User1Z_ID\";\n\n\t/** Set User Element List 1 Z.\n\t * User defined list element #1\n\t */\n\tpublic void setUser1Z_ID (int User1Z_ID);\n\n\t/** Get User Element List 1 Z.\n\t * User defined list element #1\n\t */\n\tpublic int getUser1Z_ID();\n\n\tpublic org.compiere.model.I_C_ElementValue getUser1Z() throws RuntimeException;\n}", "public interface QueryWalletDao extends BaseMapper<Wallet> {\r\n\r\n\r\n\r\n\r\n}", "@SuppressWarnings(\"all\")\npublic interface I_I_BankDataJP \n{\n\n /** TableName=I_BankDataJP */\n public static final String Table_Name = \"I_BankDataJP\";\n\n /** AD_Table_ID=1000307 */\n public static final int Table_ID = MTable.getTable_ID(Table_Name);\n\n KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);\n\n /** AccessLevel = 3 - Client - Org \n */\n BigDecimal accessLevel = BigDecimal.valueOf(3);\n\n /** Load Meta Data */\n\n /** Column name AD_Client_ID */\n public static final String COLUMNNAME_AD_Client_ID = \"AD_Client_ID\";\n\n\t/** Get Tenant.\n\t * Tenant for this installation.\n\t */\n\tpublic int getAD_Client_ID();\n\n /** Column name AD_OrgTrx_ID */\n public static final String COLUMNNAME_AD_OrgTrx_ID = \"AD_OrgTrx_ID\";\n\n\t/** Set Trx Organization.\n\t * Performing or initiating organization\n\t */\n\tpublic void setAD_OrgTrx_ID (int AD_OrgTrx_ID);\n\n\t/** Get Trx Organization.\n\t * Performing or initiating organization\n\t */\n\tpublic int getAD_OrgTrx_ID();\n\n /** Column name AD_Org_ID */\n public static final String COLUMNNAME_AD_Org_ID = \"AD_Org_ID\";\n\n\t/** Set Organization.\n\t * Organizational entity within tenant\n\t */\n\tpublic void setAD_Org_ID (int AD_Org_ID);\n\n\t/** Get Organization.\n\t * Organizational entity within tenant\n\t */\n\tpublic int getAD_Org_ID();\n\n /** Column name AccountNo */\n public static final String COLUMNNAME_AccountNo = \"AccountNo\";\n\n\t/** Set Account No.\n\t * Account Number\n\t */\n\tpublic void setAccountNo (String AccountNo);\n\n\t/** Get Account No.\n\t * Account Number\n\t */\n\tpublic String getAccountNo();\n\n /** Column name BankAccountType */\n public static final String COLUMNNAME_BankAccountType = \"BankAccountType\";\n\n\t/** Set Bank Account Type.\n\t * Bank Account Type\n\t */\n\tpublic void setBankAccountType (String BankAccountType);\n\n\t/** Get Bank Account Type.\n\t * Bank Account Type\n\t */\n\tpublic String getBankAccountType();\n\n /** Column name C_BankAccount_ID */\n public static final String COLUMNNAME_C_BankAccount_ID = \"C_BankAccount_ID\";\n\n\t/** Set Bank Account.\n\t * Account at the Bank\n\t */\n\tpublic void setC_BankAccount_ID (int C_BankAccount_ID);\n\n\t/** Get Bank Account.\n\t * Account at the Bank\n\t */\n\tpublic int getC_BankAccount_ID();\n\n\tpublic org.compiere.model.I_C_BankAccount getC_BankAccount() throws RuntimeException;\n\n /** Column name C_Bank_ID */\n public static final String COLUMNNAME_C_Bank_ID = \"C_Bank_ID\";\n\n\t/** Set Bank.\n\t * Bank\n\t */\n\tpublic void setC_Bank_ID (int C_Bank_ID);\n\n\t/** Get Bank.\n\t * Bank\n\t */\n\tpublic int getC_Bank_ID();\n\n\tpublic org.compiere.model.I_C_Bank getC_Bank() throws RuntimeException;\n\n /** Column name Created */\n public static final String COLUMNNAME_Created = \"Created\";\n\n\t/** Get Created.\n\t * Date this record was created\n\t */\n\tpublic Timestamp getCreated();\n\n /** Column name CreatedBy */\n public static final String COLUMNNAME_CreatedBy = \"CreatedBy\";\n\n\t/** Get Created By.\n\t * User who created this records\n\t */\n\tpublic int getCreatedBy();\n\n /** Column name DateAcct */\n public static final String COLUMNNAME_DateAcct = \"DateAcct\";\n\n\t/** Set Account Date.\n\t * Accounting Date\n\t */\n\tpublic void setDateAcct (Timestamp DateAcct);\n\n\t/** Get Account Date.\n\t * Accounting Date\n\t */\n\tpublic Timestamp getDateAcct();\n\n /** Column name I_BankDataJP_ID */\n public static final String COLUMNNAME_I_BankDataJP_ID = \"I_BankDataJP_ID\";\n\n\t/** Set I_BankDataJP.\n\t * JPIERE-0595:JPBP\n\t */\n\tpublic void setI_BankDataJP_ID (int I_BankDataJP_ID);\n\n\t/** Get I_BankDataJP.\n\t * JPIERE-0595:JPBP\n\t */\n\tpublic int getI_BankDataJP_ID();\n\n /** Column name I_BankDataJP_UU */\n public static final String COLUMNNAME_I_BankDataJP_UU = \"I_BankDataJP_UU\";\n\n\t/** Set I_BankDataJP_UU\t */\n\tpublic void setI_BankDataJP_UU (String I_BankDataJP_UU);\n\n\t/** Get I_BankDataJP_UU\t */\n\tpublic String getI_BankDataJP_UU();\n\n /** Column name I_ErrorMsg */\n public static final String COLUMNNAME_I_ErrorMsg = \"I_ErrorMsg\";\n\n\t/** Set Import Error Message.\n\t * Messages generated from import process\n\t */\n\tpublic void setI_ErrorMsg (String I_ErrorMsg);\n\n\t/** Get Import Error Message.\n\t * Messages generated from import process\n\t */\n\tpublic String getI_ErrorMsg();\n\n /** Column name I_IsImported */\n public static final String COLUMNNAME_I_IsImported = \"I_IsImported\";\n\n\t/** Set Imported.\n\t * Has this import been processed\n\t */\n\tpublic void setI_IsImported (boolean I_IsImported);\n\n\t/** Get Imported.\n\t * Has this import been processed\n\t */\n\tpublic boolean isI_IsImported();\n\n /** Column name IsActive */\n public static final String COLUMNNAME_IsActive = \"IsActive\";\n\n\t/** Set Active.\n\t * The record is active in the system\n\t */\n\tpublic void setIsActive (boolean IsActive);\n\n\t/** Get Active.\n\t * The record is active in the system\n\t */\n\tpublic boolean isActive();\n\n /** Column name JP_A_Name */\n public static final String COLUMNNAME_JP_A_Name = \"JP_A_Name\";\n\n\t/** Set Account Name\t */\n\tpublic void setJP_A_Name (String JP_A_Name);\n\n\t/** Get Account Name\t */\n\tpublic String getJP_A_Name();\n\n /** Column name JP_A_Name_Kana */\n public static final String COLUMNNAME_JP_A_Name_Kana = \"JP_A_Name_Kana\";\n\n\t/** Set Account Name(Kana)\t */\n\tpublic void setJP_A_Name_Kana (String JP_A_Name_Kana);\n\n\t/** Get Account Name(Kana)\t */\n\tpublic String getJP_A_Name_Kana();\n\n /** Column name JP_AcctDate */\n public static final String COLUMNNAME_JP_AcctDate = \"JP_AcctDate\";\n\n\t/** Set Date of Account Date\t */\n\tpublic void setJP_AcctDate (String JP_AcctDate);\n\n\t/** Get Date of Account Date\t */\n\tpublic String getJP_AcctDate();\n\n /** Column name JP_AcctMonth */\n public static final String COLUMNNAME_JP_AcctMonth = \"JP_AcctMonth\";\n\n\t/** Set Month of Account Date\t */\n\tpublic void setJP_AcctMonth (String JP_AcctMonth);\n\n\t/** Get Month of Account Date\t */\n\tpublic String getJP_AcctMonth();\n\n /** Column name JP_BankAccountType */\n public static final String COLUMNNAME_JP_BankAccountType = \"JP_BankAccountType\";\n\n\t/** Set Bank Account Type\t */\n\tpublic void setJP_BankAccountType (String JP_BankAccountType);\n\n\t/** Get Bank Account Type\t */\n\tpublic String getJP_BankAccountType();\n\n /** Column name JP_BankAccount_Value */\n public static final String COLUMNNAME_JP_BankAccount_Value = \"JP_BankAccount_Value\";\n\n\t/** Set Bank Account(Search Key)\t */\n\tpublic void setJP_BankAccount_Value (String JP_BankAccount_Value);\n\n\t/** Get Bank Account(Search Key)\t */\n\tpublic String getJP_BankAccount_Value();\n\n /** Column name JP_BankDataCustomerCode1 */\n public static final String COLUMNNAME_JP_BankDataCustomerCode1 = \"JP_BankDataCustomerCode1\";\n\n\t/** Set Bank Data Customer Code1\t */\n\tpublic void setJP_BankDataCustomerCode1 (String JP_BankDataCustomerCode1);\n\n\t/** Get Bank Data Customer Code1\t */\n\tpublic String getJP_BankDataCustomerCode1();\n\n /** Column name JP_BankDataCustomerCode2 */\n public static final String COLUMNNAME_JP_BankDataCustomerCode2 = \"JP_BankDataCustomerCode2\";\n\n\t/** Set Bank Data Customer Code2\t */\n\tpublic void setJP_BankDataCustomerCode2 (String JP_BankDataCustomerCode2);\n\n\t/** Get Bank Data Customer Code2\t */\n\tpublic String getJP_BankDataCustomerCode2();\n\n /** Column name JP_BankDataLine_ID */\n public static final String COLUMNNAME_JP_BankDataLine_ID = \"JP_BankDataLine_ID\";\n\n\t/** Set Import Bank Data Line\t */\n\tpublic void setJP_BankDataLine_ID (int JP_BankDataLine_ID);\n\n\t/** Get Import Bank Data Line\t */\n\tpublic int getJP_BankDataLine_ID();\n\n\tpublic I_JP_BankDataLine getJP_BankDataLine() throws RuntimeException;\n\n /** Column name JP_BankData_EDI_Info */\n public static final String COLUMNNAME_JP_BankData_EDI_Info = \"JP_BankData_EDI_Info\";\n\n\t/** Set BankData EDI Info\t */\n\tpublic void setJP_BankData_EDI_Info (String JP_BankData_EDI_Info);\n\n\t/** Get BankData EDI Info\t */\n\tpublic String getJP_BankData_EDI_Info();\n\n /** Column name JP_BankData_ID */\n public static final String COLUMNNAME_JP_BankData_ID = \"JP_BankData_ID\";\n\n\t/** Set Import Bank Data\t */\n\tpublic void setJP_BankData_ID (int JP_BankData_ID);\n\n\t/** Get Import Bank Data\t */\n\tpublic int getJP_BankData_ID();\n\n\tpublic I_JP_BankData getJP_BankData() throws RuntimeException;\n\n /** Column name JP_BankData_ReferenceNo */\n public static final String COLUMNNAME_JP_BankData_ReferenceNo = \"JP_BankData_ReferenceNo\";\n\n\t/** Set Bank Data ReferenceNo\t */\n\tpublic void setJP_BankData_ReferenceNo (String JP_BankData_ReferenceNo);\n\n\t/** Get Bank Data ReferenceNo\t */\n\tpublic String getJP_BankData_ReferenceNo();\n\n /** Column name JP_BankName_Kana */\n public static final String COLUMNNAME_JP_BankName_Kana = \"JP_BankName_Kana\";\n\n\t/** Set Bank Name(Kana)\t */\n\tpublic void setJP_BankName_Kana (String JP_BankName_Kana);\n\n\t/** Get Bank Name(Kana)\t */\n\tpublic String getJP_BankName_Kana();\n\n /** Column name JP_BankName_Kana_Line */\n public static final String COLUMNNAME_JP_BankName_Kana_Line = \"JP_BankName_Kana_Line\";\n\n\t/** Set Bank Name(Kana) Line\t */\n\tpublic void setJP_BankName_Kana_Line (String JP_BankName_Kana_Line);\n\n\t/** Get Bank Name(Kana) Line\t */\n\tpublic String getJP_BankName_Kana_Line();\n\n /** Column name JP_Bank_Name */\n public static final String COLUMNNAME_JP_Bank_Name = \"JP_Bank_Name\";\n\n\t/** Set Bank Name\t */\n\tpublic void setJP_Bank_Name (String JP_Bank_Name);\n\n\t/** Get Bank Name\t */\n\tpublic String getJP_Bank_Name();\n\n /** Column name JP_BranchCode */\n public static final String COLUMNNAME_JP_BranchCode = \"JP_BranchCode\";\n\n\t/** Set Branch Code\t */\n\tpublic void setJP_BranchCode (String JP_BranchCode);\n\n\t/** Get Branch Code\t */\n\tpublic String getJP_BranchCode();\n\n /** Column name JP_BranchName */\n public static final String COLUMNNAME_JP_BranchName = \"JP_BranchName\";\n\n\t/** Set Branch Name\t */\n\tpublic void setJP_BranchName (String JP_BranchName);\n\n\t/** Get Branch Name\t */\n\tpublic String getJP_BranchName();\n\n /** Column name JP_BranchName_Kana */\n public static final String COLUMNNAME_JP_BranchName_Kana = \"JP_BranchName_Kana\";\n\n\t/** Set Branch Name(Kana)\t */\n\tpublic void setJP_BranchName_Kana (String JP_BranchName_Kana);\n\n\t/** Get Branch Name(Kana)\t */\n\tpublic String getJP_BranchName_Kana();\n\n /** Column name JP_BranchName_Kana_Line */\n public static final String COLUMNNAME_JP_BranchName_Kana_Line = \"JP_BranchName_Kana_Line\";\n\n\t/** Set Branch Name(Kana) Line\t */\n\tpublic void setJP_BranchName_Kana_Line (String JP_BranchName_Kana_Line);\n\n\t/** Get Branch Name(Kana) Line\t */\n\tpublic String getJP_BranchName_Kana_Line();\n\n /** Column name JP_Date */\n public static final String COLUMNNAME_JP_Date = \"JP_Date\";\n\n\t/** Set Date.\n\t * Date\n\t */\n\tpublic void setJP_Date (String JP_Date);\n\n\t/** Get Date.\n\t * Date\n\t */\n\tpublic String getJP_Date();\n\n /** Column name JP_Line_Description */\n public static final String COLUMNNAME_JP_Line_Description = \"JP_Line_Description\";\n\n\t/** Set Line Description\t */\n\tpublic void setJP_Line_Description (String JP_Line_Description);\n\n\t/** Get Line Description\t */\n\tpublic String getJP_Line_Description();\n\n /** Column name JP_Month */\n public static final String COLUMNNAME_JP_Month = \"JP_Month\";\n\n\t/** Set Month\t */\n\tpublic void setJP_Month (String JP_Month);\n\n\t/** Get Month\t */\n\tpublic String getJP_Month();\n\n /** Column name JP_OrgTrx_Value */\n public static final String COLUMNNAME_JP_OrgTrx_Value = \"JP_OrgTrx_Value\";\n\n\t/** Set Trx Organization(Search Key)\t */\n\tpublic void setJP_OrgTrx_Value (String JP_OrgTrx_Value);\n\n\t/** Get Trx Organization(Search Key)\t */\n\tpublic String getJP_OrgTrx_Value();\n\n /** Column name JP_Org_Value */\n public static final String COLUMNNAME_JP_Org_Value = \"JP_Org_Value\";\n\n\t/** Set Organization(Search Key)\t */\n\tpublic void setJP_Org_Value (String JP_Org_Value);\n\n\t/** Get Organization(Search Key)\t */\n\tpublic String getJP_Org_Value();\n\n /** Column name JP_RequesterName */\n public static final String COLUMNNAME_JP_RequesterName = \"JP_RequesterName\";\n\n\t/** Set Requester Name\t */\n\tpublic void setJP_RequesterName (String JP_RequesterName);\n\n\t/** Get Requester Name\t */\n\tpublic String getJP_RequesterName();\n\n /** Column name JP_SalesRep_EMail */\n public static final String COLUMNNAME_JP_SalesRep_EMail = \"JP_SalesRep_EMail\";\n\n\t/** Set Sales Rep(E-Mail)\t */\n\tpublic void setJP_SalesRep_EMail (String JP_SalesRep_EMail);\n\n\t/** Get Sales Rep(E-Mail)\t */\n\tpublic String getJP_SalesRep_EMail();\n\n /** Column name JP_SalesRep_Name */\n public static final String COLUMNNAME_JP_SalesRep_Name = \"JP_SalesRep_Name\";\n\n\t/** Set Sales Rep(Name)\t */\n\tpublic void setJP_SalesRep_Name (String JP_SalesRep_Name);\n\n\t/** Get Sales Rep(Name)\t */\n\tpublic String getJP_SalesRep_Name();\n\n /** Column name JP_SalesRep_Value */\n public static final String COLUMNNAME_JP_SalesRep_Value = \"JP_SalesRep_Value\";\n\n\t/** Set Sales Rep(Search Key)\t */\n\tpublic void setJP_SalesRep_Value (String JP_SalesRep_Value);\n\n\t/** Get Sales Rep(Search Key)\t */\n\tpublic String getJP_SalesRep_Value();\n\n /** Column name Processed */\n public static final String COLUMNNAME_Processed = \"Processed\";\n\n\t/** Set Processed.\n\t * The document has been processed\n\t */\n\tpublic void setProcessed (boolean Processed);\n\n\t/** Get Processed.\n\t * The document has been processed\n\t */\n\tpublic boolean isProcessed();\n\n /** Column name Processing */\n public static final String COLUMNNAME_Processing = \"Processing\";\n\n\t/** Set Process Now\t */\n\tpublic void setProcessing (boolean Processing);\n\n\t/** Get Process Now\t */\n\tpublic boolean isProcessing();\n\n /** Column name RoutingNo */\n public static final String COLUMNNAME_RoutingNo = \"RoutingNo\";\n\n\t/** Set Routing No.\n\t * Bank Routing Number\n\t */\n\tpublic void setRoutingNo (String RoutingNo);\n\n\t/** Get Routing No.\n\t * Bank Routing Number\n\t */\n\tpublic String getRoutingNo();\n\n /** Column name SalesRep_ID */\n public static final String COLUMNNAME_SalesRep_ID = \"SalesRep_ID\";\n\n\t/** Set Sales Rep.\n\t * Sales Representative or Company Agent\n\t */\n\tpublic void setSalesRep_ID (int SalesRep_ID);\n\n\t/** Get Sales Rep.\n\t * Sales Representative or Company Agent\n\t */\n\tpublic int getSalesRep_ID();\n\n\tpublic org.compiere.model.I_AD_User getSalesRep() throws RuntimeException;\n\n /** Column name StatementDate */\n public static final String COLUMNNAME_StatementDate = \"StatementDate\";\n\n\t/** Set Statement date.\n\t * Date of the statement\n\t */\n\tpublic void setStatementDate (Timestamp StatementDate);\n\n\t/** Get Statement date.\n\t * Date of the statement\n\t */\n\tpublic Timestamp getStatementDate();\n\n /** Column name StmtAmt */\n public static final String COLUMNNAME_StmtAmt = \"StmtAmt\";\n\n\t/** Set Statement amount.\n\t * Statement Amount\n\t */\n\tpublic void setStmtAmt (BigDecimal StmtAmt);\n\n\t/** Get Statement amount.\n\t * Statement Amount\n\t */\n\tpublic BigDecimal getStmtAmt();\n\n /** Column name TrxAmt */\n public static final String COLUMNNAME_TrxAmt = \"TrxAmt\";\n\n\t/** Set Transaction Amount.\n\t * Amount of a transaction\n\t */\n\tpublic void setTrxAmt (BigDecimal TrxAmt);\n\n\t/** Get Transaction Amount.\n\t * Amount of a transaction\n\t */\n\tpublic BigDecimal getTrxAmt();\n\n /** Column name Updated */\n public static final String COLUMNNAME_Updated = \"Updated\";\n\n\t/** Get Updated.\n\t * Date this record was updated\n\t */\n\tpublic Timestamp getUpdated();\n\n /** Column name UpdatedBy */\n public static final String COLUMNNAME_UpdatedBy = \"UpdatedBy\";\n\n\t/** Get Updated By.\n\t * User who updated this records\n\t */\n\tpublic int getUpdatedBy();\n}", "public interface CurrencyExchangeDAO {\n\n\t/**\n\t * \n\t * @param idCurrencyIn currency to exchange\n\t * @param idCurrencyOut currency to be exchanged\n\t * @return relation between two currencies\n\t */\n\tpublic CurrencyExchangeBean getCurrecyExchange(int idCurrencyIn, int idCurrencyOut);\n\n}", "@Override\r\n\tpublic void saveCustomer(CRMDto theCustomer) {\n\t\t\r\n\t\tSession session = factory.openSession();\r\n\t\tTransaction tx = session.beginTransaction();\r\n\t\tsession.update(theCustomer);\r\n\t\ttx.commit();\r\n\t\t//System.out.println(\"pk update is \" +pk);\r\n\t\t\r\n\t\t\r\n\t}", "public interface DarenMerchantInfosDao {\n public void insert(DarenMerchantInfos darenMerchantInfos);\n}", "void deleteCustomerDDPayById(int id);", "public interface CalApptDAO {\n\n public List<CalApptBO> getAllCalAppts();\n public CalApptBO getCalApptById(int id);\n public int updateCalAppt(CalApptBO calApptBO);\n public int insertCalAppt(CalApptBO calApptBO);\n public int deleteCalAppt(int apptId);\n\n}", "public ResultSet Custmr(Long Userid) throws SQLException {\n\trs=DbConnect.getStatement().executeQuery(\"select * from customer c,customer_details cd where c.user_id=cd.user_id and c.user_id=\"+Userid+\" \");\r\n\treturn rs;\r\n\t\r\n}", "public interface OrderPayModeDao extends BaseDao<OrderPayMode,Long>{\n\t\n}", "public interface DeptDao {\n //动态查询\n @SelectProvider(type=DeptDynaSqlProvider.class,method = \"selectWithParam\")\n List<Dept> selectByPage(Map<String,Object> params);\n @SelectProvider(type=DeptDynaSqlProvider.class,method = \"count\")\n Integer count(Map<String,Object> params);\n @Select(\"select * from \"+DEPTTABLE+\" \")\n List<Dept> selectAllDept();\n @Select(\"select * from \"+DEPTTABLE+\" where id = #{id}\")\n Dept selectById(int id);\n @Delete(\"delete from \"+DEPTTABLE+\" where id = #{id}\")\n void deleteById(int id);\n //动态插入部门\n @InsertProvider(type=DeptDynaSqlProvider.class,method = \"insertDept\")\n void save(Dept dept);\n //动态修改部门\n @UpdateProvider(type=DeptDynaSqlProvider.class,method = \"updateDept\")\n void update(Dept dept);\n}", "public List<PosPay> listPosPay(PosPay posPay)throws DataAccessException;", "CustomerDTO getCustomerDetails(Long customerId,String userName) throws EOTException;", "public interface CustomerService {\n\t/**\n\t * Metodo para insertar un cliente Customer en la base de datos PostgreSQL\n\t * \n\t * @param customer - Cliente de tipo Customer\n\t */\n\tvoid insert(Customer customer);\n\n\t/**\n\t * Metodo para insertar un bloque (coleccion) de cliente Customer en la base de\n\t * datos PostgreSQL\n\t * \n\t * @param customers - Lista de clientes de tipo List<Customer>\n\t */\n\tvoid insertBatch(List<Customer> customers);\n\n\t/**\n\t * Metodo que devuelve todos los clientes Customer de la base de datos\n\t * PostgreSQL\n\t * \n\t * @return Una Lista (java.utils) de tipo List<Customer> con todos los clientes\n\t * de la base de datos PostgreSQL\n\t */\n\tList<Customer> loadAllCustomer();\n\n\t/**\n\t * Metodo que devuelve un cliente Customer a partir de su identificador\n\t * customerId\n\t * \n\t * @param customerId - Identificador del cliente de tipo Integer\n\t * @return Cliente a devolver de tipo Customer\n\t */\n\tCustomer getCustomerById(int customerId);\n\n\t/**\n\t * Metodo que devuelve el nombre String de un cliente Customer a partir de su\n\t * identificador customerId\n\t * \n\t * @param customerId - Identificador de cliente de tipo Integer\n\t * @return String - Nombre del cliente de tipo String\n\t */\n\tString getCustomerNameById(int customerId);\n\n\t/**\n\t * Metodo que devuelve el numero Integer total de clientes en la base de datos\n\t * PostgreSQL\n\t * \n\t * @return El numero total de clientes de tipo Integer\n\t */\n\tvoid getTotalNumerCustomer();\n\n\t/**\n\t * Metodo que elimina un cliente Customer de la base de datos PostgreSQL a\n\t * partir de su identificador customerId\n\t * \n\t * @param customerId - Identificador del cliente Customer de tipo Integer\n\t */\n\tvoid deleteCustomerById(int customerId);\n\n\t/**\n\t * Metodo que actualiza la informacion un cliente Customer ya existente en la\n\t * base de datos PostgreSQL\n\t * \n\t * @param customer - Cliente con la informacion a ser actualizada de tipo\n\t * Customer\n\t */\n\tvoid updateCustomerById(Customer customer);\n}", "@Mapper\npublic interface CategoryRepairDao extends BaseMapper<BackendMerchantCategoryEntity>{\n}", "@DAO(catalog = \"ABC\")\npublic interface AddressDAO {\n static final String TABLE_NAME= \"address\";\n static final String FIELDS = \"id,type,user_id,city,province ,district,phone,address,create_time,update_time,user_device_id\" ;\n static final String INSERT_FIELDS = \"type,user_id,city,province ,district,phone,address,update_time,user_device_id\" ;\n\n @SQL(\"select \"+ FIELDS +\" from \" + TABLE_NAME + \" where id =:1\")\n public Address getAddress(long id);\n\n\t@SQL(\"select \"+ FIELDS +\" from \" + TABLE_NAME + \" where user_id =:1 order by type desc limit :2,:3\")\n\tpublic List<Address> getAddresses(long user_id, int start, int offset);\n\n @ReturnGeneratedKeys\n @SQL(\"insert into \" + TABLE_NAME + \"(\" + INSERT_FIELDS +\") values (:1.type,:1.user_id,:1.city,:1.province,:1.district,:1.phone,:1.address,:1.update_time,:1.user_device_id)\")\n public int addAddress(Address address);\n\n @SQL(\"update \" + TABLE_NAME + \" set city=:1.city,phone =:1.phone, address = :1.address ,update_time=now()\" + \" where id = :1.id\")\n public int updateAddress(Address address);\n\n @SQL(\"delete from \" + TABLE_NAME + \" where id = :1.id\")\n public int delAddress(long address_id);\n\n @SQL(\"update \" + TABLE_NAME + \" set type=1 where id = :1\")\n public int defaultAddress(long address_id);\n\n @SQL(\"update \" + TABLE_NAME + \" set type = 0 where user_id = :1\")\n public int cleanDefaultAddress(long user_id);\n \n @SQL(\"update \" + TABLE_NAME + \" set type = 0 where user_device_id = :1\")\n public int cleanDefaultAddressByUserDeviceId(long userDeviceId);\n \n @SQL(\"select \"+ FIELDS +\" from \" + TABLE_NAME + \" where device_user_id =:1\")\n\tpublic List<Address> getAddressesByDeviceUserId(long user_id);\n \n @SQL(\"select \"+ FIELDS +\" from \" + TABLE_NAME + \" where user_id =:1\")\n\tpublic List<Address> getAddresses(long user_id);\n \n @SQL(\"update \" + TABLE_NAME + \" set user_id=:1,user_device_id= -1 where user_device_id = :2\")\n public Integer bindAddress2User(long userId,long userDeviceId);\n \n @ReturnGeneratedKeys\n @SQL(\"insert into \" + TABLE_NAME + \"(\" + INSERT_FIELDS +\") values (:1.type,:1.user_id,:1.city,:1.province,:1.district,:1.phone,:1.address,:1.update_time,:1.user_device_id)\")\n public int addAddressByUserApp(Address address);\n\n}", "@SuppressWarnings(\"all\")\npublic interface I_LBR_PartnerDFe \n{\n\n /** TableName=LBR_PartnerDFe */\n public static final String Table_Name = \"LBR_PartnerDFe\";\n\n /** AD_Table_ID=1120461 */\n public static final int Table_ID = MTable.getTable_ID(Table_Name);\n\n KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);\n\n /** AccessLevel = 3 - Client - Org \n */\n BigDecimal accessLevel = BigDecimal.valueOf(3);\n\n /** Load Meta Data */\n\n /** Column name AD_Client_ID */\n public static final String COLUMNNAME_AD_Client_ID = \"AD_Client_ID\";\n\n\t/** Get Client.\n\t * Client/Tenant for this installation.\n\t */\n\tpublic int getAD_Client_ID();\n\n /** Column name AD_Org_ID */\n public static final String COLUMNNAME_AD_Org_ID = \"AD_Org_ID\";\n\n\t/** Set Organization.\n\t * Organizational entity within client\n\t */\n\tpublic void setAD_Org_ID (int AD_Org_ID);\n\n\t/** Get Organization.\n\t * Organizational entity within client\n\t */\n\tpublic int getAD_Org_ID();\n\n /** Column name BPName */\n public static final String COLUMNNAME_BPName = \"BPName\";\n\n\t/** Set BP Name\t */\n\tpublic void setBPName (String BPName);\n\n\t/** Get BP Name\t */\n\tpublic String getBPName();\n\n /** Column name Created */\n public static final String COLUMNNAME_Created = \"Created\";\n\n\t/** Get Created.\n\t * Date this record was created\n\t */\n\tpublic Timestamp getCreated();\n\n /** Column name CreatedBy */\n public static final String COLUMNNAME_CreatedBy = \"CreatedBy\";\n\n\t/** Get Created By.\n\t * User who created this records\n\t */\n\tpublic int getCreatedBy();\n\n /** Column name DateDoc */\n public static final String COLUMNNAME_DateDoc = \"DateDoc\";\n\n\t/** Set Document Date.\n\t * Date of the Document\n\t */\n\tpublic void setDateDoc (Timestamp DateDoc);\n\n\t/** Get Document Date.\n\t * Date of the Document\n\t */\n\tpublic Timestamp getDateDoc();\n\n /** Column name DateTrx */\n public static final String COLUMNNAME_DateTrx = \"DateTrx\";\n\n\t/** Set Transaction Date.\n\t * Transaction Date\n\t */\n\tpublic void setDateTrx (Timestamp DateTrx);\n\n\t/** Get Transaction Date.\n\t * Transaction Date\n\t */\n\tpublic Timestamp getDateTrx();\n\n /** Column name Description */\n public static final String COLUMNNAME_Description = \"Description\";\n\n\t/** Set Description.\n\t * Optional short description of the record\n\t */\n\tpublic void setDescription (String Description);\n\n\t/** Get Description.\n\t * Optional short description of the record\n\t */\n\tpublic String getDescription();\n\n /** Column name DocumentNote */\n public static final String COLUMNNAME_DocumentNote = \"DocumentNote\";\n\n\t/** Set Document Note.\n\t * Additional information for a Document\n\t */\n\tpublic void setDocumentNote (String DocumentNote);\n\n\t/** Get Document Note.\n\t * Additional information for a Document\n\t */\n\tpublic String getDocumentNote();\n\n /** Column name DocumentType */\n public static final String COLUMNNAME_DocumentType = \"DocumentType\";\n\n\t/** Set Document Type.\n\t * Document Type\n\t */\n\tpublic void setDocumentType (String DocumentType);\n\n\t/** Get Document Type.\n\t * Document Type\n\t */\n\tpublic String getDocumentType();\n\n /** Column name GrandTotal */\n public static final String COLUMNNAME_GrandTotal = \"GrandTotal\";\n\n\t/** Set Grand Total.\n\t * Total amount of document\n\t */\n\tpublic void setGrandTotal (BigDecimal GrandTotal);\n\n\t/** Get Grand Total.\n\t * Total amount of document\n\t */\n\tpublic BigDecimal getGrandTotal();\n\n /** Column name IsActive */\n public static final String COLUMNNAME_IsActive = \"IsActive\";\n\n\t/** Set Active.\n\t * The record is active in the system\n\t */\n\tpublic void setIsActive (boolean IsActive);\n\n\t/** Get Active.\n\t * The record is active in the system\n\t */\n\tpublic boolean isActive();\n\n /** Column name IsCancelled */\n public static final String COLUMNNAME_IsCancelled = \"IsCancelled\";\n\n\t/** Set Cancelled.\n\t * The transaction was cancelled\n\t */\n\tpublic void setIsCancelled (boolean IsCancelled);\n\n\t/** Get Cancelled.\n\t * The transaction was cancelled\n\t */\n\tpublic boolean isCancelled();\n\n /** Column name IsSOTrx */\n public static final String COLUMNNAME_IsSOTrx = \"IsSOTrx\";\n\n\t/** Set Sales Transaction.\n\t * This is a Sales Transaction\n\t */\n\tpublic void setIsSOTrx (boolean IsSOTrx);\n\n\t/** Get Sales Transaction.\n\t * This is a Sales Transaction\n\t */\n\tpublic boolean isSOTrx();\n\n /** Column name LBR_EventType */\n public static final String COLUMNNAME_LBR_EventType = \"LBR_EventType\";\n\n\t/** Set Event Type\t */\n\tpublic void setLBR_EventType (String LBR_EventType);\n\n\t/** Get Event Type\t */\n\tpublic String getLBR_EventType();\n\n /** Column name LBR_IsManifested */\n public static final String COLUMNNAME_LBR_IsManifested = \"LBR_IsManifested\";\n\n\t/** Set Manifested\t */\n\tpublic void setLBR_IsManifested (boolean LBR_IsManifested);\n\n\t/** Get Manifested\t */\n\tpublic boolean isLBR_IsManifested();\n\n /** Column name LBR_IsXMLValid */\n public static final String COLUMNNAME_LBR_IsXMLValid = \"LBR_IsXMLValid\";\n\n\t/** Set XML Valid\t */\n\tpublic void setLBR_IsXMLValid (boolean LBR_IsXMLValid);\n\n\t/** Get XML Valid\t */\n\tpublic boolean isLBR_IsXMLValid();\n\n /** Column name LBR_PartnerDFe_ID */\n public static final String COLUMNNAME_LBR_PartnerDFe_ID = \"LBR_PartnerDFe_ID\";\n\n\t/** Set Partner Doc Fiscal\t */\n\tpublic void setLBR_PartnerDFe_ID (int LBR_PartnerDFe_ID);\n\n\t/** Get Partner Doc Fiscal\t */\n\tpublic int getLBR_PartnerDFe_ID();\n\n /** Column name LBR_PartnerDFe_UU */\n public static final String COLUMNNAME_LBR_PartnerDFe_UU = \"LBR_PartnerDFe_UU\";\n\n\t/** Set LBR_PartnerDFe_UU\t */\n\tpublic void setLBR_PartnerDFe_UU (String LBR_PartnerDFe_UU);\n\n\t/** Get LBR_PartnerDFe_UU\t */\n\tpublic String getLBR_PartnerDFe_UU();\n\n /** Column name LBR_SitNF */\n public static final String COLUMNNAME_LBR_SitNF = \"LBR_SitNF\";\n\n\t/** Set NF Status.\n\t * NF Status\n\t */\n\tpublic void setLBR_SitNF (String LBR_SitNF);\n\n\t/** Get NF Status.\n\t * NF Status\n\t */\n\tpublic String getLBR_SitNF();\n\n /** Column name Processed */\n public static final String COLUMNNAME_Processed = \"Processed\";\n\n\t/** Set Processed.\n\t * The document has been processed\n\t */\n\tpublic void setProcessed (boolean Processed);\n\n\t/** Get Processed.\n\t * The document has been processed\n\t */\n\tpublic boolean isProcessed();\n\n /** Column name Processing */\n public static final String COLUMNNAME_Processing = \"Processing\";\n\n\t/** Set Process Now\t */\n\tpublic void setProcessing (boolean Processing);\n\n\t/** Get Process Now\t */\n\tpublic boolean isProcessing();\n\n /** Column name SeqNo */\n public static final String COLUMNNAME_SeqNo = \"SeqNo\";\n\n\t/** Set Sequence.\n\t * Method of ordering records;\n lowest number comes first\n\t */\n\tpublic void setSeqNo (int SeqNo);\n\n\t/** Get Sequence.\n\t * Method of ordering records;\n lowest number comes first\n\t */\n\tpublic int getSeqNo();\n\n /** Column name Updated */\n public static final String COLUMNNAME_Updated = \"Updated\";\n\n\t/** Get Updated.\n\t * Date this record was updated\n\t */\n\tpublic Timestamp getUpdated();\n\n /** Column name UpdatedBy */\n public static final String COLUMNNAME_UpdatedBy = \"UpdatedBy\";\n\n\t/** Get Updated By.\n\t * User who updated this records\n\t */\n\tpublic int getUpdatedBy();\n\n /** Column name lbr_CNPJ */\n public static final String COLUMNNAME_lbr_CNPJ = \"lbr_CNPJ\";\n\n\t/** Set CNPJ.\n\t * Used to identify Legal Entities in Brazil\n\t */\n\tpublic void setlbr_CNPJ (String lbr_CNPJ);\n\n\t/** Get CNPJ.\n\t * Used to identify Legal Entities in Brazil\n\t */\n\tpublic String getlbr_CNPJ();\n\n /** Column name lbr_CPF */\n public static final String COLUMNNAME_lbr_CPF = \"lbr_CPF\";\n\n\t/** Set CPF.\n\t * Used to identify individuals in Brazil\n\t */\n\tpublic void setlbr_CPF (String lbr_CPF);\n\n\t/** Get CPF.\n\t * Used to identify individuals in Brazil\n\t */\n\tpublic String getlbr_CPF();\n\n /** Column name lbr_DigestValue */\n public static final String COLUMNNAME_lbr_DigestValue = \"lbr_DigestValue\";\n\n\t/** Set Digest Value\t */\n\tpublic void setlbr_DigestValue (String lbr_DigestValue);\n\n\t/** Get Digest Value\t */\n\tpublic String getlbr_DigestValue();\n\n /** Column name lbr_IE */\n public static final String COLUMNNAME_lbr_IE = \"lbr_IE\";\n\n\t/** Set IE.\n\t * Used to Identify the IE (State Tax ID)\n\t */\n\tpublic void setlbr_IE (String lbr_IE);\n\n\t/** Get IE.\n\t * Used to Identify the IE (State Tax ID)\n\t */\n\tpublic String getlbr_IE();\n\n /** Column name lbr_NFeID */\n public static final String COLUMNNAME_lbr_NFeID = \"lbr_NFeID\";\n\n\t/** Set NFe ID.\n\t * Identification of NFe\n\t */\n\tpublic void setlbr_NFeID (String lbr_NFeID);\n\n\t/** Get NFe ID.\n\t * Identification of NFe\n\t */\n\tpublic String getlbr_NFeID();\n\n /** Column name lbr_NFeProt */\n public static final String COLUMNNAME_lbr_NFeProt = \"lbr_NFeProt\";\n\n\t/** Set NFe Protocol\t */\n\tpublic void setlbr_NFeProt (String lbr_NFeProt);\n\n\t/** Get NFe Protocol\t */\n\tpublic String getlbr_NFeProt();\n\n /** Column name lbr_NFeStatus */\n public static final String COLUMNNAME_lbr_NFeStatus = \"lbr_NFeStatus\";\n\n\t/** Set NFe Status.\n\t * Status of NFe\n\t */\n\tpublic void setlbr_NFeStatus (String lbr_NFeStatus);\n\n\t/** Get NFe Status.\n\t * Status of NFe\n\t */\n\tpublic String getlbr_NFeStatus();\n}", "@Component\npublic interface BidDao {\n\n /**\n * 通过标id查找该标的信息\n * @return\n */\n @Select(value = \"select id,userId,bidAmount,bidCurrentAmount,bidRepaymentMethod,bidRate,bidDeadline,substr(to_char(bidIssueDate,'yyyy-mm-dd hh24:mi:ss'),0,19) bidIssueDate,bidDeadDay,bidDeadDate,bidApplyDate,bidDesc,bidType from bid_info where id=#{id}\")\n Map getBidInfoById(int id);\n\n /**\n * 根据用户id查找该用户的信息\n * @param userId\n * @return\n */\n @Select(value = \"select realname,sex,address,idnumber,academic,housed,marriage,income from realname_certification where userId=#{userId}\")\n Map getBaseInfoByUserId(int userId);\n\n /**\n * 将投标信息放入到bid_submit投资记录表中\n * @param map\n * @return\n */\n @Insert(value = \"insert into bid_submit values(seq_bidinfo_id.nextval,#{bidid},#{userId},#{bidNum},#{bidRate},sysdate)\")\n int investBid(Map map);\n\n /**\n * 根据标的id来查投该标的总钱数\n * @param map\n * @return\n */\n @Select(value = \"select nvl(sum(bidAmount),0) bidAmount,nvl(sum(bidRate),0) bidRate from bid_submit where bidInfoID=#{bidid}\")\n Map findInvestMoney(Map map);\n\n /**\n * 通过当前用户查找该用户的登录信息\n * @param userId\n * @return\n */\n @Select(value = \"select username,password,telephone from user_login_info where id=#{userId}\")\n Map findUserName(int userId);\n\n /**\n * 根据标id查找该标的投资状况\n * @param id\n * @return\n */\n @Select(value = \"select b.id,b.BIDINFOID,b.BIDAMOUNT,b.BIDRATE,substr(to_char(b.BIDDATE,'yyyy-mm-dd hh24:mi:ss'),0,19) BIDDATE,u.id,u.USERNAME,u.PASSWORD,u.TELEPHONE from bid_submit b left join USER_LOGIN_INFO u on u.ID=b.USERID where b.BIDINFOID=#{id}\")\n List<Map> findInvestInfo(int id);\n\n /**\n * 通过标id找到招标人id\n * @param id\n * @return\n */\n @Select(value = \"select userId from bid_info where id=#{id}\")\n Map findBidUserId(int id);\n\n /**\n * 根据招标人的id查找该人的还款信息\n * @param bidUserId\n * @return\n */\n /*@Select(value = \"select id,bidID,bidRepayAmount,bidRepayDate,bidRepayDeadDate,bidNextRepayDate,bidNextReapyAmount,bidRepayState,bidRepayNumber,bidRepayTotPmts,bidRepayMethod,(select max(bidrepaydeaddate) from bid_repay_info where bidRepayUserID=#{bidUserId}) lastDate from bid_repay_info where bidRepayUserID=#{bidUserId}\")*/\n @Select(value = \"select id,bidID,bidRepayAmount,bidRepayDate,bidRepayDeadDate,substr(to_char(bidNextRepayDate,'yyyy-mm-dd hh24:mi:ss'),0,19) bidNextRepayDate,bidNextReapyAmount,bidRepayState,bidRepayNumber,bidRepayTotPmts,bidRepayMethod,(select substr(to_char(max(bidrepaydeaddate),'yyyy-mm-dd hh24:mi:ss'),0,19) from bid_repay_info where bidRepayUserID=#{bidUserId}) lastDate from bid_repay_info where bidRepayUserID=#{bidUserId}\")\n List<Map> findRepayByBidUserId(int bidUserId);\n\n /**\n * 根据登录人id查找用户的支付密码\n * @param userId\n * @return\n */\n @Select(value = \"select paypwd from user_info where userId=#{userId}\")\n Map getPayPwd(int userId);\n\n /**\n * 根据登录人的id查找该用户的总的待收利息,总的待收本金\n * @param userId\n * @return\n */\n @Select(value = \"select sum(bidrate) bidrate,sum(bidAmount) bidAmount from bid_submit where userId = #{userId}\")\n Map findTotalRateAndMoney(int userId);\n\n /**\n * 根据用户id查找该用户的账户信息表\n * @param userId\n * @return\n */\n @Select(value = \"select id,USERID,AVAILABLEBALANCE,RECEIVEINTEREST,RECEIVEPRINCIPAL,RETURNAMOUNT,FREEZINGAMOUNT,CREDITLINE,SURPLUSCREDITLINE,TRANSACTIONPASSWORD from user_account where userId=#{userId}\")\n Map findUserAccount(int userId);\n\n /**\n * 根据用户的投标相应的更新用户账户表\n * @param userAccountMap\n * @return\n */\n @Update(value = \"update user_account set availableBalance=#{availableBalance},receiveInterest=#{receiveInterest},receivePrincipal=#{receivePrincipal},freezingAmount=#{freezingAmount} where userId = #{userID}\")\n int updateUserAccount(Map userAccountMap);\n\n /**\n * 用户投标之后将该条信息插入到用户账户流水表中去\n * @param map\n * @return\n */\n @Insert(value = \"insert into user_account_flow values(seq_user_account_flow_id.nextval,#{userId},#{accountId},#{amount},#{availableBalance},sysdate,8)\")\n int insertUserAccountFolw(Map map);\n}", "public interface RecommendCardMapper extends BaseDao {\n\n //推荐卡列表\n @Select(\"select cr.icr_id cardId,cr.cr_pic_url picURL,cr.cr_action_url actionURL ,cr.cr_card_name cardName\" +\n \" from tb_card_recommend cr where cr.is_del=0 and cr.is_hidden=0 and \" +\n \" cr.cr_type = #{key,jdbcType=VARCHAR} and(cr.city_code='all' or instr(cr.city_code,#{adcode,jdbcType=VARCHAR})>0 ) \" +\n \" order by cr.cr_card_order desc\")\n Page<RecommendCardDto> getRecommendCardsByCityCode(RecommendCardBean bean);\n\n @Select(\"select * from (select cr.cr_card_id cardId,cr.cr_card_name cardName,cr.cr_prc_url picURL,\" +\n \"cr.city_code cityCode,cr.cr_card_order orderNum from tb_card_recommend cr where \" +\n \"cr.cr_card_id=#{cardId,jdbcType=VARCHAR} order by cr.cr_card_order desc) card where rownum=1\")\n RecommendCardDto getRecommendCardDetailById(@Param(\"cardId\") String cardId);\n //推荐卡点击量\n @Update(\"update tb_card_recommend set cr_click_count=cr_click_count+1 where icr_id=#{cardId,jdbcType=INTEGER}\")\n int updatePicClickCount(@Param(\"cardId\") int cardId);\n\n}", "public interface PaymentDAO extends SuperDAO<PaymentDTO> {\n}", "public interface CustomerDao extends GenericDao<CustomerInfo, Long> {\n @Transactional\n public List<CustomerInfo> searchByName(String custName,String param);\n @Transactional\n public CustomerInfo searchById(String cid);\n}", "@MyBatisDao\n@Repository\npublic interface DeviceDao {\n\n void addDevice(DeviceDTO deviceDTO);\n\n void updateDevice(DeviceDTO deviceDTO);\n\n void delDevice(Integer id);\n\n List<String> selectAllType();\n\n List getDeviceByInfo(DeviceDTO deviceDTO);\n\n int getDeviceNum(String type);\n\n int deviceBindNum(String type);\n}", "public VRpDyTrxTotalDAOImpl() {\r\n super();\r\n }", "public interface CustomerMapper {\n\n public List<Customer> queryByCondition(CustomerDto customerParameter);\n\n public List<Customer> queryByTemp(CustomerDto customerParameter);\n\n public Customer queryById(Long Id);\n\n public void save(CustomerDto customerParameter);\n\n public void update(CustomerDto customerParameter);\n\n public void delete(Long Id);\n\n public List<Long> queryIdsByName(CustomerDto customerParameter);\n}", "public interface DutyManageDao {\r\n\r\n void getDutyRecordByUID(Page<DutyMainUserVo,DutyMainUserVo> page );\r\n\r\n List<Map<String,Object>> getDutyStatistics(DutyMonthUserQuery dutyMonthUserQuery);\r\n\r\n int interDutyMain(List<DutyMain> dutyMain);\r\n List<DutyTypeVo> getDutyType(DutyMain main);\r\n List<String> getUsersByTypeId(String typeId,String searchText);\r\n int setInUserInfo(DutyMainUserVo userVo);\r\n int setDelUser(String id);\r\n int insertToMain(DutyMain dutyMain); //插入duty_main表格中一条数据\r\n int insertToUser(List<DutyMainUserVo> userList);\r\n List<DutyMain> selectDutyList(DutyTypeVo dutyTypeVo);\r\n\r\n List<DutyMain> selectAllDutyList(DutyTypeVo dutyTypeVo);\r\n\r\n List<DutyMainUserVo> getDutyInfoByDutyDate(DutyTypeVo dutyTypeVo);\r\n int insertToMainLine(DutyMain dutyMain); //向itsm_duty_main中插入一行数据得到dutyId\r\n int insertToMainList(List<DutyMainUserVo> listVo); //将复制的数据插入到duty_main_user表中\r\n Date getMaxDate(); //获得日期表中最大时间\r\n String getMinDate(); //获得日期表中最小日期\r\n int updateDutyState(DutyMainUserVo dutyMainUserVo); //更新值班状态\r\n int delLineUser(List<Long> delIds); //编辑保存时删除itsm_duty_main_user表格中的数据\r\n int getMainUserInfo(String typeUserName,String dutyTypeId); //根据人员名查相关的信息userId\r\n int addMan(List<DutyMainUserVo> addMan); //编辑时添加的人员\r\n long checkByDutyDate(String shiftDate); //根据时间查询该时间是否排班\r\n\r\n List<DutyMain> getDutyDateByUserId(Long id,String startDate,String endDate);\r\n\r\n List<DutyMainUserVo> getDutyUserByDate(String today);\r\n\r\n List<DutyMain> getDutyMainByDate(String date);\r\n\r\n List<DutyMonthUser> getUserDutyInfoList(Page page);\r\n\r\n int getTypeNumByUserId(long userId, int type);\r\n\r\n int getHasDutyMonth(long userId, int dutyType);\r\n\r\n List<DutyTypeVo> listAll();\r\n List<DutyTypeVo> listAllByDomainId(String domainId);\r\n\r\n void insertDutyTypeRecord(List<DutyTypeVo> dutyTypeVos);\r\n List<DutyTypeVo> selectDutyTypeById (long dutyId);\r\n List<DutyMainUserVo> selectDutyManById (long dutyId);\r\n List<DutyTypeVo> getDutyClassByTime(String shiftTime, long userId);\r\n\r\n List<DutyTypeVo> getShiftDutyClassByTime (Map timeMap);\r\n List<DutyMainUserVo> getShiftDutyClassByTimeAndDutyType(long shiftType,String time) throws ParseException;\r\n\r\n Long getLeaveDateByUserId(Long id, String startDate, String endDate);\r\n\r\n\r\n void addDutyLog(DutyLog dutyLog);\r\n\r\n List<DutyLog> getDutyLogBydutyTime(String dutyTime,Long subDutLogUserId);\r\n\r\n List<DutyLog> findDutyLog(Long dutyMainId,Long subDutyUserId);\r\n\r\n DutyLog findDutyLog(Long dutyMainId,Long dutyTypeId,Long subDutyUserId);\r\n\r\n DutyLog findAdminDutyLog(Map<String,Object> map);\r\n\r\n void delDutyLogById(Long id);\r\n\r\n void updateDutyLog(DutyLog dutyLog);\r\n\r\n List<DutyMain> findAllDutyList(DutyTypeVo dutyTypeVo);//根据域获取值班日期\r\n\r\n List<String> findUserByDomainId(String typeId, String searchText, Long domainId);\r\n\r\n List<DutyMainUserVo> selectDutyManById(Long dutyId, Long domainId);\r\n\r\n List<DutyTypeVo> findAllDutyTypeByDomainId(Long domainId);\r\n\r\n Date getMaxDate(Long domainId);\r\n\r\n List<DutyTypeVo> selectDutyTypeById(Long dutyId, Long domainId);\r\n\r\n List<Map<String, Object>> getDutyStatistics(Date beginTime, Date endTime, String domainId);\r\n\r\n /*保存延续按周排班*/\r\n int addWeek(List<DutyWeekUserVo> dutyWeekUserVo);\r\n\r\n List<DutyWeekUserVo> findWeek();\r\n\r\n\r\n List<DutyTypeVo> findDutyTypeById(Long dutyTypeId);\r\n\r\n List<Long> findDutyTime();\r\n\r\n List<DutyWeekUserVo> findWeekDuty(Long dutyId);\r\n\r\n /*更新编辑按周排班*/\r\n int delWeekUser(List<Long> delIds);\r\n\r\n int delMainUserByIds(List<Long> delIds);\r\n\r\n int addMans(List<DutyWeekUserVo> addMan);\r\n\r\n int addDutyMans(List<DutyMainUserVo> addMan);\r\n\r\n List<DutyTypeUserVo> findTypeUser(Long typeId,String searchText);\r\n\r\n List<DutyMainUserVo> findDutyMainUserByTypeId(Long typeId);\r\n\r\n void updateDutyMainUser(DutyMainUserVo dutyMainUserVo);\r\n\r\n int delWeekUsers();\r\n\r\n List<Long> findMinId();\r\n\r\n //查询最大时间\r\n Date findDesc();\r\n //查询最小时间\r\n Date findAsc();\r\n\r\n List<DutyMainUserVo> findDutyMainUserListByListID(Long listId);\r\n\r\n /**\r\n * jwt 同findDutyMainUserListByListID一样,只是获取itsm_duty_main_user的startTime和endTime\r\n * @param listId\r\n * @return\r\n */\r\n List<DutyMainUserVo> selectDutyMainUserListByListID(Long listId);\r\n\r\n List<DutyMainUserVo> findDutyMainUserListByDate(Map<String,Object> map);\r\n\r\n List<DutyMain> findDutyMainByListId(Long listId);\r\n\r\n List<DutyMain> findDutyMainByListId(Map<String,Object> map);\r\n\r\n List<DutyMainUserVo> findDutyMainUserListByDutyId(Long dutyId);\r\n\r\n void deleteDutyMainByDate(Map<String,Object> map);\r\n\r\n void deleteDutyMainByListId(Long listId);\r\n\r\n void deleteRecordByDutyId(Long dutyId);\r\n\r\n List<DutyMain> getAllDutyDateByDomainId(Map<String,Object> map);\r\n\r\n void upDateDutyUserContactsInfo(DutyMainUserVo dutyMainUserVo);\r\n\r\n\r\n void getMyDutyPage(Page<DutyMainUserVo,DutyMainUserQo> page);\r\n\r\n void updateDutyUserStatus(DutyMainUserVo dutyMainUserVo);\r\n\r\n List<DutyLog> getLogListByDutyIdAndTypeId(Map<String,Object> map);\r\n\r\n List<DutyTypeJobVo> findDutyMainTypeListByCDate(String currentDate);\r\n\r\n List<DutyMainUserVo> findUserListByDutyIdAndTypeId(Map<String,Object> map);\r\n\r\n void batchOffDutyList(Map<String,Object> map);\r\n\r\n void updateDutyLogByDutyTypeUser(DutyLog dutyLog);\r\n\r\n //jwt query获取itsm_duty_main_user表\r\n List<DutyMainUserVo> queryDutyMainUser(Page<DutyMainUserPageVo,DutyMainUserPageVo> page);\r\n}", "public interface I_R_ServiceRequest \n{\n\n /** TableName=R_ServiceRequest */\n public static final String Table_Name = \"R_ServiceRequest\";\n\n /** AD_Table_ID=2000030 */\n public static final int Table_ID = MTable.getTable_ID(Table_Name);\n\n KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);\n\n /** AccessLevel = 3 - Client - Org \n */\n BigDecimal accessLevel = BigDecimal.valueOf(3);\n\n /** Load Meta Data */\n\n /** Column name AD_Client_ID */\n public static final String COLUMNNAME_AD_Client_ID = \"AD_Client_ID\";\n\n\t/** Get Client.\n\t * Client/Tenant for this installation.\n\t */\n\tpublic int getAD_Client_ID();\n\n /** Column name AD_Org_ID */\n public static final String COLUMNNAME_AD_Org_ID = \"AD_Org_ID\";\n\n\t/** Set Organization.\n\t * Organizational entity within client\n\t */\n\tpublic void setAD_Org_ID (int AD_Org_ID);\n\n\t/** Get Organization.\n\t * Organizational entity within client\n\t */\n\tpublic int getAD_Org_ID();\n\n /** Column name AD_User_ID */\n public static final String COLUMNNAME_AD_User_ID = \"AD_User_ID\";\n\n\t/** Set User/Contact.\n\t * User within the system - Internal or Business Partner Contact\n\t */\n\tpublic void setAD_User_ID (int AD_User_ID);\n\n\t/** Get User/Contact.\n\t * User within the system - Internal or Business Partner Contact\n\t */\n\tpublic int getAD_User_ID();\n\n\tpublic org.compiere.model.I_AD_User getAD_User() throws RuntimeException;\n\n /** Column name AD_WF_NextNode_ID */\n public static final String COLUMNNAME_AD_WF_NextNode_ID = \"AD_WF_NextNode_ID\";\n\n\t/** Set AD_WF_NextNode_ID\t */\n\tpublic void setAD_WF_NextNode_ID (int AD_WF_NextNode_ID);\n\n\t/** Get AD_WF_NextNode_ID\t */\n\tpublic int getAD_WF_NextNode_ID();\n\n\tpublic org.compiere.model.I_AD_WF_Node getAD_WF_NextNode() throws RuntimeException;\n\n /** Column name AD_WF_Node_ID */\n public static final String COLUMNNAME_AD_WF_Node_ID = \"AD_WF_Node_ID\";\n\n\t/** Set Node.\n\t * Workflow Node (activity), step or process\n\t */\n\tpublic void setAD_WF_Node_ID (int AD_WF_Node_ID);\n\n\t/** Get Node.\n\t * Workflow Node (activity), step or process\n\t */\n\tpublic int getAD_WF_Node_ID();\n\n\tpublic org.compiere.model.I_AD_WF_Node getAD_WF_Node() throws RuntimeException;\n\n /** Column name AD_Workflow_ID */\n public static final String COLUMNNAME_AD_Workflow_ID = \"AD_Workflow_ID\";\n\n\t/** Set Workflow.\n\t * Workflow or combination of tasks\n\t */\n\tpublic void setAD_Workflow_ID (int AD_Workflow_ID);\n\n\t/** Get Workflow.\n\t * Workflow or combination of tasks\n\t */\n\tpublic int getAD_Workflow_ID();\n\n\tpublic org.compiere.model.I_AD_Workflow getAD_Workflow() throws RuntimeException;\n\n /** Column name BtnServiceRequest */\n public static final String COLUMNNAME_BtnServiceRequest = \"BtnServiceRequest\";\n\n\t/** Set BtnServiceRequest\t */\n\tpublic void setBtnServiceRequest (String BtnServiceRequest);\n\n\t/** Get BtnServiceRequest\t */\n\tpublic String getBtnServiceRequest();\n\n /** Column name C_Order_ID */\n public static final String COLUMNNAME_C_Order_ID = \"C_Order_ID\";\n\n\t/** Set Order.\n\t * Order\n\t */\n\tpublic void setC_Order_ID (int C_Order_ID);\n\n\t/** Get Order.\n\t * Order\n\t */\n\tpublic int getC_Order_ID();\n\n\tpublic org.compiere.model.I_C_Order getC_Order() throws RuntimeException;\n\n /** Column name C_OrderLine_ID */\n public static final String COLUMNNAME_C_OrderLine_ID = \"C_OrderLine_ID\";\n\n\t/** Set Sales Order Line.\n\t * Sales Order Line\n\t */\n\tpublic void setC_OrderLine_ID (int C_OrderLine_ID);\n\n\t/** Get Sales Order Line.\n\t * Sales Order Line\n\t */\n\tpublic int getC_OrderLine_ID();\n\n\tpublic org.compiere.model.I_C_OrderLine getC_OrderLine() throws RuntimeException;\n\n /** Column name Created */\n public static final String COLUMNNAME_Created = \"Created\";\n\n\t/** Get Created.\n\t * Date this record was created\n\t */\n\tpublic Timestamp getCreated();\n\n /** Column name CreatedBy */\n public static final String COLUMNNAME_CreatedBy = \"CreatedBy\";\n\n\t/** Get Created By.\n\t * User who created this records\n\t */\n\tpublic int getCreatedBy();\n\n /** Column name CreditCardType */\n public static final String COLUMNNAME_CreditCardType = \"CreditCardType\";\n\n\t/** Set Credit Card.\n\t * Credit Card (Visa, MC, AmEx)\n\t */\n\tpublic void setCreditCardType (String CreditCardType);\n\n\t/** Get Credit Card.\n\t * Credit Card (Visa, MC, AmEx)\n\t */\n\tpublic String getCreditCardType();\n\n /** Column name DocStatus */\n public static final String COLUMNNAME_DocStatus = \"DocStatus\";\n\n\t/** Set Document Status.\n\t * The current status of the document\n\t */\n\tpublic void setDocStatus (String DocStatus);\n\n\t/** Get Document Status.\n\t * The current status of the document\n\t */\n\tpublic String getDocStatus();\n\n /** Column name DocumentNo */\n public static final String COLUMNNAME_DocumentNo = \"DocumentNo\";\n\n\t/** Set Document No.\n\t * Document sequence number of the document\n\t */\n\tpublic void setDocumentNo (String DocumentNo);\n\n\t/** Get Document No.\n\t * Document sequence number of the document\n\t */\n\tpublic String getDocumentNo();\n\n /** Column name IsActive */\n public static final String COLUMNNAME_IsActive = \"IsActive\";\n\n\t/** Set Active.\n\t * The record is active in the system\n\t */\n\tpublic void setIsActive (boolean IsActive);\n\n\t/** Get Active.\n\t * The record is active in the system\n\t */\n\tpublic boolean isActive();\n\n /** Column name Processed */\n public static final String COLUMNNAME_Processed = \"Processed\";\n\n\t/** Set Processed.\n\t * The document has been processed\n\t */\n\tpublic void setProcessed (boolean Processed);\n\n\t/** Get Processed.\n\t * The document has been processed\n\t */\n\tpublic boolean isProcessed();\n\n /** Column name R_Category_ID */\n public static final String COLUMNNAME_R_Category_ID = \"R_Category_ID\";\n\n\t/** Set Category.\n\t * Request Category\n\t */\n\tpublic void setR_Category_ID (int R_Category_ID);\n\n\t/** Get Category.\n\t * Request Category\n\t */\n\tpublic int getR_Category_ID();\n\n\tpublic org.compiere.model.I_R_Category getR_Category() throws RuntimeException;\n\n /** Column name R_Request_ID */\n public static final String COLUMNNAME_R_Request_ID = \"R_Request_ID\";\n\n\t/** Set Request.\n\t * Request from a Business Partner or Prospect\n\t */\n\tpublic void setR_Request_ID (int R_Request_ID);\n\n\t/** Get Request.\n\t * Request from a Business Partner or Prospect\n\t */\n\tpublic int getR_Request_ID();\n\n\tpublic org.compiere.model.I_R_Request getR_Request() throws RuntimeException;\n\n /** Column name R_RequestType_ID */\n public static final String COLUMNNAME_R_RequestType_ID = \"R_RequestType_ID\";\n\n\t/** Set Request Type.\n\t * Type of request (e.g. Inquiry, Complaint, ..)\n\t */\n\tpublic void setR_RequestType_ID (int R_RequestType_ID);\n\n\t/** Get Request Type.\n\t * Type of request (e.g. Inquiry, Complaint, ..)\n\t */\n\tpublic int getR_RequestType_ID();\n\n\tpublic org.compiere.model.I_R_RequestType getR_RequestType() throws RuntimeException;\n\n /** Column name R_Resolution_ID */\n public static final String COLUMNNAME_R_Resolution_ID = \"R_Resolution_ID\";\n\n\t/** Set Resolution.\n\t * Request Resolution\n\t */\n\tpublic void setR_Resolution_ID (int R_Resolution_ID);\n\n\t/** Get Resolution.\n\t * Request Resolution\n\t */\n\tpublic int getR_Resolution_ID();\n\n\tpublic org.compiere.model.I_R_Resolution getR_Resolution() throws RuntimeException;\n\n /** Column name R_ServiceRequest_ID */\n public static final String COLUMNNAME_R_ServiceRequest_ID = \"R_ServiceRequest_ID\";\n\n\t/** Set ServiceRequest ID\t */\n\tpublic void setR_ServiceRequest_ID (int R_ServiceRequest_ID);\n\n\t/** Get ServiceRequest ID\t */\n\tpublic int getR_ServiceRequest_ID();\n\n /** Column name SalesRep_ID */\n public static final String COLUMNNAME_SalesRep_ID = \"SalesRep_ID\";\n\n\t/** Set Sales Representative.\n\t * Sales Representative or Company Agent\n\t */\n\tpublic void setSalesRep_ID (int SalesRep_ID);\n\n\t/** Get Sales Representative.\n\t * Sales Representative or Company Agent\n\t */\n\tpublic int getSalesRep_ID();\n\n\tpublic org.compiere.model.I_AD_User getSalesRep() throws RuntimeException;\n\n /** Column name Sector */\n public static final String COLUMNNAME_Sector = \"Sector\";\n\n\t/** Set Sector\t */\n\tpublic void setSector (int Sector);\n\n\t/** Get Sector\t */\n\tpublic int getSector();\n\n /** Column name SR_AccountType */\n public static final String COLUMNNAME_SR_AccountType = \"SR_AccountType\";\n\n\t/** Set SR_AccountType\t */\n\tpublic void setSR_AccountType (String SR_AccountType);\n\n\t/** Get SR_AccountType\t */\n\tpublic String getSR_AccountType();\n\n /** Column name SR_Amt */\n public static final String COLUMNNAME_SR_Amt = \"SR_Amt\";\n\n\t/** Set SR_Amt\t */\n\tpublic void setSR_Amt (BigDecimal SR_Amt);\n\n\t/** Get SR_Amt\t */\n\tpublic BigDecimal getSR_Amt();\n\n /** Column name SR_BPartner_Loaction_ID */\n public static final String COLUMNNAME_SR_BPartner_Loaction_ID = \"SR_BPartner_Loaction_ID\";\n\n\t/** Set SR_BPartner_Loaction_ID\t */\n\tpublic void setSR_BPartner_Loaction_ID (int SR_BPartner_Loaction_ID);\n\n\t/** Get SR_BPartner_Loaction_ID\t */\n\tpublic int getSR_BPartner_Loaction_ID();\n\n\tpublic org.compiere.model.I_C_BPartner_Location getSR_BPartner_Loaction() throws RuntimeException;\n\n /** Column name SR_BPartnerRef_ID */\n public static final String COLUMNNAME_SR_BPartnerRef_ID = \"SR_BPartnerRef_ID\";\n\n\t/** Set SR_BPartnerRef_ID\t */\n\tpublic void setSR_BPartnerRef_ID (int SR_BPartnerRef_ID);\n\n\t/** Get SR_BPartnerRef_ID\t */\n\tpublic int getSR_BPartnerRef_ID();\n\n\tpublic org.compiere.model.I_C_BPartner getSR_BPartnerRef() throws RuntimeException;\n\n /** Column name SR_ChargeDate */\n public static final String COLUMNNAME_SR_ChargeDate = \"SR_ChargeDate\";\n\n\t/** Set SR_ChargeDate\t */\n\tpublic void setSR_ChargeDate (Timestamp SR_ChargeDate);\n\n\t/** Get SR_ChargeDate\t */\n\tpublic Timestamp getSR_ChargeDate();\n\n /** Column name SR_Comments */\n public static final String COLUMNNAME_SR_Comments = \"SR_Comments\";\n\n\t/** Set SR_Comments\t */\n\tpublic void setSR_Comments (String SR_Comments);\n\n\t/** Get SR_Comments\t */\n\tpublic String getSR_Comments();\n\n /** Column name SR_CorrectValue */\n public static final String COLUMNNAME_SR_CorrectValue = \"SR_CorrectValue\";\n\n\t/** Set SR_CorrectValue\t */\n\tpublic void setSR_CorrectValue (String SR_CorrectValue);\n\n\t/** Get SR_CorrectValue\t */\n\tpublic String getSR_CorrectValue();\n\n /** Column name SR_CreditCardDueDate */\n public static final String COLUMNNAME_SR_CreditCardDueDate = \"SR_CreditCardDueDate\";\n\n\t/** Set SR_CreditCardDueDate\t */\n\tpublic void setSR_CreditCardDueDate (String SR_CreditCardDueDate);\n\n\t/** Get SR_CreditCardDueDate\t */\n\tpublic String getSR_CreditCardDueDate();\n\n /** Column name SR_CreditCardNo */\n public static final String COLUMNNAME_SR_CreditCardNo = \"SR_CreditCardNo\";\n\n\t/** Set SR_CreditCardNo\t */\n\tpublic void setSR_CreditCardNo (String SR_CreditCardNo);\n\n\t/** Get SR_CreditCardNo\t */\n\tpublic String getSR_CreditCardNo();\n\n /** Column name SR_Date */\n public static final String COLUMNNAME_SR_Date = \"SR_Date\";\n\n\t/** Set SR_Date\t */\n\tpublic void setSR_Date (Timestamp SR_Date);\n\n\t/** Get SR_Date\t */\n\tpublic Timestamp getSR_Date();\n\n /** Column name SR_Description */\n public static final String COLUMNNAME_SR_Description = \"SR_Description\";\n\n\t/** Set SR_Description\t */\n\tpublic void setSR_Description (String SR_Description);\n\n\t/** Get SR_Description\t */\n\tpublic String getSR_Description();\n\n /** Column name SR_DueDate */\n public static final String COLUMNNAME_SR_DueDate = \"SR_DueDate\";\n\n\t/** Set SR_DueDate\t */\n\tpublic void setSR_DueDate (Timestamp SR_DueDate);\n\n\t/** Get SR_DueDate\t */\n\tpublic Timestamp getSR_DueDate();\n\n /** Column name SR_EditionNo */\n public static final String COLUMNNAME_SR_EditionNo = \"SR_EditionNo\";\n\n\t/** Set SR_EditionNo\t */\n\tpublic void setSR_EditionNo (String SR_EditionNo);\n\n\t/** Get SR_EditionNo\t */\n\tpublic String getSR_EditionNo();\n\n /** Column name SR_EMail */\n public static final String COLUMNNAME_SR_EMail = \"SR_EMail\";\n\n\t/** Set SR_EMail\t */\n\tpublic void setSR_EMail (String SR_EMail);\n\n\t/** Get SR_EMail\t */\n\tpublic String getSR_EMail();\n\n /** Column name SR_InvoiceNo */\n public static final String COLUMNNAME_SR_InvoiceNo = \"SR_InvoiceNo\";\n\n\t/** Set SR_InvoiceNo\t */\n\tpublic void setSR_InvoiceNo (String SR_InvoiceNo);\n\n\t/** Get SR_InvoiceNo\t */\n\tpublic String getSR_InvoiceNo();\n\n /** Column name SR_Last4Digits */\n public static final String COLUMNNAME_SR_Last4Digits = \"SR_Last4Digits\";\n\n\t/** Set SR_Last4Digits\t */\n\tpublic void setSR_Last4Digits (String SR_Last4Digits);\n\n\t/** Get SR_Last4Digits\t */\n\tpublic String getSR_Last4Digits();\n\n /** Column name SR_Name */\n public static final String COLUMNNAME_SR_Name = \"SR_Name\";\n\n\t/** Set SR_Name\t */\n\tpublic void setSR_Name (String SR_Name);\n\n\t/** Get SR_Name\t */\n\tpublic String getSR_Name();\n\n /** Column name SR_NC */\n public static final String COLUMNNAME_SR_NC = \"SR_NC\";\n\n\t/** Set SR_NC\t */\n\tpublic void setSR_NC (BigDecimal SR_NC);\n\n\t/** Get SR_NC\t */\n\tpublic BigDecimal getSR_NC();\n\n /** Column name SR_OperationNo */\n public static final String COLUMNNAME_SR_OperationNo = \"SR_OperationNo\";\n\n\t/** Set SR_OperationNo\t */\n\tpublic void setSR_OperationNo (String SR_OperationNo);\n\n\t/** Get SR_OperationNo\t */\n\tpublic String getSR_OperationNo();\n\n /** Column name SR_PartialOrTotal */\n public static final String COLUMNNAME_SR_PartialOrTotal = \"SR_PartialOrTotal\";\n\n\t/** Set SR_PartialOrTotal\t */\n\tpublic void setSR_PartialOrTotal (String SR_PartialOrTotal);\n\n\t/** Get SR_PartialOrTotal\t */\n\tpublic String getSR_PartialOrTotal();\n\n /** Column name SR_Phone */\n public static final String COLUMNNAME_SR_Phone = \"SR_Phone\";\n\n\t/** Set SR_Phone\t */\n\tpublic void setSR_Phone (String SR_Phone);\n\n\t/** Get SR_Phone\t */\n\tpublic String getSR_Phone();\n\n /** Column name SR_PhoneUser_ID */\n public static final String COLUMNNAME_SR_PhoneUser_ID = \"SR_PhoneUser_ID\";\n\n\t/** Set SR_PhoneUser_ID\t */\n\tpublic void setSR_PhoneUser_ID (int SR_PhoneUser_ID);\n\n\t/** Get SR_PhoneUser_ID\t */\n\tpublic int getSR_PhoneUser_ID();\n\n\tpublic org.compiere.model.I_AD_User getSR_PhoneUser() throws RuntimeException;\n\n /** Column name SR_Reason */\n public static final String COLUMNNAME_SR_Reason = \"SR_Reason\";\n\n\t/** Set SR_Reason\t */\n\tpublic void setSR_Reason (String SR_Reason);\n\n\t/** Get SR_Reason\t */\n\tpublic String getSR_Reason();\n\n /** Column name SR_Reference */\n public static final String COLUMNNAME_SR_Reference = \"SR_Reference\";\n\n\t/** Set SR_Reference\t */\n\tpublic void setSR_Reference (String SR_Reference);\n\n\t/** Get SR_Reference\t */\n\tpublic String getSR_Reference();\n\n /** Column name SR_User_ID */\n public static final String COLUMNNAME_SR_User_ID = \"SR_User_ID\";\n\n\t/** Set SR_User_ID\t */\n\tpublic void setSR_User_ID (int SR_User_ID);\n\n\t/** Get SR_User_ID\t */\n\tpublic int getSR_User_ID();\n\n\tpublic org.compiere.model.I_AD_User getSR_User() throws RuntimeException;\n\n /** Column name Updated */\n public static final String COLUMNNAME_Updated = \"Updated\";\n\n\t/** Get Updated.\n\t * Date this record was updated\n\t */\n\tpublic Timestamp getUpdated();\n\n /** Column name UpdatedBy */\n public static final String COLUMNNAME_UpdatedBy = \"UpdatedBy\";\n\n\t/** Get Updated By.\n\t * User who updated this records\n\t */\n\tpublic int getUpdatedBy();\n\n /** Column name User1_ID */\n public static final String COLUMNNAME_User1_ID = \"User1_ID\";\n\n\t/** Set User List 1.\n\t * User defined list element #1\n\t */\n\tpublic void setUser1_ID (int User1_ID);\n\n\t/** Get User List 1.\n\t * User defined list element #1\n\t */\n\tpublic int getUser1_ID();\n\n\tpublic org.compiere.model.I_AD_User getUser1() throws RuntimeException;\n\n /** Column name Zone */\n public static final String COLUMNNAME_Zone = \"Zone\";\n\n\t/** Set Zone\t */\n\tpublic void setZone (String Zone);\n\n\t/** Get Zone\t */\n\tpublic String getZone();\n}", "public interface SiacTAttoLeggeDao extends Dao<SiacTAttoLegge,Integer> {\n\t\n\t\n\t/**\n\t * Creates the.\n\t *\n\t * @param attoLegge the atto legge\n\t * @return the siac t atto legge\n\t */\n\tSiacTAttoLegge create(SiacTAttoLegge attoLegge);\n\n\t/* (non-Javadoc)\n\t * @see it.csi.siac.siaccommonser.integration.dao.base.Dao#update(java.lang.Object)\n\t */\n\tSiacTAttoLegge update(SiacTAttoLegge attoDiLeggeDB);\n\t\n\t/* (non-Javadoc)\n\t * @see it.csi.siac.siaccommonser.integration.dao.base.Dao#findById(java.lang.Object)\n\t */\n\tSiacTAttoLegge findById (Integer uid);\n\t\n}", "@Mapper\n@Repository\npublic interface ClientDao {\n\n @Insert(value = \"insert into client_information(phone_number,user_name,password) values (#{phoneNumber},#{userName},#{password})\")\n void addClient(@Param(\"userName\") String userName, @Param(\"phoneNumber\") String phoneNumber , @Param(\"password\") String password);\n\n @Update(value = \"update client_information set sex=#{sex},user_name=#{user_name},email=#{email},\" +\n \"unit=#{unit},place=#{place} where phone_number=#{phone_number}\")\n void updateClient(@Param(\"phone_number\") String phone_number,@Param(\"user_name\") String user_name,@Param(\"sex\") String sex,@Param(\"email\") String email,@Param(\"unit\") String unit,@Param(\"place\") String place);\n\n @Select(value = \"select * from client_information where phone_number=#{phoneNumber}\")\n ClientVO selectClient(String phoneNumber);\n\n @Update(value = \"update client_information set password=#{password} where phone_number=#{phone_number}\")\n void updatePass(@Param(\"phone_number\") String phone_number,@Param(\"password\") String password);\n\n}", "public GeneracionPolizasDAOImpl(SqlMapClient sqlMapClient) {\r\n \n\t super();\r\n\t this.sqlMapClient = sqlMapClient;\r\n\t }", "public interface CustomerDAO {\n Customer getCustomer(String customerName);\n\n Customer getCustomer(int customerID);\n\n ObservableList<Customer> getAllCustomers() throws SQLException;\n\n void addCustomer(Customer newCustomer) throws SQLException;\n\n void updateCustomer(Customer toUpdate) throws SQLException;\n\n void deleteCustomer(Customer deleteTarget);\n}", "public interface DepartmentDao {\n\n /**\n * 部门列表查询\n * @return\n */\n @Select(\"select deptno,dname,loc from department\")\n List<Map> getDeptList();\n}", "public interface ReportCateDao {\n\t/**\n\t * 获取id的子分类\n\t *\n\t * @param id 当前分类Id\n\t * @return\n\t */\n\tList<ReportCate> getSubCates(@Param(\"id\") int id);\n\n\t/**\n\t * 添加分类\n\t *\n\t * @param cate\n\t * @return\n\t */\n\tvoid addCate(ReportCate cate);\n\n\t/**\n\t * 修改分类\n\t *\n\t * @param cate\n\t * @return\n\t */\n\tInteger editCateName(ReportCate cate);\n\n\n\t/**\n\t * 获取id的分类\n\t *\n\t * @param id 当前分类Id\n\t * @return\n\t */\n\tReportCate getCate(@Param(\"id\") int id);\n\n\t/**\n\t * 更新分类所以字段\n\t *\n\t * @param cate 当前分类Id\n\t * @return\n\t */\n\tInteger updateCate(ReportCate cate);\n\n\t/**\n\t * 批量更新分类所以字段\n\t *\n\t * @param cates 当前分类Id\n\t * @return\n\t */\n\tInteger batchUpdateCate(List<ReportCate> cates);\n\n\n\t/**\n\t * 删除\n\t * @param cateId\n\t * @return\n\t */\n\tInteger delete(int cateId);\n\n\n\t/**\n\t * 获取各个节点的子节点数\n\t *\n\t * @param ids 要查询的id列表\n\t * @return\n\t */\n\tList<ReportCate> getChildrenCount(List<Integer> ids);\n}", "@Mapper\npublic interface CscpFuncDao {\n @Insert(\"insert into cscp_org_func values(#{orgID,jdbcType=VARCHAR},#{funcID,jdbcType=VARCHAR})\")\n void saveOrgFunc(@Param(\"orgID\") String orgID, @Param(\"funcID\") String funcID);\n @Select(\"select f.id,f.func_name,f.func_type,f.func_desc from cscp_org_func of,cscp_function f where of.org_id=#{orgID,jdbcType=VARCHAR} and of.func_id=f.id and f.func_type=1\")\n @Results({\n @Result(column=\"id\", property=\"id\", jdbcType= JdbcType.VARCHAR, id=true),\n @Result(column=\"func_type\", property=\"funcType\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"func_name\", property=\"funcName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"func_desc\", property=\"description\", jdbcType=JdbcType.VARCHAR)\n })\n List<CscpFunc> getFuncs(String orgID);\n @Select(\"select menu_id from cscp_func_menu m left join cscp_org_func of on m.func_id=of.func_id where of.org_id=#{orgID,jdbcType=VARCHAR}\")\n List<String> getFuncMenus(String orgID);\n}", "public interface CompactDao extends BaseDao<Compact> {\n List<Compact> getCompactByStatus(Map<String, Integer> map);\n\n Compact getCompactByHouseId(Integer houseId);\n\n void addGas(Gas gas);\n\n void addCondo(Condo condo);\n\n void addWater(Water water);\n\n void addPower(Power power);\n\n void updatePower(Fee fee);\n\n void updateCondo(Fee fee);\n\n void updateGas(Fee fee);\n\n void updateWater(Fee fee);\n\n List<Compact> getCompactByStatusAndUser(Map<String, String> map);\n\n List<Price> getAllPrice();\n}", "public interface CustMapper {\n public void createCust(CustDto custDto);\n\n public CustDto getCust(Long id);\n}", "public interface CrmDmDbsBmsMapper {\n public static String TABLENAME = \"crm_dm_bds_bms\";\n @Select(\"select * from \"+TABLENAME+\" WHERE staff_city_id=#{cityId, jdbcType=BIGINT} limit 10 \")\n @Results({\n @Result(column=\"id\", property=\"id\", jdbcType= JdbcType.BIGINT, id=true),\n @Result(column=\"Saler_id\", property=\"salerId\", jdbcType= JdbcType.BIGINT),\n @Result(column=\"Saler_name\", property=\"salerName\", jdbcType= JdbcType.BIGINT)\n })\n public List<CrmDmBdsBms> findSalerListByCityId(@Param(\"cityId\") Long cityId);\n}", "public interface CspPackageDAO extends Mapper<CspPackage> {\n\n CspPackage findUserPackageById(@Param(\"userId\") String userId);\n\n List<CspPackage> findCspPackage();\n\n\n\n}", "public interface CustomerDAO {\n public void saveOrUpdate(Customer customer);\n public void delete(int customer_id);\n public Customer get(int customer_id);\n public List<Customer> list();\n}", "public static Customer getCustomer(int _customerID) throws SQLException{\n ResultSet rs = ConnectionManager.selectAllColumns(\"Tbl_Customer_GroupNo\", \"CustomerID= \"+_customerID);\n if(rs.next()){\n Customer cus = new Customer(rs.getInt(\"CustomerId\"), rs.getString(\"FirstName\"), rs.getString(\"LastName\"), rs.getString(\"Address\"), rs.getString(\"Email\"), rs.getString(\"Phone\"));\n return cus;\n }else{\n return null;\n }\n }", "public DyMscMgwSccpDAOImpl() {\r\n super();\r\n }", "public interface CustomerManageBusiness extends BaseBusiness {\n\n\t/**\n\t * 条件获取广告主名\n\t * @param condition\n\t * @return\n\t */\n\tpublic List<Map<String, Object>> searchCustomer(int visitId, Map<String, Object> condition) throws BusinessException;\n\t\n\t/**\n\t * 根据ID删除策略-广告主关系\n\t * @param id\n\t * @return\n\t * @throws BusinessException\n */\n\tpublic int deleteInfoById(int id)throws BusinessException;\n\n\tpublic int insertTradeInfo(Map<String,Object> condition) throws BusinessException;\n\n\tpublic List<Map<String,Object>> findAllByCondition(Map<String,Object> condition) throws BusinessException;\n\n\tpublic int countAllByCondition(Map<String,Object> condition) throws BusinessException;\n\n\tpublic List<Map<String,Object>> selectAllInfo(Map<String,Object> condition) throws BusinessException;\n\n\tpublic int countAllInfo(Map<String,Object> condition) throws BusinessException;\n}", "public interface ClerkShiftRecordDAO {\n\n int insert(ClerkShiftDO clerkShiftDO);\n\n Page<ClerkShiftVO> query(ClerkShiftBO clerkShiftBO,RowBounds build);\n}", "io.opencannabis.schema.commerce.OrderCustomer.Customer getCustomer();", "@Override\n public DycpCompensacionDTO encontrar(String numControl) throws SIATException {\n try {\n String query =\n \" SELECT C.*, S.*, TT.*, SI.*, PER.*, CON.*, IMP.*, CON.DESCRIPCION, PER.DESCRIPCION as DESCRIPCION_PERIODO, IMP.DESCRIPCION as DESCRIPCION_IMPUESTO \"\n + \"FROM DYCP_COMPENSACION C, DYCP_SERVICIO S, DYCC_TIPOTRAMITE TT, DYCT_SALDOICEP SI, \"\n + \"DYCC_PERIODO PER, DYCC_CONCEPTO CON, DYCC_IMPUESTO IMP \"\n + \"WHERE C.NUMCONTROL = S.NUMCONTROL \"\n + \"AND TT.IDTIPOTRAMITE = S.IDTIPOTRAMITE AND SI.IDSALDOICEP = C.IDSALDOICEPORIGEN \"\n + \"AND PER.IDPERIODO = SI.IDPERIODO AND CON.IDCONCEPTO = SI.IDCONCEPTO AND IMP.IDIMPUESTO = CON.IDIMPUESTO \" \n + \"AND C.NUMCONTROL = ? ORDER BY C.IDSALDOICEPDESTINO DESC\";\n TipoTramiteMapper mapperTipoTramite = new TipoTramiteMapper();\n DycpServicioMapper mapperServicio = new DycpServicioMapper();\n mapperServicio.setMapperTipoTramite(mapperTipoTramite);\n CompensacionMapper mapper = new CompensacionMapper();\n DyctSaldoIcepMapper mapperSaldoIcep = new DyctSaldoIcepMapper();\n PeriodoMapper mapperPeriodo = new PeriodoMapper();\n ConceptoMapper mapperConcepto = new ConceptoMapper();\n ImpuestoMapper mapperImpuesto = new ImpuestoMapper();\n mapperSaldoIcep.setMapperPeriodo(mapperPeriodo);\n mapperConcepto.setMapperImpuesto(mapperImpuesto);\n mapperSaldoIcep.setMapperConcepto(mapperConcepto);\n mapper.setMapperServicio(mapperServicio);\n mapper.setMapperSaldoIcepOrigen(mapperSaldoIcep);\n return jdbcTemplateDYC.queryForObject(query, new Object[] { numControl }, mapper);\n } catch (DataAccessException dae) {\n log.error(ConstantesDyC1.TEXTO_1_ERROR_DAO + dae.getMessage() + ConstantesDyC1.TEXTO_2_ERROR_DAO +\n SQLOracleDyC.CONSULTA_DYCP_COMPENSACION + ConstantesDyC1.TEXTO_3_ERROR_DAO + \"numcontrol\" + numControl +\n ConstantesDyC1.TEXTO_8_CAUSAS + dae.getCause());\n throw new SIATException(dae);\n }\n }", "public DerivedPartOfPerspectivesFKDAOJDBC() {\n \t\n }", "@Mapper\npublic interface PayDataImportMapper {\n /**\n * 根据订单号查询第三方订单\n *\n * @param trades_id\n */\n List<PayDataImport> getImportListByTradesId(@Param(\"trades_id\") String trades_id);\n\n public int updateImportStatus(@Param(\"trade_id\") String trade_id,\n @Param(\"data_type\") Integer data_type ,@Param(\"account_status\") Integer account_status);\n\n /*public int updateImportStatusByTradesIdAnd(@Param(\"id\") Integer id,\n @Param(\"account_checking_status\") Integer account_checking_status);*/\n\n /**\n * 批量保存第三方订单\n * @param payDataImportList\n */\n void savePayDataImport(@Param(value=\"payDataImportList\") PayDataImport payDataImportList);\n\n // int add(@Param(value=\"payDataImportList\") PayDataImport payDataImport);\n\n /**\n * 根据check_status是否处理字段查询第三方订单\n */\n List<PayDataImport> getPayDataImportListByCheckStatus();\n\n List<PayDataImport> getPayDataImportListByRemitAccountStatus(); //取导入表中划账金额\n\n List<PayDataImport> getPayLogList(@Param(\"payDataImportParams\") PayDataImportParams payDataImport);\n\n\n List<Map<String,Object>> getPayDataImportList (Map<String,Object> params);\n\n Map getPayDataImportStastic(Map<String,Object> params);//统计付款(退款)对账表的汇总sql语句\n\n int updateCheckStatusById(Map<String,Object> params);\n\n List<Map<String,Object>> getPayDataImportExcel(Map<String, Object> params);\n\n PayDataImport getPayDataImportByTradesIdAndStatus(@Param(\"tradesId\") String tradesId,@Param(\"tradesStatus\") String tradesStatus);\n\n int updateImportList(@Param(\"payDataImport\") PayDataImport payDataImport);\n\n List<PayDataImport> selectPayDataByTradesId(@Param(\"trades_id\") String tradesId);\n\n PayDataImport selectPayDataByTradesIdAndAccountBalance(@Param(\"tradesId\")String tradesId, @Param(\"tradesStatus\")String tradesStatus,@Param(\"accountBalance\")String accountBalance);\n\n List<PayDataImport> selectPayDataForCheck();\n\n void updateLostTradesId();\n}", "public interface PdbDao {\n\n /**\n * List of company codes for the given ownership codes.\n *\n * @param ownCodes map of own codes with their segments.\n * @return list of OLBCompanyMigration objects.\n * @throws PopulateDataException is thrown.\n */\n List getCompanies(OwnCodes ownCodes) throws PopulateDataException;\n\n}", "public interface CustomerService {\n\n List<Customer> getAllCustomer();\n\n //根据条件获得客户信息列表\n List<Customer> getCustomer(Customer customer);\n\n Customer getCustomerById(Integer id);\n\n int insertCustomer(Customer customer);\n\n int insertSelectiveCustomer(Customer customer);\n\n int deleteCustomer(Integer id );\n\n int updateCustomer(Customer customer );\n}", "public ResultSet Trans(Long userid) throws Exception{\n\trs=DbConnect.getStatement().executeQuery(\"select c.user_id,c.first_name,c.last_name,cd.DEMAT_ACC_NO from customer c,CUSTOMER_DETAILS cd,login l where l.login_id=c.login_id and c.user_id=cd.user_id and l.login_id=\"+userid+\"\");\r\n\treturn rs;\r\n}", "public StorePointsUsersDAO(){\n\t\t\n\t}", "public interface ProcesoMAEClasificacionClientesDAO extends DAO {\n\n\t/**\n\t * Proceso que realiza la actualizacin de clasificacion de Clientes\n\t * \n\t * @param criteria\n\t */\n\tpublic void executeProcesarClasificacion(Map criteria);\n\n\t/**\n\t * Proceso que realiza la actualizacin de clasificacion LOVE de Clientes\n\t * \n\t * @param criteria\n\t */\n\tpublic void executeProcesarClasificacionLove(Map criteria);\n\n\t/**\n\t * Proceso que realiza la actualizacin de datos de Clientes\n\t * \n\t * @param criteria\n\t */\n\tpublic void executeActualizarDatosClientes(Map criteria);\n\n\t/**Proceso q se encarga de ejecutar las validaciones de MAE\n\t * @param criteria\n\t */\n\tpublic void executeValidacionClientes(Map criteria);\n\n\t/**\n\t * Proceso que realiza la Inactivación de conultoras registradas \n\t * despues de dos capañasde creadas en el maestro\n\t * \n\t * @param criteria\n\t */\n\tpublic void executeInactivarConsultora2campanas(Map criteria);\n}", "public interface SaasSmsConfigDictionaryDao extends BaseMapper<SaasSmsConfigDictionary> {\n\n}", "public interface PaymentRequestDao {\n\n /**\n * Get all the payment requests that need to be extracted that match a credit memo.\n *\n * @param campusCode - limit results to a single chart\n * @param paymentRequestIdentifier - Payment Request Identifier (can be null)\n * @param purchaseOrderIdentifier - PO Identifier (can be null)\n * @param vendorHeaderGeneratedIdentifier\n * - Vendor Header ID\n * @param vendorDetailAssignedIdentifier - Vendor Detail ID\n * @param currentSqlDateMidnight current SQL date midnight\n * @return - list of payment requests that need to be extracted\n */\n public List<PaymentRequestDocument> getPaymentRequestsToExtract(String campusCode, Integer paymentRequestIdentifier, Integer purchaseOrderIdentifier, Integer vendorHeaderGeneratedIdentifier, Integer vendorDetailAssignedIdentifier, Date currentSqlDateMidnight);\n\n /**\n * Get all the payment requests that need to be extracted that match a credit memo.\n *\n * @param campusCode - limit results to a single chart\n * @param vendor - Vendor Header ID, Vendor Detail ID, Country, Zip Code\n * @param onOrBeforePaymentRequestPayDate\n * only payment requests with a pay date on or before this value will be returned in the\n * iterator\n * @return - list of payment requests that need to be extracted\n */\n public Collection<PaymentRequestDocument> getPaymentRequestsToExtractForVendor(String campusCode, VendorGroupingHelper vendor, Date onOrBeforePaymentRequestPayDate);\n\n /**\n * Get all the payment requests that need to be extracted to PDP.\n *\n * @param onlySpecialPayments - true only include special payments, False - include all\n * @param chartCode - if not null, limit results to a single chart\n * @return - Collection of payment requests\n */\n public List<PaymentRequestDocument> getPaymentRequestsToExtract(boolean onlySpecialPayments, String chartCode, Date onOrBeforePaymentRequestPayDate);\n\n /**\n * Get all the payment requests that are marked immediate that need to be extracted to PDP.\n *\n * @param chartCode - chart of accounts code\n * @return - Collection of payment requests\n */\n public List<PaymentRequestDocument> getImmediatePaymentRequestsToExtract(String chartCode);\n\n /**\n * Get all payment request documents that are eligible for auto-approval. Whether or not a document is eligible for\n * auto-approval is determined according to whether or not the document total is below a pre-determined minimum amount. This\n * amount is derived from the accounts, charts and/or organizations associated with a given document. If no minimum amount can\n * be determined from chart associations a default minimum specified as a system parameter is used to determine the minimum\n * amount threshold.\n *\n * @param todayAtMidnight\n * @return - an Iterator over all payment request documents eligible for automatic approval\n */\n public List<String> getEligibleForAutoApproval(Date todayAtMidnight);\n\n public List<String> getEligibleForAutoApproval();\n\n /**\n * Get a payment request document number by id.\n *\n * @param id - PaymentRequest Id\n * @return - PaymentRequest or null if not found\n */\n public String getDocumentNumberByPaymentRequestId(Integer id);\n\n /**\n * Retrieves a list of document numbers by purchase order id.\n *\n * @param id - purchase order id\n * @return - list of document numbers\n */\n public List<String> getDocumentNumbersByPurchaseOrderId(Integer id);\n\n\n /**\n * Retrieves a list of Payment Requests with the given vendor id and invoice number.\n *\n * @param vendorHeaderGeneratedId - header id of the vendor id\n * @param vendorDetailAssignedId - detail id of the vendor id\n * @param invoiceNumber - invoice number as entered by AP\n * @return - List of Payment Requests.\n */\n public List getActivePaymentRequestsByVendorNumberInvoiceNumber(Integer vendorHeaderGeneratedId, Integer vendorDetailAssignedId, String invoiceNumber);\n\n /**\n * Retrieves a list of Payment Requests with the given vendor id and invoice number.\n *\n * @param vendorHeaderGeneratedId - header id of the vendor id\n * @param vendorDetailAssignedId - detail id of the vendor id\n * @return - List of Payment Requests.\n */\n public List getActivePaymentRequestsByVendorNumber(Integer vendorHeaderGeneratedId, Integer vendorDetailAssignedId);\n\n /**\n * Retrieves a list of Payment Requests with the given PO Id, invoice amount, and invoice date.\n *\n * @param poId - purchase order ID\n * @param invoiceAmount - amount of the invoice as entered by AP\n * @param invoiceDate - date of the invoice as entered by AP\n * @return - List of Pay Reqs.\n */\n public List getActivePaymentRequestsByPOIdInvoiceAmountInvoiceDate(Integer poId, KualiDecimal invoiceAmount, Date invoiceDate);\n\n /**\n * Retrieves a list of potentially active payment requests for a purchase order by status code. Active being defined as being\n * enroute and before final. The issue is that a status of vendor_tax_review may not mean that it's in review, but could be in\n * final (as there isn't a final status code for payment request). Workflow status must be checked further after retrieval.\n *\n * @param purchaseOrderId\n * @return\n */\n public List<String> getActivePaymentRequestDocumentNumbersForPurchaseOrder(Integer purchaseOrderId);\n\n /**\n * Get all payment request which are waiting in receiving status queue\n *\n * @return\n */\n public List<String> getPaymentRequestInReceivingStatus();\n\n}", "public interface ComponentDAO {\r\n /**\r\n * Retrieves all coverage components\r\n *\r\n * @param record input record\r\n * @param recordLoadProcessor an instance of the load processor to set page entitlements\r\n * @return\r\n */\r\n RecordSet loadAllComponents(Record record, RecordLoadProcessor recordLoadProcessor);\r\n\r\n /**\r\n * Retrieves all pending prior act coverage components\r\n *\r\n * @param record input record\r\n * @param recordLoadProcessor an instance of the load processor to set page entitlements\r\n * @return\r\n */\r\n RecordSet loadAllPendPriorActComp(Record record, RecordLoadProcessor recordLoadProcessor);\r\n\r\n /**\r\n * Save all input component records with the Pm_Nb_End.Save_Covg_Component stored procedure.\r\n * Set the rowStatus field to NEW for records that are newly added in this request.\r\n * Set the rowStatus field to MODIFIED for records that have already been saved in this WIP transaction,\r\n * and are just being updated.\r\n *\r\n * @param inputRecords a set of Records, each with the PolicyHeader, PolicyIdentifier,\r\n * and Component Detail info matching the fields returned from the loadAllComponents method.\r\n * @return the number of rows updated.\r\n */\r\n int addAllComponents(RecordSet inputRecords);\r\n\r\n /**\r\n * Update all given input records with the Pm_Endorse.Change_Covg_Component stored procedure.\r\n *\r\n * @param inputRecords a set of Records, each with the PolicyHeader, PolicyIdentifier,\r\n * and Component Detail info matching the fields returned from the loadAllComponents method.\r\n * @return the number of rows updated.\r\n */\r\n int updateAllComponents(RecordSet inputRecords);\r\n\r\n /**\r\n * Delete all given input records with the Pm_Nb_Del.Del_Covg_Component stored procedure.\r\n *\r\n * @param inputRecords a set of Records, each with the PolicyHeader, PolicyIdentifier,\r\n * and Component Detail info matching the fields returned from the loadAllComponents method.\r\n * @return the number of rows updated.\r\n */\r\n int deleteAllComponents(RecordSet inputRecords);\r\n\r\n /**\r\n * Get the Cancel WIP rule\r\n *\r\n * @param record\r\n * @return\r\n */\r\n public Record getCancelWipRule(Record record);\r\n\r\n /**\r\n * Get the component cycle years\r\n *\r\n * @param record\r\n * @return\r\n */\r\n public int getCycleYearsForComponent(Record record);\r\n\r\n /**\r\n * Get the component num days\r\n *\r\n * @param record\r\n * @return\r\n */\r\n public int getNumDaysForComponent(Record record);\r\n\r\n /**\r\n * To load all dependent components\r\n *\r\n * @param record\r\n * @param recordLoadProcessor\r\n * @return\r\n */\r\n public RecordSet loadAllAvailableComponent(Record record, RecordLoadProcessor recordLoadProcessor);\r\n\r\n /**\r\n * Get the earliest contiguous coverage effective date with the function Pm_Dates.Nb_Covg_Startdt(coverage_fk, check_dt)\r\n *\r\n * @param record\r\n * @return\r\n */\r\n public Record getCoverageContiguousEffectiveDate(Record record);\r\n\r\n /**\r\n * Get component PK and base record FK\r\n *\r\n * @param record\r\n * @return\r\n */\r\n public Record getComponentIdAndBaseId(Record record);\r\n\r\n /**\r\n * Load Cycle Detail\r\n *\r\n * @param inputRecord\r\n * @return RecordSet\r\n */\r\n public RecordSet loadAllCycleDetail(Record inputRecord);\r\n\r\n /**\r\n * Load Surcharge Points\r\n *\r\n * @param inputRecord\r\n * @return RecordSet\r\n */\r\n public RecordSet loadAllSurchargePoint(Record inputRecord);\r\n\r\n /**\r\n * Save all surcharge points data.\r\n *\r\n * @param inputRecords intput record\r\n * @return the number of row updateds\r\n */\r\n public int saveAllSurchargePoint(RecordSet inputRecords);\r\n\r\n /**\r\n * validate component copy\r\n * @param inputRecord\r\n * @return validate status code statusCode\r\n */\r\n String validateCopyAllComponent(Record inputRecord);\r\n\r\n /**\r\n * delete all component from coverage for delete risk all\r\n * @param compRs\r\n */\r\n void deleteAllCopiedComponent(RecordSet compRs);\r\n\r\n /**\r\n * Load all processing event.\r\n *\r\n * @param inputRecord\r\n * @return RecordSet\r\n */\r\n public RecordSet loadAllProcessingEvent(Record inputRecord, RecordLoadProcessor entitlementRLP);\r\n\r\n /**\r\n * Load all processing detail.\r\n *\r\n * @param inputRecord\r\n * @return RecordSet\r\n */\r\n public RecordSet loadAllProcessingDetail(Record inputRecord);\r\n\r\n /**\r\n * Save all processing event.\r\n *\r\n * @param inputRecords\r\n * @return the number of row updated\r\n */\r\n public int saveAllProcessingEvent(RecordSet inputRecords);\r\n\r\n /**\r\n * Set RMT Classification indicator.\r\n *\r\n * @param inputRecord\r\n */\r\n public void setRMTIndicator(Record inputRecord);\r\n\r\n /**\r\n * Process RM Discount\r\n *\r\n * @param inputRecord\r\n * @return Record\r\n */\r\n public Record processRmDiscount(Record inputRecord);\r\n\r\n /**\r\n * Load all Corp/Org discount member.\r\n *\r\n * @param inputRecord\r\n * @param entitlementRLP\r\n * @return RecordSet\r\n */\r\n public RecordSet loadAllCorpOrgDiscountMember(Record inputRecord, RecordLoadProcessor entitlementRLP);\r\n\r\n /**\r\n * Process Corp/Org discount\r\n *\r\n * @param inputRecord\r\n * @return Record\r\n */\r\n public Record processCorpOrgDiscount(Record inputRecord);\r\n\r\n /**\r\n * Load all processing event history\r\n *\r\n * @param inputRecord\r\n * @return RecordSet\r\n */\r\n public RecordSet loadAllProcessEventHistory(Record inputRecord);\r\n\r\n /**\r\n * Load all processing detail history\r\n *\r\n * @param inputRecord\r\n * @return RecordSet\r\n */\r\n public RecordSet loadAllProcessDetailHistory(Record inputRecord);\r\n\r\n /**\r\n * Apply the component\r\n *\r\n * @param inputRecord\r\n * @return Record\r\n */\r\n public Record applyMassComponet(Record inputRecord);\r\n\r\n /**\r\n * Check if it is a problem policy\r\n *\r\n * @param inputRecord\r\n * @return String\r\n */\r\n public String isProblemPolicy(Record inputRecord);\r\n\r\n /**\r\n * Check if add component allowed\r\n *\r\n * @param inputRecord\r\n * @return\r\n */\r\n String isAddComponentAllowed(Record inputRecord);\r\n\r\n /**\r\n * Get short term component's effective from and effective to date\r\n *\r\n * @param inputRecord Input record containing risk and coverage level details\r\n * @return Record that contains component effective from date and effective to date.\r\n */\r\n Record getShortTermCompEffAndExpDates(Record inputRecord);\r\n\r\n /**\r\n * Check if the official component record has a temp record exists for the specific transaction.\r\n *\r\n * @param inputRecord include component base record id and transaction id\r\n * @return true if component temp record exists\r\n * false if component temp record does not exist\r\n */\r\n boolean isComponentTempRecordExist(Record inputRecord);\r\n\r\n /**\r\n * Check if changing component expiring date in OOSE is allowed\r\n *\r\n * @param inputRecord\r\n * @return\r\n */\r\n String isOoseChangeDateAllowed(Record inputRecord);\r\n\r\n /**\r\n * Load effective to date with PM_Dates.NB_Covg_ExpDt stored procedure.\r\n * <p/>\r\n *\r\n * @param inputRecord a Record with information to load the effective to date.\r\n * @return Coverage effective to date.\r\n */\r\n String getCoverageExpirationDate(Record inputRecord);\r\n\r\n /**\r\n * Validate component duplicate.\r\n * @param inputRecord\r\n * @return\r\n */\r\n Record validateComponentDuplicate(Record inputRecord);\r\n\r\n /**\r\n * Check if the NDD expiration date is configured for the component.\r\n *\r\n * @param inputRecord include component base record id and transaction id\r\n * @return true if configured\r\n * false if not configured\r\n */\r\n boolean getNddSkipValidateB(Record inputRecord);\r\n\r\n /**\r\n * Load experience discount history information.\r\n *\r\n * @param inputRecord\r\n * @return RecordSet\r\n */\r\n public RecordSet loadExpHistoryInfo(Record inputRecord);\r\n\r\n /**\r\n * Load claim information for a specific period of the risk.\r\n *\r\n * @param inputRecord\r\n * @return RecordSet\r\n */\r\n public RecordSet loadClaimInfo(Record inputRecord);\r\n}", "public static DTO_JPOS_Customer getCustomer(int customerId,Connection con) {\r\n\t\tLMSDAOFactory factory = LMSDAOFactory.getInstances();\r\n\t\tIJPOS_Customer myCustomer = factory.getJPOS_Customer();\r\n\t\treturn myCustomer.getCustomer(customerId,con);\r\n\t}", "@SuppressWarnings(\"all\")\npublic interface I_i_ordertrx_temp \n{\n\n /** TableName=i_ordertrx_temp */\n public static final String Table_Name = \"i_ordertrx_temp\";\n\n /** AD_Table_ID=1000126 */\n public static final int Table_ID = MTable.getTable_ID(Table_Name);\n\n KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);\n\n /** AccessLevel = 3 - Client - Org \n */\n BigDecimal accessLevel = BigDecimal.valueOf(3);\n\n /** Load Meta Data */\n\n /** Column name AD_Client_ID */\n public static final String COLUMNNAME_AD_Client_ID = \"AD_Client_ID\";\n\n\t/** Get Client.\n\t * Client/Tenant for this installation.\n\t */\n\tpublic int getAD_Client_ID();\n\n /** Column name AD_Org_ID */\n public static final String COLUMNNAME_AD_Org_ID = \"AD_Org_ID\";\n\n\t/** Set Organization.\n\t * Organizational entity within client\n\t */\n\tpublic void setAD_Org_ID (int AD_Org_ID);\n\n\t/** Get Organization.\n\t * Organizational entity within client\n\t */\n\tpublic int getAD_Org_ID();\n\n /** Column name count_order */\n public static final String COLUMNNAME_count_order = \"count_order\";\n\n\t/** Set count_order\t */\n\tpublic void setcount_order (int count_order);\n\n\t/** Get count_order\t */\n\tpublic int getcount_order();\n\n /** Column name Created */\n public static final String COLUMNNAME_Created = \"Created\";\n\n\t/** Get Created.\n\t * Date this record was created\n\t */\n\tpublic Timestamp getCreated();\n\n /** Column name CreatedBy */\n public static final String COLUMNNAME_CreatedBy = \"CreatedBy\";\n\n\t/** Get Created By.\n\t * User who created this records\n\t */\n\tpublic int getCreatedBy();\n\n /** Column name i_ordertrx_temp_ID */\n public static final String COLUMNNAME_i_ordertrx_temp_ID = \"i_ordertrx_temp_ID\";\n\n\t/** Set Semeru Order Temporary\t */\n\tpublic void seti_ordertrx_temp_ID (int i_ordertrx_temp_ID);\n\n\t/** Get Semeru Order Temporary\t */\n\tpublic int geti_ordertrx_temp_ID();\n\n /** Column name insert_order */\n public static final String COLUMNNAME_insert_order = \"insert_order\";\n\n\t/** Set insert_order\t */\n\tpublic void setinsert_order (boolean insert_order);\n\n\t/** Get insert_order\t */\n\tpublic boolean isinsert_order();\n\n /** Column name order_detail */\n public static final String COLUMNNAME_order_detail = \"order_detail\";\n\n\t/** Set order_detail\t */\n\tpublic void setorder_detail (String order_detail);\n\n\t/** Get order_detail\t */\n\tpublic String getorder_detail();\n\n /** Column name orders */\n public static final String COLUMNNAME_orders = \"orders\";\n\n\t/** Set orders\t */\n\tpublic void setorders (String orders);\n\n\t/** Get orders\t */\n\tpublic String getorders();\n\n /** Column name pos */\n public static final String COLUMNNAME_pos = \"pos\";\n\n\t/** Set pos\t */\n\tpublic void setpos (String pos);\n\n\t/** Get pos\t */\n\tpublic String getpos();\n\n /** Column name Result */\n public static final String COLUMNNAME_Result = \"Result\";\n\n\t/** Set Result.\n\t * Result of the action taken\n\t */\n\tpublic void setResult (String Result);\n\n\t/** Get Result.\n\t * Result of the action taken\n\t */\n\tpublic String getResult();\n\n /** Column name transaction_id */\n public static final String COLUMNNAME_transaction_id = \"transaction_id\";\n\n\t/** Set transaction_id\t */\n\tpublic void settransaction_id (int transaction_id);\n\n\t/** Get transaction_id\t */\n\tpublic int gettransaction_id();\n\n /** Column name Updated */\n public static final String COLUMNNAME_Updated = \"Updated\";\n\n\t/** Get Updated.\n\t * Date this record was updated\n\t */\n\tpublic Timestamp getUpdated();\n\n /** Column name UpdatedBy */\n public static final String COLUMNNAME_UpdatedBy = \"UpdatedBy\";\n\n\t/** Get Updated By.\n\t * User who updated this records\n\t */\n\tpublic int getUpdatedBy();\n}", "public String getCustomer(String custId);", "@Mapper\npublic interface CityDao {\n\n /**\n * 根据名字查找城市\n * @param cityName\n * @return\n */\n City findByName(@Param(\"cityName\")String cityName);\n\n void saveCity(City city);\n}", "@Mapper(componentModel = \"spring\", uses = {})\npublic interface OrderPaymentMapper extends EntityMapper<OrderPaymentDTO, OrderPayment> {\n\n\n\n default OrderPayment fromId(Long id) {\n if (id == null) {\n return null;\n }\n OrderPayment orderPayment = new OrderPayment();\n orderPayment.setId(id);\n return orderPayment;\n }\n}", "public abstract IMEmoticonRecordDao mo122978a();", "@Component\n@Mapper\npublic interface CreativeDao {\n String TABLE_NAME=\" ad_user \";\n String INSERT_FIELDS=\" name,type,material_type,height,width,size,duration,audit_status,\" +\n \"user_id,url,create_time,update_time \";\n String SELECT_FIELDS=\" id,\"+INSERT_FIELDS;\n @Insert({\"insert\",TABLE_NAME,\"(\",INSERT_FIELDS,\") values (name=#{name},type=#{type},material_type=#{materialType}\" +\n \",height=#{height},width=#{width),size=#{size},duration=#{duration},audit_status=#{audit_status},\" +\n \"user_id=#{user_id},url=#{url},create_time=#{create_time},update_time=#{update_time}\"})\n int insertCreative(Creative creative);\n @Select({\"select\",SELECT_FIELDS,\"from\",TABLE_NAME,\"where user_id=#{userId}\"})\n Creative selectCreativeByUserId(Long userId);\n @Select({\"select\",SELECT_FIELDS,\"from\",TABLE_NAME,\"where id=#{id}\"})\n Creative selectById(@Param(\"id\")Long id);\n default List<Creative> selectAllById(List<Long> ids){\n List<Creative> creatives=new ArrayList<>();\n for (Long id:ids) {\n creatives.add(selectById(id));\n }\n return creatives;\n }\n @Select({\"select\",SELECT_FIELDS,\"from\",TABLE_NAME})\n List<Creative> selectAll();\n}", "public interface RechargeOrderMapper {\n\n /**\n * 新增充值数据\n * @param orderPO\n * @return\n * @throws Exception\n */\n public int insertOrder(RechargeOrderPO orderPO) throws Exception;\n\n /**\n * 根据id更新orderId\n * @param orderId\n * @param id\n * @return\n * @throws Exception\n */\n public int updateOrderIdById(@Param(\"orderId\")String orderId, @Param(\"id\")int id) throws Exception;\n\n /**查询当日全部充值数量,计算交易单号\n *\n * @param timeSpanBO\n * @return\n * @throws Exception\n */\n public int selectCountByTime(TimeSpanBO timeSpanBO) throws Exception;\n\n /**查询当日充值记录\n *\n * @param timeSpanBO\n * @return\n * @throws Exception\n */\n public List<RechargeOrderPO> selectAllPayment(TimeSpanBO timeSpanBO) throws Exception;\n\n /**根据微信回调更新tradeNo,tradeNo不为空表明该笔交易成功\n *\n * @param tradeNo\n * @param orderId\n * @return\n * @throws Exception\n */\n public int updatePaymentStatus(@Param(\"tradeNo\")String tradeNo, @Param(\"orderId\")String orderId)throws Exception;\n\n /**根据orderId查询订单,主要为了查这笔交易的金额,与微信回调做比对,防止交易被篡改\n *\n * @param orderId\n * @return\n * @throws Exception\n */\n public RechargeOrderPO selectPaymentByOrderId(@Param(\"orderId\")String orderId)throws Exception;\n\n /**查询某用户全部充值记录\n *\n * @param openId\n * @return\n * @throws Exception\n */\n public List<RechargeOrderPO> selectPaymentByOpenId(@Param(\"openId\")String openId)throws Exception;\n\n}", "public VRpDyCellGprsCsBhDAOImpl() {\r\n super();\r\n }", "public interface RecustomerTableService extends Service<RecustomerTable> {\n List<RecustomerTable> selectUsers();\n\n int insertByRebackUser(RecustomerTable recustomerTable);\n}", "public interface UserDao extends SqlObject {\n\n @SqlQuery(\"SELECT account_code FROM users WHERE email = ?\")\n String getAccountCode(String email);\n\n @SqlQuery(\"SELECT id, email, account_code FROM users WHERE id = ?\")\n @RegisterBeanMapper(User.class)\n User getUserById(Integer userId);\n}", "public interface CRateProduccionMapper {\r\n \r\n // <editor-fold defaultstate=\"collapsed\" desc=\"CONSULTAS DEFINIDAS\">\r\n \r\n static final String FIND_ALL = \"SELECT \"\r\n + \" rates_produccion.id as recid,\"\r\n + \" rates_produccion.maquina,\"\r\n + \" maquinas.codigo as codigoMaquina,\"\r\n + \" rates_produccion.producto,\"\r\n + \" productos.codigo as codigoProducto,\"\r\n + \" rates_produccion.unidades_minuto \"\r\n + \"FROM rates_produccion \"\r\n + \"LEFT JOIN maquinas ON \"\r\n + \"maquinas.id = rates_produccion.maquina \"\r\n + \"LEFT JOIN productos ON \"\r\n + \"productos.id = rates_produccion.producto \";\r\n \r\n static final String FIND_BY_MAQUINA_PRODUCTO = \"SELECT \"\r\n + \" rates_produccion.id as recid \"\r\n + \"FROM rates_produccion \"\r\n + \"WHERE rates_produccion.maquina = #{maquina} \"\r\n + \"AND rates_produccion.producto = #{producto}\";\r\n \r\n // </editor-fold>\r\n \r\n /**\r\n * Query que regresa todos los rates existentes\r\n * @return lista de rates\r\n */\r\n @Select(FIND_ALL)\r\n public List<CRateProduccion> findAll(); \r\n \r\n /**\r\n * Método que me permite ubicar un rate de producción por su máquina-producto\r\n * @param maquina id de la maquina\r\n * @param producto id del producto\r\n * @return el id del rate\r\n */\r\n @Select(FIND_BY_MAQUINA_PRODUCTO)\r\n public Long findByMaquinaProducto(@Param(\"maquina\")Long maquina,@Param(\"producto\")Long producto);\r\n}", "public interface CustomerService {\n List<Customer> findPubsea();\n\n List<Customer> findCustomer();\n\n void update(Customer customer);\n\n /**\n * 公海客户认领\n * @param customerId\n * @param loginUser\n */\n void claim(Long customerId, LoginUser loginUser);\n}" ]
[ "0.6625394", "0.63936615", "0.614188", "0.6108422", "0.59960866", "0.59196854", "0.58515656", "0.5756954", "0.574515", "0.57250863", "0.5650262", "0.564074", "0.5633487", "0.56187195", "0.55279446", "0.55278635", "0.5527525", "0.552303", "0.55100375", "0.55098754", "0.550828", "0.55051327", "0.55050576", "0.54980826", "0.5489355", "0.54595023", "0.545314", "0.5451347", "0.545124", "0.54464406", "0.54409987", "0.5437818", "0.5422072", "0.5419389", "0.5403223", "0.53848654", "0.53783774", "0.5375255", "0.5371871", "0.53699315", "0.53627783", "0.53599524", "0.53557754", "0.5355545", "0.5353283", "0.5352516", "0.5344883", "0.53418845", "0.53388625", "0.5338693", "0.5338411", "0.5335226", "0.53161645", "0.53101724", "0.53096527", "0.53020656", "0.52939427", "0.52878296", "0.52872926", "0.5283329", "0.52796304", "0.52713346", "0.52707285", "0.52522117", "0.5251317", "0.524984", "0.5248761", "0.52485406", "0.52388585", "0.52337694", "0.5232037", "0.52307004", "0.5228965", "0.52264035", "0.5222244", "0.52213436", "0.522008", "0.5199701", "0.5196559", "0.5194281", "0.51887196", "0.51872236", "0.5185251", "0.518113", "0.51797146", "0.5178678", "0.51769114", "0.5175387", "0.5175307", "0.5174973", "0.51724213", "0.51621884", "0.5159085", "0.51571727", "0.51488054", "0.51424235", "0.5141309", "0.51394296", "0.51344985", "0.5130506" ]
0.6624717
1
/ // END SELECT AREA / =================================================================================== / INSERT AREA
void insertCustomerDDPay(CustomerDDPay cddp);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public insertExp() throws SQLException {\n this.setExtendedState(JFrame.MAXIMIZED_BOTH);\n initComponents();\n jLabel1.setVisible(false);\n idLable.setVisible(false);\n showNextId();\n showProjCombo();\n detailsText.setComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT);\n }", "@Override\r\n\tpublic void adminSelectAdd() {\r\n\t\t// TODO Auto-generated method stub\r\n\t\t\r\n\t}", "public void addToInsertSelects(entity.LoadInsertSelect element);", "int insertSelective(MenuInfo record);", "int insertSelective(AdminTab record);", "@Override\n protected void processSelect() {\n \n }", "int insertSelective(XxAreaWithBLOBs record);", "private void appendSelectStatement() {\n builder.append(SELECT).append(getSelectedFields()).append(FROM);\n }", "SELECT createSELECT();", "int insertSelective(TDictAreas record);", "public void select()\n {\n super.select();\n SwingUtilities.invokeLater(() -> _sqlPanel.getSQLEntryPanel().requestFocus());\n }", "private void azzeraInsertForm() {\n\t\tviewInserimento.getCmbbxTipologia().setSelectedIndex(-1);\n\t\tviewInserimento.getTxtFieldDataI().setText(\"\");\n\t\tviewInserimento.getTxtFieldValore().setText(\"\");\n\t\tviewInserimento.getTxtFieldDataI().setBackground(Color.white);\n\t\tviewInserimento.getTxtFieldValore().setBackground(Color.white);\n\t}", "private Cursor selectStatements(TransferObject feature) throws Exception {\r\n\t //ContentValues cv = new ContentValues(); \r\n\t List<FieldTO> fields = feature.getFields();\r\n\t String[] selectionArgs = new String[fields.size()];\r\n\t for (int i=0; i<fields.size();i++) {\r\n\t \tFieldTO fieldTO = fields.get(i);\r\n\t \tString name = fieldTO.getName();\r\n\t \tObject value = fieldTO.getValue();\r\n\t \tselectionArgs[i] = String.valueOf(value);\r\n\r\n\t\t}\r\n\t // return getDb().insert(getTableName(), null, cv);\r\n\t\tStatementFactory statement = new StatementFactory(feature);\r\n StringBuilder sqls = statement.createStatementSQL();\r\n Cursor c = getDb().rawQuery(sqls.toString(), selectionArgs);\r\n\t return c;\r\n\t}", "public void pasteSelection() {\r\n \t\t// Bertoli Marco\r\n \t\tclipboard.paste();\r\n \r\n \t\t// If more than one stations are present enables link button\r\n \t\tif (graph.getModel().getRootCount() > 1) {\r\n \t\t\tsetConnect.setEnabled(true);\r\n \t\t}\r\n \t\t// If one station is present show select button\r\n \t\tif (graph.getModel().getRootCount() >= 1) {\r\n \t\t\tactivateSelect();\r\n \t\t}\r\n \t}", "int insertSelective(ProjectOtherView record);", "public void reinsertSelect()\r\n {\n\r\n HTMLSelectElement selectElem = comp.getHTMLSelectElement();\r\n comp.dispose();\r\n\r\n ((EventTarget)addRowsElem).removeEventListener(\"click\",this,false);\r\n ((EventTarget)removeRowsElem).removeEventListener(\"click\",this,false);\r\n ((EventTarget)reinsertSelect).removeEventListener(\"click\",this,false);\r\n ((EventTarget)changeOptions).removeEventListener(\"click\",this,false);\r\n\r\n Node parentNode = selectElem.getParentNode();\r\n Node nextNode = selectElem.getNextSibling();\r\n parentNode.removeChild(selectElem);\r\n parentNode.insertBefore(selectElem, nextNode);\r\n\r\n initListMultiple();\r\n }", "int insertSelective(PdfCodeTemporary record);", "public void add() {\n preAdd();\n EntitySelect<T> entitySelect = getEntitySelect();\n entitySelect.setMultiSelect(true);\n getEntitySelect().open();\n }", "public void insertSelective(TbAdminMenu record) {\n getSqlMapClientTemplate().insert(\"tb_admin_menu.ibatorgenerated_insertSelective\", record);\n }", "int insertSelective(Assist_table record);", "@Override\n\t\tpublic void insertar() {\n\t\t\tutilitario.getTablaisFocus().insertar();\n\n\t\t}", "int insertSelective(AbiFormsForm record);", "int insertSelective(SecondSlideshow record);", "int insertSelective(UsrMmenus record);", "void insertSelective(GfanCodeBanner record) throws SQLException;", "void diagramSelection(DynamicTable table, String line, int product) {\n\n float longDif = longitudeMaxO - longitudeMinO;\n float latDif = latitudeMaxO - latitudeMinO;\n\n if (longDif > latDif){\n areaDifference = longDif;\n } else {\n areaDifference = latDif;\n }\n areaDifference = ec.ceiling(areaDifference,0);\n\n //................FLOOR VALUE - ........................\n float latitudeMin = ec.floor(latitudeMinO,0);\n float longitudeMin = ec.floor(longitudeMinO,0);\n\n //................CEILING ......................\n float latitudeMax = ec.ceiling(latitudeMaxO,0);\n float longitudeMax = ec.ceiling(longitudeMaxO,0);\n\n // ....... Initialize the value of the areadifference ARRAY[] .............\n for (int tf = 0; tf < sc.MAX1; tf++) {\n if ((tf+1) == areaDifference) {\n trueFalse[tf] = \"true\";\n } else {\n trueFalse[tf] = \"\";\n } // if (tf == areaDifference)\n } // for int tf\n\n //................CREATE SELECT BOXES.................\n Select tableSelect = new Select(sc.TABLESIZE +\n \"\\\" onChange=\\\"updateMenus(this); updatePTable(this); \" +\n \"writeIt(plongitudewest.value,platitudenorth.value,ptable.value)\");\n tableSelect.addOption(new Option(\"&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \" +\n \"&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \" +\n \"&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \" +\n \"&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\"));\n tableSelect.addOption(new Option(\"\"));\n tableSelect.addOption(new Option(\"\"));\n\n Select blockSelect = new Select(sc.BLOCKSIZE);\n blockSelect.addOption(new Option(\"&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \" +\n \"&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \" +\n \"&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \" +\n \"&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\"));\n blockSelect.addOption(new Option(\"\"));\n blockSelect.addOption(new Option(\"\"));\n if (dbg) System.out.println(\"blocksize <br>\");\n\n //................IF STATEMENT for DIAGRAM................\n\n if ( (product == INVEN) || (product == MEANS) ) { // inventories, means\n\n //................DIAGRAM:................\n String latNJavaScript = \"\\\" onChange=\\\"writeIt(\" + sc.LONGITUDEWEST +\n \".value,\" + sc.LATITUDENORTH + \".value,ptable.value);\\\"\\n\";\n String latSJavaScript = \"\\\" onFocus=\\\"this.blur()\";\n String lonWJavaScript = \"\\\" onChange=\\\"writeIt(\" + sc.LONGITUDEWEST +\n \".value,\" + sc.LATITUDENORTH + \".value,ptable.value);\\\"\\n\";\n String lonEJavaScript = \"\\\" onFocus=\\\"this.blur()\";\n\n table.addRow(ec.latlonRangeInput(\n \"Select Top right Corner\",\n 6,\n new Float (latitudeMin).toString(),\n new Float (latitudeMax).toString(),\n new Float (longitudeMin).toString(),\n new Float (longitudeMax).toString(),\n \"<b><font color=green>N</font></b>\", \"<b>S</b>\",\n \"<b><font color=green>W</font></b>\", \"<b>E</b>\",\n latNJavaScript, latSJavaScript,\n latNJavaScript, latSJavaScript,\n \"\"));\n //BREAKS\n table.addRow(ec.crSpanColsRow(\"<br>\",2));\n\n //TABLE SIZE input box\n //TextField txt2 = new TextField(sc.TABLESIZE, 10, 10, \"\");\n table.addRow(ec.cr2ColRow(\n \"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\" +\n \"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\" +\n chFSize(\"Table Size:<br><i>(degrees square)</i>\",\"-1\"),\n tableSelect.toHTML()));\n\n //BLOCK SIZE Size input box\n //txt2 = new TextField(sc.BLOCKSIZE, 10, 10, \"\");\n table.addRow(ec.cr2ColRow(\n \"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\" +\n \"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\" +\n chFSize(\"Block Size: <br><i>(minutes square)</i>\",\"-1\"),\n blockSelect.toHTML()));\n //BREAKS\n table.addRow(ec.crSpanColsRow(\"<br>\",2));\n\n if (dbg) System.out.println(\"blockSelect = \" + blockSelect + \"<br>\");\n\n } else { // ROSES, HISTO, SCATT, TIMES\n\n //................DIAGRAM:................\n table.addRow(ec.latlonRangeInput(\n \"Enter Range Selection\",\n 6,\n new Float (latitudeMin).toString(),\n new Float (latitudeMax).toString(),\n new Float (longitudeMin).toString(),\n new Float (longitudeMax).toString(),\n \"<b><font color=green>N</font></b>\",\n \"<b><font color=green>S</font></b>\",\n \"<b><font color=green>W</font></b>\",\n \"<b><font color=green>E</font></b>\",\n \"\", \"\", \"\", \"\", \"\"));\n table.addRow(ec.crSpanColsRow(\"<br>\",2));\n\n } // if ((product == 1) ...\n }", "public void widgetSelected(org.eclipse.swt.events.SelectionEvent e) {\n\t\t\t\t\t\tRoomAdd ra=new RoomAdd();\r\n\t\t\t\t\t\tra.getsShell().open();\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tsShell.setMinimized(true);\r\n\t\t\t\t\t\t/*if(ra.flag){\r\n\t\t\t\t\t\t\tnewRoom=ra.getRoom();\r\n\t\t\t\t\t\t\ttableViewer.add(SystemManageShell.newRoom);\r\n\t\t\t\t\t\t}*/\r\n\t\t\t\t\t\t}", "@Override\n\tpublic void insertar() {\n\t\t\n\t}", "private void ini_SelectDB()\r\n\t{\r\n\r\n\t}", "@Override\n\tpublic void select() {\n\t}", "private void add() {\n \tfinal DBBrowserTree dbBrowserTree = new DBBrowserTree(type, false);\n \tdbBrowserTree.getSelectionModel().setSelectionMode(TreeSelectionModel.DISCONTIGUOUS_TREE_SELECTION);\n dbBrowserTree.addMouseListener(new MouseAdapter() {\n public void mousePressed(MouseEvent e) {\n job(e, true);\n }\n\n public void mouseReleased(MouseEvent e) {\n job(e, false);\n }\n\n private void job(MouseEvent e, boolean pressed) {\n \tTreePath[] paths = dbBrowserTree.getSelectionPaths();\n if (paths == null) {\n return;\n }\n dbBrowserTree.setSelectionPaths(paths);\t\t\t\t\n }\n });\n JScrollPane scroll = new JScrollPane(dbBrowserTree);\n scroll.setPreferredSize(scrTreeDim);\n \n JPanel panel = new JPanel();\n panel.add(scroll);\n \n JDialog dialog = new BaseDialog(panel, I18NSupport.getString(\"wizard.publish.entities.select\"), true) {\n \t protected boolean ok() {\n \t\t TreePath[] paths = dbBrowserTree.getSelectionPaths();\n if (paths == null) {\n return false;\n } \n \t\t\t\tfor (TreePath selPath : paths) {\t\t\t\t\t\n \t\t\t\t\tfinal DBBrowserNode selectedNode = (DBBrowserNode) selPath.getLastPathComponent();\t \t\t\t\t\t\n \t\t\t\t\tif (!selectedNode.getDBObject().isFolder()) {\n \t\t\t\t\t\tString path = selectedNode.getDBObject().getAbsolutePath();\n \t\t\t\t\t\tif (!listModel.contains(path)) {\n \t\t\t\t\t\t // convert xml if needed before add to list\n\t\t\t\t\t\t\tif (selectedNode.getDBObject().getType() == DBObject.REPORTS) {\n\t\t\t\t\t\t\t\tbyte result = ConverterUtil.convertIfNeeded(path);\n\t\t\t\t\t\t\t\tif (result != ConverterUtil.TYPE_CONVERSION_EXCEPTION) {\n\t\t\t\t\t\t\t\t\tlistModel.addElement(path);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tlistModel.addElement(path);\n\t\t\t\t\t\t\t}\n \t\t\t\t\t\t}\t\n \t\t\t\t\t} \t\t\t\t\t\n \t\t\t\t}\n \t return true;\n \t }\n };\n \tdialog.setBackground(Color.WHITE); \t\n dialog.pack(); \n Show.centrateComponent(Globals.getMainFrame(), dialog);\n dialog.setVisible(true); \t\n }", "int insertSelective(TempletLink record);", "int insertSelective(Prueba record);", "public abstract void addSelectorForm();", "int insertSelective(HelpInfo record);", "@Override\n\tpublic int insertArea(Area area) {\n\t\treturn areaMapper.insertArea(area);\n\t}", "int insertSelective(QtActivitytype record);", "@Override\n protected Control createDialogArea(Composite parent) {\n Composite container = (Composite) super.createDialogArea(parent);\n container.setLayout(new FormLayout());\n\n updateListener = new Listener() {\n\n public void handleEvent(Event e) {\n if (tblRoutes.getSelectionIndex() != -1) {\n TableItem item = tblRoutes.getItem(tblRoutes.getSelectionIndex());\n RouteWrapper wrapper = (RouteWrapper) item.getData();\n\n if (!updateLock) {\n updateLock = true;\n wrapper.setBreakAfterRoute(cmdSetBreakAfterRoute.getSelection());\n wrapper.setRoutePattern(txtRoutePattern.getText());\n wrapper.setDynamicSequence(CMB_CAPTION_REGISTRY_REFERENCE.equals(cmbSequenceType.getText()));\n updateLock = false;\n }\n\n }\n }\n };\n\n Label lblRouters = new Label(container, SWT.NONE);\n FormData fd_lblRouters = new FormData();\n fd_lblRouters.right = new FormAttachment(0, 75);\n fd_lblRouters.top = new FormAttachment(0, 10);\n fd_lblRouters.left = new FormAttachment(0, 10);\n lblRouters.setLayoutData(fd_lblRouters);\n lblRouters.setText(\"Routes\");\n\n tblRoutes = new Table(container, SWT.BORDER | SWT.FULL_SELECTION);\n FormData fd_tblRouters = new FormData();\n fd_tblRouters.top = new FormAttachment(lblRouters, 9);\n fd_tblRouters.left = new FormAttachment(0, 10);\n fd_tblRouters.bottom = new FormAttachment(0, 169);\n tblRoutes.setHeaderVisible(true);\n\n tblRoutes.setLayoutData(fd_tblRouters);\n tblRoutes.addSelectionListener(new SelectionAdapter() {\n @Override\n public void widgetSelected(SelectionEvent e) {\n updateSelection();\n }\n });\n\n TableColumn tblclmnRoutes = new TableColumn(tblRoutes, SWT.NONE);\n tblclmnRoutes.setWidth(315);\n tblclmnRoutes.setText(\"Routes\");\n\n cmdRouteAdd = new Button(container, SWT.NONE);\n FormData fd_cmdRouteAdd = new FormData();\n fd_tblRouters.right = new FormAttachment(cmdRouteAdd, -6);\n\n fd_cmdRouteAdd.top = new FormAttachment(0, 36);\n fd_cmdRouteAdd.left = new FormAttachment(0, 334);\n cmdRouteAdd.setLayoutData(fd_cmdRouteAdd);\n cmdRouteAdd.setText(\"Add\");\n cmdRouteAdd.addSelectionListener(new SelectionAdapter() {\n @Override\n public void widgetSelected(SelectionEvent e) {\n RouterTargetContainer routerTargetContainer = EsbFactory.eINSTANCE.createRouterTargetContainer();\n RouteWrapper wrapper = new RouteWrapper(routerTargetContainer);\n TableItem item = bindRoute(wrapper);\n tblRoutes.select(tblRoutes.indexOf(item));\n updateSelection();\n }\n });\n\n cmdRouteRemove = new Button(container, SWT.NONE);\n FormData fd_cmdRouteRemove = new FormData();\n fd_cmdRouteRemove.top = new FormAttachment(cmdRouteAdd, 6);\n fd_cmdRouteRemove.right = new FormAttachment(cmdRouteAdd, 0, SWT.RIGHT);\n fd_cmdRouteRemove.left = new FormAttachment(0, 334);\n cmdRouteRemove.setLayoutData(fd_cmdRouteRemove);\n cmdRouteRemove.setText(\"Remove\");\n cmdRouteRemove.setEnabled(false);\n cmdRouteRemove.addSelectionListener(new SelectionAdapter() {\n\n public void widgetSelected(SelectionEvent e) {\n int selectedIndex = tblRoutes.getSelectionIndex();\n if (-1 != selectedIndex) {\n unbindRoute(selectedIndex);\n // Select the next available candidate for deletion.\n if (selectedIndex < tblRoutes.getItemCount()) {\n tblRoutes.select(selectedIndex);\n } else {\n tblRoutes.select(selectedIndex - 1);\n }\n }\n }\n });\n Label label = new Label(container, SWT.SEPARATOR | SWT.HORIZONTAL);\n fd_cmdRouteAdd.right = new FormAttachment(label, 0, SWT.RIGHT);\n FormData fd_label = new FormData();\n fd_label.right = new FormAttachment(100, -22);\n fd_label.left = new FormAttachment(0, 10);\n fd_label.top = new FormAttachment(tblRoutes, 6);\n label.setLayoutData(fd_label);\n\n comConfig = new Composite(container, SWT.NONE);\n FormData fd_comConfig = new FormData();\n fd_comConfig.bottom = new FormAttachment(100, -10);\n fd_comConfig.left = new FormAttachment(0, 11);\n fd_comConfig.right = new FormAttachment(100, -22);\n fd_comConfig.top = new FormAttachment(0, 177);\n comConfig.setLayoutData(fd_comConfig);\n comConfig.setLayout(new GridLayout(3, false));\n comConfig.setEnabled(false);\n\n cmdSetBreakAfterRoute = new Button(comConfig, SWT.CHECK);\n cmdSetBreakAfterRoute.setText(\"Break After Route\");\n cmdSetBreakAfterRoute.addListener(SWT.Selection, updateListener);\n new Label(comConfig, SWT.NONE);\n new Label(comConfig, SWT.NONE);\n\n Label lblRouteExpression = new Label(comConfig, SWT.NONE);\n lblRouteExpression.setText(\"Route expression\");\n\n txtRouteExpression = new Text(comConfig, SWT.BORDER);\n txtRouteExpression.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1));\n txtRouteExpression.addListener(SWT.Modify, updateListener);\n txtRouteExpression.setEditable(false);\n\n Button cmdSetRouteExpression = new Button(comConfig, SWT.NONE);\n cmdSetRouteExpression.setText(\"..\");\n cmdSetRouteExpression.addSelectionListener(new SelectionAdapter() {\n\n public void widgetSelected(SelectionEvent e) {\n if (tblRoutes.getSelectionIndex() != -1) {\n TableItem item = tblRoutes.getItem(tblRoutes.getSelectionIndex());\n RouteWrapper wrapper = (RouteWrapper) item.getData();\n NamespacedProperty routeExpression = EsbFactory.eINSTANCE\n .copyNamespacedProperty(wrapper.getRouteExpression());\n NamespacedPropertyEditorDialog propertyEditor = new NamespacedPropertyEditorDialog(getShell(),\n routeExpression);\n propertyEditor.open();\n wrapper.setRouteExpression(routeExpression);\n txtRouteExpression.setText(routeExpression.getPropertyValue());\n }\n\n super.widgetSelected(e);\n }\n });\n\n Label lblRoutePattern = new Label(comConfig, SWT.NONE);\n lblRoutePattern.setText(\"Route pattern\");\n\n txtRoutePattern = new Text(comConfig, SWT.BORDER);\n txtRoutePattern.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1));\n txtRoutePattern.addListener(SWT.Modify, updateListener);\n new Label(comConfig, SWT.NONE);\n\n Label lblSequenceType = new Label(comConfig, SWT.NONE);\n lblSequenceType.setText(\"Sequence type\");\n\n cmbSequenceType = new Combo(comConfig, SWT.READ_ONLY);\n cmbSequenceType.setItems(new String[] { CMB_CAPTION_ANONYMOUS, CMB_CAPTION_REGISTRY_REFERENCE });\n cmbSequenceType.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1));\n cmbSequenceType.select(0);\n cmbSequenceType.addSelectionListener(new SelectionAdapter() {\n @Override\n public void widgetSelected(SelectionEvent e) {\n if (tblRoutes.getSelectionIndex() != -1) {\n TableItem item = tblRoutes.getItem(tblRoutes.getSelectionIndex());\n RouteWrapper wrapper = (RouteWrapper) item.getData();\n if (cmbSequenceType.getSelectionIndex() == 1) {\n lblSequenceKey.setEnabled(true);\n txtSequenceKey.setEnabled(true);\n cmdSetSequenceKey.setEnabled(true);\n wrapper.setDynamicSequence(true);\n } else {\n lblSequenceKey.setEnabled(false);\n txtSequenceKey.setEnabled(false);\n cmdSetSequenceKey.setEnabled(false);\n wrapper.setDynamicSequence(false);\n }\n }\n\n }\n });\n new Label(comConfig, SWT.NONE);\n\n lblSequenceKey = new Label(comConfig, SWT.NONE);\n lblSequenceKey.setText(\"Sequence key\");\n lblSequenceKey.setEnabled(false);\n\n txtSequenceKey = new Text(comConfig, SWT.BORDER);\n txtSequenceKey.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1));\n txtSequenceKey.setEnabled(false);\n txtSequenceKey.setEditable(false);\n\n cmdSetSequenceKey = new Button(comConfig, SWT.NONE);\n cmdSetSequenceKey.setText(\"..\");\n cmdSetSequenceKey.setEnabled(false);\n cmdSetSequenceKey.addSelectionListener(new SelectionAdapter() {\n @Override\n public void widgetSelected(SelectionEvent e) {\n if (tblRoutes.getSelectionIndex() != -1) {\n TableItem item = tblRoutes.getItem(tblRoutes.getSelectionIndex());\n RouteWrapper wrapper = (RouteWrapper) item.getData();\n RegistryKeyProperty sequenceKey = EsbFactory.eINSTANCE\n .copyRegistryKeyProperty(wrapper.getSequenceKey());\n RegistryKeyPropertyEditorDialog dialog = new RegistryKeyPropertyEditorDialog(getShell(), SWT.TITLE,\n sequenceKey,\n RegistryKeyPropertyUtil.findLocalNamedEntities(wrapper.getContainer().getTarget()));\n dialog.create();\n dialog.getShell().setSize(520, 180);\n dialog.getShell().setText(\"Resource Key Editor\");\n dialog.open();\n\n if (dialog.getReturnCode() == Window.OK) {\n wrapper.setSequenceKey(sequenceKey);\n txtSequenceKey.setText(wrapper.getSequenceKey().getKeyValue());\n }\n\n }\n super.widgetSelected(e);\n }\n });\n\n Label lblEndpointType = new Label(comConfig, SWT.NONE);\n lblEndpointType.setText(\"Endpoint type\");\n\n cmbEndpointType = new Combo(comConfig, SWT.READ_ONLY);\n cmbEndpointType\n .setItems(new String[] { CMB_CAPTION_NONE, CMB_CAPTION_ANONYMOUS, CMB_CAPTION_REGISTRY_REFERENCE });\n cmbEndpointType.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1));\n cmbEndpointType.select(0);\n cmbEndpointType.setEnabled(false); // TODO: implement endpoint support\n cmbEndpointType.addSelectionListener(new SelectionAdapter() {\n @Override\n public void widgetSelected(SelectionEvent e) {\n if (cmbEndpointType.getSelectionIndex() == 2) {\n lblEndpointKey.setEnabled(true);\n txtEndpointKey.setEnabled(true);\n cmdSetEndpointKey.setEnabled(true);\n } else {\n lblEndpointKey.setEnabled(false);\n txtEndpointKey.setEnabled(false);\n cmdSetEndpointKey.setEnabled(false);\n }\n }\n });\n new Label(comConfig, SWT.NONE);\n\n lblEndpointKey = new Label(comConfig, SWT.NONE);\n lblEndpointKey.setText(\"Endpoint key\");\n lblEndpointKey.setEnabled(false);\n\n txtEndpointKey = new Text(comConfig, SWT.BORDER);\n txtEndpointKey.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1));\n txtEndpointKey.setEnabled(false);\n\n cmdSetEndpointKey = new Button(comConfig, SWT.NONE);\n cmdSetEndpointKey.setText(\"..\");\n cmdSetEndpointKey.setEnabled(false);\n\n populateRoutes();\n\n return container;\n }", "int insertSelective(DO_Merchants record);", "public void enterEmpsInInsertMode(){\n EmployeesViewImpl emps=(EmployeesViewImpl)this.getEmployeesView1();\n \n emps.executeEmptyRowSet(); // executeEmpty RowSet in order not to fetch Data.\n \n Row newRow=emps.createRow();\n \n emps.insertRow(newRow);\n \n emps.setCurrentRow(newRow);\n \n }", "int insertSelective(PageFunc record);", "@Override\n\tpublic void insert() {\n\t\t\n\t}", "void afterMasterSelectionChange();", "int insertSelective(ParkCurrent record);", "int insertSelective(Ltsprojectpo record);", "public boolean supportsInsertSelectIdentity() {\n \t\treturn false;\n \t}", "void defSelect(Variable var){\r\n \t//if (isSelectAll()){\r\n \t\taddSelect(var);\r\n \t//}\r\n }", "void insertSelective(CTipoComprobante record) throws SQLException;", "int insertSelective(PageItemCfg record);", "public void addZoneCommitte() {\n\t\t\tid = new JComboBox<Integer>();\n\t\t\tAutoCompleteDecorator.decorate(id);\n\t\t\tid.setBackground(Color.white);\n\t\t\tJButton save = new JButton(\"Save members \");\n\t\t\tfinal Choice position = new Choice();\n\t\t\tfinal JTextField txtLevel = new JTextField(10), txtPhone = new JTextField(10);\n\t\t\tfinal Choice chczon = new Choice();\n\n\t\t\ttry {\n\t\t\t\tString sql = \"select * from Zone;\";\n\t\t\t\tResultSet rs = null;\n\t\t\t\t// Register jdbc driver\n\t\t\t\tClass.forName(DRIVER_CLASS);\n\t\t\t\t// open connection\n\t\t\t\tcon = DriverManager.getConnection(URL, USER, PASSWORD);\n\t\t\t\tstmt = con.prepareStatement(sql);\n\t\t\t\trs = stmt.executeQuery();\n\t\t\t\twhile (rs.next()) {\n\t\t\t\t\tchczon.add(rs.getString(\"Name\"));\n\t\t\t\t}\n\t\t\t} catch (SQLException | ClassNotFoundException e) {\n\t\t\t}\n\n\t\t\t// select zone before proceeding\n\t\t\tObject[] zone = { new JLabel(\"Zone\"), chczon };\n\t\t\tint option = JOptionPane.showConfirmDialog(this, zone, \"Choose zone..\", JOptionPane.OK_CANCEL_OPTION,\n\t\t\t\t\tJOptionPane.INFORMATION_MESSAGE);\n\n\t\t\tif (option == JOptionPane.OK_OPTION) {\n\n\t\t\t\ttry {\n\t\t\t\t\tString sql = \"select * from Registration where Zone=?;\";\n\t\t\t\t\tResultSet rs = null;\n\t\t\t\t\t// Register jdbc driver\n\t\t\t\t\tClass.forName(DRIVER_CLASS);\n\t\t\t\t\t// open connection\n\t\t\t\t\tcon = DriverManager.getConnection(URL, USER, PASSWORD);\n\t\t\t\t\tstmt = con.prepareStatement(sql);\n\t\t\t\t\tstmt.setString(1, chczon.getSelectedItem());\n\t\t\t\t\trs = stmt.executeQuery();\n\n\t\t\t\t\twhile (rs.next()) {\n\t\t\t\t\t\tid.addItem(Integer.parseInt(rs.getString(\"RegNo\")));\n\t\t\t\t\t}\n\t\t\t\t\tif (id.getItemCount() > 0) {\n\t\t\t\t\t\tsql = \"select * from Registration where RegNo=?;\";\n\t\t\t\t\t\tstmt = con.prepareStatement(sql);\n\t\t\t\t\t\tstmt.setInt(1, Integer.parseInt(id.getSelectedItem().toString()));\n\n\t\t\t\t\t\trs = stmt.executeQuery();\n\t\t\t\t\t\trs.beforeFirst();\n\t\t\t\t\t\twhile (rs.next()) {\n\t\t\t\t\t\t\ttxtFname.setText(rs.getString(\"BaptismalName\"));\n\t\t\t\t\t\t\ttxtSname.setText(rs.getString(\"OtherNames\"));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t} catch (SQLException | ClassNotFoundException e1) {\n\t\t\t\t\te1.printStackTrace();\n\t\t\t\t}\n\n\t\t\t\tid.addItemListener(new ItemListener() {\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void itemStateChanged(ItemEvent e) {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tString sql = \"select * from Registration where RegNo=?;\";\n\t\t\t\t\t\t\tstmt = con.prepareStatement(sql);\n\t\t\t\t\t\t\tstmt.setInt(1, Integer.parseInt(id.getSelectedItem().toString()));\n\t\t\t\t\t\t\tResultSet rs = stmt.executeQuery();\n\t\t\t\t\t\t\trs.beforeFirst();\n\t\t\t\t\t\t\twhile (rs.next()) {\n\t\t\t\t\t\t\t\ttxtFname.setText(rs.getString(\"BaptismalName\"));\n\t\t\t\t\t\t\t\ttxtSname.setText(rs.getString(\"OtherNames\"));\n\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t} catch (SQLException e1) {\n\t\t\t\t\t\t\tJOptionPane.showMessageDialog(null, e1.getMessage());\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\t// If save button clicked, get the inputs from the text fields\n\t\t\t\tsave.addActionListener(new ActionListener() {\n\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\t\t\t// ID = Integer.parseInt(IDs.getSelectedItem().toString());\n\t\t\t\t\t\tint RegNo = Integer.parseInt(id.getSelectedItem().toString());\n\t\t\t\t\t\t/*\n\t\t\t\t\t\t * Insertion to database\n\t\t\t\t\t\t */\n\n\t\t\t\t\t\tif (txtPhone.getText().isEmpty() | txtLevel.getText().isEmpty()) {\n\t\t\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Phone Number or Level cannot be empty\");\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t// Register jdbc driver\n\t\t\t\t\t\t\t\tClass.forName(DRIVER_CLASS);\n\t\t\t\t\t\t\t\t// open connection\n\t\t\t\t\t\t\t\tcon = DriverManager.getConnection(URL, USER, PASSWORD);\n\t\t\t\t\t\t\t\tString sql = \"INSERT INTO `Zone committee`(`ID`, `BaptismalName`, `OtherName`, `Phone`, `Position`, `Level`, `Zone`)\"\n\t\t\t\t\t\t\t\t\t\t+ \" VALUES (?,?,?,?,?,?,?);\";\n\t\t\t\t\t\t\t\tstmt = (PreparedStatement) con.prepareStatement(sql);\n\t\t\t\t\t\t\t\tstmt.setInt(1, RegNo);\n\t\t\t\t\t\t\t\tstmt.setString(2, txtFname.getText().toString().toUpperCase());\n\t\t\t\t\t\t\t\tstmt.setString(3, txtSname.getText().toString().toUpperCase());\n\n\t\t\t\t\t\t\t\tstmt.setInt(4, Integer.parseInt(txtPhone.getText().toString()));\n\t\t\t\t\t\t\t\tstmt.setString(5, position.getSelectedItem().toUpperCase());\n\t\t\t\t\t\t\t\tstmt.setString(6, txtLevel.getText().toUpperCase());\n\t\t\t\t\t\t\t\tstmt.setString(7, chczon.getSelectedItem().toUpperCase());\n\t\t\t\t\t\t\t\tstmt.executeUpdate();\n\t\t\t\t\t\t\t\tshowZonecomm();\n\t\t\t\t\t\t\t\tid.setSelectedIndex(0);\n\t\t\t\t\t\t\t\ttxtFname.setText(\"\");\n\t\t\t\t\t\t\t\ttxtSname.setText(\"\");\n\t\t\t\t\t\t\t\ttxtLevel.setText(\"\");\n\t\t\t\t\t\t\t\ttxtPhone.setText(\"\");\n\t\t\t\t\t\t\t\tposition.select(0);\n\t\t\t\t\t\t\t} catch (SQLException | ClassNotFoundException e2) {\n\t\t\t\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Member exists in the committee list!\");\n\t\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});\n\t\t\t\t// add items to the choice box\n\t\t\t\tposition.add(\"Chairperson\");\n\t\t\t\tposition.add(\"Vice chairperson\");\n\t\t\t\tposition.add(\"Secretary\");\n\t\t\t\tposition.add(\"Vice secretary\");\n\t\t\t\tposition.add(\"Treasurer\");\n\t\t\t\tposition.add(\"Member\");\n\t\t\t\tposition.select(\"Member\");\n\n\t\t\t\tObject[] inputfields = { new JLabel(\"Type ID and press ENTER\"), id, labBaptismalName, txtFname,\n\t\t\t\t\t\tlabOtherName, txtSname, labPhone, txtPhone, new JLabel(\"Level\"), txtLevel, labPosition, position };\n\n\t\t\t\tJOptionPane.showOptionDialog(this, inputfields, \"Enter zone committee members\", JOptionPane.DEFAULT_OPTION,\n\t\t\t\t\t\tJOptionPane.INFORMATION_MESSAGE, null, new Object[] { save }, null);\n\t\t\t}\n\n\t\t}", "int insertSelective(Commet record);", "public void afficherPartie() throws SQLException{\n this.partie.maj();\n VBox fp = ((VBox) windows.getRoot());\n fp.getChildren().remove(1);\n fp.getChildren().add(partie);\n }", "protected void saveSelection ()\t{\n\t\t//\tAlready disposed\n\t\tif (m_table == null)\n\t\t\treturn;\n\n\t\tm_results.addAll(getSelectedRowKeys());\n\n\t\t//\tSave Settings of detail info screens\n//\t\tsaveSelectionDetail();\n\t\t\n\t}", "@Override\n\tpublic void insertProcess() {\n\t\t\n\t}", "@Override\n\tpublic void preInsert() {\n\n\t}", "void insertSelective(organize_infoBean record);", "public static void buildStage2 ()\r\n {\r\n \r\n lgt.findParent(); //4\r\n lgt.findChild(0); //6\r\n lgt.insert(12);\r\n lgt.findParent();\r\n lgt.insert(13);\r\n lgt.findParent();\r\n lgt.insert(14);\r\n \r\n lgt.findRoot();\r\n lgt.findChild(0);//2\r\n lgt.findChild(0);//5\r\n lgt.insert(8);\r\n lgt.findParent();\r\n lgt.insert(9);\r\n lgt.findParent();\r\n lgt.insert(10);\r\n lgt.findParent();\r\n lgt.insert(11);\r\n \r\n }", "@Override\n\tpublic int insertSelective(Thelibrary record) {\n\t\treturn 0;\n\t}", "Select createSelect();", "void insertSelective(HrMscChaAssig record);", "int insertSelective(PathologyInfo record);", "public void select() {}", "int insertSelective(SysPic record);", "private void additionalAWRPanel() {\n try {\n Cursor myCursor = new Cursor(\"stats$importedAWRdbid.sql\", true);\n QueryResult myResult = ExecuteDisplay.execute(myCursor, false, false, null);\n if (myResult.getNumRows() > 0) {\n String[][] resultSet = myResult.getResultSetAsStringArray();\n\n Object[] dbids = new Object[resultSet.length];\n for (int i = 0; i < resultSet.length; i++) {\n dbids[i] = resultSet[i][0];\n }\n\n String s = (String)JOptionPane.showInputDialog(this, \"Complete the sentence:\\n\" +\n \"Enter the dbid for the AWR data you wish a view\", \"Customized Dialog\", JOptionPane.PLAIN_MESSAGE, null, dbids, dbids[0]);\n \n String p = JOptionPane.showInputDialog(this,\"Enter a prefix which will appear on the new tab to help you identify the dataset.\",\"Enter a prefix\",JOptionPane.QUESTION_MESSAGE);\n String prefix = \"\";\n if (p != null && p.length() > 0) prefix = p;\n\n //If a string was returned, say so.\n if ((s != null) && (s.length() > 0)) {\n long selectedDBID = Long.valueOf(s).longValue();\n \n // add AWRInstance Panels\n\n Cursor myCursor2 = new Cursor(\"stats$importedAWR.sql\", true);\n QueryResult myResult2 = ExecuteDisplay.execute(myCursor2, false, false, null);\n String[][] myResultSet2 = myResult2.getResultSetAsStringArray();\n \n for (int i=0; i < myResultSet2.length; i++) {\n long dbid = Long.valueOf(myResultSet2[i][0]).longValue();\n int inum = Integer.valueOf(myResultSet2[i][2]).intValue();\n String iname = myResultSet2[i][1].toString();\n if (selectedDBID == dbid) StatspackAWRPanel.addInstancePanel(inum,iname,dbid,true,prefix);\n }\n }\n }\n else {\n JOptionPane.showMessageDialog(this, \"No imported AWR snapshots found!\", \"Error\", JOptionPane.ERROR_MESSAGE);\n }\n \n } \n catch (Exception e) {\n displayError(e,this,\"getting imported AWR dbid\");\n }\n }", "public void copySelection() {\r\n \t\t// Bertoli Marco\r\n \t\tclipboard.copy();\r\n \t}", "public void selectVenue() {\n\t\t\r\n\t}", "public void updateSelection()\n {\n \trectForSelection.setRect(rettangoloX,rettangoloY,larghezza,altezza);\n \trectSelTopLeft.setRect(rettangoloX-3,rettangoloY-3,6,6);\n \trectSelBottomLeft.setRect(rettangoloX-3,rettangoloY+altezza-3,6,6);\n \trectSelTopRight.setRect(rettangoloX+larghezza-3,rettangoloY-3,6,6);\n \trectSelBottomRight.setRect(rettangoloX+larghezza-3,rettangoloY+altezza-3,6,6);\n }", "private void createContents() throws SQLException {\n\t\tshell = new Shell(getParent(), SWT.SHELL_TRIM);\n\t\tshell.setImage(user.getIcondata().BaoduongIcon);\n\t\tshell.setLayout(new GridLayout(2, false));\n\t\tsetText(\"Tạo Công việc (Đợt Bảo dưỡng)\");\n\t\tshell.setSize(777, 480);\n\t\tnew FormTemplate().setCenterScreen(shell);\n\n\t\tFill_ItemData fi = new Fill_ItemData();\n\n\t\tSashForm sashForm = new SashForm(shell, SWT.NONE);\n\t\tsashForm.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true, 2, 1));\n\n\t\tSashForm sashForm_3 = new SashForm(sashForm, SWT.VERTICAL);\n\n\t\tSashForm sashForm_2 = new SashForm(sashForm_3, SWT.NONE);\n\t\tComposite composite = new Composite(sashForm_2, SWT.NONE);\n\t\tcomposite.setLayout(new GridLayout(2, false));\n\n\t\tLabel label_2 = new Label(composite, SWT.NONE);\n\t\tlabel_2.setText(\"Tên đợt Bảo dưỡng*:\");\n\n\t\ttext_Tendot_Baoduong = new Text(composite, SWT.BORDER);\n\t\ttext_Tendot_Baoduong.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, false, false, 1, 1));\n\n\t\tLabel label_3 = new Label(composite, SWT.NONE);\n\t\tGridData gd_label_3 = new GridData(SWT.LEFT, SWT.TOP, false, false, 1, 1);\n\t\tgd_label_3.verticalIndent = 3;\n\t\tlabel_3.setLayoutData(gd_label_3);\n\t\tlabel_3.setText(\"Loại phương tiện:\");\n\n\t\tcombo_Loaiphuongtien = new Combo(composite, SWT.READ_ONLY);\n\t\tcombo_Loaiphuongtien.addSelectionListener(new SelectionAdapter() {\n\t\t\t@Override\n\t\t\tpublic void widgetSelected(SelectionEvent e) {\n\t\t\t\tif (ViewAndEdit_MODE_dsb != null) {\n\t\t\t\t\tFill_ItemData f = new Fill_ItemData();\n\t\t\t\t\tif ((int) combo_Loaiphuongtien.getData(combo_Loaiphuongtien.getText()) == f.getInt_Xemay()) {\n\t\t\t\t\t\tViewAndEdit_MODE_dsb.setLOAI_PHUONG_TIEN(f.getInt_Xemay());\n\t\t\t\t\t\ttree_PTTS.removeAll();\n\t\t\t\t\t} else if ((int) combo_Loaiphuongtien.getData(combo_Loaiphuongtien.getText()) == f.getInt_Oto()) {\n\t\t\t\t\t\tViewAndEdit_MODE_dsb.setLOAI_PHUONG_TIEN(f.getInt_Oto());\n\t\t\t\t\t\ttree_PTTS.removeAll();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\tcombo_Loaiphuongtien.setLayoutData(new GridData(SWT.FILL, SWT.TOP, true, false, 1, 1));\n\t\tfi.setComboBox_LOAIPHUONGTIEN_Phuongtien_Giaothong(combo_Loaiphuongtien, 0);\n\n\t\tLabel label_4 = new Label(composite, SWT.NONE);\n\t\tGridData gd_label_4 = new GridData(SWT.LEFT, SWT.TOP, false, false, 1, 1);\n\t\tgd_label_4.verticalIndent = 3;\n\t\tlabel_4.setLayoutData(gd_label_4);\n\t\tlabel_4.setText(\"Mô tả:\");\n\n\t\ttext_Mota = new Text(composite, SWT.BORDER | SWT.WRAP | SWT.V_SCROLL | SWT.MULTI);\n\t\ttext_Mota.setLayoutData(new GridData(SWT.FILL, SWT.FILL, false, true, 1, 1));\n\t\tnew Label(composite, SWT.NONE);\n\n\t\tbtnNgunSaCha = new Button(composite, SWT.NONE);\n\t\tGridData gd_btnNgunSaCha = new GridData(SWT.RIGHT, SWT.CENTER, false, false, 1, 1);\n\t\tgd_btnNgunSaCha.widthHint = 85;\n\t\tbtnNgunSaCha.setLayoutData(gd_btnNgunSaCha);\n\t\tbtnNgunSaCha.addSelectionListener(new SelectionAdapter() {\n\t\t\t@Override\n\t\t\tpublic void widgetSelected(SelectionEvent e) {\n\t\t\t\ttry {\n\t\t\t\t\tChonNguonSuachua_Baoduong cnsb = new ChonNguonSuachua_Baoduong(shell, SWT.DIALOG_TRIM, user);\n\t\t\t\t\tcnsb.open();\n\t\t\t\t\tnsb = cnsb.getResult();\n\t\t\t\t\tif (ViewAndEdit_MODE_dsb == null) {\n\t\t\t\t\t\tfillNguonSuachuaBaoduong(nsb);\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tif (nsb == null) {\n\t\t\t\t\t\tMessageBox m = new MessageBox(shell, SWT.ICON_QUESTION | SWT.YES | SWT.NO | SWT.CLOSE);\n\t\t\t\t\t\tm.setText(\"Xóa dữ liệu cũ?\");\n\t\t\t\t\t\tm.setMessage(\"Bạn muốn xóa dữ liệu cũ?\");\n\t\t\t\t\t\tint rc = m.open();\n\t\t\t\t\t\tswitch (rc) {\n\t\t\t\t\t\tcase SWT.CANCEL:\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase SWT.YES:\n\t\t\t\t\t\t\tViewAndEdit_MODE_dsb.setMA_NGUONSUACHUA_BAODUONG(-1);\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase SWT.NO:\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tViewAndEdit_MODE_dsb.setMA_NGUONSUACHUA_BAODUONG(nsb.getMA_NGUONSUACHUA_BAODUONG());\n\t\t\t\t\t}\n\t\t\t\t\tcontroler.getControl_DOT_THUCHIEN_SUACHUA_BAODUONG()\n\t\t\t\t\t\t\t.update_DOT_THUCHIEN_SUACHUA_BAODUONG(ViewAndEdit_MODE_dsb);\n\t\t\t\t\tfillNguonSuachuaBaoduong(ViewAndEdit_MODE_dsb);\n\t\t\t\t} catch (SQLException e1) {\n\t\t\t\t\tlog.error(e1.getMessage());\n\t\t\t\t\te1.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\tbtnNgunSaCha.setText(\"Liên hệ\");\n\t\tbtnNgunSaCha.setImage(user.getIcondata().PhoneIcon);\n\n\t\tComposite composite_1 = new Composite(sashForm_2, SWT.NONE);\n\t\tcomposite_1.setLayout(new GridLayout(2, false));\n\n\t\tLabel lblSXut = new Label(composite_1, SWT.NONE);\n\t\tlblSXut.setText(\"Số đề xuất: \");\n\n\t\ttext_Sodexuat = new Text(composite_1, SWT.NONE);\n\t\ttext_Sodexuat.setBackground(SWTResourceManager.getColor(SWT.COLOR_WIDGET_HIGHLIGHT_SHADOW));\n\t\ttext_Sodexuat.setEditable(false);\n\t\ttext_Sodexuat.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1));\n\n\t\tLabel lblNgyThng = new Label(composite_1, SWT.NONE);\n\t\tlblNgyThng.setText(\"Ngày tháng: \");\n\n\t\ttext_NgaythangVanban = new Text(composite_1, SWT.NONE);\n\t\ttext_NgaythangVanban.setBackground(SWTResourceManager.getColor(SWT.COLOR_WIDGET_HIGHLIGHT_SHADOW));\n\t\ttext_NgaythangVanban.setEditable(false);\n\t\ttext_NgaythangVanban.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1));\n\n\t\tLabel lblnV = new Label(composite_1, SWT.NONE);\n\t\tlblnV.setText(\"Đơn vị: \");\n\n\t\ttext_Donvi = new Text(composite_1, SWT.NONE);\n\t\ttext_Donvi.setBackground(SWTResourceManager.getColor(SWT.COLOR_WIDGET_HIGHLIGHT_SHADOW));\n\t\ttext_Donvi.setEditable(false);\n\t\ttext_Donvi.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1));\n\n\t\tLabel lblNgyXL = new Label(composite_1, SWT.NONE);\n\t\tlblNgyXL.setText(\"Ngày xử lý:\");\n\n\t\ttext_Ngaytiepnhan = new Text(composite_1, SWT.NONE);\n\t\ttext_Ngaytiepnhan.setBackground(SWTResourceManager.getColor(SWT.COLOR_WIDGET_HIGHLIGHT_SHADOW));\n\t\ttext_Ngaytiepnhan.setEditable(false);\n\t\ttext_Ngaytiepnhan.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1));\n\n\t\tLabel lblNgyGiao = new Label(composite_1, SWT.NONE);\n\t\tlblNgyGiao.setText(\"Ngày giao:\");\n\n\t\ttext_Ngaygiao = new Text(composite_1, SWT.NONE);\n\t\ttext_Ngaygiao.setBackground(SWTResourceManager.getColor(SWT.COLOR_WIDGET_HIGHLIGHT_SHADOW));\n\t\ttext_Ngaygiao.setEditable(false);\n\t\ttext_Ngaygiao.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1));\n\n\t\tLabel lblTrchYu = new Label(composite_1, SWT.NONE);\n\t\tGridData gd_lblTrchYu = new GridData(SWT.LEFT, SWT.TOP, false, false, 1, 1);\n\t\tgd_lblTrchYu.verticalIndent = 3;\n\t\tlblTrchYu.setLayoutData(gd_lblTrchYu);\n\t\tlblTrchYu.setText(\"Ghi chú: \");\n\n\t\ttext_Trichyeu = new Text(composite_1, SWT.NONE);\n\t\ttext_Trichyeu.setBackground(SWTResourceManager.getColor(SWT.COLOR_WIDGET_HIGHLIGHT_SHADOW));\n\t\ttext_Trichyeu.setEditable(false);\n\t\tGridData gd_text_Trichyeu = new GridData(SWT.FILL, SWT.FILL, true, true, 1, 1);\n\t\tgd_text_Trichyeu.heightHint = 27;\n\t\ttext_Trichyeu.setLayoutData(gd_text_Trichyeu);\n\t\tnew Label(composite_1, SWT.NONE);\n\n\t\tbtnThemDexuat = new Button(composite_1, SWT.NONE);\n\t\tbtnThemDexuat.addSelectionListener(new SelectionAdapter() {\n\t\t\t@Override\n\t\t\tpublic void widgetSelected(SelectionEvent e) {\n\t\t\t\ttry {\n\t\t\t\t\tInsert_dx = null;\n\t\t\t\t\tif (ViewAndEdit_MODE_dsb != null\n\t\t\t\t\t\t\t&& ViewAndEdit_MODE_dsb.getMA_DOT_THUCHIEN_SUACHUA_BAODUONG() > 0) {\n\t\t\t\t\t\tInsert_dx = controler.getControl_DEXUAT().get_DEXUAT(ViewAndEdit_MODE_dsb);\n\t\t\t\t\t}\n\t\t\t\t\tif (Insert_dx != null) {\n\t\t\t\t\t\tTAPHOSO ths = controler.getControl_TAPHOSO().get_TAP_HO_SO(Insert_dx.getMA_TAPHOSO());\n\t\t\t\t\t\tTaphoso_View thsv = new Taphoso_View(shell, SWT.DIALOG_TRIM, user, ths, false);\n\t\t\t\t\t\tthsv.open();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tNhapDeXuat ndx = new NhapDeXuat(shell, SWT.DIALOG_TRIM, user);\n\t\t\t\t\t\tndx.open();\n\t\t\t\t\t\tInsert_dx = ndx.result;\n\t\t\t\t\t\tif (Insert_dx == null)\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\telse {\n\t\t\t\t\t\t\tfillDexuat(Insert_dx);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (ViewAndEdit_MODE_dsb == null)\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\tif (ViewAndEdit_MODE_dsb.getMA_DOT_THUCHIEN_SUACHUA_BAODUONG() <= 0)\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\tint Ma_Quatrinh_Dexuat_thuchien = getMaQuantrinhDexuatThuchien(Insert_dx);\n\t\t\t\t\t\tif (Ma_Quatrinh_Dexuat_thuchien <= 0)\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\tboolean ict = controler.getControl_DOT_THUCHIEN_SUACHUA_BAODUONG()\n\t\t\t\t\t\t\t\t.update_DOT_THUCHIEN_SUACHUA_BAODUONG_Update_QUATRINH_DEXUAT_THUCHIEN(\n\t\t\t\t\t\t\t\t\t\tViewAndEdit_MODE_dsb, Ma_Quatrinh_Dexuat_thuchien);\n\t\t\t\t\t\tif (ict) {\n\t\t\t\t\t\t\tMessageBox m = new MessageBox(shell, SWT.ICON_WORKING);\n\t\t\t\t\t\t\tm.setText(\"Hoàn tất\");\n\t\t\t\t\t\t\tm.setMessage(\"Thêm Đề xuất Hoàn tất\");\n\t\t\t\t\t\t\tm.open();\n\t\t\t\t\t\t\tfillDexuat(Insert_dx);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} catch (NullPointerException | SQLException e1) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te1.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\tbtnThemDexuat.setImage(user.getIcondata().DexuatIcon);\n\t\tbtnThemDexuat.setLayoutData(new GridData(SWT.FILL, SWT.BOTTOM, false, false, 1, 1));\n\t\tbtnThemDexuat.setText(\"Thêm Hồ sơ\");\n\t\tsashForm_2.setWeights(new int[] { 1000, 618 });\n\n\t\tSashForm sashForm_1 = new SashForm(sashForm_3, SWT.NONE);\n\t\ttree_PTTS = new Tree(sashForm_1, SWT.BORDER | SWT.FULL_SELECTION | SWT.MULTI);\n\t\ttree_PTTS.setLinesVisible(true);\n\t\ttree_PTTS.setHeaderVisible(true);\n\t\ttree_PTTS.addListener(SWT.Selection, new Listener() {\n\t\t\t@Override\n\t\t\tpublic void handleEvent(Event arg0) {\n\t\t\t\tTreeItem[] til = tree_PTTS.getSelection();\n\t\t\t\tif (til.length > 0) {\n\t\t\t\t\tRow_PTTSthamgia_Baoduong pttg = (Row_PTTSthamgia_Baoduong) til[0].getData();\n\t\t\t\t\tsetHinhthuc_Baoduong(pttg.getHtbd());\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\ttree_PTTS.addListener(SWT.SetData, new Listener() {\n\t\t\tpublic void handleEvent(Event event) {\n\t\t\t\tif (tree_PTTS.getItems().length > 0) {\n\t\t\t\t\tcombo_Loaiphuongtien.setEnabled(false);\n\t\t\t\t} else {\n\t\t\t\t\tcombo_Loaiphuongtien.setEnabled(true);\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\tTreeColumn trclmnStt = new TreeColumn(tree_PTTS, SWT.NONE);\n\t\ttrclmnStt.setWidth(50);\n\t\ttrclmnStt.setText(\"Stt\");\n\n\t\tTreeColumn trclmnTnMT = new TreeColumn(tree_PTTS, SWT.NONE);\n\t\ttrclmnTnMT.setWidth(100);\n\t\ttrclmnTnMT.setText(\"Tên, mô tả\");\n\n\t\tTreeColumn trclmnHngSnXut = new TreeColumn(tree_PTTS, SWT.NONE);\n\t\ttrclmnHngSnXut.setWidth(100);\n\t\ttrclmnHngSnXut.setText(\"Hãng sản xuất\");\n\n\t\tTreeColumn trclmnDngXe = new TreeColumn(tree_PTTS, SWT.NONE);\n\t\ttrclmnDngXe.setWidth(100);\n\t\ttrclmnDngXe.setText(\"Dòng xe\");\n\n\t\tTreeColumn trclmnBinS = new TreeColumn(tree_PTTS, SWT.NONE);\n\t\ttrclmnBinS.setWidth(100);\n\t\ttrclmnBinS.setText(\"Biển số\");\n\n\t\tTreeColumn trclmnNgySDng = new TreeColumn(tree_PTTS, SWT.NONE);\n\t\ttrclmnNgySDng.setWidth(100);\n\t\ttrclmnNgySDng.setText(\"Ngày sử dụng\");\n\n\t\tTreeColumn trclmnMPhngTin = new TreeColumn(tree_PTTS, SWT.NONE);\n\t\ttrclmnMPhngTin.setWidth(90);\n\t\ttrclmnMPhngTin.setText(\"Mã PTTS\");\n\n\t\tMenu menu = new Menu(tree_PTTS);\n\t\ttree_PTTS.setMenu(menu);\n\n\t\tMenuItem mntmThmPhngTin = new MenuItem(menu, SWT.NONE);\n\t\tmntmThmPhngTin.addSelectionListener(new SelectionAdapter() {\n\t\t\t@Override\n\t\t\tpublic void widgetSelected(SelectionEvent e) {\n\t\t\t\ttry {\n\t\t\t\t\tThem_PTGT();\n\t\t\t\t} catch (SQLException e1) {\n\t\t\t\t\tlog.error(e1.getMessage());\n\t\t\t\t\te1.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\tmntmThmPhngTin.setText(\"Thêm phương tiện tài sản\");\n\n\t\tMenuItem mntmXoa = new MenuItem(menu, SWT.NONE);\n\t\tmntmXoa.addSelectionListener(new SelectionAdapter() {\n\t\t\t@Override\n\t\t\tpublic void widgetSelected(SelectionEvent e) {\n\t\t\t\ttry {\n\t\t\t\t\tdelete();\n\t\t\t\t} catch (SQLException e1) {\n\t\t\t\t\tlog.error(e1.getMessage());\n\t\t\t\t\te1.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\n\t\t});\n\t\tmntmXoa.setText(\"Xóa\");\n\n\t\tTreeColumn trclmnThayNht = new TreeColumn(tree_PTTS, SWT.NONE);\n\t\ttrclmnThayNht.setWidth(70);\n\t\ttrclmnThayNht.setText(\"Thay nhớt\");\n\n\t\tTreeColumn trclmnThayLcNht = new TreeColumn(tree_PTTS, SWT.NONE);\n\t\ttrclmnThayLcNht.setWidth(100);\n\t\ttrclmnThayLcNht.setText(\"Thay lọc nhớt\");\n\n\t\tTreeColumn trclmnThayLcGi = new TreeColumn(tree_PTTS, SWT.NONE);\n\t\ttrclmnThayLcGi.setWidth(100);\n\t\ttrclmnThayLcGi.setText(\"Thay lọc gió\");\n\n\t\tTreeColumn trclmnThayLcNhin = new TreeColumn(tree_PTTS, SWT.NONE);\n\t\ttrclmnThayLcNhin.setWidth(100);\n\t\ttrclmnThayLcNhin.setText(\"Thay lọc nhiên liệu\");\n\n\t\tTreeColumn trclmnThayDuPhanh = new TreeColumn(tree_PTTS, SWT.NONE);\n\t\ttrclmnThayDuPhanh.setWidth(100);\n\t\ttrclmnThayDuPhanh.setText(\"Thay Dầu phanh - ly hợp\");\n\n\t\tTreeColumn trclmnThayDuHp = new TreeColumn(tree_PTTS, SWT.NONE);\n\t\ttrclmnThayDuHp.setWidth(100);\n\t\ttrclmnThayDuHp.setText(\"Thay Dầu hộp số\");\n\n\t\tTreeColumn trclmnThayDuVi = new TreeColumn(tree_PTTS, SWT.NONE);\n\t\ttrclmnThayDuVi.setWidth(100);\n\t\ttrclmnThayDuVi.setText(\"Thay Dầu vi sai\");\n\n\t\tTreeColumn trclmnLcGiGin = new TreeColumn(tree_PTTS, SWT.NONE);\n\t\ttrclmnLcGiGin.setWidth(100);\n\t\ttrclmnLcGiGin.setText(\"Lọc gió giàn lạnh\");\n\n\t\tTreeColumn trclmnThayDuTr = new TreeColumn(tree_PTTS, SWT.NONE);\n\t\ttrclmnThayDuTr.setWidth(100);\n\t\ttrclmnThayDuTr.setText(\"Thay dầu trợ lực lái\");\n\n\t\tTreeColumn trclmnBoDngKhcs = new TreeColumn(tree_PTTS, SWT.NONE);\n\t\ttrclmnBoDngKhcs.setWidth(100);\n\t\ttrclmnBoDngKhcs.setText(\"Bảo dưỡng khác\");\n\n\t\tExpandBar expandBar = new ExpandBar(sashForm_1, SWT.V_SCROLL);\n\t\texpandBar.setForeground(SWTResourceManager.getColor(SWT.COLOR_LIST_FOREGROUND));\n\n\t\tExpandItem xpndtmLoiHnhBo = new ExpandItem(expandBar, SWT.NONE);\n\t\txpndtmLoiHnhBo.setText(\"Loại hình bảo dưỡng\");\n\n\t\tComposite grpHnhThcBo = new Composite(expandBar, SWT.NONE);\n\t\txpndtmLoiHnhBo.setControl(grpHnhThcBo);\n\t\tgrpHnhThcBo.setLayout(new GridLayout(1, false));\n\n\t\tbtnDaudongco = new Button(grpHnhThcBo, SWT.CHECK);\n\t\tbtnDaudongco.addSelectionListener(new SelectionAdapter() {\n\t\t\t@Override\n\t\t\tpublic void widgetSelected(SelectionEvent e) {\n\t\t\t\ttry {\n\t\t\t\t\tupdateSelectedList();\n\t\t\t\t} catch (SQLException e1) {\n\t\t\t\t\tlog.error(e1.getMessage());\n\t\t\t\t\te1.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\tbtnDaudongco.setText(\"Dầu động cơ\");\n\n\t\tbtnLocdaudongco = new Button(grpHnhThcBo, SWT.CHECK);\n\t\tbtnLocdaudongco.addSelectionListener(new SelectionAdapter() {\n\t\t\t@Override\n\t\t\tpublic void widgetSelected(SelectionEvent e) {\n\t\t\t\ttry {\n\t\t\t\t\tupdateSelectedList();\n\t\t\t\t} catch (SQLException e1) {\n\t\t\t\t\tlog.error(e1.getMessage());\n\t\t\t\t\te1.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\tbtnLocdaudongco.setText(\"Lọc dầu động cơ\");\n\n\t\tbtnLocgio = new Button(grpHnhThcBo, SWT.CHECK);\n\t\tbtnLocgio.addSelectionListener(new SelectionAdapter() {\n\t\t\t@Override\n\t\t\tpublic void widgetSelected(SelectionEvent e) {\n\t\t\t\ttry {\n\t\t\t\t\tupdateSelectedList();\n\t\t\t\t} catch (SQLException e1) {\n\t\t\t\t\tlog.error(e1.getMessage());\n\t\t\t\t\te1.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\tbtnLocgio.setText(\"Lọc gió\");\n\n\t\tbtnLocnhienlieu = new Button(grpHnhThcBo, SWT.CHECK);\n\t\tbtnLocnhienlieu.addSelectionListener(new SelectionAdapter() {\n\t\t\t@Override\n\t\t\tpublic void widgetSelected(SelectionEvent e) {\n\t\t\t\ttry {\n\t\t\t\t\tupdateSelectedList();\n\t\t\t\t} catch (SQLException e1) {\n\t\t\t\t\tlog.error(e1.getMessage());\n\t\t\t\t\te1.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\tbtnLocnhienlieu.setText(\"Lọc nhiên liệu\");\n\n\t\tbtnDauphanh_lyhop = new Button(grpHnhThcBo, SWT.CHECK);\n\t\tbtnDauphanh_lyhop.addSelectionListener(new SelectionAdapter() {\n\t\t\t@Override\n\t\t\tpublic void widgetSelected(SelectionEvent e) {\n\t\t\t\ttry {\n\t\t\t\t\tupdateSelectedList();\n\t\t\t\t} catch (SQLException e1) {\n\t\t\t\t\tlog.error(e1.getMessage());\n\t\t\t\t\te1.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\tbtnDauphanh_lyhop.setText(\"Dầu phanh và dầu ly hợp\");\n\n\t\tbtnDauhopso = new Button(grpHnhThcBo, SWT.CHECK);\n\t\tbtnDauhopso.addSelectionListener(new SelectionAdapter() {\n\t\t\t@Override\n\t\t\tpublic void widgetSelected(SelectionEvent e) {\n\t\t\t\ttry {\n\t\t\t\t\tupdateSelectedList();\n\t\t\t\t} catch (SQLException e1) {\n\t\t\t\t\tlog.error(e1.getMessage());\n\t\t\t\t\te1.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\tbtnDauhopso.setText(\"Dầu hộp số\");\n\n\t\tbtnDauvisai = new Button(grpHnhThcBo, SWT.CHECK);\n\t\tbtnDauvisai.addSelectionListener(new SelectionAdapter() {\n\t\t\t@Override\n\t\t\tpublic void widgetSelected(SelectionEvent e) {\n\t\t\t\ttry {\n\t\t\t\t\tupdateSelectedList();\n\t\t\t\t} catch (SQLException e1) {\n\t\t\t\t\tlog.error(e1.getMessage());\n\t\t\t\t\te1.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\tbtnDauvisai.setText(\"Dầu vi sai\");\n\n\t\tbtnLocgiogianlanh = new Button(grpHnhThcBo, SWT.CHECK);\n\t\tbtnLocgiogianlanh.addSelectionListener(new SelectionAdapter() {\n\t\t\t@Override\n\t\t\tpublic void widgetSelected(SelectionEvent e) {\n\t\t\t\ttry {\n\t\t\t\t\tupdateSelectedList();\n\t\t\t\t} catch (SQLException e1) {\n\t\t\t\t\tlog.error(e1.getMessage());\n\t\t\t\t\te1.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\tbtnLocgiogianlanh.setText(\"Lọc gió giàn lạnh\");\n\n\t\tbtnDautroluclai = new Button(grpHnhThcBo, SWT.CHECK);\n\t\tbtnDautroluclai.addSelectionListener(new SelectionAdapter() {\n\t\t\t@Override\n\t\t\tpublic void widgetSelected(SelectionEvent e) {\n\t\t\t\ttry {\n\t\t\t\t\tupdateSelectedList();\n\t\t\t\t} catch (SQLException e1) {\n\t\t\t\t\tlog.error(e1.getMessage());\n\t\t\t\t\te1.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\tbtnDautroluclai.setText(\"Dầu trợ lực lái\");\n\n\t\tbtnBaoduongkhac = new Button(grpHnhThcBo, SWT.CHECK);\n\t\tbtnBaoduongkhac.addSelectionListener(new SelectionAdapter() {\n\t\t\t@Override\n\t\t\tpublic void widgetSelected(SelectionEvent e) {\n\t\t\t\ttry {\n\t\t\t\t\tupdateSelectedList();\n\t\t\t\t} catch (SQLException e1) {\n\t\t\t\t\tlog.error(e1.getMessage());\n\t\t\t\t\te1.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\tbtnBaoduongkhac.setText(\"Bảo dưỡng khác\");\n\t\txpndtmLoiHnhBo.setHeight(xpndtmLoiHnhBo.getControl().computeSize(SWT.DEFAULT, SWT.DEFAULT).y);\n\n\t\tExpandItem xpndtmLinH = new ExpandItem(expandBar, SWT.NONE);\n\t\txpndtmLinH.setText(\"Liên hệ\");\n\n\t\tComposite composite_2 = new Composite(expandBar, SWT.NONE);\n\t\txpndtmLinH.setControl(composite_2);\n\t\tcomposite_2.setLayout(new GridLayout(2, false));\n\n\t\tLabel lblTnLinH = new Label(composite_2, SWT.NONE);\n\t\tlblTnLinH.setText(\"Tên liên hệ: \");\n\n\t\ttext_Tenlienhe = new Text(composite_2, SWT.BORDER);\n\t\ttext_Tenlienhe.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1));\n\n\t\tLabel lblGiiThiu = new Label(composite_2, SWT.NONE);\n\t\tGridData gd_lblGiiThiu = new GridData(SWT.LEFT, SWT.TOP, false, false, 1, 1);\n\t\tgd_lblGiiThiu.verticalIndent = 3;\n\t\tlblGiiThiu.setLayoutData(gd_lblGiiThiu);\n\t\tlblGiiThiu.setText(\"Giới thiệu: \");\n\n\t\ttext_Gioithieu = new Text(composite_2, SWT.BORDER);\n\t\ttext_Gioithieu.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true, 1, 1));\n\n\t\tLabel lblLinH = new Label(composite_2, SWT.NONE);\n\t\tGridData gd_lblLinH = new GridData(SWT.LEFT, SWT.TOP, false, false, 1, 1);\n\t\tgd_lblLinH.verticalIndent = 3;\n\t\tlblLinH.setLayoutData(gd_lblLinH);\n\t\tlblLinH.setText(\"Liên hệ: \");\n\n\t\ttext_Lienhe = new Text(composite_2, SWT.BORDER);\n\t\ttext_Lienhe.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true, 1, 1));\n\t\txpndtmLinH.setHeight(120);\n\t\tsashForm_1.setWeights(new int[] { 543, 205 });\n\t\tsashForm_3.setWeights(new int[] { 170, 228 });\n\t\tsashForm.setWeights(new int[] { 1000 });\n\n\t\tbtnLuu = new Button(shell, SWT.NONE);\n\t\tbtnLuu.addSelectionListener(new SelectionAdapter() {\n\t\t\t@Override\n\t\t\tpublic void widgetSelected(SelectionEvent e) {\n\t\t\t\ttry {\n\t\t\t\t\tif (dataCreate != null) {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tTaoMoi_DotSuachua_Baoduong();\n\t\t\t\t\t\t} catch (SQLException e1) {\n\t\t\t\t\t\t\tlog.error(e1.getMessage());\n\t\t\t\t\t\t\te1.printStackTrace();\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tupdateField();\n\t\t\t\t\t}\n\t\t\t\t} catch (SQLException e1) {\n\t\t\t\t\tlog.error(e1.getMessage());\n\t\t\t\t\te1.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tprivate void TaoMoi_DotSuachua_Baoduong() throws SQLException {\n\t\t\t\tif (checkTextNotNULL()) {\n\t\t\t\t\tDOT_THUCHIEN_SUACHUA_BAODUONG dsb = getDOT_SUACHUA_BAODUONG();\n\t\t\t\t\tint key = controler.getControl_DOT_THUCHIEN_SUACHUA_BAODUONG()\n\t\t\t\t\t\t\t.InsertDOT_THUCHIEN_SUACHUA_BAODUONG(dsb, null, null);\n\t\t\t\t\tdsb.setMA_DOT_THUCHIEN_SUACHUA_BAODUONG(key);\n\t\t\t\t\tif (key >= 0) {\n\t\t\t\t\t\tif (nsb != null)\n\t\t\t\t\t\t\tdsb.setMA_NGUONSUACHUA_BAODUONG(nsb.getMA_NGUONSUACHUA_BAODUONG());\n\t\t\t\t\t\tcontroler.getControl_DOT_THUCHIEN_SUACHUA_BAODUONG().update_DOT_THUCHIEN_SUACHUA_BAODUONG(dsb);\n\t\t\t\t\t\tint Ma_Quatrinh_Dexuat_thuchien = getMaQuantrinhDexuatThuchien(Insert_dx);\n\t\t\t\t\t\tif (Ma_Quatrinh_Dexuat_thuchien > 0)\n\t\t\t\t\t\t\tcontroler.getControl_DOT_THUCHIEN_SUACHUA_BAODUONG()\n\t\t\t\t\t\t\t\t\t.update_DOT_THUCHIEN_SUACHUA_BAODUONG_Update_QUATRINH_DEXUAT_THUCHIEN(dsb,\n\t\t\t\t\t\t\t\t\t\t\tMa_Quatrinh_Dexuat_thuchien);\n\t\t\t\t\t\tTreeItem[] til = tree_PTTS.getItems();\n\t\t\t\t\t\tif (til.length > 0) {\n\t\t\t\t\t\t\tfor (TreeItem ti : til) {\n\t\t\t\t\t\t\t\tdsb.setMA_DOT_THUCHIEN_SUACHUA_BAODUONG(key);\n\t\t\t\t\t\t\t\tRow_PTTSthamgia_Baoduong rp = (Row_PTTSthamgia_Baoduong) ti.getData();\n\t\t\t\t\t\t\t\tcontroler.getControl_DOT_THUCHIEN_SUACHUA_BAODUONG_TAISAN()\n\t\t\t\t\t\t\t\t\t\t.set_DOT_THUCHIEN_SUACHUA_TAISAN(dsb, rp);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tshowMessage_Succes();\n\t\t\t\t\t\tshell.dispose();\n\t\t\t\t\t\tGiaoViec gv = new GiaoViec(user);\n\t\t\t\t\t\tgv.open();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tshowMessage_Fail();\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tshowMessage_FillText();\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tprivate DOT_THUCHIEN_SUACHUA_BAODUONG getDOT_SUACHUA_BAODUONG() {\n\t\t\t\tDOT_THUCHIEN_SUACHUA_BAODUONG dsb = new DOT_THUCHIEN_SUACHUA_BAODUONG();\n\t\t\t\tdsb.setTEN_DOT_THUCHIEN_SUACHUA_BAODUONG(text_Tendot_Baoduong.getText());\n\t\t\t\tdsb.setLOAI_PHUONG_TIEN(\n\t\t\t\t\t\tInteger.valueOf((int) combo_Loaiphuongtien.getData(combo_Loaiphuongtien.getText())));\n\t\t\t\tdsb.setSUACHUA_BAODUONG(fi.getInt_Baoduong());\n\t\t\t\tdsb.setMO_TA(text_Mota.getText());\n\t\t\t\treturn dsb;\n\t\t\t}\n\n\t\t});\n\t\tGridData gd_btnLu = new GridData(SWT.RIGHT, SWT.CENTER, true, false, 1, 1);\n\t\tgd_btnLu.widthHint = 75;\n\t\tbtnLuu.setLayoutData(gd_btnLu);\n\t\tbtnLuu.setText(\"Xong\");\n\n\t\tbtnDong = new Button(shell, SWT.NONE);\n\t\tbtnDong.addSelectionListener(new SelectionAdapter() {\n\t\t\t@Override\n\t\t\tpublic void widgetSelected(SelectionEvent e) {\n\t\t\t\ttry {\n\t\t\t\t\tif (ViewAndEdit_MODE_dsb != null) {\n\t\t\t\t\t\tupdateField();\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// if (Insert_dx != null)\n\t\t\t\t\t\t// controler.getControl_DEXUAT().delete_DEXUAT(Insert_dx);\n\t\t\t\t\t}\n\t\t\t\t} catch (SQLException e1) {\n\t\t\t\t\tlog.error(e1.getMessage());\n\t\t\t\t\te1.printStackTrace();\n\t\t\t\t}\n\t\t\t\tshell.dispose();\n\t\t\t}\n\t\t});\n\t\tGridData gd_btnDong = new GridData(SWT.LEFT, SWT.CENTER, false, false, 1, 1);\n\t\tgd_btnDong.widthHint = 75;\n\t\tbtnDong.setLayoutData(gd_btnDong);\n\t\tbtnDong.setText(\"Đóng\");\n\t\tinit_loadMODE();\n\t\tinit_CreateMode();\n\t}", "int insertSelective(Admin record);", "int insertSelective(Admin record);", "int insertSelective(Table2 record);", "protected void shoAddNewDataEditor () {\n\t\t\n\t\t\n\t\tinstantiateDataForAddNewTemplate(new AsyncCallback< DATA>() {\n\t\t\t@Override\n\t\t\tpublic void onFailure(Throwable caught) {\n\t\t\t\t// ini tidak mungkin gagal\n\t\t\t\t\n\t\t\t}\n\t\t\t@Override\n\t\t\tpublic void onSuccess(final DATA result) {\n\t\t\t\teditorGenerator.instantiatePanel(new ExpensivePanelGenerator<BaseDualControlDataEditor<PK,DATA>>() {\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void onPanelGenerationComplete(\n\t\t\t\t\t\t\tBaseDualControlDataEditor<PK, DATA> widget) {\n\t\t\t\t\t\tconfigureAndPlaceEditorPanel(widget);\n\t\t\t\t\t\twidget.requestDoubleSubmitToken(null);\n\t\t\t\t\t\twidget.addAndEditNewData(result);\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\t\n\t}", "int insertSelective(Enfermedad record);", "int insertSelective(SbGroupDetail record);", "Container moreJavaScript(){\n\n Container con = new Container();\n con.addItem(\"/*****************************************************************/\\n\");\n con.addItem(\"function writeIt(the_long,the_lat,the_table)\\n\" +\n \"{\\n\" +\n \" var new_long = the_long - 0;\\n\" +\n \" var new_lat = the_lat - 0;\\n\" +\n \" var new_table = the_table - 0;\\n\" +\n \" var word_long_return = new_long + new_table;\\n\" +\n \" window.document.myForm.plongitudeeast.value = word_long_return;\\n\" +\n \" var word_lat_return = new_lat + new_table;\\n\" +\n \" window.document.myForm.platitudesouth.value = word_lat_return;\\n\" +\n \"}\\n\");\n con.addItem(\"function updatePTable(what)\\n\" +\n \"{\\n\" +\n \" var n = what.selectedIndex;\\n\" +\n \" /* window.alert(\\\"n = \\\" + n); */\\n\" +\n \" what.form.ptable.value = what.form.ptablesize.options[n].value;\\n\" +\n \"}\\n\");\n con.addItem(\"/*****************************************************************/\\n\");\n\n con.addItem(\"var menu = new Array (\\n\");\n for (int i = 0; i < sc.MAX1; i++) {\n con.addItem(\"\\\"\" + (i+1) + \"|\" + (i+1) + \"|\" + trueFalse[i] + \"*\");\n for (int j = 0; j < sc.MAX2; j ++) {\n if (sc.BSIZE[i][j] != 0) {\n String quote = \"\\\"\";\n if (j == 0) quote = \"\";\n String truef = \"\";\n if (j == 5) truef = \"|true\";\n String plus = \"+\";\n if (sc.MINSQ[i][j] == 20) plus = \",\";\n if ((i == (sc.MAX1-1)) && (sc.MINSQ[i][j] == 20)) plus = \")\";\n con.addItem(quote + i + \"-\" + j + \"|\" + sc.BSIZE[i][j] + \"(\" +\n sc.MINSQ[i][j] + \"x\" + sc.MINSQ[i][j] + \")\" +\n truef + \"#\\\"\" + plus + \"\\n\");\n } // if (sc.BSIZE[i][j] != 0)\n } // for (int j = 0; j < MAX2; j ++)\n } // for (int i = 0; i < MAX1; i++)\n\n return con;\n\n }", "int insertSelective(PrefecturesMt record);", "@Override\r\n public void onInserted(ParserItemLink link) {\r\n tableAdd(link);\r\n selectedLink = link;\r\n tableSelect(link);\r\n }", "int insertSelective(AccuseInfo record);", "public void databaseinsert() {\n\n\t\tStringBuilder sb = new StringBuilder();\n\t\tSite site = new Site(Sid.getText().toString().trim(), Scou.getText().toString().trim());\n\t\tlong rowId = dbHlp.insertDB(site);\n\t\tif (rowId != -1) {\n\t\t\tsb.append(getString(R.string.insert_success));\n\n\t\t} else {\n\n\t\t\tsb.append(getString(R.string.insert_fail));\n\t\t}\n\t\tToast.makeText(Stu_state.this, sb, Toast.LENGTH_SHORT).show();\n\t}", "int insertSelective(PensionRoleMenu record);", "int insertSelective(Goodexistsingle record);", "int insertSelective(PicInfo record);", "static public void set_creation_data(){\n\n\t\tEdit_row_window.attrs = new String[]{\"creation name:\", \"rating:\", \"release year:\"};\n\t\tEdit_row_window.attr_vals = new String[]\n\t\t\t\t{Edit_row_window.selected[0].getText(1), Edit_row_window.selected[0].getText(2), \n\t\t\t\tEdit_row_window.selected[0].getText(3)};\n\t\t\n\t\tEdit_row_window.linked_query =\t\" select distinct a.id, a.name, a.num_links, a.birth_year \" +\n\t\t\t\t\t\t\t\t\t\t\t\" from curr_music_artists a, \" +\n\t\t\t\t\t\t\t\t\t\t\t\" curr_music_artist_creation ac \" +\n\t\t\t\t\t\t\t\t\t\t\t\" where ac.artist_id=a.id and ac.creation_id=\"+Edit_row_window.id+\n\t\t\t\t\t\t\t\t\t\t\t\" order by num_links desc \";\n\t\t\t\t\n\t\tEdit_row_window.not_linked_query = \" select distinct a.id, a.name, a.num_links, a.birth_year \" +\n\t\t\t\t\" from curr_music_artists a \";\n\t\t\n\t\tEdit_row_window.linked_attrs = new String[]{\"id\", \"artist name\", \"rating\", \"birth year\"};\n\t\tEdit_row_window.label_min_parameter=\"min. birth year:\";\n\t\tEdit_row_window.linked_category_name = \"ARTISTS\";\n\t}", "private void onAdd()\n {\n // get the source list selection\n Object selection[] = _lstSource.getSelectedValues();\n\n // iterate the selection\n EntityDobj table;\n TransferEntity te;\n for(int i = 0; selection != null && i < selection.length; i++)\n {\n // get the table\n table = (EntityDobj)selection[i];\n if(table != null)\n {\n // create new te\n te = new TransferEntity();\n te.setSourceEntityName(table.getName());\n\n // add to the target list and the datasource\n _lstTarget.addItem(te);\n _dt.addTransferEntity(te);\n }\n }\n\n // remove the selection from the source list\n for(int i = 0; selection != null && i < selection.length; i++)\n {\n // get the table\n table = (EntityDobj)selection[i];\n if(table != null)\n _lstSource.removeItem(table);\n }\n }", "public InsertBlockHTMLExecutable(RichTextArea rta)\n {\n super(rta);\n }", "public void select();", "int insertSelective(Basicinfo record);", "public void place(){\n\t\tplace((float) Math.floor(Main.mouseSelector.x)+0.5f,(float) Math.floor(Main.mouseSelector.y)+0.5f);\r\n\t}", "public void replaceSelectionForInsert(Insert insertStmt, List<String> valList) throws JSQLParserException{\n\t\tIterator valueIt = ((ExpressionList)insertStmt.getItemsList()).getExpressions().iterator();\n\t\twhile(valueIt.hasNext()){\n\t\t\tString valStr = valueIt.next().toString().trim();\n\t\t\tif(valStr.contains(\"SELECT\") || valStr.contains(\"select\")){\n\t\t\t\t//execute the selection \n\t\t\t\t//remove two brackets\n\t\t\t\tif(valStr.indexOf(\"(\") == 0 && valStr.lastIndexOf(\")\") == valStr.length()-1){\n\t\t\t\t\tvalStr = valStr.substring(1, valStr.length()-1);\n\t\t\t\t}\n\t\t\t\tPlainSelect plainSelect = ((PlainSelect)((Select)cJsqlParser.parse(new StringReader(valStr))).getSelectBody());\n\t\t\t\tint selectItemCount = plainSelect.getSelectItems().size();\n\t\t\t\tPreparedStatement sPst;\n\t\t\t\ttry {\n\t\t\t\t\tsPst = con.prepareStatement(valStr);\n\t\t\t\t\tResultSet rs = sPst.executeQuery();\n\t\t\t\t\tif(rs.next()){\n\t\t\t\t\t\tfor(int i = 0 ; i < selectItemCount; i++){\n\t\t\t\t\t\t\tDebug.println(\"we got something from the subselection : \" + rs.getString(i+1));\n\t\t\t\t\t\t\tvalList.add(rs.getString(i+1));\n\t\t\t\t\t\t}\n\t\t\t\t\t}else{\n\t\t\t\t\t\tthrow new RuntimeException(\"Select must return a value!\");\n\t\t\t\t\t}\n\t\t\t\t\trs.close();\n\t\t\t\t} catch (SQLException e1) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te1.printStackTrace();\n\t\t\t\t}\t\n\t\t\t}else{\n\t\t\t\tvalList.add(valStr);\n\t\t\t}\n\t\t}\n\t}", "private void inserts() {\n DBPeer.fetchTableRows();\n DBPeer.fetchTableIndexes();\n \n Map<Number160, Data> tabRows = DBPeer.getTabRows();\n\t\tMap<Number160, Data> tabIndexes = DBPeer.getTabIndexes();\n\t\t\n String tabName = null;\n Number160 tabKey = null;\n FreeBlocksHandler freeBlocks = null;\n Map<String, IndexHandler> indexHandlers = new HashMap<>();\n TableRows tr = null;\n TableIndexes ti = null;\n \n logger.trace(\"INSERT-WHOLE\", \"BEGIN\", Statement.experiment);\n \n for (Insert ins: inserts) {\n \n if (tabName == null) {\n \ttabName = ins.getTabName();\n \ttabKey = Number160.createHash(tabName);\n \tfreeBlocks = new FreeBlocksHandler(tabName);\n \ttry {\n \t\t\t\ttr = (TableRows) tabRows.get(tabKey).getObject();\n \t\t\t\tti = (TableIndexes) tabIndexes.get(tabKey).getObject();\n \t\t\t} catch (ClassNotFoundException | IOException e) {\n \t\t\t\tlogger.error(\"Data error\", e);\n \t\t\t}\n \tfor (String index: ti.getIndexes()) {\n \t\tindexHandlers.put(index, new IndexHandler(ins.getPeer()));\n \t}\n \tfor (String index: ti.getUnivocalIndexes()) {\n \t\tindexHandlers.put(index, new IndexHandler(ins.getPeer()));\n \t}\n } else if (!tabName.equals(ins.getTabName())) {\n \t\t\ttry {\n \t\t\t\ttabRows.put(tabKey, new Data(tr));\n \t\t\ttabIndexes.put(tabKey, new Data(ti));\n \t\t\ttabName = ins.getTabName();\n \ttabKey = Number160.createHash(tabName);\n \t\t\t\ttr = (TableRows) tabRows.get(tabKey).getObject();\n \t\t\t\tti = (TableIndexes) tabIndexes.get(tabKey).getObject();\n \t\t\t\tfreeBlocks.update();\n \tfreeBlocks = new FreeBlocksHandler(tabName);\n \tindexHandlers.clear();\n \tfor (String index: ti.getIndexes()) {\n \t\tindexHandlers.put(index, new IndexHandler(ins.getPeer()));\n \t}\n \tfor (String index: ti.getUnivocalIndexes()) {\n \t\tindexHandlers.put(index, new IndexHandler(ins.getPeer()));\n \t}\n \t\t\t} catch (ClassNotFoundException | IOException e) {\n \t\t\t\tlogger.error(\"Data error\", e);\n \t\t\t}\n } \n \n ins.init(freeBlocks, indexHandlers, tr, ti);\n \n }\n \n boolean done = false;\n while (!done) {\n \tint countTrue = 0;\n \tfor (Insert ins: inserts) {\n \t\tif (ins.getDone()) {\n \t\t\tcountTrue++;\n \t\t}\n \t}\n \tif (countTrue == inserts.size()) {\n \t\tdone = true;\n \t}\n }\n \n freeBlocks.update();\n\n try {\n\t\t\ttabRows.put(tabKey, new Data(tr));\n\t\t\ttabIndexes.put(tabKey, new Data(ti));\n\t\t} catch (IOException e) {\n\t\t\tlogger.error(\"Data error\", e);\n\t\t}\n \n DBPeer.updateTableRows();\n DBPeer.updateTableIndexes();\n \n logger.trace(\"INSERT-WHOLE\", \"END\", Statement.experiment);\n }", "int insertSelective(ProcurementSource record);", "int insertSelective(SpecialCircumstance record);", "private void selectedRowGuide(){\r\n xy log_guide_rel_inv = tb_guias.getSelectionModel().getSelectedItem(); \r\n loadTables(log_guide_rel_inv.getGuias());\r\n loadCarga(log_guide_rel_inv.getGuias());\r\n \r\n List<Fxp_Archguid_gfc> data = Ln.getList_log_Archguid_gfc(Ln.getInstance().find_Archguid_gfc(log_guide_rel_inv.getGuias()));\r\n\r\n tp_factura.setText(\r\n \"Relación de Guia / Facturas / Clientes \" + \r\n \" - \" + \r\n data.size() + \" / \" + \r\n data.get(0).getNumfact() + \" / \" + \r\n data.get(0).getNumclie());\r\n\r\n tp_factura.setExpanded(true);\r\n \r\n }", "int insertSelective(Location record);", "int insertSelective(FileRecordAdmin record);", "int insertSelective(PaasCustomAutomationRecord record);", "int insert(MenuInfo record);", "private void insertPerform(){\n \tif(!verify()){\n \t\treturn;\n \t}\n \tString val=new String(\"\");\n \tval=val+\"'\"+jTextField1.getText()+\"', \"; // poNo\n \tval=val+\"'\"+\n \t\tinventorycontroller.util.DateUtil.getRawFormat(\n \t\t\t(java.util.Date)jXDatePicker1.getValue()\n \t\t)\n \t\t+\"', \"; // poDate\n \tval=val+\"'\"+vndList[jTextField2.getSelectedIndex()-1]+\"', \"; // vndNo\n \tval=val+\"'\"+jTextField3.getText()+\"', \"; // qtnNo\n \tval=val+\"'\"+\n \t\tinventorycontroller.util.DateUtil.getRawFormat(\n \t\t\t(java.util.Date)jXDatePicker2.getValue()\n \t\t)\n \t\t+\"', \"; // qtnDate\n \tval=val+\"'\"+poAmount+\"', \"; // poTotal\n \tval=val+\"'pending', \"; // poStatus\n \tval=val+\"'\"+jEditorPane1.getText()+\"' \"; // remark\n \t\n \ttry{\n \t\tdbInterface1.cmdInsert(\"poMaster\", val);\n \t\tinsertPoBomDesc();\n \t\tinsertPoDesc();\n\t \tupdateBOM();\n \t}\n \tcatch(java.sql.SQLException ex){\n \t\tSystem.out.println (ex);\n \t}\n \tresetPerform();\n }", "void insertSelective(VRpWkLocationGprsCs record);", "int insertSelective(TABLE41 record);", "int insertSelective(PrhFree record);" ]
[ "0.5790609", "0.55849016", "0.5556026", "0.5510461", "0.5510359", "0.5472107", "0.5453911", "0.5436173", "0.54150784", "0.53966916", "0.5334916", "0.5308922", "0.5286916", "0.5248475", "0.5247358", "0.5241224", "0.52247226", "0.5219369", "0.5213582", "0.520565", "0.5191833", "0.5174526", "0.51635367", "0.51607734", "0.5149848", "0.51391965", "0.5128684", "0.5115049", "0.5111827", "0.5110936", "0.51035815", "0.5088257", "0.50841784", "0.50732064", "0.50581336", "0.504685", "0.5033356", "0.5029459", "0.5027421", "0.5023616", "0.501422", "0.501295", "0.5007694", "0.50043976", "0.5001251", "0.49978894", "0.49966654", "0.49955207", "0.49938285", "0.49920106", "0.49897832", "0.49884802", "0.49855408", "0.49835882", "0.4975397", "0.49705586", "0.4968145", "0.49666402", "0.49599853", "0.49598047", "0.49411196", "0.4936542", "0.49363115", "0.49336407", "0.49299416", "0.49298704", "0.4921976", "0.4921786", "0.49198517", "0.49198517", "0.4918377", "0.49168804", "0.49150774", "0.49138302", "0.49121097", "0.49092057", "0.49087098", "0.49059996", "0.4905213", "0.49052066", "0.49031618", "0.48939878", "0.4889171", "0.4886668", "0.48866406", "0.4885341", "0.48852712", "0.48783922", "0.4876256", "0.48759782", "0.48756042", "0.48595658", "0.48560727", "0.48546287", "0.48542613", "0.4849337", "0.4846441", "0.48400554", "0.48389", "0.48382837", "0.48343235" ]
0.0
-1
/ // END INSERT AREA / =================================================================================== / UPDATE AREA
void updateCustomerDDPay(CustomerDDPay cddp);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n public void insertUpdate(DocumentEvent e) {\n HayCambio();\r\n }", "public void insertUpdate(DocumentEvent e) {\r\n changed();\r\n }", "@Override\n\t\t\t\tpublic void insertUpdate(DocumentEvent e) {\n\t\t\t\t\tchange();\n\t\t\t\t}", "@Override\r\n\t\t\t\t\tpublic void insertUpdate(DocumentEvent e) {\n\t\t\t\t\t\tcheckID();\r\n\t\t\t\t\t}", "private void updateDB() {\n }", "@Override\n public void insertUpdate(DocumentEvent e) {\n verifierSaisie();\n }", "@Override\n\tpublic void insertUpdate(DocumentEvent de) {\n\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "public void executeUpdate();", "@Override\n public void insertUpdate(DocumentEvent e) {\n documentChanged();\n }", "private void UpdateTable() {\n\t\t\t\t\n\t\t\t}", "Update createUpdate();", "@Override\r\n\tpublic void update() throws SQLException {\n\r\n\t}", "public void updateContent() {\n\t\t\n\t\tupdateResidencias();\n\t\tupdateUniversidades();\n\t\t\n\t}", "void updateInformation();", "@Override\n\tpublic void update(Object entidade) {\n\t\t\n\t}", "@Override\n\t\tpublic void update() {\n\n\t\t}", "@Override\n\t\tpublic void update() {\n\n\t\t}", "@Override\n\t\tpublic void update() {\n\n\t\t}", "void executeUpdate();", "public void insertUpdate(DocumentEvent e) {\n }", "@Override\n\tpublic void update(StockDataRecord bo) throws SQLException {\n\t\t\n\t}", "@Override\r\n\t\tpublic void update() {\n\t\t\t\r\n\t\t}", "@Override\r\n\t\tpublic void update() {\n\t\t\t\r\n\t\t}", "public void handleUpdate(){\n increaseDecrease(\"i\");\n action=\"update\";\n buttonSave.setVisible(true);\n admission.setEditable(false);\n\n }", "public void btnInsertColumn() {\n\t\t\n\t\tboolean contains = musicApp.insertNewTimeBlock();\n\t\tif(contains) {\n\t\t\tlblErrorMsg.setText(\"The track contains work you don't currently have. Please refresh before inserting sound.\");\n\t\t} else {\n\t\t\tmusicApp.updateViews();\n\t\t\tupdatePositionChoice();\n\t\t}\n\t}", "@Override\n\tprotected void doUpdate(Session session) {\n\n\t}", "private void edit() {\n\n\t}", "public void insertUpdate(DocumentEvent e)\n {\n performFlags();\n }", "@Override\r\n\tpublic void adminSelectUpdate() {\n\t\t\r\n\t}", "boolean updateContent();", "@Override\r\n\tpublic void update() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void update() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void update() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void update() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void update() {\n\t\t\r\n\t}", "@Override\n\t\t\tpublic void insertUpdate(DocumentEvent e) {if(!updateFromSelectedValue) updateAutocomplete(e);}", "public void insertUpdate(DocumentEvent e) \n\t\t\n\t\t{\n\t\t\tchar [] contraseña=usuario2.getPassword();//almacema una array de caracteres introducidos en contraseña\n\t\t\t\t\t\t\t\t\t\t\t\t//que es usuario2 osea caracter a caracter\n\t\t\t\n\t\t\tif(contraseña.length<=0) \n\t\t\t{\n\t\t\t\tusuario2.setBackground(Color.WHITE);\n\t\t\t}\n\t\t\t\n\t\t\telse\n\t\t\t{\n\t\t\t\tif(contraseña.length<8 || contraseña.length>12)//si contraseña es menor a 8 y mayor a 12 \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t//se pondra el display en rojo\n\t\t\t\t{\n\t\t\t\t\tusuario2.setBackground(Color.red);//decimos usuari(es el displey)se pondra en rojo(setBackgraun(Color.c))\n\t\t\t\t\tus.setText(\"contraseña incorrecta\");\n\t\t\t\t}\n\t\t\t\telse \n\t\t\t\t{ \n\t\t\t\t\t\n\t\t\t\t\tusuario2.setBackground(Color.GREEN);\n\t\t\t\t\tus.setText(\"contraseña correcta\");\n\t\t\t\t}\n\t\t\t}\t\n\t\t\t\n\t\t}", "@Override\r\n public void insertUpdate(DocumentEvent e) {\n ActivoTimer();\r\n }", "@Override\r\n\tpublic void update() {\r\n\r\n\t}", "public void editOperation() {\n\t\t\r\n\t}", "private void multiLeafUpdate()\r\n {\n \t\tfor (int i=0;i<this.allCols.size();i++)\r\n \t{\r\n \t\t\tif (this.allCols.get(i).endsWith(HEADER))\r\n \t\t\t{\r\n \t\t\t\tString headerCol=this.allCols.get(i);\r\n \t\t\t\tString col=this.allCols.get(i).replace(HEADER, \"\");\r\n \t\t\t\t\r\n \t\t\t\tthis.requete.append(\"\\n UPDATE \"+this.tempTableA+\" SET i_\"+headerCol+\"=i_\"+col+\" WHERE i_\"+headerCol+\" IS NULL and i_\"+col+\" IS NOT NULL;\");\r\n \t\t\t}\r\n \t\t}\r\n \t\t\r\n }", "private void update() {\n\n\t\tfloat shopping = Float.parseFloat(label_2.getText());\n\t\tfloat giveing = Float.parseFloat(label_5.getText());\n\t\tfloat companyDemand = Float.parseFloat(label_7.getText());\n\n\t\ttry {\n\t\t\tPreparedStatement statement = DBConnection.connection\n\t\t\t\t\t.prepareStatement(\"update customer_list set Shopping_Account = \"\n\t\t\t\t\t\t\t+ shopping\n\t\t\t\t\t\t\t+ \" , Giving_Money_Account = \"\n\t\t\t\t\t\t\t+ giveing\n\t\t\t\t\t\t\t+ \", Company_demand = \"\n\t\t\t\t\t\t\t+ companyDemand\n\t\t\t\t\t\t\t+ \" where Name = '\"\n\t\t\t\t\t\t\t+ name\n\t\t\t\t\t\t\t+ \"' And Last_Name = '\"\n\t\t\t\t\t\t\t+ lastName + \"' \");\n\t\t\tstatement.execute();\n\t\t} catch (SQLException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\n\t\t}\n\n\t}", "private void update() {\n\t\t\n\t\tlinkID.setText(\"\"+workingLink.ID);\n\t\t\n\t\troomIDA.setText(\"\"+this.workingLink.targetRooms[0].ID);\n\t\t\n\t\t//Falls bisher nur ein Link-Part gesetzt wurde\n\t\tif(workingLink.targetRooms[1] == null)\n\t\t\troomIDB.setText(\"nicht gesetzt\");\n\t\telse\n\t\t\troomIDB.setText(\"\"+this.workingLink.targetRooms[1].ID);\n\t\t\n\t\t\n\t\tfieldPosA.setText(\"\"+this.workingLink.targetFields[0].pos);\n\t\t\n\t\t//Falls bisher nur ein Link-Part gesetzt wurde\n\t\tif(workingLink.targetFields[1] == null)\n\t\t\tfieldPosB.setText(\"nicht gesetzt\");\n\t\telse\n\t\t\tfieldPosB.setText(\"\"+this.workingLink.targetFields[1].pos);\n\t}", "public void willbeUpdated() {\n\t\t\n\t}", "void update ( priorizedListObject v ) throws DAOException;", "@Override\n\tpublic void update() {}", "@Override\n\tpublic void update() {}", "@Override\n\tpublic void update() {\n\n\t}", "@Override\n\tpublic void update() {\n\n\t}", "@Override\n\tpublic void update() {\n\n\t}", "@Override\n\tpublic void update() {\n\n\t}", "@Override\n\tpublic void update() {\n\n\t}", "@Override\n\tpublic void update() {\n\n\t}", "@Override\n\tpublic void updateBourse(Bourse brs) {\n\t\t\n\t}", "private void insertOrUpdateItem(){\n Toaster toaster = new Toaster(getContext());\n DBManager dbManager = new DBManager(getContext());\n if((Afegir.getText() == getText(R.string.actualitza) && updateItem(dbManager)) ||\n (Afegir.getText() == getText(R.string.afegir) && insertItem(dbManager))){\n\n ((MainActivity) getActivity()).swapFrameLayoutVisibility(true);\n ((MainActivity) getActivity()).refreshListView();\n toaster.customizedToast(getLayoutInflater(), getView(), getText(R.string.commit_insert).toString(), null);\n reset(true);\n }\n\n else toaster.customizedToast(getLayoutInflater(), getView(), getText(R.string.reboke_action).toString(), getContext().getDrawable(R.drawable.ic_error_vector));\n }", "@Override\n public void updateDatabase() {\n }", "@Override\r\n\tpublic void updateData() {\n\t\t\r\n\t}", "int insertSelective(AdminTab record);", "@Override\n\tpublic void update_in_DB() throws CouponSiteMsg \n\t{\n\t\t\n\t}", "void committed() {\n\t\t\tfor (Entry<Integer, Object> entry : newData.entrySet())\n\t\t\t\toriginalData.put(entry.getKey(), entry.getValue());\n\t\t\treset();\n\t\t\taction = RowAction.UPDATE;\n\t\t}", "public insertExp() throws SQLException {\n this.setExtendedState(JFrame.MAXIMIZED_BOTH);\n initComponents();\n jLabel1.setVisible(false);\n idLable.setVisible(false);\n showNextId();\n showProjCombo();\n detailsText.setComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT);\n }", "void updateData();", "public void update(){\r\n\t\tthis.loadRecords();\r\n\t}", "public void update(){}", "public void update(){}", "@Override\r\n\tpublic void update() {\r\n\t}", "@Override\r\n\tpublic void update(GameContainer gc, int detla) throws SlickException\r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void preInsert() {\n\n\t}", "public void setUpdateData() {\n positionFenceToUpdateinController = Controller.getPositionFenceInArrayById(this.idFenceToUpdate);\n if(positionFenceToUpdateinController >= 0) {\n Fence fence = Controller.fences.get(positionFenceToUpdateinController);\n ((MainActivity)getActivity()).getSupportActionBar().setTitle(Constant.TITLE_VIEW_UPDATE_FENCE + \": \" + fence.getName());\n this.nameFence.setText(fence.getName());\n this.addressFence.setText(fence.getAddress());\n this.cityFence.setText(fence.getCity());\n this.provinceFence.setText(fence.getProvince());\n this.numberFence.setText(fence.getNumber());\n this.textSMSFence.setText(fence.getTextSMS());\n int index = (int)Constant.SPINNER_RANGE_POSITIONS.get(fence.getRange());\n this.spinnerRange.setSelection(index);\n this.spinnerEvent.setSelection(fence.getEvent());\n }\n }", "@Override\r\n\tpublic void update() {\n\t}", "@Override\r\n\tpublic void update() {\n\t}", "protected static void update() {\n\t\tstepsTable.update();\n\t\tactive.update();\n\t\tmeals.update();\n\t\t\n\t}", "@Override\n\t\tprotected void postUpdate(EspStatusDTO t) throws SQLException {\n\t\t\t\n\t\t}", "@Override\r\n\tpublic void update() {\n\r\n\t}", "@Override\r\n\tpublic void update() {\n\r\n\t}", "@Override\r\n\tpublic String update() {\n\t\treturn null;\r\n\t}", "@Override\r\n\tpublic String update() {\n\t\treturn null;\r\n\t}", "public void updateData() {}", "@Override\n\tpublic void update() {\n\t\t\n\t}", "@Override\n\tpublic void update() {\n\t\t\n\t}", "@Override\n\tpublic void update() {\n\t\t\n\t}", "@Override\n\tpublic void update() {\n\t\t\n\t}", "@Override\n\tpublic void update() {\n\t\t\n\t}", "@Override\n\tpublic void update() {\n\t\t\n\t}", "@Override\n\tpublic void update() {\n\t\t\n\t}", "@Override\n\tpublic void update() {\n\t\t\n\t}", "@Override\n\tpublic void update() {\n\t\t\n\t}", "@Override\n\tpublic void update() {\n\t\t\n\t}", "@Override\n\t\tpublic void insertUpdate(DocumentEvent e) {\n\t\t\t\n\t\t\tchar[] contraseņa;\n\t\t\tcontraseņa = contraseņa1.getPassword();\n\t\t\tif(contraseņa.length<8||contraseņa.length>12)\n\t\t\t{\n\t\t\t\tcontraseņa1.setBackground(Color.RED);\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tcontraseņa1.setBackground(Color.WHITE);\n\t\t\t}\n\t\t}", "public void insertInfo(editUserSetGet eu);", "@Override\n\tpublic void update() { }", "private void Update_table() {\n throw new UnsupportedOperationException(\"Not supported yet.\"); //To change body of generated methods, choose Tools | Templates.\n }", "int updateByPrimaryKey(XxArea record);", "public void insertUpdate(DocumentEvent e) \n \t{\n \t\tsend_textbox_text_value = input_box.getText();\n \t\tif(isConnected == false)\n \t\t\treturn;\n \t\tSend_Button.setEnabled(Check_send());\n }", "public void insertUpdate(DocumentEvent e) \n \t{\n \t\terror_Label.setVisible(Check_ip_input(ip_textbox_text_value = ip_textbox.getText()));\n \t\tConnect_Button.setEnabled(Check_enable());\n }", "public void update(){\n\t\tif ( crm.addedNewStudent()){\n\t\t\tList<Student> students = crm.getStudents();\n\t\t\tStudent newest = students.get(students.size()-1);\n\t\t\tint ID = newest.ID();\n\t\t\tString name = newest.name();\n\t\t\tint GradYear = newest.GradYear();\n\t\t\tsv.addStudent(ID, name, GradYear);\n\t\t}\n\t}", "@Override\n\tpublic boolean update(String sql) {\n\t\treturn false;\n\t}", "@Override\n\tprotected void updateImpl(Connection conn, VtbObject anObject)\n\t\t\tthrows SQLException, MappingException {\n\n\t}", "public void verarbeite() {\n\t\t\r\n\t}", "private void updateBtnMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_updateBtnMouseClicked\n String id = pidTxt.getText().toString();\n String name = pnameTxt.getText().toString();\n String price = pperpriceTxt.getText().toString();\n String quantity = pquanityTxt.getText().toString();\n String date = pdateTxt.getText().toString();\n\n try {\n String Query = \"UPDATE `stock` SET `Product_Name`=?,`Quantity`=?,`Entry_Date`=?,`Price`=? Where `Product_ID`=?\";\n\n pstm = con.prepareStatement(Query);\n\n pstm.setString(1, name);\n\n pstm.setInt(2, Integer.parseInt(quantity));\n pstm.setString(3, date);\n pstm.setInt(4, Integer.parseInt(price));\n pstm.setInt(5, Integer.parseInt(id));\n pstm.executeUpdate();\n } catch (Exception ex) {\n\n JOptionPane.showMessageDialog(null, \"Data Not Found To be Updated\");\n }\n\n //Refersh Table\n refTable();\n\n }" ]
[ "0.6047016", "0.5898826", "0.5879393", "0.5729145", "0.56582576", "0.5649689", "0.56495947", "0.5589808", "0.55842316", "0.5573919", "0.5568312", "0.556234", "0.5553689", "0.5552942", "0.554634", "0.55413425", "0.5532783", "0.5532783", "0.5532783", "0.55313087", "0.5528098", "0.5503604", "0.5498887", "0.5498887", "0.5492278", "0.54702765", "0.54627746", "0.5450963", "0.5444776", "0.5424973", "0.5419306", "0.5416231", "0.5416231", "0.5416231", "0.5416231", "0.5416231", "0.5377575", "0.5369531", "0.5355415", "0.53538865", "0.5348494", "0.53441215", "0.5336922", "0.5333463", "0.53303057", "0.53195804", "0.5319167", "0.5319167", "0.53184175", "0.53184175", "0.53184175", "0.53184175", "0.53184175", "0.53184175", "0.531812", "0.5309888", "0.530196", "0.5298662", "0.5291997", "0.5291312", "0.5289535", "0.52749527", "0.52681017", "0.52679056", "0.5252073", "0.5252073", "0.52506703", "0.5241924", "0.5238042", "0.5233027", "0.52285314", "0.52285314", "0.52275276", "0.5225047", "0.5223088", "0.5223088", "0.5220128", "0.5220128", "0.5205687", "0.52042854", "0.52042854", "0.52042854", "0.52042854", "0.52042854", "0.52042854", "0.52042854", "0.52042854", "0.52042854", "0.52042854", "0.5200918", "0.51974446", "0.5196626", "0.51877695", "0.5184469", "0.5176301", "0.5173946", "0.51712114", "0.5162603", "0.51592153", "0.51534516", "0.5148668" ]
0.0
-1
/ // END UPDATE AREA / =================================================================================== / DELETE AREA
void deleteCustomerDDPayById(int id);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void delete() {\n AltDatabase.getInstance().getAlts().remove(getCurrentAsEditable());\n if (selectedAccountIndex > 0)\n selectedAccountIndex--;\n updateQueried();\n updateButtons();\n }", "private void removeArea() {\n \t\tthis.set.remove( this.area );\n \t\tthis.finish();\n \t}", "public void deleteLUC() {\r\n/* 135 */ this._has_LUC = false;\r\n/* */ }", "@Override\n\tpublic void excluir() {\n\t\t\n\t}", "private void delete() {\n\n\t}", "@Override\r\n\tprotected boolean deleteDetail(Object curMaster) {\n\t\treturn true;\r\n\t}", "@Override\r\n\tpublic void adminSelectDelete() {\n\t\t\r\n\t}", "@Override\n\tpublic void posDelete() {\n\t\t\n\t}", "@Override\n\tpublic void posDelete() {\n\t\t\n\t}", "@Override\n\tpublic void posDelete() {\n\t\t\n\t}", "public abstract void remove(SubArea selectedSubArea);", "@Override\n\tpublic Representation deleteDetails() {\n\t\treturn null;\n\t}", "private void destroyDisplayEditOverlay() {\n\t}", "@Override\n public void undo(){\n this.parent.getSelectedArea().clear();\n }", "private void remove() {\n disableButtons();\n clientgui.getClient().sendDeleteEntity(cen);\n cen = Entity.NONE;\n }", "@Override\r\n public void removeUpdate(DocumentEvent e) {\n HayCambio();\r\n }", "public void onDeleteSectionQuery( ){\n StaticMethods.getAlertDialog( context, \"Do You want to Delete this section?\", \"You will delete this section forever!\" )\n .setPositiveButton(\"YES\", (dialog, which) -> {\n dialog.dismiss();\n // Query To Delete...\n DBQuery.queryToDeleteSection( this, rootParentID, listManageHome.get( itemPosition).getLayoutID() );\n })\n .setNegativeButton(\"NO\", (dialog, which) -> dialog.dismiss()).show();\n }", "private void deleteButton4ActionPerformed(ActionEvent e) {\n // TODO add your code here\n PlanBuffer.setBuffer(\"\");\n PlanBuffer.setBuffer(this.list.get(this.page*6 + 3).getPlanID());\n String planID = PlanBuffer.getBuffer();\n PlanFunction.DeletePlanByPlanID(planID);\n this.dispose();\n PlanHomeCoach.run();\n }", "public void operationDelete() {\n\r\n\t\tstatusFeldDelete();\r\n\t}", "@Override\n \tpublic Representation deleteResource() {\n \t\tString interId = (String) this.getRequestAttributes().get(\"interId\");\n \t\tString srcId = (String) this.getRequestAttributes().get(\"sourceId\");\n \t\t\n \t\t// On s'assure qu'il n'est plus prsent en base de donnes\n \t\n \t\tIntervention inter = Interventions.getInstance().getIntervention(interId);\n \t\tList<Source> sources = inter.getSources();\n \t\tfor (int i = 0; i < sources.size(); i++) {\n \t\t\tif (sources.get(i).getUniqueID().equals(srcId)) {\n \t\t\t\tsources.remove(sources.get(i));\n \t\t\t}\n \t\t}\n \t\t\n \t\treturn null;\n \t}", "private void deleteButton2ActionPerformed(ActionEvent e) {\n // TODO add your code here\n PlanBuffer.setBuffer(\"\");\n PlanBuffer.setBuffer(this.list.get(this.page*6 + 1).getPlanID());\n String planID = PlanBuffer.getBuffer();\n PlanFunction.DeletePlanByPlanID(planID);\n this.dispose();\n PlanHomeCoach.run();\n }", "public void evt_DeleteCurrentObject()\r\n {\r\n rh2EventPos.hoOiList.oilNumOfSelected -= 1;\t\t\t\t\t// Un de moins dans l'OiList\r\n if (rh2EventPrev != null)\r\n {\r\n rh2EventPrev.hoNextSelected = rh2EventPos.hoNextSelected;\r\n rh2EventPos = rh2EventPrev; // Car le courant est vire!\r\n }\r\n else\r\n {\r\n// rhPtr.rhOiList[rh2EventPosOiList].oilListSelected=rh2EventPos.hoNextSelected;\r\n rh2EventPrevOiList.oilListSelected = rh2EventPos.hoNextSelected;\r\n rh2EventPos = null;\r\n }\r\n }", "public void delete() {\n\t\tcmd = new DeleteCommand(editor);\n\t\tinvoker = new MiniEditorInvoker(cmd);\n\t\tinvoker.action();\n\t}", "@Override\n\tpublic void desligar() {\n\t\t\n\t}", "public void removerDeContenedor() {\n\t\tthrow new NotImplementedException();\r\n\t}", "public void attributDelete() {\n\r\n\t\tstatusFeldDelete();\r\n\t}", "private void deleteButton6ActionPerformed(ActionEvent e) {\n // TODO add your code here\n PlanBuffer.setBuffer(\"\");\n PlanBuffer.setBuffer(this.list.get(this.page*6 + 5).getPlanID());\n String planID = PlanBuffer.getBuffer();\n PlanFunction.DeletePlanByPlanID(planID);\n this.dispose();\n PlanHomeCoach.run();\n }", "void deleteSub();", "int delete(Subdivision subdivision);", "public void deleteSelection() {\n deleteFurniture(Home.getFurnitureSubList(this.home.getSelectedItems())); \n }", "private void deleteButton3ActionPerformed(ActionEvent e) {\n // TODO add your code here\n PlanBuffer.setBuffer(\"\");\n PlanBuffer.setBuffer(this.list.get(this.page*6 + 2).getPlanID());\n String planID = PlanBuffer.getBuffer();\n PlanFunction.DeletePlanByPlanID(planID);\n this.dispose();\n PlanHomeCoach.run();\n }", "public void widgetSelected(SelectionEvent e)\n {\n tree.getChildren().clear();\n // Refresh\n listFormat.refresh();\n // Remove req id\n deleteReqId();\n controller.removeDocumentType();\n }", "private void deleteButton1ActionPerformed(ActionEvent e) {\n // TODO add your code here\n PlanBuffer.setBuffer(\"\");\n PlanBuffer.setBuffer(this.list.get(this.page*6).getPlanID());\n String planID = PlanBuffer.getBuffer();\n PlanFunction.DeletePlanByPlanID(planID);\n this.dispose();\n PlanHomeCoach.run();\n }", "private void toDelete() {\n if(toCount()==0)\n {\n JOptionPane.showMessageDialog(rootPane,\"No paint detail has been currently added\");\n }\n else\n {\n String[] choices={\"Delete First Row\",\"Delete Last Row\",\"Delete With Index\"};\n int option=JOptionPane.showOptionDialog(rootPane, \"How would you like to delete data?\", \"Delete Data\", WIDTH, HEIGHT,null , choices, NORMAL);\n if(option==0)\n {\n jtModel.removeRow(toCount()-toCount());\n JOptionPane.showMessageDialog(rootPane,\"Successfully deleted first row\");\n }\n else if(option==1)\n {\n jtModel.removeRow(toCount()-1);\n JOptionPane.showMessageDialog(rootPane,\"Successfully deleted last row\");\n }\n else if(option==2)\n {\n toDeletIndex();\n }\n else\n {\n \n }\n }\n }", "public abstract void removedFromWidgetTree();", "public void delete()\n\t{\n\t\tif(object.onDelete())\n\t\t{\n\t\t\tremoveFromRegion();\n\t\t}\n\t}", "@Override\r\n\tpublic void delete(int eno) {\n\r\n\t}", "@Override\n\tpublic void deleteClick(int id) {\n\t\t\n\t}", "private void deleteButton5ActionPerformed(ActionEvent e) {\n // TODO add your code here\n PlanBuffer.setBuffer(\"\");\n PlanBuffer.setBuffer(this.list.get(this.page*6 + 4).getPlanID());\n String planID = PlanBuffer.getBuffer();\n PlanFunction.DeletePlanByPlanID(planID);\n this.dispose();\n PlanHomeCoach.run();\n }", "public void desligar() {\n\r\n\t}", "@Override\n\t\tpublic void eliminar() {\n\t\t\tutilitario.getTablaisFocus().eliminar();\n\t\t}", "public void evt_DeleteCurrent()\r\n {\r\n rh4PickFlags[0] = -1;\r\n rh4PickFlags[1] = -1;\r\n rh4PickFlags[2] = -1;\r\n rh4PickFlags[3] = -1;\r\n\r\n int oil;\r\n CObjInfo oilPtr;\r\n for (oil = 0; oil < rhPtr.rhMaxOI; oil++)\r\n {\r\n oilPtr = rhPtr.rhOiList[oil];\r\n oilPtr.oilEventCount = rh2EventCount;\r\n oilPtr.oilListSelected = -1;\r\n oilPtr.oilNumOfSelected = 0;\r\n }\r\n }", "private void popupDelete() {\n\t\taufzugschacht.removeElement(this);\n\t}", "@Override\n public int delete( J34SiscomexMercadoriaAdi j34SiscomexMercadoriaAdi ) {\n return super.doDelete(j34SiscomexMercadoriaAdi);\n }", "@Override\n\tpublic void removeFromPanel(FABlock dfaBlock) {\n\n\t}", "@Override\n\tpublic void delete() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}", "void delData();", "private void removeClutterAroundMainContent()\r\n \t{\n \r\n \t\tNodes mainContent = xPathQuery(XPath.NON_STANDARD_MAIN_CONTENT.query);\r\n \t\tif (mainContent.size() > 0)\r\n \t\t\thasStandardLayout = false;\r\n \t\telse {\r\n \t\t\tmainContent = xPathQuery(XPath.MAIN_CONTENT_1.query);\r\n \t\t\tif (mainContent.size() == 0)\r\n \t\t\t\tmainContent = xPathQuery(XPath.MAIN_CONTENT_2.query);\r\n \t\t}\r\n \t\tdeleteNodes(XPath.BODY_NODES.query);\r\n \t\tmoveNodesTo(mainContent, bodyTag);\r\n \t}", "@Override\r\n\tprotected boolean deleteMaster(Object curMaster) {\n\t\treturn true;\r\n\t}", "public void deleteSelectedAndRefresh()\n\t{\n\t\tDisplayThreeSQLHandler.changeRoom(\"CREATURE\", selectedCreature, -1);\n\t\t\n\t\tremoveElement(thingsInColumn.indexOf(selectedCreature));\n\t\t\n\t\tselectedCreature = thingsInColumn.get(itemsVisible[buttonLastPressed]);\n\t\t\n\t\tDisplayThree.getInstance().addBox.changeContents(\"CREATURE\", false);\n\t\t;\n\t\t\n\t\tthis.updateButtons();\n\t}", "public void deleteAnio()\r\n {\r\n this._has_anio= false;\r\n }", "private void getDeleteLinkPanel() {\n\t\ttry{\n\t\t\tDeleteLinkPanel deleteLinkPanel = new DeleteLinkPanel(newsItem);\n\t\t\toptionPanel.add(deleteLinkPanel);\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t}", "protected void doDeleteBoth() {\r\n\t\tif (renderer.surface != null) {\r\n\t\t\tUndoableMapEdit undo = new UndoableMapEdit(renderer.surface);\r\n\t\t\tdeleteEntitiesOf(renderer.surface.basemap, renderer.selectedRectangle, false);\r\n\t\t\tdeleteEntitiesOf(renderer.surface.buildingmap, renderer.selectedRectangle, true);\r\n\t\t\tundo.setAfter();\r\n\t\t\taddUndo(undo);\r\n\t\t\trepaint();\r\n\t\t}\r\n\t}", "private void removeLocation() {\n try {\n this.location_view.setVisibility(View.GONE);\n this.current_location.setVisibility(View.GONE);\n this.drop_location.setVisibility(View.GONE);\n this.mPostModel.setLocationPost(\"\");\n } catch (Exception ex) {\n ex.printStackTrace();\n }\n }", "@Override\n\tpublic void deleteSelected() {\n\n\t}", "@Override\n\tpublic void deleteClick(Object id) {\n\t\t\n\t}", "@Override\n\t\tpublic void delete() {\n\n\t\t}", "public void removeAllOverlayObj()\n/* 91: */ {\n/* 92:146 */ this.mapPanel.removeAllOverlayObj();\n/* 93: */ }", "private void clearBtnMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_clearBtnMouseClicked\n clearFields();\n //by Default hide Update button\n deleteBtn.setVisible(false);\n\n }", "public void remove(){\n Api.worldRemover(getWorld().getWorldFolder());\n }", "void retainOutlineAndBoundaryGrid() {\n\t\tfor (final PNode child : getChildrenAsPNodeArray()) {\n\t\t\tif (child != selectedThumbOutline && child != yellowSIcolumnOutline && child != boundary) {\n\t\t\t\tremoveChild(child);\n\t\t\t}\n\t\t}\n\t\tcreateOrDeleteBoundary();\n\t}", "private void buttonToDeleteMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_buttonToDeleteMouseClicked\n ActivityService activityService = new ActivityService();\n activityService\n .setId(this.id)\n .setUser(this.dashboard.user);\n try {\n activityService.delete();\n this.setVisible(false);\n this.dashboard.refreshUI();\n }catch (Exception err) {\n this.alert.showMessageDialog(null, \"gagal menghapus data\");\n }\n }", "public CampaignEditPage deleteEntryInProgramField()\r\n\t{\r\n\t\treadconfig();\t\r\n\t\t//counting the number of entry in the field\r\n\t\tint iCount = driver.findElements(By.xpath(library.getProperty(\"camp_edit_program_number\"))).size();\r\n\t\tSystem.out.println(\"**program: \"+iCount);\r\n\t\tfor (int i=0; i<iCount;i++)\r\n\t\t{\r\n\t\t\tdriver.findElement(By.xpath(library.getProperty(\"camp_edit_program\"))).sendKeys(Keys.BACK_SPACE);\r\n\t\t}\r\n\t\treturn new CampaignEditPage(driver);\r\n\t}", "public void descolaPosicao();", "@Override\n\tpublic void removeUpdate(DocumentEvent e) {\n\t\t\n\t}", "@Override\n\tpublic void delete(CorsoDiLaurea corso) {\n\t\t\n\t}", "public static void scriptDelete() {\n List<BeverageEntity> beverages = (List<BeverageEntity>) adminFacade.getAllBeverages();\n for (int i = 0; i < beverages.size(); i++) {\n System.out.println(\"delete : \" + beverages.get(i));\n adminFacade.removeBeverage(beverages.get(i));\n }\n List<DecorationEntity> decos = (List<DecorationEntity>) adminFacade.getAllDecorations();\n for (int i = 0; i < decos.size(); i++) {\n System.out.println(\"delete : \" + decos.get(i));\n adminFacade.removeDecoration(decos.get(i));\n }\n\n /* Check that there isn't any other cocktails, and delete remaining */\n List<CocktailEntity> cocktails = (List<CocktailEntity>) adminFacade.getAllCocktails();\n if (cocktails.size() > 0) {\n System.err.println(\"Les cocktails n'ont pas été tous supprimés... \"\n + cocktails.size() + \" cocktails restants :\");\n }\n for (int i = 0; i < cocktails.size(); i++) {\n CocktailEntity cocktail = adminFacade.getCocktailFull(cocktails.get(i));\n System.err.println(cocktail.getName() + \" : \"\n + cocktail.getDeliverables());\n adminFacade.removeCocktail(cocktail);\n }\n\n /* Remove client accounts */\n List<ClientAccountEntity> clients = (List<ClientAccountEntity>) adminFacade.getAllClients();\n for (int i = 0; i < clients.size(); i++) {\n adminFacade.removeClient(clients.get(i));\n }\n\n /* Remove addresses */\n List<AddressEntity> addresses = (List<AddressEntity>) adminFacade.getAllAddresses();\n for (int i = 0; i < addresses.size(); i++) {\n adminFacade.removeAddress(addresses.get(i));\n }\n\n /* TODO :\n * * Remove orders\n */\n }", "private void removeClubEvent () {\n boolean okToDelete = true;\n if (CommonPrefs.getShared().confirmDeletes()) {\n int userOption = JOptionPane.showConfirmDialog(\n navToolBar, \n \"Really delete this Event?\",\n \"Delete Confirmation\",\n JOptionPane.YES_NO_OPTION,\n JOptionPane.QUESTION_MESSAGE,\n Home.getShared().getIcon());\n okToDelete = (userOption == JOptionPane.YES_OPTION);\n }\n if (okToDelete) {\n if (position.isNewClubEvent()) {\n position = new ClubEventPositioned();\n position.setIndex (clubEventList.size());\n display(); \n } else {\n noFindInProgress();\n boolean deleted = writer.delete(eventsFile, localPath);\n if (! deleted) {\n Trouble.getShared().report(this, \n \"Event could not be deleted\", \n \"Delete Failure\", \n JOptionPane.ERROR_MESSAGE);\n }\n position = clubEventList.remove (position);\n positionAndDisplay();\n currentFileModified = true;\n } // end if new ClubEvent not yet saved\n }\n \n }", "protected void doDeleteBuilding() {\r\n\t\tif (renderer.surface != null) {\r\n\t\t\tUndoableMapEdit undo = new UndoableMapEdit(renderer.surface);\r\n\t\t\tdeleteEntitiesOf(renderer.surface.buildingmap, renderer.selectedRectangle, true);\r\n\t\t\tundo.setAfter();\r\n\t\t\taddUndo(undo);\r\n\t\t\trepaint();\r\n\t\t}\r\n\t}", "protected boolean afterDelete() {\n if (!DOCSTATUS_Drafted.equals(getDocStatus())) {\n JOptionPane.showMessageDialog(null, \"El documento no se puede eliminar ya que no esta en Estado Borrador.\", \"Error\", JOptionPane.ERROR_MESSAGE);\n return false;\n } \n \n //C_AllocationLine\n String sql = \"DELETE FROM C_AllocationLine \"\n + \"WHERE c_payment_id = \"+getC_Payment_ID();\n \n DB.executeUpdate(sql, get_TrxName());\n \n //C_PaymentAllocate\n sql = \"DELETE FROM C_PaymentAllocate \"\n + \"WHERE c_payment_id = \"+getC_Payment_ID();\n \n DB.executeUpdate(sql, get_TrxName());\n \n //C_VALORPAGO\n sql = \"DELETE FROM C_VALORPAGO \"\n + \"WHERE c_payment_id = \"+getC_Payment_ID();\n \n DB.executeUpdate(sql, get_TrxName());\n \n //C_PAYMENTVALORES\n sql = \"DELETE FROM C_PAYMENTVALORES \"\n + \"WHERE c_payment_id = \"+getC_Payment_ID();\n \n DB.executeUpdate(sql, get_TrxName());\n \n //C_PAYMENTRET\n sql = \"DELETE FROM C_PAYMENTRET \"\n + \"WHERE c_payment_id = \"+getC_Payment_ID();\n \n DB.executeUpdate(sql, get_TrxName());\n \n return true;\n\n }", "private void deleteAllQuestionInputTextAreas() {\n UIComponent panel = FacesContext.getCurrentInstance().getViewRoot().findComponent(\"tabsView:tabViewTasksSettings:viewEditPerformanceAppraisalSettingForm:questionsPerformanceAppraisalPanel\");\n panel.getChildren().clear();\n }", "public void delete(){\r\n\t\tblocks = null;\r\n\t\ttry {\r\n\t\t\tfinalize();\r\n\t\t} catch (Throwable e) {\t}\r\n\t}", "private void createRowForDeleteButton(Composite compo)\n {\n buttonDelete = toolkit.createButton(section, \"Remove\", SWT.PUSH); //$NON-NLS-1$\n buttonGridData(buttonDelete, SWT.BOTTOM);\n buttonDelete.setEnabled(false);\n buttonDelete.addSelectionListener(new SelectionListener()\n {\n public void widgetDefaultSelected(SelectionEvent e)\n {\n }\n\n public void widgetSelected(SelectionEvent e)\n {\n tree.getChildren().remove(selectedRule);\n listFormat.refresh();\n buttonDelete.setEnabled(false);\n updateWizard();\n controller.removeDocumentType();\n }\n });\n }", "@Override\n\tpublic void delete() {\n\n\t}", "private void cmd_deleteSelection(){\n\t\tm_frame.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));\n\t\tif (ADialog.ask(getWindowNo(), m_frame.getContainer(), \"DeleteSelection\"))\n\t\t{\t\n\t\t\tint records = deleteSelection(detail);\n\t\t\tsetStatusLine(Msg.getMsg(Env.getCtx(), \"Deleted\") + records, false);\n\t\t}\t\n\t\tm_frame.setCursor(Cursor.getDefaultCursor());\n\t\tbDelete.setSelected(false);\n\t\texecuteQuery();\n\t\t\n\t}", "public void unload() {\n this.currentRooms.clear();\n // Zero the info panel.\n this.roomNameField.setText(\"\");\n this.includeField.setText(\"\");\n this.inheritField.setText(\"\");\n this.streetNameField.setSelectedIndex(0);\n this.determinateField.setText(\"\");\n this.lightField.setText(\"\");\n this.shortDescriptionField.setText(\"\");\n this.longDescriptionField.setText(\"\");\n this.exitPanel.removeAll();\n }", "private void removeFrame() {\n RelativeFrame frame = selectRelativeFrame(\"Which frame would you like to delete?\");\n for (Event event: world.getEvents()) {\n if (event.getFrame() == frame) {\n event.changeFrame(world.getMasterFrame());\n }\n }\n world.getMasterFrame().removeRelativeFrame(frame);\n String masterName = world.getMasterFrame().getName();\n System.out.println(\"Removed \" + frame.getName() + \"and moved all events defined in it to \" + masterName + \"!\");\n }", "@Override\r\n\tpublic void del(HttpServletRequest request, HttpServletResponse response) throws IOException {\n\t\tthis.URL1=\"../admin/xiaoshuorecycle.jsp\";\r\n\t\tsuper.del(request, response);\r\n\t}", "@Override\n\tpublic void delete() {\n\t\t\n\t}", "@Override\n\tpublic void delete() {\n\t\t\n\t}", "private Delete() {}", "private Delete() {}", "@Source(\"gr/grnet/pithos/resources/editdelete.png\")\n ImageResource delete();", "public Menu_deleted_panel() {\n initComponents();\n MenuList();\n show_product();\n }", "public void removeObjectOnlyFromCanvas(int ID) {\n super.removeObject(ID);\n }", "public void actionPerformed(ActionEvent e) {\n\t\t\t\t Database.RemoveItem(Integer.toString(Database.IDs[table.getSelectedRow()]));\t\n\t\t\t\t Login.Refresh();\n\t\t\t }", "public void delete() {\n\n\t}", "@Override\r\n\t\t\tpublic void eliminar() {\n\r\n\t\t\t}", "@Override\n\tpublic void contextDeleted(String context, boolean toolPlacement) {\n\t}", "public void deleteSelection() {\r\n /* Delete the node */\r\n try {\r\n deleteNode();\r\n } catch (NullPointerException e1) {\r\n }\r\n /* Delete the edge */\r\n try {\r\n deleteEdge();\r\n } catch (NullPointerException e2) {\r\n }\r\n /* Reload the scroll */\r\n scrollPane().doLayout();\r\n }", "@Override\r\n\tpublic String deleteDeal() {\n\t\tif(!SysFun.isNullOrEmpty(id)) {\r\n\t\t\tLong iId=SysFun.parseLong(id);\r\n\t\t\tHeadLine headLine = headLineService.load(iId);\r\n\t\t\tString filePath = ServletActionContext.getServletContext().getRealPath(\"/\");\r\n\t\t\tnew File(filePath+headLine.getLineImg()).delete();\r\n\t\t\tLong result=headLineService.delete(iId);\r\n\t\t\tif(result>0) {\r\n\t\t\t\treturn \"go_ok\";\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\treturn \"go_ok\";\r\n\t}", "public final void removeUpdate(DocumentEvent e) {\n Rectangle alloc = (painted) ? getVisibleEditorRect() : null;\n rootView.removeUpdate(e, alloc, rootView.getViewFactory());\n }", "@Execute(validator = true, input = \"error.jsp\", urlPattern = \"deletepage/{crudMode}/{id}\")\n /* CRUD COMMENT: END */\n /* CRUD: BEGIN\n @Execute(validator = true, input = \"error.jsp\", urlPattern = \"deletepage/{crudMode}/{${table.primaryKeyPath}}\")\n CRUD: END */\n public String deletepage() {\n if (crudTableForm.crudMode != CommonConstants.DELETE_MODE) {\n throw new ActionMessagesException(\"errors.crud_invalid_mode\",\n new Object[] { CommonConstants.DELETE_MODE,\n crudTableForm.crudMode });\n }\n \n loadCrudTable();\n \n return \"confirm.jsp\";\n }", "public String eliminarDetalle()\r\n/* 340: */ {\r\n/* 341:400 */ this.cuentaContableDimensionContable = ((CuentaContableDimensionContable)this.dtCuentaContable.getRowData());\r\n/* 342:401 */ this.cuentaContableDimensionContable.setEliminado(true);\r\n/* 343:402 */ return \"\";\r\n/* 344: */ }", "public void cleanUp(){\n\t\t//offset(-1*bounds.left, -1*bounds.top);\n\t}", "private void createRowForDeleteAllButton(Composite compo)\n {\n buttonDeleteAll = toolkit.createButton(section, \"Remove All\", SWT.PUSH); //$NON-NLS-1$\n buttonGridData(buttonDeleteAll, SWT.BOTTOM);\n buttonDeleteAll.addSelectionListener(new SelectionListener()\n {\n public void widgetDefaultSelected(SelectionEvent e)\n {\n }\n\n public void widgetSelected(SelectionEvent e)\n {\n // Erase all the list\n tree.getChildren().clear();\n // Refresh\n listFormat.refresh();\n // Remove req id\n deleteReqId();\n controller.removeDocumentType();\n }\n });\n }", "private synchronized void removeContext()\n{\n if (for_editor == null) return;\n\n BoardLog.logD(\"BALE\",\"Remove rename\");\n\n for_editor.setRenameContext(null);\n for_editor.removeCaretListener(this);\n for_editor.removeMouseListener(edit_mouser);\n for_editor.removeKeyListener(edit_keyer);\n for_editor = null;\n for_document = null;\n if (cur_menu != null) {\n cur_menu.setVisible(false);\n cur_menu = null;\n }\n}", "public void deleteMenu() {\n deleteMenuGroupError = true;\n String input = FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get(\"menu_id\");\n menu_id = Integer.parseInt(input);\n setMenu_id(menu_id);\n if (menu.deleteMenu()) {\n createMenuError = false;\n updateMenuError = false;\n deleteMenuError = true;\n } else {\n deleteMenuError = false;\n }\n }", "private static boolean HandleDeleteWhenStructuralBoundaryIsCrossed(TextEditor This, TextPointer position, TextPointer deletePosition) \r\n {\r\n if (!TextRangeEditTables.IsTableStructureCrossed(position, deletePosition) && \r\n !IsBlockUIContainerBoundaryCrossed(position, deletePosition) &&\r\n !TextPointerBase.IsAtRowEnd(position))\r\n {\r\n return false; \r\n }\r\n\r\n LogicalDirection directionOfDelete = position.CompareTo(deletePosition) < 0 ? LogicalDirection.Forward : LogicalDirection.Backward; \r\n\r\n Block paragraphOrBlockUIContainerToDelete = position.ParagraphOrBlockUIContainer; \r\n\r\n // Check if an empty paragraph or BlockUIContainer needs to be deleted.\r\n if (paragraphOrBlockUIContainerToDelete != null)\r\n { \r\n if (directionOfDelete == LogicalDirection.Forward)\r\n { \r\n // \r\n\r\n\r\n\r\n\r\n if (paragraphOrBlockUIContainerToDelete.NextBlock != null &&\r\n paragraphOrBlockUIContainerToDelete is Paragraph && Paragraph.HasNoTextContent((Paragraph)paragraphOrBlockUIContainerToDelete) || // empty paragraph \r\n paragraphOrBlockUIContainerToDelete is BlockUIContainer && paragraphOrBlockUIContainerToDelete.IsEmpty) // empty BlockUIContainer\r\n { \r\n paragraphOrBlockUIContainerToDelete.RepositionWithContent(null); \r\n }\r\n } \r\n else\r\n {\r\n if (paragraphOrBlockUIContainerToDelete.PreviousBlock != null &&\r\n paragraphOrBlockUIContainerToDelete is Paragraph && Paragraph.HasNoTextContent((Paragraph)paragraphOrBlockUIContainerToDelete) || // empty paragraph \r\n paragraphOrBlockUIContainerToDelete is BlockUIContainer && paragraphOrBlockUIContainerToDelete.IsEmpty) // empty BlockUIContainer\r\n { \r\n paragraphOrBlockUIContainerToDelete.RepositionWithContent(null); \r\n }\r\n } \r\n }\r\n\r\n // Set caret position.\r\n This.Selection.SetCaretToPosition(deletePosition, directionOfDelete, /*allowStopAtLineEnd:*/false, /*allowStopNearSpace:*/true); \r\n\r\n if (directionOfDelete == LogicalDirection.Backward) \r\n { \r\n // Clear springload formatting in case of backspace\r\n ((TextSelection)This.Selection).ClearSpringloadFormatting(); \r\n }\r\n\r\n return true;\r\n }", "@Override\n\tpublic void delete() {\n\t\tSystem.out.println(\"no goin\");\n\t\t\n\t}", "public void mo3373o(C0005a3 a3Var) {\n Toolbar toolbar;\n View view = this.f2804c;\n if (view != null && view.getParent() == (toolbar = this.f2802a)) {\n toolbar.removeView(this.f2804c);\n }\n this.f2804c = null;\n }" ]
[ "0.6137281", "0.6002579", "0.5897075", "0.579164", "0.5768178", "0.57473564", "0.5737514", "0.5724565", "0.5724565", "0.5724565", "0.5693357", "0.5672905", "0.56578165", "0.56413275", "0.5633485", "0.563197", "0.5587509", "0.5583375", "0.55560815", "0.5523992", "0.54907674", "0.5480704", "0.54783714", "0.54778117", "0.5464776", "0.5456414", "0.54515004", "0.5446248", "0.5443496", "0.5428717", "0.5423902", "0.541967", "0.5418236", "0.5418229", "0.5413878", "0.5408345", "0.5398363", "0.5394144", "0.5393819", "0.5391218", "0.53901386", "0.5389196", "0.5389146", "0.538835", "0.53750485", "0.5373113", "0.5372187", "0.5369329", "0.5363395", "0.5362852", "0.53598255", "0.53587824", "0.53551906", "0.5351615", "0.5346994", "0.5341346", "0.5340211", "0.533589", "0.5335228", "0.5326606", "0.53240037", "0.53239775", "0.53166634", "0.5315695", "0.5304793", "0.5304781", "0.52995765", "0.52984667", "0.5297389", "0.52963275", "0.5296101", "0.5294725", "0.52927005", "0.5292315", "0.5288616", "0.52877593", "0.5287241", "0.52848655", "0.52840877", "0.52840877", "0.5280279", "0.5280279", "0.5272238", "0.5268867", "0.5262364", "0.52539706", "0.52536964", "0.5252746", "0.5252099", "0.52500063", "0.52488434", "0.5247017", "0.52468187", "0.52422416", "0.5238553", "0.5238194", "0.52333623", "0.52321094", "0.52299947", "0.5229859", "0.52275723" ]
0.0
-1
TODO Autogenerated method stub
public static void main(String[] args) { OrderedTree tree_77, tree_44, tree_99, tree_33, tree_55; // 자식을 갖는 객체 이름 지정 OrderedTree tree_22 = new OrderedTree(22); // root가 22인 단독 트리 생성 OrderedTree tree_66 = new OrderedTree(66); // root가 66인 단독 트리 생성 OrderedTree tree_88 = new OrderedTree(88); // root가 88인 단독 트리 생성 List subtreeOf_33 = new LinkedList(); // root를 33으로 하는 트리의 subtree를 담을 list 객체 subtreeOf_33.add(tree_22); // subtree list에 root가 22인 트리를 넣음 tree_33 = new OrderedTree(33, subtreeOf_33); // subtree로 subtreeOf_33 list에 담겨있는 트리를 갖고 root가 33인 트리 생성 List subtreeOf_55 = new LinkedList(); // root를 55로 하는 트리의 subtree를 담을 list 객체 subtreeOf_55.add(tree_66); // subtree list에 root가 66인 트리를 넣음 tree_55 = new OrderedTree(55, subtreeOf_55); // subtree로 subtreeOf_55 list에 담겨있는 트리를 갖고 root가 55인 트리 생성 List subtreeOf_44 = new LinkedList(); // root를 44로 하는 트리의 subtree를 담을 list 객체 subtreeOf_44.add(tree_33); // subtree list에 root가 33인 트리를 넣음 subtreeOf_44.add(tree_55); // subtree list에 root가 55인 트리를 넣음 tree_44 = new OrderedTree(44, subtreeOf_44); // subtree로 subtreeOf_44 list에 담겨있는 트리를 갖고 root가 44인 트리 생성 List subtreeOf_99 = new LinkedList(); // root를 99로 하는 트리의 subtree를 담을 list 객체 subtreeOf_99.add(tree_88); // subtree list에 root가 88인 트리를 넣음 tree_99 = new OrderedTree(99, subtreeOf_99); // subtree로 subtreeOf_99 list에 담겨있는 트리를 갖고 root가 99인 트리 생성 List subtreeOf_77 = new LinkedList(); // root를 77로 하는 트리의 subtree를 담을 list 객체 subtreeOf_77.add(tree_44); // subtree list에 root가 44인 트리를 넣음 subtreeOf_77.add(tree_99); // subtree list에 root가 99인 트리를 넣음 tree_77 = new OrderedTree(77, subtreeOf_77); // subtree로 subtreeOf_77 list에 담겨있는 트리를 갖고 root가 77인 트리 생성 System.out.print("레벨 순서 순회 : "); tree_77.levelorder(); // 레벨 순서 순회 메소드 호출 }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.6080161", "0.6077022", "0.6041561", "0.6024072", "0.6020252", "0.59984857", "0.59672105", "0.59672105", "0.5965777", "0.59485507", "0.5940904", "0.59239364", "0.5910017", "0.5902906", "0.58946234", "0.5886006", "0.58839184", "0.58691067", "0.5857751", "0.58503544", "0.5847024", "0.58239377", "0.5810564", "0.5810089", "0.5806823", "0.5806823", "0.5800025", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5790187", "0.5789414", "0.5787092", "0.57844025", "0.57844025", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5761362", "0.57596046", "0.57596046", "0.575025", "0.575025", "0.575025", "0.5747959", "0.57337177", "0.57337177", "0.57337177", "0.5721452", "0.5715831", "0.57142824", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.5711723", "0.57041645", "0.56991017", "0.5696783", "0.56881124", "0.56774884", "0.56734604", "0.56728", "0.56696945", "0.5661323", "0.5657007", "0.5655942", "0.5655942", "0.5655942", "0.56549734", "0.5654792", "0.5652974", "0.5650185" ]
0.0
-1
naplni sa dropdownmenu obsahujuce dostupne parkoviska (zoznam miest)
public void getParking() throws SQLException{ ResultSet rs = Datasource.getInstance().openParking(); while(rs.next()){ this.parking.add(rs.getString("town")); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private org.gwtbootstrap3.client.ui.DropDownMenu get_f_DropDownMenu22() {\n return build_f_DropDownMenu22();\n }", "private void cargaLista() {\n this.getTipoApelacionSelecionada().add(new SelectItem(\"Aclaracion\", \"Aclaracion\"));\n this.getTipoApelacionSelecionada().add(new SelectItem(\"Revision\", \"Revision\"));\n this.getTipoApelacionSelecionada().add(new SelectItem(\"Revocatoria\", \"Revocatoria\"));\n this.getTipoApelacionSelecionada().add(new SelectItem(\"Subsidiaria\", \"Subsidiaria\"));\n \n }", "private org.gwtbootstrap3.client.ui.DropDownMenu get_f_DropDownMenu73() {\n return build_f_DropDownMenu73();\n }", "private org.gwtbootstrap3.client.ui.DropDownMenu get_f_DropDownMenu57() {\n return build_f_DropDownMenu57();\n }", "public void generateMenu () \n {\n mCoffeeList = mbdb.getCoffeeMenu();\n for(int i =0;i<mCoffeeList.size();i++){\n coffeeTypeCombo.addItem(mCoffeeList.get(i).toString());\n }\n mWaffleList = mbdb.getWaffleMenu();\n for(int j =0;j<mWaffleList.size();j++){\n waffleTypeCombo.addItem(mWaffleList.get(j).toString());\n }\n }", "public final void updateDropdown() {\n Msg.send(\"Updating Dropdown...\");\n messages.removeAllItems();\n //Populates the dropdown\n for (int j = 0; j < lines.size(); j++) {\n String messageStr = (String) lines.get(j);\n if (j < 10) {\n System.out.println(\"Message: \" + messageStr);\n }\n String[] parts = messageStr.split(\";\");\n String num = parts[0];\n String title = parts[1];\n messages.addItem(num + \". \" + title);\n }\n }", "private void llenarCombo(HTMLSelectElement combo, String tabla, String codigo, String descripcion, String condicion, String defecto, boolean dejarBlanco) {\n/* 436 */ if (dejarBlanco) {\n/* 437 */ HTMLOptionElement op = (HTMLOptionElement)this.pagHTML.createElement(\"option\");\n/* 438 */ op.setValue(\"\");\n/* 439 */ op.appendChild(this.pagHTML.createTextNode(\"\"));\n/* 440 */ combo.appendChild(op);\n/* */ } \n/* 442 */ TGeneralDAO rsTGen = new TGeneralDAO();\n/* 443 */ Collection<TGeneralDTO> arr = rsTGen.cargarTabla(tabla, codigo, descripcion, condicion);\n/* 444 */ rsTGen.close();\n/* 445 */ Iterator<TGeneralDTO> iterator = arr.iterator();\n/* 446 */ while (iterator.hasNext()) {\n/* 447 */ TGeneralDTO regGeneral = (TGeneralDTO)iterator.next();\n/* 448 */ HTMLOptionElement op = (HTMLOptionElement)this.pagHTML.createElement(\"option\");\n/* 449 */ op.setValue(\"\" + regGeneral.getCodigoS());\n/* 450 */ op.appendChild(this.pagHTML.createTextNode(regGeneral.getDescripcion()));\n/* 451 */ if (defecto != null && defecto.equals(regGeneral.getCodigoS())) {\n/* 452 */ Attr escogida = this.pagHTML.createAttribute(\"selected\");\n/* 453 */ escogida.setValue(\"on\");\n/* 454 */ op.setAttributeNode(escogida);\n/* */ } \n/* 456 */ combo.appendChild(op);\n/* */ } \n/* */ }", "@Test(priority = 3)\n public void serviceDropdownMenuTest() {\n driver.findElement(new By.ByLinkText(\"SERVICE\")).click();\n List<WebElement> elements = driver.findElements(By.cssSelector(\"ul.dropdown-menu li\"));\n assertEquals(elements.size(), 9);\n }", "private org.gwtbootstrap3.client.ui.DropDownMenu get_f_DropDownMenu11() {\n return build_f_DropDownMenu11();\n }", "private org.gwtbootstrap3.client.ui.DropDownMenu get_f_DropDownMenu46() {\n return build_f_DropDownMenu46();\n }", "public void dropdown(HttpServletRequest request, HttpServletResponse response) throws Exception {\n \n \t\tSystem.out.println(\"<ViralTreatmentPopulateAction dropdown> Entering... \");\n \n \t\t// Prepopulate all dropdown fields, set the global Constants to the\n \t\t// following\n \n \t\tNewDropdownUtil.populateDropdown(request, Constants.Dropdowns.SEXDISTRIBUTIONDROP,\n \t\t\t\tConstants.Dropdowns.ADD_BLANK);\n \t\tNewDropdownUtil.populateDropdown(request, Constants.Dropdowns.AGEUNITSDROP, \"\");\n \t\tNewDropdownUtil.populateDropdown(request, Constants.Dropdowns.VIRUSDROP, Constants.Dropdowns.ADD_BLANK);\n \t\tNewDropdownUtil.populateDropdown(request, Constants.Dropdowns.VIRALTREATUNITSDROP, \"\");\n \t\tNewDropdownUtil.populateDropdown(request, Constants.Dropdowns.ADMINISTRATIVEROUTEDROP,\n \t\t\t\tConstants.Dropdowns.ADD_BLANK);\n \t}", "public Larare_admin(InfDB idb) {\n initComponents();\n this.idb = idb;\n cbElevhem.setVisible(false);\n \n // Denna metod anropas när sidan öppnas och fyller i dropdown-menyn med de elevhem som finns i databasen.\n fyllElevhemCombobox();\n }", "public void setUpDropdowns(){\n\t\t\n\t\tString[] numberList = {\"2\",\"3\",\"4\"};\n\t\tframe.getContentPane().removeAll();\n\t\t\n\t\touterPanel = new JPanel();\t\t\n\t\touterPanel.setLayout(new FlowLayout()); \n\t\tframe.revalidate();\n\t\tframe.repaint();\n\t\t\n\t\t//JComboBox = Dropwdown list\n\t\tfinal JComboBox<String> dropdownList = new JComboBox<>(numberList);\n\t\tdropdownList.setSelectedIndex(0);\n\t\t//frame.getContentPane().add(dropdownList);\n\t\tfinal JLabel amountOfPlayers = new JLabel(\"Give the amount of players: \");\n\t\tamountOfPlayers.setForeground(Color.WHITE);\n\t\tpanel = new JPanel();\n\t\tpanel.setLayout(new BoxLayout(panel, BoxLayout.PAGE_AXIS));\n\t\tJLabel instructions = new JLabel();\n\t\tPictureCreateClass instructionsP = new PictureCreateClass(URLs.INSTRUCTIONS,400,400);\n\t\tImage image = instructionsP.getImage();\n\t\tImageIcon icon = new ImageIcon(image);\n\t\tinstructions.setIcon(icon);\n\t\tpanel.add(amountOfPlayers);\n\t\tpanel.add(dropdownList);\n\t\tJPanel uberOuterPanel = new JPanel();\n\t\tuberOuterPanel.setLayout(new FlowLayout());\n\t\tuberOuterPanel.setBackground(Color.BLACK);\n\t\tuberOuterPanel.add(instructions);\n\t\tuberOuterPanel.add(outerPanel);\n\t\touterPanel.add(panel);\n\t\tframe.add(uberOuterPanel);\n\t\tpanel.setBackground(Color.BLACK);\n\t\touterPanel.setBackground(Color.BLACK);\n\t\tJButton returnButton = new JButton(\"Go to Menu\");\n\t\touterPanel.add(Box.createHorizontalStrut(100));\n\t\touterPanel.add(returnButton);\n\t\treturnButton.addActionListener(new ActionListener(){\n\t\t\tpublic void actionPerformed(ActionEvent e){\n\t\t\t\tMenu m = new Menu(frame);\n\t\t\t\tm.makeMenu();\n\t\t\t}\n\t\t});\n\t\t\n\t\tframe.revalidate();\n\t\tframe.repaint();\n\t\tdropdownList.addActionListener(new ActionListener(){\n\t\t\tpublic void actionPerformed(ActionEvent e){\n\t\t\t\t@SuppressWarnings(\"unchecked\")\n\t\t\t\tJComboBox<String> cb = (JComboBox<String>)e.getSource();\n\t\t\t\tamountPlayers = Integer.parseInt((String)cb.getSelectedItem());\n\t\t\t\tpanel.remove(dropdownList);\n\t\t\t\tamountOfPlayers.setText(\"Type the player names\");\n\t\t\t\tsetUpPlayers(amountOfPlayers);\n\t\t\t}\t\n\t\t});\n\t}", "private void comboMultivalores(HTMLSelectElement combo, String tabla, String defecto, boolean dejarBlanco) {\n/* 393 */ SisMultiValoresDAO ob = new SisMultiValoresDAO();\n/* 394 */ Collection<SisMultiValoresDTO> arr = ob.cargarTabla(tabla);\n/* 395 */ ob.close();\n/* 396 */ if (dejarBlanco) {\n/* 397 */ HTMLOptionElement op = (HTMLOptionElement)this.pagHTML.createElement(\"option\");\n/* 398 */ op.setValue(\"\");\n/* 399 */ op.appendChild(this.pagHTML.createTextNode(\"\"));\n/* 400 */ combo.appendChild(op);\n/* */ } \n/* 402 */ Iterator<SisMultiValoresDTO> iterator = arr.iterator();\n/* 403 */ while (iterator.hasNext()) {\n/* 404 */ SisMultiValoresDTO reg = (SisMultiValoresDTO)iterator.next();\n/* 405 */ HTMLOptionElement op = (HTMLOptionElement)this.pagHTML.createElement(\"option\");\n/* 406 */ op.setValue(\"\" + reg.getCodigo());\n/* 407 */ op.appendChild(this.pagHTML.createTextNode(reg.getDescripcion()));\n/* 408 */ if (defecto.equals(reg.getCodigo())) {\n/* 409 */ Attr escogida = this.pagHTML.createAttribute(\"selected\");\n/* 410 */ escogida.setValue(\"on\");\n/* 411 */ op.setAttributeNode(escogida);\n/* */ } \n/* 413 */ combo.appendChild(op);\n/* */ } \n/* 415 */ arr.clear();\n/* */ }", "public void searchFilter(){\n\t\t\n\t\tdriver.findElement(By.xpath(\"//div[@class='_3uDYxP']//select[@class='_2YxCDZ']\")).click();\n\t\tSystem.out.println(\"drop-downselected\");\n\t}", "public MenuUtamaPenyedia() {\n initComponents();\n tabPenyedia.setTitleAt(0, \"View Profile\");\n tabPenyedia.setTitleAt(1, \"Edit Profile\");\n tabPenyedia.setTitleAt(2, \"Create Barang\");\n tglSpinner.setValue(0);\n blnSpinner.setValue(0);\n thnSpinner.setValue(2016);\n kbComboBox.setMaximumRowCount(2);\n kbComboBox.removeAllItems();\n kbComboBox.insertItemAt(\"Bagus\", 0);\n kbComboBox.insertItemAt(\"Tidak Bagus\", 1);\n }", "private org.gwtbootstrap3.client.ui.DropDownMenu get_f_DropDownMenu68() {\n return build_f_DropDownMenu68();\n }", "@Override\n public void onItemSelected(AdapterView<?> parentView, View selectedItemView, int position, long id) {\n spnDistrict.setAdapter(C.getArrayAdapter(\"select ZIlLAID||'-'||ZILLANAMEENG DistName from Zilla where DIVID='\" + Global.Left(spnDiv.getSelectedItem().toString(), 2) + \"'\"));// Global.Left(spnDiv.getSelectedItem().toString(),2)\n spnDistrict.setSelection(DivzillaSelect(\"zilla\"));\n\n\n }", "public void irAPanelAbierto() {\r\n //Seleccionar PerfilPanel\r\n itemClicked(jpanePerfil, jpaneActivePerfil, jlblPerfil, 1);\r\n }", "public static void selectDropDown(WebElement obj, String selectItem, String objname) throws Exception{\r\n\t\tif(obj.isDisplayed()){\r\n\t\t\tSelect options = new Select(obj);\r\n\t\t\toptions.selectByVisibleText(selectItem);\r\n\t\t\tUpdate_Report(\"Pass\", \"selectFromDropDown\", \"Menu item \" +selectItem+ \" is Selected\");\r\n\t\t}\r\n\t\telse{\r\n\t\t\tUpdate_Report(\"Fail\", \"selectFromDropDown\", objname + \" DropDown menu is not displayed please check your application\");\r\n\t\t}\r\n\t}", "public void Dropdownselection(WebElement ele) {\t\t\n\t\t\n\t Select dropdown = new Select(ele);\n\t//Get all options\n\tList<WebElement> dd = dropdown.getOptions();\n\t int iCnt = dd.size();\n Random num = new Random();\n int iSelect = num.nextInt(iCnt);\n dropdown.selectByIndex(iSelect);\n System.out.println(\"Element Name 1 : \" +ele.getAttribute(\"value\"));\n\t}", "private void add() {\n \t\r\n\tArrayAdapter<String> adp=new ArrayAdapter<String>(this,\r\n\t\tandroid.R.layout.simple_dropdown_item_1line,li);\r\n\t \t\r\n\tadp.setDropDownViewResource(android.R.layout.simple_dropdown_item_1line);\r\n\tauto.setThreshold(1);\r\n\tauto.setAdapter(adp);\r\n\tsp.setAdapter(adp);\r\n\t\r\n }", "@Override\r\n\tpublic void adminSelectAdd() {\r\n\t\t// TODO Auto-generated method stub\r\n\t\t\r\n\t}", "public String getDropdown() {\n\t\treturn dropdown;\n\t}", "private org.gwtbootstrap3.client.ui.ListDropDown get_f_ListDropDown9() {\n return build_f_ListDropDown9();\n }", "public MenuBangunRuang() {\n initComponents();\n }", "private org.gwtbootstrap3.client.ui.ListDropDown get_f_ListDropDown53() {\n return build_f_ListDropDown53();\n }", "@Override\r\n\tpublic void cargarSubMenuPersona() {\n\t\t\r\n\t}", "private void llenarCombo() {\n cobOrdenar.removeAllItems();\n cobOrdenar.addItem(\"Fecha\");\n cobOrdenar.addItem(\"Nro Likes\");\n cobOrdenar.setSelectedIndex(-1); \n }", "private void popuniComboZaMesto() {\n try {\n jComboMesto.removeAllItems();\n List<MestoEntity> mesta = Controller.ucitajListuMesta();\n \n for (IDomainEntity mesto : mesta) {\n if(mesto instanceof MestoEntity)\n jComboMesto.addItem((MestoEntity) mesto);\n }\n } catch (Exception ex) {\n Logger.getLogger(FKupac.class.getName()).log(Level.SEVERE, null, ex);\n }\n }", "@Test(priority = 13)\n public void selectDropdownTest() {\n Select colors = new Select(driver.findElement(By.cssSelector(\"div.colors select\")));\n colors.selectByVisibleText(\"Yellow\");\n }", "private org.gwtbootstrap3.client.ui.DropDownMenu get_f_DropDownMenu55() {\n return build_f_DropDownMenu55();\n }", "private void openDropdown() {\n if (dropdownLinearLayout.getVisibility() != View.VISIBLE) {\n ScaleAnimation anim = new ScaleAnimation(1, 1, 0, 1);\n anim.setDuration(getResources().getInteger(R.integer.dropdown_amination_time));\n dropdownLinearLayout.startAnimation(anim);\n dropdownTextView.setCompoundDrawablesWithIntrinsicBounds(0, 0, R.drawable.icn_dropdown_close, 0);\n// feelTextsListView\n dropdownLinearLayout.setVisibility(View.VISIBLE);\n }\n }", "public void menuListados() {\n\t\tSystem.out.println(\"MENU LISTADOS\");\n\t\tSystem.out.println(\"1. Personas con la misma actividad\");\n\t\tSystem.out.println(\"2. Cantidad de personas con la misma actividad\");\n\t\tSystem.out.println(\"0. Salir\");\n\t}", "private org.gwtbootstrap3.client.ui.ListDropDown get_f_ListDropDown71() {\n return build_f_ListDropDown71();\n }", "public void remplireListeOptions(){\r\n bddOptions.add(\"id\");\r\n bddOptions.add(\"EnvoieMail\");\r\n bddOptions.add(\"MailPeriode\");\r\n bddOptions.add(\"PeriodeJour\");\r\n bddOptions.add(\"PeriodeHeure\");\r\n bddOptions.add(\"PeriodeLun\");\r\n bddOptions.add(\"PeriodeMar\");\r\n bddOptions.add(\"PeriodeMerc\");\r\n bddOptions.add(\"PeriodeJeu\");\r\n bddOptions.add(\"PeriodeVen\");\r\n bddOptions.add(\"PeriodeSam\");\r\n bddOptions.add(\"PeriodeDim\");\r\n }", "private org.gwtbootstrap3.client.ui.ListDropDown get_f_ListDropDown44() {\n return build_f_ListDropDown44();\n }", "public static void main(String[] args) {\n\t\tSystem.setProperty(\"webdriver.chrome.driver\", \"C:\\\\Users\\\\chris\\\\OneDrive\\\\Documents\\\\chromedriver ver-94\\\\chromedriver.exe\");\r\n\t\tWebDriver driver = new ChromeDriver();\r\n\t\tdriver.get(\"http://www.leafground.com/pages/Dropdown.html\");\r\n\t \r\n\t\t// for dropdown select class is used\r\n\t// To select program using index by creating select class\r\n\t\t\r\n\t\tWebElement index = driver.findElement(By.id(\"dropdown1\"));\r\n\t\tSelect select = new Select(index);\r\n\t\tselect.selectByIndex(1);\r\n\t\tselect.selectByIndex(2);\r\n\t\r\n // To select program using text by creating select class\r\n\t\t\r\n\t\tWebElement text = driver.findElement(By.name(\"dropdown2\"));\r\n\t\tSelect select1 = new Select(text);\r\n\t\tselect1.selectByVisibleText(\"Loadrunner\");\r\n\t\t\r\n // To select program using value using select class\r\n\t\t\r\n\t\tWebElement value = driver.findElement(By.id(\"dropdown3\"));\r\n\t\tSelect select2 = new Select(value);\r\n\t\tselect2.selectByValue(\"3\");\r\n\t\t\r\n // To know how many options are present\r\n\t\t\r\n\t /*List<WebElement> optionlist = select2.getOptions();\r\n\t int size = optionlist.size();\r\n\t System.out.println(size);*/\r\n\t\t\r\n\t //or\r\n\t\t\r\n\t List<WebElement> optionlist = select2.getOptions();\r\n\t System.out.println(optionlist.size());\r\n\t \r\n\t int size=optionlist.size(); \r\n\t for (int i= 0;i<size;i++)\r\n\t {\r\n\t\t System.out.println(optionlist.get(i).getText());\r\n\t }\r\n\t \r\n // Select using sendkeys\r\n\t\r\n\tWebElement element = driver.findElement(By.xpath(\"//*[@id=\\\"contentblock\\\"]/section/div[5]/select\"));\r\n\t//element.sendKeys(\"Selenium\"); // even if you write partial texts ex: \"Sel\" it still selects\r\n\telement.sendKeys(\"App\");\r\n\t\r\n\t// to select program without using select class\r\n\t\r\n\tWebElement withoutselect = driver.findElement(By.xpath(\"//*[@id=\\\"contentblock\\\"]/section/div[6]/select\"));\r\n\twithoutselect.sendKeys(\"Load\");\r\n\t\r\n\t}", "public void llenarComboGrado() {\t\n\t\tString respuesta = negocio.llenarComboGrado(\"\");\n\t\tSystem.out.println(respuesta);\t\n\t}", "private org.gwtbootstrap3.client.ui.ListDropDown get_f_ListDropDown66() {\n return build_f_ListDropDown66();\n }", "private void loadDropDownInfo() {\n\t\tif(isConnected) {\n\t\t\ttry {\n\t\t\t\tlocationBuilder = connection.getLocationData();\n\n\t\t\t\tbuildingComboData = locationBuilder.getBLDGList();\n\t\t\t\tcampusComboData = locationBuilder.getCampusList();\n\t\t\t\troomComboData = locationBuilder.getRMList();\n\n\t\t\t\tbuildingCombo.setItems(buildingComboData);\n\t\t\t\tcampusCombo.setItems(campusComboData);\n\t\t\t\troomCombo.setItems(roomComboData);\n\n\t\t\t\tbuildingCombo.getSelectionModel().selectFirst();\n\t\t\t\tcampusCombo.getSelectionModel().selectFirst();\n\t\t\t\troomCombo.getSelectionModel().selectFirst();\n\t\t\t} // End try statement \n\t\t\tcatch (SQLException e) {\n\t\t\t\tsetNotificationAnimation(\"Connection Problem, Could Not Pull Information\", Color.RED);\n\t\t\t} // End catch statement \n\t\t} // End if statement\n\t\telse {\n\t\t\tsetNotificationAnimation(\"Not Connect\", Color.RED);\n\t\t} // End else statement \n\t}", "public void llenarComboSeccion() {\t\t\n\t\tString respuesta = negocio.llenarComboSeccion(\"\");\n\t\tSystem.out.println(respuesta);\t\t\n\t}", "public void setDropDownToFeelGood() {\n scrollNWClick(scroll, \"Feelgood\");\n }", "public static void main(String[] args)\n\t{\n\t\tSystem.setProperty(\"webdriver.chrome.driver\", \"/Users/anbarasiannamalai/eclipse-workspace/MyFirstProject/chromedriver\");\n\t\tWebDriver driver = new ChromeDriver();\n\t\tdriver.get(\"http://leafground.com/pages/Dropdown.html\");\n\t\tWebElement Dropdown1 = driver.findElement(By.id(\"dropdown1\"));\n\t\tSelect selectdrop = new Select(Dropdown1);\n\t\tselectdrop.selectByIndex(1);\n\t\t//Thread.sleep(3000);\n\t\t//selectdrop.selectByValue(\"4\");\n\t\t//selectdrop.selectByVisibleText(\"Appium\");\n\t\tList<WebElement> listoptions =selectdrop.getOptions();\n\t\tint size = listoptions.size();\n\t\tSystem.out.println(\"NUmber of list in the dropdown\"+ size);\n\t\tDropdown1.sendKeys(\"Loadrunner\");\n\t\t\n\t\tWebElement mutlislectbox = driver.findElement(By.xpath(\"//*[@id=\\'contentblock\\']/section/div[6]/select\"));\n\t\tSelect multislect = new Select(mutlislectbox);\n\t\tmultislect.selectByValue(\"1\");\n\t\tmultislect.selectByValue(\"2\");\n\t\t\n\n\t\t//driver.quit();\n\n\t}", "public void clickOnVehicleNameDropdownButton() {\r\n\t\tsafeClick(vehicleLinkPath.replace(\"ant-card-head-title\", \"ant-select ant-select-enabled\"), MEDIUMWAIT);\r\n\t}", "private void napuniCbPozoriste() {\n\t\t\r\n\t\tfor (Pozoriste p:Kontroler.getInstanca().vratiPozorista())\r\n\t\t\t\r\n\t\t\tcbPozoriste.addItem(p.getImePozorista());\r\n\t}", "public void llenarComboBox(){\n TipoMiembroComboBox.removeAllItems();\n TipoMiembroComboBox.addItem(\"Administrador\");\n TipoMiembroComboBox.addItem(\"Editor\");\n TipoMiembroComboBox.addItem(\"Invitado\");\n }", "public void clicarAlterarDadosCadastrais() {\n\t\thomePage.getButtonMenu().click();\n\t\thomePage.getButtonAlterarDadosCadastrais().click();\t\t\n\t}", "private void dropBox1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_dropBox1ActionPerformed\n int sqlSelector = getSelections();\n sqlBuilder(sqlSelector);\n }", "private void initCombobox() {\n comboConstructeur = new ComboBox<>();\n comboConstructeur.setLayoutX(100);\n comboConstructeur.setLayoutY(250);\n\n\n BDDManager2 bddManager2 = new BDDManager2();\n bddManager2.start(\"jdbc:mysql://localhost:3306/concession?characterEncoding=utf8\", \"root\", \"\");\n listeConstructeur = bddManager2.select(\"SELECT * FROM constructeur;\");\n bddManager2.stop();\n for (int i = 0; i < listeConstructeur.size(); i++) {\n comboConstructeur.getItems().addAll(listeConstructeur.get(i).get(1));\n\n\n }\n\n\n\n\n\n\n }", "public void tldDropdown(int index)\n\t{\n\t\tSelect s=new Select(driver.findElement(_tldSelect));\n\t\ts.selectByIndex(index);\n\t\tlog.info(\"Selected TLD\");\n\t}", "public void selectDropdownValueFromDropdownHeaderTopupMenu(String strDropdownValue) {\r\n\t\tBy locator = By.xpath(\"//ul[@class='dropdown-menu']/li/a[text()='\" + strDropdownValue + \"']\");\r\n\t\tdriver.findElement(locator).click();\r\n\t}", "static void selectFirstOption(){\r\n\r\n WebDriverWait wait= new WebDriverWait(BrowserInitiation.driver, 5000);\r\n wait.until(ExpectedConditions.visibilityOfElementLocated(By.cssSelector(brandFromListCssSelector)));\r\n\r\n List<WebElement> brandOptionsList= BrowserInitiation.driver.findElements(By.cssSelector(brandFromListCssSelector));\r\n brandOptionsList.get(0).click();\r\n\r\n }", "public void openPrimaryButtonDropdown() throws Exception {\n\t\tgetControl(\"primaryButtonDropdown\").click();\n\t\tVoodooUtils.pause(500);\n\t}", "public void listarIgrejaComboBox() {\n\n IgrejasDAO dao = new IgrejasDAO();\n List<Igrejas> lista = dao.listarIgrejas();\n cbIgrejas.removeAllItems();\n\n for (Igrejas c : lista) {\n cbIgrejas.addItem(c);\n }\n }", "public void setMenu(){\n opciones='.';\n }", "static void listerMenu() {\n System.out.println(\n \"-------------------------------------\\n\" +\n \"Saisir une option :\\n\" +\n \"1 : Liste des hôtes\\n\" +\n \"2 : Liste des logements\\n\" +\n \"3 : Liste des voyageurs\\n\" +\n \"4 : Liste des réservations\\n\" +\n \"5 : Fermer le programme\"\n );\n switch (Menu.choix(5)) {\n case 1:\n GestionHotes.listerHotes();\n break;\n case 2:\n GestionLogements.listerLogements();\n break;\n case 3:\n GestionVoyageurs.listerVoyageurs();\n break;\n case 4:\n GestionReservations.listerReservations();\n break;\n case 5:\n System.exit(0);\n break;\n }\n }", "private void createMenu(){\n\n JMenuBar mbar = new JMenuBar();\n setJMenuBar(mbar);\n JMenu Opcje = new JMenu(\"Opcje\");\n mbar.add(Opcje);\n JMenuItem Ustawienia = new JMenuItem(\"Ustawienia\");\n /** Obsluga zdarzen wcisniecia przycisku ustawien w menu */\n Ustawienia.addActionListener(new ActionListener() {\n @Override\n public void actionPerformed(ActionEvent e) {\n if(Justawienia==null)\n Justawienia =new JUstawienia();\n Justawienia.setVisible(true);\n if (controller.timer!=null)\n controller.timer.stop();\n }\n });\n Opcje.add(Ustawienia);\n Opcje.addSeparator();\n JMenuItem Info = new JMenuItem(\"Info\");\n /** Obsluga zdarzen wcisniecia przycisku info w menu */\n Info.addActionListener(new ActionListener() {\n @Override\n public void actionPerformed(ActionEvent e) {\n controller.WyswietlInfo();\n }\n });\n Opcje.add(Info);\n }", "void hienThi() {\n LoaiVT.Open();\n ArrayList<LoaiVT> DSSP = LoaiVT.DSLOAIVT;\n VatTu PX = VatTu.getPX();\n \n try {\n txtMaVT.setText(PX.getMaVT());\n txtTenVT.setText(PX.getTenVT());\n txtDonVi.setText(PX.getDVT());\n DefaultComboBoxModel cb = new DefaultComboBoxModel();\n for(LoaiVT SP: DSSP){ \n cb.addElement(SP.getMaLoai());\n if(SP.getMaLoai().equals(PX.getMaLoai())){\n cb.setSelectedItem(SP.getMaLoai());\n }\n }\n cbMaloai.setModel(cb);\n } catch (Exception ex) {\n txtMaVT.setText(\"\");\n txtTenVT.setText(\"\");\n txtDonVi.setText(\"\");\n DefaultComboBoxModel cb = new DefaultComboBoxModel();\n cb.setSelectedItem(\"\");\n cbMaloai.setModel(cb);\n }\n \n \n }", "@SuppressLint(\"NewApi\")\n\t@Override\n\tpublic void onClick(View v) {\n\t\tswitch (v.getId()) {\n\t\tcase R.id.iv_userfouce_control:\n\t\t\tif (isPopuShow) {\n\t\t\t\tpWindow.dismiss();\n\n\t\t\t} else {\n\n\t\t\t\t// pWindow.showAsDropDown(ll_titlebar, 0,\n\t\t\t\t// -ll_titlebar.getHeight(), Gravity.TOP);\n\t\t\t\tinitUserFoucePopu();\n\t\t\t\tpWindow.showAsDropDown(ll_titlebar);\n\t\t\t\tupdataUserfouce();\n\n\t\t\t\tisPopuShow = true;\n\t\t\t}\n\n\t\t\tbreak;\n\t\tcase R.id.ll_pro_item1:\n\t\t\tproSelect(1.0 + \"\");\n\n\t\t\tbreak;\n\t\tcase R.id.ll_pro_item2:\n\t\t\tproSelect(2.0 + \"\");\n\t\t\tbreak;\n\t\tcase R.id.ll_pro_item3:\n\t\t\tproSelect(3.0 + \"\");\n\t\t\tbreak;\n\t\tcase R.id.ll_pro_item4:\n\t\t\tproSelect(4.0 + \"\");\n\t\t\tbreak;\n\t\tcase R.id.ll_pro_item5:\n\t\t\tproSelect(8.0 + \"\");\n\t\t\tbreak;\n\t\tcase R.id.ll_pro_item6:\n\t\t\tproSelect(5.0 + \"\");\n\t\t\tbreak;\n\t\tcase R.id.ll_pro_item7:\n\t\t\tproSelect(6.0 + \"\");\n\t\t\tbreak;\n\t\tcase R.id.ll_pro_item8:\n\t\t\tproSelect(9.0 + \"\");\n\t\t\tbreak;\n\t\tcase R.id.ll_pro_item9:\n\t\t\tproSelect(7.0 + \"\");\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tbreak;\n\t\t}\n\t}", "public void selectDropdownHeaderOnTopupMenu(String strDropdownName) {\r\n\t\tBy locator = By.xpath(\"//div[@id='navbar-brand-centered']//li[@class='dropdown']//a[@data-toggle='dropdown']\");\r\n\t\tList<WebElement> list = driver.findElements(locator);\r\n\t\tfor (WebElement webElement : list) {\r\n\t\t\tString actualDropdownname = webElement.getText();\r\n\t\t\tif (actualDropdownname.equals(strDropdownName)) {\r\n\t\t\t\twebElement.click();\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\t}", "private void tampil_kereta() {\n kereta_combo.addItem (\"Argo Parahyangan\");\n kereta_combo.addItem (\"Argo Jati\");\n kereta_combo.addItem (\"Bangun Karta\");\n kereta_combo.addItem (\"Bima\");\n kereta_combo.addItem (\"Kahuripan\");\n kereta_combo.addItem (\"Lodaya\"); \n kereta_combo.addItem (\"Sembari\");\n kereta_combo.addItem (\"Turangga\");\n \n }", "public Option[] SetSitesDropDownData(){\n List<SiteDTO> instDTOList = this.getinventory$GatheringSessionBean().SetSitesDropDownData();\n ArrayList<Option> allOptions = new ArrayList<Option>();\n Option[] allOptionsInArray;\n Option option;\n //Crear opcion titulo\n option = new Option(null,\" -- \"+BundleHelper.getDefaultBundleValue(\"drop_down_default\",getMyLocale())+\" --\");\n allOptions.add(option);\n //Crear todas las opciones del drop down\n for(SiteDTO sDTO : instDTOList){\n option = new Option(sDTO.getSiteId(), sDTO.getDescription().trim());\n allOptions.add(option);\n }\n //Sets the elements in the SingleSelectedOptionList Object\n allOptionsInArray = new Option[allOptions.size()];\n return allOptions.toArray(allOptionsInArray);\n }", "public Menu() {\n initComponents();\n setResizable(false);\n \n selectInsc.setVisible(false);\n selectCarrera.setVisible(false);\n selectCursado.setVisible(false);\n selectInsc.setVisible(false);\n selectMat.setVisible(false);\n selectProf.setVisible(false);\n\n }", "@Test(priority = 4)\n public void serviceLeftDropdownMenuTest() {\n driver.findElement(By.cssSelector(\"li[class='menu-title']\")).click();\n List<WebElement> elements = driver.findElements(By.cssSelector(\"li[index='3'] ul.sub li\"));\n assertEquals(elements.size(), 9);\n }", "public void clickOnGroupNameDropdownButton() {\r\n\t\tsafeClick(vehicleLinkPath.replace(\"ant-card-head-title\", \"ant-select ant-select-enabled\"), MEDIUMWAIT);\r\n\t}", "private org.gwtbootstrap3.client.ui.ListDropDown get_f_ListDropDown20() {\n return build_f_ListDropDown20();\n }", "public void exibeMenuCadastroFuncionario() {\n updateData();\n setVisible(true);\n\n }", "public void isiPilihanDokter() {\n String[] list = new String[]{\"\"};\n pilihNamaDokter.setModel(new javax.swing.DefaultComboBoxModel(list));\n\n /*Mengambil data pilihan spesialis*/\n String nama = (String) pilihPoliTujuan.getSelectedItem();\n String kodeSpesialis = ss.serviceGetIDSpesialis(nama);\n\n /* Mencari dokter where id_spesialis = pilihSpesialis */\n tmd.setData(ds.serviceGetAllDokterByIdSpesialis(kodeSpesialis));\n int b = tmd.getRowCount();\n\n /* Menampilkan semua nama berdasrkan pilihan sebelumnya */\n pilihNamaDokter.setModel(new javax.swing.DefaultComboBoxModel(ds.serviceTampilNamaDokter(kodeSpesialis, b)));\n }", "@Override\r\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tif (!isEdit) {\r\n\t\t\t\t\txb_popup.showAsDropDown(xbet, 0, 1, xbet.getWidth(),\r\n\t\t\t\t\t\t\tLayoutParams.WRAP_CONTENT);\r\n\t\t\t\t}\r\n\t\t\t}", "private void defaultdata()\n {\n try\n {\n \n StageBao stage_bao =\n new BaoFactory().createStageBao(); //create building bao object\n List<StageDto> stage_list =\n stage_bao.viewAll(); //get all building from DB\n \n stageComboBox.removeAllItems(); //remove all item from building combobox\n\n if(stage_list!=null&&!stage_list.isEmpty())\n {\n for(int i = 0; i<stage_list.size(); i++)\n {\n stageComboBox.addItem(stage_list.get(i).getNumber());\n }\n\n stageComboBox.setSelectedIndex(-1); //select no thing in this combo\n }\n \n \n DepartmentBao depart_bao = new BaoFactory().createDepartmentBao();\n List<DepartmentDto> depart_list = depart_bao.viewAll();\n DepartComboBox.removeAllItems();\n\n if(depart_list!=null&&!depart_list.isEmpty())\n {\n for(int i = 0; i<depart_list.size(); i++)\n {\n DepartComboBox.addItem(depart_list.get(i).getName());\n }\n DepartComboBox.setSelectedIndex(-1);\n }\n\n \n }\n \n catch(Exception e)\n {\n e.printStackTrace();\n }\n\n }", "public synchronized void clkSortByDropdown() {\n\t\ttry {\n\t\t\tWebActionUtil.waitForElement(btnSortBy, \"Sort By\", 30);\n\t\t\tWebActionUtil.clickOnWebElement(btnSortBy, \"sort by\", \"Unable to click sort by drop down \");\n\t\t}\n\t\t catch (Exception e) \n\t\t{\n\t\t\t WebActionUtil.error(e.getMessage());\n\t\t\tWebActionUtil.error(\"Unable to click sort by\");\n\t\t\tAssert.fail(\"Unable to click sort by\");\n\t\t}\n\t}", "private void cargaComboBoxTipoGrano() {\n Session session = Conexion.getSessionFactory().getCurrentSession();\n Transaction tx = session.beginTransaction();\n\n Query query = session.createQuery(\"SELECT p FROM TipoGranoEntity p\");\n java.util.List<TipoGranoEntity> listaTipoGranoEntity = query.list();\n\n Vector<String> miVectorTipoLaboreo = new Vector<>();\n for (TipoGranoEntity tipoGrano : listaTipoGranoEntity) {\n miVectorTipoLaboreo.add(tipoGrano.getTgrNombre());\n cbxSemillas.addItem(tipoGrano);\n\n// cboCampania.setSelectedItem(null);\n }\n tx.rollback();\n }", "private void establecerMenu(ArrayList<PlatilloMenu> lMenu) {\n Object[] columnas = {\"Platillo\", \"Reservados\", \"Para vender\"};\n Object[][] modelo = new Object[lMenu.size()][3];\n int x = 0;\n DefaultComboBoxModel modeloLista;\n ArrayList<Platillo> listaPlatilllos = new ArrayList<>();\n for (PlatilloMenu platilloMenu : lMenu) {\n int paraVender = platilloMenu.getCantidad();\n int reservados = platilloMenu.getReservados();\n // Si el platillo del menu aún se puede vender\n if (paraVender > 0 || reservados > 0) {\n // Se agrega el platillo a la lista de platillos\n listaPlatilllos.add(platilloMenu.getPlatillo());\n }\n modelo[x][0] = platilloMenu.getPlatillo().getNombre();\n modelo[x][1] = reservados;\n modelo[x][2] = paraVender;\n x++;\n }\n // Se establece el modelo en la tabla con los datos\n tablaMenu.setDefaultEditor(Object.class, null);\n tablaMenu.setModel(new DefaultTableModel(modelo, columnas));\n tablaMenu.setCellSelectionEnabled(false);\n tablaMenu.setRowSelectionAllowed(false);\n Object[] arregloPlatillos;\n // Si hay platillos que se puedan vender\n if (listaPlatilllos.size() > 0) {\n // Se guardan en el arreglo\n arregloPlatillos = listaPlatilllos.toArray();\n modeloLista = new DefaultComboBoxModel(arregloPlatillos);\n comboPlatillos.setModel(modeloLista);\n // Si es horario de comidas\n if (this.categoría.equals(\"COMIDA\")) {\n // Consulta la sopa del día\n this.sopaDelDia = Control.menu.consultarSopaDia(diaSemana);\n // si hay una sopa establecida en el menú\n if (sopaDelDia != null) {\n // Se habilita el checkbox y se establece el nombre\n checkBoxSopa.setEnabled(true);\n checkBoxSopa.setText(sopaDelDia.getNombre());\n } else {\n checkBoxSopa.setEnabled(false);\n checkBoxSopa.setText(\"SOPA NO ESTABLECIDA\");\n }\n } else {\n checkBoxSopa.setEnabled(false);\n }\n \n }//Si no\n else {\n \n // Se guarda un solo valor indicando el resultado de la búsqueda\n arregloPlatillos = new Object[1];\n arregloPlatillos[0] = \"-------SIN PLATILLOS DISPONIBLES------\";\n modeloLista = new DefaultComboBoxModel(arregloPlatillos);\n comboPlatillos.setModel(modeloLista);\n // Se desactivan todos los componentes\n //desactivarComponentes(this);\n }\n }", "@Override\r\n\tpublic void adminSelectUpdate() {\n\t\t\r\n\t}", "public SelenideElement rolesDropdown() {\n return formPageRoot().$(\".dropdown-menu\");\n }", "public void updateDropDownList(String newName) {\r\n selectDatasetList.clear();\r\n selectDatasetList.addItem(\"Select Dataset\");\r\n selectSubDatasetList.clear();\r\n\r\n selectSubDatasetList.addItem(\"Select Sub-Dataset\");\r\n selectSubDatasetList.setVisible(false);\r\n getDatasetsList(newName);//get available dataset names\r\n SelectionManager.Busy_Task(false, true);\r\n }", "protected JMenuBar createDropDownMenu()\r\n {\r\n\r\n // Setup menu Items String values that are shared\r\n setSharedMenuItemStrings();\r\n // Make a new Action Trigger, as it is generic and used in many places.\r\n ActionTrigger actionTrigger = new ActionTrigger();\r\n // Add\tall the Horizontal elements\r\n JMenuBar result = new JMenuBar();\r\n\r\n // to the button group - Set the Fraction Decimal Visible as being\r\n // selected below.\r\n com.hgutil.data.Fraction.setShowAsFraction(false);\r\n\r\n // Create two individual check button menu items, and add\r\n ButtonGroup fractionGroup = new ButtonGroup();\r\n HGMenuItem fractionCheck =\r\n new HGMenuItem(\r\n HGMenuListItem.JCHECKBOXMNUITEM,\r\n getString(\"WatchListTableModule.edit_menu.fractions_on_text\"),\r\n fractionCmd,\r\n null,\r\n KeyEvent.VK_F,\r\n InputEvent.CTRL_MASK,\r\n fractionGroup,\r\n false);\r\n HGMenuItem decimalCheck =\r\n new HGMenuItem(\r\n HGMenuListItem.JCHECKBOXMNUITEM,\r\n getString(\"WatchListTableModule.edit_menu.decimals_on_text\"),\r\n decimalCmd,\r\n null,\r\n KeyEvent.VK_D,\r\n InputEvent.CTRL_MASK,\r\n fractionGroup,\r\n true);\r\n JMenu viewColumnNumbers =\r\n HGMenuItem.makeMenu(\r\n getString(\"WatchListTableModule.edit_menu.view_columns_fields_as\"),\r\n 'C',\r\n new Object[] { fractionCheck, decimalCheck },\r\n actionTrigger);\r\n\r\n // Lets build a Menu List of Columns that we can either \r\n // view or not view\r\n // Build Check Boxes, for all Items, except the Symbol Column\r\n HGMenuItem[] columnsChecks = new HGMenuItem[StockData.columns.length];\r\n for (int k = 1; k < StockData.columns.length; k++)\r\n {\r\n columnsChecks[k] =\r\n new HGMenuItem(\r\n HGMenuListItem.JCHECKBOXMNUITEM,\r\n StockData.columns[k].getTitle(),\r\n null,\r\n null,\r\n 0,\r\n 0,\r\n null,\r\n true,\r\n new ColumnKeeper(StockData.columns[k]));\r\n }\r\n\r\n // Add in the Viewing menu\r\n JMenu viewColumns =\r\n HGMenuItem.makeMenu(getString(\"WatchListTableModule.edit_menu.view_columns_text\"), 'V', columnsChecks, null);\r\n\r\n JMenu insertRows =\r\n HGMenuItem.makeMenu(\r\n getString(\"WatchListTableModule.edit_menu.view_insert_row_text\"),\r\n 'I',\r\n new Object[] { insertBeforeCmd, insertAfterCmd },\r\n actionTrigger);\r\n\r\n JMenu editMenu = null;\r\n editMenu =\r\n HGMenuItem.makeMenu(\r\n getString(\"WatchListTableModule.edit_menu.title\"),\r\n 'E',\r\n new Object[] {\r\n viewColumns,\r\n viewColumnNumbers,\r\n null,\r\n insertRows,\r\n deleteRowCmd,\r\n null,\r\n addNewWatchListCmd,\r\n deleteWatchListCmd,\r\n renameListCmd,\r\n null,\r\n printListCmd,\r\n null,\r\n tableProps },\r\n actionTrigger);\r\n\r\n // Add the Edit Menu to the result set the Alignment and return the MenuBar\r\n result.add(editMenu);\r\n result.setAlignmentX(JMenuBar.LEFT_ALIGNMENT);\r\n return result;\r\n }", "@When(\"^Sort By dropdown box appeared and selected option$\")\n\tpublic void sort_By_dropdown_box_appeared_and_selected_option() throws Throwable {\n\t\tSelect product = new Select(driver.findElement(By.xpath(\"//*[@id=\\\"selectProductSort\\\"]\")));\n\t\tproduct.selectByVisibleText(\"Product Name: A to Z\");\n\t}", "public void construirSegundoSetDeDominios() {\n\t\tlabeltituloSeleccionDominios = new JLabel();\n\n\t\titemsComboDominiosSet2 = new JComboBox(dominio);// creamos el primer\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t// combo, y le\n\t\t// pasamos un array de cadenas\n\t\titemsComboDominiosSet2.setSelectedIndex(0);// por defecto quiero\n\t\t\t\t\t\t\t\t\t\t\t\t\t// visualizar el\n\t\t// primer item\n\t\tcomboDominiosSet2 = new JComboBox();// creamo el segundo combo, vacio\n\t\tcomboDominiosSet2.setEnabled(false);// //por defecto q aparesca\n\t\t\t\t\t\t\t\t\t\t\t// desabilidado\n\n\t\tlabeltituloSeleccionDominios.setText(\"Seleccione el segundo Dominio\");\n\t\tpanelDerecho.add(labeltituloSeleccionDominios);\n\n\t\tpanelDerecho.add(itemsComboDominiosSet2);\n\n\t\tpanelDerecho.add(comboDominiosSet2);\n\n\t\t/* Creamos el objeto controlador, para manejar los eventos */\n\t\tControlDemoCombo controlDemoCombo = new ControlDemoCombo(this);// le\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// pasamos\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// como\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// argumento\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// esta\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// misma\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// ventana\n\t\titemsComboDominiosSet2.addActionListener(controlDemoCombo);// agregamos\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// escuchas\n\n\t}", "public SelenideElement rolesDropDownButton () {\n return formPageRoot().$(\"button.dropdown-toggle\");\n }", "private org.gwtbootstrap3.client.ui.ListDropDown get_f_ListDropDown55() {\n return build_f_ListDropDown55();\n }", "public String chooseMenu() {\n String input = FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get(\"menu_id\");\n setName(FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get(\"name\"));\n setType(FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get(\"type\"));\n setMenu_id(Integer.parseInt(input));\n return \"EditMenu\";\n\n }", "public menuAddStasiun() {\n initComponents();\n }", "public static void main(String[] args) {\n\t\tWebDriverManager.chromedriver().setup();\n\t\tChromeDriver driver = new ChromeDriver();\n\t\tdriver.get(\"http://leafground.com/\");\n\t\tdriver.findElementByLinkText(\"Drop down\").click();\n\t\t\n\t\tWebElement qIndex= driver.findElementById(\"dropdown1\");\n\t\tSelect dd1 = new Select(qIndex);\n\t\tdd1.selectByIndex(1);\n\t\t\n\t\t\n\t\tWebElement qText= driver.findElementByName(\"dropdown2\");\n\t\tSelect dd2 = new Select(qText);\n\t\tdd2.selectByVisibleText(\"Appium\");\n\t\t\n\t\t\n\t\tWebElement qValue= driver.findElementById(\"dropdown3\");\n\t\tSelect dd3 = new Select(qValue);\n\t\tdd3.selectByVisibleText(\"UFT/QTP\");\n\t\t\n\t\tWebElement qCount= driver.findElementByClassName(\"dropdown\");\n\t\tSelect dd4 = new Select(qCount);\n\t\tList<WebElement> options = dd4.getOptions();\n\t\tint count = options.size();\n\t\tSystem.out.println(count);\n\t\t\n\t\tWebElement qSend= driver.findElementByXPath(\"//div[@class='example'][5]/select\");\n\t\tqSend.sendKeys(Keys.DOWN);\n\t\t\n\t\tWebElement qMultiple = driver.findElementByXPath(\"//div[@class='example'][6]/select\");\n\t\tSelect dd6 = new Select(qMultiple);\n\t\tboolean multiple = dd6.isMultiple();\n\t\tif(multiple==true)\n\t\t{\n\t\t\tSystem.out.println(\"This field is multiple selected\");\n\t\t}\n\t\telse\n\t\t{\n\t\t\tSystem.out.println(\"This field is not multiple selected\");\n\t\t}\n\t\tqMultiple.sendKeys(Keys.CONTROL);\n\t\tdd6.selectByValue(\"1\");\n\t\tdd6.selectByValue(\"3\");\n\t\t\n\t}", "@Test\n public void test5_html_dropdown_handling(){\n //Locate the HTML dropdown as a regular web element\n WebElement websiteDropdown = driver.findElement(By.xpath(\"//div[@class='dropdown']/a\"));\n\n //3. Click to non-select dropdown\n websiteDropdown.click();\n\n //4. Select Facebook from dropdown\n WebElement facebookLink = driver.findElement(By.xpath(\"//a[.='Facebook']\"));\n\n facebookLink.click();\n\n //5. Verify title is “Facebook - Log In or Sign Up”\n String actualTitle = driver.getTitle();\n String expectedTitle = \"Facebook - Log In or Sign Up\";\n\n Assert.assertEquals(actualTitle, expectedTitle, \"Actual title does not match expected title!\");\n }", "private void setStaticFirstComboView() {\n \t\tgetView().getCombo_viewChoice1().clear();\n \t\tgetView().getCombo_viewChoice1().addItem(\"Professeur\");\n \t\tgetView().getCombo_viewChoice1().addItem(\"Local\");\n \t\tgetView().getCombo_viewChoice1().addItem(\"Classe\");\n \t\n \t}", "static void mostrarMenu(){\n \t\t\n\t\tout.println();\n\t\tout.println(\"1. Crear lavadora.\");\n\t\tout.println(\"2. Mostrar lavadoras.\");\n\t\tout.println(\"3. Seleccionar lavadora.\");\n\t\tout.println(\"4. Cargar agua.\");\n\t\tout.println(\"5. Cargar ropa.\");\n\t\tout.println(\"6. Cargar detergente.\");\n\t\tout.println(\"7. Especificar tiempo.\");\n\t\tout.println(\"8. Drenar.\");\n\t\tout.println(\"9. Mostrar estado de la lavadora.\");\n\t\tout.println(\"10. Mostrar estado de la ropa.\");\n\t\tout.println(\"11. Pausar o Reanudar lavadora\");\n\t\tout.println(\"12. Probar sistema.\");\n\t\tout.println(\"13. Reiniciar sistema.\");\n\t\tout.println(\"22. Salir\");\n\t\tout.println((SELECTNOW != -1) ? \"!/*!/* Lv seleccionada: \" + SELECTNOW + \" !/*!/*\": \"\");\n\t\tout.println();\n\t}", "public void clickNavigatorDropDown() {\r\n\t\ttry {\r\n\t\t\t(new WebDriverWait(driver, 120)).until(ExpectedConditions\r\n\t\t\t\t\t.elementToBeClickable(By\r\n\t\t\t\t\t\t\t.xpath(\"(//input[@name='Bala_Test']\")));\r\n\t\t} catch (Exception e) {\r\n\t\t\t// Do nothing\r\n\t\t}\r\n\t\twait.until(ExpectedConditions.elementToBeClickable(By\r\n\t\t\t\t.xpath(\"(//span/span[@class='k-select'])[1]\")));\r\n\t\tWebElement navigatorDropDown = driver.findElement(By\r\n\t\t\t\t.xpath(\"(//span/span[@class='k-select'])[1]\"));\r\n\t\tsleep(5000);\r\n\t\tnavigatorDropDown.click();\r\n\t\tReporter.log(\"Navigator Drop Down Clicked<br/>\");\r\n\t}", "public void dropDownInventory(ComboBox combo) throws SQLException {\r\n dataAccess = new Connection_SQL(\"jdbc:mysql://localhost:3306/items\", \"root\", \"P@ssword123\");\r\n combo.setItems(dataAccess.menuInventory());\r\n }", "protected abstract void addMenuOptions();", "public WebElement selectSavedCardDropDown() {\n\t\treturn findElement(repositoryParser, PAGE_NAME, \"dropDownOption\");\n\t}", "public void desplegarMenuAdministrativo() {\n// //Hacia arriba\n// paneles.jLabelYDown(-50, 40, WIDTH, HEIGHT, jLabelTextoBienvenida);\n// \n// paneles.jLabelYUp(580, 82, WIDTH, HEIGHT, jLabelEntregas);\n// paneles.jLabelYUp(580, 82, WIDTH, HEIGHT, jLabelClientes);\n// paneles.jLabelYUp(580, 82, WIDTH, HEIGHT, jLabelNotas);\n// paneles.jLabelYUp(736, 238, WIDTH, HEIGHT, jLabelTextoEntrega);\n// paneles.jLabelYUp(736, 238, WIDTH, HEIGHT, jLabelTextoClientes);\n// paneles.jLabelYUp(736, 238, WIDTH, HEIGHT, jLabelTextoNotas);\n// \n// paneles.jLabelYUp(793, 295, WIDTH, HEIGHT, jLabelTrabajadores);\n// paneles.jLabelYUp(793, 295, WIDTH, HEIGHT, jLabelEntregasActivas);\n// paneles.jLabelYUp(793, 295, WIDTH, HEIGHT, jLabelEditarDatosPersonales);\n// \n// paneles.jLabelYUp(949, 451, WIDTH, HEIGHT, jLabelTextoTrabajadores);\n// paneles.jLabelYUp(949, 451, WIDTH, HEIGHT, jLabelTextoEntregasProgreso);\n// paneles.jLabelYUp(949, 451, WIDTH, HEIGHT, jLabelTextoEditarPersonales);\n }", "public void category1() {\r\n\t\tmySelect1.click();\r\n\t}", "private void setearOpcionesMenuAdministracion()\r\n\t{\r\n\t\tArrayList<FormularioVO> lstFormsMenuAdmin = new ArrayList<FormularioVO>();\r\n\t\t\r\n\t\t/*Buscamos los Formulairos correspondientes a este TAB*/\r\n\t\tfor (FormularioVO formularioVO : this.permisos.getLstPermisos().values()) {\r\n\t\t\t\r\n\t\t\tif(formularioVO.getCodigo().equals(VariablesPermisos.FORMULARIO_USUARIO)\r\n\t\t\t\t|| formularioVO.getCodigo().equals(VariablesPermisos.FORMULARIO_GRUPO))\r\n\t\t\t{\r\n\t\t\t\tlstFormsMenuAdmin.add(formularioVO);\r\n\t\t\t}\r\n\t\t\t\r\n\t\t}\r\n\t\t\r\n\t\t/*Si hay formularios para el tab*/\r\n\t\tif(lstFormsMenuAdmin.size()> 0)\r\n\t\t{\r\n\t\t\t//TODO\r\n\t\t\t//this.tabAdministracion = new VerticalLayout();\r\n\t\t\t//this.tabAdministracion.setMargin(true);\r\n\t\t\t\r\n\t\t\tthis.lbAdministracion.setVisible(true);\r\n\t\t\tthis.layoutMenu.addComponent(this.lbAdministracion);\r\n\t\t\t\r\n\t\t\tfor (FormularioVO formularioVO : lstFormsMenuAdmin) {\r\n\t\t\t\t\r\n\t\t\t\tswitch(formularioVO.getCodigo())\r\n\t\t\t\t{\r\n\t\t\t\t\tcase VariablesPermisos.FORMULARIO_USUARIO : \r\n\t\t\t\t\t\tif(this.permisos.permisoEnFormulaior(VariablesPermisos.FORMULARIO_USUARIO, VariablesPermisos.OPERACION_LEER)){\r\n\t\t\t\t\t\t\tthis.habilitarUserButton();\r\n\t\t\t\t\t\t\tthis.layoutMenu.addComponent(this.userButton);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\tcase VariablesPermisos.FORMULARIO_GRUPO :\r\n\t\t\t\t\t\tif(this.permisos.permisoEnFormulaior(VariablesPermisos.FORMULARIO_GRUPO, VariablesPermisos.OPERACION_LEER)){\r\n\t\t\t\t\t\t\tthis.habilitarGrupoButton();\r\n\t\t\t\t\t\t\tthis.layoutMenu.addComponent(this.gruposButton);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t//TODO\r\n\t\t\t//this.acordion.addTab(tabAdministracion, \"Administración\", null);\r\n\t\t\t\r\n\t\t}\r\n\t\t//TODO\r\n\t\t//acordion.setHeight(\"75%\"); /*Seteamos alto del accordion*/\r\n\t}", "private void add(){\r\n ArrayAdapter<String> adp3 = new ArrayAdapter<String>(this, android.R.layout.simple_dropdown_item_1line, list);\r\n adp3.setDropDownViewResource(android.R.layout.simple_dropdown_item_1line);\r\n txtAuto3.setThreshold(1);\r\n txtAuto3.setAdapter(adp3);\r\n }", "protected void updateData() throws SQLException{\n\t\t//Actualizar array de items dentro del comboBox del menu eliminar\n\t\tItems = d.getAsArray(this.mode);\n\t\t//Actualizar el ComboBox\n\t\tDefaultComboBoxModel<String> model = new DefaultComboBoxModel<String>(Items);\n\t\tcomboBox.setModel(model);\n\t}", "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jMenuBar = new javax.swing.JMenuBar();\n jMenuTiket = new javax.swing.JMenu();\n jMenuItemKreirajTiket = new javax.swing.JMenuItem();\n jMenuItemPretraziTiket = new javax.swing.JMenuItem();\n jMenuUtakmice = new javax.swing.JMenu();\n jMenuItemUnosUtakmice = new javax.swing.JMenuItem();\n jMenuItemIzmenaUtakmice = new javax.swing.JMenuItem();\n jMenuItemUnosRezultata = new javax.swing.JMenuItem();\n jMenuLista = new javax.swing.JMenu();\n jMenuItemGenerisiListu = new javax.swing.JMenuItem();\n jMenuStanje = new javax.swing.JMenu();\n jMenuItemPregledStanja = new javax.swing.JMenuItem();\n jMenuAdmin = new javax.swing.JMenu();\n jMenuItemUnosRadnika = new javax.swing.JMenuItem();\n jMenuItemIzmenaRadnika = new javax.swing.JMenuItem();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n setTitle(\"Kladionica\");\n setName(\"Kladionica\"); // NOI18N\n addWindowListener(new java.awt.event.WindowAdapter() {\n public void windowClosing(java.awt.event.WindowEvent evt) {\n formWindowClosing(evt);\n }\n });\n\n jMenuTiket.setText(\"Tiket\");\n\n jMenuItemKreirajTiket.setText(\"Kreiraj tiket\");\n jMenuItemKreirajTiket.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jMenuItemKreirajTiketActionPerformed(evt);\n }\n });\n jMenuTiket.add(jMenuItemKreirajTiket);\n\n jMenuItemPretraziTiket.setText(\"Pretrazi tiket\");\n jMenuItemPretraziTiket.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jMenuItemPretraziTiketActionPerformed(evt);\n }\n });\n jMenuTiket.add(jMenuItemPretraziTiket);\n\n jMenuBar.add(jMenuTiket);\n\n jMenuUtakmice.setText(\"Utakmice\");\n\n jMenuItemUnosUtakmice.setText(\"Unos utakmice\");\n jMenuItemUnosUtakmice.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jMenuItemUnosUtakmiceActionPerformed(evt);\n }\n });\n jMenuUtakmice.add(jMenuItemUnosUtakmice);\n\n jMenuItemIzmenaUtakmice.setText(\"Izmena utakmice\");\n jMenuItemIzmenaUtakmice.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jMenuItemIzmenaUtakmiceActionPerformed(evt);\n }\n });\n jMenuUtakmice.add(jMenuItemIzmenaUtakmice);\n\n jMenuItemUnosRezultata.setText(\"Unos rezultata\");\n jMenuItemUnosRezultata.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jMenuItemUnosRezultataActionPerformed(evt);\n }\n });\n jMenuUtakmice.add(jMenuItemUnosRezultata);\n\n jMenuBar.add(jMenuUtakmice);\n\n jMenuLista.setText(\"Lista\");\n\n jMenuItemGenerisiListu.setText(\"Generisi listu\");\n jMenuItemGenerisiListu.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jMenuItemGenerisiListuActionPerformed(evt);\n }\n });\n jMenuLista.add(jMenuItemGenerisiListu);\n\n jMenuBar.add(jMenuLista);\n\n jMenuStanje.setText(\"Stanje\");\n\n jMenuItemPregledStanja.setText(\"Pregled stanja\");\n jMenuItemPregledStanja.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jMenuItemPregledStanjaActionPerformed(evt);\n }\n });\n jMenuStanje.add(jMenuItemPregledStanja);\n\n jMenuBar.add(jMenuStanje);\n\n jMenuAdmin.setText(\"Admin\");\n\n jMenuItemUnosRadnika.setText(\"Unos radnika\");\n jMenuItemUnosRadnika.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jMenuItemUnosRadnikaActionPerformed(evt);\n }\n });\n jMenuAdmin.add(jMenuItemUnosRadnika);\n\n jMenuItemIzmenaRadnika.setText(\"Izmena radnika\");\n jMenuItemIzmenaRadnika.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jMenuItemIzmenaRadnikaActionPerformed(evt);\n }\n });\n jMenuAdmin.add(jMenuItemIzmenaRadnika);\n\n jMenuBar.add(jMenuAdmin);\n\n setJMenuBar(jMenuBar);\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 .addGap(0, 459, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 329, Short.MAX_VALUE)\n );\n\n pack();\n }", "private void ucitajPodatke() {\n \n DefaultListModel<Voznja> m = new DefaultListModel<>();\n obrada.getPodaci().forEach(s->m.addElement(s));\n lstPodaci.setModel(m);\n\n }", "private void initComboBox() {\n jComboBox1.removeAllItems();\n listaDeInstrutores = instrutorDao.recuperarInstrutor();\n listaDeInstrutores.forEach((ex) -> {\n jComboBox1.addItem(ex.getNome());\n });\n }", "private void loadDataCombobox(ModelMap model)\r\n\t{\n\t\tList<SYS_PARAMETER> vendorList = sysParameterDao.getVendorList();\r\n\t\tmodel.addAttribute(\"vendorList\", vendorList);\r\n\t\t\r\n\t\t// Danh sach status\r\n\t\tList<SYS_PARAMETER> statusList = sysParameterDao.getStatusDyTrx();\r\n\t\tmodel.addAttribute(\"statusList\", statusList);\r\n\t\t\r\n\t\t// Danh sach type\r\n\t\tList<SYS_PARAMETER> typeList = sysParameterDao.getTypeDyTrx3g();\r\n\t\tmodel.addAttribute(\"typeList\", typeList);\r\n\t\t\r\n\t\t// Danh sach gợi nhớ bscid\r\n\t\tList<VRpDyTrx3g> getRncidList = vRpDyTrx3gDAO.getRncidList();\r\n\t\tString rncidArray=\"var rncidList = new Array(\";\r\n\t\tString cn=\"\";\r\n\t\tfor (int i=0;i<getRncidList.size();i++) {\r\n\t\t\trncidArray = rncidArray + cn +\"\\\"\"+getRncidList.get(i).getNe()+\"\\\"\";\r\n\t\t\tcn=\",\";\r\n\t\t}\r\n\t\trncidArray = rncidArray+\");\";\r\n\t\tmodel.addAttribute(\"rncidList\", rncidArray);\r\n\t\t\r\n\t\t// Danh sach gợi nhớ site/cell\r\n\t\tList<VRpDyTrx3g> siteCellList = vRpDyTrx3gDAO.getSiteCell3gList();\r\n\t\tString siteCellArray=\"var siteCellList = new Array(\";\r\n\t\tString cn1=\"\";\r\n\t\tfor (int i=0;i<siteCellList.size();i++) {\r\n\t\t\tsiteCellArray = siteCellArray + cn1 +\"\\\"\"+siteCellList.get(i).getCellid()+\"\\\"\";\r\n\t\t\tcn1=\",\";\r\n\t\t}\r\n\t\tsiteCellArray = siteCellArray+\");\";\r\n\t\tmodel.addAttribute(\"siteCellList\", siteCellArray);\r\n\t}" ]
[ "0.64007455", "0.634834", "0.6309038", "0.6308426", "0.6240785", "0.62304705", "0.62114555", "0.6197137", "0.6189498", "0.61814284", "0.6160716", "0.6153428", "0.6128548", "0.61283064", "0.6127644", "0.6119775", "0.6112543", "0.6076114", "0.60678095", "0.6035914", "0.60344756", "0.60247266", "0.597054", "0.5948587", "0.59453386", "0.59445447", "0.5936318", "0.5933903", "0.5931847", "0.59240425", "0.5908046", "0.59079576", "0.58875364", "0.5880829", "0.5849719", "0.58351296", "0.58227277", "0.5820648", "0.58087015", "0.5807945", "0.5807785", "0.57965636", "0.5795885", "0.5785455", "0.577979", "0.5774023", "0.5772033", "0.57593536", "0.57430804", "0.5741423", "0.5731863", "0.5716023", "0.5696982", "0.5691294", "0.56860715", "0.5684151", "0.5681275", "0.56787914", "0.56743395", "0.567269", "0.56700164", "0.5668322", "0.5661123", "0.5653168", "0.56479114", "0.56383824", "0.56371814", "0.5636327", "0.5627771", "0.56178623", "0.5617298", "0.56081223", "0.56040007", "0.56036437", "0.56010735", "0.5595189", "0.55859506", "0.5581795", "0.557921", "0.5576266", "0.55761087", "0.55734384", "0.5566838", "0.5557926", "0.5545703", "0.55442125", "0.5541997", "0.5536079", "0.5534973", "0.55344355", "0.55332214", "0.55278295", "0.5525992", "0.55160165", "0.55137765", "0.5510212", "0.5507627", "0.55041325", "0.5498136", "0.54942906", "0.5484092" ]
0.0
-1
vyrata sa cena za aktualne zvolene hodnoty (mesto a pocet hodin) ak je pouzivatel typu Disabled a parkovisko neobsahuje ziadne ZTP miesta, program vytvori varovnu spravu. ak pouzivatel nema dostatok kreditu na zaplotenie, vytvori sa varovna sprava.
public void onOKclick() throws SQLException { ParkPlace parkPlace = Datasource.getInstance().findParking((String) towns.getValue()); Class pomoc = parkPlace.getClass(); int hour = Integer.parseInt(hours.getText()); basePrice.setText(String.valueOf(parkPlace.getBaseHourPrice())); type.setText(pomoc.getName().replace("ParkPlaces.","").replace("Parking","")); if (this.user instanceof Student){ cost.setText(String.format("%.2f",parkPlace.calculatePrice((Student) this.user,hour)) + " €"); } else if (this.user instanceof DisabledPerson){ cost.setText(String.format("%.2f",parkPlace.calculatePrice((DisabledPerson) this.user,hour)) + " €"); } else { cost.setText(parkPlace.calculatePrice(this.user,hour) + " €"); } if (parkPlace.getNumOfDPPSpots() == 0 && this.user instanceof DisabledPerson) warning.setText("Warning! This parking lot does not have exclusive places for Disabled people!"); if (this.user.getCredit() < Double.parseDouble(cost.getText().replace(" €","")) ){ funds.setText("Insufficient funds, please increase your account balance."); pay.setDisable(true); return; } funds.setText(""); pay.setDisable(false); this.priceToBePaid = Double.parseDouble(cost.getText().replace(" €","")); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void Power() {\n if (Estado == false){\r\n Estado = true;\r\n } else if (Estado == true){\r\n Estado = false;\r\n }\r\n }", "private void enableBotonAceptar()\r\n\t{\r\n\t\t\r\n\t}", "public synchronized void ProvjeriPreuzimanje() {\n dopustenoPreuzimanje = true;\n if (dopustenoPreuzimanje) {\n SveFunkcijeDretve();\n } else {\n //sleep\n }\n }", "public void setAktiivisuus()\r\n\t{\r\n\t\tonAktiivinen = false;\r\n\t}", "final void habilitarcampos(boolean valor){\n TXT_CodCliente.setEnabled(valor);\n TXT_Aparelho.setEnabled(valor);\n TXT_Valor.setEnabled(valor);\n TXT_Informacao.setEnabled(valor); \n TXT_CodServico.setEnabled(valor); \n TXT_Clientes.setEnabled(valor); \n TXT_Serial.setEnabled(valor);\n TXT_Data.setEnabled(valor);\n}", "public DashboardPondok() {\n initComponents();\n setExtendedState(JFrame.MAXIMIZED_BOTH);\n waktu();\n try {\n int kodee = 0;\n\n Koneksi_DB objkoneksi = new Koneksi_DB();\n Connection con = objkoneksi.bukakoneksi();\n Statement st = con.createStatement();\n String SQL = \"select kode from enabled\";\n ResultSet RS = st.executeQuery(SQL);\n while (RS.next()) {\n kodee = RS.getInt(1);\n }\n if (kodee == 11) {\n menusiswa.setEnabled(false);\n menumapel.setEnabled(false);\n menunilai.setEnabled(false);\n menuguru.setEnabled(false);\n menureport.setEnabled(true);\n menusetting.setEnabled(true);\n subuser.setEnabled(false);\n sublog.setEnabled(true);\n subclose.setEnabled(true);\n sublaporansantri.setEnabled(true);\n sublaporanguru.setEnabled(false);\n sublaporanall.setEnabled(true);\n } else if (kodee == 12) {\n menusiswa.setEnabled(false);\n menumapel.setEnabled(false);\n menunilai.setEnabled(true);\n menuguru.setEnabled(false);\n menureport.setEnabled(true);\n menusetting.setEnabled(true);\n subuser.setEnabled(false);\n sublog.setEnabled(true);\n subclose.setEnabled(true);\n } else if (kodee == 13) {\n menusiswa.setEnabled(true);\n menumapel.setEnabled(true);\n menunilai.setEnabled(true);\n menuguru.setEnabled(true);\n menureport.setEnabled(true);\n menusetting.setEnabled(true);\n subuser.setEnabled(true);\n sublog.setEnabled(true);\n subclose.setEnabled(true);\n }\n } catch (SQLException e) {\n }\n }", "public void setDisabled() {\n\t\tdisabled = true;\n\t}", "void disableMod();", "public abstract void Disabled();", "private void lockButton(){\n\t\tconversionPdf_Txt.setEnabled(false);\n\t\tavisJury.setEnabled(false);\n\t\tstatistique.setEnabled(false);\n\t\tbData.setEnabled(false);\n\t\tbDataTraining.setEnabled(false);\n\t\tbCompare.setEnabled(false);\n\t}", "protected void pokazOblicz() {\n if (czyImie && czyNazwisko && czyLiczby)\n oblicz.setVisibility(Button.VISIBLE);\n\n else\n oblicz.setVisibility(Button.INVISIBLE);\n }", "public Boolean getDisabled() {\n return disabled;\n }", "public void setDisabled(Boolean disabled) {\n this.disabled = disabled;\n }", "public void disableClient(){\r\n try{\r\n oos.writeObject(new DataWrapper(DataWrapper.CTCODE, new ControlToken(ControlToken.DISABLECODE)));\r\n oos.flush();\r\n } catch(IOException ioe) {\r\n ioe.printStackTrace();\r\n }\r\n }", "public void disablePanelInput() {\n\t\tif (!clickThem) {\r\n\t\t\ttxt_mssv.setText(\"\");\r\n\t\t\ttxt_mssv.setEnabled(false);\r\n\t\t\ttxt_hoten.setEnabled(false);\r\n\t\t\ttxt_hoten.setText(\"\");\r\n\t\t\tcomboSex.setEnabled(false);\r\n\t\t\ttxt_ntns.setText(\"\");\r\n\t\t\ttxt_ntns.setEnabled(false);\r\n\t\t\tbtn_nhap.setEnabled(false);\r\n\t\t} else {\r\n\t\t\ttxt_mssv.setEnabled(true);\r\n\t\t\ttxt_hoten.setEnabled(true);\r\n\t\t\tcomboSex.setEnabled(true);\r\n\t\t\ttxt_ntns.setEnabled(true);\r\n\t\t\tbtn_nhap.setEnabled(true);\r\n\t\t}\r\n\t}", "protected boolean setOffTimerReservationSetting(byte[] edt) {return false;}", "@Override\n public void disabledInit() {\n //Diagnostics.writeString(\"State\", \"DISABLED\");\n }", "@Override\n public void onDisabled() {\n }", "public void setDisabled(boolean disabled) {\n this.disabled = disabled;\n }", "@Override\n\tpublic boolean isDlvPassPremiumAllowedTC() {\n\t\treturn false;\n\t}", "private void enableSet(){\n addSubmit.setDisable(true);\n removeSubmit.setDisable(true);\n setSubmit.setDisable(false);\n addCS.setDisable(true);\n removeCS.setDisable(true);\n setCS.setDisable(false);\n addIT.setDisable(true);\n removeIT.setDisable(true);\n setIT.setDisable(false);\n addECE.setDisable(true);\n removeECE.setDisable(true);\n setECE.setDisable(false);\n partTime.setDisable(true);\n fullTime.setDisable(true);\n management.setDisable(true);\n dateAddText.setDisable(true);\n dateRemoveText.setDisable(true);\n dateSetText.setDisable(false);\n nameAddText.setDisable(true);\n nameRemoveText.setDisable(true);\n nameSetText.setDisable(false);\n hourlyAddText.setDisable(true);\n annualAddText.setDisable(true);\n managerRadio.setDisable(true);\n dHeadRadio.setDisable(true);\n directorRadio.setDisable(true);\n //codeAddText.setDisable(true);\n hoursSetText.setDisable(false);\n }", "public static void setDisabled(boolean _disabled) {\r\n disabled = _disabled;\r\n }", "void disable();", "void disable();", "public void inhabilitaPanel() {\n\n\t\t//comboNombreCarta.setEnabled(false);\n\t\tjScrollPane1.setEnabled(false);\n\t\tjScrollPane1.getVerticalScrollBar().setEnabled(false);\n\t\tjScrollPane1.getHorizontalScrollBar().setEnabled(false);\n\t\tjScrollPane2.setEnabled(false);\n\t\tjScrollPane2.getVerticalScrollBar().setEnabled(false);\n\t\tjScrollPane2.getHorizontalScrollBar().setEnabled(false);\n\t\tlistaSeleccionadas.setEnabled(false);\n\t\tlistaDisponibles.setEnabled(false);\n\t\tlabelFondo.setEnabled(false);\n\t\ttextoNumeroCartas.setEnabled(false);\n\t\ttextoRaza.setEnabled(false);\n\t\tbotCargar.setEnabled(false);\n\t\tbotGuardar.setEnabled(false);\n\t\tbotGuardarComo.setEnabled(false);\n\t\tbotSalir.setEnabled(false);\n\t\tbotAyuda.setEnabled(false);\n\t\tbotNuevaBaraja.setEnabled(false);\n\t\ttextoBarajaCargada.setEnabled(false);\n\t\tthis.panelFondo.setEnabled(false);\n\t\tlabelImagen.setEnabled(false);\n this.NumeroPuntos.setEnabled(false);\n\n\t}", "@Override\n\t\t\tprotected void updateEnabled() {\n\t\t\t}", "public void habilitaPanel() {\n\n\t\tthis.panelFondo.setEnabled(true);\n\t\tlabelImagen.setEnabled(true);\n\t\t//comboNombreCarta.setEnabled(true);\n\t\tthis.jScrollPane1.setEnabled(true);\n\t\tthis.jScrollPane1.getVerticalScrollBar().setEnabled(true);\n\t\tjScrollPane1.getHorizontalScrollBar().setEnabled(true);\n\t\tthis.jScrollPane2.setEnabled(true);\n\t\tthis.jScrollPane2.getVerticalScrollBar().setEnabled(true);\n\t\tjScrollPane2.getHorizontalScrollBar().setEnabled(true);\n\t\tlistaSeleccionadas.setEnabled(true);\n\t\tlistaDisponibles.setEnabled(true);\n\t\tthis.labelFondo.setEnabled(true);\n\t\ttextoNumeroCartas.setEnabled(true);\n\t\ttextoRaza.setEnabled(true);\n\t\tbotCargar.setEnabled(true);\n\t\tbotGuardar.setEnabled(true);\n\t\tbotGuardarComo.setEnabled(true);\n\t\tbotSalir.setEnabled(true);\n\t\tbotAyuda.setEnabled(true);\n\t\tbotNuevaBaraja.setEnabled(true);\n\t\ttextoBarajaCargada.setEnabled(true);\n\t\tthis.setEnabled(true);\n this.NumeroPuntos.setEnabled(true);\n\n\t}", "boolean updateEnabling();", "@Override\r\n\tpublic void setDisabled(boolean arg0) throws NotesApiException {\n\r\n\t}", "boolean getEnabled();", "boolean getEnabled();", "boolean getEnabled();", "void enableMod();", "public abstract void Enabled();", "public void botoiaDesaktibatu() {\r\n\t\tordaindu_Botoia.setEnabled(false);\r\n\t}", "public void disable();", "protected boolean setOnTimerReservationSetting(byte[] edt) {return false;}", "protected boolean setOnTimerReservationSetting(byte[] edt) {return false;}", "public void resetOvladani() {\n this.setEnabled(true);\n gameConnectButton.setEnabled(true);\n gameConnectButton.setText(\"Pripoj ke hre\");\n\n newGameButton.setEnabled(true);\n newGameButton.setText(\"Zaloz hru\");\n\n zalozenaHra = false;\n\n }", "public void disable(){\r\n\t\tthis.activ = false;\r\n\t}", "public void inhabilitaPanel() {\n\t\t// contentPane.setEnabled(false);\n\t\tpanelPrincipal.setEnabled(false);\n\t\tpanelBotones.setEnabled(false);\n\t\tboton1Jugador.setEnabled(false);\n\t\tbotonJuegoRed.setEnabled(false);\n\t\tbotonEditar.setEnabled(false);\n\t\tbotonDemo.setEnabled(false);\n\t\tbotonReglas.setEnabled(false);\n\t\tbotonAyuda.setEnabled(false);\n\t\tbotonRecibir.setEnabled(false);\n\t\tbotonEnviar.setEnabled(false);\n\t\tbotonDescargaSobre.setEnabled(false);\n\t\tbotonSalir.setEnabled(false);\n\t\tlabelFondo.setEnabled(false);\n\t\tlabelDibujo.setEnabled(false);\n\n\t}", "public void setDisabled(boolean disabled) {\n\t\tthis.disabled = disabled;\n\t}", "public void doReadOnlyMode(boolean b) {\r\n txtb_ckdUniv.setReadonly(b);\r\n txtb_cnamaUniv.setReadonly(b);\r\n txtb_alamatUniv.setReadonly(b);\r\n txtb_cstatus.setReadonly(b);\r\n list_status.setDisabled(b);\r\n cmb_status.setDisabled(b);\r\n }", "public void botoiaDesaktibatu2() {\r\n\t\tbtnAurrera.setEnabled(true);\r\n\t}", "private void habilitarBtnActualizar(){\n if(this.txtCodigoPlatDia.getText().isEmpty() \n || this.txtValueModified.getText().isEmpty()\n || this.cbxTypeModified.getSelectedIndex() == 0){\n this.btnActualizar.setEnabled(false);\n }else{\n this.btnActualizar.setEnabled(true);\n }\n }", "void disable() {\n }", "public void botonHabilitar(JButton boton, boolean estado){\n boton.setEnabled(estado);\n }", "public boolean isDisabled()\n {\n return disabled;\n }", "public boolean isAktiv() {\n\t\treturn false;\n\t}", "private void enableDisable() throws Exception\n\t{\n\t\tfor (String param : parameters.keySet())\n\t\t{\n\t\t\tif (piseMarshaller.getPrecond(param) != null)\n\t\t\t{\n\t\t\t\tElement element = parameters.get(param); \n\t\t\t\tif (processPrecond(param) == true)\n\t\t\t\t{\n\t\t\t\t\telement.enabled = true;\n\t\t\t\t} else\n\t\t\t\t{\n\t\t\t\t\telement.enabled = false;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "public void srediFormuPremaSK(){\n int aktivanSK = Komunikacija.getInstance().getAktivan_sk();\n \n if(aktivanSK == Konstante.SK_DODAVANJE){\n srediFormu();\n this.setTitle(\"Unos nove vezbe\");\n }\n if(aktivanSK == Konstante.SK_IZMENA){\n srediFormu();\n prikaziPodatkeVezbi(Komunikacija.getInstance().getVezbe());\n this.setTitle(\"Izmena vezbe\");\n } \n \n if(aktivanSK == Konstante.SK_PRIKAZ){\n jTextFieldNaziv.setEnabled(false);\n jTextFieldFokus.setEnabled(false);\n jTextFieldVremeTrajanja.setEnabled(false);\n prikaziPodatkeVezbi(Komunikacija.getInstance().getVezbe());\n this.setTitle(\"Detalji vezbe\");\n }\n}", "public void setEnabledGeneral(boolean estado) {\r\n\t\tthis.partidasList.setEnabled(estado);\r\n\t\tthis.btnCambiarNick.setEnabled(estado);\r\n\t\tthis.btnCambiarPassword.setEnabled(estado);\r\n\t\tthis.btnCerrarSesion.setEnabled(estado);\r\n\t\tthis.btnUnirse.setEnabled(estado);\r\n\t}", "public void disable(){\n if(criticalStop) return;\n getModel().setStatus(false);\n }", "private void srediFormu() {\n txtStatus.setEditable(false);\n txtStatus.setText(\"Server nije pokrenut\");\n btnPokreniServer.setEnabled(true);\n btnZaustaviServer.setEnabled(false);\n this.setTitle(\"Server Aplikacija\");\n }", "public abstract void wgb_onDisable();", "public void enabled(int id) {\n\t\tAccount account=userDao.getAccount(id);\r\n\t\tStatus status=userDao.getStatus(\"ÆôÓÃ\");\r\n\t\taccount.setStatus(status);\r\n\t\tuserDao.updateAccount(account);\r\n\t}", "public void dohvatiOtpad(KonkretniSpremnik ks) {\n VozilaLogger.printRad(this, ks);\n if (ks.getNazivBroj() == getVrsta()) {\n float nova_popunjenost = popunjenost + ks.getNapunjenost();\n if (nova_popunjenost >= nosivost) {\n notifyAllObservers();\n } else {\n popunjenost = nova_popunjenost;\n ks.isprazni();\n azurirajStatistikuOtpada(1, ks.getNapunjenost());\n }\n }\n }", "public void setEnabled(boolean aFlag) { _enabled = aFlag; }", "public void setDescTraslado(Boolean descTraslado){\n this.descTraslado = descTraslado;\n }", "@Override\n\tpublic void setEnabled(boolean flag) {\n\t\t\n\t}", "private void deshabilitarFuncionalidades()\r\n\t{\r\n\t\t\r\n\t\tthis.lbMantenimientos.setVisible(false);\r\n\t\t\r\n\t\t\r\n\t\tthis.lbAdministracion.setVisible(false);\r\n\t\t\r\n\t\t\r\n\t\tthis.userButton.setVisible(false);\r\n\t\tthis.userButton.setEnabled(false);\r\n\t\t\r\n\t\tthis.gruposButton.setVisible(false);\r\n\t\tthis.gruposButton.setEnabled(false);\r\n\t\t\r\n\t\tthis.impuestoButton.setVisible(false);\r\n\t\tthis.impuestoButton.setEnabled(false);\r\n\t\t\r\n\t\tthis.empresaButton.setVisible(false);\r\n\t\tthis.empresaButton.setEnabled(false);\r\n\t\t\r\n\t\tthis.monedasButton.setVisible(false);\r\n\t\tthis.monedasButton.setEnabled(false);\r\n\t\t\r\n\t\tthis.rubros.setVisible(false);\r\n\t\tthis.rubros.setEnabled(false);\r\n\t\t\r\n\t\tthis.codigosGeneralizados.setVisible(false);\r\n\t\tthis.codigosGeneralizados.setEnabled(false);\r\n\t\t\r\n\t\tthis.documentosButton.setVisible(false);\r\n\t\tthis.documentosButton.setEnabled(false);\r\n\t\t\r\n\t\tthis.clientesButton.setVisible(false);\r\n\t\tthis.clientesButton.setEnabled(false);\r\n\t\t\r\n\t\tthis.funcionariosButton.setVisible(false);\r\n\t\tthis.funcionariosButton.setEnabled(false);\r\n\t\t\r\n\t\tthis.cotizaciones.setVisible(false);\r\n\t\tthis.cotizaciones.setEnabled(false);\r\n\t\t\r\n\t\tthis.tipoRubros.setVisible(false);\r\n\t\tthis.tipoRubros.setEnabled(false);\r\n\t\t\r\n\t\tthis.cuentas.setVisible(false);\r\n\t\tthis.cuentas.setEnabled(false);\r\n\t\t\r\n\t\tthis.bancos.setVisible(false);\r\n\t\tthis.bancos.setEnabled(false);\r\n\t\t\r\n\t\tthis.procesos.setVisible(false);\r\n\t\tthis.procesos.setEnabled(false);\r\n\t\t\r\n\t\tthis.gastos.setVisible(false);\r\n\t\tthis.gastos.setEnabled(false);\r\n\t\t\r\n\t\tthis.ingCobro.setVisible(false);\r\n\t\tthis.ingCobro.setEnabled(false);\r\n\t\t\r\n\t\tthis.ingEgreso.setVisible(false);\r\n\t\tthis.ingEgreso.setEnabled(false);\r\n\t\t\r\n\t\tthis.otroCobro.setVisible(false);\r\n\t\tthis.otroCobro.setEnabled(false);\r\n\t\t\r\n\t\tthis.otroEgreso.setVisible(false);\r\n\t\tthis.otroEgreso.setEnabled(false);\r\n\t\t\r\n\t\tthis.resumenProc.setVisible(false);\r\n\t\tthis.resumenProc.setEnabled(false);\r\n\t\t\r\n\t\tthis.periodo.setVisible(false);\r\n\t\tthis.periodo.setEnabled(false);\r\n\t\t\r\n\t\tthis.deposito.setVisible(false);\r\n\t\tthis.deposito.setEnabled(false);\r\n\t\t\r\n\t\tthis.factura.setVisible(false);\r\n\t\tthis.factura.setEnabled(false);\r\n\t\t\r\n\t\tthis.recibo.setVisible(false);\r\n\t\tthis.recibo.setEnabled(false);\r\n\t\t\r\n\t\tthis.notaCredito.setVisible(false);\r\n\t\tthis.notaCredito.setEnabled(false);\r\n\t\t\r\n\t\tthis.conciliacion.setVisible(false);\r\n\t\tthis.conciliacion.setEnabled(false);\r\n\t\t\r\n\t\tthis.btnRepGastosPendCobro.setVisible(false);\r\n\t\tthis.btnRepGastosPendCobro.setEnabled(false);\r\n\t\t\r\n\t\tthis.btnRepCheque.setVisible(false);\r\n\t\tthis.btnRepCheque.setEnabled(false);\r\n\t\t\r\n\t\tthis.btnCheqADepositar.setVisible(false);\r\n\t\tthis.btnCheqADepositar.setEnabled(false);\r\n\t\t\r\n\t\tthis.btnRepIva.setVisible(false);\r\n\t\tthis.btnRepIva.setEnabled(false);\r\n\t\t\r\n\t\tthis.btnEstadoCuenta.setVisible(false);\r\n\t\tthis.btnEstadoCuenta.setEnabled(false);\r\n\t\t\r\n\t\tthis.btnEstadoCuentaTotales.setVisible(false);\r\n\t\tthis.btnEstadoCuentaTotales.setEnabled(false);\r\n\t\t\r\n\t\tthis.btnMovPorCuenta.setVisible(false);\r\n\t\tthis.btnMovPorCuenta.setEnabled(false);\r\n\t\t\r\n\t\tthis.btnMovPorRubro.setVisible(false);\r\n\t\tthis.btnMovPorRubro.setEnabled(false);\r\n\t\t\r\n\t\tthis.btnMovCaja.setVisible(false);\r\n\t\tthis.btnMovCaja.setEnabled(false);\r\n\t\t\r\n\t\tthis.btnMovBco.setVisible(false);\r\n\t\tthis.btnMovBco.setEnabled(false);\r\n\t\t\r\n\t\t\r\n\t\tthis.btnRepGastosxProceso.setVisible(false);\r\n\t\tthis.btnRepGastosxProceso.setEnabled(false);\r\n\t}", "protected abstract void disable();", "boolean transactTo_setFunctionDisabled(int code, String transactName, ComponentName who, boolean disabled, int userId) {\n int i = 1;\n Parcel _data = Parcel.obtain();\n Parcel _reply = Parcel.obtain();\n try {\n IBinder binder = ServiceManager.getService(\"device_policy\");\n if (binder != null) {\n if (HWFLOW) {\n Log.i(TAG, \"Transact:\" + transactName + \"to device policy manager service.\");\n }\n _data.writeInterfaceToken(ConstantValue.DESCRIPTOR);\n if (who != null) {\n _data.writeInt(1);\n who.writeToParcel(_data, 0);\n } else {\n _data.writeInt(0);\n }\n if (!disabled) {\n i = 0;\n }\n _data.writeInt(i);\n _data.writeInt(userId);\n binder.transact(code, _data, _reply, 0);\n _reply.readException();\n }\n _reply.recycle();\n _data.recycle();\n } catch (RemoteException localRemoteException) {\n Log.e(TAG, \"transactTo \" + transactName + \" failed: \" + localRemoteException.getMessage());\n } catch (Throwable th) {\n _reply.recycle();\n _data.recycle();\n }\n return false;\n }", "public void habilitaPanel() {\n\t\t// contentPane.setEnabled(true);\n\t\tpanelPrincipal.setEnabled(true);\n\t\tpanelBotones.setEnabled(true);\n\t\tboton1Jugador.setEnabled(true);\n\t\tbotonJuegoRed.setEnabled(true);\n\t\tbotonEditar.setEnabled(true);\n\t\tbotonDemo.setEnabled(true);\n\t\tbotonReglas.setEnabled(true);\n\t\tbotonAyuda.setEnabled(true);\n\t\tbotonRecibir.setEnabled(true);\n\t\tbotonEnviar.setEnabled(true);\n\t\tbotonDescargaSobre.setEnabled(true);\n\t\tbotonSalir.setEnabled(true);\n\t\tlabelFondo.setEnabled(true);\n\t\tlabelDibujo.setEnabled(true);\n\n\t}", "protected void onDisabled() {\n // Do nothing.\n }", "@Override\n public void disabledInit() {\n\t\tprocessRobotModeChange(RobotMode.DISABLED);\n }", "public boolean getEnabled() {\r\n \t\tif (status == AlternativeStatus.ADOPTED) {\r\n \t\t\treturn true;\r\n \t\t} else {\r\n \t\t\treturn false;\r\n \t\t}\r\n \t}", "private void ctrlPuasar() {\n btnIniciar.setEnabled(true);\n btnPausar.setEnabled(false);\n\n }", "public void zapisUrok() {\r\n\r\n\t\taktualnyZostatok = getZostatok() * urokovaSadzba / 100;\r\n\t\tsetVklad(aktualnyZostatok);\r\n\r\n\t}", "public static void ToggleEnabled()\n {\n \t\tEnabled = !Enabled;\n \t\tConfigHandler.configFile.save();\n \t \t\n }", "void setEnabled(boolean enabled);", "void setEnabled(boolean enabled);", "void setEnabled(boolean enabled);", "void setEnabled(boolean enabled);", "@Test\n\tpublic void enableDisable() {\n\t\ttry {\n\t\t\t// mac.AcceptedBanknoteStorage.disable();\n\t\t\t// mac.AcceptedBanknoteStorage.enable();\n\t\t\tmac.checkoutStation.banknoteStorage.enable();\n\t\t\tmac.checkoutStation.banknoteStorage.disable();\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\tfail(\"disabling and enabling throws an error\");\n\t\t}\n\t}", "public boolean isIsDisabled() {\r\n return isDisabled;\r\n }", "@Override\n public String whetherDisabled(Where where) {\n return null;\n }", "private void form_awal() {\n jnama.setEnabled(false);\n jalamat.setEnabled(false);\n jhp.setEnabled(false);\n jbbm.setEnabled(false);\n jsitus.setEnabled(false);\n \n btnsimpan.setEnabled(false);\n btnhapus.setEnabled(false);\n }", "private void checkEnabled() {\n }", "public boolean setEnabled(boolean enable);", "boolean hasEnabled();", "public void setEnabled(boolean enabled);", "public void setEnabled(boolean enabled);", "void enableDigital();", "private void setStatusTelaExibir () {\n setStatusTelaExibir(-1);\n }", "public static void odjaviSe() {\r\n\t\tteretanaGui.getBtnAdministrator().setVisible(true);\r\n\t\tteretanaGui.getBtnOdjaviteSe().setVisible(false);\r\n\t\tsakrijEastPanel();\r\n\t}", "@Override\r\n\tprotected void onBoEdit() throws Exception {\n\t\tgetButtonManager().getButton(\r\n\t\t\t\tnc.ui.wds.w8006080202.tcButtun.ITcButtun.Con)\r\n\t\t\t\t.setEnabled(false);\r\n\t\tgetButtonManager().getButton(\r\n\t\t\t\tnc.ui.wds.w8006080202.tcButtun.ITcButtun.Pp)\r\n\t\t\t\t.setEnabled(false);\r\n\t\tsuper.onBoEdit();\r\n\t}", "public CalculoNotaBimestral() {\n initComponents();\n NotadaProva.setEnabled(false);\n Resultado.setEnabled(false);\n }", "public boolean isDisabled() {\n return disabled;\n }", "public void onNotEnabled() {\n Timber.d(\"onNotEnabled\");\n // keep the callback in case they turn it on manually\n setTorPref(Status.DISABLED);\n createClearnetClient();\n status = Status.NOT_ENABLED;\n if (onStatusChangedListener != null) {\n new Thread(() -> onStatusChangedListener.notEnabled()).start();\n }\n }", "private void enableAdd(){\n addSubmit.setDisable(false);\n removeSubmit.setDisable(true);\n setSubmit.setDisable(true);\n addCS.setDisable(false);\n removeCS.setDisable(true);\n setCS.setDisable(true);\n addIT.setDisable(false);\n removeIT.setDisable(true);\n setIT.setDisable(true);\n addECE.setDisable(false);\n removeECE.setDisable(true);\n setECE.setDisable(true);\n partTime.setDisable(false);\n fullTime.setDisable(false);\n management.setDisable(false);\n dateAddText.setDisable(false);\n dateRemoveText.setDisable(true);\n dateSetText.setDisable(true);\n nameAddText.setDisable(false);\n nameRemoveText.setDisable(true);\n nameSetText.setDisable(true);\n hourlyAddText.setDisable(false);\n annualAddText.setDisable(false);\n managerRadio.setDisable(false);\n dHeadRadio.setDisable(false);\n directorRadio.setDisable(false);\n //codeAddText.setDisable(false);\n hoursSetText.setDisable(true);\n }", "protected boolean setZoneChangeSetting(byte[] edt) {return false;}", "public void enable(){\n if(criticalStop) return;\n getModel().setStatus(true);\n }", "boolean getOptOutOnlineStatus();", "private void disableP1Buttons(){\n game_BTN_p1_lightAttack.setEnabled(false);\n game_BTN_p1_strongAttack.setEnabled(false);\n game_BTN_p1_brutalAttack.setEnabled(false);\n }", "private void desHabCampos(boolean hab) {\r\n\t\tlbl_Oferta.setEnabled(hab);\r\n\t\ttxArea_descripcion.setEditable(hab);\r\n\t\ttxField_lugar.setEditable(hab);\r\n\t\ttxField_experiencia.setEditable(hab);\r\n\t\tcombo_contrato.setEditable(hab);\r\n\t\ttxField_sueldoMax.setEditable(hab);\r\n\t\ttxField_sueldoMin.setEditable(hab);\r\n\t\ttxArea_aspectosImpres.setEditable(hab);\r\n\t\ttxArea_aspectosValorar.setEditable(hab);\r\n\t\tpa_conocimientos.setEnabled(hab);\r\n\t\ttxField_Empresa.setEnabled(false);\r\n\t\tpa_conocimientos.getBtn_anadir().setEnabled(hab);\r\n\t\tpa_conocimientos.getBtn_eliminar().setEnabled(hab);\r\n\t}", "@Override\n public void disabledInit()\n {\n \n }", "public void disabledInit(){\n\n }", "public void disabledInit(){\n\n }", "public void disabledInit(){\n\n }", "public void disabledInit(){\n\n }" ]
[ "0.5985927", "0.5927923", "0.5892919", "0.58856124", "0.58614993", "0.5846356", "0.5839878", "0.58017814", "0.57715094", "0.57513654", "0.57391995", "0.5720268", "0.5713692", "0.56774914", "0.5648616", "0.56457764", "0.56416696", "0.5630923", "0.5629092", "0.5614598", "0.5610981", "0.5590312", "0.5568471", "0.5568471", "0.55509686", "0.55437785", "0.55235", "0.5522537", "0.55136496", "0.55001986", "0.55001986", "0.55001986", "0.54989964", "0.54885846", "0.5481754", "0.5459671", "0.54587907", "0.54587907", "0.54505867", "0.54347706", "0.5434204", "0.54339606", "0.542579", "0.5424347", "0.5421351", "0.5408709", "0.54059166", "0.5388195", "0.5384999", "0.53811675", "0.5377367", "0.537612", "0.53759044", "0.5371019", "0.5367902", "0.53606856", "0.53549516", "0.53410643", "0.5341022", "0.533715", "0.53365976", "0.5336488", "0.5335187", "0.5334379", "0.53291655", "0.53261673", "0.5323021", "0.5320701", "0.53180796", "0.53114134", "0.53032845", "0.53032845", "0.53032845", "0.53032845", "0.53008515", "0.5298065", "0.5295633", "0.5293581", "0.5290324", "0.5287693", "0.5285669", "0.52844036", "0.52844036", "0.5279944", "0.5279847", "0.5278908", "0.52726334", "0.52717096", "0.5267521", "0.5264643", "0.52587205", "0.52548563", "0.5246332", "0.52412325", "0.5240569", "0.5237801", "0.5229799", "0.52290374", "0.52290374", "0.52290374", "0.52290374" ]
0.0
-1
tlacidlo na zaplatenie sumy a kupy parkovneho listka
public void onPayClick(){ this.user.updateCreditDec(priceToBePaid); Alert alert = new Alert(Alert.AlertType.INFORMATION); alert.setTitle("Information Dialog"); alert.setHeaderText(null); alert.setContentText("Payment successful! You payed " + cost.getText()); alert.showAndWait(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void sumaPuntos() {\r\n int rojo = 0;\r\n int azul = 0;\r\n for (int i = 1; i < 10; i++) {\r\n\r\n if (tablero[1][i].getTipo().equals(\"Rojo\")) {\r\n rojo += tablero[1][i].getValor();\r\n }\r\n\r\n if (tablero[8][i].getTipo().equals(\"Azul\")) {\r\n azul += tablero[8][i].getValor();\r\n }\r\n\r\n }\r\n if (rojo > azul) {\r\n this.setResultado(\"Rojo\");\r\n this.agregarVictoria(jugadorRojo);\r\n }\r\n if (azul > rojo) {\r\n this.setResultado(\"Azul\");\r\n this.agregarVictoria(jugadorAzul);\r\n }\r\n \r\n this.setReplay(true);\r\n }", "public void skratiListu() {\n if (!jePrazna()) {\n int n = Svetovid.in.readInt(\"Unesite broj elemenata za skracivanje: \");\n obrniListu(); //Zato sto se trazi odsecanje poslednjih n elemenata\n while (prvi != null && n > 0) {\n prvi = prvi.veza;\n n--;\n }\n obrniListu(); //Vraca listu u prvobitni redosled\n }\n }", "public int zistiCenu(Arraylist list){\n\t\tint sum=0;\r\n\t\tKontajner kontajner;\r\n\t\tfor (int i = 0; i <list.myList.size(); i++) {\r\n\t\t\tkontajner= list.myList.get(i);\r\n\t\t\tsum+=kontajner.zistiCenu();\r\n\t\t}\r\n\t\treturn sum;\r\n\t}", "private int syuneri_gumar(ArrayList<Integer> syun) {\n int summa = 0;\n for (int i = 0; i < syun.size(); i++)\n summa += syun.get(i);\n return summa;\n }", "private void laskeMatkojenPituus() {\n matkojenpituus = 0.0;\n\n for (Matka m : matkat) {\n matkojenpituus += m.getKuljettumatka();\n }\n\n }", "private int sumaCen(){\n int kasa = 0;\n for(Restauracja r :zamowioneDania){\n kasa+=r.getCena();\n }\n return kasa;\n }", "public int sumListeFor(ArrayList<Integer> list) {\r\n int resultat = 0;\r\n for (int i = 0; i < list.size(); i++) {\r\n resultat = resultat + list.get(i);\r\n }\r\n return resultat;\r\n }", "public void Zabojstwa() {\n\t\tSystem.out.println(\"Zabojstwa\");\n\t\tfor(int i=0;i<Plansza.getNiebezpieczenstwoNaPlanszy().size();i++) {\n\t\t\tfor(GenerujNiebezpieczenstwo niebez : Plansza.getNiebezpieczenstwoNaPlanszy()) {\n\n\t\t\t\tif(niebez.getZabojca() instanceof DzikieZwierzeta) {\n\t\t\t\t\tif(niebez.getXniebezpieczenstwo()-1 <= Plansza.getNiewolnikNaPLanszy().getXpolozenie() && niebez.getXniebezpieczenstwo()+1 >= Plansza.getNiewolnikNaPLanszy().getXpolozenie()) {\n\t\t\t\t\t\tif(niebez.getYniebezpieczenstwo()-1 <= Plansza.getNiewolnikNaPLanszy().getYpolozenie() && niebez.getYniebezpieczenstwo()+1 >= Plansza.getNiewolnikNaPLanszy().getYpolozenie()) {\n\t\t\t\t\t\t\tif(Plansza.getNiewolnikNaPLanszy().getUbrania() >= niebez.getZabojca().ZmniejszIloscPopulacja() && Plansza.getNiewolnikNaPLanszy().getJedzenie() >= niebez.getZabojca().ZmniejszIloscPopulacja()) {\n\t\t\t\t\t\t\t\tPlansza.getNiewolnikNaPLanszy().setUbrania(Plansza.getNiewolnikNaPLanszy().getUbrania() - niebez.getZabojca().ZmniejszIloscPopulacja());\n\t\t\t\t\t\t\t\tPlansza.getNiewolnikNaPLanszy().setJedzenie(Plansza.getNiewolnikNaPLanszy().getJedzenie() - niebez.getZabojca().ZmniejszIloscPopulacja());\n\t\t\t\t\t\t\t\tPlansza.getNiewolnikNaPLanszy().setLicznikNiebezpieczenstw(Plansza.getNiewolnikNaPLanszy().getLicznikNiebezpieczenstw()+1);\n\t\t\t\t\t\t\t\tPlansza.getNiebezpieczenstwoNaPlanszy().remove(niebez);\n\t\t\t\t\t\t\t\ti--;\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tif(niebez.getZabojca() instanceof Bandyci) {\n\t\t\t\t\tif(niebez.getXniebezpieczenstwo()-1 <= Plansza.getRzemieslnikNaPlanszy().getXpolozenie() && niebez.getXniebezpieczenstwo()+1 >= Plansza.getRzemieslnikNaPlanszy().getXpolozenie()) {\n\t\t\t\t\t\tif(niebez.getYniebezpieczenstwo()-1 <= Plansza.getRzemieslnikNaPlanszy().getYpolozenie() && niebez.getYniebezpieczenstwo()+1 >= Plansza.getRzemieslnikNaPlanszy().getYpolozenie()) {\n\t\t\t\t\t\t\tif(Plansza.getRzemieslnikNaPlanszy().getMaterialy() >= niebez.getZabojca().ZmniejszIloscPopulacja() && Plansza.getRzemieslnikNaPlanszy().getNarzedzia() >= niebez.getZabojca().ZmniejszIloscPopulacja()) {\n\t\t\t\t\t\t\t\tif(GeneratorRandom.RandomOd0(101) <= ZapisOdczyt.getRzemieslnicySzansa()) {\n\t\t\t\t\t\t\t\t\tPlansza.getNiebezpieczenstwoNaPlanszy().remove(niebez);\n\t\t\t\t\t\t\t\t\ti--;\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tPlansza.getRzemieslnikNaPlanszy().setMaterialy(Plansza.getRzemieslnikNaPlanszy().getMaterialy() - niebez.getZabojca().ZmniejszIloscPopulacja());\n\t\t\t\t\t\t\t\tPlansza.getRzemieslnikNaPlanszy().setNarzedzia(Plansza.getRzemieslnikNaPlanszy().getNarzedzia() - niebez.getZabojca().ZmniejszIloscPopulacja());\n\t\t\t\t\t\t\t\tPlansza.getRzemieslnikNaPlanszy().setLicznikNiebezpieczenstw(Plansza.getRzemieslnikNaPlanszy().getLicznikNiebezpieczenstw()+1);\n\t\t\t\t\t\t\t\tPlansza.getNiebezpieczenstwoNaPlanszy().remove(niebez);\n\t\t\t\t\t\t\t\ti--;\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif(niebez.getZabojca() instanceof Zlodzieje) {\n\t\t\t\t\tif(niebez.getXniebezpieczenstwo()-1 <= Plansza.getArystokrataNaPlanszy().getXpolozenie() && niebez.getXniebezpieczenstwo()+1 >= Plansza.getArystokrataNaPlanszy().getXpolozenie()) {\n\t\t\t\t\t\tif(niebez.getYniebezpieczenstwo()-1 <= Plansza.getArystokrataNaPlanszy().getYpolozenie() && niebez.getYniebezpieczenstwo()+1 >= Plansza.getArystokrataNaPlanszy().getYpolozenie()) {\n\t\t\t\t\t\t\tif(Plansza.getArystokrataNaPlanszy().getTowary() >= niebez.getZabojca().ZmniejszIloscPopulacja() && Plansza.getArystokrataNaPlanszy().getZloto() >= niebez.getZabojca().ZmniejszIloscPopulacja()) {\n\t\t\t\t\t\t\t\tPlansza.getArystokrataNaPlanszy().setTowary(Plansza.getArystokrataNaPlanszy().getTowary() - niebez.getZabojca().ZmniejszIloscPopulacja());\n\t\t\t\t\t\t\t\tPlansza.getArystokrataNaPlanszy().setZloto(Plansza.getArystokrataNaPlanszy().getZloto() - niebez.getZabojca().ZmniejszIloscPopulacja());\n\t\t\t\t\t\t\t\tPlansza.getArystokrataNaPlanszy().setLicznikNiebezpieczenstw(Plansza.getArystokrataNaPlanszy().getLicznikNiebezpieczenstw()+1);\n\t\t\t\t\t\t\t\tPlansza.getNiebezpieczenstwoNaPlanszy().remove(niebez);\n\t\t\t\t\t\t\t\ti--;\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t}", "public static ArrayList<Vkladi> rascetPolozBalans() {\r\n\t\tArrayList<Vkladi> foundVkladi = new ArrayList<Vkladi>();\r\n\r\n\t\tint t = 0;\r\n\t\tfor (Vkladi vkla : vklad) {\r\n\r\n\t\t\tt = t + vkla.getPribil();\r\n\t\t}\r\n\t\tSystem.out.println(\"Polozitelnii balanse Scetov= \" + t + \"$\");\r\n\t\treturn foundVkladi;\r\n\t}", "public static ArrayList<Vkladi> rascetObsciBalans() {\r\n\t\tArrayList<Vkladi> foundVkladi = new ArrayList<Vkladi>();\r\n\r\n\t\tint t = 0;\r\n\t\tfor (Vkladi vkla : vklad) {\r\n\r\n\t\t\tt = t + vkla.getPribil();\r\n\t\t}\r\n\t\tint z = 0;\r\n\t\tfor (Krediti kredit : kred) {\r\n\r\n\t\t\tz = z + kredit.getDolg();\r\n\t\t}\r\n\t\tint y = 0;\r\n\t\ty = z + t;\r\n\t\tSystem.out.println(\"Symarnii balanse Scetov= \" + y + \"$\");\r\n\t\treturn foundVkladi;\r\n\t}", "private int kiemtrasopt (List list){\n int dem = list.size();\n return dem;\n }", "public List viewTotalInscritosBD();", "private void laskeMatkojenKesto() {\n matkojenkesto = 0.0;\n\n for (Matka m : matkat) {\n matkojenkesto += m.getKesto();\n }\n }", "void rozpiszKontraktyPart2NoEV(int index,float wolumenHandlu, float sumaKupna,float sumaSprzedazy )\n\t{\n\t\tArrayList<Prosument> listaProsumentowTrue =listaProsumentowWrap.getListaProsumentow();\n\t\t\n\n\t\tint a=0;\n\t\twhile (a<listaProsumentowTrue.size())\n\t\t{\n\t\t\t\t\t\t\n\t\t\t// ustala bianrke kupuj\n\t\t\t// ustala clakowita sprzedaz (jako consumption)\n\t\t\t//ustala calkowite kupno (jako generacje)\n\t\t\tDayData constrainMarker = new DayData();\n\t\t\t\n\t\t\tArrayList<Point> L1\t=listaFunkcjiUzytecznosci.get(a);\n\t\t\t\n\t\t\t//energia jaka zadeklarowal prosument ze sprzeda/kupi\n\t\t\tfloat energia = L1.get(index).getIloscEnergiiDoKupienia();\n\t\t\t\n\t\t\tif (energia>0)\n\t\t\t{\n\t\t\t\tfloat iloscEnergiiDoKupienia = energia/sumaKupna*wolumenHandlu;\n\t\t\t\t\n\t\t\t\tconstrainMarker.setKupuj(1);\n\t\t\t\tconstrainMarker.setGeneration(iloscEnergiiDoKupienia);\n\t\t\t\t\n\t\t\t\trynekHistory.ustawBetaDlaWynikowHandlu(iloscEnergiiDoKupienia,a);\t\t\t\t\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tfloat iloscEnergiiDoSprzedania = energia/sumaSprzedazy*wolumenHandlu;\n\n\t\t\t\t\n\t\t\t\tconstrainMarker.setKupuj(0);\n\t\t\t\tconstrainMarker.setConsumption(iloscEnergiiDoSprzedania);\n\t\t\t\t\n\t\t\t\trynekHistory.ustawBetaDlaWynikowHandlu(iloscEnergiiDoSprzedania,a);\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\tArrayList<Float> priceVector = priceVectorsList.get(priceVectorsList.size()-1);\n\t\t\t\n\t\t\t//poinformuj prosumenta o wyniakch handlu i dostosuj go do wynikow\n\t\t\tlistaProsumentowTrue.get(a).getKontrakt(priceVector,constrainMarker);\n\t\t\t\n\t\t\ta++;\n\t\t}\n\t}", "public int sumListeForEach(ArrayList<Integer> list) {\r\n int resultat = 0;\r\n for (int tal : list) {\r\n resultat = resultat + tal;\r\n }\r\n return resultat;\r\n }", "public static ArrayList<Krediti> rascetOtricBalans() {\r\n\t\tArrayList<Krediti> foundKrediti = new ArrayList<Krediti>();\r\n\r\n\t\tint t = 0;\r\n\t\tfor (Krediti vkla : kred) {\r\n\r\n\t\t\tt = t + vkla.getDolg();\r\n\r\n\t\t}\r\n\t\tSystem.out.println(\"Otrictelni balanse Scetov= \" + t + \"$\");\r\n\t\treturn foundKrediti;\r\n\t}", "private void getSum() {\n\t\tint sum =0;\r\n\t\t\r\n\t\tfor(int i=0; i<index; i++) {\r\n\t\t\tif(products[i] != null)\r\n\t\t\t\tsum += products[i].getPrice();\r\n\t\t}\r\n\t\tSystem.out.println(sum);\r\n\t}", "public void obrniListu() {\n if (prvi != null && prvi.veza != null) {\n Element preth = null;\n Element tek = prvi;\n \n while (tek != null) {\n Element sled = tek.veza;\n \n tek.veza = preth;\n preth = tek;\n tek = sled;\n }\n prvi = preth;\n }\n }", "public void totalPrice(){\n int total = 0;\n\n if (list_order.isEmpty()) {\n totalHarga.setText(\"Rp. \" + 0);\n }\n else {\n for (int i = 0; i < list_order.size(); i++) {\n total += list_order.get(i).getHarga();\n }\n totalHarga.setText(\"Rp. \" + total);\n }\n }", "private void ucitajTestPodatke() {\n\t\tList<Integer> l1 = new ArrayList<Integer>();\n\n\t\tRestoran r1 = new Restoran(\"Palazzo Bianco\", \"Bulevar Cara Dušana 21\", KategorijeRestorana.PICERIJA, l1, l1);\n\t\tRestoran r2 = new Restoran(\"Ananda\", \"Petra Drapšina 51\", KategorijeRestorana.DOMACA, l1, l1);\n\t\tRestoran r3 = new Restoran(\"Dizni\", \"Bulevar cara Lazara 92\", KategorijeRestorana.POSLASTICARNICA, l1, l1);\n\n\t\tdodajRestoran(r1);\n\t\tdodajRestoran(r2);\n\t\tdodajRestoran(r3);\n\t}", "int getSumaAdunata();", "protected int sumList(ArrayList<Integer> list){\r\n\t\tint result =0;\r\n\t\tfor(int i: list){\r\n\t\t\tresult = result + i;\r\n\t\t}\r\n\t\treturn result;\r\n\t\t\r\n\t}", "public static void main(String[] args) {\n ArrayList<Integer> taszkok = new ArrayList<>();\r\n String text = null;\r\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\r\n try {\r\n text = reader.readLine();\r\n\r\n String[] taszkfeltolt = text.split(\",\");\r\n for(int i = 0; i<taszkfeltolt.length ;i++){\r\n taszkok.add(Integer.parseInt(taszkfeltolt[i])) ;\r\n }\r\n\r\n }\r\n catch(Exception e){\r\n\r\n }\r\n\r\n int laphibak=0;\r\n ArrayList<String> abc = new ArrayList<>();\r\n ArrayList<Integer> fagyi = new ArrayList<>();\r\n ArrayList<Integer> szam = new ArrayList<>();\r\n for(int i = 0; i<taszkok.size();i++){\r\n boolean csillag=false;\r\n boolean nemvoltlaphiba=false;\r\n int fagyilesz=-1;\r\n //System.out.print(taszkok.get(i));\r\n\r\n if(0>taszkok.get(i)){\r\n //valami történik\r\n taszkok.set(i, taszkok.get(i)*(-1));\r\n fagyilesz=0;\r\n }\r\n if(abc.size()<3){\r\n\r\n int vanilyen = vanilyen(taszkok.get(i),szam);\r\n if(vanilyen==-1){\r\n if (abc.size()==2){\r\n abc.add(\"C\");\r\n System.out.print(\"C\");\r\n }\r\n else if (abc.size()==1){\r\n abc.add(\"B\");\r\n System.out.print(\"B\");\r\n }\r\n else if (abc.size()==0){\r\n abc.add(\"A\");\r\n System.out.print(\"A\");\r\n }\r\n szam.add(taszkok.get(i));\r\n if(fagyilesz!=0){\r\n fagyi.add(4); // a kör végén ugy is csökkentem 1el elsőre is\r\n }\r\n else{\r\n fagyi.add(0);\r\n }\r\n }\r\n else{\r\n String temp=abc.get(vanilyen);\r\n abc.remove(vanilyen); //a tömb végére rakom és 0 ra allitom a fagyasztast\r\n abc.add(temp);\r\n //System.out.print(abc);\r\n int tempfagyi=fagyi.get(vanilyen);\r\n fagyi.remove(vanilyen);\r\n if(fagyilesz!=0){\r\n fagyi.add(tempfagyi);\r\n }\r\n else{\r\n fagyi.add(0);\r\n }\r\n szam.remove(vanilyen);\r\n szam.add(taszkok.get(i));\r\n //System.out.print(temp+\"e,\");\r\n nemvoltlaphiba=true;\r\n }\r\n\r\n }\r\n else if(abc.size()==3){\r\n int vanilyen = vanilyen(taszkok.get(i),szam);\r\n if(vanilyen==-1){ //ha ez egy uj szam\r\n int hanyadikbet=vanszabad(fagyi);\r\n if(hanyadikbet!=-1){\r\n String temp=abc.get(hanyadikbet);\r\n szam.remove(hanyadikbet);\r\n szam.add(taszkok.get(i));\r\n abc.remove(hanyadikbet); //a tömb végére rakom és 4 ra allitom a fagyasztast\r\n abc.add(temp);\r\n\r\n fagyi.remove(hanyadikbet);\r\n if(fagyilesz!=0){\r\n fagyi.add(4);\r\n }\r\n else{\r\n fagyi.add(0);\r\n }\r\n\r\n System.out.print(temp);\r\n }\r\n else{\r\n csillag=true;\r\n }\r\n }\r\n else{\r\n String temp=abc.get(vanilyen);\r\n abc.remove(vanilyen); //a tömb végére rakom és 0 ra allitom a fagyasztast\r\n abc.add(temp);\r\n szam.remove(vanilyen);\r\n szam.add(taszkok.get(i));\r\n int fagyitemp=fagyi.get(vanilyen);\r\n fagyi.remove(vanilyen);\r\n fagyi.add(fagyitemp);\r\n nemvoltlaphiba=true;\r\n }\r\n\r\n\r\n }\r\n\r\n if (csillag==true){\r\n System.out.print(\"*\");\r\n }\r\n if(nemvoltlaphiba==true){\r\n System.out.print(\"-\");\r\n }\r\n else{\r\n laphibak++;\r\n }\r\n for(int j = 0; j<fagyi.size();j++){\r\n if(fagyi.get(j)!=0){\r\n fagyi.set(j,fagyi.get(j)-1); //csokkentem a fagyasztast\r\n }\r\n }\r\n }\r\n\r\n\r\n System.out.println();\r\n System.out.print(laphibak);\r\n }", "public void naplnVrcholy() {\r\n System.out.println(\"Zadajte pocet vrcholov: \");\r\n pocetVrcholov = skener.nextInt();\r\n for (int i=0; i < pocetVrcholov; i++) {\r\n nekonecno = (int)(Double.POSITIVE_INFINITY);\r\n if(i==0) { //pre prvy vrchol potrebujeme nastavit vzdialenost 0 \r\n String menoVrcholu = Character.toString((char)(i+65)); //pretipovanie int na String, z i=0 dostanem A\r\n Vrchol vrchol = new Vrchol(menoVrcholu, 0, \"\"); //vrcholu nastavim vzdialenost a vrcholPrichodu \r\n vrcholy.add(vrchol);\r\n } else { //ostatne budu mat nekonecno alebo v tomto pripade 9999 (lebo tuto hodnotu v mensich grafoch nepresiahnem)\r\n String menoVrcholu = Character.toString((char)(i+65)); //pretipovanie int na String, z i=0 dostanem A\r\n Vrchol vrchol = new Vrchol(menoVrcholu,nekonecno, \"\"); //vrcholu nastavim vzdialenost a vrcholPrichodu \r\n vrcholy.add(vrchol);\r\n }\r\n }\r\n }", "public Kupcek() {\r\n kup = new ArrayList<Karta>();\r\n\r\n for (int i = 0; i < 4; i++) { //gremo preko vseh simbolo kart\r\n for (int j = 0; j < 13; j++) { //in njihovih rangov\r\n if (j == 0) { //prvi indeks je vedno as torej mu damo vrednost 11\r\n Karta card = new Karta(i, j, 11); //ustvarimo nasega asa z i-tim simbolom in j-tim rangom\r\n kup.add(card); //karto dodamo v kupcek\r\n }\r\n else if (j >= 10) { //podobno storimo za karte Fant, Kraljica, Kralj in jim dodamo vrednost 10\r\n Karta card = new Karta(i, j, 10);\r\n kup.add(card);\r\n }\r\n else { //za vse preostale karte povecamo vrednost za +1 indeksa zaradi poteka kart 2[1] 3[2] etc.\r\n Karta card = new Karta(i, j, j+1);\r\n kup.add(card);\r\n }\r\n }\r\n }\r\n }", "int obliczLiczbaKont()\n\t{\n\t\tListaProsumentowWrap listaProsumentowWrap= ListaProsumentowWrap.getInstance();\n\t\tArrayList<Prosument> listaProsumentow = listaProsumentowWrap.getListaProsumentow();\n\t\t\n\t\tint sum=0;\n\t\t\n\t\tint i=0;\n\t\twhile (i<listaProsumentow.size())\n\t\t{\n\t\t\tProsument prosument = listaProsumentow.get(i);\n\t\t\t\n\t\t\tif (prosument instanceof ProsumentEV)\n\t\t\t{\n\t\t\t\tsum+=2;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tsum++;\n\t\t\t}\n\t\t\t\n\t\t\ti++;\n\t\t}\n\t\t\n\t\treturn sum;\n\t}", "public Vector addJumMhsYgSudahHeregistrasi(Vector vListInfoKelas) {\n\n \t/*\n \t * unreusable cuma adhock fix\n \t */\n \tif(vListInfoKelas!=null && vListInfoKelas.size()>0) {\n \t\t/*\n\t\t\t * tambah jumlah mhs perkelas ke dalam brs;\n\t\t\t */\n\t\t\tListIterator li = vListInfoKelas.listIterator();\n \t\ttry {\n \t\t\tContext initContext = new InitialContext();\n \t\t\tContext envContext = (Context)initContext.lookup(\"java:/comp/env\");\n \t\t\tds = (DataSource)envContext.lookup(\"jdbc\"+beans.setting.Constants.getDbschema());\n \t\t\tcon = ds.getConnection();\n \t\t\tstmt = con.prepareStatement(\"select NPMHS from DAFTAR_ULANG where THSMS=? and NPMHS=?\");\n \t\t\twhile(li.hasNext()) {\n \t\t\t\tString brs = (String)li.next();\n \t\t\t\t//System.out.println(\"brs=\"+brs);\n \t\t\t\tStringTokenizer st = new StringTokenizer(brs,\"$\");\n \t\t\tString kodeGabungan=st.nextToken();\n \t\t\tString idkmk1=st.nextToken();\n \t\t\tString idkur1=st.nextToken();\n \t\t\tString kdkmk1=st.nextToken();\n \t\t\tString nakmk1=st.nextToken();\n \t\t\tString thsms1=st.nextToken();\n \t\t\tString kdpst1=st.nextToken();\n \t\t\tString shift1=st.nextToken();\n \t\t\tString norutKlsPll1=st.nextToken();\n \t\t\tString initNpmInput1=st.nextToken();\n \t\t\tString latestNpmUpdate1=st.nextToken();\n \t\t\tString latesStatusInfo1=st.nextToken();\n \t\t\tString currAvailStatus1=st.nextToken();\n \t\t\tString locked1=st.nextToken();\n \t\t\tString npmdos1=st.nextToken();\n \t\t\tString nodos1=st.nextToken();\n \t\t\tString npmasdos1=st.nextToken();\n \t\t\tString noasdos1=st.nextToken();\n \t\t\tString canceled1=st.nextToken();\n \t\t\tString kodeKelas1=st.nextToken();\n \t\t\tString kodeRuang1=st.nextToken();\n \t\t\tString kodeGedung1=st.nextToken();\n \t\t\tString kodeKampus1=st.nextToken();\n \t\t\tString tknHrTime1=st.nextToken();\n \t\t\tString nmdos1=st.nextToken();\n \t\t\tString nmasdos1=st.nextToken();\n \t\t\tString enrolled1=st.nextToken();\n \t\t\tString maxEnrolled1=st.nextToken();\n \t\t\tString minEnrolled1=st.nextToken();\n \t\t\tString subKeterKdkmk1=st.nextToken();\n \t\t\tString initReqTime1=st.nextToken();\n \t\t\tString tknNpmApr1=st.nextToken();\n \t\t\tString tknAprTime1=st.nextToken();\n \t\t\tString targetTtmhs1=st.nextToken();\n \t\t\tString passed1=st.nextToken();\n \t\t\t\tString rejected1=st.nextToken();\n \t\t\t\tString konsen1=st.nextToken();\n \t\t\t\tString nmpst1=st.nextToken();\n \t\t\t\tString listNpm=st.nextToken();\n \t\t\t\tStringTokenizer st1 = new StringTokenizer(listNpm,\",\");\n \t\t\t\tString listNpmHer = null;\n \t\t\t\twhile(st1.hasMoreTokens()) {\n \t\t\t\t\tString npm = st1.nextToken();\n \t\t\t\t\tstmt.setString(1,thsms1);\n \t\t\t\t\tstmt.setString(2,npm);\n \t\t\t\t\trs = stmt.executeQuery();\n \t\t\t\t\t\n \t\t\t\t\tif(rs.next()) {\n \t\t\t\t\t\tif(listNpmHer==null) {\n \t\t\t\t\t\t\tlistNpmHer = \"\";\n \t\t\t\t\t\t}\n \t\t\t\t\t\tlistNpmHer = listNpmHer+\",\"+npm;\n \t\t\t\t\t}\n \t\t\t\t}\n \t\t\t\tif(listNpmHer==null) {\n \t\t\t\t\tlistNpmHer = \"null\";\n \t\t\t\t}\n \t\t\t\tli.set(brs+\"$\"+listNpmHer);\n \t\t\t\t//System.out.println(\"listNpmHer=\"+listNpmHer);\n \t\t\t\t//System.out.println(thsms1+\"$\"+kdpst1+\"$\"+kdkmk1);\n \t\t\t\t//System.out.println(brs+\"$\"+i);\n \t\t\t}\n \t\t\t\n \t\t}\n \t\tcatch (NamingException e) {\n \t\t\te.printStackTrace();\n \t\t}\n \t\tcatch (SQLException ex) {\n \t\t\tex.printStackTrace();\n \t\t} \n \t\tfinally {\n \t\t\tif (rs!=null) try { rs.close(); } catch (Exception ignore){}\n \t\t\tif (stmt!=null) try { stmt.close(); } catch (Exception ignore){}\n \t\t\tif (con!=null) try { con.close();} catch (Exception ignore){}\n \t\t}\n \t}\n \treturn vListInfoKelas;\n }", "public List<String> Mutfakkullanici(int masa_no) throws SQLException {\n ArrayList<Integer> kull = new ArrayList<>();\r\n ArrayList<String> kullad = new ArrayList<>();\r\n sqlsorgular.baglanti vb = new baglanti();\r\n vb.baglan();\r\n try {\r\n\r\n String sorgu = \"select kullanici_no from ilisk_masa where masa_no=\" + masa_no + \";\";\r\n ps = vb.con.prepareStatement(sorgu);\r\n rs = ps.executeQuery(sorgu);\r\n\r\n while (rs.next()) {\r\n kull.add(rs.getInt(1));\r\n }\r\n System.out.println(\"mutfak kullanici girdi\");\r\n System.out.println(kull);\r\n } catch (Exception e) {\r\n System.out.println(\"Mutfak kullanicisini alirken hata olustu\");\r\n return null;\r\n }\r\n\r\n for (Integer kullanici_no : kull) {\r\n boolean durum = false;\r\n String deger = \"\";\r\n String sorgu2 = \"select kullanici_adi from kullanicilar where kullanici_no=\" + kullanici_no + \" and durum='MUTFAK';\";\r\n try {\r\n ps = vb.con.prepareStatement(sorgu2);\r\n rs1 = ps.executeQuery(sorgu2);\r\n while (rs1.next()) {\r\n deger = rs1.getString(1);\r\n\r\n if (deger != null) {\r\n kullad.add(deger);\r\n System.out.println(\"null\");\r\n System.out.println(deger);\r\n }\r\n System.out.println(kullad);\r\n durum = true;\r\n }\r\n } catch (Exception e) {\r\n durum = false;\r\n }\r\n\r\n System.out.println(kullad);\r\n\r\n }\r\n vb.con.close();\r\n return kullad;\r\n\r\n }", "ArrayList<Float> znajdzOstatecznaCeneCenaNaNajblizszeSloty()\n\t{\n\t\t//getInput(\"znajdzOstatecznaCeneCenaNaNajblizszeSloty -start\");\n\t\t\n\t\t\n\t\t//wez wszystkie ceny \n\t\t//moze byc brane od dowolnego prosumenta wiec 0 tez jest ok\n\t\tArrayList<Point> L1 = listaFunkcjiUzytecznosci.get(0);\n\t\t\n\t\tArrayList<Float> L2 = new ArrayList<Float>();\n\t\t\n\t\tint i=0;\n\t\twhile (i<L1.size())\n\t\t{\n\t\t\tfloat cena = L1.get(i).getPrice();\n\t\t\tL2.add(cena);\n\t\t\t//print(cena);\n\t\t\ti++;\n\t\t}\n\t\t\n\t\t//print (Arrays.toString(L2.toArray()));\n\t\t\n\t\t//getInput(\"znajdzOstatecznaCeneCenaNaNajblizszeSloty -end\");\n\t\t\n\t\treturn L2;\n\t}", "private static int sum(List<Integer> L, int i,int j) {\n\t\tSystem.out.println(L+\"\\n\"+\"index i = \"+i+\"\\n\"+\"index j = \"+j);\n\t\tList<Integer> subListToSum = new ArrayList<Integer>();\n\t\t\n\t\tif (i <= j) { //make sure that i is less than j so we have a sublist of at least one\n\t\t\tsubListToSum.addAll(L.subList(i, j));\n\t\t\t\n\t\t}\n\t\t\n\t\telse if (i > j) { //print out a error so the user knows what they did wrong\n\t\t\tSystem.out.println(\"index 'i' is more than index 'j'\");\n\t\t}\n\t\t\n\t\tint sizeList = L.size(); //only reaches here if i <= j\n\t\tSystem.out.println(\"size of list is: \" + sizeList);\n\t\tif (j <= sizeList & i <= sizeList) { //check to account for out of bounds and negatives\n\t\t\tint result = 0;\n\t\t\t\n\t\t\tfor (int allInts : subListToSum) {\n\t\t\t\tresult += allInts;\n\t\t\t};\n\t\t\t\n\t\t\tSystem.out.println(\"Sum(\" + i + \", \" + j + \")\" + \" = \" + result);\n\t\t}\n\t\t\n\t\treturn 0;\n\t}", "public Vector addJumMhsYgSudahHeregistrasi_v1(Vector vListInfoKelas) {\n \tif(vListInfoKelas!=null && vListInfoKelas.size()>0) {\n \t\t/*\n\t\t\t * tambah jumlah mhs perkelas ke dalam brs;\n\t\t\t */\n\t\t\tListIterator li = vListInfoKelas.listIterator();\n \t\ttry {\n \t\t\tContext initContext = new InitialContext();\n \t\t\tContext envContext = (Context)initContext.lookup(\"java:/comp/env\");\n \t\t\tds = (DataSource)envContext.lookup(\"jdbc\"+beans.setting.Constants.getDbschema());\n \t\t\tcon = ds.getConnection();\n \t\t\tstmt = con.prepareStatement(\"select NPMHS from DAFTAR_ULANG where THSMS=? and NPMHS=?\");\n \t\t\twhile(li.hasNext()) {\n \t\t\t\tString brs = (String)li.next();\n \t\t\t\t//System.out.println(\"brs=\"+brs);\n \t\t\t\tStringTokenizer st = new StringTokenizer(brs,\"$\");\n \t\t\tString kodeGabungan=st.nextToken();\n \t\t\tString idkmk1=st.nextToken();\n \t\t\tString idkur1=st.nextToken();\n \t\t\tString kdkmk1=st.nextToken();\n \t\t\tString nakmk1=st.nextToken();\n \t\t\tString thsms1=st.nextToken();\n \t\t\tString kdpst1=st.nextToken();\n \t\t\tString shift1=st.nextToken();\n \t\t\tString norutKlsPll1=st.nextToken();\n \t\t\tString initNpmInput1=st.nextToken();\n \t\t\tString latestNpmUpdate1=st.nextToken();\n \t\t\tString latesStatusInfo1=st.nextToken();\n \t\t\tString currAvailStatus1=st.nextToken();\n \t\t\tString locked1=st.nextToken();\n \t\t\tString npmdos1=st.nextToken();\n \t\t\tString nodos1=st.nextToken();\n \t\t\tString npmasdos1=st.nextToken();\n \t\t\tString noasdos1=st.nextToken();\n \t\t\tString canceled1=st.nextToken();\n \t\t\tString kodeKelas1=st.nextToken();\n \t\t\tString kodeRuang1=st.nextToken();\n \t\t\tString kodeGedung1=st.nextToken();\n \t\t\tString kodeKampus1=st.nextToken();\n \t\t\tString tknHrTime1=st.nextToken();\n \t\t\tString nmdos1=st.nextToken();\n \t\t\tString nmasdos1=st.nextToken();\n \t\t\tString enrolled1=st.nextToken();\n \t\t\tString maxEnrolled1=st.nextToken();\n \t\t\tString minEnrolled1=st.nextToken();\n \t\t\tString subKeterKdkmk1=st.nextToken();\n \t\t\tString initReqTime1=st.nextToken();\n \t\t\tString tknNpmApr1=st.nextToken();\n \t\t\tString tknAprTime1=st.nextToken();\n \t\t\tString targetTtmhs1=st.nextToken();\n \t\t\tString passed1=st.nextToken();\n \t\t\t\tString rejected1=st.nextToken();\n \t\t\t\tString konsen1=st.nextToken();\n \t\t\t\tString nmpst1=st.nextToken();\n \t\t\t\tString cuid1=st.nextToken();\n \t\t\t\tString listNpm=st.nextToken();\n \t\t\t\t\n \t\t\t\t\n \t\t\t\t\n \t\t\t\t\n \t\t\t\tStringTokenizer st1 = new StringTokenizer(listNpm,\",\");\n \t\t\t\tString listNpmHer = null;\n \t\t\t\twhile(st1.hasMoreTokens()) {\n \t\t\t\t\tString npm = st1.nextToken();\n \t\t\t\t\tstmt.setString(1,thsms1);\n \t\t\t\t\tstmt.setString(2,npm);\n \t\t\t\t\trs = stmt.executeQuery();\n \t\t\t\t\t\n \t\t\t\t\tif(rs.next()) {\n \t\t\t\t\t\tif(listNpmHer==null) {\n \t\t\t\t\t\t\tlistNpmHer = \"\";\n \t\t\t\t\t\t}\n \t\t\t\t\t\tlistNpmHer = listNpmHer+\",\"+npm;\n \t\t\t\t\t}\n \t\t\t\t}\n \t\t\t\tif(listNpmHer==null) {\n \t\t\t\t\tlistNpmHer = \"null\";\n \t\t\t\t}\n \t\t\t\tli.set(brs+\"$\"+listNpmHer);\n \t\t\t\t//System.out.println(\"listNpmHer=\"+listNpmHer);\n \t\t\t\t//System.out.println(thsms1+\"$\"+kdpst1+\"$\"+kdkmk1);\n \t\t\t\t//System.out.println(brs+\"$\"+i);\n \t\t\t}\n \t\t\t\n \t\t}\n \t\tcatch (NamingException e) {\n \t\t\te.printStackTrace();\n \t\t}\n \t\tcatch (SQLException ex) {\n \t\t\tex.printStackTrace();\n \t\t} \n \t\tfinally {\n \t\t\tif (rs!=null) try { rs.close(); } catch (Exception ignore){}\n \t\t\tif (stmt!=null) try { stmt.close(); } catch (Exception ignore){}\n \t\t\tif (con!=null) try { con.close();} catch (Exception ignore){}\n \t\t}\n \t}\n \treturn vListInfoKelas;\n }", "public void ispisiSveNapomene() {\r\n\t\tint i = 0;// redni broj napomene\r\n\t\tint brojac = 0;\r\n\t\tfor (Podsjetnik podsjetnik : lista) {\r\n\r\n\t\t\ti++;\r\n\t\t\tSystem.out.println(i + \")\" + podsjetnik);\r\n\t\t\tbrojac = i;\r\n\t\t}\r\n\t\tif (brojac == 0) {\r\n\t\t\tSystem.out.println(\"Nema unesenih napomena!!\");\r\n\t\t}\r\n\r\n\t}", "private void lisaaMiinaOikealle(int i, int j) {\n ArrayList<Ruutu> lista;\n if (i + 1 < x) {\n lista = this.ruudukko[i + 1];\n lista.get(j).setViereisetMiinat(1);\n if (j - 1 >= 0) {\n lista.get(j - 1).setViereisetMiinat(1);\n }\n if (j + 1 < x) {\n lista.get(j + 1).setViereisetMiinat(1);\n }\n }\n }", "public int getSum(List<Integer> a){\n\n int sum = 0;\n\n for(int i = 0; i<a.size(); i++){\n if(a.get(i)<0){\n continue;\n } else{\n sum +=a.get(i);\n }\n }\n return sum;\n }", "public void iniSumSubconjuntos(int[] conjunto, int sumD)\n {\n List<List<Integer>> subsets = new ArrayList<>();\n subsets.add(new ArrayList<>());\n String ns = \"\";\n int sum = 0;\n int nSum = 1;\n System.out.println(\"Subconjunto que suman \" + sumD);\n for (int x : conjunto)\n {\n int n = subsets.size();\n for (int i = 0; i < n; i++)\n {\n ArrayList<Integer> aux = new ArrayList(subsets.get(i));\n aux.add(x);\n subsets.add(aux);\n if (aux.size() >= 2)\n {\n //Ejecucion del hilo mientras hace las combinaciones\n //-->>Implementado en hilo\n int add = 0;\n String ssAux = \"\";\n ssAux += \"{ \";\n for (int j = 0; j < aux.size(); j++)\n {\n if (j == aux.size() - 1)\n {\n ssAux += aux.get(j);\n } else\n {\n ssAux += aux.get(j) + \", \";\n }\n add += aux.get(j);\n }\n ssAux += \" }\\n\";\n if (add == sumD)\n {\n //--> Aqui imprime el resultado\n //System.out.println(\"\" + ssAux);\n sum++;\n System.out.println(sum + \".-\" + ssAux + \"\\n\");\n s += ssAux;\n } else\n {\n ns += nSum + \".- \" + ssAux + \"\\n\";\n nSum++;\n }\n }\n }\n }\n //System.out.println(\"Subconjuntos que suman \" + sumD + \"\\n\" + s + \" Total de resultados: \" + sum + \"\");\n System.out.println(\"\\n----------------------------------------------------------------------------------------\");\n System.out.println(\"Subconjuntos que NO suman \" + sumD + \"\\n\" + ns + \"Total de resultados: \" + nSum);\n //System.out.println(\"PPSubconjuntos\");\n /*subsets.forEach(System.out::println);*/\n }", "public ArrayList<ArrayList<Float>> predykcjaCenNaRynkuLokalnym()\n\t{\n\t\tfloat cenaMinimalnaNaRynkuLokalnym= Stale.cenaMinimalnaNaRynkuLokalnym;\n\t\tfloat cenaMaksymalnaNaRynkuLokalnym = Stale.cenaDystrybutoraZewnetrznego;\n\t\t\n\t\t//tu siedzi to rozroznienie czy z generatora czy predykcja z poprzendiej symualcji\n\t\tArrayList<Float> normalnaPredykcja = pierwszaPredykcja();\n\t\tpriceVectorsList.add(normalnaPredykcja);\n\t\t\n\t\tArrayList<ArrayList<Float>> listaPredykcjiCen= new ArrayList<ArrayList<Float>>();\n\t\t\n\t\t\n\t\t//nizsza \n\t\tArrayList<Float> predykcjaZNizszaCena=new ArrayList<Float>(normalnaPredykcja);\t\t\n\t\tArrayList<Float> predykcjaZWyzszaCena=new ArrayList<Float>(normalnaPredykcja);\n\t\t\n\t\tfloat nizszaCena =(normalnaPredykcja.get(0)+cenaMinimalnaNaRynkuLokalnym)/2 ;\n\t\tfloat wyzszaCena=(normalnaPredykcja.get(0)+cenaMaksymalnaNaRynkuLokalnym)/2;\n\t\t\n\t\tpredykcjaZNizszaCena.set(0, nizszaCena);\n\t\tpredykcjaZWyzszaCena.set(0, wyzszaCena);\n\t\t\n\t\tlistaPredykcjiCen.add(predykcjaZNizszaCena);\n\t\tlistaPredykcjiCen.add(normalnaPredykcja);\n\t\tlistaPredykcjiCen.add(predykcjaZWyzszaCena);\n\t\t\n\t\t//reporting - zapisz zadeklarowan cene\n\t\trynekHistory.dodajZadeklarowanaCene(normalnaPredykcja.get(0));\n\t\t\n\t\t\n\t\treturn listaPredykcjiCen;\t\n\t}", "ArrayList<Float> pierwszaPredykcjaWezPredykcjeZListy()\n\t{\n\t\tArrayList<Float> L1 = new ArrayList<Float>();\n\t\t\n\t\tint i=0;\n\t\twhile (i<Stale.horyzontCzasowy && (LokalneCentrum.getTimeIndex()+i)<listaCenWczytanaZPliku.size())\n\t\t{\n\t\t\tL1.add(listaCenWczytanaZPliku.get(LokalneCentrum.getTimeIndex()+i));\n\t\t\ti++;\n\t\t}\n\t\t\n\t\treturn L1;\n\t}", "private void ucitajPodatke() {\n \n DefaultListModel<Voznja> m = new DefaultListModel<>();\n obrada.getPodaci().forEach(s->m.addElement(s));\n lstPodaci.setModel(m);\n\n }", "int getSuma();", "private float getSubSum(){\n float sum = 0;\n for(int i = 0; i < subList.size(); i++){\n sum = sum + subList.get(i).getCost();\n }\n return sum;\n }", "public void realizacjap34() {\n System.out.println(\"REALIZACJA PUNKTU 3\\n\");\n\n System.out.println(\"\\nWyszukiwanie osob po imieniu (Piotr) ============================================================================\\n\");\n NarzedziaWyszukiwania.znajdzOsobyPoImieniu(Listy.osoby, \"Piotr\").forEach(System.out::println);\n\n System.out.println(\"\\nWyszukiwanie osob po nazwisku (Oleszczuk) ============================================================================\\n\");\n NarzedziaWyszukiwania.znajdzOsobyPoNazwisku(Listy.osoby, \"Oleszczuk\").forEach(System.out::println);\n\n System.out.println(\"\\nWyszukiwanie osob po stazu pracy mniejszym niz 10============================================================================\\n\");\n NarzedziaWyszukiwania.znajdzPracownikowPoStazuPracyMniejszymNiz(Listy.osoby, 10).forEach(System.out::println);\n\n System.out.println(\"\\nWyszukiwanie osob po stazu pracy większym niz 10============================================================================\\n\");\n NarzedziaWyszukiwania.znajdzPracownikowPoStazuPracyWiekszymNiz(Listy.osoby, 10).forEach(System.out::println);\n\n System.out.println(\"\\nWyszukiwanie osob po stazu pracy równym 5============================================================================\\n\");\n NarzedziaWyszukiwania.znajdzPracownikowPoStazuPracyRownym(Listy.osoby, 5).forEach(System.out::println);\n\n System.out.println(\"\\nWyszukiwanie osob po liczbie nadgodzin mniejszej niz 6 ============================================================================\\n\");\n NarzedziaWyszukiwania.znajdzPracownikowPoNadgodzinachMniejszychNiz(Listy.osoby, 6).forEach(System.out::println);\n\n System.out.println(\"\\nWyszukiwanie osob po liczbie nadgodzin wiekszej niz 6 ============================================================================\\n\");\n NarzedziaWyszukiwania.znajdzPracownikowPoNadgodzinachWiekszychNiz(Listy.osoby, 6).forEach(System.out::println);\n\n System.out.println(\"\\nWyszukiwanie osob po liczbie nadgodzin równej 6 ============================================================================\\n\");\n NarzedziaWyszukiwania.znajdzPracownikowPoNadgodzinachRownych(Listy.osoby, 6).forEach(System.out::println);\n\n System.out.println(\"\\nWyszukiwanie osob po pensji wiekszej niz 15000 ============================================================================\\n\");\n NarzedziaWyszukiwania.znajdzPracownikowPoPensjiWiekszejNiz(Listy.osoby, 15000).forEach(System.out::println);\n\n System.out.println(\"\\nWyszukiwanie osob po pensji mniejszej niz 15000 ============================================================================\\n\");\n NarzedziaWyszukiwania.znajdzPracownikowPoPensjiMniejszejNiz(Listy.osoby, 15000).forEach(System.out::println);\n\n System.out.println(\"\\nWyszukiwanie osob po pensji rownej 15000 ============================================================================\\n\");\n NarzedziaWyszukiwania.znajdzPracownikowPoPensjiRownej(Listy.osoby, 15000).forEach(System.out::println);\n\n System.out.println(\"\\nWyszukiwanie osob po stanowisku (Adiunkt) ============================================================================\\n\");\n NarzedziaWyszukiwania.znajdzPracownikowPoStanowisku(Listy.osoby, \"Adiunkt\").forEach(System.out::println);\n\n System.out.println(\"\\nWyszukiwanie studenta po numerze indeksu (123456) ============================================================================\\n\");\n System.out.println(NarzedziaWyszukiwania.znajdzStudentaPoIndeksie(Listy.osoby, \"123456\"));\n\n System.out.println(\"\\nWyszukiwanie studentów po roku studiów (1) ============================================================================\\n\");\n NarzedziaWyszukiwania.znajdzStudentowPoRokuStudiow(Listy.osoby, 1).forEach(System.out::println);\n\n System.out.println(\"\\nWyszukiwanie studentów po kierunku (Informatyka Stosowana) ============================================================================\\n\");\n NarzedziaWyszukiwania.znajdzStudentowPoKierunku(Listy.osoby, \"Informatyka Stosowana\").forEach(System.out::println);\n\n System.out.println(\"\\nWyszukiwanie kursu po nazwie (Analiza Matematyczna 1) ============================================================================\\n\");\n System.out.println(NarzedziaWyszukiwania.znajdzKursPoNazwie(Listy.kursy, \"Analiza Matematyczna 1\"));\n\n System.out.println(\"\\nWyszukiwanie kursów po liczbie ects (5) ============================================================================\\n\");\n NarzedziaWyszukiwania.znajdzKursyPoECTS(Listy.kursy, 5).forEach(System.out::println);\n\n System.out.println(\"\\nWyszukiwanie kursów po prowadzacym+\"+Listy.osoby.get(0).getImie()+\" \"+Listy.osoby.get(0).getNazwisko()+\" ============================================================================\\n\");\n NarzedziaWyszukiwania.znajdzKursyPoProwadzacym(Listy.kursy, Listy.osoby.get(0)).forEach(System.out::println);\n\n\n //REALIZACJA PUNKTU 4\n System.out.println(\"=====================================================================================================================\");\n System.out.println(\"REALIZACJA PUNKTU 4\");\n System.out.println(\"=====================================================================================================================\\n\");\n System.out.println(\"Kursy:\\n\");\n for (Kurs kurs : Listy.kursy) {\n System.out.println(kurs.toString());\n }\n\n System.out.println(\"\\nOsoby:\\n\");\n for (Osoba osoba : Listy.osoby) {\n System.out.println(\"OSOBA====================================================================================================\");\n System.out.println(osoba.toString());\n System.out.println();\n }\n }", "void rozpiszKontraktyPart2EV(int index,float wolumenHandlu, float sumaKupna,float sumaSprzedazy )\n\t{\n\t\t//wektor z ostatecznie ustalona cena\n\t\t//rozpiszKontrakty() - wrzuca jako ostatnia cene cene obowiazujaa na lokalnym rynku \n\t\tArrayList<Float> priceVector = priceVectorsList.get(priceVectorsList.size()-1);\n\n\t\t\n\t\t//ograniczenia handlu prosumenta\n\t\tArrayList<DayData> constrainMarkerList = new ArrayList<DayData>();\n\t\t\n\t\t//ograniczenia handlu EV\n\t\tArrayList<DayData> constrainMarkerListEV = new ArrayList<DayData>();\n\t\t\n\t\t//print(listaFunkcjiUzytecznosci.size());\n\t\t//getInput(\"rozpiszKontraktyPart2EV first stop\");\n\t\t\n\t\tint i=0;\n\t\twhile(i<listaFunkcjiUzytecznosci.size())\n\t\t{\n\t\t\t\n\t\t\t//lista funkcji uzytecznosci o indeksie i\n\t\t\tArrayList<Point> L1\t=listaFunkcjiUzytecznosci.get(i);\n\t\t\t\n\t\t\t//point z cena = cena rynkowa\n\t\t\tPoint point = L1.get(index);\n\t\t\t\n\t\t\t\n\t\t\tDayData d =rozpiszKontraktyPointToConstrainMarker(point, wolumenHandlu, sumaKupna, sumaSprzedazy, i);\n\t\t\t\n\t\t\tif (i<Stale.liczbaProsumentow)\n\t\t\t{\n\t\t\t\tconstrainMarkerList.add(d);\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tconstrainMarkerListEV.add(d);\n\t\t\t\t\n\t\t\t\t/*print(d.getKupuj());\n\t\t\t\tprint(d.getConsumption());\n\t\t\t\tprint(d.getGeneration());\n\t\t\t\t\n\t\t\t\tgetInput(\"rozpiszKontraktyPart2EV - Ostatni kontrakt\");*/\n\t\t\t}\n\n\t\t\t\n\t\t\t//print(\"rozpiszKontraktyPart2EV \"+i);\n\t\t\ti++;\n\t\t}\n\t\t\n\t\tArrayList<Prosument> listaProsumentow =listaProsumentowWrap.getListaProsumentow();\n\n\t\t//wyywolaj pobranie ontraktu\n\t\ti=0;\n\t\twhile (i<Stale.liczbaProsumentow)\n\t\t{\n\t\t\tif (i<constrainMarkerListEV.size())\n\t\t\t{\n\t\t\t\t((ProsumentEV)listaProsumentow.get(i)).getKontrakt(priceVector,constrainMarkerList.get(i),constrainMarkerListEV.get(i));\n\t\t\t\t//print(\"constrainMarkerListEV \"+i);\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tlistaProsumentow.get(i).getKontrakt(priceVector,constrainMarkerList.get(i));\n\t\t\t}\n\t\t\ti++;\n\t\t}\n\t\t\n\t\t//getInput(\"rozpiszKontraktyPart2EV -end\");\n\t}", "private String syuneri_gumar(ArrayList<Integer> syun, int size) {\n int summa = 0, i = 0;\n do {\n summa = summa + syun.get(i);\n i++;\n }\n while (i < size);\n return \"\" + summa;\n }", "public static List<Integer> czytanieMotorniczego(){\r\n int numerMotorniczego;\r\n int wiek=0;\r\n int doswiadczenie = 0;\r\n String line;\r\n OdczytZPliku plik = new OdczytZPliku();\r\n InputStream zawartosc = plik.pobierzZPliku(\"bazamotorniczych.txt\");\r\n String numerWStringu = String.valueOf( numerMotorniczego = (int) (Math.random() * 4));\r\n try (InputStreamReader odczyt = new InputStreamReader(zawartosc, StandardCharsets.UTF_8);\r\n BufferedReader czytaj = new BufferedReader(odczyt)) {\r\n while ((line = czytaj.readLine()) != null) {\r\n if (line.equals(numerWStringu)) {\r\n wiek = Integer.parseInt(czytaj.readLine());\r\n doswiadczenie = Integer.parseInt(czytaj.readLine());\r\n break;\r\n }\r\n else{\r\n for (int i = 0; i < 2; i++) {\r\n line = czytaj.readLine();\r\n }\r\n }\r\n }\r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n }\r\n return List.of(numerMotorniczego, wiek, doswiadczenie);\r\n }", "public int fondMagasin(){\n\tint total =this.jeton;\n\tfor(Caisse c1 : this.lesCaisses){\n\ttotal = c1.getTotal()+total;\n\t}\n\treturn total;\n}", "public static void trazenjeVozila(Iznajmljivac o) {\n\t\tLocalDate pocetniDatum = UtillMethod.unosDatum(\"pocetni\");\n\t\tLocalDate krajnjiDatum = UtillMethod.unosDatum(\"krajnji\");\n\t\tSystem.out.println(\"------------------------------------\");\n\t\tSystem.out.println(\"Provera dostupnosti vozila u toku...\\n\");\n\t\tArrayList<Vozilo> dostupnaVoz = new ArrayList<Vozilo>();\n\t\tint i = 0;\n\t\tfor (Vozilo v : Main.getVozilaAll()) {\n\t\t\tif (!postojiLiRezervacija(v, pocetniDatum, krajnjiDatum) && !v.isVozObrisano()) {\n\t\t\t\tSystem.out.println(i + \"-\" + v.getVrstaVozila() + \"-\" + \"Registarski broj\" + \"-\" + v.getRegBR()\n\t\t\t\t\t\t+ \"-Potrosnja na 100km-\" + v.getPotrosnja100() + \"litara\");\n\t\t\t\ti++;\n\t\t\t\tdostupnaVoz.add(v);\n\t\t\t}\n\t\t}\n\t\tif (i > 0) {\n\t\t\tSystem.out.println(\"------------------------------------------------\");\n\t\t\tSystem.out.println(\"Ukucajte kilometrazu koju planirate da predjete:\");\n\t\t\tdouble km = UtillMethod.unesiteBroj();\n\t\t\tint km1 = (int) km;\n\t\t\tporedjenjeVozila d1 = new poredjenjeVozila(km1);\n\t\t\tCollections.sort(dostupnaVoz,d1);\n\t\t\tint e = 0;\n\t\t\tfor(Vozilo v : dostupnaVoz) {\n\t\t\t\tdouble temp = cenaTroskaVoz(v, km, v.getGorivaVozila().get(0));\n\t\t\t\tSystem.out.println(e + \" - \" + v.getVrstaVozila()+ \"-Registarski broj: \"+ v.getRegBR()+\" | \"+ \"Cena na dan:\"+v.getCenaDan() +\" | Broj sedista:\"+ v.getBrSedist()+ \" | Broj vrata:\"+ v.getBrVrata() + \"| Cena troskova puta:\" + temp + \" Dinara\");\n\t\t\t\te++;\n\t\t\t}\n\t\t\tSystem.out.println(\"---------------------------------------\");\n\t\t\tSystem.out.println(\"Unesite redni broj vozila kojeg zelite:\");\n\t\t\tint redniBroj = UtillMethod.unesiteInt();\n\t\t\tif (redniBroj < dostupnaVoz.size()) {\n\t\t\t\tDateTimeFormatter formatters = DateTimeFormatter.ofPattern(\"dd/MM/yyyy\");\n\t\t\t\tString pocetni = pocetniDatum.format(formatters);\n\t\t\t\tString krajnji = krajnjiDatum.format(formatters);\n\t\t\t\tdouble cena = UtillMethod.cenaIznaj(pocetniDatum, krajnjiDatum, dostupnaVoz.get(redniBroj));\n\t\t\t\tRezervacija novaRez = new Rezervacija(dostupnaVoz.get(redniBroj), o, cena, false, pocetni, krajnji);\n\t\t\t\tMain.getRezervacijeAll().add(novaRez);\n\t\t\t\tSystem.out.println(\"Uspesno ste napravili rezervaciju!\");\n\t\t\t\tSystem.out.println(\"---------------------------------\");\n\t\t\t\tSystem.out.println(novaRez);\n\t\t\t\tSystem.out.println(\"---------------------------------\");\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"Uneli ste pogresan redni broj!\");\n\t\t\t}\n\t\t} else {\n\t\t\tSystem.out.println(\"Nema dostupnih vozila za rezervaaciju.\");\n\t\t}\n\t}", "public void ZbierzTowaryKlas() {\n\t\tSystem.out.println(\"ZbierzTowaryKlas\");\n\t\tfor(int i=0;i<Plansza.getTowarNaPlanszy().size();i++) {\n\t\t\tfor(Towar towar : Plansza.getTowarNaPlanszy()) {\n\t\t\t\t\n\t\t\t\tif(Plansza.getNiewolnikNaPLanszy().getXpolozenie()-1 <= towar.getXtowar() && Plansza.getNiewolnikNaPLanszy().getXpolozenie()+1 >= towar.getXtowar()) \n\t\t\t\t\tif(Plansza.getNiewolnikNaPLanszy().getYpolozenie()-1 <= towar.getYtowar() && Plansza.getNiewolnikNaPLanszy().getYpolozenie()+1 >= towar.getYtowar()) {\n\t\t\t\t\t\tPlansza.getNiewolnikNaPLanszy().ZbieranieTowarow(towar);\n\t\t\t\t\t\t//Szansa Niewolnika na zdobycie dwoch razy wiecej towarow\n\t\t\t\t\t\tif(GeneratorRandom.RandomOd0(101) <= ZapisOdczyt.getNiewolnicySzansa()) {\n\t\t\t\t\t\t\tPlansza.getNiewolnikNaPLanszy().ZbieranieTowarow(towar);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tPlansza.getTowarNaPlanszy().remove(towar);\n\t\t\t\t\t\tPlansza.getNiewolnikNaPLanszy().setLicznikTowarow(Plansza.getNiewolnikNaPLanszy().getLicznikTowarow()+1);\n\t\t\t\t\t\ti--;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif(Plansza.getRzemieslnikNaPlanszy().getXpolozenie()-1 <= towar.getXtowar() && Plansza.getRzemieslnikNaPlanszy().getXpolozenie()+1 >= towar.getXtowar()) \n\t\t\t\t\tif(Plansza.getRzemieslnikNaPlanszy().getYpolozenie()-1 <= towar.getYtowar() && Plansza.getRzemieslnikNaPlanszy().getYpolozenie()+1 >= towar.getYtowar()) {\n\t\t\t\t\t\tPlansza.getRzemieslnikNaPlanszy().ZbieranieTowarow(towar);\n\t\t\t\t\t\tPlansza.getTowarNaPlanszy().remove(towar);\n\t\t\t\t\t\tPlansza.getRzemieslnikNaPlanszy().setLicznikTowarow(Plansza.getRzemieslnikNaPlanszy().getLicznikTowarow()+1);\n\t\t\t\t\t\ti--;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif(Plansza.getArystokrataNaPlanszy().getXpolozenie()-1 <= towar.getXtowar() && Plansza.getArystokrataNaPlanszy().getXpolozenie()+1 >= towar.getXtowar()) \n\t\t\t\t\tif(Plansza.getArystokrataNaPlanszy().getYpolozenie()-1 <= towar.getYtowar() && Plansza.getArystokrataNaPlanszy().getYpolozenie()+1 >= towar.getYtowar()) {\n\t\t\t\t\t\tPlansza.getArystokrataNaPlanszy().ZbieranieTowarow(towar);\n\t\t\t\t\t\tPlansza.getTowarNaPlanszy().remove(towar);\n\t\t\t\t\t\tPlansza.getArystokrataNaPlanszy().setLicznikTowarow(Plansza.getArystokrataNaPlanszy().getLicznikTowarow()+1);\n\t\t\t\t\t\ti--;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "private void lisaaMiinaVasemmalle(int i, int j) {\n ArrayList<Ruutu> lista;\n if (i - 1 >= 0) {\n lista = this.ruudukko[i - 1];\n lista.get(j).setViereisetMiinat(1);\n if (j - 1 >= 0) {\n lista.get(j - 1).setViereisetMiinat(1);\n }\n if (j + 1 < x) {\n lista.get(j + 1).setViereisetMiinat(1);\n }\n }\n }", "public Double darCostoRuteo(List<Ruta>r){\n\t\tDouble respuesta=0.0;\n\t\tfor(int i=0;i<r.size();i++){\n\t\t\trespuesta+=r.get(i).costosTotales;\n\t\t}\n\t\treturn respuesta;\n\t}", "public static int sumList(ArrayList<Integer> list)\n {\n int sum = 0;\n for (int value: list)\n {\n \n sum+=value;\n \n //list.add(7);\n }\n \n return sum;\n }", "public ListaPracownikow() {\n generujPracownikow();\n //dodajPracownika();\n }", "double getSum();", "double getSum();", "private Karta kartaErabaki(ArrayList<ArrayList<Karta>> pMatrizea) \r\n\t{\r\n\t\tKarta karta = (Karta) new KartaNormala(ElementuMota.ELURRA,0,KoloreMota.BERDEA);\r\n\t\tfor(int i=0;i<pMatrizea.size();i++) \r\n\t\t{\r\n\t\t\tfor(int x=0;x<5;x++) \r\n\t\t\t{\r\n\t\t\t\tif(pMatrizea.get(i).get(0).getElementua()!=pMatrizea.get(i).get(1).getElementua() &&\r\n\t\t\t\t\t\tpMatrizea.get(i).get(0).getElementua()!=this.lortuJolastekoKartaPosz(x).getElementua() &&\r\n\t\t\t\t\t\tpMatrizea.get(i).get(1).getElementua()!=this.lortuJolastekoKartaPosz(x).getElementua() &&\r\n\t\t\t\t\t\tpMatrizea.get(i).get(0).getKolorea()!=this.lortuJolastekoKartaPosz(x).getKolorea() &&\r\n\t\t\t\t\t\tpMatrizea.get(i).get(1).getKolorea()!=this.lortuJolastekoKartaPosz(x).getKolorea() &&\r\n\t\t\t\t\t\tthis.lortuJolastekoKartaPosz(x).getBalioa()>karta.getBalioa() &&\r\n\t\t\t\t\t\tthis.lortuJolastekoKartaPosz(x).getErabilgarria()) \r\n\t\t\t\t{\r\n\t\t\t\t\tkarta = lortuJolastekoKartaPosz(x);\r\n\t\t\t\t}\r\n\t\t\t\tif(pMatrizea.get(i).get(0).getElementua()==pMatrizea.get(i).get(1).getElementua() &&\r\n\t\t\t\t\t\tpMatrizea.get(i).get(0).getElementua()==this.lortuJolastekoKartaPosz(x).getElementua() &&\r\n\t\t\t\t\t\tpMatrizea.get(i).get(1).getElementua()==this.lortuJolastekoKartaPosz(x).getElementua() &&\r\n\t\t\t\t\t\tpMatrizea.get(i).get(0).getKolorea()!=this.lortuJolastekoKartaPosz(x).getKolorea() &&\r\n\t\t\t\t\t\tpMatrizea.get(i).get(1).getKolorea()!=this.lortuJolastekoKartaPosz(x).getKolorea() &&\r\n\t\t\t\t\t\tthis.lortuJolastekoKartaPosz(x).getBalioa()>karta.getBalioa() &&\r\n\t\t\t\t\t\tthis.lortuJolastekoKartaPosz(x).getErabilgarria()) \r\n\t\t\t\t{\r\n\t\t\t\t\tkarta = this.lortuJolastekoKartaPosz(x);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn karta;\r\n\t}", "public Vector addJumMhs(Vector vListInfoKelas) {\n \t/*\n \t * unreusable cuma adhock fix\n \t */\n \tif(vListInfoKelas!=null && vListInfoKelas.size()>0) {\n \t\t/*\n\t\t\t * tambah jumlah mhs perkelas ke dalam brs;\n\t\t\t */\n\t\t\tListIterator li = vListInfoKelas.listIterator();\n \t\ttry {\n \t\t\tContext initContext = new InitialContext();\n \t\t\tContext envContext = (Context)initContext.lookup(\"java:/comp/env\");\n \t\t\tds = (DataSource)envContext.lookup(\"jdbc\"+beans.setting.Constants.getDbschema());\n \t\t\tcon = ds.getConnection();\n \t\t\t//String sqlstmt = \"select NPMHSTRNLM,KODE_KAMPUS_DOMISILI from TRNLM inner join CIVITAS c on NPMHSTRNLM=NPMHSMSMHS inner join OBJECT o on c.ID_OBJ = o.ID_OBJ\";\n \t\t\t//sqlstmt = sqlstmt + \" where THSMSTRNLM=? and KDPSTTRNLM=? and KDKMKTRNLM=?\";\n \t\t\tstmt = con.prepareStatement(\"select * from TRNLM where THSMSTRNLM=? and KDPSTTRNLM=? and KDKMKTRNLM=?\");\n \t\t //stmt = con.prepareStatement(sqlstmt);\n \t\t\twhile(li.hasNext()) {\n \t\t\t\tString brs = (String)li.next();\n \t\t\t\tStringTokenizer st = new StringTokenizer(brs,\"$\");\n \t\t\tString kodeGabungan=st.nextToken();\n \t\t\tString idkmk1=st.nextToken();\n \t\t\tString idkur1=st.nextToken();\n \t\t\tString kdkmk1=st.nextToken();\n \t\t\tString nakmk1=st.nextToken();\n \t\t\tString thsms1=st.nextToken();\n \t\t\tString kdpst1=st.nextToken();\n \t\t\tString shift1=st.nextToken();\n \t\t\tString norutKlsPll1=st.nextToken();\n \t\t\tString initNpmInput1=st.nextToken();\n \t\t\tString latestNpmUpdate1=st.nextToken();\n \t\t\tString latesStatusInfo1=st.nextToken();\n \t\t\tString currAvailStatus1=st.nextToken();\n \t\t\tString locked1=st.nextToken();\n \t\t\tString npmdos1=st.nextToken();\n \t\t\tString nodos1=st.nextToken();\n \t\t\tString npmasdos1=st.nextToken();\n \t\t\tString noasdos1=st.nextToken();\n \t\t\tString canceled1=st.nextToken();\n \t\t\tString kodeKelas1=st.nextToken();\n \t\t\tString kodeRuang1=st.nextToken();\n \t\t\tString kodeGedung1=st.nextToken();\n \t\t\tString kodeKampus1=st.nextToken();\n \t\t\tString tknHrTime1=st.nextToken();\n \t\t\tString nmdos1=st.nextToken();\n \t\t\tString nmasdos1=st.nextToken();\n \t\t\tString enrolled1=st.nextToken();\n \t\t\tString maxEnrolled1=st.nextToken();\n \t\t\tString minEnrolled1=st.nextToken();\n \t\t\tString subKeterKdkmk1=st.nextToken();\n \t\t\tString initReqTime1=st.nextToken();\n \t\t\tString tknNpmApr1=st.nextToken();\n \t\t\tString tknAprTime1=st.nextToken();\n \t\t\tString targetTtmhs1=st.nextToken();\n \t\t\tString passed1=st.nextToken();\n \t\t\t\tString rejected1=st.nextToken();\n \t\t\t\tString konsen1=st.nextToken();\n \t\t\t\tString nmpst1=st.nextToken();\n \t\t\t\tstmt.setString(1,thsms1);\n \t\t\t\tstmt.setString(2,kdpst1);\n \t\t\t\tstmt.setString(3,kdkmk1);\n \t\t\t\trs = stmt.executeQuery();\n \t\t\t\t//int i = 0;\n \t\t\t\tString listNpm = null;\n \t\t\t\t\n \t\t\t\tVector vTmp = new Vector();\n \t\t\t\tListIterator liTmp = vTmp.listIterator();\n \t\t\t\twhile(rs.next()) {\n \t\t\t\t\tString kodeKampusDomisili = \"\"+rs.getString(\"KODE_KAMPUS\");\n \t\t\t\t\tString npmhs = rs.getString(\"NPMHSTRNLM\");\n \t\t\t\t\tif(kodeKampus1.equalsIgnoreCase(kodeKampusDomisili)) {\n \t\t\t\t\t\tliTmp.add(npmhs);\n \t\t\t\t\t}\n \t\t\t\t}\n \t\t\t\tvTmp = Tool.removeDuplicateFromVector(vTmp);\n \t\t\t\tliTmp = vTmp.listIterator();\n \t\t\t\twhile(liTmp.hasNext()) {\n \t\t\t\t\tif(listNpm==null) {\n \t\t\t\t\t\tlistNpm=\"\";\n \t\t\t\t\t}\n \t\t\t\t\tString npmhs = (String)liTmp.next();\n \t\t\t\t\tlistNpm = listNpm+npmhs;\n \t\t\t\t\tif(liTmp.hasNext()) {\n \t\t\t\t\t\tlistNpm = listNpm+\",\";\n \t\t\t\t\t}\t\n \t\t\t\t}\t\n \t\t\t\t/*\n \t\t\t\twhile(rs.next()) {\n \t\t\t\t\tif(listNpm==null) {\n \t\t\t\t\t\tlistNpm = \"\";\n \t\t\t\t\t}\n \t\t\t\t\tString npmhs = rs.getString(\"NPMHSTRNLM\");\n \t\t\t\t\tlistNpm = listNpm+\",\"+npmhs;\n \t\t\t\t\t//i++;\n \t\t\t\t}\n \t\t\t\t*/\n \t\t\t\tif(listNpm==null||Checker.isStringNullOrEmpty(listNpm)) {\n \t\t\t\t\tlistNpm = \"null\";\n \t\t\t\t}\n \t\t\t\t//System.out.println(\"listNpm=\"+listNpm);\n \t\t\t\tli.set(brs+\"$\"+listNpm);\n \t\t\t\t//System.out.println(\"listNpm=\"+listNpm);\n \t\t\t\t//System.out.println(thsms1+\"$\"+kdpst1+\"$\"+kdkmk1);\n \t\t\t\t//System.out.println(brs+\"$\"+i);\n \t\t\t}\n \t\t\t/*\n \t\t\tstmt = con.prepareStatement(\"select KODE_KAMPUS_DOMISILI from CIVITAS inner join OBJECT on CIVITAS.ID_OBJ=OBJECT.ID_OBJ where KDPSTMSMHS=? and NPMHSMSMHS=?\");\n \t\t\tli = vListInfoKelas.listIterator();\n \t\t\twhile(li.hasNext()) {\n \t\t\t\tString brs = (String)li.next();\n \t\t\t\tStringTokenizer st = new StringTokenizer(brs,\"$\");\n \t\t\tString kodeGabungan=st.nextToken();\n \t\t\tString idkmk1=st.nextToken();\n \t\t\tString idkur1=st.nextToken();\n \t\t\tString kdkmk1=st.nextToken();\n \t\t\tString nakmk1=st.nextToken();\n \t\t\tString thsms1=st.nextToken();\n \t\t\tString kdpst1=st.nextToken();\n \t\t\tString shift1=st.nextToken();\n \t\t\tString norutKlsPll1=st.nextToken();\n \t\t\tString initNpmInput1=st.nextToken();\n \t\t\tString latestNpmUpdate1=st.nextToken();\n \t\t\tString latesStatusInfo1=st.nextToken();\n \t\t\tString currAvailStatus1=st.nextToken();\n \t\t\tString locked1=st.nextToken();\n \t\t\tString npmdos1=st.nextToken();\n \t\t\tString nodos1=st.nextToken();\n \t\t\tString npmasdos1=st.nextToken();\n \t\t\tString noasdos1=st.nextToken();\n \t\t\tString canceled1=st.nextToken();\n \t\t\tString kodeKelas1=st.nextToken();\n \t\t\tString kodeRuang1=st.nextToken();\n \t\t\tString kodeGedung1=st.nextToken();\n \t\t\tString kodeKampus1=st.nextToken();\n \t\t\tString tknHrTime1=st.nextToken();\n \t\t\tString nmdos1=st.nextToken();\n \t\t\tString nmasdos1=st.nextToken();\n \t\t\tString enrolled1=st.nextToken();\n \t\t\tString maxEnrolled1=st.nextToken();\n \t\t\tString minEnrolled1=st.nextToken();\n \t\t\tString subKeterKdkmk1=st.nextToken();\n \t\t\tString initReqTime1=st.nextToken();\n \t\t\tString tknNpmApr1=st.nextToken();\n \t\t\tString tknAprTime1=st.nextToken();\n \t\t\tString targetTtmhs1=st.nextToken();\n \t\t\tString passed1=st.nextToken();\n \t\t\t\tString rejected1=st.nextToken();\n \t\t\t\tString nmpst1=st.nextToken();\n \t\t\t\tString listNpm1=st.nextToken();\n \t\t\t\tStringTokenizer st2 = new StringTokenizer(listNpm1,\",\");\n \t\t\t\tlistNpm1 = null;\n \t\t\t\tboolean first = true;;\n \t\t\t\twhile(st2.hasMoreTokens()) {\n \t\t\t\t\tString npm = st2.nextToken();\n \t\t\t\t\tstmt.setString(1,kdpst1);\n \t\t\t\t\tstmt.setString(2,npm);\n \t\t\t\t\trs = stmt.executeQuery();\n \t\t\t\t\tString kampusDomisili = null;\n \t\t\t\t\t\n \t\t\t\t\tif(rs.next()) {\n \t\t\t\t\t\tkampusDomisili = \"\"+rs.getString(\"KODE_KAMPUS_DOMISILI\");\n \t\t\t\t\t\tif(kodeKampus1.equalsIgnoreCase(kampusDomisili)) {\n \t\t\t\t\t\t\tif(first) {\n \t\t\t\t\t\t\t\tlistNpm1=\"\";\n \t\t\t\t\t\t\t\tfirst = false;\n \t\t\t\t\t\t\t\tlistNpm1=npm;\n \t\t\t\t\t\t\t}\n \t\t\t\t\t\t\telse {\n \t\t\t\t\t\t\t\tlistNpm1=listNpm1+\",\"+npm;\n \t\t\t\t\t\t\t}\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \t\t\t\t\telse {\n \t\t\t\t\t\tlistNpm1=\"null\";\n \t\t\t\t\t}\n \t\t\t\t}\n \t\t\t\t\n \t\t\t\tli.set(kodeGabungan+\"$\"+idkmk1+\"$\"+idkur1+\"$\"+kdkmk1+\"$\"+nakmk1+\"$\"+thsms1+\"$\"+kdpst1+\"$\"+shift1+\"$\"+norutKlsPll1+\"$\"+initNpmInput1+\"$\"+latestNpmUpdate1+\"$\"+latesStatusInfo1+\"$\"+currAvailStatus1+\"$\"+locked1+\"$\"+npmdos1+\"$\"+nodos1+\"$\"+npmasdos1+\"$\"+noasdos1+\"$\"+canceled1+\"$\"+kodeKelas1+\"$\"+kodeRuang1+\"$\"+kodeGedung1+\"$\"+kodeKampus1+\"$\"+tknHrTime1+\"$\"+nmdos1+\"$\"+nmasdos1+\"$\"+enrolled1+\"$\"+maxEnrolled1+\"$\"+minEnrolled1+\"$\"+subKeterKdkmk1+\"$\"+initReqTime1+\"$\"+tknNpmApr1+\"$\"+tknAprTime1+\"$\"+targetTtmhs1+\"$\"+passed1+\"$\"+rejected1+\"$\"+nmpst1+\"$\"+listNpm1);\n \t\t\t}\n \t\t\t*/\t\n \t\t}\n \t\tcatch (NamingException e) {\n \t\t\te.printStackTrace();\n \t\t}\n \t\tcatch (SQLException ex) {\n \t\t\tex.printStackTrace();\n \t\t} \n \t\tcatch (Exception e) {\n \t\t\te.printStackTrace();\t\n \t\t}\n \t\tfinally {\n \t\t\tif (rs!=null) try { rs.close(); } catch (Exception ignore){}\n \t\t\tif (stmt!=null) try { stmt.close(); } catch (Exception ignore){}\n \t\t\tif (con!=null) try { con.close();} catch (Exception ignore){}\n \t\t}\n \t}\n \treturn vListInfoKelas;\n }", "@Override\n public double calcularValorCompra(ArrayList<Mueble> muebles){\n double total = 0d;\n for (Mueble m : muebles) {\n total+= m.getCantidad()*m.getPrecio();\n }\n return total; \n }", "public ArrayList<Cuenta> verClientesConMasDinero() {\n ArrayList<Cuenta> lista = new ArrayList<>();\n try {\n PreparedStatement PrSt;\n ResultSet rs = null;\n String Query = \"SELECT sum(Credito) as Dinero, c.Codigo_Cliente as Codigo, l.Nombre as Nombre FROM Cuenta c join Cliente l on c.Codigo_Cliente = l.Codigo group by Codigo_Cliente order by sum(Credito) desc limit 10\";\n PrSt = conexion.prepareStatement(Query);\n rs = PrSt.executeQuery();\n while (rs.next()) {\n Cuenta cuenta = new Cuenta();\n cuenta.setCredito(rs.getDouble(\"Dinero\"));\n cuenta.setCodigo_cliente(rs.getString(\"Codigo\"));\n cuenta.setCodigo(rs.getString(\"Nombre\"));\n lista.add(cuenta);\n }\n PrSt.close();\n rs.close();\n } catch (SQLException e) {\n System.out.println(e.toString());\n }\n return lista;\n }", "public void zpracujObjednavky()\n\t{\n\t\tint idtmp = 0;\n\t\tfloat delkaCesty = 0;\n\t\t\n\t\tif (this.objednavky.isEmpty())\n\t\t{\n\t\t\treturn ;\n\t\t}\n\t\t\n\t\tNakladak nakl = (Nakladak) getVolneAuto();\n\t\t\n\t\tnakl.poloha[0] = this.poloha[0];\n\t\tnakl.poloha[1] = this.poloha[1];\n\t\tObjednavka ob = this.objednavky.remove();\n\n\t\t/*System.out.println();\n\t\tSystem.out.println(\"Objednavka hospody:\" + ob.id + \" se zpracuje pres trasu: \");\n\t\t */\n\t\tdelkaCesty += vyberCestu(this.id, ob.id, nakl);\n\t\t\n\t\twhile(nakl.pridejObjednavku(ob))\n\t\t{\n\t\t\tidtmp = ob.id;\n\t\t\t\n\t\t\tob = vyberObjednavku(ob.id);\n\t\t\tif (ob == null)\n\t\t\t{\n\t\t\t\tob=nakl.objednavky.getLast();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tobjednavky.remove(ob);\n\t\t\t\n\t\t\tdelkaCesty += vyberCestu(idtmp, ob.id, nakl);\n\t\t\t\n\t\t\tif((nakl.objem > 24)||(13-Simulator.getCas().hodina)*(nakl.RYCHLOST) + 100 < delkaCesty){\n\t\t\t\t//System.out.println(\"Nakladak ma \"+nakl.objem);\n\t\t\t\tnakl.kDispozici = false;\n\t\t\t\t//System.out.println(\"Auto jede \" + delkaCesty + \"km\");\n\t\t\t\tbreak;\t\t\n\t\t\t}\n\t\t\t/*\n\t\t\tif((Simulator.getCas().hodina > 12) && (delkaCesty > 80) ){\n\t\t\t\t//System.out.println(\"Nakladak ma \"+nakl.objem);\n\t\t\t\tnakl.kDispozici = false;\n\t\t\t\t//System.out.println(\"Auto jede \" + delkaCesty + \"km\");\n\t\t\t\tbreak;\t\t\n\t\t\t}\n\t\t\t\n\t\t\tif((Simulator.getCas().hodina > 9) && (delkaCesty > 130) ){\n\t\t\t\t//System.out.println(\"Nakladak ma \"+nakl.objem);\n\t\t\t\tnakl.kDispozici = false;\n\t\t\t\t//System.out.println(\"Auto jede \" + delkaCesty + \"km\");\n\t\t\t\tbreak;\t\t\n\t\t\t}*/\n\t\t\t\n\t\t}\n\t\t\n\t\t\n\t\t//cesta zpatky\n\t\tvyberCestu(ob.id, this.id, nakl);\n\t\tif (nakl.objem >= 1)\n\t\t{\n\t\t\tnakl.kDispozici = false;\n\t\t\tnakl.jede = true;\n\t\t\t//vytvoreni nove polozky seznamu pro statistiku\n\t\t\tnakl.novaStatCesta();\n\t\t}\n\t\telse\n\t\t{\n\t\t\tnakl.resetCesta();\n\t\t}\n\t}", "private static int sum(List<Integer> counts) {\n int total = 0;\n for (int count : counts) {\n total += count;\n }\n return total;\n }", "public static List<List> calculateCost(List<List> papa_list){\n /*\n algo for evaluation:\n if contains 2 \n yes - check if also contains 1\n yes - drop it, continue\n no - count # of 2's, add points twice, continue\n no - check if contains 1\n yes - count # of 1's, subtract points, continue\n no - line of 0's - drop it\n */\n\n int points = 0;\n int count =0;\n for(int i=0;i<papa_list.size();i++){\n points = 0;\n List<Integer> temp = papa_list.get(i);\n if(temp.contains(2)){\n if(temp.contains(1)){\n temp.add(points);\n }\n else{\n count =0; \n for(int num : temp){\n if(num==2){\n count++;\n }\n }\n points+=count;\n //playing offensive game: you get more points for attacking (playing to win) rather than defensing (cancelling out opponent's move) \n //temp.add(2*points);\n temp.add(points);\n }\n }\n else if(temp.contains(1)){\n count =0; \n for(int num : temp){\n if(num==1){\n count--;\n }\n }\n points+=count;\n temp.add(points);\n }\n else{\n temp.add(points);\n }\n }\n return papa_list; \n }", "ArrayList<Float> pierwszaPredykcja()\n\t{\n\t\tif (Stale.scenariusz<100)\n\t\t{\n\t\t\treturn pierwszaPredykcjaNormal();\n\t\t}\n\t\telse\n\t\t{\n\t\t\t//dla scenariusza testowego cnea predykcji jest ustawiana na 0.30\n\t\t\tArrayList<Float> L1 = new ArrayList<>();\n\t\t\tL1.add(0.30f);\n\t\t\treturn L1;\n\t\t}\n\t}", "public static int[] totalCost(ArrayList<Medicine> list){\n int x[] = new int[3];// to save all (cost and sales)\n for(int i = 0; i<list.size(); i++){\n x[0] += list.get(i).getUnitCost();// save total cost in here\n x[1] += list.get(i).getSalesPrice(); // save total sale in here\n }\n x[2] = x[0]-x[1]; // calculate net cost\n return x;\n }", "public void StampaPotenziali()\r\n {\r\n System.out.println(\"----\"+this.nome+\"----\\n\"); \r\n \r\n if(!Potenziale.isEmpty())\r\n {\r\n Set<Entry<Integer,ArrayList<Carta>>> Es = Potenziale.entrySet();\r\n \r\n for(Entry<Integer,ArrayList<Carta>> E : Es)\r\n {\r\n System.out.println(\" -OPZIONE \"+E.getKey()+\"\");\r\n\r\n for(Carta c : E.getValue())\r\n {\r\n System.out.println(\" [ \"+c.GetName()+\" ]\");\r\n }\r\n \r\n System.out.println(\"\\n\");\r\n }\r\n }\r\n else\r\n {\r\n System.out.println(\"-NESSUNA CARTA O COMBINAZIONE DI CARTE ASSOCIATA-\\n\");\r\n }\r\n }", "public static void main(String[] args) {\n ArrayList<Persona> cola = new ArrayList<>();\r\n \r\n generarCola(cola);\r\n \r\n //Creamos variables que nos seran útiles\r\n double recaudacion;\r\n double recaudacionTotal=0;\r\n Persona espectadorActual;\r\n int edadActual;\r\n int contadorPersonas=0;\r\n \r\n //Creamos el iterator\r\n Iterator<Persona> it=cola.iterator();\r\n \r\n \r\n //Recorremos la cola\r\n while(it.hasNext()){\r\n \r\n espectadorActual=it.next();\r\n \r\n //\"Atendemos\" al espectador para que pague\r\n edadActual=espectadorActual.getEdad();\r\n \r\n //Comprobamosla edad\r\n if(edadActual>=5 && edadActual<=10) { \r\n \trecaudacion=1; \r\n } else if(edadActual>=11 && edadActual<=17) {\r\n \trecaudacion=2.5;\r\n } else {\r\n \trecaudacion=3.5;\r\n }\r\n contadorPersonas++;\r\n recaudacionTotal+=recaudacion;\r\n \r\n System.out.println(\"Una persona de \"+edadActual+\" años se le ha cobrado \" +recaudacion+ \" euros\");\r\n \r\n }\r\n \r\n //Mostramos el resultado\r\n System.out.println(\"La recaudación es de \"+recaudacionTotal+\" euros y han venido \"+contadorPersonas);\r\n \r\n }", "public double sum() {\n double resultat = 0;\n for (int i = 0; i < tab.size(); i++) {\n resultat += CalculatorArray.sum(tab.get(i));\n }\n System.out.println(\"Sum colonne:\" + resultat);\n return resultat;\n }", "public void dodajZmijuPocetak() {\n\t\tthis.zmija.add(new Cvor(1,4));\n\t\tthis.zmija.add(new Cvor(1,3));\n\t\tthis.zmija.add(new Cvor(1,2));\n\t\t\n\t\tint i = this.zmija.get(0).i;\n\t\tint j = this.zmija.get(0).j;\n\t\tthis.tabla[i][j] = 'O';\n\t\t\n\t\tfor (int k = 1; k < this.zmija.size(); k++) {\n\t\t\ti = this.zmija.get(k).i;\n\t\t\tj = this.zmija.get(k).j;\n\t\t\tthis.tabla[i][j] = 'o';\n\t\t}\t\n\t}", "public void urciStupneVrcholu(){\n\t\tfor(int i = 0;i < vrchP.length; i++){\n\t\t\tstupenVrcholu(vrchP[i].klic);\n\t\t}\n\t}", "@Override\n\tpublic double totalPresentase(UUID idPemb) {\n\t\tQuery query = sessionFactory.getCurrentSession().createQuery(\"SELECT sum(k.persentase_komponen) as res \"\n\t\t\t\t+ \"FROM komponen_nilai k WHERE id_pemb='\" + idPemb + \"'\");\n\t\tList<Object[]> results = (List<Object[]>)query.list();\n\t\tfor (Object[] result : results) {\n\t\t\tdouble res = (Double) result[0];\n\t\t\tSystem.out.println(res);\n\t\t}\n\t\treturn 0;\n\t}", "private static <V> int buscarArbol(V pValor, List<Graph<V>> pLista) {\n for (int x = 1; x <= pLista.size(); x++) {\n Graph<V> arbol = pLista.get(x);\n Iterator<V> it1 = arbol.iterator();\n while (it1.hasNext()) {\n V aux = it1.next();\n if (aux.equals(pValor)) {\n return x;\n }\n }\n }\n return 0;\n }", "private static void statistique(){\n\t\tfor(int i = 0; i<7; i++){\n\t\t\tfor(int j = 0; j<7; j++){\n\t\t\t\tfor(int l=0; l<jeu.getJoueurs().length; l++){\n\t\t\t\t\tif(jeu.cases[i][j].getCouleurTapis() == jeu.getJoueurs()[l].getNumJoueur()){\n\t\t\t\t\t\tjeu.getJoueurs()[l].setTapis(jeu.getJoueurs()[l].getTapisRest()+1);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tJoueur j;\n\t\tSystem.out.println(\"// Fin de la partie //\");\n\t\tfor(int i=0; i<jeu.getJoueurs().length; i++) {\n\t\t\tj =jeu.getJoueurs()[i];\n\t\t\tSystem.out.println(\"Joueur \"+ (j.getNumJoueur()+1) + \" a obtenue \"+j.getTapisRest()+j.getMonnaie()+\" points\" );\n\t\t}\n\t}", "public static void getMejorbeneficios(ArrayList<BeneficiosCovid19> lista1, ArrayList<BeneficiosCovid19> lista2){\n\n // obetjo de la clase BeneficiosCovid19 para almacenar los datos mayores\n BeneficiosCovid19 beneficiosMayores = new BeneficiosCovid19();\n\n //Variable para implementar el Wrapper del objeto tipo Float\n float valor = 0;\n\n //Almacenamos valor = 0\n beneficiosMayores.setValorSubsidio(valor);\n\n // Ciclo para obtener el subsidio mayor\n for (int i = 0;i< lista1.size();i++) {\n BeneficiosCovid19 auxiliarCovid = lista1.get(i);\n\n if (auxiliarCovid.getValorSubsidio() > beneficiosMayores.getValorSubsidio()){\n beneficiosMayores = auxiliarCovid;\n }\n }\n\n // Ciclo para obtener el ID mayor\n for (int i = 0;i< lista2.size();i++) {\n BeneficiosCovid19 auxiliarCovid2 = lista2.get(i);\n if (auxiliarCovid2.getValorSubsidio() > beneficiosMayores.getValorSubsidio()){\n beneficiosMayores = auxiliarCovid2;\n }\n }\n\n // Mostra resultado de las busquedas\n System.out.println(\"El id del subsidio mayor es: \" + beneficiosMayores.getId());\n System.out.println(\"El nombre subsidio mayor es: \" + beneficiosMayores.getNombre());\n System.out.println(\"El valor subsidio mayor es: \" + beneficiosMayores.getValorSubsidio());\n\n }", "public void totalFacturaVenta(){\n BigDecimal totalVentaFactura = new BigDecimal(0);\n \n try{\n //Recorremos la lista de detalle y calculamos la Venta total de la factura\n for(Detallefactura det: listDetalle){\n //Sumamos a la variable 'totalVentaFactura'\n totalVentaFactura = totalVentaFactura.add(det.getTotal());\n } \n }catch(Exception e){\n e.printStackTrace();\n }\n \n //Setemos al objeto Factura el valor de la variable 'totalFacturaVenta'\n factura.setTotalVenta(totalVentaFactura);\n \n }", "public void sumarUnidad() {\r\n\t\tcantidad++;\r\n\t}", "public Vector listaAsignaturasTotal(String nombre_titulacion)\n {\n try\n { \n //Se obtiene una conexion\n Connection conexion = this.bbdd.getConexion();\n\n //Se prepara la query\n String query = \"SELECT * FROM asignaturatotal \";\n query += \"WHERE tit_nombre='\"+nombre_titulacion+\"' AND activa = 's'\";\n\n //Se crea un vector de asignaturas\n Vector vectorAsignaturas = new Vector();\n\n //Se ejecuta la query\n Statement st = conexion.createStatement();\n ResultSet resultado = st.executeQuery(query);\n\n //Para cada fila se creará un objeto y se rellenará\n //con los valores de las columnas.\n while(resultado.next())\n {\n asignatura asignatura = new asignatura();\n\n asignatura.setCodigo(resultado.getString(\"codigo\"));\n asignatura.setTitulo(resultado.getString(\"titulo\"));\n asignatura.setFechaInicio(resultado.getDate(\"fechainicio\"));\n asignatura.setFechaFin(resultado.getDate(\"fechafin\"));\n asignatura.setResponsable(resultado.getString(\"responsable\"));\n asignatura.setEmail(resultado.getString(\"email\"));\n asignatura.setTelefono(resultado.getString(\"telefono\"));\n\n //Se añade la asignatura al vector de asignaturas\n vectorAsignaturas.add(asignatura);\n }\n\n //Se cierra la conexión\n this.bbdd.cerrarConexion(conexion);\n\n return vectorAsignaturas;\n }\n catch(SQLException e)\n {\n System.out.println(\"Error al acceder a las asignaturas de la Base de Datos: \"+e.getMessage());\n return null;\n }\n }", "@Override\n public USMoney calculatePrice() {\n USMoney sumPrice = new USMoney();\n for (int i = 0; i < curArrayIndex; i++) {\n sumPrice = sumPrice.add(items[i].getPrice());\n if (items[i].isFragile()) {\n sumPrice.addTo(10, 0);\n }\n }\n sumPrice.addTo(100, 0);\n return sumPrice;\n }", "public List<String> Garsonkullanici(int masa_no) throws SQLException {\n ArrayList<Integer> kull = new ArrayList<>();\r\n ArrayList<String> kullad = new ArrayList<>();\r\n sqlsorgular.baglanti vb = new baglanti();\r\n vb.baglan();\r\n try {\r\n\r\n String sorgu = \"select kullanici_no from ilisk_masa where masa_no=\" + masa_no + \";\";\r\n ps = vb.con.prepareStatement(sorgu);\r\n rs = ps.executeQuery(sorgu);\r\n\r\n while (rs.next()) {\r\n kull.add(rs.getInt(1));\r\n }\r\n System.out.println(kull);\r\n } catch (Exception e) {\r\n System.out.println(\"Garson kullanicisini alirken hata olustu\");\r\n\r\n }\r\n\r\n for (Integer kullanici_no : kull) {\r\n String deger = \" \";\r\n String sorgu2 = \"select kullanici_adi from kullanicilar where kullanici_no=\" + kullanici_no + \" and durum='GARSON';\";\r\n try {\r\n ps = vb.con.prepareStatement(sorgu2);\r\n rs = ps.executeQuery(sorgu2);\r\n while (rs.next()) {\r\n deger = rs.getString(1);\r\n\r\n if (deger != null) {\r\n kullad.add(deger);\r\n }\r\n }\r\n } catch (Exception e) {\r\n System.out.println(\"Garson kullanici Alinirken hata oldu\");\r\n }\r\n\r\n System.out.println(kullad);\r\n\r\n }\r\n vb.con.close();\r\n return kullad;\r\n\r\n }", "public List<MovimentoPorCanalDeVendaVO> validaSelecionaEmissaoPorCanal(String movimento) {\n\n\t\tList<MovimentoPorCanalDeVendaVO> list = new ArrayList<MovimentoPorCanalDeVendaVO>(listaEmissaoPorCanal);\n\n\t\tList<MovimentoPorCanalDeVendaVO> listTotal = new ArrayList<MovimentoPorCanalDeVendaVO>();\n\n\t\tString[] mesesTotaisValor = { \"0.0\", \"0.0\", \"0.0\", \"0.0\", \"0.0\", \"0.0\", \"0.0\", \"0.0\", \"0.0\", \"0.0\", \"0.0\",\n\t\t\t\t\"0.0\" };\n\n\t\tString[] mesesTotaisQuantidade = { \"0\", \"0\", \"0\", \"0\", \"0\", \"0\", \"0\", \"0\", \"0\", \"0\", \"0\", \"0\" };\n\n\t\tString anoTotal = null;\n\t\tString produtoTotal = null;\n\n\t\tint qtdQuantidade = 0;\n\t\tint qtdValor = 0;\n\n\t\tfor (int i = 0; i < list.size(); i++) {\n\t\t\tif (!(list.get(i).getMovimento().trim().equalsIgnoreCase(movimento.trim()))) {\n\t\t\t\tlist.remove(i);\n\t\t\t\ti--;\n\t\t\t}\n\t\t}\n\n\t\tfor (MovimentoPorCanalDeVendaVO objLista : list) {\n\t\t\tif (objLista.getTipo().equalsIgnoreCase(\"Valor\")) {\n\t\t\t\tqtdValor++;\n\t\t\t} else if (objLista.getTipo().equalsIgnoreCase(\"Quantidade\")) {\n\t\t\t\tqtdQuantidade++;\n\t\t\t}\n\t\t}\n\t\tint indiceElementoNaoEncontrado = 0;\n\t\tif (qtdValor != qtdQuantidade) {\n\n\t\t\tif (qtdValor > qtdQuantidade) {// Valor eh maior\n\t\t\t\touter: for (int i = 0; i < list.size(); i++) {\n\t\t\t\t\tif (list.get(i).getTipo().equalsIgnoreCase(\"Valor\")) {\n\n\t\t\t\t\t\t// System.out.println();\n\t\t\t\t\t\t//\n\t\t\t\t\t\t// System.out.print(\" 1 | \"\n\t\t\t\t\t\t// + list.get(i).getCanalDeVenda());\n\t\t\t\t\t\t// System.out.println();\n\n\t\t\t\t\t\tfor (int j = 0; j < list.size(); j++) {\n\t\t\t\t\t\t\tint achou = -1;\n\t\t\t\t\t\t\tif (list.get(j).getTipo().equalsIgnoreCase(\"Quantidade\")) {\n\n\t\t\t\t\t\t\t\t// System.out.print(\" 2 | \"\n\t\t\t\t\t\t\t\t// + list.get(j).getCanalDeVenda());\n\t\t\t\t\t\t\t\t// System.out.println();\n\n\t\t\t\t\t\t\t\tif (list.get(i).getCanalDeVenda().equals(list.get(j).getCanalDeVenda())) {\n\t\t\t\t\t\t\t\t\tachou = j;\n\t\t\t\t\t\t\t\t\tcontinue outer;\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\tif (j == list.size() - 1 && achou == -1) {\n\t\t\t\t\t\t\t\t\tindiceElementoNaoEncontrado = i;\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}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tString[] meses = { \"0\", \"0\", \"0\", \"0\", \"0\", \"0\", \"0\", \"0\", \"0\", \"0\", \"0\", \"0\" };\n\n\t\t\t\tMovimentoPorCanalDeVendaVO canalVendaVazio = new MovimentoPorCanalDeVendaVO();\n\t\t\t\tcanalVendaVazio.setCanalDeVenda(list.get(indiceElementoNaoEncontrado).getCanalDeVenda());\n\t\t\t\tcanalVendaVazio.setProduto(list.get(indiceElementoNaoEncontrado).getProduto());\n\t\t\t\tcanalVendaVazio.setTipo(\"Quantidade\");\n\t\t\t\tcanalVendaVazio.setMeses(meses);\n\n\t\t\t\tlist.add(((list.size() + 1) / 2 + indiceElementoNaoEncontrado), canalVendaVazio);// aqui\n\t\t\t\t/* estou ordenando tudo que é tipo 'Valor' antes de 'Quantidade' */\n\t\t\t} else {// Qtd eh maior\n\t\t\t\touter: for (int i = 0; i < list.size(); i++) {\n\t\t\t\t\tif (list.get(i).getTipo().equalsIgnoreCase(\"Quantidade\")) {\n\n\t\t\t\t\t\t// System.out.println();\n\t\t\t\t\t\t//\n\t\t\t\t\t\t// System.out.print(\" 1 | \"\n\t\t\t\t\t\t// + list.get(i).getCanalDeVenda());\n\t\t\t\t\t\t// System.out.println();\n\n\t\t\t\t\t\tfor (int j = 0; j < list.size(); j++) {\n\t\t\t\t\t\t\tint achou = -1;\n\t\t\t\t\t\t\tif (list.get(j).getTipo().equalsIgnoreCase(\"Valor\")) {\n\n\t\t\t\t\t\t\t\t// System.out.print(\" 2 | \"+\n\t\t\t\t\t\t\t\t// list.get(j).getCanalDeVenda());\n\t\t\t\t\t\t\t\t// System.out.println();\n\n\t\t\t\t\t\t\t\tif (list.get(i).getCanalDeVenda().equals(list.get(j).getCanalDeVenda())) {\n\t\t\t\t\t\t\t\t\tachou = j;\n\t\t\t\t\t\t\t\t\tcontinue outer;\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\tif (j == list.size() - 1 && achou == -1) {\n\t\t\t\t\t\t\t\t\tindiceElementoNaoEncontrado = i;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tString[] meses = { \"0\", \"0\", \"0\", \"0\", \"0\", \"0\", \"0\", \"0\", \"0\", \"0\", \"0\", \"0\" };\n\n\t\t\t\tMovimentoPorCanalDeVendaVO canalVendaVazio = new MovimentoPorCanalDeVendaVO();\n\t\t\t\tcanalVendaVazio.setCanalDeVenda(list.get(indiceElementoNaoEncontrado).getCanalDeVenda());\n\t\t\t\tcanalVendaVazio.setProduto(list.get(indiceElementoNaoEncontrado).getProduto());\n\t\t\t\tcanalVendaVazio.setTipo(\"Valor\");\n\t\t\t\tcanalVendaVazio.setMeses(meses);\n\n\t\t\t\tlist.add(((list.size() + 1) / 2 + indiceElementoNaoEncontrado), canalVendaVazio);// aqui\n\t\t\t\t/* estou ordenando tudo que é tipo 'Valor' antes de 'Quantidade' */\n\n\t\t\t}\n\n\t\t}\n\n\t\t/*\n\t\t * ===Primeiro crio os objetos com os totais=========\n\t\t */\n\t\tfor (MovimentoPorCanalDeVendaVO emi : list) {\n\n\t\t\tif (emi.getTipo().equals(\"Valor\")) {\n\n\t\t\t\tfor (int i = 0; i < emi.getMeses().length; i++) {\n\t\t\t\t\tmesesTotaisValor[i] = new BigDecimal(mesesTotaisValor[i]).add(new BigDecimal(emi.getMeses()[i]))\n\t\t\t\t\t\t\t.toString();\n\t\t\t\t}\n\n\t\t\t} else if (emi.getTipo().equals(\"Quantidade\")) {\n\n\t\t\t\tfor (int i = 0; i < emi.getMeses().length; i++) {\n\t\t\t\t\tmesesTotaisQuantidade[i] = Integer.toString(\n\t\t\t\t\t\t\t(Integer.parseInt(mesesTotaisQuantidade[i]) + Integer.parseInt(emi.getMeses()[i])));\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tanoTotal = emi.getAno();\n\t\t\tprodutoTotal = emi.getProduto();\n\n\t\t}\n\n\t\tMovimentoPorCanalDeVendaVO totalValor = new MovimentoPorCanalDeVendaVO();\n\t\tMovimentoPorCanalDeVendaVO totalQuantidade = new MovimentoPorCanalDeVendaVO();\n\n\t\ttotalValor.setCanalDeVenda(\"Total\");\n\t\ttotalValor.setProduto(produtoTotal);\n\t\ttotalValor.setTipo(\"Valor\");\n\t\ttotalValor.setAno(anoTotal);\n\t\ttotalValor.setMeses(mesesTotaisValor);\n\t\tlistTotal.add(totalValor);\n\n\t\ttotalQuantidade.setCanalDeVenda(\"Total\");\n\t\ttotalQuantidade.setProduto(produtoTotal);\n\t\ttotalQuantidade.setTipo(\"Quantidade\");\n\t\ttotalQuantidade.setAno(anoTotal);\n\t\ttotalQuantidade.setMeses(mesesTotaisQuantidade);\n\t\tlistTotal.add(totalQuantidade);\n\n\t\t/*\n\t\t * ===Agora calculo os percentuais=========\n\t\t */\n\n\t\tfinal int VALOR = 0;\n\t\tfinal int QUANTIDADE = 1;\n\n\t\tDecimalFormat percentForm = new DecimalFormat(\"0.00%\");\n\t\tDecimalFormat roundForm = new DecimalFormat(\"0.00\");\n\t\tUteis uteis = new Uteis();\n\t\tList<MovimentoPorCanalDeVendaVO> listFinal = new ArrayList<MovimentoPorCanalDeVendaVO>();\n\n\t\tfor (int i = 0; i < list.size() / 2; i++) {\n\t\t\tMovimentoPorCanalDeVendaVO emissaoValor = new MovimentoPorCanalDeVendaVO();\n\t\t\t/* ===VALOR==== */\n\t\t\temissaoValor.setCanalDeVenda(list.get(i).getCanalDeVenda());\n\t\t\temissaoValor.setTipo(list.get(i).getTipo());\n\t\t\temissaoValor.setMeses(list.get(i).getMeses());\n\n\t\t\tMovimentoPorCanalDeVendaVO emissaoValorPercent = new MovimentoPorCanalDeVendaVO();\n\t\t\t/* ===%=VALOR==== */\n\t\t\temissaoValorPercent.setCanalDeVenda(list.get(i).getCanalDeVenda());\n\t\t\temissaoValorPercent.setTipo(\"% \" + list.get(i).getTipo());\n\n\t\t\tString[] mesesPercentValor = new String[12];\n\t\t\tfor (int k = 0; k < list.get(i).getMeses().length; k++) {\n\n\t\t\t\ttry {\n\t\t\t\t\tdouble total = Double.parseDouble(new BigDecimal(list.get(i).getMeses()[k])\n\t\t\t\t\t\t\t.divide(new BigDecimal(listTotal.get(VALOR).getMeses()[k]), 5, RoundingMode.HALF_DOWN)\n\t\t\t\t\t\t\t.toString());\n\t\t\t\t\tmesesPercentValor[k] = percentForm.format(total);\n\n\t\t\t\t} catch (ArithmeticException e) {\n\t\t\t\t\tmesesPercentValor[k] = \"0%\";\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t}\n\t\t\temissaoValorPercent.setMeses(mesesPercentValor);\n\n\t\t\tMovimentoPorCanalDeVendaVO emissaoQuantidade = new MovimentoPorCanalDeVendaVO();\n\t\t\t/* ===QUANTIDADE==== */\n\t\t\tint j = list.size() / 2;\n\t\t\temissaoQuantidade.setCanalDeVenda(list.get(j + i).getCanalDeVenda());\n\t\t\temissaoQuantidade.setTipo(list.get(j + i).getTipo());\n\t\t\temissaoQuantidade.setMeses(list.get(j + i).getMeses());\n\n\t\t\tMovimentoPorCanalDeVendaVO emissaoQuantidadePercent = new MovimentoPorCanalDeVendaVO();\n\t\t\t/* ===%=QUANTIDADE==== */\n\t\t\temissaoQuantidadePercent.setCanalDeVenda(list.get(j + i).getCanalDeVenda());\n\t\t\temissaoQuantidadePercent.setTipo(\"% \" + list.get(j + i).getTipo());\n\n\t\t\tString[] mesesPercentQuantidade = new String[12];\n\t\t\tfor (int k = 0; k < list.get(j + i).getMeses().length; k++) {\n\n\t\t\t\ttry {\n\n\t\t\t\t\tdouble total = Double.parseDouble(list.get(j + i).getMeses()[k])\n\t\t\t\t\t\t\t/ Double.parseDouble(listTotal.get(QUANTIDADE).getMeses()[k]);\n\t\t\t\t\tmesesPercentQuantidade[k] = percentForm\n\t\t\t\t\t\t\t.format(Double.toString(total).equalsIgnoreCase(\"NaN\") ? 0.0 : total);\n\n\t\t\t\t} catch (ArithmeticException e) {\n\t\t\t\t\tmesesPercentQuantidade[k] = \"0%\";\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t}\n\t\t\temissaoQuantidadePercent.setMeses(mesesPercentQuantidade);\n\n\t\t\tString[] valorFormatado = new String[12];\n\t\t\tfor (int k = 0; k < emissaoValor.getMeses().length; k++) {\n\t\t\t\tvalorFormatado[k] = uteis\n\t\t\t\t\t\t.insereSeparadoresMoeda(roundForm.format(Double.parseDouble(emissaoValor.getMeses()[k])));\n\n\t\t\t}\n\t\t\temissaoValor.setMeses(valorFormatado);\n\n\t\t\tString[] valorFormatado2 = new String[12];\n\t\t\tfor (int k = 0; k < emissaoQuantidade.getMeses().length; k++) {\n\t\t\t\tvalorFormatado2[k] = uteis.insereSeparadores(emissaoQuantidade.getMeses()[k]);\n\t\t\t}\n\t\t\temissaoQuantidade.setMeses(valorFormatado2);\n\n\t\t\tlistFinal.add(emissaoValor);\n\t\t\tlistFinal.add(emissaoValorPercent);\n\t\t\tlistFinal.add(emissaoQuantidade);\n\t\t\tlistFinal.add(emissaoQuantidadePercent);\n\n\t\t}\n\n\t\treturn listFinal;\n\n\t}", "private Double calcTotalPoints(TreeMap<Double, String> userlist) \r\n \t{\r\n \t\tDouble ret = 0.00;\r\n \t\tfor(Double key : userlist.keySet())\r\n \t\t{\r\n \t\t\tret += key; \r\n \t\t}\r\n \t\treturn ret;\r\n \t}", "public static void main(String[] args) {\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\tlist.add(new Integer(100));\n\t\tlist.add(200); // auto Boxing해서 list에 담는다.\n\t\tlist.add(300);\n\t\t\n\t\tint sum = 0;\n\t\tfor(int i = 0; i < list.size(); i++) {\n\t\t\t// int data = list.get(i).intValue();\n\t\t\tInteger ob = list.get(i);\n\t\t\t\n\t\t\t// sum = sum + ob.intValue();\n\t\t\t// sum = sum + ob;\n\t\t\tsum = sum + list.get(i); // auto Unboxing\n\t\t}\n\t\t\n\t\tSystem.out.println(\"총합 : \" + sum);\n\t}", "public String getSum();", "@Override\r\n public void kartSec(ArrayList<FutbolcuSinifi> fb, ArrayList<BasketbolcuSinifi> bb) {\n int b_count_pc = 0;\r\n int f_count_pc = 0;\r\n ArrayList<Integer> appended = new ArrayList<>();\r\n while (b_count_pc < 4 && f_count_pc < 4) {\r\n int random = (int) (Math.random() * 16);\r\n if (random <= 7 && !appended.contains(random)) {\r\n fb.get(random).setSporcuTakim(1);\r\n appended.add(fb.get(random).getSporcuId());\r\n f_count_pc++;\r\n }\r\n if (random >= 8 && !appended.contains(random)) {\r\n int index = 0;\r\n if (random >= 14) {\r\n index = (random == 14 ? 6 : 7);\r\n } else {\r\n index = (random % 7) - 1;\r\n }\r\n bb.get(index).setSporcuTakim(1);\r\n appended.add(bb.get(index).getSporcuId());\r\n b_count_pc++;\r\n }\r\n }\r\n\r\n while (f_count_pc < 4) {\r\n int random = (int) (Math.random() * 8);\r\n if (random <= 7 & !appended.contains(random)) {\r\n fb.get(random).setSporcuTakim(1);\r\n appended.add(fb.get(random).getSporcuId());\r\n f_count_pc++;\r\n }\r\n }\r\n\r\n while (b_count_pc < 4) {\r\n int random = (int) (Math.random() * 8) + 7;\r\n int index = (random == 14 ? 7 : ((random % 7) - 1));\r\n if (random >= 8 && !appended.contains(random)) {\r\n bb.get(index).setSporcuTakim(1);\r\n appended.add(bb.get(index).getSporcuId());\r\n b_count_pc++;\r\n }\r\n\r\n }\r\n \r\n\r\n }", "void berechneUmfang() {\r\n\t\tfor (int i = 1; i < m_ANZAHL_POINTS; i++) {\r\n\t\t\tm_umfang += m_pointArray[i].distance(m_pointArray[i-1]);\t\t\r\n\t\t}\r\n\t}", "public void DaneStartowe() {\n\t\tSystem.out.println(\"DaneStartowe\");\n\t\tPlansza.getNiewolnikNaPLanszy().setJedzenie(ZapisOdczyt.getPopulacjaStartowaNiewolnicy());\n\t\tPlansza.getNiewolnikNaPLanszy().setUbrania(ZapisOdczyt.getPopulacjaStartowaNiewolnicy());\n\t\tPlansza.getRzemieslnikNaPlanszy().setMaterialy(ZapisOdczyt.getPopulacjaStartowaRzemieslnicy());\n\t\tPlansza.getRzemieslnikNaPlanszy().setNarzedzia(ZapisOdczyt.getPopulacjaStartowaRzemieslnicy());\n\t\tPlansza.getArystokrataNaPlanszy().setZloto((int) (ZapisOdczyt.getPopulacjaStartowaArystokracja() + ZapisOdczyt.getArystokracjaWiekszaPopulacja()*ZapisOdczyt.getPopulacjaStartowaArystokracja()*0.01));\n\t\tPlansza.getArystokrataNaPlanszy().setTowary((int) (ZapisOdczyt.getPopulacjaStartowaArystokracja() + ZapisOdczyt.getArystokracjaWiekszaPopulacja()*ZapisOdczyt.getPopulacjaStartowaArystokracja()*0.01));\n\t}", "ArrayList<Float> pierwszaPredykcjaNormal()\n\t{\n\t\tif (Stale.cenyZGeneratora)\n\t\t{\n\t\t\tArrayList<Float> listaSumarycznejGeneracji = listaProsumentowWrap.getListaSumarycznejGeneracji(LokalneCentrum.getTimeIndex());\n\t\t\tArrayList<Float> listaSumarycznejKonsumpcji = listaProsumentowWrap.getListaSumarycznejKonsumpcji(LokalneCentrum.getTimeIndex());\n\n\t\t\treturn predictPrice(listaSumarycznejGeneracji,listaSumarycznejKonsumpcji);\n\t\t}\n\t\telse\n\t\t{\n\t\t\tArrayList<Float> proposedPriceVector = pierwszaPredykcjaWezPredykcjeZListy();\n\t\t\t\n\t\t\t//jezeli brakuje elementow w plikyu do pelnej predykcji an horyzont czasowy to uuzplenij dnaymi z modelu\n\t\t\tif (proposedPriceVector.size()<Stale.horyzontCzasowy)\n\t\t\t{\n\t\t\t\tArrayList<Float> listaSumarycznejGeneracji = listaProsumentowWrap.getListaSumarycznejGeneracji(LokalneCentrum.getTimeIndex());\n\t\t\t\tArrayList<Float> listaSumarycznejKonsumpcji = listaProsumentowWrap.getListaSumarycznejKonsumpcji(LokalneCentrum.getTimeIndex());\n\t\t\t\tArrayList<Float> cenyZmodelu =predictPrice(listaSumarycznejGeneracji,listaSumarycznejKonsumpcji);\n\t\t\t\t\n\t\t\t\tproposedPriceVector = polaczListy(proposedPriceVector, cenyZmodelu);\n\t\t\t\t\n\t\t\t\tif (proposedPriceVector.size()!=Stale.horyzontCzasowy)\n\t\t\t\t{\n\t\t\t\t\tgetInput(\"ERROR in pierwszaPredykcjaNormal\");\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\treturn proposedPriceVector;\n\t\t\t//podaj predykcje taka jak wynika z podanego pliku\n\t\t\t//getInput(\"Fill this part out - wczytaj rpedykcje z pliku!\");\n\t\t\t//return new ArrayList<Float>();\n\t\t}\n\t}", "public void alustaAlue() {\n if (x >= 1) {\n for (int i = 0; i < x; i++) {\n this.ruudukko[i] = new ArrayList<Ruutu>();\n for (int j = 0; j < x; j++) {\n this.ruudukko[i].add(new Ruutu(taso));\n }\n }\n for (int i = 0; i < x; i++) {\n for (int j = 0; j < x; j++) {\n ArrayList<Ruutu> lista = this.ruudukko[i];\n if (lista.get(j).isMiina()) {\n lisaaMiina(i, j);\n } else {\n this.ruudut++;\n }\n }\n }\n }\n\n }", "public static ArrayList<Integer> estadisticageneral() {\n\n\t\tArrayList<Integer> mensaje = new ArrayList<>();\n\n\t\tArrayList<Res> resesAntes = ResCRUD.select();\n\t\tArrayList<Res> resess = new ArrayList<>();\n\n\t\t\n\t\tfor (int i = 0; i < resesAntes.size(); i++) {\n\t\t\t\n\t\t\tif (resesAntes.get(i).getVivo()==1) {\n\t\t\t\t\n\t\t\t\tresess.add(resesAntes.get(i));\n\t\t\t}\n\t\t}\t\t\n\n\t\tArrayList<Potrero> potrero = PotreroCRUD.select();\n\n\t\tRes res = null;\n\n\t\tint potreros = potrero.size();\n\t\tint reses = resess.size();\n\t\tint hembras = 0;\n\t\tint machos = 0;\n\t\tint ch = 0;\n\t\tint hl = 0;\n\t\tint nv = 0;\n\t\tint vh = 0;\n\t\tint vp = 0;\n\t\tint cm = 0;\n\t\tint ml = 0;\n\t\tint mc = 0;\n\t\tint tp = 0;\n\n\t\tfor (int i = 0; i < resess.size(); i++) {\n\n\t\t\tres = resess.get(i);\n\n\t\t\tif (res.getGenero().equalsIgnoreCase(\"H\")) {\n\t\t\t\thembras++;\n\n\t\t\t\tswitch (res.getTipo()) {\n\n\t\t\t\tcase \"CH\":\n\n\t\t\t\t\tch++;\n\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase \"HL\":\n\n\t\t\t\t\thl++;\n\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase \"NV\":\n\n\t\t\t\t\tnv++;\n\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase \"VH\":\n\n\t\t\t\t\tvh++;\n\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase \"VP\":\n\n\t\t\t\t\tvp++;\n\t\t\t\t\tbreak;\n\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tif (res.getGenero().equalsIgnoreCase(\"M\")) {\n\t\t\t\tmachos++;\n\n\t\t\t\tswitch (res.getTipo()) {\n\n\t\t\t\tcase \"CM\":\n\n\t\t\t\t\tcm++;\n\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase \"ML\":\n\n\t\t\t\t\tml++;\n\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase \"MC\":\n\n\t\t\t\t\tmc++;\n\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase \"TP\":\n\n\t\t\t\t\ttp++;\n\n\t\t\t\t\tbreak;\n\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t}\n\n\t\tmensaje.add(potreros);\n\t\tmensaje.add(reses);\n\t\tmensaje.add(hembras);\n\t\tmensaje.add(machos);\n\t\tmensaje.add(ch);\n\t\tmensaje.add(hl);\n\t\tmensaje.add(nv);\n\t\tmensaje.add(vh);\n\t\tmensaje.add(vp);\n\t\tmensaje.add(cm);\n\t\tmensaje.add(ml);\n\t\tmensaje.add(mc);\n\t\tmensaje.add(tp);\n\n\t\treturn mensaje;\n\t}", "private static void kapazitaetPruefen(){\n\t\tList<OeffentlichesVerkehrsmittel> loev = new ArrayList<OeffentlichesVerkehrsmittel>();\n\t\t\n\t\tLinienBus b1 = new LinienBus();\n\t\tFaehrschiff f1 = new Faehrschiff();\n\t\tLinienBus b2 = new LinienBus();\t\n\t\t\n\t\tloev.add(b1);\n\t\tloev.add(b2);\n\t\tloev.add(f1);\n\t\t\n\t\tint zaehlung = 500;\n\t\tboolean ausreichend = kapazitaetPruefen(loev,500);\n\t\tp(\"Kapazitaet ausreichend? \" + ausreichend);\n\t\t\n\t}", "@Test\r\n public void testGetSumShouldReturnSumOfIntegersInNestedList() {\r\n nestedList=new NestedList();\r\n int sum=nestedList.getsum();\r\n assertEquals(420,sum);\r\n }", "public ListaBrojeva izdvojElmenteNaParnimPozicijama() {\n if (prvi != null) {\n ListaBrojeva parni = new ListaBrojeva();\n \n Element tek = prvi;\n Element preth = null;\n Element parniKraj = null;\n int br = 0;\n \n while (tek.veza != null) {\n preth = tek;\n tek = tek.veza;\n \n if (br % 2 != 0) {\n preth.veza = tek.veza;\n if (parni.prvi == null) {\n parni.prvi = tek;\n parniKraj = tek;\n tek.veza = null; \n } else {\n parniKraj.veza = tek;\n tek.veza = null;\n parniKraj = parniKraj.veza;\n }\n tek = preth;\n }\n br++;\n }\n /*prvi element iz liste je paran, ali je preskocen, \n tako da ga sad izbacujemo iz liste i dodajemo u novu*/\n Element pom = prvi;\n prvi = prvi.veza;\n pom.veza = parni.prvi;\n parni.prvi = pom;\n return parni;\n }\n return null;\n }", "public static List<StronaWiersza> pobierzStronaWierszazBazy(StronaWiersza stronaWiersza, String wnma, StronaWierszaDAO stronaWierszaDAO, TransakcjaDAO transakcjaDAO) {\r\n List<StronaWiersza> listaStronaWierszazBazy =new ArrayList<>();\r\n// stare = pobiera tylko w walucie dokumentu rozliczeniowego \r\n// listaNowychRozrachunkow = stronaWierszaDAO.findStronaByKontoWnMaWaluta(stronaWiersza.getKonto(), stronaWiersza.getWiersz().getTabelanbp().getWaluta().getSymbolwaluty(), stronaWiersza.getWnma());\r\n// nowe pobiera wszystkie waluty \r\n listaStronaWierszazBazy = stronaWierszaDAO.findStronaByKontoWnMa(stronaWiersza.getKonto(), wnma);\r\n //stronaWierszaDAO.refresh(listaStronaWierszazBazy);\r\n if (listaStronaWierszazBazy != null && !listaStronaWierszazBazy.isEmpty()) {\r\n try {\r\n DateFormat formatter;\r\n formatter = new SimpleDateFormat(\"yyyy-MM-dd\");\r\n String datarozrachunku = null;\r\n if (stronaWiersza.getWiersz().getDataWalutyWiersza() != null) {\r\n datarozrachunku = stronaWiersza.getWiersz().getDokfk().getRok()+\"-\"+stronaWiersza.getWiersz().getDokfk().getMiesiac()+\"-\"+stronaWiersza.getWiersz().getDataWalutyWiersza();\r\n } else {\r\n datarozrachunku = stronaWiersza.getWiersz().getDokfk().getDatadokumentu();\r\n }\r\n Date dataR = formatter.parse(datarozrachunku);\r\n Iterator it = listaStronaWierszazBazy.iterator();\r\n while(it.hasNext()) {\r\n StronaWiersza stronaWierszaZbazy = (StronaWiersza) it.next();\r\n List<Transakcja> zachowaneTransakcje = transakcjaDAO.findByNowaTransakcja(stronaWierszaZbazy);\r\n for (Iterator<Transakcja> itx = stronaWierszaZbazy.getPlatnosci().iterator(); itx.hasNext();) {\r\n Transakcja transakcjazbazy = (Transakcja) itx.next();\r\n if (zachowaneTransakcje == null || zachowaneTransakcje.size() == 0) {\r\n itx.remove();\r\n } else if (!zachowaneTransakcje.contains(transakcjazbazy)) {\r\n itx.remove();\r\n }\r\n }\r\n for (Transakcja ta : zachowaneTransakcje) {\r\n if (!stronaWierszaZbazy.getPlatnosci().contains(ta)) {\r\n stronaWierszaZbazy.getPlatnosci().add(ta);\r\n }\r\n }\r\n if (Z.z(stronaWierszaZbazy.getPozostalo()) <= 0.0) {\r\n it.remove();\r\n } else {\r\n String dataplatnosci;\r\n if (stronaWierszaZbazy.getWiersz().getDataWalutyWiersza() != null) {\r\n dataplatnosci = stronaWierszaZbazy.getWiersz().getDokfk().getRok()+\"-\"+stronaWierszaZbazy.getWiersz().getDokfk().getMiesiac()+\"-\"+stronaWierszaZbazy.getWiersz().getDataWalutyWiersza();\r\n } else {\r\n dataplatnosci = stronaWierszaZbazy.getWiersz().getDokfk().getDatadokumentu();\r\n }\r\n Date dataP = formatter.parse(dataplatnosci);\r\n if (dataP.compareTo(dataR) > 0) {\r\n it.remove();\r\n }\r\n }\r\n }\r\n } catch (ParseException ex) {\r\n E.e(ex);\r\n }\r\n }\r\n List<StronaWiersza> stronywierszaBO = stronaWierszaDAO.findStronaByKontoWnMaBO(stronaWiersza.getKonto(), stronaWiersza.getWnma());\r\n if (stronywierszaBO != null && !stronywierszaBO.isEmpty()) {\r\n Iterator it = stronywierszaBO.iterator();\r\n while(it.hasNext()) {\r\n StronaWiersza p = (StronaWiersza) it.next();\r\n if (Z.z(p.getPozostalo()) <= 0.0) {\r\n it.remove();\r\n }\r\n }\r\n listaStronaWierszazBazy.addAll(stronywierszaBO);\r\n }\r\n if (listaStronaWierszazBazy == null) {\r\n return (new ArrayList<>());\r\n }\r\n return listaStronaWierszazBazy;\r\n //pobrano wiersze - a teraz z nich robie rozrachunki\r\n }", "public void Sumatoria()\n {\n for (int i = 0; i < vector1.length; i++) {\n sumatoria[i]=vector1[i]+vector2[i];\n }\n }", "private void somarQuantidade(Integer id_produto){\n\t for (ItensCompra it : itensCompra){\n\t\t //verifico se o item do meu arraylist é igual ao ID passado no Mapping\n\t\t if(it.getTable_Produtos().getId_produto().equals(id_produto)){\n\t //defino a quantidade atual(pego a quantidade atual e somo um)\n\t it.setQuantidade(it.getQuantidade() + 1);\n\t //a apartir daqui, faço o cálculo. Valor Total(ATUAL) + ((NOVA) quantidade * valor unitário do produto(ATUAL))\n\t it.setValorTotal(0.);\n\t it.setValorTotal(it.getValorTotal() + (it.getQuantidade() * it.getValorUnitario()));\n }\n}\n\t}", "private void scoreSumUp(ArrayList<Player> players){\n for (Player player: players) {\n System.out.println(\"The Player \" + player.getUsername() + \" has total points of \" + player.getScore());\n }\n }", "public static void main(String[] args) {\n \t\n List<Float> ab = new ArrayList<>();\n ab.add(7.32f);\n ab.add(5.556f);\n ab.add(3.32f);\n ab.add(22.58f);\n ab.add(77.3f);\n\n System.out.print(\"Data in list are:- \");\n float sum = 0;\n \n // make an iterator \n \n Iterator<Float> iterator = ab.iterator();\n while(iterator.hasNext()){\n float a = iterator.next();\n if(!iterator.hasNext()) System.out.print(a);\n else System.out.print(a + \", \");\n \n // addition of elements \n \n sum += a;\n }\n\n System.out.println(\"\\nThe sum of all elements are:- \" + sum);\n }", "public void zapisUrok() {\r\n\r\n\t\taktualnyZostatok = getZostatok() * urokovaSadzba / 100;\r\n\t\tsetVklad(aktualnyZostatok);\r\n\r\n\t}", "public static List<Object> czytaniePogody(){\r\n Object[] elementyPogody = new Object[3];\r\n elementyPogody[0]=0;\r\n elementyPogody[1]=0;\r\n elementyPogody[2]=null;\r\n String line;\r\n OdczytZPliku plik = new OdczytZPliku();\r\n InputStream zawartosc = plik.pobierzZPliku(\"bazapogod.txt\");\r\n try (InputStreamReader odczyt = new InputStreamReader(zawartosc, StandardCharsets.UTF_8);\r\n BufferedReader czytaj = new BufferedReader(odczyt)) {\r\n String numerWStringu = String.valueOf(elementyPogody[0] = (int) (Math.random() * 4));\r\n while ((line = czytaj.readLine()) != null){\r\n if (line.equals(numerWStringu)){\r\n elementyPogody[1] = Integer.parseInt(czytaj.readLine());\r\n elementyPogody[2] = czytaj.readLine();\r\n System.out.println(\"\\nPogoda na dzis: \" + elementyPogody[2]);\r\n break;\r\n }\r\n else {\r\n for (int i = 0; i < 2; i++) {\r\n line = czytaj.readLine();\r\n }\r\n }\r\n }\r\n } catch (Exception ignored) {\r\n }\r\n return List.of(elementyPogody);\r\n }", "public void ustawPojazdNaPoczatek()\n\t{\n\t\tSciezka pierwszaSc = droga.get(0);\n\t\tfinal double y = 10;\n\t\tpojazd.zmienPozycje(pierwszaSc.getCenterDownX(), y);\n\t}", "private void sumaApostado() {\n\t\tapostado.set(apostado.get() + 1.0);\n\t\tdiruField.setText(String.format(\"%.2f\", apostado.get()));\n\t\tactualizaPremio();\n\t}", "private static void printSettledAmount(final List<Instruction> list,final String settlementType) {\n\t\tfinal LocalDate today = LocalDate.now();\n\t\tfinal double totalAmount = list.stream().filter(l -> l.getActualSellementDate().compareTo(today)==0)\n\t\t.mapToDouble(i -> i.getTotalAmount()).sum();\n\t\tSystem.out.println(settlementType+\" Amount Settled :\"+totalAmount);\n\t\t\n\t}", "public void determinarEstadoSalud(){\n \n for (int i = 0; i < listaEmpleados.size(); i++) {\n //Este for chequea si tiene alguna enfermedad preexistente -> asigna puntajes de acuerdo\n for (int j = 0; j < factoresRiesgo.length; j++) {\n \n if(listaEmpleados.get(i).getFactoresRiesgo().contains(factoresRiesgo[j])){ \n listaEmpleados.get(i).setEstadoSalud(30);\n }\n }\n //Verifica el rango de edad de la persona -> asigna puntajes de acuerdo\n if(listaEmpleados.get(i).getEdad() >= 70){\n listaEmpleados.get(i).setEstadoSalud(listaEmpleados.get(i).getEstadoSalud()+50);\n }\n if(listaEmpleados.get(i).getEdad() >= 40 && listaEmpleados.get(i).getEdad() < 70 ){\n listaEmpleados.get(i).setEstadoSalud(listaEmpleados.get(i).getEstadoSalud()+30);\n }\n if(listaEmpleados.get(i).getEdad() >= 20 && listaEmpleados.get(i).getEdad() < 40 ){\n listaEmpleados.get(i).setEstadoSalud(listaEmpleados.get(i).getEstadoSalud()+10);\n }\n //Los hombre tienen mas probabilidades de morir por la mayoria de enfermedad, incluyendo el covid-19\n if(listaEmpleados.get(i).getSexo().equals(\"hombre\")){\n listaEmpleados.get(i).setEstadoSalud(listaEmpleados.get(i).getEstadoSalud()+15);\n \n }\n //Verifica los diferentes puntajes y almacena los empleados en diferentes arraylist dependiendo su prioridad\n \n if(listaEmpleados.get(i).getEstadoSalud() >= 80){\n EmpleadosPrioridadAlta.add(listaEmpleados.get(i)); \n }\n \n if(listaEmpleados.get(i).getEstadoSalud() >= 60 && listaEmpleados.get(i).getEstadoSalud() < 80){\n EmpleadosPrioridadMediaAlta.add(listaEmpleados.get(i));\n }\n \n if(listaEmpleados.get(i).getEstadoSalud() >= 35 && listaEmpleados.get(i).getEstadoSalud() < 60){\n EmpleadosPrioridadMedia.add(listaEmpleados.get(i));\n }\n \n if(listaEmpleados.get(i).getEstadoSalud() >= 0 && listaEmpleados.get(i).getEstadoSalud() < 35){\n EmpleadosPrioridadBaja.add(listaEmpleados.get(i));\n }\n \n } \n \n }", "@Test\n public void nelioMuodostuu() {\n ArrayList lista=this.tetrimino.palautaKuvio();\n assertEquals(lista.size(), 4);\n \n }" ]
[ "0.6722087", "0.6635147", "0.65992063", "0.6538475", "0.6528937", "0.65070105", "0.6347317", "0.6315844", "0.6288035", "0.6260883", "0.62121457", "0.62062", "0.6195175", "0.61940366", "0.6182444", "0.6168687", "0.6133472", "0.6114524", "0.6026688", "0.60161036", "0.60053974", "0.596716", "0.59591657", "0.59494495", "0.5941266", "0.5935987", "0.5912809", "0.5866741", "0.58597225", "0.5855883", "0.5841883", "0.58278906", "0.5824184", "0.5788559", "0.5780802", "0.57793885", "0.5779084", "0.57702374", "0.5763217", "0.5756134", "0.57542413", "0.57515466", "0.57503754", "0.5732831", "0.57232714", "0.571758", "0.5712004", "0.5700735", "0.56812483", "0.5679672", "0.5677772", "0.56646824", "0.56646824", "0.56627333", "0.565851", "0.5648374", "0.5640841", "0.563658", "0.56235963", "0.561569", "0.56073016", "0.56023055", "0.5594968", "0.55929416", "0.5590589", "0.5577992", "0.5577456", "0.5575702", "0.5569798", "0.5556809", "0.554416", "0.55372626", "0.55371976", "0.5530612", "0.55279833", "0.55267096", "0.55205876", "0.55163395", "0.5510956", "0.5510383", "0.5507427", "0.5503844", "0.5499985", "0.5498657", "0.54925495", "0.5485322", "0.54842746", "0.54799414", "0.54794705", "0.5475655", "0.5473184", "0.54704964", "0.54677784", "0.54674345", "0.54609865", "0.5454838", "0.5450095", "0.54481584", "0.54476005", "0.54461426", "0.54458654" ]
0.0
-1
Inflate the layout for this fragment
@Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View v= inflater.inflate(R.layout.fragment_customer_list, container, false); pd=new ProgressDialog(getActivity()); pd.setMessage("Please wait..."); pd.setCancelable(false); pd.show(); custListVM = new ViewModelProvider(this).get(CustListVM.class); custListVM.AllCustApiCall("fromcustomerlist"); prepareRecyclerView(v); custListVM.getAllcustObserver().observe(getViewLifecycleOwner(), new Observer<List<CustomerListData>>() { @Override public void onChanged(List<CustomerListData> customerListData) { if(customerListData!=null) { newCustlist=customerListData; allCustomerAdapter.setCusttList(newCustlist); } } }); custListVM.CustloadDoneObserver().observe(getViewLifecycleOwner(), new Observer<String>() { @Override public void onChanged(String s) { if(s.equals("lcomplete")) { pd.dismiss(); }if(s.equals("lincomplete")) { pd.dismiss(); Toast.makeText(getActivity(), "Data Not Loded correctly", Toast.LENGTH_SHORT).show(); } } }); swip_cust.setOnRefreshListener(new SwipeRefreshLayout.OnRefreshListener() { @Override public void onRefresh() { custListVM.AllCustApiCall("fromcustomerlistswip"); swip_cust.setRefreshing(false); } }); return v; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_main_allinfo, container, false);\n }", "@Override\r\n\tpublic View onCreateView(LayoutInflater inflater, ViewGroup container,\r\n\t\t\tBundle savedInstanceState) {\n\t\treturn inflater.inflate(R.layout.wallpager_layout, null);\r\n\t}", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_invit_friends, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View inflate = inflater.inflate(R.layout.fragment_zhuye, container, false);\n initView(inflate);\n initData();\n return inflate;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup parent, Bundle savedInstanceState) {\n // Defines the xml file for the fragment\n return inflater.inflate(R.layout.fragment_posts, parent, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n return inflater.inflate(R.layout.ilustration_fragment, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View v = inflater.inflate(R.layout.fragment_sow_drug_cost_per_week, container, false);\n\n db = new DataBaseAdapter(getActivity());\n hc = new HelperClass();\n pop = new FeedSowsFragment();\n\n infltr = (LayoutInflater) getActivity().getSystemService(Context.LAYOUT_INFLATER_SERVICE);\n parent = (LinearLayout) v.findViewById(R.id.layout_for_add);\n tvTotalCost = (TextView) v.findViewById(R.id.totalCost);\n\n getData();\n setData();\n\n return v;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_stream_list, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View v = inflater.inflate(R.layout.fragment_event, container, false);\n\n\n\n\n\n\n\n\n return v;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_feed, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.screen_select_list_student, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View rootView = inflater.inflate(R.layout.fragment_overall, container, false);\n mNamesLayout = (LinearLayout) rootView.findViewById(R.id.fragment_overall_names_layout);\n mOverallView = (OverallView) rootView.findViewById(R.id.fragment_overall_view);\n return rootView;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState)\n {\n\n\n view = inflater.inflate(R.layout.fragment_earning_fragmant, container, false);\n ini(view);\n return view;\n }", "@Nullable\n @Override\n public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {\n super.onCreateView(inflater, container, savedInstanceState);\n final View rootview = inflater.inflate(R.layout.activity_email_frag, container, false);\n ConfigInnerElements(rootview);\n return rootview;\n }", "@Override\r\n\tpublic View onCreateView(LayoutInflater inflater, ViewGroup container,\r\n\t\t\tBundle savedInstanceState) {\n\t\trootView = inflater.inflate(R.layout.fragment_attack_armor, container, false);\r\n\r\n\t\tfindInterfaceElements();\r\n\t\taddRangeSelector();\r\n\t\tupdateHeadings();\r\n\t\tsetListeners();\r\n\r\n\t\tsetFromData();\r\n\r\n\t\treturn rootView;\r\n\t}", "@SuppressLint(\"InflateParams\")\r\n\t@Override\r\n\tpublic View initLayout(LayoutInflater inflater) {\n\t\tView view = inflater.inflate(R.layout.frag_customer_all, null);\r\n\t\treturn view;\r\n\t}", "@Override\r\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\r\n Bundle savedInstanceState) {\n view = inflater.inflate(R.layout.fragment_fore_cast, container, false);\r\n initView();\r\n mainLayout.setVisibility(View.GONE);\r\n apiInterface = RestClinet.getClient().create(ApiInterface.class);\r\n loadData();\r\n return view;\r\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_friend, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n rootView = inflater.inflate(R.layout.fragment_detail, container, false);\n image = rootView.findViewById(R.id.fr_image);\n name = rootView.findViewById(R.id.fr_name);\n phoneNumber = rootView.findViewById(R.id.fr_phone_number);\n email = rootView.findViewById(R.id.fr_email);\n street = rootView.findViewById(R.id.fr_street);\n city = rootView.findViewById(R.id.fr_city);\n state = rootView.findViewById(R.id.fr_state);\n zipcode = rootView.findViewById(R.id.fr_zipcode);\n dBrith = rootView.findViewById(R.id.date_brith);\n return rootView;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_pm25, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_kkbox_playlist, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View rootView = inflater.inflate(R.layout.fragment_feed_pager, container, false);\n\n// loadData();\n\n findViews(rootView);\n\n setViews();\n\n return rootView;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n layout = (FrameLayout) inflater.inflate(R.layout.fragment_actualites, container, false);\n\n relLayout = (RelativeLayout) layout.findViewById(R.id.relLayoutActus);\n\n initListView();\n getXMLData();\n\n return layout;\n }", "@Nullable\n @Override\n public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {\n rootView = inflater.inflate(R.layout.frag_post_prayer_video, container, false);\n setCustomDesign();\n setCustomClickListeners();\n return rootView;\n }", "@Override\n\tpublic View onCreateView(LayoutInflater inflater, ViewGroup container,\n\t\t\tBundle savedInstanceState) {\n\t\treturn inflater.inflate(R.layout.lf_em4305_fragment, container, false);\n\t}", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_recordings, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view=inflater.inflate(R.layout.fragment_category, container, false);\n initView(view);\n bindRefreshListener();\n loadParams();\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_cm_box_details, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n view=inflater.inflate(R.layout.fragment_layout12, container, false);\n\n iniv();\n\n init();\n\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n view = inflater.inflate(R.layout.fragment_details, container, false);\n //return inflater.inflate(R.layout.fragment_details, container, false);\n getIntentValues();\n initViews();\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_mem_body_blood, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_qiugouxiaoxi, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View inflate = inflater.inflate(R.layout.fragment_coll_blank, container, false);\n initView(inflate);\n initData();\n return inflate;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_attendance_divide, container, false);\n\n initView(view);\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup parent, Bundle savedInstanceState) {\n // Defines the xml file for the fragment\n return inflater.inflate(R.layout.show_program_fragment, parent, false);\n }", "@Override\n public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container,\n @Nullable Bundle savedInstanceState) {\n return inflater.inflate(R.layout.visualization_fragment, container, false);\n\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n rootView = inflater.inflate(R.layout.fragment_category_details_page, container, false);\n initializeAll();\n\n return rootView;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n final View v = inflater.inflate(R.layout.fragemnt_reserve, container, false);\n\n\n\n\n return v;\n }", "protected int getLayoutResId() {\n return R.layout.activity_fragment;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_all_quizs, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n role = getArguments().getInt(\"role\");\n rootview = inflater.inflate(R.layout.fragment_application, container, false);\n layout = rootview.findViewById(R.id.patentDetails);\n progressBar = rootview.findViewById(R.id.progressBar);\n try {\n run();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return rootview;\n }", "@Override\n\tpublic View onCreateView(LayoutInflater inflater, ViewGroup container,\n\t\t\tBundle savedInstanceState) {\n\t\tview = inflater.inflate(R.layout.fragment_zhu, null);\n\t\tinitView();\n\t\tinitData();\n\t\treturn view;\n\t}", "@Override\n\t\tpublic View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)\n\t\t{\n\t\t\tView rootView = inflater.inflate(R.layout.maimfragment, container, false);\n\t\t\treturn rootView;\n\t\t}", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n // Inflate the layout for this fragment\n return inflater.inflate(R.layout.fragment__record__week, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_porishongkhan, container, false);\n\n\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_dashboard, container, false);\n resultsRv = view.findViewById(R.id.db_results_rv);\n resultText = view.findViewById(R.id.db_search_empty);\n progressBar = view.findViewById(R.id.db_progressbar);\n lastVisitText = view.findViewById(R.id.db_last_visit);\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(getLayoutId(), container, false);\n init(view);\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n view = inflater.inflate(R.layout.fragment_feedback, container, false);\n self = getActivity();\n initUI(view);\n initControlUI();\n initData();\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View v = inflater.inflate(R.layout.fragment_service_summery, container, false);\n tvVoiceMS = v.findViewById(R.id.tvVoiceValue);\n tvDataMS = v.findViewById(R.id.tvdataValue);\n tvSMSMS = v.findViewById(R.id.tvSMSValue);\n tvVoiceFL = v.findViewById(R.id.tvVoiceFLValue);\n tvDataBS = v.findViewById(R.id.tvDataBRValue);\n tvTotal = v.findViewById(R.id.tvTotalAccountvalue);\n return v;\n }", "@Override\r\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\r\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_clan_rank_details, container, false);\r\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_star_wars_list, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View inflate = inflater.inflate(R.layout.fragment_lei, container, false);\n\n initView(inflate);\n initData();\n return inflate;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_quotation, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_wode_ragment, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup parent, Bundle savedInstanceState) {\n\n\n\n\n\n return inflater.inflate(R.layout.fragment_appoint_list, parent, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n if (rootView == null) {\n rootView = inflater.inflate(R.layout.fragment_ip_info, container, false);\n initView();\n }\n return rootView;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_offer, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_rooms, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n\n View view = inflater.inflate(R.layout.fragment_img_eva, container, false);\n\n getSendData();\n\n initView(view);\n\n initData();\n\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_project_collection, container, false);\n ButterKnife.bind(this, view);\n fragment = this;\n initView();\n getCollectionType();\n // getCategoryList();\n initBroadcastReceiver();\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n view = inflater.inflate(R.layout.fragment_yzm, container, false);\n initView(view);\n return view;\n }", "@Override\r\n\tpublic View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n\t\tmainLayout = inflater.inflate(R.layout.fragment_play, container, false);\r\n\t\treturn mainLayout;\r\n\t}", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n view = inflater.inflate(R.layout.fragment_invite_request, container, false);\n initialiseVariables();\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n getLocationPermission();\n return inflater.inflate(R.layout.centrum_fragment, container, false);\n\n\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View rootView = inflater.inflate(R.layout.fragment_habit_type_details, container, false);\n\n habitTitle = rootView.findViewById(R.id.textViewTitle);\n habitReason = rootView.findViewById(R.id.textViewReason);\n habitStartDate = rootView.findViewById(R.id.textViewStartDate);\n habitWeeklyPlan = rootView.findViewById(R.id.textViewWeeklyPlan);\n\n return rootView;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View v = inflater.inflate(R.layout.fragment_information_friends4, container, false);\n\n if (getArguments() != null) {\n FriendsID = getArguments().getString(\"keyFriends\");\n }\n\n return v;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_post_details, container, false);\n\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_hotel, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n view=inflater.inflate(R.layout.fragment_bus_inquiry, container, false);\n initView();\n initData();\n initDialog();\n getDataFromNet();\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_weather, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_srgl, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n view = inflater.inflate(R.layout.fragment_ground_detail_frgment, container, false);\n init();\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_book_appointment, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n view = inflater.inflate(R.layout.fragment_wheretogo, container, false);\n ids();\n setup();\n click();\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n binding = DataBindingUtil\n .inflate(inflater, R.layout.fragment_learning_leaders, container, false);\n init();\n\n return rootView;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_end_game_tab, container, false);\n\n setupWidgets();\n setupTextFields(view);\n setupSpinners(view);\n\n // Inflate the layout for this fragment\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.memoir_fragment, container, false);\n\n getUserIdFromSharedPref();\n configureUI(view);\n configureSortSpinner();\n configureFilterSpinner();\n\n networkConnection = new NetworkConnection();\n new GetAllMemoirTask().execute();\n\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_jadwal, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n view = inflater.inflate(R.layout.fragment_delivery_detail, container, false);\n initialise();\n\n\n\n return view;\n }", "@Nullable\n @Override\n public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_4, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_all_product, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_group_details, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment06_7, container, false);\n initView(view);\n setLegend();\n setXAxis();\n setYAxis();\n setData();\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_downloadables, container, false);\n }", "@Override\n public View onCreateView(@NonNull LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.movie_list_fragment, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_like, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_hall, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_unit_main, container, false);\n TextView mTxvBusinessAassistant = (TextView) view.findViewById(R.id.txv_business_assistant);\n TextView mTxvCardINformation = (TextView) view.findViewById(R.id.txv_card_information);\n RelativeLayout mRelOfficialWebsite = (RelativeLayout) view.findViewById(R.id.rel_official_website);\n RelativeLayout mRelPictureAblum = (RelativeLayout) view.findViewById(R.id.rel_picture_album);\n TextView mTxvQrCodeCard = (TextView) view.findViewById(R.id.txv_qr_code_card);\n TextView mTxvShareCard = (TextView) view.findViewById(R.id.txv_share_card);\n mTxvBusinessAassistant.setOnClickListener(this.mOnClickListener);\n mTxvCardINformation.setOnClickListener(this.mOnClickListener);\n mRelOfficialWebsite.setOnClickListener(this.mOnClickListener);\n mRelPictureAblum.setOnClickListener(this.mOnClickListener);\n mTxvQrCodeCard.setOnClickListener(this.mOnClickListener);\n mTxvShareCard.setOnClickListener(this.mOnClickListener);\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_moviespage, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_s, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_overview, container, false);\n\n initOverviewComponents(view);\n registerListeners();\n initTagListener();\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_bahan_ajar, container, false);\n initView(view);\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n root = (ViewGroup) inflater.inflate(R.layout.money_main, container, false);\n context = getActivity();\n initHeaderView(root);\n initView(root);\n\n getDate();\n initEvetn();\n return root;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup parent, Bundle savedInstanceState) {\n // Defines the xml file for the fragment\n return inflater.inflate(R.layout.fragment_historical_event, parent, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_event_details, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_video, container, false);\n unbinder = ButterKnife.bind(this, view);\n initView();\n initData();\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n\n v= inflater.inflate(R.layout.fragment_post_contacts, container, false);\n this.mapping(v);\n return v;\n }", "@Nullable\n @Override\n public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_measures, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_feed, container, false);\n findViews(view);\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_surah_list, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_data_binded, container, false);\n }" ]
[ "0.6739604", "0.67235583", "0.6721706", "0.6698254", "0.6691869", "0.6687986", "0.66869223", "0.6684548", "0.66766286", "0.6674615", "0.66654444", "0.66654384", "0.6664403", "0.66596216", "0.6653321", "0.6647136", "0.66423255", "0.66388357", "0.6637491", "0.6634193", "0.6625158", "0.66195583", "0.66164845", "0.6608733", "0.6596594", "0.65928894", "0.6585293", "0.65842897", "0.65730995", "0.6571248", "0.6569152", "0.65689117", "0.656853", "0.6566686", "0.65652984", "0.6553419", "0.65525705", "0.65432084", "0.6542382", "0.65411425", "0.6538022", "0.65366334", "0.65355957", "0.6535043", "0.65329415", "0.65311074", "0.65310687", "0.6528645", "0.65277404", "0.6525902", "0.6524516", "0.6524048", "0.65232015", "0.65224624", "0.65185034", "0.65130377", "0.6512968", "0.65122765", "0.65116245", "0.65106046", "0.65103024", "0.6509013", "0.65088093", "0.6508651", "0.6508225", "0.6504662", "0.650149", "0.65011525", "0.6500686", "0.64974767", "0.64935696", "0.6492234", "0.6490034", "0.6487609", "0.6487216", "0.64872116", "0.6486594", "0.64861935", "0.6486018", "0.6484269", "0.648366", "0.6481476", "0.6481086", "0.6480985", "0.6480396", "0.64797544", "0.647696", "0.64758915", "0.6475649", "0.6474114", "0.6474004", "0.6470706", "0.6470275", "0.64702207", "0.6470039", "0.6467449", "0.646602", "0.6462256", "0.64617974", "0.6461681", "0.6461214" ]
0.0
-1
Illegal State Exception errors can be thrown if x, y, or z is null
public Vector3<T> build() { return new Vector3<>(x, y, z); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void checkComponents() throws Exception {\r\n if (InitialData == null) {\r\n throw new Exception(\"Initial data not set.\");\r\n }\r\n if (Oracle == null) {\r\n throw new Exception(\"Oracle not set.\");\r\n }\r\n if (SearchSpace == null) {\r\n throw new Exception(\"Search space not set.\");\r\n }\r\n if (ObjectiveFunction == null) {\r\n throw new Exception(\"Ranker not set.\");\r\n }\r\n }", "private void assertValidity() {\n if (latitudes.size() != longitudes.size()) {\n throw new IllegalStateException(\"GIS location needs equal number of lat/lon points.\");\n }\n if (!(latitudes.size() == 1 || latitudes.size() >= 3)) {\n throw new IllegalStateException(\"GIS location needs either one point or more than two.\");\n }\n }", "public void testCtor_NullState() {\n try {\n new AddActionStateAction(null, activityGraph, manager);\n fail(\"IllegalArgumentException expected.\");\n } catch (IllegalArgumentException iae) {\n //good\n }\n }", "@Test\n public void stateNullTest() throws GeneralException {\n JavaRuleContext testRuleContext = buildTestJavaRuleContext();\n testRuleContext.getArguments().remove(JDBCBuildMapRule.ARG_STATE);\n\n assertThrows(GeneralException.class, () -> jdbcBuildMapRule.execute(testRuleContext));\n verify(jdbcBuildMapRule).internalValidation(eq(testRuleContext));\n verify(jdbcBuildMapRule, never()).internalExecute(eq(testRuleContext), any());\n }", "@Test\n\tpublic void tesInvalidSetSquare_3() {\n\t\tGameState gameState = new GameState(1, \"assets/maps/map.json\");\n\t\tSquare[][] board = gameState.getBoard();\n\t\tSquare square = gameState.setSquare(new Location(board[0].length, 0), new BlankSquare());\n\t\tassertNull(\"Should be null\", square);\n\t}", "public void testSetState() {\r\n try {\r\n address.setState(null);\r\n fail(\"IAE expected\");\r\n } catch (IllegalArgumentException e) {\r\n //good\r\n }\r\n }", "protected void validate()\r\n\t{\r\n\t\tif( this.mapper==null )\r\n\t\t\tthrow new IllegalStateException(\"Please specify the Mapper of this dataset.\");\r\n\t\tif( this.input_format==null )\r\n\t\t\tthrow new IllegalStateException(\"Please specify the InputFormat of this dataset.\");\r\n\t\tif( this.inputs==null || this.inputs.size()==0 )\r\n\t\t\tthrow new IllegalStateException(\"Please specify the input path(s) of this dataset\");\r\n\t\tif ( this.getSchema()==null || this.getSchema().size()==0 )\r\n\t\t\tthrow new IllegalStateException(\"Please specify the schema of this dataset first\");\r\n\t}", "public VariableNotSetException() {\n }", "public void checkInvariant() {\n\t\tif (!(getPositionX() >= 0 && getPositionX() < getEngine().getWidth()))\r\n\t\t\tthrow new InvariantError(\"Error checkInvariant: getPositionX() > 0 && getPositionX() < getEngine().getWidth()\");\r\n\r\n\t\t// inv: getPositionY() >= 0 && getPositionY() < Engine::getHeight()\r\n\t\tif (!(getPositionY() >= 0 && getPositionY() < getEngine().getHeight()))\r\n\t\t\tthrow new InvariantError(\"Error checkInvariant: getPositionY() > 0 && getPositionY() < getEngine().getHeight()\");\r\n\r\n\t\t// inv: isDead() == not (getLife() >= 0)\r\n\t\tif (!(isDead() == !(getLife() > 0)))\r\n\t\t\tthrow new InvariantError(\"Error checkInvariant: isDead() == !getLife() > 0\");\r\n\t\t\r\n\t}", "public final void testChangeZOrderActionFailureZOrderNull() {\n try {\n new ChangeZOrderAction(new GraphElement() {\n }, null);\n fail(\"IllegalArgumentException is expected since operation type is null\");\n } catch (IllegalArgumentException e) {\n // good\n }\n }", "@Test\n public void testConstructorInvalidInputs() {\n try {\n Rectangle r5 = new Rectangle(-7, 4, new Color(255, 0, 0),\n new Position2D(50, 75));\n fail();\n } catch (IllegalArgumentException e) {\n // pass!\n }\n try {\n Rectangle r6 = new Rectangle(7, -4, new Color(255, 0, 0),\n new Position2D(50, 75));\n fail();\n } catch (IllegalArgumentException e) {\n // pass!\n }\n try {\n Rectangle r7 = new Rectangle(7, 4, null, new Position2D(50, 75));\n fail();\n } catch (IllegalArgumentException e) {\n // pass!\n }\n try {\n Rectangle r8 = new Rectangle(7, 4, new Color(255, 0, 0), null);\n fail();\n } catch (IllegalArgumentException e) {\n // pass!\n }\n try {\n Rectangle r9 = new Rectangle(-7, 4, null, null);\n fail();\n } catch (IllegalArgumentException e) {\n // pass!\n }\n }", "public void testBoundaryChangedEvent_2_null_3() {\n try {\n new BoundaryChangedEvent(classNode, oldBoundary, null, null);\n fail(\"IllegalArgumentException should be thrown.\");\n } catch (IllegalArgumentException iae) {\n // Success\n }\n }", "void validateState() throws EPPCodecException {\n // add/chg/rem\n if ((addDsData == null) && (chgDsData == null) && (remKeyTag == null)) {\n throw new EPPCodecException(\"EPPSecDNSExtUpdate required attribute missing\");\n }\n \n // Ensure there is only one non-null add, chg, or rem\n\t\tif (((addDsData != null) && ((chgDsData != null) || (remKeyTag != null)))\n\t\t\t\t|| ((chgDsData != null) && ((addDsData != null) || (remKeyTag != null)))\n\t\t\t\t|| ((remKeyTag != null) && ((chgDsData != null) || (addDsData != null)))) {\n\t\t\tthrow new EPPCodecException(\"Only one add, chg, or rem is allowed\");\n\t\t}\n }", "public void testBoundaryChangedEvent_1_null_3() {\n try {\n new BoundaryChangedEvent(classNode, oldBoundary, null);\n fail(\"IllegalArgumentException should be thrown.\");\n } catch (IllegalArgumentException iae) {\n // Success\n }\n }", "public void missingInput() throws BadDescriptionException {\n //check 1\n if (!current_state.containsAll(next_state)) {\n throw new BadDescriptionException();\n }\n }", "@Test\n public void testCheckValidity_InvalidFields() throws Exception {\n expectCheckValidityFailure(msg -> msg.setSource(null));\n \n // null protocol\n expectCheckValidityFailure(msg -> msg.setProtocol(null));\n \n // null or empty topic\n expectCheckValidityFailure_NullOrEmpty((msg, value) -> msg.setTopic(value));\n \n // null payload\n expectCheckValidityFailure(msg -> msg.setPayload(null));\n \n // empty payload should NOT throw an exception\n Forward forward = makeValidMessage();\n forward.setPayload(\"\");\n forward.checkValidity();\n \n // null or empty requestId\n expectCheckValidityFailure_NullOrEmpty((msg, value) -> msg.setRequestId(value));\n \n // invalid hop count\n expectCheckValidityFailure(msg -> msg.setNumHops(-1));\n }", "@Test\n\tpublic void invalidEnterShip_3(){\n\t\tShip ship = new Ship(new ShipPart(0,0),new ShipPart(1,1),new ShipPart(2,2));\n\t\tPlayer p = new Player(0, \"Test\", null, null, null);\n\t\tp.giveItem(new ShipPart(0,0));\n\t\tp.giveItem(new ShipPart(1,1));\n\t\tassertFalse(ship.canEnter(p, Direction.EAST));\n\t}", "private void validCheck ()\n\t{\n\t\tassert allButLast != null || cachedFlatListOrMore != null;\n\t}", "public InvalidUserDataException() {\n \n }", "@Test\n\tpublic void invalidEnterShip_1(){\n\t\tShip ship = new Ship(new ShipPart(0,0),new ShipPart(1,1),new ShipPart(2,2));\n\t\tassertFalse(ship.canEnter(null, Direction.EAST));\n\t}", "public boolean isInvalid() {\n\t\treturn Double.isNaN(x) || Double.isNaN(y) || Double.isNaN(z);\n\t}", "void check() throws IllegalStateException {\n if (\n title == null ||\n release == null ||\n duration == 0 ||\n synopsis == null ||\n genre == null ||\n cast == null\n )\n throw new IllegalStateException(\"incomplete type\");\n }", "private void validate() {\n\n if (this.clsname == null)\n throw new IllegalArgumentException();\n if (this.dimension < 0)\n throw new IllegalArgumentException();\n if (this.generics == null)\n throw new IllegalArgumentException();\n }", "private void validate() throws IllegalStateException {\n if (StringUtils.isBlank(this.experimentKey)) {\n throw new IllegalStateException(\"Experiment key must be present!\");\n }\n if (!this.alive) {\n throw new IllegalStateException(\"Experiment was not initialized. You need to call init().\");\n }\n }", "@Test(expected = IllegalArgumentException.class)\n\tpublic void tesInvalidSetSquare_1() {\n\t\tGameState gameState = new GameState(1, \"assets/maps/map.json\");\n\t\tSquare square = gameState.getSquare(new Location(0, 0));\n\t\tgameState.setSquare(null, square);\n\t}", "private void checkInitialization()\n {\n if (!initialized)\n throw new SecurityException(\"VectorStack object is not initialized \" +\n \"properly.\");\n }", "@Test(expected = IllegalArgumentException.class)\n public void constExample3() {\n MarbleSolitaireModel exampleBoard = new TriangleSolitaireModelImpl(0);\n exampleBoard.getGameState();\n }", "public void testCtor_NullActivityGraph() {\n try {\n new AddActionStateAction(state, null, manager);\n fail(\"IllegalArgumentException expected.\");\n } catch (IllegalArgumentException iae) {\n //good\n }\n }", "@Test(expected=IllegalArgumentException.class)\n\tpublic void testInvalidPickUp() {\n\t\tPlayer player = new Player(new Square(), 0);\n\t\t\n\t\tplayer.pickUp(null);\n\t}", "private void checkRep() {\n\t\tassert (this != null) : \"this Edge cannot be null\";\n\t\tassert (this.label != null) : \"this Edge's label cannot be null\";\n\t\tassert (this.child != null) : \"this Edge's child cannot be null\";\n\t}", "@Test\n public void testStateMatchingExceptionThrown() throws Exception {\n service.loadFiles();\n \n Order newOrder = new Order();\n newOrder.setCustomerName(\"Jake\");\n newOrder.setState(\"MN\");\n newOrder.setProductType(\"Wood\");\n newOrder.setArea(new BigDecimal(\"233\"));\n\n boolean correctExceptionThrown = false;\n try {\n service.calculateNewOrderDataInput(newOrder);\n } catch (FlooringValidationException e) {\n correctExceptionThrown = true;\n }\n\n Assert.assertTrue(\"Must Match State\", correctExceptionThrown);\n\n }", "@Test(expected = IllegalArgumentException.class)\n public void constExample4() {\n MarbleSolitaireModel exampleBoard = new TriangleSolitaireModelImpl(-3);\n exampleBoard.getGameState();\n }", "@Test(expected = IllegalArgumentException.class)\n public void constExample7() {\n MarbleSolitaireModel exampleBoard =\n new TriangleSolitaireModelImpl(-3, 3, 3);\n exampleBoard.getGameState();\n }", "public static void illegalState(Object errorMessage) {\n throw new IllegalStateException(\"\" + errorMessage);\n }", "private void checkNotUnknown() {\n if (isUnknown())\n throw new AnalysisException(\"Unexpected 'unknown' value!\");\n }", "private void validateFields() throws InvalidConnectionDataException {\n if (driver == null) throw new InvalidConnectionDataException(\"No driver field\");\n if (address == null) throw new InvalidConnectionDataException(\"No address field\");\n if (username == null) throw new InvalidConnectionDataException(\"No username field\");\n if (password == null) throw new InvalidConnectionDataException(\"No password field\");\n }", "@Test\r\n\tpublic void testTile1AndTile2ArgumentConstructorNullTileException() {\n\t\tboolean ex = false;\r\n\t\t\t\t\r\n\t\ttry {\r\n\t\t\tPlayerMove move = new PlayerMove(null, tile2);\r\n\t\t} catch (PlayerMove.NullTileRuntimeException e) {\r\n\t\t\tex = true;\r\n\t\t}\r\n\t\t\r\n\t\tassertTrue(ex);\r\n\t\t\r\n\t\t// First good, second null\t\t\r\n\t\tex = false;\r\n\t\t\t\t\r\n\t\ttry {\r\n\t\t\tPlayerMove move = new PlayerMove(tile1, null);\r\n\t\t} catch (PlayerMove.NullTileRuntimeException e) {\r\n\t\t\tex = true;\r\n\t\t}\r\n\t\t\r\n\t\tassertTrue(ex);\r\n\t\t\r\n\t\t// Both null\t\t\r\n\t\tex = false;\r\n\t\t\r\n\t\ttry {\r\n\t\t\tPlayerMove move = new PlayerMove(null, null);\r\n\t\t} catch (PlayerMove.NullTileRuntimeException e) {\r\n\t\t\tex = true;\r\n\t\t}\r\n\t\t\r\n\t\tassertTrue(ex);\r\n\t}", "private void assertTargetNotNull() throws IllegalStateException {\n if (this.targetInstance == null || this.targetName == null)\n throw new IllegalStateException(\"Target field name or target instance is null.\");\n }", "private State assertState(State... states)\r\n\t{\r\n\t\tfor (State state : states)\r\n\t\t{\r\n\t\t\tif (this.state == state) return this.state;\r\n\t\t}\r\n\r\n\t\tthrow new IllegalStateException(this.state.toString());\r\n\t}", "@Test(expected = IllegalArgumentException.class)\n\tpublic void tesInvalidSetSquare_2() {\n\t\tGameState gameState = new GameState(1, \"assets/maps/map.json\");\n\t\tgameState.setSquare(new Location(0, 0), null);\n\t}", "@Test(expected = IllegalArgumentException.class)\n\tpublic void tesInvalidSquare_2() {\n\t\tGameState gameState = new GameState(1, \"assets/maps/map.json\");\n\t\tgameState.getSquare(null);\n\t}", "@SuppressWarnings(\"SameReturnValue\")\n public boolean checkInvariant() {\n if (layerList.isEmpty()) {\n throw new IllegalStateException(\"no layer in \" + getName());\n }\n if (activeLayer == null) {\n throw new IllegalStateException(\"no active layer in \" + getName());\n }\n if (!layerList.contains(activeLayer)) {\n throw new IllegalStateException(\"active layer (\" + activeLayer.getName() + \") not in list (\" + layerList.toString() + \")\");\n }\n return true;\n }", "public void testBoundaryChangedEvent_2_null_1() {\n try {\n new BoundaryChangedEvent(null, oldBoundary, newBoundary, null);\n fail(\"IllegalArgumentException should be thrown.\");\n } catch (IllegalArgumentException iae) {\n // Success\n }\n }", "@Test\n\tpublic void testIfCoordinatesAreValid()\n\t{\n\t\tData d = new Data();\n\t\tCoordinate c = d.getCoordinate(0); // at index 0 is the king's default location (5, 5)\n\t\tassertEquals(c.getX(), 5);\n\t\tassertEquals(c.getY(), 5);\t\n\t}", "public void testBoundaryChangedEvent_1_null_1() {\n try {\n new BoundaryChangedEvent(null, oldBoundary, newBoundary);\n fail(\"IllegalArgumentException should be thrown.\");\n } catch (IllegalArgumentException iae) {\n // Success\n }\n }", "public void testCtor_NullManager() {\n try {\n new AddActionStateAction(state, activityGraph, null);\n fail(\"IllegalArgumentException expected.\");\n } catch (IllegalArgumentException iae) {\n //good\n }\n }", "@Test(timeout = 4000)\n public void test013() throws Throwable {\n Object object0 = new Object();\n // Undeclared exception!\n try { \n Range.of((Range.CoordinateSystem) null, 1226L, 2776L);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // CoordinateSystem can not be null\n //\n verifyException(\"org.jcvi.jillion.core.Range$Builder\", e);\n }\n }", "@Test(expected = IllegalArgumentException.class)\n\tpublic void drawableDotNullException() {\n\n\t\tpoint.setDrawable(null);\n\t}", "@Test\n\tpublic void testInvalidSquare_1() {\n\t\tGameState gameState = new GameState(1, \"assets/maps/map.json\");\n\t\tSquare square = gameState.getSquare(new Location(-1, -1));\n\t\tassertNull(\"Should be null\", square);\n\t}", "@Test\n\tpublic void invalidEnterShip_4(){\n\t\tShip ship = new Ship(new ShipPart(0,0),new ShipPart(1,1),new ShipPart(2,2));\n\t\tPlayer p = new Player(0, \"Test\", null, null, null);\n\t\tp.giveItem(new ShipPart(0,0));\n\t\tp.giveItem(new ShipPart(1,1));\n\t\tp.giveItem(new Key(3,3));\n\t\tassertFalse(ship.canEnter(p, Direction.EAST));\n\t}", "public void validate() throws Exception {\r\n\t\tCollection<String> types = getTaskTypes();\r\n\t\tIterator<String> it = types.iterator();\r\n\t\twhile (it.hasNext()) {\r\n\t\t\tString type = it.next();\r\n\t\t\tString init = getInitialState(type);\r\n\t\t\tCollection<String> states = getStates(type);\r\n\t\t\tif (init.equals(\"OPEN\") && !states.contains(\"OPEN\"))\r\n\t\t\t\tthrow new Exception(Resource.getResourceString(\"NoOpenState\")\r\n\t\t\t\t\t\t+ type);\r\n\t\t}\r\n\t}", "@Test\n public void testBuildingContainerWithBadFields() throws Exception {\n // test when required fields are null\n String name = refContainerNames.get(0);\n ContainerStatus status = refContainerStatuses.get(0);\n buildContainerWithBadFieldsAndFail(null, status, false, false, IllegalStateException.class);\n buildContainerWithBadFieldsAndFail(name, null, false, false, IllegalStateException.class);\n buildContainerWithBadFieldsAndFail(name, status, true, false, IllegalStateException.class);\n }", "private void checkValid() {\n getSimType();\n getInitialConfig();\n getIsOutlined();\n getEdgePolicy();\n getNeighborPolicy();\n getCellShape();\n }", "private static void assertObjectInGetInternalStateIsNotNull(Object object) {\n if (object == null) {\n throw new IllegalArgumentException(\"The object containing the field cannot be null\");\n }\n }", "@Test(expected = IllegalArgumentException.class)\n public void constExample5() {\n MarbleSolitaireModel exampleBoard = new MarbleSolitaireModelImpl(-3);\n exampleBoard.getGameState();\n }", "@Test(expected = IllegalArgumentException.class)\n public void constExample7() {\n MarbleSolitaireModel exampleBoard =\n new MarbleSolitaireModelImpl(-3, 3, 3);\n exampleBoard.getGameState();\n }", "private void validateInitialParams() throws IllegalArgumentException {\n if (StringUtils.isBlank(this.apiKey)) {\n throw new IllegalArgumentException(\"API key is not specified!\");\n }\n if (StringUtils.isBlank(this.baseUrl)) {\n throw new IllegalArgumentException(\"The Comet base URL is not specified!\");\n }\n }", "@Override\n\t\tpublic void checkPreconditions() {\n\t\t}", "@Override\n\tprotected void check() throws SiDCException, Exception {\n\t\tif (entity == null) {\n\t\t\tthrow new SiDCException(APIStatus.ILLEGAL_ARGUMENT, \"illegal of request.\");\n\t\t}\n\t\tif (StringUtils.isBlank(entity.getStatus())) {\n\t\t\tthrow new SiDCException(APIStatus.ILLEGAL_ARGUMENT, \"illegal of status.\");\n\t\t}\n\t\tif (StringUtils.isBlank(entity.getLangcode())) {\n\t\t\tthrow new SiDCException(APIStatus.ILLEGAL_ARGUMENT, \"illegal of lang code.\");\n\t\t}\n\t}", "public void testBoundaryChangedEvent_1_null_2() {\n try {\n new BoundaryChangedEvent(classNode, null, newBoundary);\n fail(\"IllegalArgumentException should be thrown.\");\n } catch (IllegalArgumentException iae) {\n // Success\n }\n }", "public final void testChangeZOrderActionFailureElementNull() {\n try {\n new ChangeZOrderAction(null, ChangeZOrderOperationType.BACKWARD);\n fail(\"IllegalArgumentException is expected since element is null\");\n } catch (IllegalArgumentException e) {\n // good\n }\n }", "public void testPlaceIllegalTile1() {\n Placement placement = new Placement(Color.GREEN, 0, 0, Color.BLUE, 1, 1);\n try {\n \t\tboard.place(placement);\n fail(\"It's not legal to put tile without any adjacent occupied cells\");\n } catch (StateException e) {\n // passed\n }\n catch (ContractAssertionError e) {\n \tSystem.out.println(\"ContractAssertionError\");\n }\n \t\n }", "private Estado getStateError() {\n\t\tEstado state = null;\n\t\tif (!automata.containState(cerraduras.size())) {\n\t\t\tstate = new Estado(cerraduras.size());\n\t\t\tstate.setError(true);\n\t\t\tautomata.addEstado(state);\n\t\t} else {\n\t\t\tstate = automata.getState(cerraduras.size());\n\t\t}\n\t\treturn state;\n\t}", "@Test(timeout = 4000)\n public void test00() throws Throwable {\n Discretize discretize0 = new Discretize(\"Y\");\n discretize0.makeBinaryTipText();\n BinarySparseInstance binarySparseInstance0 = new BinarySparseInstance(3337);\n int int0 = 82;\n // Undeclared exception!\n try { \n binarySparseInstance0.isMissing((Attribute) null);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"weka.core.AbstractInstance\", e);\n }\n }", "@Test(expected=IllegalArgumentException.class)\n\tpublic void testNullCityThrowsIllegalArgumentException() {\n\t\t//Act\n\t\tnew VisitorIterator(seed, null, randMock, printerMock, visitorMock);\n\t}", "@Test(expected = IllegalArgumentException.class)\n\tpublic void pointNullException() {\n\n\t\tset.addPoint(null);\n\t}", "@Test\n public void testCondition2()\n {\n Double[] coordinates = {5.0, -5.0, 1.0};\n boolean pass = false;\n \n // TEST if an ArgumentOutOfBoundsException is thrown when a value < 0.0:\n try\n {\n _renderable.position(coordinates);\n }\n catch(ArgumentOutOfBoundsException e)\n {\n pass = true;\n }\n \n // TEST if an ArgumentOutOfBoundsException is thrown when a value > 10.0:\n if (pass)\n {\n pass = false;\n coordinates[1] = 10.1;\n try\n {\n _renderable.position(coordinates);\n }\n catch(ArgumentOutOfBoundsException e)\n {\n pass = true;\n }\n }\n \n if (!pass)\n fail(\"ArgumentOutOfBoundsException was not thrown\");\n }", "protected void missingParams() {\r\n throw new IllegalStateException(\r\n \"Function is missing parameters: \" + getName());\r\n }", "public void checkRep() {\n\t\tif (parent == null || child == null || l == null) {\n\t\t\tthrow new RuntimeException(\"Edge values can never be null.\");\n\t\t}\n\t}", "@Test(expected = IllegalArgumentException.class)\n public void constExample3() {\n MarbleSolitaireModel exampleBoard = new MarbleSolitaireModelImpl(2);\n exampleBoard.getGameState();\n }", "public InvalidTransitionException() {\r\n super(\"Invalid FSM Transition.\");\r\n }", "@Test(timeout = 4000)\n public void test013() throws Throwable {\n Frame frame0 = new Frame();\n Type type0 = Type.DOUBLE_TYPE;\n Type type1 = Type.INT_TYPE;\n Type type2 = Type.INT_TYPE;\n Type type3 = Type.DOUBLE_TYPE;\n Type type4 = Type.INT_TYPE;\n Type type5 = Type.DOUBLE_TYPE;\n Type type6 = Type.DOUBLE_TYPE;\n Item item0 = new Item(7);\n // Undeclared exception!\n try { \n frame0.execute(77, 2562, (ClassWriter) null, item0);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"wheel.asm.Frame\", e);\n }\n }", "@Test\n public void testFieldMissingToBuildAccount() throws Exception {\n // test when required fields are null\n buildAccountWithMissingFieldsAndFail(null, refAccountStatus, IllegalStateException.class);\n buildAccountWithMissingFieldsAndFail(refAccountName, null, IllegalStateException.class);\n }", "public NotEmptyException() {\n \tsuper(\"Object was occupied.\");\n }", "protected void onBadCoords()\n\t{\n\t}", "@Test\n public void test21() throws Throwable {\n // Undeclared exception!\n try { \n UnivariateRealSolverUtils.bracket((UnivariateRealFunction) null, 0.0, (-739.1424394318773), 0.0, 1267);\n fail(\"Expecting exception: IllegalArgumentException\");\n \n } catch(IllegalArgumentException e) {\n //\n // function is null\n //\n assertThrownBy(\"org.apache.commons.math.MathRuntimeException\", e);\n }\n }", "private void checkExecuteConditions(HttpState state, HttpConnection conn)\n throws HttpException {\n\n if (null == state) {\n throw new NullPointerException(\"HttpState parameter\");\n }\n if (null == conn) {\n throw new NullPointerException(\"HttpConnection parameter\");\n }\n if (hasBeenUsed()) {\n throw new HttpException(\"Already used, but not recycled.\");\n }\n if (!validate()) {\n throw new HttpException(\"Not valid\");\n }\n if (inExecute) {\n throw new IllegalStateException(\"Execute invoked recursively, or exited abnormally.\");\n }\n }", "@Test\n\tpublic void testIllegalMapZeroCostsTest() {\n\t\ttry {\n\t\t\tmapFactory.initializeGameState(\"./src/Mapfiles/NightlyTests/IllegalMapZeroCostsTest\", 1, rng, gs);\n\t\t} catch (IOException e) {\n\t\t\tfail(\"Expected IllegalArgumentException\");\n\t\t} catch (IllegalArgumentException e) {\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tfail(\"Expected IllegalArgumentException\");\n\t}", "public GLMatrixStackUnderflowException() {\r\n\r\n\t\t}", "@Test\n\tpublic void invalidSpawn_1() {\n\t\tGameState gameState = new GameState(1, \"assets/maps/map.json\");\n\t\tassertFalse(\"Should not be able to add null\", gameState.addSpawn(null));\n\t}", "private void validateContext() {\n\t\tif (irodsAccessObjectFactory == null) {\n\t\t\tthrow new JargonRuntimeException(\"null irodsAccessObjectFactory\");\n\t\t}\n\n\t\tif (dataProfilerSettings == null) {\n\t\t\tthrow new JargonRuntimeException(\"null dataProfilerSettings\");\n\t\t}\n\n\t\tif (dataTypeResolutionServiceFactory == null) {\n\t\t\tthrow new IllegalArgumentException(\"null dataTypeResolutionServiceFactory\");\n\t\t}\n\n\t}", "@Test\n public void test098() throws Throwable {\n NumberInput numberInput0 = new NumberInput((Component) null, \"\", \"m\", \"m\");\n // Undeclared exception!\n try {\n Component component0 = numberInput0.param((CharSequence) \"m\", (CharSequence) \"\");\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n }\n }", "public void testBoundaryChangedEvent_2_null_2() {\n try {\n new BoundaryChangedEvent(classNode, null, newBoundary, null);\n fail(\"IllegalArgumentException should be thrown.\");\n } catch (IllegalArgumentException iae) {\n // Success\n }\n }", "public void illegalMove(){\r\n //Taken care of in view?\n \t//throw new RuntimeException(\"this is a illegal move\");\r\n }", "private void checkInitialization()\r\n\t{\r\n\t\tif ( !initialized )\r\n\t\t{\r\n\t\t\tthrow new SecurityException( \"Calculator is not properly initialized.\" );\r\n\t\t}//end if\r\n\t}", "private void checkInitialization()\n {\n if (!initialized)\n throw new SecurityException(\"ArrayQueue object is corrupt.\");\n }", "@Test\n public void test15() throws Throwable {\n // Undeclared exception!\n try { \n UnivariateRealSolverUtils.solve((UnivariateRealFunction) null, 0.0, 0.0);\n fail(\"Expecting exception: IllegalArgumentException\");\n \n } catch(IllegalArgumentException e) {\n //\n // function is null\n //\n assertThrownBy(\"org.apache.commons.math.MathRuntimeException\", e);\n }\n }", "@Test\n public void tr4()\n {\n Graph graph = new Graph(2);\n assertThrows(IllegalArgumentException.class, () -> graph.reachable(null, null));\n }", "@Test\n public void stateFromInitWithAuthFailToError() {\n // given a newly created ticket in initial state\n CreateTicketVO createTicketVO = CreateTicketVO.newBuilder()\n .ticketIssuingType(TicketIssuingType.ONE_TICKET_FOR_ALL_PRODUCTS)\n .products(this.products)\n .paymentType(PaymentType.NO_PAYMENT)\n .account(this.account).build();\n TicketOrder ticketOrder = this.ticketFactory.createTickets(createTicketVO);\n Ticket ticket = ticketOrder.getBillingTicket();\n assertTicketInState(ticket, TicketStateType.TICKET_ORDER_REQUEST_RECEIVED, TransactionStateType.TRANSACTION_NULL, 1);\n\n // when/then ticket moves from state [1,0] -> [8,0] -> [8,1] -> [8,16] -> [16,16]\n // [1,0] -> [8,0]\n ticket.nextStateOk();\n assertTicketInState(ticket, TicketStateType.TICKET_ORDERED, TransactionStateType.TRANSACTION_NULL, 2);\n\n // [8,0] -> [8,1]\n ticket.nextStateOk();\n assertTicketInState(ticket, TicketStateType.TICKET_ORDERED, TransactionStateType.TRANSACTION_INITIALIZED, 3);\n\n // [8,1] -> [8,16]\n ticket.nextStateTransactionError(100);\n assertTicketInState(ticket, TicketStateType.TICKET_ORDERED, TransactionStateType.TRANSACTION_ERROR, 4);\n\n // [8,16] -> [16,16]\n ticket.nextStateTransactionError(200);\n assertTicketInState(ticket, TicketStateType.TICKET_ERROR, TransactionStateType.TRANSACTION_ERROR, 5);\n }", "public InvalidStateException(String message) {\n\t\tsuper(message);\n\t}", "public OpenXdataDataAccessException() {\r\n \tsuper(\"A Data Base Access Exception occurred.\");\r\n }", "private void checkUserInput() throws OperatorException {\n final MetadataElement masterMeta = AbstractMetadata.getAbstractedMetadata(sourceProduct);\n final int isCoregStack = masterMeta.getAttributeInt(AbstractMetadata.coregistered_stack);\n if(isCoregStack != 1) {\n throw new OperatorException(\"Input should be a coregistered SLC stack\");\n }\n }", "abstract protected void _checkState() throws IllegalStateException;", "@Test\n public void test12() throws Throwable {\n IllinoisSolver illinoisSolver0 = new IllinoisSolver();\n // Undeclared exception!\n try { \n illinoisSolver0.doSolve();\n } catch(IllegalStateException e) {\n //\n // illegal state: maximal count (0) exceeded: evaluations\n //\n assertThrownBy(\"org.apache.commons.math.analysis.solvers.BaseAbstractUnivariateRealSolver\", e);\n }\n }", "@Test(expected = IllegalArgumentException.class)\n public void constExample4() {\n MarbleSolitaireModel exampleBoard = new MarbleSolitaireModelImpl(0);\n exampleBoard.getGameState();\n }", "@Test(expected = IllegalArgumentException.class)\n public void startGameThree() {\n this.reset();\n this.bps.startGame(this.deck, false, 7, 40);\n }", "public void validate() throws org.apache.thrift.TException {\n if (limb == null) {\n throw new org.apache.thrift.protocol.TProtocolException(\"Required field 'limb' was not present! Struct: \" + toString());\n }\n if (pos == null) {\n throw new org.apache.thrift.protocol.TProtocolException(\"Required field 'pos' was not present! Struct: \" + toString());\n }\n if (ori == null) {\n throw new org.apache.thrift.protocol.TProtocolException(\"Required field 'ori' was not present! Struct: \" + toString());\n }\n if (speed == null) {\n throw new org.apache.thrift.protocol.TProtocolException(\"Required field 'speed' was not present! Struct: \" + toString());\n }\n if (angls == null) {\n throw new org.apache.thrift.protocol.TProtocolException(\"Required field 'angls' was not present! Struct: \" + toString());\n }\n if (mode == null) {\n throw new org.apache.thrift.protocol.TProtocolException(\"Required field 'mode' was not present! Struct: \" + toString());\n }\n if (kin == null) {\n throw new org.apache.thrift.protocol.TProtocolException(\"Required field 'kin' was not present! Struct: \" + toString());\n }\n // check for sub-struct validity\n if (pos != null) {\n pos.validate();\n }\n if (ori != null) {\n ori.validate();\n }\n if (speed != null) {\n speed.validate();\n }\n if (angls != null) {\n angls.validate();\n }\n }", "public final void validateRetrieveInputs() throws Exception {\n if (getDBTable() == null) throw new Exception(\"getDBTable missing\");\n if (getColumnForPrimaryKey() == null) throw new Exception(\"WHERE ID missing\");\n }", "public void validate() throws org.apache.thrift.TException {\n if (!is_set_status()) {\n throw new org.apache.thrift.protocol.TProtocolException(\"Required field 'status' is unset! Struct:\" + toString());\n }\n\n if (!is_set_data()) {\n throw new org.apache.thrift.protocol.TProtocolException(\"Required field 'data' is unset! Struct:\" + toString());\n }\n\n if (!is_set_feature()) {\n throw new org.apache.thrift.protocol.TProtocolException(\"Required field 'feature' is unset! Struct:\" + toString());\n }\n\n if (!is_set_predictResult()) {\n throw new org.apache.thrift.protocol.TProtocolException(\"Required field 'predictResult' is unset! Struct:\" + toString());\n }\n\n if (!is_set_msg()) {\n throw new org.apache.thrift.protocol.TProtocolException(\"Required field 'msg' is unset! Struct:\" + toString());\n }\n\n // check for sub-struct validity\n if (feature != null) {\n feature.validate();\n }\n }", "public void testCtor1_NullOffset() {\n try {\n new WayPointEvent(edge, wayPoint, null);\n fail(\"IllegalArgumentException expected.\");\n } catch (IllegalArgumentException iae) {\n //good\n }\n }", "@Test\n\tpublic void testBuildWithMissingParametersThrowsException() {\n\t\tAssertions.assertThrows(IllegalArgumentException.class, () -> {\n\t\t\ttestling.build();\n\t\t});\n\t}" ]
[ "0.69523793", "0.6347549", "0.6232948", "0.620454", "0.60577965", "0.6039107", "0.5979352", "0.5978185", "0.59426403", "0.5901818", "0.58915406", "0.58643323", "0.586362", "0.5852694", "0.58423126", "0.58255047", "0.58141094", "0.5810122", "0.5774657", "0.57652324", "0.5761985", "0.5741707", "0.5741124", "0.5732127", "0.573055", "0.57202345", "0.57092553", "0.5693266", "0.568979", "0.56812197", "0.56786966", "0.56719536", "0.56310266", "0.5625707", "0.56233186", "0.56201965", "0.56022173", "0.55871797", "0.5586095", "0.5577066", "0.5561237", "0.5554576", "0.55437803", "0.55247104", "0.5523583", "0.5517538", "0.55173755", "0.5517312", "0.5516983", "0.5508481", "0.5508062", "0.5493419", "0.5488017", "0.54868275", "0.5478954", "0.54739594", "0.5470754", "0.5468392", "0.54641783", "0.5463159", "0.5455857", "0.5451707", "0.5430409", "0.5426499", "0.54188746", "0.54163325", "0.5403312", "0.5402421", "0.5401923", "0.5397115", "0.5396643", "0.53803235", "0.53751403", "0.5370906", "0.53699255", "0.53662", "0.53630954", "0.5362519", "0.53614163", "0.5359743", "0.5358999", "0.53538364", "0.53487307", "0.5347978", "0.53446186", "0.53374237", "0.5335331", "0.53345764", "0.5325629", "0.532309", "0.53173167", "0.5314223", "0.53090584", "0.5305644", "0.5304849", "0.5300248", "0.52978903", "0.5297046", "0.52894694", "0.5286968", "0.5282548" ]
0.0
-1
Inflate the layout for this fragment
@Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View inflate = inflater.inflate(R.layout.fragment_notify__setting, container, false); preferences = getActivity().getSharedPreferences("user", Context.MODE_PRIVATE); api_token = preferences.getString("api_token", ""); negative_O = inflate.findViewById(R.id.O_); positive_O = inflate.findViewById(R.id.O); negative_A = inflate.findViewById(R.id.A_); positive_A = inflate.findViewById(R.id.A); negative_AB = inflate.findViewById(R.id.AB_); positive_AB = inflate.findViewById(R.id.AB); recyclerView = inflate.findViewById(R.id.check_rv); btn_save = inflate.findViewById(R.id.btn_setting_save); IDS = new ArrayList<>(); blood_types = new ArrayList<>(); CheckedChangeListener(negative_O); CheckedChangeListener(positive_O); CheckedChangeListener(negative_A); CheckedChangeListener(positive_A); CheckedChangeListener(negative_AB); CheckedChangeListener(positive_AB); btn_save.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { IDS = adapter.IDS; saveSetting(); Toast.makeText(getContext(), "" + IDS, Toast.LENGTH_SHORT).show(); } }); setupRecycle(); cityResponse(); return inflate; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_main_allinfo, container, false);\n }", "@Override\r\n\tpublic View onCreateView(LayoutInflater inflater, ViewGroup container,\r\n\t\t\tBundle savedInstanceState) {\n\t\treturn inflater.inflate(R.layout.wallpager_layout, null);\r\n\t}", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_invit_friends, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View inflate = inflater.inflate(R.layout.fragment_zhuye, container, false);\n initView(inflate);\n initData();\n return inflate;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup parent, Bundle savedInstanceState) {\n // Defines the xml file for the fragment\n return inflater.inflate(R.layout.fragment_posts, parent, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n return inflater.inflate(R.layout.ilustration_fragment, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View v = inflater.inflate(R.layout.fragment_sow_drug_cost_per_week, container, false);\n\n db = new DataBaseAdapter(getActivity());\n hc = new HelperClass();\n pop = new FeedSowsFragment();\n\n infltr = (LayoutInflater) getActivity().getSystemService(Context.LAYOUT_INFLATER_SERVICE);\n parent = (LinearLayout) v.findViewById(R.id.layout_for_add);\n tvTotalCost = (TextView) v.findViewById(R.id.totalCost);\n\n getData();\n setData();\n\n return v;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_stream_list, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View v = inflater.inflate(R.layout.fragment_event, container, false);\n\n\n\n\n\n\n\n\n return v;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_feed, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.screen_select_list_student, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View rootView = inflater.inflate(R.layout.fragment_overall, container, false);\n mNamesLayout = (LinearLayout) rootView.findViewById(R.id.fragment_overall_names_layout);\n mOverallView = (OverallView) rootView.findViewById(R.id.fragment_overall_view);\n return rootView;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState)\n {\n\n\n view = inflater.inflate(R.layout.fragment_earning_fragmant, container, false);\n ini(view);\n return view;\n }", "@Nullable\n @Override\n public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {\n super.onCreateView(inflater, container, savedInstanceState);\n final View rootview = inflater.inflate(R.layout.activity_email_frag, container, false);\n ConfigInnerElements(rootview);\n return rootview;\n }", "@Override\r\n\tpublic View onCreateView(LayoutInflater inflater, ViewGroup container,\r\n\t\t\tBundle savedInstanceState) {\n\t\trootView = inflater.inflate(R.layout.fragment_attack_armor, container, false);\r\n\r\n\t\tfindInterfaceElements();\r\n\t\taddRangeSelector();\r\n\t\tupdateHeadings();\r\n\t\tsetListeners();\r\n\r\n\t\tsetFromData();\r\n\r\n\t\treturn rootView;\r\n\t}", "@SuppressLint(\"InflateParams\")\r\n\t@Override\r\n\tpublic View initLayout(LayoutInflater inflater) {\n\t\tView view = inflater.inflate(R.layout.frag_customer_all, null);\r\n\t\treturn view;\r\n\t}", "@Override\r\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\r\n Bundle savedInstanceState) {\n view = inflater.inflate(R.layout.fragment_fore_cast, container, false);\r\n initView();\r\n mainLayout.setVisibility(View.GONE);\r\n apiInterface = RestClinet.getClient().create(ApiInterface.class);\r\n loadData();\r\n return view;\r\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_friend, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n rootView = inflater.inflate(R.layout.fragment_detail, container, false);\n image = rootView.findViewById(R.id.fr_image);\n name = rootView.findViewById(R.id.fr_name);\n phoneNumber = rootView.findViewById(R.id.fr_phone_number);\n email = rootView.findViewById(R.id.fr_email);\n street = rootView.findViewById(R.id.fr_street);\n city = rootView.findViewById(R.id.fr_city);\n state = rootView.findViewById(R.id.fr_state);\n zipcode = rootView.findViewById(R.id.fr_zipcode);\n dBrith = rootView.findViewById(R.id.date_brith);\n return rootView;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_pm25, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_kkbox_playlist, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View rootView = inflater.inflate(R.layout.fragment_feed_pager, container, false);\n\n// loadData();\n\n findViews(rootView);\n\n setViews();\n\n return rootView;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n layout = (FrameLayout) inflater.inflate(R.layout.fragment_actualites, container, false);\n\n relLayout = (RelativeLayout) layout.findViewById(R.id.relLayoutActus);\n\n initListView();\n getXMLData();\n\n return layout;\n }", "@Nullable\n @Override\n public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {\n rootView = inflater.inflate(R.layout.frag_post_prayer_video, container, false);\n setCustomDesign();\n setCustomClickListeners();\n return rootView;\n }", "@Override\n\tpublic View onCreateView(LayoutInflater inflater, ViewGroup container,\n\t\t\tBundle savedInstanceState) {\n\t\treturn inflater.inflate(R.layout.lf_em4305_fragment, container, false);\n\t}", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_recordings, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view=inflater.inflate(R.layout.fragment_category, container, false);\n initView(view);\n bindRefreshListener();\n loadParams();\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_cm_box_details, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n view=inflater.inflate(R.layout.fragment_layout12, container, false);\n\n iniv();\n\n init();\n\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n view = inflater.inflate(R.layout.fragment_details, container, false);\n //return inflater.inflate(R.layout.fragment_details, container, false);\n getIntentValues();\n initViews();\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_mem_body_blood, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_qiugouxiaoxi, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View inflate = inflater.inflate(R.layout.fragment_coll_blank, container, false);\n initView(inflate);\n initData();\n return inflate;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_attendance_divide, container, false);\n\n initView(view);\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup parent, Bundle savedInstanceState) {\n // Defines the xml file for the fragment\n return inflater.inflate(R.layout.show_program_fragment, parent, false);\n }", "@Override\n public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container,\n @Nullable Bundle savedInstanceState) {\n return inflater.inflate(R.layout.visualization_fragment, container, false);\n\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n rootView = inflater.inflate(R.layout.fragment_category_details_page, container, false);\n initializeAll();\n\n return rootView;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n final View v = inflater.inflate(R.layout.fragemnt_reserve, container, false);\n\n\n\n\n return v;\n }", "protected int getLayoutResId() {\n return R.layout.activity_fragment;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_all_quizs, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n role = getArguments().getInt(\"role\");\n rootview = inflater.inflate(R.layout.fragment_application, container, false);\n layout = rootview.findViewById(R.id.patentDetails);\n progressBar = rootview.findViewById(R.id.progressBar);\n try {\n run();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return rootview;\n }", "@Override\n\tpublic View onCreateView(LayoutInflater inflater, ViewGroup container,\n\t\t\tBundle savedInstanceState) {\n\t\tview = inflater.inflate(R.layout.fragment_zhu, null);\n\t\tinitView();\n\t\tinitData();\n\t\treturn view;\n\t}", "@Override\n\t\tpublic View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)\n\t\t{\n\t\t\tView rootView = inflater.inflate(R.layout.maimfragment, container, false);\n\t\t\treturn rootView;\n\t\t}", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n // Inflate the layout for this fragment\n return inflater.inflate(R.layout.fragment__record__week, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_porishongkhan, container, false);\n\n\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_dashboard, container, false);\n resultsRv = view.findViewById(R.id.db_results_rv);\n resultText = view.findViewById(R.id.db_search_empty);\n progressBar = view.findViewById(R.id.db_progressbar);\n lastVisitText = view.findViewById(R.id.db_last_visit);\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(getLayoutId(), container, false);\n init(view);\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n view = inflater.inflate(R.layout.fragment_feedback, container, false);\n self = getActivity();\n initUI(view);\n initControlUI();\n initData();\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View v = inflater.inflate(R.layout.fragment_service_summery, container, false);\n tvVoiceMS = v.findViewById(R.id.tvVoiceValue);\n tvDataMS = v.findViewById(R.id.tvdataValue);\n tvSMSMS = v.findViewById(R.id.tvSMSValue);\n tvVoiceFL = v.findViewById(R.id.tvVoiceFLValue);\n tvDataBS = v.findViewById(R.id.tvDataBRValue);\n tvTotal = v.findViewById(R.id.tvTotalAccountvalue);\n return v;\n }", "@Override\r\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\r\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_clan_rank_details, container, false);\r\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_star_wars_list, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View inflate = inflater.inflate(R.layout.fragment_lei, container, false);\n\n initView(inflate);\n initData();\n return inflate;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_quotation, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_wode_ragment, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup parent, Bundle savedInstanceState) {\n\n\n\n\n\n return inflater.inflate(R.layout.fragment_appoint_list, parent, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n if (rootView == null) {\n rootView = inflater.inflate(R.layout.fragment_ip_info, container, false);\n initView();\n }\n return rootView;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_offer, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_rooms, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n\n View view = inflater.inflate(R.layout.fragment_img_eva, container, false);\n\n getSendData();\n\n initView(view);\n\n initData();\n\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_project_collection, container, false);\n ButterKnife.bind(this, view);\n fragment = this;\n initView();\n getCollectionType();\n // getCategoryList();\n initBroadcastReceiver();\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n view = inflater.inflate(R.layout.fragment_yzm, container, false);\n initView(view);\n return view;\n }", "@Override\r\n\tpublic View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n\t\tmainLayout = inflater.inflate(R.layout.fragment_play, container, false);\r\n\t\treturn mainLayout;\r\n\t}", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n view = inflater.inflate(R.layout.fragment_invite_request, container, false);\n initialiseVariables();\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n getLocationPermission();\n return inflater.inflate(R.layout.centrum_fragment, container, false);\n\n\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View rootView = inflater.inflate(R.layout.fragment_habit_type_details, container, false);\n\n habitTitle = rootView.findViewById(R.id.textViewTitle);\n habitReason = rootView.findViewById(R.id.textViewReason);\n habitStartDate = rootView.findViewById(R.id.textViewStartDate);\n habitWeeklyPlan = rootView.findViewById(R.id.textViewWeeklyPlan);\n\n return rootView;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View v = inflater.inflate(R.layout.fragment_information_friends4, container, false);\n\n if (getArguments() != null) {\n FriendsID = getArguments().getString(\"keyFriends\");\n }\n\n return v;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_post_details, container, false);\n\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_hotel, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n view=inflater.inflate(R.layout.fragment_bus_inquiry, container, false);\n initView();\n initData();\n initDialog();\n getDataFromNet();\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_weather, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_srgl, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n view = inflater.inflate(R.layout.fragment_ground_detail_frgment, container, false);\n init();\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_book_appointment, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n view = inflater.inflate(R.layout.fragment_wheretogo, container, false);\n ids();\n setup();\n click();\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n binding = DataBindingUtil\n .inflate(inflater, R.layout.fragment_learning_leaders, container, false);\n init();\n\n return rootView;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_end_game_tab, container, false);\n\n setupWidgets();\n setupTextFields(view);\n setupSpinners(view);\n\n // Inflate the layout for this fragment\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.memoir_fragment, container, false);\n\n getUserIdFromSharedPref();\n configureUI(view);\n configureSortSpinner();\n configureFilterSpinner();\n\n networkConnection = new NetworkConnection();\n new GetAllMemoirTask().execute();\n\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_jadwal, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n view = inflater.inflate(R.layout.fragment_delivery_detail, container, false);\n initialise();\n\n\n\n return view;\n }", "@Nullable\n @Override\n public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_4, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_all_product, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_group_details, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment06_7, container, false);\n initView(view);\n setLegend();\n setXAxis();\n setYAxis();\n setData();\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_downloadables, container, false);\n }", "@Override\n public View onCreateView(@NonNull LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.movie_list_fragment, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_like, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_hall, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_unit_main, container, false);\n TextView mTxvBusinessAassistant = (TextView) view.findViewById(R.id.txv_business_assistant);\n TextView mTxvCardINformation = (TextView) view.findViewById(R.id.txv_card_information);\n RelativeLayout mRelOfficialWebsite = (RelativeLayout) view.findViewById(R.id.rel_official_website);\n RelativeLayout mRelPictureAblum = (RelativeLayout) view.findViewById(R.id.rel_picture_album);\n TextView mTxvQrCodeCard = (TextView) view.findViewById(R.id.txv_qr_code_card);\n TextView mTxvShareCard = (TextView) view.findViewById(R.id.txv_share_card);\n mTxvBusinessAassistant.setOnClickListener(this.mOnClickListener);\n mTxvCardINformation.setOnClickListener(this.mOnClickListener);\n mRelOfficialWebsite.setOnClickListener(this.mOnClickListener);\n mRelPictureAblum.setOnClickListener(this.mOnClickListener);\n mTxvQrCodeCard.setOnClickListener(this.mOnClickListener);\n mTxvShareCard.setOnClickListener(this.mOnClickListener);\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_moviespage, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_s, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_overview, container, false);\n\n initOverviewComponents(view);\n registerListeners();\n initTagListener();\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_bahan_ajar, container, false);\n initView(view);\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n root = (ViewGroup) inflater.inflate(R.layout.money_main, container, false);\n context = getActivity();\n initHeaderView(root);\n initView(root);\n\n getDate();\n initEvetn();\n return root;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup parent, Bundle savedInstanceState) {\n // Defines the xml file for the fragment\n return inflater.inflate(R.layout.fragment_historical_event, parent, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_event_details, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_video, container, false);\n unbinder = ButterKnife.bind(this, view);\n initView();\n initData();\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n\n v= inflater.inflate(R.layout.fragment_post_contacts, container, false);\n this.mapping(v);\n return v;\n }", "@Nullable\n @Override\n public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_measures, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_feed, container, false);\n findViews(view);\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_surah_list, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_data_binded, container, false);\n }" ]
[ "0.6739604", "0.67235583", "0.6721706", "0.6698254", "0.6691869", "0.6687986", "0.66869223", "0.6684548", "0.66766286", "0.6674615", "0.66654444", "0.66654384", "0.6664403", "0.66596216", "0.6653321", "0.6647136", "0.66423255", "0.66388357", "0.6637491", "0.6634193", "0.6625158", "0.66195583", "0.66164845", "0.6608733", "0.6596594", "0.65928894", "0.6585293", "0.65842897", "0.65730995", "0.6571248", "0.6569152", "0.65689117", "0.656853", "0.6566686", "0.65652984", "0.6553419", "0.65525705", "0.65432084", "0.6542382", "0.65411425", "0.6538022", "0.65366334", "0.65355957", "0.6535043", "0.65329415", "0.65311074", "0.65310687", "0.6528645", "0.65277404", "0.6525902", "0.6524516", "0.6524048", "0.65232015", "0.65224624", "0.65185034", "0.65130377", "0.6512968", "0.65122765", "0.65116245", "0.65106046", "0.65103024", "0.6509013", "0.65088093", "0.6508651", "0.6508225", "0.6504662", "0.650149", "0.65011525", "0.6500686", "0.64974767", "0.64935696", "0.6492234", "0.6490034", "0.6487609", "0.6487216", "0.64872116", "0.6486594", "0.64861935", "0.6486018", "0.6484269", "0.648366", "0.6481476", "0.6481086", "0.6480985", "0.6480396", "0.64797544", "0.647696", "0.64758915", "0.6475649", "0.6474114", "0.6474004", "0.6470706", "0.6470275", "0.64702207", "0.6470039", "0.6467449", "0.646602", "0.6462256", "0.64617974", "0.6461681", "0.6461214" ]
0.0
-1
/ final Dialog dialog = new Dialog(activity); dialog.setContentView(R.layout.item_recycler); dialog.setTitle("Position " + position); dialog.setCancelable(true); // dismiss when touching outside Dialog set the custom dialog components texts and image TextView name = (TextView) dialog.findViewById(R.id.name); TextView job = (TextView) dialog.findViewById(R.id.job); ImageView icon = (ImageView) dialog.findViewById(R.id.image); setDataToView(name, job, icon, position); dialog.show();
@Override public void onClick(View v) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void onItemClick(AdapterView<?> adapterView, View view, int position, long l) {\n View dialogView = (View) View.inflate(getApplicationContext(), R.layout.activity_image_view, null);\n AlertDialog.Builder dlg = new AlertDialog.Builder(ImageGridActivity.this);\n ImageView ivPoster = (ImageView) dialogView.findViewById(R.id.image_view);\n ivPoster.setImageResource(posterID[position]);\n\n // Log.i(\"이미지아이디\", ((ImageView) view.findViewById(R.id.grid_item_image)).getResources()));\n dlg.setTitle(movies[position]);\n // dlg.setIcon(R.drawable.ic_launcher);\n dlg.setView(dialogView);\n dlg.setNegativeButton(\"닫기\", null);\n dlg.show();\n /* Toast.makeText( getApplicationContext(),\n ((TextView)view.findViewById(R.id.grid_item_label)).getText()\n ,Toast.LENGTH_SHORT\n\n ).show();*/\n }", "@Override public void onItemClick(View view, int position) {\n final Dialog dialog = new Dialog(Informal.this);\n dialog.requestWindowFeature(Window.FEATURE_NO_TITLE);\n dialog.setContentView(R.layout.dialog_informal);\n Button btn = (Button) dialog.findViewById(R.id.dialog_btn);\n TextView mTextView = (TextView)dialog.findViewById(R.id.dialog_event_name);\n TextView description = (TextView)dialog.findViewById(R.id.dialog_description_text);\n mTextView.setText(Constants.mEvents_Informal[position]);\n description.setText(getString(Constants.mEvents_Informal_description[position]));\n dialog.show();\n btn.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n dialog.dismiss();\n }\n });\n\n }", "@Override\r\n public void onClick(View view) {\n\r\n\r\n\r\n final Dialog dialog = new Dialog(holder.context, android.R.style.Theme_Black_NoTitleBar_Fullscreen);\r\n\r\n dialog.setContentView(R.layout.full_screenimage_bottomsheeed);\r\n\r\n PhotoView photoView = dialog.findViewById(R.id.PhotoView);\r\n Picasso.with(holder.context).load(MessageModalList.getMessage()).into(photoView);\r\n dialog.show();\r\n }", "@Override\r\n public void onClick(View view) {\n\r\n\r\n\r\n final Dialog dialog = new Dialog(holder.context, android.R.style.Theme_Black_NoTitleBar_Fullscreen);\r\n\r\n dialog.setContentView(R.layout.full_screenimage_bottomsheeed);\r\n\r\n PhotoView photoView = dialog.findViewById(R.id.PhotoView);\r\n Picasso.with(holder.context).load(MessageModalList.getMessage()).into(photoView);\r\n dialog.show();\r\n }", "@Override\n public void onItemClick(View view, Medal obj, int position) {\n TextView txt;\n final Dialog dialog = new Dialog(getContext());\n dialog.requestWindowFeature(Window.FEATURE_NO_TITLE); // before\n dialog.setContentView(R.layout.popup_medals);\n txt = dialog.findViewById(R.id.titlePop);\n txt.setText(obj.title);\n dialog.getWindow().setBackgroundDrawable(new ColorDrawable(android.graphics.Color.TRANSPARENT));\n dialog.setCancelable(true);\n dialog.show();\n }", "private void showDialogPolygon1() {\n LayoutInflater inflater = getLayoutInflater();\n CardView cardView = (CardView) getLayoutInflater().inflate(R.layout.dialog_root,null);\n LinearLayout root = (LinearLayout) cardView.findViewById(R.id.linearLayout_root);\n //inflate each row that should be contained in the dialog box\n View rowAmount = inflater.inflate(R.layout.row_amount,null);\n View rowTelephone = inflater.inflate(R.layout.row_telephone,null);\n View rowText = inflater.inflate(R.layout.row_text,null);\n View rowButtons = inflater.inflate(R.layout.row_buttons,null);\n //add each row to the root\n root.addView(rowAmount);\n root.addView(rowTelephone);\n root.addView(rowText);\n root.addView(rowButtons);\n\n customDialog = new Dialog(getActivity());\n customDialog.requestWindowFeature(Window.FEATURE_NO_TITLE); // before\n customDialog.setContentView(cardView);\n customDialog.getWindow().setBackgroundDrawable(new ColorDrawable(android.graphics.Color.TRANSPARENT));\n customDialog.setCancelable(true);\n\n\n final EditText editTextAmount = customDialog.findViewById(R.id.edit_text_amount);\n final EditText editTextNumber = customDialog.findViewById(R.id.edit_text_mobileNumber);\n ImageButton imageButton = customDialog.findViewById(R.id.selec_contact_ImageBtn);\n imageButton.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n contactPicker();\n }\n });\n\n\n ((Button) customDialog.findViewById(R.id.bt_okay)).setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n Intent hoverIntent = new HoverParameters.Builder(getActivity())\n .request(\"e0d94aec\")\n .style(R.style.BaseTheme)\n .extra(\"MobileNumber\", editTextNumber.getText().toString())\n .extra(\"Amount\", editTextAmount.getText().toString())\n .buildIntent();\n startActivityForResult(hoverIntent, 0);\n }\n\n });\n\n ((Button) customDialog.findViewById(R.id.bt_cancel)).setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n customDialog.dismiss();\n }\n });\n\n\n customDialog.show();\n }", "@Override\n public void onItemClick(View view, int position)\n {\n Toast.makeText(context, recyclerDataArrayList.get(position).getTitulo(), Toast.LENGTH_SHORT).show();\n Bundle bundle = new Bundle();\n bundle.putString(\"imagen\",recyclerDataArrayList.get(position).getImg());\n DialogGaleria dialogGaleria = new DialogGaleria();\n dialogGaleria.show(requireActivity().getSupportFragmentManager(), \"imagen\");\n dialogGaleria.setArguments(bundle);\n }", "@Override\r\n public void onClick(View view) {\r\n\r\n\r\n final Dialog dialog = new Dialog(holder.context, android.R.style.Theme_Black_NoTitleBar_Fullscreen);\r\n\r\n dialog.setContentView(R.layout.full_screenimage_bottomsheeed);\r\n\r\n PhotoView photoView = dialog.findViewById(R.id.PhotoView);\r\n Picasso.with(holder.context).load(MessageModalList.getMessage()).into(photoView);\r\n dialog.show();\r\n\r\n }", "public void showCustomDialog() {\n ViewGroup viewGroup = root.findViewById(((ViewGroup)getView().getParent()).getId());\n\n //then we will inflate the custom alert dialog xml that we created\n final View dialogView = LayoutInflater.from(getContext()).inflate(R.layout.change_icon_dialogue_box, viewGroup, false);\n\n\n\n Button close=(Button)dialogView.findViewById(R.id.buttonOk);\n\n\n\n //Now we need an AlertDialog.Builder object\n AlertDialog.Builder builder = new AlertDialog.Builder(getContext());\n\n //setting the view of the builder to our custom view that we already inflated\n builder.setView(dialogView);\n\n //finally creating the alert dialog and displaying it\n final AlertDialog alertDialog = builder.create();\n alertDialog.show();\n close.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n alertDialog.cancel();\n }\n });\n\n }", "@Override\n public void onClick(View arg0) {\n final Dialog dialog = new Dialog(SpinnerAcitivity.this);\n // Include dialog.xml file\n dialog.setContentView(R.layout.dialog);\n // Set dialog title\n //dialog.setTitle(\"Custom Dialog\");\n\n // set values for custom dialog components - text, image and button\n TextView text = (TextView) dialog.findViewById(R.id.textDialog);\n// text.setText(\"Thank you for yor response!\");\n ImageView image = (ImageView) dialog.findViewById(R.id.imageDialog);\n// image.setImageResource(R.drawable.icon);\n\n dialog.show();\n\n Button declineButton = (Button) dialog.findViewById(R.id.declineButton);\n // if decline button is clicked, close the custom dialog\n declineButton.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n // Close dialog\n dialog.dismiss();\n }\n });\n\n\n }", "private void showQuantityDialog(modelFood ModelFood) {\n View view = LayoutInflater.from(context).inflate(R.layout.dialog_quantity,null);\n //initialize layout views\n ImageView foodIcon = view.findViewById(R.id.foodIcon);\n TextView discountNoteTV = view.findViewById(R.id.discountNoteTV);\n TextView FoodTitleTV = view.findViewById(R.id.FoodTitleTV);\n TextView QuantityTV = view.findViewById(R.id.QuantityTV);\n TextView FoodDescTV = view.findViewById(R.id.FoodDescTV);\n TextView priceDiscounted = view.findViewById(R.id.priceDiscounted);\n TextView originalPrice = view.findViewById(R.id.originalPrice);\n TextView inc_button = view.findViewById(R.id.inc_button);\n TextView SelectedQuantityTV = view.findViewById(R.id.SelectedQuantityTV);\n TextView dec_button = view.findViewById(R.id.dec_button);\n TextView finalPriceTV = view.findViewById(R.id.finalPriceTV);\n Button addToCartDialogButton = view.findViewById(R.id.addToCartDialogButton);\n\n //get data from model\n String foodID = ModelFood.getFoodId();\n String title = ModelFood.getFoodTitle();\n String foodQuantity = ModelFood.getFoodQuantity();\n String foodDescription = ModelFood.getFoodDescription();\n String discountNote = ModelFood.getDiscountNote();\n String image = ModelFood.getFoodIcon();\n String Price;\n\n if (ModelFood.getDiscountAvailable().equals(\"true\")){\n Price = ModelFood.getDiscountPrice();\n discountNoteTV.setVisibility(View.VISIBLE);\n }\n else {\n discountNoteTV.setVisibility(View.GONE);\n Price= ModelFood.getOriginalPrice();\n }\n\n cost = Double.parseDouble(Price.replaceAll(\"$\",\"\"));\n costTotal = Double.parseDouble(Price.replaceAll(\"$\",\"\"));\n quantity = 1;\n\n //dialog appear\n AlertDialog.Builder builder = new AlertDialog.Builder(context);\n builder.setView(view);\n try {\n Picasso.get().load(image).placeholder(R.drawable.additem_logo).into(foodIcon);\n\n }\n catch (Exception e){\n foodIcon.setImageResource(R.drawable.additem_logo);\n\n }\n\n FoodTitleTV.setText(title);\n QuantityTV.setText(\"Available: \"+foodQuantity);\n FoodDescTV.setText(foodDescription);\n discountNoteTV.setText(discountNote);\n SelectedQuantityTV.setText(\"\"+quantity);\n originalPrice.setText(\"Price: \"+ModelFood.getOriginalPrice());\n priceDiscounted.setText(\"Discounted price: \"+ModelFood.getDiscountPrice());\n finalPriceTV.setText(\"Total: \"+costTotal+\"$\");\n AlertDialog dialog = builder.create();\n dialog.show();\n\n //increment decrement\n inc_button.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n costTotal = costTotal + cost;\n quantity++;\n finalPriceTV.setText(\"Total \"+costTotal);\n SelectedQuantityTV.setText(\"\"+quantity);\n }\n });\n dec_button.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n if(quantity>1){\n costTotal = costTotal - cost;\n quantity--;\n finalPriceTV.setText(\"Total \"+costTotal);\n SelectedQuantityTV.setText(\"\"+quantity);\n }\n }\n\n });\n addToCartDialogButton.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n String title = FoodTitleTV.getText().toString().trim();\n String priceEach = Price;\n String TotalPrice = finalPriceTV.getText().toString().trim().replaceAll(\"$\",\"\");\n String quantity = SelectedQuantityTV.getText().toString().trim();\n //add to sqLite database\n addToCart(foodID,title,priceEach,TotalPrice,quantity);\n dialog.dismiss();\n }\n });\n\n\n\n\n }", "@Override\n public void onClick(DialogInterface dialog, int which) {\n mAdapter.notifyItemRemoved(position + 1); //notifies the RecyclerView Adapter that data in adapter has been removed at a particular position.\n mAdapter.notifyItemRangeChanged(position, mAdapter.getItemCount()); //notifies the RecyclerView Adapter that positions of element in adapter has been changed from position(removed element index to end of list), please update it.\n }", "@Override\n\n public void onClick(View v) {\n\n\n AlertDialog.Builder builder;\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {\n builder = new AlertDialog.Builder(mcontext, android.R.style.Theme_Material_Dialog_Alert);\n } else {\n builder = new AlertDialog.Builder(mcontext);\n }\n builder.setTitle(\"Delete entry\")\n .setMessage(\"Are you sure you want to delete this entry?\")\n .setPositiveButton(android.R.string.yes, new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int which) {\n\n String sss = holder.card_view.getTag().toString();\n\n FeedReaderDbHelper feedReaderDbHelper = new FeedReaderDbHelper(mcontext);\n feedReaderDbHelper.DeleteSingleRecBody(Integer.parseInt(sss));\n deleteItem(position);// continue with delete\n\n notifyItemRemoved(position);\n notifyItemRangeChanged(position, mDataset.size());\n }\n })\n .setNegativeButton(android.R.string.no, new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int which) {\n // do nothing\n }\n })\n .setIcon(android.R.drawable.ic_dialog_alert)\n .show();\n\n\n\n }", "@Override\n public void dialogClick(Dialog dialog, View v) {\n switch (v.getId()) {\n case R.id.tv_in_the_to_xiangce:\n dialog.dismiss();\n if (photoList == null)\n photoList = new ArrayList<Map<String, Object>>();\n else\n photoList.clear();\n Intent in = new Intent(getApplicationContext(),\n AddImgFragmentActivity01.class);\n in.putExtra(\"selectedList\", photoList);\n in.putExtra(\"maxImg\", maxImg);\n startActivityForResult(in, 1);\n overridePendingTransition(R.anim.right_in, R.anim.left_out);\n break;\n\n case R.id.tv_in_the_to_xiangji:\n dialog.dismiss();\n if (photoList == null)\n photoList = new ArrayList<Map<String, Object>>();\n else\n photoList.clear();\n startXiangJi();\n break;\n\n case R.id.tv_cancel:\n dialog.dismiss();\n break;\n\n default:\n break;\n }\n }", "@Override\n public void onDismiss(DialogInterface dialog) {\n\n }", "@Override\n\t\t\tpublic boolean onItemLongClick(AdapterView<?> arg0, View arg1,\n\t\t\t\t\tint arg2, long arg3) {\n\t\t\t\t\n\t\t\t\tfinal int selected = arg2;\n AlertDialog.Builder cartel = new AlertDialog.Builder(getActivity());\n RelativeLayout linearLayout=new RelativeLayout(getActivity());\n\n final NumberPicker picker = new NumberPicker(getActivity());\n picker.setMinValue(0);\n picker.setMaxValue(10);\n RelativeLayout.LayoutParams params = new RelativeLayout.LayoutParams(50,50);\n RelativeLayout.LayoutParams numPicerParams =\n new RelativeLayout.LayoutParams(RelativeLayout.LayoutParams.WRAP_CONTENT, RelativeLayout.LayoutParams.WRAP_CONTENT);\n numPicerParams.addRule(RelativeLayout.CENTER_HORIZONTAL);\n linearLayout.addView(picker,numPicerParams);\n linearLayout.setLayoutParams(params);\n linearLayout.isClickable();\n\t\t\t\t\n \n\t\t\t\tcartel.setPositiveButton(\"Send\", new DialogInterface.OnClickListener() {\n\t public void onClick(DialogInterface dialog, int id) {\n\n\t \t new SendPoints().execute(friends[selected].getMail(),picker.getValue()+\"\",((MainActivity)getActivity()).getUserMail());\n\t }\n\t });\n\t\t\t\tcartel.setNegativeButton(\"Cancel\", new DialogInterface.OnClickListener() {\n\t public void onClick(DialogInterface dialog, int id) {\n\t \t \n\t }\n\t });\n\n\t\t\t\tcartel.setView(linearLayout);\n //Dialog dialog = cartel.create();\n\t\t\t\tcartel.show(); \n\t\t\t\treturn true;\n\n\t\t\t}", "@Override\r\n\t\t\tpublic boolean onItemLongClick(AdapterView<?> arg0, View arg1,\r\n\t\t\t\t\tint arg2, long arg3) {\n\r\n\t\t\t\tAlertDialog.Builder builder = new AlertDialog.Builder(act);\r\n\r\n\r\n\t\t\t\tfinal AlertDialog dialog = builder.create();\r\n\r\n\t\t\t\tdialog.setIcon(R.drawable.morgans_logo_icon);\r\n\t\t\t\tdialog.setTitle(\"Labour details\");\r\n\t\t\t\tView detailsView=View.inflate(act, R.layout.labour_details, null);\r\n\t\t\t\tdialog.setView(detailsView);\r\n\t\t\t\t\r\n\t\t\t\tLabourData data=(LabourData)arg1.getTag();\r\n\r\n\t\t\t\tfinal EditText qty=(EditText)detailsView.findViewById(R.id.et_labour_qty);\r\n\r\n\t\t\t\tfinal EditText et_prod_margin=(EditText)detailsView.findViewById(R.id.et_labour_margin);\r\n\t\t\t\t\r\n\t\t\t\tfinal Spinner daySpinner=(Spinner)detailsView.findViewById(R.id.tv_labour_type);\r\n\t\t\t\t\r\n\t\t\t\t \r\n\t\t\t\t//String prodQty=((TextView)arg1.findViewById(R.id.tv__labour_qty)).getText().toString();\r\n\t\t\t\tqty.setText(\"\"+(data).getQty());\r\n\t\t\t\t\r\n\t\t\t\tfloat margintPerHour=Float.parseFloat(data.getPricePerHour())*data.getMargin()/100;\r\n\t\t\t\tfloat marginPerDay=Float.parseFloat(data.getPricePerDay())*data.getMargin()/100;\r\n\t\t\t\t\r\n\r\n\t\t\t\tet_prod_margin.setText(\"\"+(data).getMargin());\r\n\t\t\t\t((TextView)detailsView.findViewById(R.id.tv_price_per_hour)).setText(data.getPricePerHour());\r\n\t\t\t\t((TextView)detailsView.findViewById(R.id.tv_PricePerDay)).setText(data.getPricePerDay());\r\n\t\t\t\t((TextView)detailsView.findViewById(R.id.tv_created_by)).setText(data.getCreatedBy());\r\n\t\t\t\t((TextView)detailsView.findViewById(R.id.tv_labour_name)).setText(data.getLabour());\r\n\t\t\t\t\r\n\t\t\t\tif(data.getPriceType().equals(\"Day\"))\r\n\t\t\t\t(daySpinner).setSelection(0);\r\n\t\t\t\telse{\r\n\t\t\t\t\t(daySpinner).setSelection(1);\r\n\t\t\t\t}\r\n\t\t\t\t((TextView)detailsView.findViewById(R.id.tv_margin_per_day)).setText(\"\"+marginPerDay);\r\n\t\t\t\t((TextView)detailsView.findViewById(R.id.tv_margin_per_hour)).setText(\"\"+margintPerHour);\r\n\r\n\t\t\t\t((TextView)detailsView.findViewById(R.id.tv_total_per_day)).setText(\"\"+(marginPerDay+data.getPricePerDay()));\r\n\t\t\t\t((TextView)detailsView.findViewById(R.id.tv_total_per_hour)).setText(\"\"+(margintPerHour+data.getPricePerHour()));\r\n\r\n\t\t\t\tButton but_update=(Button)detailsView.findViewById(R.id.but_labour_update);\r\n\t\t\t\tbut_update.setTag(arg1.getTag());\r\n\t\t\t\tButton but_delete=(Button)detailsView.findViewById(R.id.but_labour_delete);\r\n\t\t\t\tButton but_cancel=(Button)detailsView.findViewById(R.id.but_labour_cancel);\r\n\r\n\t\t\t\tbut_update.setOnClickListener(new OnClickListener() {\r\n\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tpublic void onClick(View v) {\r\n\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tif(qty.getText().toString().length()>0 && et_prod_margin.getText().toString().length()>0)\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tSystem.out.println(\"TESAT qty \"+qty.getText().toString()+\";\"+et_prod_margin.getText());\r\n\t\t\t\t\t\t\t((LabourData)v.getTag()).setQty(qty.getText().toString());\r\n\t\t\t\t\t\t\t((LabourData)v.getTag()).setMargin(Integer.parseInt(et_prod_margin.getText().toString()));\r\n\t\t\t\t\t\t\t//Toast.makeText(act, \"TEST\" +((MaterialsData)v.getTag()).Productname, Toast.LENGTH_LONG).show();\r\n\t\t\t\t\t\t\t((LabourData)v.getTag()).setPriceType(daySpinner.getSelectedItem().toString());\r\n\t\t\t\t\t\t\t\r\n\r\n\t\t\t\t\t\t\tlabourAdapter.notifyDataSetChanged();\r\n\t\t\t\t\t\t\tdialog.dismiss();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse{\r\n\t\t\t\t\t\t\tif(qty.getText().toString().length()==0)\r\n\t\t\t\t\t\t\t\tqty.setError(\"Invalid\");\r\n\t\t\t\t\t\t\tif(et_prod_margin.getText().toString().length()==0)\r\n\t\t\t\t\t\t\t\tet_prod_margin.setError(\"Invalid\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\r\n\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t\tbut_delete.setTag(arg1.getTag());\r\n\t\t\t\tbut_delete.setOnClickListener(new OnClickListener() {\r\n\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tpublic void onClick(View v) {\r\n\r\n\t\t\t\t\t\taddLabourList.remove(((MaterialsData)v.getTag()).index);\r\n\t\t\t\t\t\tlabourAdapter.notifyDataSetChanged();\r\n\t\t\t\t\t\tdialog.dismiss();\r\n\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t\tbut_cancel.setOnClickListener(new OnClickListener() {\r\n\t\t\t\t\t\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tpublic void onClick(View v) {\r\n\t\t\t\t\t\t// TODO Auto-generated method stub\r\n\t\t\t\t\t\tdialog.dismiss();\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\r\n\t\t\t\tdialog.show();\r\n\r\n\t\t\t\treturn false;\r\n\t\t\t\r\n\t\t\t}", "@Override\n public void onItemClick(View itemView, ServResrouce info, int position)\n {\n SelectFlightDialog dialog =\n new SelectFlightDialog(ConfirmOrderActivity.this, mSelectFlightListener, itemView, position);\n dialog.show();\n WindowManager.LayoutParams lp = dialog.getWindow().getAttributes();\n lp.height = (int)(screenHeight - statusBarHeight - 120);\n dialog.getWindow().setAttributes(lp);\n }", "@Override\n public void onDismiss(DialogInterface dialog) {\n\n }", "@Override\n public void onDismiss(DialogInterface dialog) {\n\n }", "private void showCustomDialog(VisitorModel visitor) {\n ViewGroup viewGroup = ((MainActivity)context).findViewById(android.R.id.content);\n\n //then we will inflate the custom alert dialog xml that we created\n View dialogView = LayoutInflater.from(context).inflate(R.layout.my_dialog, viewGroup, false);\n\n TextView btnUnfollow = dialogView.findViewById(R.id.btn_unfollow);\n TextView btnCancel = dialogView.findViewById(R.id.btn_cancel);\n TextView txtUsername = dialogView.findViewById(R.id.txt_username);\n TextView txtAvatar = dialogView.findViewById(R.id.txt_avatar);\n CircleImageView imgAvatar = dialogView.findViewById(R.id.img_avatar);\n\n txtAvatar.setText(GlobalFunc.getFirstLetter(visitor.username));\n txtUsername.setText(visitor.username);\n\n //Now we need an AlertDialog.Builder object\n AlertDialog.Builder builder = new AlertDialog.Builder(context, R.style.myDialogForUnVisit);\n //setting the view of the builder to our custom view that we already inflated\n builder.setView(dialogView);\n\n //finally creating the alert dialog and displaying it\n AlertDialog alertDialog = builder.create();\n alertDialog.getWindow().setBackgroundDrawableResource(android.R.color.transparent);\n alertDialog.show();\n\n btnUnfollow.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n unVisit(visitor);\n alertDialog.hide();\n }\n });\n\n btnCancel.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n alertDialog.hide();\n }\n });\n }", "@Override\n public void onDismiss(DialogInterface dialog)\n {\n }", "@Override\n public void onItemClick(AdapterView<?> parent, View view, final int position, long id) {\n\n final int x = position;\n LayoutInflater inflater = getLayoutInflater();\n View layout = inflater.inflate(R.layout.car_item_edit, null);\n TextView tv = (TextView) layout.findViewById(R.id.car_item_editdialog_textview);\n final EditText et = (EditText) layout.findViewById(R.id.car_item_editdialog_edittext);\n\n String hintText = bundle.getString(userName[position]);\n tv.setText(hintText);\n\n builder = new AlertDialog.Builder(CarItemActivity.this);\n alert = builder.setView(layout)\n .setPositiveButton(\"Save\", new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n\n Object edittext;\n String key = userName[x];\n String ObjectId = bundle_id.getString(\"ObjectId\");\n if(position == 3 || position == 4) {\n edittext = Integer.parseInt(et.getText().toString());\n }\n else{\n edittext = et.getText().toString();\n }\n\n AVObject caritem_edit = AVObject.createWithoutData(\"Car\",ObjectId);\n caritem_edit.put(key,edittext);\n caritem_edit.saveInBackground(new SaveCallback() {\n @Override\n public void done(AVException e) {\n if(e == null){\n ToastUtil.show(CarItemActivity.this,\"修改成功\");\n }else{\n ToastUtil.show(CarItemActivity.this,e.getMessage());\n }\n }\n });\n dialog.dismiss();\n }\n })\n .setNegativeButton(\"Cancel\", new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n dialog.dismiss();\n }\n })\n .create();\n alert.show();\n }", "@Override\n public void onBindViewHolder(final ViewHolder holder, final int position) {\n Singleton singleton = Singleton.getInstance();\n final String description = mainObject.getmDetailsObject().get(position).getmDescription();\n holder.textView.setText(description);\n\n //TODO holder.card.setOnLongClickListener();\n\n holder.card.setOnLongClickListener(new View.OnLongClickListener() {\n @Override\n public boolean onLongClick(View view) {\n\n mainObject.getmDetailsObject().remove(position);\n notifyItemRemoved(position);\n notifyItemRangeChanged(position, mainObject.getmDetailsObject().size());\n notifyDataSetChanged();\n\n //delete stuff\n return true;\n }\n });\n\n\n holder.card.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n Toast.makeText(view.getContext(), \"Clicked\", Toast.LENGTH_SHORT).show();\n\n\n final AlertDialog.Builder dialogBuilder = new AlertDialog.Builder(view.getContext());\n// LayoutInflater inflater = ________________getLayoutInflater();\n\n dialogBuilder.setView(R.layout.dialog_description);\n\n\n dialogBuilder.setPositiveButton(\"Add\", new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialogInterface, int i) {\n Singleton singleton = Singleton.getInstance();\n Dialog dialog = (Dialog) dialogInterface;\n\n final EditText mEditTextOne = (EditText) dialog.findViewById(R.id.textDescription);\n\n\n String one = mEditTextOne.getText().toString().trim();\n\n\n if (one == \"\") {\n mEditTextOne.setError(\"Not valid entry\");\n } else if (one.isEmpty()) {\n mEditTextOne.setError(\"Can't leave empty\");\n\n } else {\n mainObject.getmDetailsObject().get(position).setmDescription(one);\n String temp = mainObject.getmDetailsObject().get(position).getmDescription();\n\n// mainObject.getmDetailsObject().get(position).setmDetail(one);\n String title = mainObject.getmDetailsObject().get(position).getmDetail();\n\n holder.textView.setText(title);\n holder.textView2.setText(temp);\n// adapterFirst.notifyDataSetChanged();\n// dialogInterface.dismiss();\n }\n }\n });\n dialogBuilder.setNegativeButton(\"Cancel\", new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialogInterface, int i) {\n dialogInterface.dismiss();\n }\n });\n\n dialogBuilder.setTitle(\"Add Item Description\");\n\n final AlertDialog bundler = dialogBuilder.create();\n\n bundler.show();\n }\n\n\n });\n }", "public void show_dialog(final View view){\n final String tag = String.valueOf(view.getTag());\n LayoutInflater inflater = getLayoutInflater();\n final View layout = inflater.inflate(R.layout.food_information_layout,(ViewGroup) findViewById(R.id.foodInformation));\n\n final AlertDialog alertDialog=new AlertDialog.Builder(AddItemActivity.this)\n .setTitle(\"Food Information\").setView(layout).setPositiveButton(\"Confirm\", new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n add_item_to_grid(view);\n TextView textView2=(TextView)layout.findViewById(R.id.DaysLeft);\n String quality_period=textView2.getText().toString();\n qualityPeriodToDB(tag,quality_period);\n }\n })\n .setNegativeButton(\"Cancel\", new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n }\n }).show();\n TextView textView=(TextView)alertDialog.findViewById(R.id.foodName);\n textView.setText(tag);\n\n TextView textView2=(TextView)alertDialog.findViewById(R.id.DaysLeft);\n String quality_period= qualityPeriodFromDB(tag);\n textView2.setText(quality_period);\n\n TextView textView3=(TextView)layout.findViewById(R.id.bestBefore);\n try {\n String bestBefore=calculateDate(quality_period);\n textView3.setText(bestBefore);\n } catch (ParseException e) {\n e.printStackTrace();\n }\n }", "public void onClick(View v) {\n\t\t\tfinal Dialog dialog = new Dialog(v.getContext());\n\t\t\tdialog.requestWindowFeature(Window.FEATURE_NO_TITLE); \n\t dialog.setContentView(R.layout.image_dialog);\n\t ImageView imgDialog = (ImageView) dialog.findViewById(R.id.ImageViewGallery01);\n\t imgDialog.setTag(imgUrl);\n\t imgDialog.setScaleType(ImageView.ScaleType.FIT_XY);\n\t imageLoader.DisplayImage(imgUrl, InfoPoiDetail.this, imgDialog);\n\t \n\t imgDialog.setOnClickListener(new View.OnClickListener() {\n\t\t\t\t\n\t\t\t\tpublic void onClick(View v) {\n\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\tdialog.dismiss();\n\t\t\t\t}\n\t\t\t});\n\t dialog.setTitle(\"\");\n\t dialog.setCancelable(true);\n\t android.view.WindowManager.LayoutParams lp=dialog.getWindow().getAttributes();\n\n\t lp.flags=\n\t \tandroid.view.WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS | \n\t \tandroid.view.WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL;\n\n\t dialog.getWindow().setAttributes(lp);\n\t dialog.show();\n//\t stopProgress();\n\t\t}", "public void Skills(View v) {\n TextView txtclose;\n Button btn;\n myDialog.setContentView(R.layout.skills);\n txtclose = (TextView) myDialog.findViewById(R.id.txtclose);//exit the dialog\n txtclose.setText(\"X\");//edit the text in close textbox\n txtclose.setOnClickListener(new View.OnClickListener() {//listener\n @Override\n public void onClick(View v) {\n myDialog.dismiss();//call the popup message\n }\n });\n myDialog.getWindow().setBackgroundDrawable(new ColorDrawable(Color.TRANSPARENT));//editable in xml\n myDialog.show();//to show\n\n }", "public void showModal(final int pos) {\n final Grocery grocery = currentGroc.get(pos);\n\n LayoutInflater li = LayoutInflater.from(mContext);\n\n View promptsView = li.inflate(R.layout.grocery_edit, null);\n\n AlertDialog.Builder alertDialogBuilder = new AlertDialog.Builder(mContext);\n\n alertDialogBuilder.setView(promptsView);\n\n final EditText editGrocName = (EditText) promptsView.findViewById(R.id.grocNameEdit);\n final EditText editGrocQuant = (EditText) promptsView.findViewById(R.id.grocQuantEdit);\n final Spinner spinner = (Spinner) promptsView.findViewById(R.id.PeopleSpinnerGrocery);\n\n\n editGrocName.setText(grocery.getItemName());\n editGrocQuant.setText(\"\" + grocery.getQuantity());\n ArrayAdapter myAdap = (ArrayAdapter) spinner.getAdapter(); //cast to an ArrayAdapter\n final int spinnerPosition = myAdap.getPosition(grocery.getRequestUser());\n spinner.setSelection(spinnerPosition);\n grocToDelete = grocery;\n\n alertDialogBuilder\n .setCancelable(false)\n .setPositiveButton(\"Edit\",\n new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n grocery.getDateRequested();\n grocery.setRequestUser(spinner.getSelectedItem().toString());\n grocery.setItemName(editGrocName.getText().toString());\n grocery.setQuantity(Integer.parseInt(editGrocQuant.getText().toString()));\n ListView lv = (ListView) findViewById(R.id.list_grocery);\n GroceryRowAdapter adapter = new GroceryRowAdapter(mContext, currentGroc);\n lv.setAdapter(adapter);\n currentAdapter(lv);\n\n HTTP_Connector.editGrocery dbEditGroc = httpcon.new editGrocery();\n dbEditGroc.execute(grocery);\n }\n })\n .setNegativeButton(\"Cancel\",\n new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n dialog.cancel();\n }\n });\n // create alert dialog\n alertDialog = alertDialogBuilder.create();\n\n // show it\n alertDialog.show();\n }", "@Override\n public void onDismiss(DialogInterface dialog) {\n }", "@Override\n\t\t\t\t\t\t\t\t\t\t\t\tpublic void onClick(View v) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tDialogImage dialog = DialogImage\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.newInstance(place.gallery\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.get(index_id_dialog)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.toString());\n\t\t\t\t\t\t\t\t\t\t\t\t\tdialog.show(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tgetFragmentManager(),\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tTools.TAG_DIALOG_IMAGE);\n\t\t\t\t\t\t\t\t\t\t\t\t}", "@Override\n public void onClick(View view) {\n final Dialog dialog = new Dialog(context);\n dialog.setTitle(\"FIRE ASSISTANCE\");\n dialog.setContentView(R.layout.zdialog_fire);\n\n WindowManager.LayoutParams lp1 = new WindowManager.LayoutParams();\n lp1.copyFrom(dialog.getWindow().getAttributes());\n lp1.width = WindowManager.LayoutParams.MATCH_PARENT;\n lp1.height = WindowManager.LayoutParams.WRAP_CONTENT;\n lp1.gravity = Gravity.CENTER;\n\n dialog.getWindow().setAttributes(lp1);\n\n fire1 = (LinearLayout) dialog.findViewById(R.id.fire1);\n fire2 = (LinearLayout) dialog.findViewById(R.id.fire2);\n fire3 = (LinearLayout) dialog.findViewById(R.id.fire3);\n fire4 = (LinearLayout) dialog.findViewById(R.id.fire4);\n fire5 = (LinearLayout) dialog.findViewById(R.id.fire5);\n fire6 = (LinearLayout) dialog.findViewById(R.id.fire6);\n\n fireRanked1 = (TextView) dialog.findViewById(R.id.fireRank1);\n fireRanked2 = (TextView) dialog.findViewById(R.id.fireRank2);\n fireRanked3 = (TextView) dialog.findViewById(R.id.fireRank3);\n fireRanked4 = (TextView) dialog.findViewById(R.id.fireRank4);\n fireRanked5 = (TextView) dialog.findViewById(R.id.fireRank5);\n fireRanked6 = (TextView) dialog.findViewById(R.id.fireA);\n\n fireRanked1.setText(agencyNameFire[0] + \"\" + statusFire[0]);\n fireRanked2.setText(agencyNameFire[1] + \"\" + statusFire[1]);\n fireRanked3.setText(agencyNameFire[2] + \"\" + statusFire[2]);\n fireRanked4.setText(agencyNameFire[3] + \"\" + statusFire[3]);\n fireRanked5.setText(agencyNameFire[4] + \"\" + statusFire[4]);\n fireRanked6.setText(agencyNameFire[5]);\n\n fire1.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n callDialog(contLandlineFire[0].toString(), contCpFire[0].toString(), regFire[0], \"Fire\");\n\n }\n });\n\n fire2.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n callDialog(contLandlineFire[1].toString(), contCpFire[1].toString(), regFire[1], \"Fire\");\n\n }\n });\n\n fire3.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n callDialog(contLandlineFire[2].toString(), contCpFire[2].toString(), regFire[2], \"Fire\");\n\n }\n });\n\n fire4.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n callDialog(contLandlineFire[3].toString(), contCpFire[3].toString(), regFire[3], \"Fire\");\n\n }\n });\n\n fire5.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n callDialog(contLandlineFire[4].toString(), contCpFire[4].toString(), regFire[4], \"Fire\");\n\n }\n });\n fire6.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n callDialog(contLandlineCrime[5].toString(), contCpCrime[5].toString(), \"L0LucU9RMgOtV1MwVCGUR6oyhy62\", \"Fire\");\n\n }\n });\n\n // set the custom dialog components - text, image and button\n\n dialog.show();\n\n }", "@Override\r\n\tprotected Dialog onCreateDialog(int id) {\n\t\tswitch (id) {\r\n case DIALOG_SELF:\r\n \treturn new AlertDialog.Builder(PhotoImagePagerActivity.this, AlertDialog.THEME_HOLO_LIGHT)\r\n .setTitle(\"选项\")\r\n .setItems(R.array.dialog_self, new DialogInterface.OnClickListener() {\r\n public void onClick(DialogInterface dialog, int which) {\r\n \tif (which == 0)\r\n \t{\r\n \t\t// 设置活动封面\r\n \t\tMap<String, String> params = new HashMap<String, String>();\r\n \t\tparams.put(\"event_id\", String.valueOf(event_id));\r\n \t\tparams.put(\"event_pic_width\", String.valueOf(UDisplayWidth.getPosterPicWidth(PhotoImagePagerActivity.this)));\r\n \t\tparams.put(\"pic_id\", String.valueOf(pic_id));\r\n \t\t\r\n \t\tmDataLoader.postData(UConstants.SETTING_PIC_URL, params, PhotoImagePagerActivity.this, new HDataListener() {\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\t\tpublic void onFinish(String source) {\r\n\t\t\t\t\t\t\t\t// TODO Auto-generated method stub\r\n\t\t\t\t\t\t\t\tGson gson = new Gson();\r\n\t\t\t\t\t\t\t\ttry {\r\n\t\t\t\t\t\t\t\t\tTempModel mTempModel = gson.fromJson(source, new TypeToken<TempModel>(){}.getType());\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\tif (mTempModel != null)\r\n\t\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\tToast.makeText(PhotoImagePagerActivity.this, mTempModel.message, Toast.LENGTH_SHORT).show();\r\n\t\t\t\t\t\t\t\t\t\tDDBOpenHelper mDdbOpenHelper = DDBOpenHelper.getInstance(PhotoImagePagerActivity.this);\r\n\t\t\t\t\t\t\t\t\t\tmDdbOpenHelper.updateLocalEventModel(mTempModel.event);\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\telse {\r\n\t\t\t\t\t\t\t\t\t\tToast.makeText(PhotoImagePagerActivity.this, \"数据解析出错\", Toast.LENGTH_SHORT).show();\r\n\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} catch (JsonSyntaxException e) {\r\n\t\t\t\t\t\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\t\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\tToast.makeText(PhotoImagePagerActivity.this, \"数据解析出错\", Toast.LENGTH_SHORT).show();\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\t\r\n\t\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\t\tpublic void onFail(String msg) {\r\n\t\t\t\t\t\t\t\t// TODO Auto-generated method stub\r\n\t\t\t\t\t\t\t\tToast.makeText(PhotoImagePagerActivity.this, \"服务器错误\", Toast.LENGTH_SHORT).show();\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t});\r\n \t}\r\n \telse if (which == 1)\r\n \t{\r\n \t\t// 设置删除图片\r\n \t\tMap<String, String> params = new HashMap<String, String>();\r\n \t\tparams.put(\"pic_id\", String.valueOf(pic_id));\r\n \t\tparams.put(\"method\", \"delete\");\r\n \t\t\r\n \t\tmDataLoader.postData(UConstants.DELETE_PIC_URL, params, PhotoImagePagerActivity.this, new HDataListener() {\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\t\tpublic void onFinish(String source) {\r\n\t\t\t\t\t\t\t\t// TODO Auto-generated method stub\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\t\tpublic void onFail(String msg) {\r\n\t\t\t\t\t\t\t\t// TODO Auto-generated method stub\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t});\r\n \t}\r\n \telse if (which == 2)\r\n \t{\r\n \t\t// 保存图片到本地\r\n \t\tmFinalBitmap.display(downloadImageView, big_pic_url);\r\n \t}\r\n }\r\n })\r\n .create();\r\n case DIALOG_OTHER:\r\n \treturn new AlertDialog.Builder(PhotoImagePagerActivity.this, AlertDialog.THEME_HOLO_LIGHT)\r\n .setTitle(\"选项\")\r\n .setItems(R.array.dialog_other, new DialogInterface.OnClickListener() {\r\n public void onClick(DialogInterface dialog, int which) {\r\n \tif (which == 0)\r\n \t{\r\n \t\tmFinalBitmap.display(downloadImageView, big_pic_url);\r\n \t}\r\n }\r\n })\r\n .create();\r\n }\r\n return null;\r\n\t}", "private void makeAlterView(final int position) {\n\t\tAlertDialog.Builder builder = new AlertDialog.Builder(this);\r\n\t\tfinal AlertDialog dialog = builder.create();\r\n\r\n\t\tView view = View.inflate(this, R.layout.my_alterview, null);\r\n\t\tdialog.setView(view, 0, 0, 0, 0);// 0,0,0,0表示的是上下左右边距,以避免低版本弹出的Dialog有框\r\n\t\tTextView tv_content = (TextView) view.findViewById(R.id.tv_content);\r\n\t\tButton bt_queding = (Button) view.findViewById(R.id.bt_queding);\r\n\t\tButton bt_quxiao = (Button) view.findViewById(R.id.bt_quxiao);\r\n\t\tbt_queding.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\t// TODO Auto-generated method stub\r\n\r\n\t\t\t\tam.killBackgroundProcesses(am.getRunningAppProcesses().get(\r\n\t\t\t\t\t\tposition).processName);\r\n\t\t\t\tdialog.dismiss();\r\n\t\t\t\tgetRunningProgress();\r\n\t\t\t\tupdateMemInfo();\r\n\t\t\t\tmakeToast(\"你已经杀死该进程\");\r\n\r\n\t\t\t}\r\n\t\t});\r\n\t\tbt_quxiao.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\t// TODO Auto-generated method stub\r\n\t\t\t\tdialog.dismiss();\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tdialog.show();\r\n\t}", "@Override\n public void onItemClick(AdapterView<?> arg0, View arg1, int position, long arg3) {\n if (dialog.isShowing()) {\n\n dialog.dismiss();\n\n\n }\n res_exp.setText(str_exp[position]+ \" years\");\n res_exp.setTextColor(Color.parseColor(\"#000000\"));\n }", "public void onItemClick(int position) {\n showDialog(position);\n }", "@Override\n public void onClick(DialogInterface dialog, int which) {\n String name = nameEditText.getText().toString();\n //int number = Integer.parseInt(numberEditText.getText().toString());\n String numberString = numberEditText.getText().toString();\n int number = 0;\n //if (numberString != null){\n if(numberString.isEmpty() || numberString.length() == 0 || numberString.equals(\"\") || numberString == null) {\n number = 0;\n }else{\n number = Integer.parseInt(numberString);\n }\n //checkToggleButton();\n\n\n\n /*Boolean colour = Boolean.FALSE;\n if(colour = Boolean.TRUE){\n mJerseyImageView.setImageResource(R.drawable.green_jersey);\n }else\n {\n mJerseyImageView.setImageResource(R.drawable.purple_jersey);\n }*/\n\n mCurrentItem = new JerseyItem(name, number, true);\n showCurrentItem();}", "@Override\r\n\t protected void onPrepareDialog(int id, Dialog dialog) {\n\t switch(id){\r\n\t case(ID_SCREENDIALOG):\r\n\t \tdialog.setTitle(\"Job Details\");\r\n\t \tButton myButton = new Button(this);\r\n\t \tmyButton.setText(\"Cancel\");\r\n\t \tmyButton.setBackgroundColor(Color.parseColor(\"#ff4c67\"));\r\n\t \tmyButton.setTextColor(Color.parseColor(\"#ffffff\"));\r\n\t \tRelativeLayout datlis = (RelativeLayout)screenDialog.findViewById(R.id.datalist01);\r\n\t \tLayoutParams lp = new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT);\r\n\t \tlp.addRule(RelativeLayout.BELOW, list.getId());\r\n\t \tdatlis.addView(myButton, lp);\r\n\t \tmyButton.setOnClickListener(dismissscreen);\r\n\t \t\r\n\t break;\r\n\t }\r\n\t }", "@Override\n public void ingredientInfo(int position) {\n // I created this dialog box with some additional information about ingredients\n // if an ingredient is being clicked then it pops up and we get more information about it\n Dialog dialog = new Dialog(getContext());\n dialog.setContentView(R.layout.infobox_ingredient_dialog);\n\n // Creating an animation for the dialog information\n YoYo.with(Techniques.RollIn).repeat(0).repeatMode(1).duration(600).playOn(dialog.findViewById(R.id.infobox));\n\n TextView info_title = (TextView) dialog.findViewById(R.id.info_title);\n TextView info_desc = (TextView) dialog.findViewById(R.id.info_desc);\n TextView info_kcal = (TextView) dialog.findViewById(R.id.info_kcal);\n TextView info_nutr = (TextView) dialog.findViewById(R.id.info_nutr);\n\n info_title.setText(ingredients.get(position).getTitle());\n info_desc.setText(ingredients.get(position).getDesc());\n info_kcal.setText(ingredients.get(position).getKcal());\n info_nutr.setText(ingredients.get(position).getNutr());\n\n dialog.show();\n }", "@Override\n public void onClick(View view) {\n\n AlertDialog.Builder builder = new AlertDialog.Builder(AboutUsActivity.this);\n\n View view1 = LayoutInflater.from(getApplicationContext()).inflate(R.layout.popupaboutus_team,null,false);\n\n final AlertDialog alertDialog = builder.create();\n\n alertDialog.setCancelable(false);\n\n alertDialog.setView(view1);\n\n ImageView imageView1 = (ImageView)view1.findViewById(R.id.exist);\n imageView1.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n\n alertDialog.dismiss();\n }\n });\n\n alertDialog.show();\n }", "@Override\r\n public void onDismiss(DialogInterface dialog) {\n\r\n }", "@Override\r\n public void onDismiss(DialogInterface dialog) {\n\r\n }", "@Override\r\n public void onDismiss(DialogInterface dialog) {\n\r\n }", "@Override\n public void onItemClick(AdapterView<?> parent, View view,\n int position, long id) {\n DialogFragment newFragment = PopupBook.newInstance(\n R.string.dismis,books,books.get(+position),b_adapter,inbin,true);\n newFragment.show(getFragmentManager(), \"dialog\");\n\n\n // /books.get(+position);\n //AlertDialog.Builder a = pop_helper.PopProduct(books.get(+position),getApplicationContext(),(ViewGroup) findViewById(R.id.layout_root));\n //final AlertDialog alertDialog = a.create();\n\n //alertDialog.show();\n\n }", "@Override\n public void onClick(DialogInterface dialog, int which) {\n\n }", "@Override\n public void onClick(DialogInterface dialog, int which) {\n\n }", "public void onItemClick(AdapterView<?> parent, View view,\n int position, long id) {\n AlertDialog.Builder builder = new AlertDialog.Builder(parent.getContext());\n\n String productName= MainActivity.datastores.get(itemPos).productList.get(position).getName();\n int salePrice= MainActivity.datastores.get(itemPos).productList.get(position).getSale_price();\n\n // 2. Chain together various setter methods to set the dialog characteristics\n builder.setMessage(String.format(getResources().getString(R.string.dialog_message), productName, salePrice))\n .setTitle(R.string.dialog_title)\n .setPositiveButton(R.string.fire, new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n // FIRE ZE MISSILES!\n }\n })\n .setNegativeButton(R.string.cancel, new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n // User cancelled the dialog\n }\n });;\n\n // 3. Get the AlertDialog from create()\n AlertDialog dialog = builder.create();\n dialog.show();\n\n Toast.makeText(getBaseContext(),Integer.toString(position), Toast.LENGTH_SHORT).show();\n }", "@Override\n public void onClick(DialogInterface dialog, int id) {\n\n }", "@Override\n public void onClick(DialogInterface dialog, int id) {\n\n }", "@Override\n public void onClick(View view) {\n dialog = new Dialog(getActivity());\n dialog.getWindow().getAttributes().windowAnimations = R.style.up_down;\n dialog.setContentView(R.layout.add_food_fragment);\n dialog.setCancelable(true);\n Window window = dialog.getWindow();\n window.setLayout(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT);\n if (dialog != null && dialog.getWindow() != null) {\n dialog.getWindow().setBackgroundDrawable(new ColorDrawable(Color.TRANSPARENT));\n }\n initDialog();\n\n\n //Spinner to show list add Food Ways\n spinner();\n\n dialog.show();\n }", "public void onClick(DialogInterface dialog, int id) {\n dialog.cancel();\n Toast.makeText(getApplicationContext(),\"MineSweeper!!\",\n Toast.LENGTH_SHORT).show();\n }", "@Override\n public void onClick(DialogInterface dialog, int item) {\n if (item == 0) {\n deleteItem(parent, position);\n } else if (item == 1) {\n updateBook(parent, position);\n } else if (item == 2) {\n updateAuthor(parent, position);\n }else if (item == 3) {\n makeChoice(false);\n } else if (item == 4) {\n makeChoice(true);\n }\n\n\n }", "@Override\n public void onClick(DialogInterface dialog, int which) {\n\n }", "@Override\n public void onDismiss(DialogInterface arg0) {\n\n }", "public void btnDeleteSkill(View v) {\n AlertDialog.Builder builder = new AlertDialog.Builder(MainActivity.this);\n\n // Use custom layout for dialog\n LayoutInflater inflater = getLayoutInflater();\n final View dialogView = inflater.inflate(R.layout.dialog_delete_skills, null);\n builder.setView(dialogView);\n\n final TextView deleteTextView = dialogView.findViewById(R.id.deleteTextView);\n deleteTextView.setText(Html.fromHtml(getString(R.string.delete_skill_dialog_text,\n recyclerViewAdapter.getSelectedItems().size())));\n\n // Disable canceling on touching outside\n builder.setCancelable(false);\n\n // Make final to use in inner class\n final AlertDialog dialog = builder.create();\n\n // Create button (textview)\n TextView deleteBtn = dialogView.findViewById(R.id.deleteBtn);\n deleteBtn.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n\n // Delete selected skills\n for (SkillEntity skill : recyclerViewAdapter.getSelectedItems()) {\n viewModel.deleteSkill(skill);\n }\n\n // Prepare custom bar (show after deleting)\n TextView deletedSkillsBarTextView = deletedSkillsBar.findViewById(R.id.deletedSkillsBarTextView);\n deletedSkillsBarTextView.setText(getString(R.string.delete_skills_bar_text,\n recyclerViewAdapter.getSelectedItems().size()));\n\n // Clear selection\n recyclerViewAdapter.clearSelection();\n selectedSkillsLData.setValue(recyclerViewAdapter.getSelectedItems());\n\n dialog.dismiss();\n\n vibrator.vibrate(100);\n\n // Make deletedSkillsBar visible for 3 seconds and then hide\n deletedSkillsBar.setVisibility(View.VISIBLE);\n new CountDownTimer(3000, 30) {\n\n @Override\n public void onTick(long arg0) {\n\n }\n\n @Override\n public void onFinish() {\n deletedSkillsBar.setVisibility(View.GONE);\n }\n }.start();\n\n\n }\n });\n\n // Create button (textview)\n TextView camcelBtn = dialogView.findViewById(R.id.cancelBtn);\n camcelBtn.setOnClickListener(new View.OnClickListener() {\n\n public void onClick(View v) {\n recyclerViewAdapter.clearSelection();\n selectedSkillsLData.setValue(recyclerViewAdapter.getSelectedItems());\n dialog.dismiss();\n }\n });\n\n\n // Cancel dialog on back key pressed\n dialog.setOnKeyListener(new Dialog.OnKeyListener() {\n @Override\n public boolean onKey(DialogInterface di, int keyCode,\n KeyEvent event) {\n\n if (keyCode == KeyEvent.KEYCODE_BACK) {\n // Clear selection\n recyclerViewAdapter.clearSelection();\n selectedSkillsLData.setValue(recyclerViewAdapter.getSelectedItems());\n // Cancel dialog\n dialog.dismiss();\n }\n return false;\n }\n });\n\n\n dialog.show();\n\n }", "@Override\n public void onClick(DialogInterface dialog, int which) {\n\n }", "@Override\n public void onClick(DialogInterface dialog, int which) {\n\n }", "@Override\n public void onClick(DialogInterface dialog, int which) {\n\n }", "@Override\n public void onClick(DialogInterface dialog, int which) {\n\n }", "@Override\n public void onClick(DialogInterface dialog, int which) {\n\n }", "@Override\n\t\t\tpublic void onClick(DialogInterface dialog, int which) {\n\t\t\t\tParseQuery<ParseObject> deleteQuery = ParseQuery.getQuery(\"newItem\");\n\t\t\t\t//Remove item from listview\n\t\t\t\tdeleteQuery.findInBackground(new FindCallback<ParseObject>() {\n\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void done(List<ParseObject> itemsList, ParseException e) {\n\t\t\t\t\t\tif (e == null) {\n\t\t\t\t\t\t\t//Delete item from parse\n\t\t\t\t\t\t\titemsList.get(deleteItemPosition).deleteInBackground(new DeleteCallback() {\n\n\t\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\t\tpublic void done(ParseException arg0) {\n\t\t\t\t\t\t\t\t\tif (arg0 == null) {\n\t\t\t\t\t\t\t\t\t\tToast.makeText(getBaseContext(),\"Item Successfully Deleted!\", Toast.LENGTH_LONG).show();\n\t\t\t\t\t\t\t\t\t\t//Clear item arraylist and repop listview\n\t\t\t\t\t\t\t\t\t\tparseArrayList.clear();\n\t\t\t\t\t\t\t\t\t\tqueryParseForItems();\n\t\t\t\t\t\t\t\t\t\tlistAdapter.notifyDataSetChanged();\n\t\t\t\t\t\t\t\t\t\t//itemListView.setEnabled(true);\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tToast.makeText(getBaseContext(),\"An error occured, please try again.\", Toast.LENGTH_LONG).show();\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}); //deleteInBackground close\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}); //findInBackground close\n\t\t\t}", "@Override \n public void onClick(DialogInterface dialog, int which) {\n \n }", "@Override\n public void onClick(DialogInterface dialog, int which) {\n\n }", "@Override\n public void onClick(DialogInterface dialog, int which) {\n\n }", "@Override\n public void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n\n String AlertTxt = \"\\\"\" + productList.get(position).getTitle() + \"\\\"\\n\" + getResources().getString(R.string.freeques);\n\n FreeShopDialog alert = new FreeShopDialog.Builder()\n .setMessage(AlertTxt)\n .setImage(productList.get(position).getImageId())\n .setYesButton(R.string.yes)\n .setNoButton(R.string.no)\n .setLayout(R.layout.shop_box)\n .setPosition(position)\n .build();\n alert.setActivity(activity);\n alert.show(getFragmentManager(), \"FREESHIT\");\n }", "public void onItemClick(AdapterView<?> arg0, View arg1, int index,\n\t\t\t\t\tlong arg3) {\n\t\t\t\t final int idex = index;\n\t\t\t\t final long position = arg3;\n\t\t\t\t final AlertDialog dlg2 = new AlertDialog.Builder(PropagandaListActivity.this).create();\n\t\t\t\t\tdlg2.show();\t\t\t\t\t\n\t\t\t\t\tdlg2.getWindow().setContentView(R.layout.dialog_new);\n\t\t\t\t\tButton confirm =(Button)dlg2.findViewById(R.id.button_confirm);\n\t\t\t\t\tButton cancel =(Button)dlg2.findViewById(R.id.button_cancel);\n\t\t\t\t\tTextView tv = (TextView)dlg2.findViewById(R.id.notice_message);\n\t\t\t\t\ttv.setTextSize(16);\n\t\t\t\t\ttv.setText(MainActivity.resources.getString(R.string.propagandalist_toast1)+GameData.pro[index].money+MainActivity.resources.getString(R.string.propagandalist_toast2));\n\t\t\t\t confirm.setOnClickListener(new OnClickListener() {\n\t\t\t\t\t\t\n\t\t\t\t\t\t \n\t\t\t\t\t\tpublic void onClick(View v) {\n\t\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\t\tConnection.sendMessage(GameProtocol.\n\t\t\t\t\t\t\t\t\tCONNECTION_SEND_JointAdvocacy_Req,\n\t\t\t\t\t\t\t\t\tConstructData.Join_JointAdvocacy_Req(GameData.pro[idex].id,0));//8宣传列表\n\t\t\t\t\t\t\tdlg2.dismiss();\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t cancel.setOnClickListener(new OnClickListener() {\n\t\t\t\t \t\n\t\t\t\t \t \n\t\t\t\t \tpublic void onClick(View v) {\n\t\t\t\t \t\t// TODO Auto-generated method stub\n\t\t\t\t \t\t\n\t\t\t\t \t\tdlg2.dismiss();\n\t\t\t\t \t}\n\t\t\t\t });\n/*\t\t\t\t \n\t\t\t\tAlertDialog.Builder builder = new AlertDialog.Builder(PropagandaListActivity.mContext);\n\t\t\t\tbuilder.setMessage(MainActivity.resources.getString(R.string.propagandalist_toast1)+GameData.pro[index].money+MainActivity.resources.getString(R.string.propagandalist_toast2))\n\t\t\t\t .setPositiveButton(MainActivity.resources.getString(R.string.dialog_ok), new DialogInterface.OnClickListener(){\t\t\t\t \t \n\t\t\t\t\t\t\n\t\t\t\t\t\tpublic void onClick(DialogInterface dialog, int which) {\n\t\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\t\tConnection.sendMessage(GameProtocol.\n\t\t\t\t\t\t\t\t\tCONNECTION_SEND_JointAdvocacy_Req,\n\t\t\t\t\t\t\t\t\tConstructData.Join_JointAdvocacy_Req(GameData.pro[idex].id));//8宣传列表\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tdialog.dismiss();\n\t\t\t\t\t\t}})\n\t\t\t\t .setNegativeButton(MainActivity.resources.getString(R.string.dialog_return), new DialogInterface.OnClickListener(){\n\n\t\t\t\t\t\t \n\t\t\t\t\t\tpublic void onClick(DialogInterface dialog, int which) {\n\t\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\t\tdialog.dismiss();\n\t\t\t\t\t\t}} );\n\t\t\t\tbuilder.create().show();*/\n\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\t\t \n\t\t\t\t\n\t\t\t}", "@Override\n public void onClick(DialogInterface dialog, int which) {\n\n }", "@Override\n public void onClick(DialogInterface dialog, int which) {\n\n }", "@Override\n public void onBindViewHolder(final CatalogAdapter.ViewHolder holder, final int position) {\n final PatientVO pveo = list.get(position);\n\n holder.pname.setText(pveo.getPname());\n holder.cdoctor.setText(pveo.getCdoctor());\n holder.address.setText(pveo.getAddress());\n try {\n if (pveo.getCreatedDateTimeLong() > 0)\n holder.adate.setText(Utility.convertMilliSecondsToFormatedDate(pveo.getCreatedDateTimeLong(), GLOBAL_DATE_FORMATE));\n else\n holder.adate.setText(\"Na\");\n\n } catch (Exception e) {\n e.printStackTrace();\n }\n\n holder.cardView.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n //Do on click stuff\n //Toast.makeText(holder.pname.getContext(), list.get(position), Toast.LENGTH_SHORT).show();\n String item = list.get(position).toString();\n Intent intent = new Intent(holder.pname.getContext(),Add_Updatelead__bankresult_Activity.class);\n intent.putExtra(\"itemName\",item);\n intent.putExtra(\"invoice\", pveo);\n holder.pname.getContext().startActivity(intent);\n\n }\n });\n\n holder.cardView.setOnLongClickListener(new View.OnLongClickListener()\n\n {\n @Override\n public boolean onLongClick (View view){\n\n// custom dialog\n return true;\n }\n });\n\n }", "@Override\n\tprotected void onCreate(Bundle arg0) {\n\t\tsuper.onCreate(arg0);\n\t\trequestWindowFeature(Window.FEATURE_NO_TITLE);\n\t\t\n\t\tIntent intent = getIntent();\n\t\tfinal DatabaseUtil mDatabaseUtil = new DatabaseUtil(this); \n\t\tfinal UiManager mUiManager = new UiManager(this);\n\t\t\n\t\tCustomDialog mCustomDialog = new CustomDialog(this);\n final CustomDialog customDialog = mCustomDialog;\n mCustomDialog = null;\n \n final ViewInfo viewInfo = new ViewInfo();\n\t\tviewInfo.panelNum = intent.getStringExtra(\"panelNum\");\n\t\tviewInfo.cellNum = intent.getStringExtra(\"cellNum\");\n\t\tviewInfo.viewId = \"shortcut\" + viewInfo.cellNum;\n\t\t\n customDialog.show();\n customDialog.setOnDismissListener(new OnDismissListener(){\n\n\t\t\tpublic void onDismiss(DialogInterface arg0) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\n\t\t\t\tTempActivity.this.finish();\n\t\t\t}\n });\n \n\t\tcustomDialog.setItemBackground(getResources().getDrawable(R.drawable.btn_default_normal_disable_focused));\n\t\t\n\t\tcustomDialog.loadingAllApp();\n\t\t\n\t\tcustomDialog.setOnSelectedItemsListener(new OnSelectedItemsListener(){\n\t\t\tpublic void onSelectedItems(Map<String,Integer> selectedMapPo) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\n\t\t\t}\n\t\t\tpublic void onSelectedItem(int position) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\n\t\t\t\tviewInfo.intentUri = customDialog.mAppList.get(position).intentUri;\n\t\t\t\t\n\t\t\t\tviewInfo.icon = customDialog.mAppList.get(position).icon;\n\t\t\t\tviewInfo.label = customDialog.mAppList.get(position).label;\n\t\t\t\t\n\t\t\t\tmUiManager.addItemToPanel(null\n\t\t\t\t,viewInfo\n\t\t\t\t,mDatabaseUtil);\n\t\t\t}\n\t\t});\n\t}", "private void visDialog(final RecyclerView.ViewHolder viewHolder) {\n\n // setup the alert builder\n AlertDialog.Builder builder = new AlertDialog.Builder(this);\n builder.setMessage(\"Fjerne spisested fra listen?\");\n\n // add a button\n builder.setPositiveButton(\"Jepps!\", new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n spisestedListe.remove(viewHolder.getAdapterPosition());\n spisestedAdapter.notifyItemRemoved(viewHolder.getAdapterPosition());\n }\n });\n // add a button\n builder.setNegativeButton(\"Nei forresten...\", new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n spisestedAdapter.notifyItemChanged(viewHolder.getAdapterPosition());\n }\n });\n\n //bygger dialogvindu\n AlertDialog dialog = builder.create();\n dialog.show();\n\n }", "@Override\n public void onClick(View v) {\n\n\n\n\n dialog.dismiss();\n }", "public void OnDeleteRecipe (View View)\n {\n \t\tImageView darkenScreen = (ImageView) findViewById(R.id.darkenScreen);\n \t\tLayoutParams darkenParams = darkenScreen.getLayoutParams();\n \t\tdarkenParams.height = 1000;\n \t\tdarkenParams.width = 1000;\n \t\tdarkenScreen.setLayoutParams(darkenParams);\n \t\t//make the popup\n \t\tLinearLayout layout = new LinearLayout(this);\n \t\tLayoutInflater inflater = LayoutInflater.from(this);\n \t\tpopUp = new PopupWindow(inflater.inflate(R.layout.popup_delete_recipe, null, false),300,150,true);\n \t\tpopUp.showAtLocation(layout, Gravity.CENTER, 0, 0);\n \t\t\n \t\t//Log.d(\"what\", \"what\");\n \t\t//popUp.update(50, 50, 300, 80);\n \t\t\n \n }", "@Override\n public boolean onLongClick(View view) {\n mDialog.showTextViewId(getId());\n //show width in dialog\n mDialog.showTextViewWidth(getWidth());\n //show height in dialog\n mDialog.showTextViewHeight(getHeight());\n //show bind view id in dialog\n mDialog.showBindViewId(mBindViewId);\n //set position of color spinner\n mDialog.showSpinnerColor(mColorPos);\n //show dialog\n mDialog.show();\n return false;\n }", "@Override\n public void onBindViewHolder(OrderViewHolder holder, final int position) {\n final ReadOrdersFromDB order = orderList.get(position);\n String prodName = \"\";\n int price = 0;\n if (!order.getCollected().equals(\"1\")) {\n\n for (int j = 0; j < orderList.get(position).getProduct_id().size(); j++) {\n for (int i = 0; i < productList.size(); i++) {\n if (productList.get(i).getId().equals(order.getProduct_id().get(j))) {\n prodName = prodName + productList.get(i).get_name() + \" x \" + order.getProductQuantity().get(j) + \"\\n\";\n price = (int) (price + (productList.get(i).get_value() * Integer.parseInt(order.getProductQuantity().get(j))));\n }\n }\n\n\n }\n holder.productName.setText(prodName);\n holder.price.setText(\"€\" + Integer.toString(price));\n\n holder.collectItem.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n\n final Dialog dialog = new Dialog(v.getContext());\n dialog.setContentView(R.layout.custom);\n dialog.setTitle(\"Opening Box\");\n\n Button dialogButton = (Button) dialog.findViewById(R.id.dialogButtonOK);\n dialog.show();\n dialogButton.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n final EditText Edit1 = (EditText) dialog.findViewById(R.id.editTextone);\n final EditText Edit2 = (EditText) dialog.findViewById(R.id.editTexttwo);\n final EditText Edit3 = (EditText) dialog.findViewById(R.id.editTextthree);\n final EditText Edit4 = (EditText) dialog.findViewById(R.id.editTextfour);\n String pinEntered = Edit1.getText().toString() + Edit2.getText().toString() + Edit3.getText().toString() + Edit4.getText().toString();\n if (pinEntered.equals(order.getCode())) {\n String type = \"collect\";\n BackgroundWorker backgroundWorker = new BackgroundWorker(mCtx);\n backgroundWorker.execute(type, order.getOrder_id());\n\n Toast.makeText(v.getContext(), \"CONGRADULATIONS User Entered \" + pinEntered,\n Toast.LENGTH_SHORT).show();\n\n dialog.getContext().startActivity(new Intent(dialog.getContext(), DoorServo.class));\n dialog.dismiss();\n } else {\n Toast.makeText(v.getContext(), \"ERROR User Entered code\" + pinEntered,\n Toast.LENGTH_SHORT).show();\n dialog.dismiss();\n }\n\n }\n });\n\n }\n });\n }\n\n\n }", "public void onClick(DialogInterface dialog, int which) {\n\t\t\t\t \t LinearLayout main = (LinearLayout) findViewById(R.id.top_layover); \n\t\t\t\t \t main.setBackgroundColor(0xff0099cc);\n\t\t\t\t \t LinearLayout shell = (LinearLayout) findViewById(R.id.bottom_layover); \n\t\t\t\t \t shell.setBackgroundColor(0xff0099cc);\n\t\t\t\t // Write your code here to execute after dialog\n\t\t\t\t Toast.makeText(getApplicationContext(),\n\t\t\t\t \"Declined\", Toast.LENGTH_SHORT)\n\t\t\t\t .show();\n\t\t\t\t dialog.cancel();\n\t\t\t\t }", "@Override\n public void onClick(View v) {\n\n AlertDialog.Builder builder = new AlertDialog.Builder(Resume_create_employee.this);\n builder.setTitle(\"Select\");\n ListView list = new ListView(Resume_create_employee.this);\n\n ArrayAdapter<String> adapter = new ArrayAdapter<String>(Resume_create_employee.this, R.layout.shortlistitem,\n R.id.textView1, str_exp);\n\n list.setAdapter(adapter);\n list.setOnItemClickListener(new AdapterView.OnItemClickListener() {\n\n @Override\n public void onItemClick(AdapterView<?> arg0, View arg1, int position, long arg3) {\n // TODO Auto-generated method stub\n if (dialog.isShowing()) {\n\n dialog.dismiss();\n\n\n }\n res_exp.setText(str_exp[position]+ \" years\");\n res_exp.setTextColor(Color.parseColor(\"#000000\"));\n }\n });\n builder.setView(list);\n dialog = builder.create();\n dialog.show();\n }", "@Override\n public void onClick(DialogInterface dialog, int which)\n {\n\n }", "@Override\n public void onClick(DialogInterface dialog, int id) {\n \n }", "@Override\n\t\t\t\tpublic void onClick(View v) {\n\t\t\t\t\tdialog();\n\t\t\t\t\t\n\t\t\t\t}", "@Override\n public void onClick(DialogInterface dialog, int which) {\n }", "@Override\n public void onClick(DialogInterface dialog, int which) {\n }", "@Override\n public void onClick(DialogInterface dialog, int which) {\n }", "@Override\n public void onClick(DialogInterface dialog, int which) {\n }", "@Override\n public void onClick(DialogInterface dialog, int which) {\n }", "@Override\n public void onClick(DialogInterface dialog, int which) {\n }", "@Override\n public void onClick(DialogInterface dialog, int which) {\n }", "@Override\n public void onClick(DialogInterface dialog, int which) {\n }", "@Override\n public void onClick(DialogInterface dialog, int which) {\n }", "@Override\n public void onClick(DialogInterface dialog, int which) {\n }", "@Override\n public void onClick(DialogInterface dialog, int which) {\n }", "@Override\n public void onClick(DialogInterface dialog, int id) {\n }", "@Override\n public void onClick(DialogInterface dialog, int id) {\n }", "@Override\n public void onClick(DialogInterface dialog, int id) {\n }", "@Override\n public void onClick(DialogInterface dialog, int id) {\n }", "public void diler(View view) {\n//dialogi stexcman mek ayl dzev en kirarel\n dialog_diler.show();\n }", "public void dialog_entranceSheet() {\n final Dialog dialog = new Dialog(ReportActivity.this);\n dialog.requestWindowFeature(Window.FEATURE_NO_TITLE);\n dialog.setContentView(R.layout.dialog_entrance_sheet);\n dialog.getWindow().setBackgroundDrawable(getResources().getDrawable(R.drawable.transparent));\n\n TextView tv_enterDialog = dialog.findViewById(R.id.tv_enterDialog);\n tv_enterDialog.setText(entrance_item);\n DataBaseHandler dataBaseHandler = new DataBaseHandler(ReportActivity.this);\n ArrayList<EntranceSheet> preEntranceSheetList = new ArrayList<>();\n preEntranceSheetList = dataBaseHandler.getAllEntranceSheet();\n\n TextView tv_Title = dialog.findViewById(R.id.tv_Title);\n if (preEntranceSheetList.size() == 0) {\n tv_Title.setText(no_entrace_data);\n } else {\n tv_Title.setText(has_entrance_data);\n }\n\n ListView lv_preEntranceSheet = dialog.findViewById(R.id.lv_preEntranceSheet);\n PreEntranceSheetAdapter preEntranceSheetAdapter = new PreEntranceSheetAdapter(ReportActivity.this, preEntranceSheetList, dialog);\n lv_preEntranceSheet.setAdapter(preEntranceSheetAdapter);\n\n Button bt_AddEntranceSheet = dialog.findViewById(R.id.bt_AddEntranceSheet);\n bt_AddEntranceSheet.setText(add_new_entrance_process);\n bt_AddEntranceSheet.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n\n dialog_AddEntranceSheet();\n dialog.dismiss();\n dialog.cancel();\n }\n });\n\n dialog.setCancelable(true);\n dialog.show();\n }", "@Override\n public Dialog onCreateDialog(Bundle savedInstanceState) {\n //return super.onCreateDialog(savedInstanceState); // TODO: should we call it?\n final String title = getArguments().getString(\"TITLE\");\n final String msg = getArguments().getString(\"MESSAGE\");\n final String pos = getArguments().getString(\"POS\");\n final String neg = getArguments().getString(\"NEG\");\n final String neu = getArguments().getString(\"NEU\");\n // TODO - this is just an int... what about other ... Parcelable\n final int idx = getArguments().getInt(\"IDX\");\n final int iconid = getArguments().getInt(\"ICON_ID\");\n final float textsize = getArguments().getFloat(\"MSGSIZE\");\n\n if (savedInstanceState != null) {\n tag = savedInstanceState.getString(\"TAG\");\n }\n\n final DialogInterface.OnClickListener listener = new DialogInterface.OnClickListener() {\n\n @Override\n public void onClick(DialogInterface dialogInterface, int clickedButton) {\n ConfirmListener act = (ConfirmListener) getActivity();\n act.processConfirmation(clickedButton, tag, idx);\n }\n };\n\n AlertDialog.Builder builder = new AlertDialog.Builder(getActivity())\n .setTitle(title)\n .setMessage(msg);\n if (iconid != 0 && getResources().getResourceTypeName(iconid).equals(\"drawable\")) {\n // this must be a R.drawable.id, otherwise crash!\n // android.content.res.Resources$NotFoundException:\n builder.setIcon(iconid);\n }\n if (pos != null) {\n builder.setPositiveButton(pos, listener);\n }\n if (neg != null) {\n builder.setNegativeButton(neg, listener);\n }\n if (neu != null) {\n builder.setNeutralButton(neu, listener);\n }\n\n dialog = builder.create();\n if (textsize != 0) {\n dialog.show(); // need to call this to be able to get the TextView as non-null pointer\n TextView tv = (TextView) dialog.findViewById(android.R.id.message);\n if (tv != null) {\n tv.setTextSize(textsize);\n }\n }\n return dialog;\n }", "@Override\n public void onClick(View view) {\n AlertDialog.Builder builder = new AlertDialog.Builder(getContext());\n builder.setTitle(\"Add an item\");\n // I'm using fragment here so I'm using getView() to provide ViewGroup\n // but you can provide here any other instance of ViewGroup from your Fragment / Activity\n View viewInflated = LayoutInflater.from(getContext()).inflate(R.layout.add_post_dialog, (ViewGroup) getView(), false);\n // Set up the input\n final EditText titleText = (EditText) viewInflated.findViewById(R.id.add_post_title);\n final EditText nameText = (EditText) viewInflated.findViewById(R.id.add_post_name);\n final EditText descText = (EditText) viewInflated.findViewById(R.id.add_post_description);\n final EditText priceText = (EditText) viewInflated.findViewById(R.id.add_post_price);\n final Spinner conditionSpinner = (Spinner) viewInflated.findViewById(R.id.add_post_spinner);\n final ImageView imageView = (ImageView) viewInflated.findViewById(R.id.add_post_image);\n\n ArrayAdapter<CharSequence> adapter = ArrayAdapter.createFromResource(getContext(), R.array.conditions_array, R.layout.support_simple_spinner_dropdown_item);\n adapter.setDropDownViewResource(R.layout.support_simple_spinner_dropdown_item);\n conditionSpinner.setAdapter(adapter);\n imagePicker = new ImagePicker(PostingsListFragment.this);\n imagePicker.setImagePickerCallback(new ImagePickerCallback(){\n @Override\n public void onImagesChosen(List<ChosenImage> images) {\n // Display images\n String url = images.get(0).getThumbnailPath();\n imageView.setImageURI(Uri.parse(url));\n setUrl(url);\n }\n\n @Override\n public void onError(String message) {\n // Do error handling\n }\n }\n );\n// imagePicker.allowMultiple(); // Default is false\n// imagePicker.shouldGenerateMetadata(false); // Default is true\n// imagePicker.shouldGenerateThumbnails(false); // Default is true\n\n imageView.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n imagePicker.pickImage();\n }\n });\n\n builder.setView(viewInflated);\n\n // Set up the buttons\n builder.setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n final DatabaseReference mPostsRef = FirebaseDatabase.getInstance().getReference(\"posts\");\n final String key = mPostsRef.push().getKey();\n String localurl = getUrl();\n Uri file = Uri.fromFile(new File(localurl));\n StorageReference riversRef = mStorageRef.child(\"images/\" + key + \".jpg\");\n\n riversRef.putFile(file)\n .addOnSuccessListener(new OnSuccessListener<UploadTask.TaskSnapshot>() {\n @Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n // Get a URL to the uploaded content\n Uri downloadUrl = taskSnapshot.getDownloadUrl();\n //Log.d(\"asd\", downloadUrl.toString());\n Post p = new Post(String.valueOf(downloadUrl),\n titleText.getText().toString(),\n descText.getText().toString(),\n Double.parseDouble(priceText.getText().toString()),\n conditionSpinner.getSelectedItem().toString(),\n nameText.getText().toString());\n\n\n Map<String, Object> postValues = p.toMap();\n Map<String,Object> childUpdates = new HashMap<>();\n childUpdates.put(key, postValues);\n mPostsRef.updateChildren(childUpdates);\n }\n })\n .addOnFailureListener(new OnFailureListener() {\n @Override\n public void onFailure(@NonNull Exception exception) {\n // Handle unsuccessful uploads\n // ...\n }\n });\n }\n });\n builder.setNegativeButton(android.R.string.cancel, new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n dialog.cancel();\n }\n });\n\n builder.show();\n\n }", "@Override\n public void onClick(DialogInterface dialog, int which) {\n }", "@Override\n public void onClick(DialogInterface dialog, int which) {\n }", "@Override\n public void onClick(DialogInterface dialog, int which) {\n }" ]
[ "0.7046065", "0.70028746", "0.69998103", "0.69998103", "0.6967141", "0.68778443", "0.6847086", "0.684064", "0.6772249", "0.67413205", "0.6662506", "0.6604834", "0.6604829", "0.6514019", "0.65128416", "0.65024", "0.6495997", "0.64866227", "0.647884", "0.647884", "0.6477213", "0.64595544", "0.64575887", "0.64438677", "0.64409953", "0.641916", "0.63863456", "0.6377159", "0.63675416", "0.63435346", "0.63338894", "0.63243514", "0.6305177", "0.6297946", "0.6291279", "0.62900144", "0.62742925", "0.6273245", "0.6272146", "0.62616116", "0.62616116", "0.62616116", "0.6260576", "0.62539274", "0.62539274", "0.6252813", "0.62420243", "0.62420243", "0.6234146", "0.62335664", "0.62275404", "0.6221827", "0.6213013", "0.6212199", "0.62066305", "0.62066305", "0.62066305", "0.62066305", "0.62066305", "0.62050414", "0.61937374", "0.61593676", "0.61593676", "0.6157081", "0.6154139", "0.6153854", "0.6153854", "0.6153853", "0.61522555", "0.6144777", "0.61439204", "0.6140711", "0.61389333", "0.6138147", "0.6136201", "0.6132496", "0.61282027", "0.61274683", "0.61262816", "0.61245257", "0.61245257", "0.61245257", "0.61245257", "0.61245257", "0.61245257", "0.61245257", "0.61245257", "0.61245257", "0.61245257", "0.61245257", "0.6122819", "0.6122819", "0.6122819", "0.6122819", "0.61196715", "0.6117795", "0.61067694", "0.61052006", "0.61025405", "0.61025405", "0.61025405" ]
0.0
-1
Runs the simulations for each intervention
private void simulateInterventions(int id, boolean baseCase) { final RepositoryInstance common = secParams.getInstance(); final int nInterventions = interventions.size(); final TimeFreeOfComplicationsView timeFreeListener = new TimeFreeOfComplicationsView(nPatients, nInterventions, false, secParams.getRegisteredComplicationStages()); final HbA1cListener[] hba1cListeners = new HbA1cListener[nInterventions]; final CostListener[] costListeners = new CostListener[nInterventions]; final LYListener[] lyListeners = new LYListener[nInterventions]; final QALYListener[] qalyListeners = new QALYListener[nInterventions]; final AcuteComplicationCounterListener[] acuteListeners = new AcuteComplicationCounterListener[nInterventions]; for (int i = 0; i < nInterventions; i++) { hba1cListeners[i] = new HbA1cListener(nPatients); costListeners[i] = new CostListener(secParams.getCostCalculator(common.getAnnualNoComplicationCost(), common.getCompSubmodels(), common.getAcuteCompSubmodels()), discountCost, nPatients); lyListeners[i] = new LYListener(discountEffect, nPatients); qalyListeners[i] = new QALYListener(secParams.getUtilityCalculator(common.getNoComplicationDisutility(), common.getCompSubmodels(), common.getAcuteCompSubmodels()), discountEffect, nPatients); acuteListeners[i] = new AcuteComplicationCounterListener(nPatients); } final DiabetesIntervention[] intInstances = common.getInterventions(); DiabetesSimulation simul = new DiabetesSimulation(id, intInstances[0], nPatients, common, secParams.getPopulation(), timeHorizon); simul.addInfoReceiver(hba1cListeners[0]); simul.addInfoReceiver(costListeners[0]); simul.addInfoReceiver(lyListeners[0]); simul.addInfoReceiver(qalyListeners[0]); simul.addInfoReceiver(acuteListeners[0]); simul.addInfoReceiver(timeFreeListener); if (patientListener != null) simul.addInfoReceiver(patientListener); if (baseCase) { for (ExperimentListener listener : baseCaseExpListeners) { listener.addListener(simul); } } else { for (ExperimentListener listener : expListeners) { listener.addListener(simul); } } simul.run(); for (int i = 1; i < nInterventions; i++) { simul = new DiabetesSimulation(simul, intInstances[i]); simul.addInfoReceiver(hba1cListeners[i]); simul.addInfoReceiver(costListeners[i]); simul.addInfoReceiver(lyListeners[i]); simul.addInfoReceiver(qalyListeners[i]); simul.addInfoReceiver(acuteListeners[i]); simul.addInfoReceiver(timeFreeListener); if (patientListener != null) simul.addInfoReceiver(patientListener); if (baseCase) { for (ExperimentListener listener : baseCaseExpListeners) { listener.addListener(simul); } } else { for (ExperimentListener listener : expListeners) { listener.addListener(simul); } } simul.run(); } if (printOutputs.contains(Outputs.INDIVIDUAL_OUTCOMES)) { System.out.print("Patient"); for (int i = 0; i < nInterventions; i++) { final String shortName = interventions.get(i).getShortName(); System.out.print("\tCost_" + shortName + "\tLE_" + shortName + "\tQALE_" + shortName); } System.out.println(); for (int i = 0; i < nPatients; i++) { System.out.print(i); for (int j = 0; j < nInterventions; j++) { System.out.print("\t" + costListeners[j].getValues()[i] + "\t" + lyListeners[j].getValues()[i] + "\t" + qalyListeners[j].getValues()[i]); } System.out.println(); } } out.println(print(simul, hba1cListeners, costListeners, lyListeners, qalyListeners, acuteListeners, timeFreeListener)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n public void runSimulation(){\r\n initialize();\r\n initialRun();\r\n initialize(\"square\");\r\n initialRun();\r\n initialize(\"circle\");\r\n initialRun();\r\n initialize(\"crack\");\r\n initialRun(); \r\n initialize(\"cross\");\r\n initialRun();\r\n }", "private void runSimulation() throws Exception{\n\t\tsimulatable.simulate();\n\t\tprintUsage();\n\t}", "void run() {\n\t\trunC();\n\t\trunPLMISL();\n\t\trunTolerance();\n\t\trunMatrix();\n\t}", "public void runSimulation() throws IOException {\n deleteFile(\"data/mm1.out\");\n\t \n\t\t/* Open input and output files. */\n\n infile = new BufferedReader(new FileReader(\"data/mm1.in\"));\n outfile = new BufferedWriter(new FileWriter(\"data/mm1.out\"));\n\n\t\t/* Specify the number of events for the timing function. */\n\n num_events = 2;\n\n\t\t/* Read input parameters. */\n String[] params = infile.readLine().trim().split(\"\\\\s+\");\n assert params.length == 3;\n mean_interarrival = Double.valueOf(params[0]);\n mean_service = Double.valueOf(params[1]);\n num_delays_required = Integer.valueOf(params[2]);\n\n\t\t/* Write report heading and input parameters. */\n outfile.write(\"Single-server queueing system\\n\\n\");\n outfile.write(\"Mean interarrival time \" + mean_interarrival\n + \" minutes\\n\\n\");\n outfile.write(\"Mean service time \" + mean_service + \" minutes\\n\\n\");\n outfile.write(\"Number of customers \" + num_delays_required + \"\\n\\n\");\n\n\t\t/* Initialize the simulation. */\n\n initialize();\n\n\t\t/* Run the simulation while more delays are still needed. */\n\n while (num_custs_delayed < num_delays_required) {\n\n\t\t\t/* Determine the next event. */\n\n timing();\n\n\t\t\t/* Update time-average statistical accumulators. */\n\n update_time_avg_stats();\n\n\t\t\t/* Invoke the appropriate event function. */\n\n switch (next_event_type) {\n case 1:\n arrive();\n break;\n case 2:\n depart();\n break;\n }\n }\n\n\t\t/* Invoke the report generator and end the simulation. */\n\n report();\n\n infile.close();\n outfile.close();\n\n }", "SimulationRun() {\n firms = new ArrayList<>();\n }", "public void quickSimulation() {\n\t\tnew SimulationControleur();\n\t}", "@Override\n public void run() {\n if (experiment.randomSeed != -1) {\n ThreadLocalRandom.current().setSeed(experiment.randomSeed);\n }\n\n // Initialise the environment and agents\n environment.initialise();\n for (Agent agent : agents) {\n agent.initialise();\n }\n\n // Add the agents to the environment\n for (Agent agent : agents) {\n environment.add(agent);\n }\n\n // Run the experiment\n for (int update = 1, episode = 1; update <= experiment.totalUpdates; episode++) {\n // Restart the environment at the beginning of an episode\n environment.restart();\n\n // Play out an episode\n for (int turn = 1; !environment.isTerminal() && (environment.maxTurns() == 0 || turn <= environment.maxTurns()) && update <= experiment.totalUpdates; turn++, update++) {\n // Perform the next turn\n environment.performTurn();\n\n // Increment the task\n task.increment();\n\n // If evaluation point\n if (update % experiment.observationFrequency == 0) {\n evaluate(run, update, episode);\n }\n }\n }\n }", "public void run() {\n\t\tparams.set(\"Status\", \"Configuring\");\n\t\tJob.animate();\n\t\t\n\t\tint tsim = params.iget(\"Sim Time\");\n\t\tReadInUtil riu = new ReadInUtil(params.sget(\"Parameter File\"));\n\t\tp2 = riu.getOFCparams();\n\t\tdouble[] av = new double[]{0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9};\n\t\triu = null;\n\t\t\n\t\twhile(true){\n\t\t\tfor(double alpha : av){\n\t\t\t\tparams.set(\"Status\", \"Intializing\");\n\t\t\t\tparams.set(\"Dissipation (\\u03B1)\",alpha);\n\t\t\t\tp2.set(\"Dissipation (\\u03B1)\",alpha);\n\t\t\t\tJob.animate();\n\t\t\t\tmodel = new ofc2Dfast(p2);\n\t\t\t\tmodel.setClength(tsim);\n\t\t\t\t// read in stress from file\n\t\t\t\triu = new ReadInUtil(model.getOutdir()+File.separator+model.getBname()+\"_Stress_\"+(int)(100*alpha)+\".txt\");\n\t\t\t\tmodel.setStress(riu.getData(0));\t\t\t\t\n\t\t\t\t\n\t\t\t\t// simulate <i>tsim</i> time steps\n\t\t\t\tfor(int tt = 0 ; tt < tsim ; tt++){\n\t\t\t\t\tmodel.evolve(tt, false);\n\t\t\t\t\tif(tt%1000 == 0){\n\t\t\t\t\t\tparams.set(\"Status\",tt);\n\t\t\t\t\t\tJob.animate();\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// append data to data file\n\t\t\t\tmodel.appendCdata(model.getOutdir()+File.separator+model.getBname()+\"_Catalogue_\"+(int)(100*alpha)+\".txt\",tsim);\n\t\t\n\t\t\t\t// replace old stress file with new stress file\n\t\t\t\tPrintUtil.overwriteFile(model.getOutdir()+File.separator+model.getBname()+\"_Stress_\"+(int)(100*alpha)+\".txt\",model.getStress());\n\t\t\t\t\n\t\t\t\t// print summary of events in log file\n\t\t\t\teditLogFile(tsim, alpha);\n\t\t\t\t\n\t\t\t\t// update seed\n\t\t\t\tp2.set(\"Random Seed\", p2.iget(\"Random Seed\")+1);\n\t\t\t}\n\t\t}\n\t}", "protected static void runningSimulation() {\n Scanner sc = new Scanner(System.in);\n\n try {\n // Getting the simulation type.\n System.out.print(\"Select the Simulation Method : \\n\" +\n \"\\t0 : To Run the Simulation to the Current Waiting Room\\n\" +\n \"\\t1 : To Run the Simulation for the Whole Waiting Room\\n\" +\n \"\\n\\t\\t : \");\n int situation = sc.nextInt();\n sc.nextLine();\n\n // Checking if the Simulation Type is valid.\n if (situation == 0 || situation == 1) {\n creatingSimulationStats(situation);\n simulationReport(TrainStation.getSimulationTrainQueues());\n launchingSimulationGUI(\"SimTQ\", TrainStation.getSimulationTrainQueues(), 0, 0, 0);\n\n }\n // When the simulation type is invalid.\n else {\n System.out.println(\"Invalid Selection.\");\n mainMenu();\n }\n }\n // When an Invalid character is added.\n catch (InputMismatchException e) {\n System.out.println(\"Invalid Input.\");\n mainMenu();\n }\n // When an error is OCCured when writing the simulation report.\n catch ( IOException e) {\n System.out.println(\"ERROR - Making the Simulation Report.\");\n mainMenu();\n }\n }", "public void makeSimulationStep() {\n for (ElevatorController controller : elevatorControllers.values()) {\n controller.makeOneStep();\n }\n }", "private void runExperiments()\n {\n for (int i = 0; i < count; i++)\n {\n Percolation experiment = new Percolation(size);\n int openCount = 0;\n StdRandom.setSeed(System.currentTimeMillis());\n while (!experiment.percolates())\n {\n int x = StdRandom.uniform(1, size+1);\n int y = StdRandom.uniform(1, size+1);\n if (!experiment.isOpen(x, y))\n {\n experiment.open(x, y);\n openCount++;\n }\n } \n open[i] = (double) openCount / (size * size);\n }\n }", "@Override\n public void simulationPeriodic() {\n }", "@Override\n public void simulationPeriodic() {\n }", "private static void automate() {\n \tLOG.info(\"Begin automation task.\");\n \t\n \tcurrentOpticsXi = clArgs.clusteringOpticsXi;\n \tdouble opticsXiMax = (clArgs.clusteringOpticsXiMaxValue > ELKIClusterer.MAX_OPTICS_XI ? ELKIClusterer.MAX_OPTICS_XI : clArgs.clusteringOpticsXiMaxValue);\n \tcurrentOpticsMinPoints = clArgs.clusteringOpticsMinPts;\n \tint opticsMinPointsMax = clArgs.clusteringOpticsMinPtsMaxValue;\n \t\n \tLOG.info(\"optics-xi-start: {}, optics-xi-min-points-start: {}, optics-xi-step-size: {}, optics-min-points-step-size: {}\",\n \t\t\tnew Object[] { \n \t\t\t\tdf.format(currentOpticsXi), df.format(currentOpticsMinPoints), \n \t\t\t\tdf.format(clArgs.clusteringOpticsXiStepSize), df.format(clArgs.clusteringOpticsMinPtsStepSize)\n \t\t\t});\n \t\n \twhile (currentOpticsXi <= opticsXiMax) {\n \t\twhile (currentOpticsMinPoints <= opticsMinPointsMax) {\n \t\t\t// Run automation for each combination of opticsXi and opticsMinPoints\n \t\t\tLOG.info(\"Run automation with optics-xi: {}, optics-xi-min-points: {}\", \n \t\t\t\t\tdf.format(currentOpticsXi), df.format(currentOpticsMinPoints));\n \t\t\t\n \t\t\ttry {\n\t \t\t\t// Step 1: Clustering\n\t \t\t\tclustering(clArgs.clusteringInFile, clArgs.clusteringOutDir, currentOpticsXi, currentOpticsMinPoints);\n\t \t\t\t\n\t \t\t\t// Step 2: Build shared framework\n\t \t\t\tbuildFramework();\n\t \t\t\t\n\t \t\t\t// Step 3: Build user hierarchical graphs\n\t \t\t\tbuildHierarchicalGraphs();\n\t \t\t\t\n\t \t\t\t// Step 4: Calculate similarity between all users and create evaluation results afterwards\n\t \t\t\tcalculateSimilarity();\n \t\t\t} catch (Exception e) {\n\t\t\t\t\tLOG.error(\"An error occurred during the automation task. Jumping to the next pass.\", e);\n\t\t\t\t} finally {\n\t \t\t\t// Step 5: Clean up for the next run\n\t \t\t\tcleanAutomationResults();\n\t \t\t\t\n\t \t\t\t// Increase the currentOpticsMinPoints for the next run if desired\n\t \t\t\tif (clArgs.clusteringOpticsMinPtsStepSize > 0)\n\t \t\t\t\tcurrentOpticsMinPoints += clArgs.clusteringOpticsMinPtsStepSize;\n\t \t\t\telse\n\t \t\t\t\tbreak;\n\t\t\t\t}\n \t\t}\n \t\t// Reset current values\n \t\tcurrentOpticsMinPoints = clArgs.clusteringOpticsMinPts;\n \t\t\n \t\t// Increase currentOpticsXi for the next run if desired\n \t\tif (clArgs.clusteringOpticsXiStepSize > 0)\n\t\t\t\tcurrentOpticsXi += clArgs.clusteringOpticsXiStepSize;\n\t\t\telse\n\t\t\t\tbreak;\n \t}\n \t\n \tLOG.info(\"End automation task.\");\n }", "public void startSimulation(){\n Enumeration enumAgents = agents.elements();\n\n while (enumAgents.hasMoreElements()) {\n ProcessData data = (ProcessData) enumAgents.nextElement();\n createThreadFor(data.agent).start();\n }\n }", "public void run() {\n // Print runner description\n System.out.println(this.description);\n \n // Create a list of integers\n List <Integer> myList = makeList(30000);\n \n // Record starting time, for benchmarking\n long startTime = System.currentTimeMillis();\n \n // Execute 1000 solve syscles, to accumlate some time\n int result = 0;\n for (int i = 1; i <= 1000; i++) {\n result = runOnce(myList);\n }\n // Record ending time \n long endTime = System.currentTimeMillis();\n \n // Show the result and the execution time \n System.out.format(\"The result is %d.\\n\", result);\n System.out.println(\"Total execution time: \" + \n (endTime-startTime) + \"ms\\n\");\n }", "private static void runCalculations()\n {\n // TODO Create two different empty concurrent histograms\n\n // Create a sleep time simulator, it will sleep for 10 milliseconds in each call\n BaseSyncOpSimulator syncOpSimulator = new SyncOpSimulSleep(10);\n\n // List of threads\n List<Runner> runners = new LinkedList<>();\n\n // Create the threads and start them\n for (int i = 0; i < NUM_THREADS; i ++)\n {\n // TODO Pass the proper histograms\n final Runner runner = new Runner(syncOpSimulator, null, null);\n runners.add(runner);\n new Thread(runner).start();\n }\n\n // Wait for runners to finish\n runners.forEach(Runner::waitToFinish);\n\n // TODO Show the percentile distribution of the latency calculation of each executeOp call for all threads\n }", "public RunSim(ArrayList<Shape> shapes,int speed,ArrayList<Microbe> bacteria, FoodPhero[][]foodPher, GUI gui){\n this.speed = speed;\n time = 0;\n this.proceed = proceed;\n this.gui = gui;\n step = 0;\n this.shapes = shapes;\n this.bacteria = bacteria;\n this.foodPher = foodPher;\n }", "public void runTests() throws Exception {\n\t\tArrayList<KaidaComposer> als = getCrossOverPermutationTest();\r\n//\t\tArrayList<KaidaComposer> als = getMutationProbabilityTests();\r\n\t\t\r\n\t\tsynchronized (results) {\r\n\t\t\tresults.clear();\r\n\t\t\tfor (KaidaComposer al : als) {\r\n\t\t\t\tresults.add(new TestRunGenerationStatistics(nrOfContests,nrOfGenerations,al.getLabel(),al));\t\r\n\t\t\t}\t\t\t\r\n\t\t}\r\n\t\t\r\n\t\tsetProgress(0f);\r\n\t\t\r\n\t\ttry {\r\n\t\t\tfor (int runs = 0; runs < nrOfContests; runs++) {\r\n\t\t\t//run the test n times\r\n\t\t\t\r\n\t\t\t\tSystem.out.println(\"\\nContest Nr. \" + runs + \" started\");\r\n\t\t\t\tTimer t = new Timer(\"Contest Nr. \" + runs);\r\n\t\t\t\tt.start();\r\n\t\t\t\t\r\n\t\t\t\tfor (KaidaComposer algorithm : als) {\r\n\t\t\t\t\talgorithm.restartOrTakeOver();\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tfor (int g = 0; g < nrOfGenerations; g++) {\r\n\t\t\t\t\t//do one evolution step\r\n\t\t\t\t\t\r\n\t\t\t\t\tfor (KaidaComposer algorithm : als) {\r\n\t\t\t\t\t\tif (algorithm.isCycleCompleted()) {\r\n\t\t\t\t\t\t\talgorithm.startNextCycle();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\talgorithm.doOneEvolutionCycle();\r\n\t\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\tt.stopAndPrint();\r\n\t\t\t\tt.start(\"Adding to results\");\r\n\t\t\t\tsynchronized (results) {\r\n\t\t\t\t\tfor (int z=0; z < als.size(); z++) {\r\n\t\t\t\t\t\tresults.get(z).addTestRun(als.get(z).getGenerations().getRange(0,nrOfGenerations));\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tt.stopAndPrint();\r\n\t\t\t\tt.start(\"Calculating statistics\");\r\n\t\t\t\tsynchronized (results) {\r\n\t\t\t\t\tfor (int z=0; z < als.size(); z++) {\r\n\t\t\t\t\t\tresults.get(z).calculateStats();\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tt.stopAndPrint();\r\n\t\t\t\t\r\n\t\t\t\tsetProgress((double)runs/(double)(nrOfContests-1));\r\n\t\t\t\t\r\n\t\t\t\tif (pause!=0) {\r\n\t\t\t\t\tsleep(pause);\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tif (isPleasePause()) break;\r\n\t\t\t}\r\n\t\t\tsynchronized (results) {\r\n\t\t\t\tfor (int z=0; z < als.size(); z++) { //als.size()\r\n\t\t\t\t\tresults.get(z).calculateStats();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tsetProgress(1.0f);\r\n\t\t\t\r\n\t\t\r\n\t\t\t\r\n\t\t} catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t\t//fail(\"al threw some Exception\");\r\n\t\t\tSystem.exit(1);\r\n\t\t}\r\n\t\t\r\n\t}", "public void run(double[] parameters, String fileNameIn)\n\t{\n\t\ttry\n\t\t{\n\t\t\tnoAnimals = 2;\n\n\t\t\tdiffCo = new double[2][2];\n\t\t\tdiffusionRate = new double[2];\n\n\t\t\tdiffCo[0][0] = parameters[0];\n\t\t\tdiffCo[0][1] = parameters[1];\n\t\t\tdiffusionRate[0] = parameters[4];\n\t\t\tdiffCo[1][0] = parameters[2];\n\t\t\tdiffCo[1][1] = parameters[3];\n\t\t\tdiffusionRate[1] = parameters[5];\n\t\t\tstep = parameters[6];\n\t\t\tT = (int) parameters[7];\n\t\t\tfileName = fileNameIn;\n\t\t\tsetIo(new MapReader(fileName));\n\t\t\tcreateAnimals();\n\t\t\tcreateGrid();\n\t\t\tcreateOutput();\n\t\t\n\t\t\tgetOutput().cleanDirectory(\"./outputs/\");\n\t\t\t\n\t\t\tgetOutput().calcLandArea(getIo().getNeighbours());\n\t\t\n\t\t\tSystem.out.print(\"Simulating populations...\");\n\n\t\t\tint stepnum = 0;\n\n\t\t\tfor (double i = 0; i < t; i += getStep()) {\n\t\t\t\n\t\t\t\t\tif ((stepnum % T == 0) || (stepnum == 0)) \n\t\t\t\t\t{\n\t\t\t\t\t\tfor (int k = 0; k < animals.length; k++) \n\t\t\t\t\t\t{\n\n\t\t\t\t\t\t\tgetOutput().printMeanDensity(\n\t\t\t\t\t\t\t\t\t\"./outputs/Mean\" + animals[k].getName()\n\t\t\t\t\t\t\t\t\t\t\t+ \"Densities\", animals[k].getDensities(), i);\n\t\t\t\t\t\t\tgetOutput().printPpm(\"./outputs/\" + animals[k].getName()\n\t\t\t\t\t\t\t+ stepnum + \".ppm\", animals[k].getDensities(),getIo().getNeighbours());\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\tSystem.out.print('.');\n\n\t\t\t\t\t}\n\n\t\t\t\tgetGrid().syncUpdate();\n\t\t\t\tstepnum += 1;\n\n\t\t\t}\n\n\t\t\tif(animals[0].bigChange)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"\\n*** Warning:\\nVery large changes in local density occurred over single iterations, suggest you use a smaller timestep\\n***\\n\");\n\t\t\t}\n\t\t\tSystem.out.println(\"...done\");\n\t\t}\n\t\tcatch(Exception e)\n\t\t{\n\t\t\tSystem.out.println(\"Something's gone wrong\");\n\t\t\tSystem.out.println(e.getMessage());\n\t\t}\n\n\t}", "public void runMape(int curSimTick){\n runMonitoring();\n runAnalysis();\n runPlanning();\n runExecution();\n }", "private void run() {\n\t\tfor (int i = 0; i < 1000; i++){\n\t\t\t\n\t\t\tdouble sample = Math.random()*2.0;\n\t\t\tdataset.addObservation(sample);\n\t\t\t\n\t\t\t// stats\n\t\t\tsum += sample;\n\t\t\tn++;\n\t\t\tav = sum/n;\n\n\t\t\t// create new xy dataset\n\t\t\n\t\t\ttry {Thread.sleep(1000L);} catch (Exception e) {}\n\t\t\t\n\t\t}\n\t\t\n\t\t \n\t}", "public static void main(String[] args) throws FileNotFoundException, IOException {\nfor (double b = 0.5; b < 0.51; b+=0.1) {\n for (double k = 4.40; k < 4.5; k+=0.5) {\n Machine.b = 0.5; //0.2 - ATCnon-delay\n Machine.k = 1.5; //1.4 - ATCnon delay\n int hits = 0;\n engineJob = new cern.jet.random.engine.MersenneTwister(99999);\n noise = new cern.jet.random.Normal(0, 1, engineJob);\n SmallStatistics[] result = new SmallStatistics[5];\n result[0] = new SmallStatistics();\n result[1] = new SmallStatistics();\n for (int ds = 0; ds < 2; ds++) {\n JSPFramework[] jspTesting = new JSPFramework[105];\n for (int i = 0; i < jspTesting.length; i++) {\n jspTesting[i] = new JSPFramework();\n jspTesting[i].getJSPdata(i*2 + 1);\n }\n //DMU - instances (1-80)//la - instances (81-120)\n //mt - instances (121/-123)//orb - instances (124-133)//ta -instances (134-173)\n //////////////////////////////////////////////\n for (int i = 0; i < jspTesting.length; i++) {\n double countEval = 0;\n double tempObj = Double.POSITIVE_INFINITY;\n double globalBest = Double.POSITIVE_INFINITY;\n boolean[] isApplied_Nk = new boolean[2]; //Arrays.fill(isApplied_Nk, Boolean.TRUE);\n int Nk = 0; // index of the Iterative dispatching rule to be used\n jspTesting[i].resetALL();\n boolean firstIteration = true;\n double countLargeStep = 0;\n do{\n countEval++;\n //start evaluate schedule\n jspTesting[i].reset();\n int N = jspTesting[i].getNumberofOperations();\n jspTesting[i].initilizeSchedule();\n int nScheduledOp = 0;\n\n //choose the next machine to be schedule\n while (nScheduledOp<N){\n\n Machine M = jspTesting[i].Machines[jspTesting[i].nextMachine()];\n\n jspTesting[i].setScheduleStrategy(Machine.scheduleStrategy.HYBRID );\n jspTesting[i].setPriorityType(Machine.priorityType.ATC);\n jspTesting[i].setNonDelayFactor(0.3);\n //*\n jspTesting[i].setInitalPriority(M);\n for (Job J:M.getQueue()) {\n double RJ = J.getReadyTime();\n double RO = J.getNumberRemainingOperations();\n double RT = J.getRemainingProcessingTime();\n double PR = J.getCurrentOperationProcessingTime();\n double W = J.getWeight();\n double DD = J.getDuedate();\n double RM = M.getReadyTime();\n double RWT = J.getCurrentOperationWaitingTime();\n double RFT = J.getFinishTime();\n double RNWT = J.getNextOperationWaitingTime();\n int nextMachine = J.getNextMachine();\n\n if (nextMachine==-1){\n RNWT=0;\n } else {\n RNWT = J.getNextOperationWaitingTime();\n if (RNWT == -1){\n RNWT = jspTesting[i].getMachines()[nextMachine].getQueueWorkload()/2.0;\n }\n }\n if (RWT == -1){\n RWT = M.getQueueWorkload()/2.0;\n }\n //J.addPriority((W/PR)*Math.exp(-maxPlus((DD-RM-PR-(RT-PR+J.getRemainingWaitingTime(M)))/(3*M.getQueueWorkload()/M.getNumberofJobInQueue())))); //iATC\n //J.addPriority((PR*PR*0.614577*(-RM-RM/W)-RT*PR*RT/W)\n // -(RT*PR/(W-0.5214191)-RM/W*PR*0.614577+RT*PR/(W-0.5214191)*2*RM/W));\n //J.addPriority(((W/PR)*((W/PR)/(RFT*RFT)))/(max(div((RFT-RT),(RWT/W)),IF(RFT/W-max(RFT-RT,DD),DD,RFT))+DD/RFT+RFT/W-max(RFT-RFT/W,DD))); //best TWT priorityIterative\n if (Nk==0)\n //J.addPriority(min(W/PR-RFT+min(RT,W/RFT),((min(RT,RNWT-RFT)/(RJ-min(RWT,RFT*0.067633785)))/(RJ-min(RWT,RFT*0.067633785))))/RFT);\n J.addPriority(min(W/PR-RFT+min(RT,W/RFT),((div(min(RT,RNWT-RFT),(RJ-min(RWT,RFT*0.067633785))))/(RJ-min(RWT,RFT*0.067633785))))/RFT);\n else\n J.addPriority(min((((W/PR)/RFT)/(2*RNWT+max(RO,RFT)))/(PR+RNWT+max(RO,RFT)),((W/PR)/RFT)/PR)/RFT);\n }\n //jspTesting[i].calculatePriority(M);\n jspTesting[i].sortJobInQueue(M);\n Job J = M.completeJob();\n if (!J.isCompleted()) jspTesting[i].Machines[J.getCurrentMachine()].joinQueue(J);\n nScheduledOp++;\n }\n double currentObj = -100;\n currentObj = jspTesting[i].getTotalWeightedTardiness();\n if (tempObj > currentObj){\n tempObj = currentObj;\n jspTesting[i].recordSchedule();\n Arrays.fill(isApplied_Nk, Boolean.FALSE);\n //System.out.println(\"Improved!!!\");\n }\n else {\n isApplied_Nk[Nk] = true;\n if (!isNextApplied(Nk, isApplied_Nk)) Nk = circleShift(Nk, isApplied_Nk.length);\n else {\n if (globalBest>tempObj) {\n globalBest = tempObj;\n jspTesting[i].storeBestRecordSchedule();\n } jspTesting[i].restoreBestRecordSchedule();\n if (countLargeStep<1) {\n tempObj = Double.POSITIVE_INFINITY;\n Arrays.fill(isApplied_Nk, Boolean.FALSE);\n jspTesting[i].shakeRecordSchedule(noise, engineJob, globalBest);\n countLargeStep++;\n }\n else break;\n }\n }\n firstIteration = false;\n \n } while(true);\n result[ds].add(jspTesting[i].getDevREFTotalWeightedTardiness(globalBest));\n if (jspTesting[i].getDevLBCmax()==0) hits++;\n System.out.println(jspTesting[i].instanceName + \" & \"+ globalBest + \" & \" + countEval);\n }\n }\n //jsp.schedule();\n //*\n System.out.println(\"*************************************************************************\");\n System.out.println(\"[ & \" + formatter.format(result[0].getMin()) + \" & \"\n + formatter.format(result[0].getAverage()) + \" & \" + formatter.format(result[0].getMax()) +\n \" & \" + formatter.format(result[1].getMin()) + \" & \"\n + formatter.format(result[1].getAverage()) + \" & \" + formatter.format(result[1].getMax()) + \"]\");\n //*/\n System.out.print(\"\"+formatter.format(result[0].getAverage()) + \" \");\n }\n System.out.println(\"\");\n}\n }", "public abstract void simulate();", "public final void runSimulation(int timeSteps) {\n for (int i = 1; i <= timeSteps; i++) {\n grow();\n System.out.printf(\"Time %d, Population %d%n\", i, population);\n introduceMutations();\n randomizeEnvironment();\n }\n }", "public void run() throws IOException{\t\n\t\t\tString command;\n\t\t\tprintUsage();\n\t\t\tSystem.out.print(\">> \");\n\t\t\twhile(!(command = consoleIn.readLine()).trim().equals(\"exit\")){\n\t\t\t\ttry{\n\t\t\t\t\tswitch(command){\n\t\t\t\t\tcase \"1\":\n\t\t\t\t\t\tsimulatable = MordorFrameBuilds.getInstance();\n\t\t\t\t\t\trunSimulation();\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"2\":\n\t\t\t\t\t\tsimulatable = CastSimulator.getInstance();\n\t\t\t\t\t\t((CastSimulator)simulatable).configureFor(CastAlias.TRAPRUNE_TRAP);\n\t\t\t\t\t\trunSimulation();\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"3\":\n\t\t\t\t\t\tsimulatable = CastSimulator.getInstance();\n\t\t\t\t\t\t((CastSimulator)simulatable).configureFor(CastAlias.TRAPRUNE_TOWER);\n\t\t\t\t\t\trunSimulation();\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"4\":\n\t\t\t\t\t\tsimulatable = TroopStepSimulator.getInstance();\n\t\t\t\t\t\t((TroopStepSimulator)simulatable)\n\t\t\t\t\t\t\t.configureFor(TroopStepSimulator.TroopStepAlias.DEFAULT);\n\t\t\t\t\t\trunSimulation();\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"5\":\n\t\t\t\t\t\tsimulatable = TroopStepSimulator.getInstance();\n\t\t\t\t\t\t((TroopStepSimulator)simulatable)\n\t\t\t\t\t\t\t.configureFor(TroopStepSimulator.TroopStepAlias.TRAP_AFFECTS);\n\t\t\t\t\t\trunSimulation();\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"6\":\n\t\t\t\t\t\tsimulatable = MissileDamageSimulator.getInstance();\n\t\t\t\t\t\trunSimulation();\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"7\":\n\t\t\t\t\t\tsimulatable = TroopStepSimulator.getInstance();\n\t\t\t\t\t\t((TroopStepSimulator)simulatable)\n\t\t\t\t\t\t\t.configureFor(TroopStepSimulator.TroopStepAlias.TOWER_FIRES);\n\t\t\t\t\t\trunSimulation();\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"8\":\n\t\t\t\t\t\tsimulatable = CastSimulator.getInstance();\n\t\t\t\t\t\t((CastSimulator)simulatable).configureFor(CastAlias.TOWER_GROUND);\n\t\t\t\t\t\trunSimulation();\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"9\":\n\t\t\t\t\t\tsimulatable = CastSimulator.getInstance();\n\t\t\t\t\t\t((CastSimulator)simulatable).configureFor(CastAlias.TRAP_ROAD);\n\t\t\t\t\t\trunSimulation();\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"10\":\n\t\t\t\t\t\tsimulatable = CastSimulator.getInstance();\n\t\t\t\t\t\t((CastSimulator)simulatable).configureFor(CastAlias.MAGIC);\n\t\t\t\t\t\trunSimulation();\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"11\":\n\t\t\t\t\t\tsimulatable = TroopStepSimulator.getInstance();\n\t\t\t\t\t\t((TroopStepSimulator)simulatable)\n\t\t\t\t\t\t\t.configureFor(TroopStepSimulator.TroopStepAlias.DAMAGES_MOUNTAIN);\n\t\t\t\t\t\trunSimulation();\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tdefault: printUsage();\n\t\t\t\t\t}\n\t\t\t\t}catch(IOException e){\n\t\t\t\t\tSystem.out.println(\"io error: \"+e.getClass().getName()+\": \"+e.getMessage());\n\t\t\t\t}catch(Exception ex){\n\t\t\t\t\tSystem.out.println(\"exception in main thread: \"+ex.getClass()+\": \"+ex.getMessage());\n\t\t\t\t}finally{\n\t\t\t\t\tSystem.out.print(\">> \");\n\t\t\t\t}\n\t\t\t}\n\t}", "@Override\r\n\tpublic void run() {\r\n\t\tsim.resetTime(); // reset the simulator (time 0, and reset cumulative variables)\r\n\t\t\r\n\t\t// reset simulation parameters to specified simulation parameters\r\n\t\tsim.setSingleParameter(\"initial \" + stage, initPop);\r\n\t\tsim.setSingleParameter(\"fruit gt multiplier\", gtMultiplier);\r\n\t\tsim.setSingleParameter(\"fruit time lag\", harvestLag);\r\n\t\tsim.setSingleParameter(\"diapause critical temp\", criticalT);\r\n\t\tsim.setSingleParameter(\"diapause daylight hours\", daylightHours);\r\n\t\tsim.setDT(dt);\r\n\t\t\r\n\t\t\r\n\t\t//boolean ignoreFruit = false;\r\n\t\t//boolean ignoreDiapause = false;\r\n\r\n\t\tfor (double i = 0; i < runTime; i += dt) {\r\n\t\t\tsim.run(temps, dt, ignoreFruit, ignoreDiap, startDay); // run the simulator\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t\tXYSeries[] toPrint = new XYSeries[8]; // array of data series for all lifestages, and fruit quality, vs time\r\n\t\t\r\n\t\ttoPrint[0] = sim.getEggSeries();\r\n\t\ttoPrint[1] = sim.getInst1Series();\r\n\t\ttoPrint[2] = sim.getInst2Series();\r\n\t\ttoPrint[3] = sim.getInst3Series();\r\n\t\ttoPrint[4] = sim.getPupaeSeries();\r\n\t\ttoPrint[5] = sim.getMalesSeries();\r\n\t\ttoPrint[6] = sim.getFemalesSeries();\r\n\t\ttoPrint[7] = sim.getFruitQualitySeries();\r\n\t\t\r\n\t\ttry {\r\n\t\t\tfor (int i = 0; i < 8; i ++) {\r\n\t\t\t\tif (toPrint[i] == null) // check to see if any of the series have not yet been initialized\r\n\t\t\t\t\tthrow new NullPointerException();\r\n\t\t\t\tif (toPrint[i].getItemCount() == 0) // check to see if any of the series have no data points\r\n\t\t\t\t\tthrow new NullPointerException();\r\n\t\t\t}\r\n\t\t} catch(NullPointerException error) { // thrown if none of the series have any points yet i.e. the simulation has not been run\r\n\t\t\tSystem.out.println(\"No data yet! Cannot proceed.\");\r\n\t\t\treturn;\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t\ttry {\r\n\t\t\tPrintWriter fileOut = new PrintWriter(new File(dataFile));\r\n\t\t\tfileOut.print(\"Time:\" + \"\\t\");\r\n\t\t\t\r\n\t\t\t// all the series have the same number of data points\r\n\t\t\t\r\n\t\t\t// print daily data\r\n\t\t\tfor (int j = 0; j < 6; j ++) { // print data labels\r\n\t\t\t\t\tfileOut.print(names[j] + \":\\t\");\r\n\t\t\t}\r\n\t\t\tfileOut.print(\"females:\\t\");\r\n\t\t\t\r\n\t\t\tfileOut.println();\r\n\t\t\tfor (int i = 0; i < toPrint[0].getItemCount(); i +=20) { // += 20 so it prints every 20th datapoint (i.e. once per day)\r\n\t\t\t\tfileOut.print(toPrint[0].getX(i) + \"\\t\"); // print the timestep (same for all series)\r\n\t\t\t\tfor (int j = 0; j < 7; j ++) {\r\n\t\t\t\t\t\tfileOut.print(toPrint[j].getY(i) + \"\\t\"); // print the corresponding value for the selected series\r\n\t\t\t\t}\r\n\t\t\t\tfileOut.println();\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t// print overall data\r\n\t\t\tfileOut.println(\"\\n\\nTotal Cumulative Populations\");\r\n\t\t\tfileOut.print(\"\\n\\t\" + sim.getTotEggs() + \"\\t\" + sim.getTotInst1() + \"\\t\" + sim.getTotInst2() + \r\n\t\t\t\t\t\t\t\"\\t\" + sim.getTotInst3() + \"\\t\" + sim.getTotPupae() + \"\\t\" + sim.getTotMales() + \r\n\t\t\t\t\t\t\t\"\\t\" + sim.getTotFemales());\r\n\t\t\tfileOut.println(\"\\n\\nPeak Populations\");\r\n\t\t\tfileOut.print(\"\\n\\t\" + sim.getMaxEggs() + \"\\t\" + sim.getMaxInst1() + \"\\t\" + sim.getMaxInst2() + \r\n\t\t\t\t\t\"\\t\" + sim.getMaxInst3() + \"\\t\" + sim.getMaxPupae() + \"\\t\" + sim.getMaxMales() + \r\n\t\t\t\t\t\"\\t\" + sim.getMaxFemales());\r\n\t\t\tfileOut.println(\"\\n\\nPeak Populations Day\");\r\n\t\t\tfileOut.print(\"\\n\\t\" + sim.getDayMaxEggs() + \"\\t\" + sim.getDayMaxInst1() + \"\\t\" + sim.getDayMaxInst2() + \r\n\t\t\t\t\t\"\\t\" + sim.getDayMaxInst3() + \"\\t\" + sim.getDayMaxPupae() + \"\\t\" + sim.getDayMaxMales() + \r\n\t\t\t\t\t\"\\t\" + sim.getDayMaxFemales());\r\n\t\t\t\r\n\t\t\tfileOut.println(\"\\n\\nDay diapause crossed: \" + sim.getCrossedDiapDay());\r\n\t\t\t\r\n\t\t\tfileOut.close();\r\n\t\t} catch (NullPointerException error) { // if no file was chosen\r\n\t\t\treturn;\r\n\t\t} catch(FileNotFoundException error) {\r\n\t\t\tSystem.out.println(\"Error - output file not found\");\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t\t// reset parameters to their original values (as specified in the config file)\r\n\t\tsim.setSingleParameter(\"initial \" + stage, firstInitPop); \r\n\t\tsim.setSingleParameter(\"fruit gt multiplier\", firstGtMultiplier);\r\n\t\tsim.setSingleParameter(\"fruit time lag\", firstHarvestLag);\r\n\t\tsim.setSingleParameter(\"diapause critical temp\", firstCriticalT);\r\n\t\tsim.setSingleParameter(\"diapause daylight hours\", firstDaylightHours);\r\n\t}", "public void run() throws Exception {\n for (int i = 0; i < testCases.length; ++i) {\n runCase(testCases[i]);\n }\n }", "public void run() {\n\t\tfor(int i = 0; i < 100; i++) {\n\t\t\t// E step\n\t\t\tsigma = calculateNewSigma();\n\t\t\t// M step\n\t\t\tu = calculateNewU();\n\t\t\t//System.out.println(\"u= \"+u+\"; sigma= \"+sigma);\n\t\t\t\n\t\t}\n\t\tSystem.out.println(\"u= \"+u+\"; sigma= \"+sigma);\n\t}", "public void startSimulation();", "@Override\r\n\tpublic void simulate() {\n\t\t\r\n\t}", "public synchronized void runPreTurtles() {\n\t\tcomputePerceptions();\n\t\tfirePreAgentScheduling();\n\t}", "public void run() {\n\n // Initialize control center.\n\n control = new Dispatch(parameters);\n control.run();\n linked = control.gettasks();\n\n // Initialize trains.\n\n trains = new TrainSim[parameters.numTrains];\n\n for (int i = 0; i < parameters.numTrains; i++) {\n\n trains[i] = new TrainSim(parameters, i);\n trains[i].genbasis();\n\n }\n\n // Add linked tasks to trains.\n\n for (Task each : linked) {\n\n int trainid = each.getTrain();\n each = new Task(each.getType(), each.getBeginTime(), parameters, false);\n each.setID(trainid);\n if (each.getArrTime() < parameters.numHours*60) {\n trains[trainid].linktask(each);\n }\n }\n\n // Run each train\n\n for (TrainSim each : trains) {\n\n each.run();\n\n }\n\n }", "@Override\n public void runSimulation() throws Exception {\n // Call a method that initializes the barrier\n // synchronizers and assigns them to the Beings.\n // TODO -- you fill in here.\n \n\n // Call a method that uses the common fork-join pool to run a\n // pool of threads that represent the Beings in this\n // simulation.\n // TODO -- you fill in here.\n \n }", "public void runIndividualSpreadsheetTests() {\r\n\r\n\t\t// Make a list of files to be analyzed\r\n\t\tString[] inputFiles = new String[] {\r\n//\t\t\t\t\"salesforecast_TC_IBB.xml\",\r\n//\t\t\t\t\"salesforecast_TC_2Faults.xml\",\r\n//\t\t\t\t\t\t\t\"salesforecast_TC_2FaultsHeavy.xml\",\r\n\t\t\t\t\"SemUnitEx1_DJ.xml\",\r\n\t\t\t\t\"SemUnitEx2_1fault.xml\",\r\n\t\t\t\t\"SemUnitEx2_2fault.xml\",\r\n//\t\t\t\t\"VDEPPreserve_1fault.xml\",\r\n//\t\t\t\t\"VDEPPreserve_2fault.xml\",\r\n//\t\t\t\t\t\t\t\"VDEPPreserve_3fault.xml\",\r\n//\t\t\t\t\"AZA4.xml\",\r\n//\t\t\t\t\"Consultant_form.xml\",\r\n//\t\t\t\t\"Hospital_Payment_Calculation.xml\",\r\n//\t\t\t\t\"Hospital_Payment_Calculation_v2.xml\",\r\n//\t\t\t\t\"Hospital_Payment_Calculation_C3.xml\",\r\n//\t\t\t\t\"11_or_12_diagnoses.xml\",\r\n//\t\t\t\t\"choco_loop.xml\",\r\n//\t\t\t\t\"Paper2.xml\",\r\n//\t\t\t\t\"Test_If.xml\",\r\n//\t\t\t\t\"Test_If2.xml\",\r\n\r\n\t\t};\r\n\r\n\t\tscenarios.add(new Scenario(executionMode.singlethreaded, pruningMode.on, PARALLEL_THREADS, CHOCO3));\r\n//\t\tscenarios.add(new Scenario(executionMode.levelparallel, pruningMode.on, 2, CHOCO3));\r\n//\t\tscenarios.add(new Scenario(executionMode.fullparallel, pruningMode.on, 1, CHOCO3));\r\n\t\tscenarios.add(new Scenario(executionMode.fullparallel, pruningMode.on, 2, CHOCO3));\r\n//\t\tscenarios.add(new Scenario(executionMode.fullparallel, pruningMode.on, 4, CHOCO3));\r\n//\t\tscenarios.add(new Scenario(executionMode.heuristic, pruningMode.on, 1, CHOCO3));\r\n\t\tscenarios.add(new Scenario(executionMode.heuristic, pruningMode.on, 2, CHOCO3));\r\n//\t\tscenarios.add(new Scenario(executionMode.heuristic, pruningMode.on, 4, CHOCO3));\r\n//\t\tscenarios.add(new Scenario(executionMode.heuristic, pruningMode.on, PARALLEL_THREADS, true));\r\n//\t\tscenarios.add(new Scenario(executionMode.hybrid, pruningMode.on, 1, CHOCO3));\r\n\t\tscenarios.add(new Scenario(executionMode.hybrid, pruningMode.on, 2, CHOCO3));\r\n//\t\tscenarios.add(new Scenario(executionMode.hybrid, pruningMode.on, 4, CHOCO3));\r\n//\t\tscenarios.add(new Scenario(executionMode.levelparallel, pruningMode.on, PARALLEL_THREADS, false));\r\n//\t\tscenarios.add(new Scenario(executionMode.fullparallel, pruningMode.on, PARALLEL_THREADS, false));\r\n//\t\tscenarios.add(new Scenario(executionMode.fullparallel, pruningMode.on, PARALLEL_THREADS, false));\r\n//\t\tscenarios.add(new Scenario(executionMode.heuristic,pruningMode.on,PARALLEL_THREADS*2));\r\n//\t\tscenarios.add(new Scenario(executionMode.heuristic,pruningMode.on,0));\r\n\r\n//\t\tinputFiles = new String[]{\"VDEPPreserve_3fault.xml\"};\r\n\r\n\r\n\t\t// Go through the files and run them in different scenarios\r\n\t\tfor (String inputfilename : inputFiles) {\r\n\t\t\trunScenarios(inputFileDirectory, inputfilename, logFileDirectory, scenarios);\r\n\t\t}\r\n\t}", "public void run() {\r\n System.out.println(\"Start sim\");\r\n for (; isRunning;) {\r\n //int horLaneNum = optView.getUserHorNum();\r\n //if (horLaneNum == 1) {\r\n horX++;\r\n horSTX = horSTX;\r\n horSTY = horSTY;\r\n verY++;\r\n view.repaint();\r\n try {\r\n Thread.sleep(10);\r\n }\r\n catch (InterruptedException e) {\r\n e.printStackTrace();\r\n }\r\n }\r\n }", "public void setupSimulation() {\n final Timer timerStatus = new Timer();\n\n TimerTask taskUpdateFood = new TimerTask() {\n @Override\n public void run() {\n terrain.toggleFood();\n }\n };\n timerStatus.schedule(taskUpdateFood, 0, 1000);\n\n startTime = System.currentTimeMillis();\n }", "public void run(double[] parameters, String fileNameIn, double[] parRange, int indicator) \n\t{\n\t\t\tnoAnimals = 2;\n\n\t\t\tdiffCo = new double[2][2];\n\t\t\tdiffusionRate = new double[2];\n\n\t\t\n\t\t\tcreateOutput();\n\t\t\t\n\t\t\tint stepnum = 0;\n\t\t\t\t\t\t\n\t\t\tfor (int l=0; l<parRange.length; l++)\n\t\t\t{\n\t\t\t\tgetOutput().cleanDirectory(\"./outputs\"+(l+1)+\"/\");\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.print(\"Simulating populations...\");\n\t\t\n\t\t\t\n\t\t\tfor (int l=0; l<parRange.length; l++)\n\t\t\t{\n\t\t\t\tdiffCo[0][0] = parameters[0];\n\t\t\t\tdiffCo[0][1] = parameters[1];\n\t\t\t\tdiffusionRate[0] = parameters[4];\n\t\t\t\tdiffCo[1][0] = parameters[2];\n\t\t\t\tdiffCo[1][1] = parameters[3];\n\t\t\t\tdiffusionRate[1] = parameters[5];\n\t\t\t\tstep = parameters[6];\n\t\t\t\tT = (int) parameters[7];\n\t\t\t\tparameters[indicator] = parRange[l];\n\t\t\t\tfileName = fileNameIn;\n\t\t\t\tsetIo(new MapReader(fileName));\n\t\t\t\tcreateAnimals();\n\t\t\t\tcreateGrid();\n\t\t\t\t\n\t\t\t\tgetOutput().calcLandArea(getIo().getNeighbours());\n\t\n\t\t\t\tfor (double i = 0; i < t; i += getStep()) {\n\t\t\t\t\n\t\t\t\t\t\tif ((stepnum % T == 0) || (stepnum == 0)) \n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tfor (int k = 0; k < animals.length; k++) \n\t\t\t\t\t\t\t{\n\t\n\t\t\t\t\t\t\t\tgetOutput().printMeanDensity(\n\t\t\t\t\t\t\t\t\t\t\"./outputs\"+(l+1)+\"/Mean\" + animals[k].getName()\n\t\t\t\t\t\t\t\t\t\t\t\t+ \"Densities\", animals[k].getDensities(), i);\n\t\t\t\t\t\t\t\tgetOutput().printPpm(\"./outputs\"+(l+1)+\"/\" + animals[k].getName()\n\t\t\t\t\t\t\t\t+ stepnum + \".ppm\", animals[k].getDensities(),getIo().getNeighbours());\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tSystem.out.print('.');\n\t\n\t\t\t\t\t\t}\n\t\n\t\t\t\t\tgetGrid().syncUpdate();\n\t\t\t\t\tstepnum += 1;\n\t\n\t\t\t\t}\n\t\n\t\t\t\tif(animals[0].bigChange)\n\t\t\t\t{\n\t\t\t\t\tSystem.out.println(\"\\n*** Warning:\\nVery large changes in local density occurred over single iterations, suggest you use a smaller timestep\\n***\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(\"...done\");\n\t}", "private static void runNeedleSimulation() {\n\t\tint iterations = numbersOfIterations(new Scanner(System.in));\n\t\tint hits = needleSimulation(iterations);\n\t\tdouble pi = piCalculation(iterations, hits);\n\t\tSystem.out.println(pi);\n\t\t\n\t\t\n\t}", "public static void main(String[] args) {\n\n\n\n for (int i = 1; i < 6; i++) {\n Car randomCar = randomCar();\n System.out.println(\"Car #\" + i + \"\\n\" + randomCar.accelerate() + \"\\n\"\n + randomCar.startEngine() + \"\\n\");\n\n }\n\n }", "public static void runTrainControllers() {\n Map<String, TrainController> trains = getTrainControllers();\n for (String s : trains.keySet()) {\n TrainController tc = trains.get(s);\n if (tc.isRunning()) {\n PowerCalculator.run(tc);\n }\n }\n }", "@GetMapping\n private SimulatorResult runSimulator() {\n return simulatorService.runSimulation();\n }", "public static void main(String[] args) {\n\n List<Mine> mines = new ArrayList<>();\n mines.add(new CoalMine(40));\n mines.add(new CoalMine(40));\n mines.add(new CoalMine(40));\n mines.add(new CoalMine(40));\n mines.add(new UraniumMine(100));\n mines.add(new MoonMine(10));\n mines.add(new MoonMine(10));\n mines.add(new HadronCollider(1));\n\n List<EnergyPlant> energyPlants = new ArrayList<>();\n energyPlants.add(new CoalPlant(7));\n energyPlants.add(new CoalPlant(7));\n energyPlants.add(new SolarPlant(2));\n energyPlants.add(new SolarPlant(2));\n energyPlants.add(new NuclearPlant(10000));\n energyPlants.add(new NuclearPlant(10000));\n energyPlants.add(new FusionPlant(20000));\n energyPlants.add(new FusionPlant(20000));\n energyPlants.add(new AnnihilationPlant(25000));\n energyPlants.add(new AnnihilationPlant(25000));\n\n\n var simulation = new Simulation(null, mines, energyPlants);\n simulation.run();\n\n }", "public void executeTimeStep(Simulation simulation) {\n }", "private void simulate() throws Exception {\r\n\t\t// Retrieve instructions from an input file\r\n\t\tList<String> instructions = SimulationUtils.retrieveInstructionsFromFile(\r\n\t\t\t\t\t\t\t\t\t\t\tConfigUtils.getInstance().getInstructionInputFilePath());\t\t\r\n\t\t\r\n\t\t// Initialise the ToyRobot with TableSurface information\r\n\t\tToyRobot robot = new ToyRobot(new TableSurface());\r\n\t\tCommandController controller = new CommandController();\r\n\t\t\r\n\t\t// Set up a new instruction decoder with details about\r\n\t\t// the text instructions, the robot and the command controller.\t\t\r\n\t\t// The decoder parses the instructions into commands for the robot\r\n\t\t// and registers them with the command controller for execution\r\n\t\t// (\"client\" in the COMMAND pattern).\r\n\t\tnew TextInstructionDecoder(instructions, controller, robot).decodeAndRegister();\r\n\t\t\r\n\t\t// The command controller triggers the seamless execution of the commands\r\n\t\t// (\"invoker\" in the COMMAND pattern).\r\n\t\tcontroller.executeCommands();\r\n\t}", "static int runSimulation1() {\r\n\t\tSimulation sim1 = new Simulation(8, 8, false, false);\r\n\t\twhile(sim1.sameSquare() == false) { //stop when sameSquare\r\n\t\t\tsim1.doMove();\r\n\t\t}\r\n\t\treturn sim1.getTime();\r\n\t}", "public void start(){\n \n boolean continueSimulation = true;\n \n for (int i = 0; i < a; i++){\n threadArray[i].start();\n }\n \n while(continueSimulation == true){ \n updateBuildingManager();\n \n try{\n Thread.sleep(simulatedSecondRate);\n }catch(InterruptedException ex) {\n Thread.currentThread().interrupt();\n }\n \n // printing Simulation output every 10 seconds\n if(SimClock.getTime() % 5 == 0){\n printSimulationState();\n }\n \n SimClock.tick();\n\n /*The simulation ends when the current simulation time is \n greater than the total simulation time defined in \n ElevatorConfig.txt*/ \n \n if(SimClock.getTime() >= totalSimulatedTime){\n\n continueSimulation = false; \n \n // interrupting threads here\n for (int i = 0; i < a; i++){\n threadArray[i].interrupt();\n }\n \n System.out.println();\n System.out.println(\"=========================SIMULATION STOPPED @\" + SimClock.getTime() +\" Simulated Seconds =========================\");\n }\n }\n }", "public static void main(String[] args) {\n\t\tIntersection intersection = new Intersection(10, 20);\n\t\t\n\t\t//create the ArrayList for the carGenerators\n\t\tArrayList<CarGenerator> carGen = new ArrayList<CarGenerator>();\n\t\t\n\t\t//create a TestGenerators and add them to the ArraList\n\t\tTestGenerator tg1 = new TestGenerator(intersection,true);\n\t\tTestGenerator tg2 = new TestGenerator(intersection,false);\n\t\tcarGen.add(tg1);\n\t\tcarGen.add(tg2);\n\t\t\n\n\n\t\t\n\t\t//create the simulator for testing\n\t\tSimulator simulator = new Simulator(intersection, 500, carGen);\n\n\t\t//create and start threads for the simulator and the generators\n\t\tThread[] t = new Thread[3];\n\t\tt[0] = new Thread(simulator);\n\t\tt[1] = new Thread(carGen.get(0));\n\t\tt[2] = new Thread(carGen.get(1));\n\t\tt[0].start();\n\t\tt[1].start();\n\t\tt[2].start();\n\t\t\n\t\t//wait until generator and simulator are done, then print statistics\n\t\ttry {\n\t\t\tt[0].join();\n\t\t\tt[1].join();\n\t\t} catch (InterruptedException e) {}\n\t\tStatistics stats = new Statistics();\n\t\tstats.addTime(tg1.reportTotalTravelTime());\n\t\tstats.addTime(tg2.reportTotalTravelTime());\n\t\tSystem.out.println(stats.getReport());\n\t\tSystem.exit(0);\n\t\t\n\t\t\n\t}", "public void doSimulation(){\n\n File randomNumFile = new File(\"../src/random_nums.txt\");\n\n try (Scanner inFile = new Scanner(randomNumFile)) {\n\n //\n while(!allProcessesDone()){\n\n //each process\n for(int i=0; i< processes.size(); i++){\n\n //processes are numbered starting at 1, although they're indexed starting at 0 within the process array\n process currentProcess = processes.get(i);\n int processNum = currentProcess.getProcessNum();\n\n\n for(int q=0; q<QUANTUM; q++){\n\n if(currentProcess.isFinished()){\n break;\n }\n\n int frameTableIndex = frameTable.checkForHit(processNum, currentProcess.getCurrentPage(pageSize));\n\n if(frameTableIndex != -1){ //hit!\n\n frameTableElement hitFrame = frameTable.getElement(frameTableIndex);\n hitFrame.setLoaded(true);\n hitFrame.setLastTimeReferenced(currentTime);\n\n\n }else{ //miss\n\n currentProcess.setNumPageFaults(currentProcess.getNumPageFaults() + 1);\n\n if(frameTable.isFull()){ //need to evict an element\n totalEvictions++;\n frameTableElement evictedElement = null;\n\n if(replacementType.equalsIgnoreCase(\"random\")){\n evictedElement = findVictimRandom(inFile.nextInt());\n }else{\n evictedElement = evictPage();\n }\n if(evictedElement == null){\n System.out.println(\"ERROR FINDING VICTIM!\");\n }\n\n\n int correspondingProcessNum = evictedElement.getProcessNum();\n int correspondingFrameIndex = evictedElement.getIndexInFrameTable();\n int correspondingProcessIndex = correspondingProcessNum - 1;\n\n //average residency time is said to be the time that the page was evicted minus the time it was loaded\n processes.get(correspondingProcessIndex).setTotalResidencyTime(processes.get(correspondingProcessIndex).getTotalResidencyTime()\n + (currentTime - evictedElement.getTimeLoaded()));\n\n //increment number of evictions\n processes.get(correspondingProcessIndex).setNumEvictions(processes.get(correspondingProcessIndex).getNumEvictions() + 1);\n\n //set new element\n frameTableElement newElement = new frameTableElement(processNum, currentProcess.getCurrentPage(pageSize), currentTime, correspondingFrameIndex, true);\n frameTable.setElement(correspondingFrameIndex, newElement);\n\n }else{\n //place the page in the highest numbered free frame based on lab instructions\n frameTableElement highestFreeFrame = null;\n int freeFrameIndex = -1;\n for(int frame = frameTable.getSize()- 1; frame>=0; frame--){\n if(!frameTable.getElement(frame).isActive()){\n highestFreeFrame = frameTable.getElement(frame);\n freeFrameIndex = frame;\n break;\n }\n }\n if(highestFreeFrame == null || freeFrameIndex == -1){\n System.out.println(\"error finding free frame\");\n }\n frameTableElement newElement = new frameTableElement(processNum, currentProcess.getCurrentPage(pageSize), currentTime, freeFrameIndex, true );\n frameTable.setElement(freeFrameIndex, newElement);\n }\n\n }\n\n //calculate next current reference word for next quantum turn\n processes.get(i).setNextCurrentReferenceWord(inFile, processSize, numReferencesPerProcess);\n\n currentTime++;\n }\n\n\n }\n\n }//end of simulation\n printFinishInfo();\n\n }\n catch (Exception e){\n System.out.println(e);\n }\n\n }", "@Before\n\tpublic void setUp() throws Exception {\n\t\trand = new Random();\n\t\tlong seed = rand.nextLong();\n\t\tmockTG = mock(TrapGrid.class);\n\t\ttestSimRunner1 = new SimulationRunner(mockTG, numDays, numFlies, diffCoeff, \n\t\t\t\tstepSize, stepsPerDay, turnAngleStdev, useMDD, seed, 5);\n\t\tmockSim1 = mock(Simulation.class);\n\t\ttestSimRunner2 = spy(new SimulationRunner(mockTG, numDays, numFlies, diffCoeff, \n\t\t\t\tstepSize, stepsPerDay, turnAngleStdev, useMDD, seed, 2));\n\t\tdoReturn(mockSim1)\n\t\t\t.when(testSimRunner2)\n\t\t\t.createSimulation( any( TrapGrid.class), any ( Outbreak.class));\n\t\tSimulationResultsHolder mockSimResults = mock(SimulationResultsHolder.class);\n\t\tdoReturn(mockSimResults)\n\t\t\t.when(mockSim1)\n\t\t\t.runSimulation();\n\t\tString outbreakFile = \"foo.outbreak\";\n\t\ttestSimRunner3 = new SimulationRunner(mockTG, outbreakFile, numDays, numFlies, diffCoeff, \n\t\t\t\tstepSize, stepsPerDay, turnAngleStdev, useMDD, seed);\n\t}", "private void evaluate(ArrayList<Individual> children){\n for(Individual i: children){\n RunExperiment runExperiment = new RunExperiment(i, number_cycle + 1);\n runExperiment.run();\n// Thread myThread = new Thread(runExperiment);\n// myThread.start();\n// threads.add(myThread);\n }\n// for(Thread t: threads){\n// try{\n// t.join();\n// }\n// catch(InterruptedException e){\n// System.out.println(\"Could not join: \"+e.getMessage());\n// }\n// }\n }", "public static void main(java.lang.String[] args) {\r\n\t\tdouble TotalWaitTimeHistogram = 0;\r\n\t\tint k = 0;\r\n\t\twhile (k < 20) {\r\n\t\t\t// make a new experiment\r\n\t\t\t// Use as experiment name a OS filename compatible string!!\r\n\t\t\t// Otherwise your simulation will crash!!\r\n\t\t\r\n\t\t\tExperiment experiment = new Experiment(\"Vancarrier Model\");\r\n\r\n\t\t\t// make a new model\r\n\t\t\t// null as first parameter because it is the main model and has no\r\n\t\t\t// mastermodel\r\n\t\t\tVancarrierModel vc_1st_p_Model = new VancarrierModel(null, \"Vancarrier Model\", true, false);\r\n\r\n\t\t\t// connect Experiment and Model\r\n\t\t\tvc_1st_p_Model.connectToExperiment(experiment);\r\n\r\n\t\t\t// set trace\r\n\t\t\texperiment.tracePeriod(new TimeInstant(0), new TimeInstant(100));\r\n\r\n\t\t\t// now set the time this simulation should stop at\r\n\t\t\t// let him work 1500 Minutes\r\n\t\t\t//experiment.stop(new TimeInstant(1500));\r\n\t\t\texperiment.stop(new TimeInstant(1500));\r\n\t\t\texperiment.setShowProgressBar(false);\r\n\r\n\t\t\t// start the Experiment with start time 0.0\r\n\t\t\texperiment.start();\r\n\r\n\t\t\t// --> now the simulation is running until it reaches its ending\r\n\t\t\t// criteria\r\n\t\t\t// ...\r\n\t\t\t// ...\r\n\t\t\t// <-- after reaching ending criteria, the main thread returns here\r\n\r\n\t\t\t// print the report about the already existing reporters into the\r\n\t\t\t// report file\r\n\t\t\texperiment.report();\r\n\r\n\t\t\t// stop all threads still alive and close all output files\r\n\t\t\texperiment.finish();\r\n\r\n\t\t\tTotalWaitTimeHistogram += vc_1st_p_Model.waitTimeHistogram.getMean();\r\n\r\n\t\t\tk++;\r\n\t\t}\r\n\r\n\t\tSystem.out.println(\"Truck Wait Times Mean of \" + k + \" iterations: \" + (TotalWaitTimeHistogram / k));\r\n\t}", "public static void fullSimulation(Plant[] array, Herbivore[] herbArray, Carnivore[] carnArray, int runTime){\r\n // if we want to generate new organisms during the simulation, we'll need to \r\n // keep track of the array number tally. to do this we'll introduce \r\n // new variables to keep a running tally\r\n int runningTally = startingPlants;\r\n int herbTally = startingHerbivores;\r\n int carnTally = startingCarnivores;\r\n // we'll need to keep track of how many organisms are added on a given \r\n // day, but in order to prevent unjustified exponential growth, this \r\n // variable needs to reset to 0 at the beginning of a day\r\n int dailyAddition = 0;\r\n int dailyHerbivores = 0;\r\n int dailyCarnivores = 0;\r\n // now we'll actually run our simulation for the full length of its\r\n // run time, only retrieving organism data after the simulation is complete\r\n for(int simRun = 0; simRun < runTime; simRun++){\r\n // if we add the runningTally inside the day event for loop, we'll get an error \r\n // thrown every time, so we'll add to the tally outside of the for loop\r\n runningTally = runningTally + dailyAddition;\r\n herbTally = herbTally + dailyHerbivores;\r\n carnTally = carnTally + dailyCarnivores;\r\n // reseting daily addition so we aren't repeatedly adding the same plants\r\n // over and over again\r\n dailyAddition = 0;\r\n dailyHerbivores = 0;\r\n dailyCarnivores = 0;\r\n // this for loop represents a single day's events\r\n // going with total organism count let's all organisms run through their day, even\r\n // if there are different numbers of plants, herbivores, and carnivores\r\n for (int dp = 0; dp < totalCreatures; dp++){\r\n // we repeat the for loop so we can include a break statement such that\r\n // if the for loop iteration cap exceeds the plant total, which it\r\n // almost surely will, we can break out of the loop without breaking \r\n // out of the daily loop, letting the day complete for all organisms\r\n for(int vp = 1; vp == 1; vp++){\r\n if(dp >= runningTally){\r\n break;\r\n } else {\r\n array[dp].dayPass();\r\n boolean makeMore = array[dp].reproduce(reproductionEnergy);\r\n if(makeMore){\r\n array[(runningTally + dailyAddition)] = new Plant();\r\n totalPlants += 1;\r\n totalCreatures += 1;\r\n array[(runningTally + dailyAddition)].getLocation();\r\n array[(runningTally + dailyAddition)].shaded();\r\n if(array[(runningTally + dailyAddition)].inShade()){\r\n shadedPlant += 1;\r\n } // close makeMore loop\r\n dailyAddition += 1;\r\n }\r\n }\r\n }\r\n for(int hp = 1; hp == 1; hp++){\r\n if(dp >= herbTally){\r\n break;\r\n } else {\r\n totalPlantsEaten = totalPlantsEaten + herbArray[dp].dayWalk(herbivoreSpeed, array, runningTally);\r\n boolean makeMoreHerbs = herbArray[dp].reproduce();\r\n if(makeMoreHerbs){\r\n herbArray[(herbTally + dailyHerbivores)] = new Herbivore();\r\n totalHerbivores += 1;\r\n totalCreatures += 1;\r\n herbArray[(herbTally + dailyHerbivores)].getX();\r\n herbArray[(herbTally + dailyHerbivores)].getY();\r\n dailyHerbivores += 1;\r\n } // close makeMoreHerbs loop\r\n boolean starved = herbArray[dp].starvation();\r\n if(starved){\r\n totalHerbivoreStarved += 1;\r\n }\r\n }\r\n }\r\n for(int cp = 1; cp == 1; cp++){\r\n if(dp >= carnTally){\r\n break;\r\n } else {\r\n totalHerbivoreEaten = totalHerbivoreEaten + carnArray[dp].dayHunt(carnivoreSpeed, herbArray, herbTally);\r\n boolean makeMoreCarns = carnArray[dp].reproduce();\r\n if(makeMoreCarns){\r\n carnArray[(carnTally + dailyCarnivores)] = new Carnivore();\r\n totalCarnivores += 1;\r\n totalCreatures += 1;\r\n carnArray[(carnTally + dailyCarnivores)].getX();\r\n carnArray[(carnTally + dailyCarnivores)].getY();\r\n dailyCarnivores += 1;\r\n } // close makeMoreHerbs loop\r\n boolean starved = carnArray[dp].starvation();\r\n if(starved){\r\n totalCarnivoreStarved += 1;\r\n }\r\n }\r\n }\r\n } // closes single day loop\r\n System.out.println(\" \");\r\n System.out.println(\"Day \" + (simRun + 1) + \" ended.\");\r\n System.out.println(\"Total Plants: \" + totalPlants);\r\n System.out.println(\"Total Herbivores: \" + totalHerbivores);\r\n System.out.println(\"Total Carnivores: \" + totalCarnivores);\r\n System.out.println(\"Total Organisms: \" + totalCreatures);\r\n } // closes full sim run loop\r\n // now that the simulation is complete, we get the data on each of \r\n // our plants\r\n output();\r\n // and the stats for our herbivores\r\n \r\n }", "protected void runAfterIterations() {}", "public void run() {\n\t\tAlgorithm[] algorithm; // jMetal algorithms to be executed\n\n\t\tString experimentName = (String) map_.get(\"name\");\n\t\texperimentBaseDirectory_ = (String) map_.get(\"experimentDirectory\");\n\t\talgorithmNameList_ = (String[]) map_.get(\"algorithmNameList\");\n\t\tproblemList_ = (String[]) map_.get(\"problemList\");\n\t\tindicatorList_ = (String[]) map_.get(\"indicatorList\");\n\t\tparetoFrontDirectory_ = (String) map_.get(\"paretoFrontDirectory\");\n\t\tparetoFrontFile_ = (String[]) map_.get(\"paretoFrontFile\");\n\t\tindependentRuns_ = (Integer) map_.get(\"independentRuns\");\n\t\t// algorithm_ = (Algorithm[]) map_.get(\"algorithm\");\n\t\toutputParetoFrontFile_ = (String) map_.get(\"outputParetoFrontFile\");\n\t\toutputParetoSetFile_ = (String) map_.get(\"outputParetoSetFile\");\n\n\t\tinstances_ = (Integer) map_.get(\"instances\"); // number of different\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t// instances of the\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t// problem to run\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t// Added to allow\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t// executing several\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t// instances per problem\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t// class\n\n\t\trunID_ = (Integer) map_.get(\"runID\"); // Identifier to add to the\n\t\t\t\t\t\t\t\t\t\t\t\t// filename with the results\n\t\ttime_ = (TimeEstimation) map_.get(\"timeEstimation\"); // For computing\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// the run time\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// and the run\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// time left\n\n\t\tString timmingFileName_ = (String) map_.get(\"timmingFileName\");\n\n\t\tint instanceCounter = 0; // To keep track of the instance to solve\n\n\t\tint numberOfAlgorithms = algorithmNameList_.length;\n\t\tSystem.out.println(\"Experiment: Number of algorithms: \"\n\t\t\t\t+ numberOfAlgorithms);\n\t\tSystem.out.println(\"Experiment: runs: \" + independentRuns_);\n\t\talgorithm = new Algorithm[numberOfAlgorithms];\n\n\t\tSystem.out.println(\"Name: \" + experimentName);\n\t\tSystem.out.println(\"experimentDirectory: \" + experimentBaseDirectory_);\n\t\tSystem.out.println(\"numberOfThreads_: \" + numberOfThreads_);\n\t\tSystem.out.println(\"numberOfProblems_: \" + numberOfProblems_);\n\t\tSystem.out.println(\"numberOfInstancesPerProblems_: \" + instances_);\n\t\tSystem.out.println(\"first: \" + first_);\n\t\tSystem.out.println(\"last: \" + last_);\n\n\t\tSolutionSet resultFront = null;\n\n\t\tdouble[][] timmings = new double[problemList_.length][numberOfAlgorithms];\n\n\t\tfor (int problemId = first_; problemId <= last_; problemId++) {\n\n\t\t\t// long[] accTime = new\n\t\t\t// long[algorithmNameList_.length*instances_.intValue()];\n\t\t\tfor (int i = 0; i < numberOfAlgorithms; i++)\n\t\t\t\ttimmings[problemId][i] = 0;\n\n\t\t\tfor (int inst = 0; inst < instances_.intValue(); inst++) {\n\t\t\t\tif (instances_ > 1) {\n\t\t\t\t\tObject ob = params_[0];\n\t\t\t\t\tparams_ = new Object[2];\n\t\t\t\t\tparams_[0] = ob;\n\t\t\t\t\tparams_[1] = new Integer(inst);\n\t\t\t\t}\n\n\t\t\t\tProblem problem; // The problem to solve\n\n\t\t\t\tproblem = null;\n\t\t\t\t// STEP 2: get the problem from the list\n\t\t\t\t// Object[] params = { \"Real\" }; // Parameters of the problem\n\t\t\t\ttry {\n\t\t\t\t\t// Parameters of the problem\n\t\t\t\t\tproblem = (new ProblemFactory()).getProblem(\n\t\t\t\t\t\t\tproblemList_[problemId], params_);\n\t\t\t\t} catch (JMException ex) {\n\t\t\t\t\tLogger.getLogger(ExperimentNoPareto.class.getName()).log(\n\t\t\t\t\t\t\tLevel.SEVERE, null, ex);\n\t\t\t\t}\n\n\t\t\t\t// STEP 3: check the file containing the Pareto front of the\n\t\t\t\t// problem\n\t\t\t\tsynchronized (experiment_) {\n\t\t\t\t\tif (indicatorList_.length > 0) {\n\t\t\t\t\t\tFile pfFile = null;\n\t\t\t\t\t\tif (instances_ > 1)\n\t\t\t\t\t\t\tpfFile = new File(paretoFrontDirectory_ + \"/\"\n\t\t\t\t\t\t\t\t\t+ paretoFrontFile_[problemId] + \".\" + inst);\n\t\t\t\t\t\telse\n\t\t\t\t\t\t\tpfFile = new File(paretoFrontDirectory_ + \"/\"\n\t\t\t\t\t\t\t\t\t+ paretoFrontFile_[problemId]);\n\n\t\t\t\t\t\t// pfFile = new File(paretoFrontFile_[problemId]);\n\n\t\t\t\t\t\tif (!pfFile.exists()) {\n\t\t\t\t\t\t\t// if (instances_ > 1)\n\t\t\t\t\t\t\t// paretoFrontFile_[problemId] =\n\t\t\t\t\t\t\t// paretoFrontDirectory_\n\t\t\t\t\t\t\t// + \"/\" + paretoFrontFile_[problemId] + \".\" + inst;\n\t\t\t\t\t\t\t// else\n\t\t\t\t\t\t\t// paretoFrontFile_[problemId] =\n\t\t\t\t\t\t\t// paretoFrontDirectory_\n\t\t\t\t\t\t\t// + \"/\" + paretoFrontFile_[problemId];\n\t\t\t\t\t\t\t// } else {\n\t\t\t\t\t\t\t// CREATE IT!\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\tpfFile.createNewFile();\n\t\t\t\t\t\t\t} catch (IOException ex) {\n\t\t\t\t\t\t\t\t// Logger.getLogger(ExperimentNoPareto.class.getName()).log(Level.SEVERE,\n\t\t\t\t\t\t\t\t// null, ex);\n\t\t\t\t\t\t\t\tLogger.getLogger(\n\t\t\t\t\t\t\t\t\t\tExperimentNoPareto.class.getName())\n\t\t\t\t\t\t\t\t\t\t.log(Level.SEVERE,\n\t\t\t\t\t\t\t\t\t\t\t\t\"Error creating file: \"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t+ paretoFrontFile_[problemId],\n\t\t\t\t\t\t\t\t\t\t\t\tex);\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t// paretoFrontFile_[problemId] = \"\";\n\t\t\t\t\t\t}\n\t\t\t\t\t} // if\n\t\t\t\t}\n\t\t\t\texperiment_.algorithmSettings(problem, problemId, algorithm);\n\n\t\t\t\tfor (int runs = 0; runs < independentRuns_; runs++) {\n\t\t\t\t\tSystem.out.println(\"Iruns: \" + runs);\n\t\t\t\t\t// STEP 4: configure the algorithms\n\n\t\t\t\t\t// STEP 5: run the algorithms\n\t\t\t\t\tfor (int i = 0; i < numberOfAlgorithms; i++) {\n\t\t\t\t\t\tSystem.out.println(algorithm[i].getClass());\n\t\t\t\t\t\t// STEP 6: create output directories\n\t\t\t\t\t\tFile experimentDirectory;\n\t\t\t\t\t\tString directory;\n\n\t\t\t\t\t\tif (instances_ > 1)\n\t\t\t\t\t\t\tdirectory = experimentBaseDirectory_ + \"/data/\"\n\t\t\t\t\t\t\t\t\t+ algorithmNameList_[i] + \"/\"\n\t\t\t\t\t\t\t\t\t+ problemList_[problemId] + \".\" + inst;\n\t\t\t\t\t\telse\n\t\t\t\t\t\t\tdirectory = experimentBaseDirectory_ + \"/data/\"\n\t\t\t\t\t\t\t\t\t+ algorithmNameList_[i] + \"/\"\n\t\t\t\t\t\t\t\t\t+ problemList_[problemId];\n\n\t\t\t\t\t\texperimentDirectory = new File(directory);\n\t\t\t\t\t\tif (!experimentDirectory.exists()) {\n\t\t\t\t\t\t\tboolean result = new File(directory).mkdirs();\n\t\t\t\t\t\t\tSystem.out.println(\"Creating \" + directory);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// STEP 7: run the algorithm\n\t\t\t\t\t\tlong startTime = 0, endTime = 0;\n\n\t\t\t\t\t\tif (instances_ > 1)\n\t\t\t\t\t\t\tSystem.out.println(\"Running algorithm: \"\n\t\t\t\t\t\t\t\t\t+ algorithmNameList_[i] + \", problem: \"\n\t\t\t\t\t\t\t\t\t+ problemList_[problemId] + \", run: \"\n\t\t\t\t\t\t\t\t\t+ runs + \", instance: \" + inst);\n\t\t\t\t\t\telse\n\t\t\t\t\t\t\tSystem.out.println(\"Running algorithm: \"\n\t\t\t\t\t\t\t\t\t+ algorithmNameList_[i] + \", problem: \"\n\t\t\t\t\t\t\t\t\t+ problemList_[problemId] + \", run: \"\n\t\t\t\t\t\t\t\t\t+ runs);\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tstartTime = System.currentTimeMillis();\n\t\t\t\t\t\t\tresultFront = algorithm[i].execute();\n\t\t\t\t\t\t\tendTime = System.currentTimeMillis();\n\t\t\t\t\t\t} catch (JMException ex) {\n\t\t\t\t\t\t\tLogger.getLogger(ExperimentNoPareto.class.getName())\n\t\t\t\t\t\t\t\t\t.log(Level.SEVERE, null, ex);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\ttime_.iteration();\n\t\t\t\t\t\tSystem.out.print(resultFront.size() + \" sols found, \"\n\t\t\t\t\t\t\t\t+ (endTime - startTime) + \" ms. (\"\n\t\t\t\t\t\t\t\t+ time_.getPercentageDone() + \"% done, \");\n\t\t\t\t\t\tSystem.out.println(time_.getRemainingHumanReadable()\n\t\t\t\t\t\t\t\t+ \" remaining)\");\n\t\t\t\t\t\t// accTime_[i] += (endTime-startTime);\n\t\t\t\t\t\ttimmings[problemId][i] += (endTime - startTime);\n\n\t\t\t\t\t\t// STEP 8: put the results in the output directory\n\n\t\t\t\t\t\tif (runID_ == null) {\n\t\t\t\t\t\t\tresultFront.printObjectivesToFile(directory + \"/\"\n\t\t\t\t\t\t\t\t\t+ outputParetoFrontFile_ + \".\" + runs);\n\t\t\t\t\t\t\tresultFront.printVariablesToFile(directory + \"/\"\n\t\t\t\t\t\t\t\t\t+ outputParetoSetFile_ + \".\" + runs);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tresultFront.printObjectivesToFile(directory + \"/\"\n\t\t\t\t\t\t\t\t\t+ outputParetoFrontFile_ + \".\"\n\t\t\t\t\t\t\t\t\t+ runID_.intValue());\n\t\t\t\t\t\t\tresultFront.printVariablesToFile(directory + \"/\"\n\t\t\t\t\t\t\t\t\t+ outputParetoSetFile_ + \".\"\n\t\t\t\t\t\t\t\t\t+ runID_.intValue());\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Print the run time after every execution\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tFileWriter os = null;\n\t\t\t\t\t\t\tif (instances_ > 1)\n\t\t\t\t\t\t\t\tos = new FileWriter(experimentBaseDirectory_\n\t\t\t\t\t\t\t\t\t\t+ \"/data/\" + algorithmNameList_[i]\n\t\t\t\t\t\t\t\t\t\t+ \"/\" + problemList_[problemId] + \".\"\n\t\t\t\t\t\t\t\t\t\t+ inst + \"/\" + timmingFileName_\n\t\t\t\t\t\t\t\t\t\t+ \".AVG\", true);\n\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\tos = new FileWriter(experimentBaseDirectory_\n\t\t\t\t\t\t\t\t\t\t+ \"/data/\" + algorithmNameList_[i]\n\t\t\t\t\t\t\t\t\t\t+ \"/\" + problemList_[problemId] + \"/\"\n\t\t\t\t\t\t\t\t\t\t+ timmingFileName_ + \".AVG\", true);\n\n\t\t\t\t\t\t\tos.write(\"\" + (endTime - startTime) + \"\\n\");\n\t\t\t\t\t\t\tos.close();\n\t\t\t\t\t\t\t// timmings[problemId][i]=(accTime[i]/independentRuns_);\n\t\t\t\t\t\t} catch (IOException ex) {\n\t\t\t\t\t\t\tLogger.getLogger(ExperimentNoPareto.class.getName())\n\t\t\t\t\t\t\t\t\t.log(Level.SEVERE, null, ex);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// // STEP 9: calculate quality indicators\n\t\t\t\t\t\t// if (indicatorList_.length > 0) {\n\t\t\t\t\t\t// QualityIndicator indicators;\n\t\t\t\t\t\t// // System.out.println(\"PF file: \" +\n\t\t\t\t\t\t// // paretoFrontFile_[problemId]);\n\t\t\t\t\t\t// indicators = new QualityIndicator(problem,\n\t\t\t\t\t\t// paretoFrontFile_[problemId]);\n\t\t\t\t\t\t//\n\t\t\t\t\t\t// for (int j = 0; j < indicatorList_.length; j++) {\n\t\t\t\t\t\t// if (indicatorList_[j].equals(\"HV\")) {\n\t\t\t\t\t\t// double value = indicators\n\t\t\t\t\t\t// .getHypervolume(resultFront);\n\t\t\t\t\t\t// FileWriter os;\n\t\t\t\t\t\t// try {\n\t\t\t\t\t\t// os = new FileWriter(experimentDirectory\n\t\t\t\t\t\t// + \"/HV\", true);\n\t\t\t\t\t\t// os.write(\"\" + value + \"\\n\");\n\t\t\t\t\t\t// os.close();\n\t\t\t\t\t\t// } catch (IOException ex) {\n\t\t\t\t\t\t// Logger\n\t\t\t\t\t\t// .getLogger(\n\t\t\t\t\t\t// ExperimentNoPareto.class.getName())\n\t\t\t\t\t\t// .log(Level.SEVERE, null, ex);\n\t\t\t\t\t\t// }\n\t\t\t\t\t\t// }\n\t\t\t\t\t\t// if (indicatorList_[j].equals(\"SPREAD\")) {\n\t\t\t\t\t\t// FileWriter os = null;\n\t\t\t\t\t\t// try {\n\t\t\t\t\t\t// double value = indicators\n\t\t\t\t\t\t// .getSpread(resultFront);\n\t\t\t\t\t\t// os = new FileWriter(experimentDirectory\n\t\t\t\t\t\t// + \"/SPREAD\", true);\n\t\t\t\t\t\t// os.write(\"\" + value + \"\\n\");\n\t\t\t\t\t\t// os.close();\n\t\t\t\t\t\t// } catch (IOException ex) {\n\t\t\t\t\t\t// Logger\n\t\t\t\t\t\t// .getLogger(\n\t\t\t\t\t\t// ExperimentNoPareto.class.getName())\n\t\t\t\t\t\t// .log(Level.SEVERE, null, ex);\n\t\t\t\t\t\t// } finally {\n\t\t\t\t\t\t// try {\n\t\t\t\t\t\t// os.close();\n\t\t\t\t\t\t// } catch (IOException ex) {\n\t\t\t\t\t\t// Logger.getLogger(\n\t\t\t\t\t\t// ExperimentNoPareto.class.getName())\n\t\t\t\t\t\t// .log(Level.SEVERE, null, ex);\n\t\t\t\t\t\t// }\n\t\t\t\t\t\t// }\n\t\t\t\t\t\t// }\n\t\t\t\t\t\t// if (indicatorList_[j].equals(\"IGD\")) {\n\t\t\t\t\t\t// FileWriter os = null;\n\t\t\t\t\t\t// try {\n\t\t\t\t\t\t// double value = indicators\n\t\t\t\t\t\t// .getIGD(resultFront);\n\t\t\t\t\t\t// os = new FileWriter(experimentDirectory\n\t\t\t\t\t\t// + \"/IGD\", true);\n\t\t\t\t\t\t// os.write(\"\" + value + \"\\n\");\n\t\t\t\t\t\t// os.close();\n\t\t\t\t\t\t// } catch (IOException ex) {\n\t\t\t\t\t\t// Logger\n\t\t\t\t\t\t// .getLogger(\n\t\t\t\t\t\t// ExperimentNoPareto.class.getName())\n\t\t\t\t\t\t// .log(Level.SEVERE, null, ex);\n\t\t\t\t\t\t// } finally {\n\t\t\t\t\t\t// try {\n\t\t\t\t\t\t// os.close();\n\t\t\t\t\t\t// } catch (IOException ex) {\n\t\t\t\t\t\t// Logger.getLogger(\n\t\t\t\t\t\t// ExperimentNoPareto.class.getName())\n\t\t\t\t\t\t// .log(Level.SEVERE, null, ex);\n\t\t\t\t\t\t// }\n\t\t\t\t\t\t// }\n\t\t\t\t\t\t// }\n\t\t\t\t\t\t// if (indicatorList_[j].equals(\"EPSILON\")) {\n\t\t\t\t\t\t// FileWriter os = null;\n\t\t\t\t\t\t// try {\n\t\t\t\t\t\t// double value = indicators\n\t\t\t\t\t\t// .getEpsilon(resultFront);\n\t\t\t\t\t\t// os = new FileWriter(experimentDirectory\n\t\t\t\t\t\t// + \"/EPSILON\", true);\n\t\t\t\t\t\t// os.write(\"\" + value + \"\\n\");\n\t\t\t\t\t\t// os.close();\n\t\t\t\t\t\t// } catch (IOException ex) {\n\t\t\t\t\t\t// Logger\n\t\t\t\t\t\t// .getLogger(\n\t\t\t\t\t\t// ExperimentNoPareto.class.getName())\n\t\t\t\t\t\t// .log(Level.SEVERE, null, ex);\n\t\t\t\t\t\t// } finally {\n\t\t\t\t\t\t// try {\n\t\t\t\t\t\t// os.close();\n\t\t\t\t\t\t// } catch (IOException ex) {\n\t\t\t\t\t\t// Logger.getLogger(\n\t\t\t\t\t\t// ExperimentNoPareto.class.getName())\n\t\t\t\t\t\t// .log(Level.SEVERE, null, ex);\n\t\t\t\t\t\t// }\n\t\t\t\t\t\t// }\n\t\t\t\t\t\t// }\n\t\t\t\t\t\t// } // for\n\t\t\t\t\t\t// } // if\n\t\t\t\t\t} // for\n\t\t\t\t} // for\n\t\t\t} // for\n\n\t\t\t// Print the computational time\n\t\t\t// STEP 11: Write The run times in a latex file\n\t\t\ttry {\n\t\t\t\tfor (int i = 0; i < numberOfAlgorithms; ++i) {\n\t\t\t\t\tFileWriter os = new FileWriter(experimentBaseDirectory_\n\t\t\t\t\t\t\t+ \"/data/\" + algorithmNameList_[i] + \"/\"\n\t\t\t\t\t\t\t+ problemList_[problemId] + \".AvgTime\");\n\n\t\t\t\t\t// os.write( \"\" + (accTime[i]/independentRuns_) + \"\\n\" );\n\t\t\t\t\tos.write(\"\"\n\t\t\t\t\t\t\t+ (timmings[problemId][i] / (independentRuns_ * instances_))\n\t\t\t\t\t\t\t+ \"\\n\");\n\t\t\t\t\tos.close();\n\t\t\t\t\t// timmings[problemId][i]=(accTime[i]/independentRuns_);\n\t\t\t\t\ttimmings[problemId][i] = (timmings[problemId][i] / (independentRuns_ * instances_));\n\t\t\t\t} // for\n\t\t\t} catch (IOException ex) {\n\t\t\t\tLogger.getLogger(ExperimentNoPareto.class.getName()).log(\n\t\t\t\t\t\tLevel.SEVERE, null, ex);\n\t\t\t}\n\n\t\t} // for\n\t}", "private void run(\n DependencyResolver deps,\n long runTimeMillis,\n Output output) throws InterruptedException {\n ControlSignal controlSignal = new ControlSignal();\n\n // Agents are defined by the @Agent or @Agents annotations.\n // Their timings are defined by the @AgentPause annotation, linked by their name.\n Method[] methods = getClass().getMethods();\n List<AgentRunner> agents = new ArrayList<>();\n Map<String, IterationPause> iterationPauseIndex = new HashMap<>();\n for (Method method : methods) {\n AgentPause agentPause = method.getAnnotation(AgentPause.class);\n if (agentPause != null) {\n IterationPause pause = new IterationPause(agentPause, this, method);\n iterationPauseIndex.put(agentPause.name(), pause);\n }\n }\n\n for (Method method : methods) {\n Agent agent = method.getAnnotation(Agent.class);\n if (agent != null) {\n startAgent(deps, controlSignal, agents, iterationPauseIndex, method, agent);\n }\n Agents agentsAnnotation = method.getAnnotation(Agents.class);\n if (agentsAnnotation != null) {\n for (Agent subAgent : agentsAnnotation.value()) {\n startAgent(deps, controlSignal, agents, iterationPauseIndex, method, subAgent);\n }\n }\n }\n\n if (agents.isEmpty()) {\n System.err.println(\"No public @Agent or @Agents annotated methods found!\");\n return;\n }\n\n // Then start them all, and run them for as long as need be.\n controlSignal.start();\n Thread.sleep(runTimeMillis);\n controlSignal.stop();\n controlSignal.awaitDone(agents.size());\n\n // Finally print their results, if need be.\n if (output != Output.none) {\n Histogram sum = newHistogram();\n for (AgentRunner agent : agents) {\n sum.add(agent.histogram);\n if (output == Output.detailed) {\n agent.printResults();\n }\n }\n if (agents.size() > 1 || output == Output.summary) {\n System.out.println(\"Latency results sum:\");\n printHistogram(sum);\n System.out.println();\n }\n }\n }", "public void simulation() {\n\t\t//clock period\n\t\tThread clockThread = new ClockThread(pageLists){\n\t\t\t@Override\n\t\t\tpublic void run() {\n\t\t\t\twhile(true){\n\t\t\t\t\ttry {\n\t\t\t\t\t\tThread.currentThread().sleep(50);\n\t\t\t\t\t\tfor(int i = 0; i < 5; i++)\n\t\t\t\t\t\t\tpageList.get(i).modifyCounter();\n\t\t\t\t\t} catch (InterruptedException e) {\n\t\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t};\n\t\t};\n\t\tclockThread.start();\n\t\t\n\t\t//simulation access a page\n\t\tint[] indexs = {0,0,3,0,1,0,4,2,3,1,\n\t\t\t\t\t\t0,0,4,0,3,2,2,0,3,4,\n\t\t\t\t\t\t0,3,0,3,1,0,2,3,0,1,\n\t\t\t\t\t\t4,0,0,0,1,0,2,3,0,3,\n\t\t\t\t\t\t0,0,3,0,1,0,2,0,0,0,\n\t\t};\n\t\tfor(int i = 0; i < indexs.length; i++) {\n\t\t\taccessPageItem(indexs[i]);\n\t\t}\n\t\t\n\t\t//page fault\n\t\tPage weedOutPage = getWeedOutPage();\n\t\tSystem.out.println(\"The weed out page is \" + weedOutPage + \"\");\n\t\tfor(int i = 0; i < 5; i++)\n\t\t\tSystem.err.println(pageLists.get(i) + \" the counter is \" + pageLists.get(i).getCounter());\n\t\t\n\t\tclockThread.yield();\n\t\t\n\t}", "public Behaviour runObjective() {\n //System.out.println(\"Simulation runObjective(): running method\");\n final int iterations = config.getSimulationIterations();\n return objectiveSimulation(iterations);\n }", "private void runEndogenousEngine() {\n\t\tfloat currentTime = this.timeManager.getCurrentTime(TimeUnit.SECONDS);\n\t\tfloat simulationStepDuration;\n\t\tif (Float.isNaN(this.lastSimulationTime)) {\n\t\t\tsimulationStepDuration = 0f;\n\t\t} else {\n\t\t\tsimulationStepDuration = currentTime - this.lastSimulationTime;\n\t\t}\n\n\t\tMultiCollection<Influence> endoInfluences = new MultiCollection<>();\n\n\t\tthis.lastSimulationTime = currentTime;\n\t\tCollection<Influence> col = this.grid.runAutonomousProcesses(currentTime, simulationStepDuration);\n\t\tif (col != null && !col.isEmpty()) {\n\t\t\tendoInfluences.addCollection(col);\n\t\t}\n\n\t\t// Run endogenous engine\n\t\tEnvironmentEndogenousEngine engine = this.endogenousEngine;\n\t\tif (engine != null) {\n\t\t\tcol = engine.computeInfluences(this.grid, this.timeManager);\n\t\t\tif (col != null && !col.isEmpty()) {\n\t\t\t\tendoInfluences.addCollection(col);\n\t\t\t}\n\t\t}\n\n\t\tif (!endoInfluences.isEmpty()) {\n\t\t\tthis.endogenousInfluences = endoInfluences;\n\t\t}\n\t}", "private static void Simulate(int noCycles) throws IOException\n\t{\n\t\tfor (int i = 1; i <= noCycles; i++)\n\t\t{\n\t\t\tSystem.out.println(\"---------------------------- Cycle : \" + i + \"--------------------------------\");\n\t\t\tfetchStage();\n\t\t\tdecodeStage();\n\t\t\texecute1();\n\t\t\texecute2Stage();\n\t\t\tbranchStage();\n\t\t\tdelayStage();\n\t\t\tmemoryStage();\n\t\t\twritebackStage();\n\t\t\tDisplay();\n\t\t\tSystem.out.println(\"-----------------------------------------------------------------------------\");\n\t\t\tif (isComplete)\n\t\t\t\tbreak;\n\t\t}\n\t}", "public void run() {\n for (List<Boolean> include : includeConstituents) {\r\n // now select an alternative for each constituent\r\n selectConstituent(0, include);\r\n }\r\n }", "private static void run() throws InterruptedException {\r\n\t\tif (runAllAlgorithms) {\r\n\t\t\trunAll();\r\n\t\t}\r\n\t\telse {\r\n\t\t\trunIndividual(algorithmCode, algorithmParameters);\r\n\t\t}\r\n\t}", "@Override\n public void run() {\n try {\n generators.forEach(EventGenerator::start);\n if (log.isDebugEnabled()) {\n log.debug(\"Event generators started. Begin event simulation for uuid : \" + uuid);\n }\n } catch (SimulatorInitializationException e) {\n /**\n * catch exception so that any resources opened could be closed and rethrow an exception indicating which\n * simulation failed\n * */\n stop();\n throw new SimulatorInitializationException(\"Error occurred when initializing event generators for \" +\n \"simulation '\" + simulationProperties.getSimulationName() + \"'. \", e);\n }\n eventSimulation();\n }", "@Test\n public void testSubsequentRunsMinimizing() {\n System.out.println(\" - test subsequent runs (minimizing)\");\n // set minimizing\n obj.setMinimizing();\n // create and add listeners\n AcceptedMovesListener l1 = new AcceptedMovesListener();\n AcceptedMovesListener l2 = new AcceptedMovesListener();\n AcceptedMovesListener l3 = new AcceptedMovesListener();\n searchLowTemp.addSearchListener(l1);\n searchMedTemp.addSearchListener(l2);\n searchHighTemp.addSearchListener(l3);\n // perform multiple runs\n System.out.format(\" - low temperature (T = %.7f)\\n\", LOW_TEMP);\n multiRunWithMaximumRuntime(searchLowTemp, MULTI_RUN_RUNTIME, MAX_RUNTIME_TIME_UNIT, NUM_RUNS, false, true);\n System.out.format(\" >>> accepted/rejected moves: %d/%d\\n\", l1.getTotalAcceptedMoves(), l1.getTotalRejectedMoves());\n System.out.format(\" - medium temperature (T = %.7f)\\n\", MED_TEMP);\n multiRunWithMaximumRuntime(searchMedTemp, MULTI_RUN_RUNTIME, MAX_RUNTIME_TIME_UNIT, NUM_RUNS, false, true);\n System.out.format(\" >>> accepted/rejected moves: %d/%d\\n\", l2.getTotalAcceptedMoves(), l2.getTotalRejectedMoves());\n System.out.format(\" - high temperature (T = %.7f)\\n\", HIGH_TEMP);\n multiRunWithMaximumRuntime(searchHighTemp, MULTI_RUN_RUNTIME, MAX_RUNTIME_TIME_UNIT, NUM_RUNS, false, true);\n System.out.format(\" >>> accepted/rejected moves: %d/%d\\n\", l3.getTotalAcceptedMoves(), l3.getTotalRejectedMoves());\n }", "public static void main(String[] args) {\n\n\n for (int i = 0; i < 3; i++) {\n System.out.println(\"\\n********* TEST \" + (i+1) + \" *********\");\n experimentOne(false);\n experimentOne(true);\n\n experimentTwo(false);\n experimentTwo(true);\n\n experimentThree(false);\n experimentThree(true);\n }\n }", "public void setup() {\n\t\taddBehaviour(new TickerBehaviour(this, 1000L) {\n\n\t\t\t@Override\n\t\t\tprotected void onTick() {\n\t\t\t\tint extinguishedFires = 0;\n\t\t\t\t\n\t\t\t\tfor(int i = 0; i < worldAgent.getAircraftAgents().length; i++) {\n\t\t\t\t\textinguishedFires+=worldAgent.getAircraftAgents()[i].getAircraftMetricsStats().getNumTotalFiresExtinguishedByThisAircraft();\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tworldAgent.getWorldMetricsStats().setNumTotalFiresExtinguishedByAllAircrafts(extinguishedFires);\n\t\t\t\t\n\t\t\t\tif(extinguishedFires >= 3) {\t\t\t\t\t\n\t\t\t\t\tlong end_time = System.currentTimeMillis();\n\t\t\t\t\tlong execution_time = end_time - init_time;\n\t\t\t\t\t\n\t\t\t\t\tAircraftAgent[] aircrafts = worldAgent.getAircraftAgents();\n\t\t\t\t\t\n\t\t\t\t\tfor(int i = 0; i < aircrafts.length; i++) {\n\t\t\t\t\t\t\n\t\t\t\t\t\tfor(Thread sleepingThread : aircrafts[i].getSleepingThreads().values()) {\n\t\t\t\t\t\t\tSystem.err.println(\"Interrupting thread = \\\"\" + sleepingThread.getName() + \"!\");\n\t\t\t\t\t\t\tsleepingThread.interrupt();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tkillContainer();\n\t\t\t\t\t\n\t\t\t\t\tLogger.appendConfigValues(execution_time);\n\t\t\t\t\t\n\t\t\t\t\tSystem.out.println(\"Run no. \" + JADELauncher.NUMBER_OF_RUNS + \" finished.\");\n\n\t\t\t\t\tif(JADELauncher.NUMBER_OF_RUNS == 0) {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tLogger.closeStream();\n\t\t\t\t\t\t} catch (IOException 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\tSystem.exit(0);\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tJADELauncher.NUMBER_OF_RUNS--;\n\t\t\t\t\t\tinstanceRun();\n\t\t\t\t\t}\n\t\t\t\t}\t\t\t\t\n\t\t\t}\n\n\t\t\t\n\t\t});\n\t\t\n\t\tinstanceRun();\n\t}", "protected void runBeforeIterations() {}", "public void startSimulation() {\r\n \t\tif(animationHolder != null ) {\r\n \t\t\tanimationHolder.stop();\r\n \t\t}\r\n \t\t// if simulation is not in pause state\r\n \t\tif (!stopSimulation.isEnabled()) {\r\n \t\t\t// Asks for confirmation before overwriting previous simulation data\r\n \t\t\tif (model.containsSimulationResults()) {\r\n \t\t\t\t// Find frame to show confirm dialog\r\n \t\t\t\tComponent parent = mainWindow;\r\n \t\t\t\tif (resultsWindow != null && resultsWindow.isFocused()) {\r\n \t\t\t\t\tparent = resultsWindow;\r\n \t\t\t\t}\r\n \r\n\t\t\t\tint resultValue = JOptionPane.showConfirmDialog(parent, \"This operation will overwrite old simulation results. Continue anyway?\",\r\n \t\t\t\t\t\t\"JMT - Warning\", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);\r\n \t\t\t\tif (resultValue == JOptionPane.NO_OPTION) {\r\n \t\t\t\t\treturn;\r\n \t\t\t\t}\r\n \t\t\t}\r\n \t\t\t// Asks for confirmation if a logger-file exists (and has existing data) [MF08 0.7.4 (Marco Bertoli)]\r\n \t\t\tString[] ln = model.getLoggerNameList();\r\n \t\t\tString ln2 = \"\";\r\n \t\t\tif (ln != null) {\r\n \t\t\t\tif (model.getLoggingGlbParameter(\"autoAppend\")\r\n \t\t\t\t\t\t.equalsIgnoreCase(new Integer(jmt.engine.log.LoggerParameters.LOGGER_AR_ASK).toString())) {\r\n \t\t\t\t\tif (ln.length > 0) {\r\n \t\t\t\t\t\t// Cache the absolute log-path\r\n \t\t\t\t\t\tString logabspath;\r\n \t\t\t\t\t\tif (model.getLoggingGlbParameter(\"path\").equalsIgnoreCase(\"\") || (model.getLoggingGlbParameter(\"path\").equalsIgnoreCase(\".\"))) {\r\n \t\t\t\t\t\t\tlogabspath = new File(\"\").getAbsolutePath() + File.separator;\r\n \t\t\t\t\t\t} else {\r\n \t\t\t\t\t\t\tlogabspath = new File(model.getLoggingGlbParameter(\"path\")).getAbsolutePath() + File.separator;\r\n \t\t\t\t\t\t}\r\n \r\n \t\t\t\t\t\t// Find if the logfiles have data in them:\r\n \t\t\t\t\t\ttry {\r\n \t\t\t\t\t\t\t//Code to remove duplicate file names from the list to obtain a unique list of File names.\r\n \t\t\t\t\t\t\tArrays.sort(ln);\r\n \t\t\t\t\t\t\tint k = 0;\r\n \t\t\t\t\t\t\tfor (int i = 0; i < ln.length; i++){\r\n \t\t\t\t\t\t\t\tif (i > 0 && ln[i].equals(ln[i -1])){\r\n \t\t\t\t\t\t\t\t\tcontinue;\r\n \t\t\t\t\t\t\t\t}\r\n \t\t\t\t\t\t\t\tln[k++] = ln[i];\r\n \t\t\t\t\t\t\t}\r\n \t\t\t\t\t\t\tString[] unique = new String[k];\r\n \t\t\t\t\t\t\tSystem.arraycopy(ln, 0, unique, 0, k);\r\n \r\n \t\t\t\t\t\t\tfor (String element : unique) {\r\n \t\t\t\t\t\t\t\t// if the files have data, print what will be overwritten\r\n \t\t\t\t\t\t\t\tif (new File(logabspath + element).length() > 0) {\r\n \t\t\t\t\t\t\t\t\t\tln2 = ln2 + element + \", \";\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\t// remove the trailing comma\r\n \t\t\t\t\t\t\tif (ln2 != \"\") {\r\n \t\t\t\t\t\t\t\tln2 = ln2.substring(0, ln2.length() - 2);\r\n \t\t\t\t\t\t\t}\r\n \t\t\t\t\t\t} catch (Exception e) {\r\n \t\t\t\t\t\t\te.printStackTrace();\r\n \t\t\t\t\t\t}\r\n \r\n \t\t\t\t\t\tif (ln2 != \"\") {\r\n \t\t\t\t\t\t\t// Find frame to show dialog\r\n \t\t\t\t\t\t\tComponent parent = mainWindow;\r\n \t\t\t\t\t\t\tif (resultsWindow != null && resultsWindow.isFocused()) {\r\n \t\t\t\t\t\t\t\tparent = resultsWindow;\r\n \t\t\t\t\t\t\t}\r\n \r\n \t\t\t\t\t\t\tint resultValue = JOptionPane.showConfirmDialog(parent, \"This operation will modify the following logfile(s): \" + ln2\r\n \t\t\t\t\t\t\t\t\t+ \". \" + \"Continue anyway?\", \"JMT - Warning\", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);\r\n \t\t\t\t\t\t\tif (resultValue == JOptionPane.NO_OPTION) {\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} else {\r\n \t\t\t\t\t\t//System.out.println(\"Empty file\");\r\n \t\t\t\t\t}\r\n \t\t\t\t}\r\n \t\t\t} // end confirmation if file exists\r\n \t\t\t// Correct eventual problems on preloading for closed classes\r\n \t\t\tmodel.manageJobs();\r\n \t\t\tmc = new ModelChecker(model, model, model, model, false);\r\n \t\t\tpw = new JModelProblemsWindow(mainWindow, mc, this);\r\n \t\t\tif (!mc.isEverythingOkNormal()) {\r\n \t\t\t\tpw.show();\r\n \t\t\t}\r\n \t\t\tif (mc.isEverythingOkNormal() || ((!mc.isEverythingOkNormal()) && (pw.continued()))) {\r\n \t\t\t\tif (!model.isParametricAnalysisEnabled()) {\r\n \t\t\t\t\ttry {\r\n \t\t\t\t\t\t// Removes previous ResultsWindow\r\n \t\t\t\t\t\tif (resultsWindow != null) {\r\n \t\t\t\t\t\t\tresultsWindow.dispose();\r\n \t\t\t\t\t\t\tshowResults.setEnabled(false);\r\n \t\t\t\t\t\t}\r\n \t\t\t\t\t\tFile temp = File.createTempFile(\"~JModelSimulation\", \".xml\");\r\n \t\t\t\t\t\ttemp.deleteOnExit();\r\n \t\t\t\t\t\tXMLWriter.writeXML(temp, model);\r\n \t\t\t\t\t\t// Creates results data structure\r\n \t\t\t\t\t\tmodel.setSimulationResults(new ResultsModel(model.getPollingInterval()));\r\n \t\t\t\t\t\tshowResults.setEnabled(true);\r\n \t\t\t\t\t\tdispatcher = new DispatcherThread(this, model, (ResultsModel) model.getSimulationResults());\r\n \t\t\t\t\t\tdispatcher.startSimulation(temp);\r\n \t\t\t\t\t} catch (Exception e) {\r\n \t\t\t\t\t\thandleException(e);\r\n \t\t\t\t\t}\r\n \t\t\t\t} else {\r\n \t\t\t\t\t// Removes previous ResultsWindow\r\n \t\t\t\t\tshowResults.setEnabled(false);\r\n \t\t\t\t\tif (resultsWindow != null) {\r\n \t\t\t\t\t\tresultsWindow.dispose();\r\n \t\t\t\t\t}\r\n \t\t\t\t\tif (progressWindow == null) {\r\n \t\t\t\t\t\tprogressWindow = new PAProgressWindow(mainWindow, simulate, pauseSimulation, stopSimulation, model\r\n \t\t\t\t\t\t\t\t.getParametricAnalysisModel());\r\n \t\t\t\t\t}\r\n \t\t\t\t\tbatchThread = new PADispatcherThread(this, model, progressWindow);\r\n \t\t\t\t\tchangeSimActionsState(false, true, true);\r\n \t\t\t\t\tprogressWindow.initialize(model.getParametricAnalysisModel().getNumberOfSteps());\r\n \t\t\t\t\tprogressWindow.start();\r\n \t\t\t\t\tprogressWindow.show();\r\n \t\t\t\t\tbatchThread.start();\r\n \t\t\t\t}\r\n \t\t\t}\r\n \t\t} else {\r\n \t\t\tif (!model.isParametricAnalysisEnabled()) {\r\n \t\t\t\tdispatcher.restartSimulation();\r\n \t\t\t} else {\r\n \t\t\t\tbatchThread.restartSimulation();\r\n \t\t\t}\r\n \t\t}\r\n \t}", "public abstract int simulate();", "public void run() {\n\t\tfor(int Index=0;Index<pac.getPath().size();Index++) { //run on the path arraylist of every pacman\n\t\t\tfullGamePath(pac, pac.getPath().get(Index).getFruit(),Index); //call the function\n\t\t\tpac.getPath().get(Index).setTime();\n\t\t}\n\t\t\n\t}", "public static void main(String[] args) {\n double time=100000;\n lambda=0.012;\n m0=40;\n m1=43;\n m2=85;\n t1=32;\n p1=0.35;\n t2=40;\n p2=0.4;\n t3=65;\n p3=0.25;\n K=10;\n p01=0.8;\n p02=0.2;\n pout=0.5;\n p31=0.3;\n p32=0.2;\n \n simulate(time);\n }", "void process() throws Exception {\n\t\n\n\t\t\tFile inputFile=new File(round+\"/\"+exercice+\"-small-attempt1.in\");\n\t\t\tPrintWriter outputFile= new PrintWriter(round+\"/\"+exercice+\"-small-attempt1.out\",\"UTF-8\");\n\n\t\t\n\t//\tFile inputFile=new File(round+\"/\"+exercice+\"-large.in\");\n\t//\tPrintWriter outputFile= new PrintWriter(round+\"/\"+exercice+\"-large.out\",\"UTF-8\");\n\n\n\t\tScanner scanner=new Scanner(inputFile);\n\t\tscanner.useLocale(Locale.US);\n\t\tint T = scanner.nextInt();\n\t\tSystem.out.println(\"Doing \"+T+\" cases\");\n\n\t\t\n\n\t\tfor (int t=1;t<=T;t++) {\n\t\n\t\t\t// do Something\n\t\t\tN=scanner.nextInt();\n\t\t\tS=new String[N];\n\t\t\n\t\t\t\n\t\t\tfor (int i=0;i<N;i++){\n\t\t\t\tS[i]=scanner.next();\n\t\t}\n\t\t\t\n\t\t\t\n\t\t\tString ss=\"\"+solve();\n\t\t\n\t\t\tSystem.out.println(\"Case #\"+t+\": \"+ss);\n\t\t\toutputFile.println(\"Case #\"+t+\": \"+ss);\n\t\t\t\n\t\t}\n\t\tscanner.close();\n\t\toutputFile.close();\n\n\t}", "public static void multiRunTest(){\n /* Input resources.\n * For each String:\n * - the first character is the name of the first image.\n * - the second character is the name of the second image.\n */\n String[] inputs = new String[]{\n \"ab\",\n \"cd\",\n \"ef\",\n \"gh\",\n \"il\",\n \"mn\"\n };\n \n BlueRand random = new BlueRand();\n random.setOutputFile(\"sample/output/multiRuns_output.txt\");\n random.setOutputImage(\"sample/output/multiRuns_output.bmp\");\n random.overwriteOutputFile(false); \n //random.deleteInputFiles(true);\n try {\n\t for (String s : inputs){\n\t random.setInputImages(\"sample/input/\"+s.charAt(0)+\".jpg\",\n\t \"sample/input/\"+s.charAt(1)+\".jpg\"); \n\t ArrayList<Byte> output = random.generateRandom();\n\t System.out.println(\"run finished... Bytes generated: \" + output.size());\n\t }\n } catch (BlueRandException e){\n \tSystem.out.println(e.getMessage());\n }\n }", "protected void runEachSecond() {\n \n }", "public static void main(String[] args) {\n\n int n = in.nextInt();\n int q = in.nextInt();\n int[] arr = new int[n];\n\n for (int i = 0; i < n; i++) {\n arr[i] = in.nextInt();\n }\n DiskSchedulerInfo dsi = new DiskSchedulerInfo(arr, q, 200);\n ISchedule[] scs = new ISchedule[]{\n new FCFS(dsi),\n new SSTF(dsi),\n new SCAN(dsi),\n new C_SCAN(dsi),\n new LOOK(dsi),\n new C_LOOK(dsi),\n new Optimized(dsi)\n };\n for (ISchedule sc : scs) {\n System.out.println(\"---------------------------\");\n System.out.println(sc.getClass().getName());\n System.out.println(\"---------------------------\");\n\n sc.simulate();\n Movement.printMovements(dsi.headStart, sc.getMovements());\n System.out.print(\"Order of processing: \");\n for (int v : sc.getOrderOfProcessing()) {\n System.out.print(v + \" \");\n }\n System.out.println();\n System.out.println(\"Total Movement is: \" + Movement.getTotalMovements(sc.getMovements()));\n }\n }", "@Override\n\tpublic void launchTasks() throws Exception {\n\t\t\t\tthis.scheduleTask(\n\t\t\t\t\tnew AbstractComponent.AbstractTask() {\n\t\t\t\t\t\t@Override\n\t\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t((Controller)this.getTaskOwner()).switchFridgeOn();\n\t\t\t\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t\t\t\tthrow new RuntimeException(e) ;\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\t1000, TimeUnit.MILLISECONDS);\n\t\t\t\t\n\t\t\t\tthis.scheduleTask(\n\t\t\t\t\t\tnew AbstractComponent.AbstractTask() {\n\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\t((Controller)this.getTaskOwner()).setOndulatorPolicy(\"default\");\n\t\t\t\t\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t\t\t\t\tthrow new RuntimeException(e) ;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t},\n\t\t\t\t\t\t1000, TimeUnit.MILLISECONDS);\n\t\t\t\t\n\t\t\t\tthis.scheduleTask(\n\t\t\t\t\t\tnew AbstractComponent.AbstractTask() {\n\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\t((Controller)this.getTaskOwner()).getFridgeTemperature();\n\t\t\t\t\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t\t\t\t\tthrow new RuntimeException(e) ;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t},\n\t\t\t\t\t\t2000, TimeUnit.MILLISECONDS);\n\t\t\t\t\n\t\t\t\tthis.scheduleTask(\n\t\t\t\t\t\tnew AbstractComponent.AbstractTask() {\n\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\t((Controller)this.getTaskOwner()).getBatteryEnergy();\n\t\t\t\t\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t\t\t\t\tthrow new RuntimeException(e) ;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t},\n\t\t\t\t\t\t3000, TimeUnit.MILLISECONDS);\n\t\t\t\t\n\t\t\t\tthis.scheduleTaskWithFixedDelay(\t\t\n\t\t\t\t\t\tnew AbstractComponent.AbstractTask() {\n\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\t((Controller)this.getTaskOwner()).controllFridge();\n\t\t\t\t\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t\t\t\t\tthrow new RuntimeException(e) ;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}, 4000, 1000 // délai entre la fin d'une exécution et la suivante, à modifier \n\t\t\t\t\t\t,TimeUnit.MILLISECONDS) ;\n\t\t\t\t\n\t\t\t\tthis.scheduleTaskWithFixedDelay(\t\t\n\t\t\t\t\t\tnew AbstractComponent.AbstractTask() {\n\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\t((Controller)this.getTaskOwner()).getEPConsommation();\n\t\t\t\t\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t\t\t\t\tthrow new RuntimeException(e) ;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}, 1000, 4000 // délai entre la fin d'une exécution et la suivante, à modifier \n\t\t\t\t\t\t,TimeUnit.MILLISECONDS) ;\n\t}", "public static void automatedRun() throws Exception {\n deleteAllPropertiesFile();\n\n // Run the samples in a way that does not require input from the keyboard.\n automatedRun = true;\n new ThreeChainsSixContracts().run();\n\n // Clean-up.\n deleteAllPropertiesFile();\n }", "public void run() throws Exception {\n for (int i = 0; i < primitiveCases.length; ++i) {\n runCase(primitiveCases[i]);\n }\n }", "public void run (){\n\t\tfor (int i =0; i<iterationCount; i++){\n\n\t\t\t//challengeCheck returns 1 if list is Empty and ready to proceed to making a challenge\n\t\t\t//returns 0 if there are still challenges in list. \n\n\t\t\t//while (challengeCheck() == 0){\n\t\t\tif (challengeCheck() == 1){\n\t\t\t\tmakeChallenge();\n\t\t\t}\n\t\t}\n\t}", "public void run() {\n System.out.println(StartCodonFinder.StartCodon.header() + \"\\texpect\\troles\");\n // Loop through the contigs.\n for (Contig contig : this.genome.getContigs()) {\n String contigId = contig.getId();\n if (debug) System.err.println(\"Processing contig \" + contigId);\n ContigStarts roleMapper = this.startRoleMap.get(contigId);\n ContigOrfTracker orfTracker = this.orfTrackerMap.get(contigId);\n String contigSeq = contig.getSequence();\n StartCodonFinder startFinder = new StartCodonFinder(contigId, contigSeq, orfTracker);\n // Loop through the starts in the contig.\n for (StartCodonFinder.StartCodon start : startFinder) {\n String expect;\n String roles = roleMapper.getRoles(start.getLoc());\n if (roles == null) {\n expect = \"other\";\n roles = \"\";\n } else {\n expect = \"start\";\n }\n System.out.println(start.toString() + \"\\t\" + expect + \"\\t\" + roles);\n }\n }\n }", "public synchronized void runPostTurtles() {\n\t\trunEndogenousEngine();\n\t\tsolveConflicts();\n\t\tfirePostAgentScheduling();\n\t}", "protected static void creatingSimulationStats(int situation) {\n // Clearing previous simulation results.\n TrainStation.clearSimulationTrainQueues();\n\n // Getting the Waiting Room from the DataBase.\n Passenger[][] waitingRoomDB = Methods.readingDB();\n\n // Declaring a waiting Room to run the simulation on.\n Passenger[][] waitingRoom = new Passenger[2][42];\n\n // Running the simulation twice.\n for (int simulation = 1; simulation < 3; simulation++) {\n\n // Declaring and initializing a SimulationPassengerQueue[] to store simulation results.\n SimulationPassengerQueue[] trainQueues = new SimulationPassengerQueue[simulation];\n for (int i = 0; i < simulation; i++) {\n trainQueues[i] = new SimulationPassengerQueue();\n }\n\n // Initializing Waiting room for the simulation.\n for(int train = 0; train < waitingRoom.length; train++) {\n System.arraycopy(waitingRoomDB[train], 0, waitingRoom[train], 0, waitingRoomDB[train].length);\n }\n\n // Getting the Waiting room trainQueue.\n PassengerQueue trainQueue = TrainStation.getTrainQueue();\n\n for (int train = 0; train < 2; train++) {\n // Making the waiting room equal to the TrainStation.waitingRoom if its selected.\n if (situation == 0) {\n for (int passenger = 0; passenger < trainQueue.getQueueLength(train); passenger++) {\n String seatNumberTQ = trainQueue.getQueueArray(train)[passenger].getSeatNumber();\n if (waitingRoom[train][seatNumberConverter(seatNumberTQ)] != null) {\n if (waitingRoom[train][seatNumberConverter(seatNumberTQ)].getSeatNumber().equalsIgnoreCase(seatNumberTQ)) {\n waitingRoom[train][seatNumberConverter(seatNumberTQ)] = null;\n }\n }\n }\n }\n\n // Initializing the group number.\n int groupNumber = 0;\n // Running the simulation till the waiting room finishes.\n while (Methods.waitingRoomSize(train, waitingRoom) > 0) {\n // Increasing the group number.\n groupNumber++;\n\n // Declaring random.\n Random random = new Random();\n\n // Getting number rof passengers for the current group.\n int maxSelect = Methods.creatingMaxWQSelect(train, waitingRoom);\n\n // Creating a array for the Group and Populating it.\n SimulationPassenger[] passengersGroup = new SimulationPassenger[maxSelect];\n for (int select = 0; select < maxSelect; select++) {\n // Getting the current Waiting room without any null elements.\n Passenger[] sortedWaitingRoom = Methods.sortingWaitingRoom(train, waitingRoom);\n\n // Selecting a Passenger Randomly to the Group.\n int selection;\n do {\n selection = random.nextInt(sortedWaitingRoom.length);\n } while (sortedWaitingRoom[selection] == null);\n\n // Adding the selected passenger to the group.\n passengersGroup[select] = new SimulationPassenger(sortedWaitingRoom[selection], maxSelect, groupNumber);\n // Deleteing the added passenger from the waiting room.\n waitingRoom[train][Methods.seatNumberConverter(passengersGroup[select].getSeatNumber())] = null;\n }\n\n // Sorting the Group to according to the seat number (because passengers board according to the seat number).\n SimulationPassenger temp;\n for (int i = 0; i < passengersGroup.length; i++) {\n for (int j = i + 1; j < passengersGroup.length; j++) {\n if (passengersGroup[j].getSeatNumber().compareTo(passengersGroup[i].getSeatNumber()) < 0) {\n temp = passengersGroup[i];\n passengersGroup[i] = passengersGroup[j];\n passengersGroup[j] = temp;\n }\n }\n }\n\n // Selecting the Queue 2 if the Queue 1 is longer than Queue 2\n boolean isTQ2Selected = false;\n if (simulation == 2) {\n isTQ2Selected = trainQueues[0].getQueueLength(train) > trainQueues[1].getQueueLength(train);\n }\n\n // Initializing waiting time for a group.\n int secondsWaited = 0;\n // Adding every passenger in group to trainQueue.\n for (int passenger = 0; passenger < maxSelect; passenger++) {\n // Adding each passengers waiting time to the Queue waiting time.\n secondsWaited += passengersGroup[passenger].getSecondsInQueue();\n // Setting the waiting time in queue to each passenger.\n passengersGroup[passenger].setWaitingTime(secondsWaited);\n\n // Adding passengers to the Queue.\n if (isTQ2Selected) {\n trainQueues[1].add(passengersGroup[passenger], train);\n } else {\n trainQueues[0].add(passengersGroup[passenger], train);\n }\n\n }\n }\n }\n // Storing the simulation report.\n TrainStation.addToSimulationTrainQueues(trainQueues);\n }\n }", "public void run() {\n\t\t\n\t\t\n\t\t\tsaleMethod1();\n\t\t\t//saleMethod3();\n\t\t\t//saleMethod2();\n\t}", "public static void main(String[] args) {\n\t\tint choix = 3;\n\t\t\n\t\t//On cree un simulateur\n\t\tGUISimulator window;\n\t\t\n\t\t//On cree un simulateur d'automate qui sera initialise selon son type\n\t\tAutomateSimulator autoSimu;\n\t\t\n\t\t//On cree un gestionnaire manager\n\t\tEventManager manager = new EventManager();\n\t\t\n\t\tswitch (choix) {\n\t\tcase 1:\n\t\t\t//Test sur Conway\n\t\t\twindow = new GUISimulator(500, 500, Color.WHITE);\n\t\t\tint [][] grille1= {\n\t\t\t\t\t{0,0,0,0,0},\n\t\t\t\t\t{0,1,1,0,0},\n\t\t\t\t\t{0,1,0,0,0},\n\t\t\t\t\t{0,0,1,0,0},\n\t\t\t\t\t{0,0,0,0,1}\n\t\t\t};\n\t\t\tAutomate auto1 = new Conway(grille1);\n\t\t\t\n\t\t\t//Creation d'un premier evenement pour demarrer la recursivite\n\t\t\tmanager.addEvent(new AutomateSimulatorEvent(1, auto1));\n\n\t\t\tautoSimu = new ConwaySimulator(window, auto1, manager);\n\t\t\tbreak;\n\t\tcase 2: \n\t\t\t//Test sur Immigration\n\t\t\twindow = new GUISimulator(500, 500, Color.WHITE);\n\t\t\tint [][] grille2= {\n\t\t\t\t\t{0,2,2},\n\t\t\t\t\t{0,1,1},\n\t\t\t\t\t{3,1,0}\n\t\t\t};\n\n\t\t\tAutomate auto2 = new Immigration(grille2, 4);\n\t\t\t\n\t\t\t//Creation d'un premier evenement pour demarrer la recursivite\n\t\t\tmanager.addEvent(new AutomateSimulatorEvent(1, auto2));\n\n\t\t\tautoSimu = new ImmigrationSimulator(window, auto2, manager);\n\t\t\tbreak;\n\t\tdefault:\n\t\t\t//Test sur Schelling\n\t\t\twindow = new GUISimulator(500, 500, Color.WHITE);\n\t\t\t//Les cases a 0 representent les maisons vides (pas une couleur)\n\t\t\tint [][] grille3= {\n\t\t\t\t\t{0,2,0,2,0,2,3,1,0,2,1,1,2},\n\t\t\t\t\t{0,1,2,1,3,1,2,3,3,0,3,0,0},\n\t\t\t\t\t{2,1,1,3,2,3,0,1,2,1,3,2,1},\n\t\t\t\t\t{1,1,2,2,2,3,0,1,2,1,1,0,3},\n\t\t\t\t\t{0,2,0,2,0,2,3,1,0,2,1,1,2},\n\t\t\t\t\t{3,3,2,1,3,1,0,1,2,3,1,1,1},\n\t\t\t\t\t{2,1,0,1,2,1,3,1,2,3,2,2,3},\t\t\t\t\n\t\t\t\t\t{0,2,0,2,0,2,3,1,0,2,1,1,2},\n\t\t\t\t\t{2,1,3,1,2,1,0,1,2,3,2,2,3},\n\t\t\t\t\t{3,1,0,2,2,1,0,1,3,3,2,2,1},\n\t\t\t\t\t{2,1,0,1,3,1,0,1,2,3,3,2,2}\n\t\t\t};\n\n\t\t\tAutomate auto3 = new Schelling(grille3, 3, 3);\n\t\t\t\n\t\t\t//Creation d'un premier evenement pour demarrer la recursivite\n\t\t\tmanager.addEvent(new AutomateSimulatorEvent(1, auto3));\n\n\t\t\tautoSimu = new SchellingSimulator(window, auto3, manager);\n\t\t\tbreak;\n\t\t}\n\t\t\n\t\t//Lancement de la simulation\n\t\twindow.setSimulable(autoSimu);\n\t}", "@SuppressWarnings(\"unchecked\")\n\t\tpublic void run() {\n long throughputMeasurementStartTime = System.currentTimeMillis();\n\n byte[] reply;\n int reqId;\n int req = 0;\n\n Storage st = new Storage(nTXs);\n\n System.out.println(\"Executing experiment for \" + nTXs + \" ops\");\n\n for (int i = 0; i < nTXs; i++, req++) {\n long last_send_instant = System.nanoTime();\n if (dos) {\n reqId = proxy.generateRequestId((readOnly) ? TOMMessageType.UNORDERED_REQUEST : TOMMessageType.ORDERED_REQUEST); \n proxy.TOMulticast(request, reqId, (readOnly) ? TOMMessageType.UNORDERED_REQUEST : TOMMessageType.ORDERED_REQUEST); \n\n } else {\n \tif(readOnly) {\n \t\treply = proxy.invokeUnordered(request);\n \t} else {\n \t\treply = proxy.invokeOrdered(request);\n \t}\n }\n st.store(System.nanoTime() - last_send_instant);\n\n if (timeout > 0) {\n //sleeps timeout ms before sending next request\n try {\n\t\t\t\t\t\tThread.sleep(timeout);\n\t\t\t\t\t} catch (InterruptedException e) {\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}\n } \n\n } \n writeReportJSON(throughputMeasurementStartTime, st); \n }", "protected void runTest() {\n\t\trunTest(getIterations());\n\t}", "public void runAlgorithm() {\r\n if (srcImage == null) {\r\n MipavUtil.displayError(\"AlgorithmRegularizedIsotropicDiffusion.run() Source Image is null\");\r\n return;\r\n }\r\n\r\n if (srcImage.getNDims() == 2 || do25D) {\r\n timeStep = 0.2f;\r\n }\r\n else {\r\n timeStep = 0.15f;\r\n }\r\n\r\n if (srcImage.isColorImage()) {\r\n if (srcImage.getNDims() == 2) {run2DC(1); }\r\n else if (srcImage.getNDims() == 3 && do25D == true) { run2DC(srcImage.getExtents()[2]); }\r\n else run3DC();\r\n }\r\n else {\r\n if (srcImage.getNDims() == 2) { run2D(1); }\r\n else if (srcImage.getNDims() == 3 && do25D == true) { run2D(srcImage.getExtents()[2]); }\r\n else run3D();\r\n }\r\n }", "public void runExploration() {\n List<Queue<String>> smallSkierQueues = partitionQueue(skierQueue);\n List<Queue<String>> smallLiftQueues = partitionQueue(liftQueue);\n List<Queue<String>> smallhourQueues = partitionQueue(hourQueue);\n\n // run threads here\n long startTime = System.nanoTime();\n for(int i = 0; i < 8; i++) {\n SmallSkierThread runSmallSkier = new SmallSkierThread(smallSkierQueues.get(i));\n SmallLiftThread runSmallLift = new SmallLiftThread(smallLiftQueues.get(i));\n SmallHourThread runSmallHour = new SmallHourThread(smallhourQueues.get(i));\n runSmallSkier.start();\n runSmallHour.start();\n runSmallLift.start();\n }\n // -> Aggregate results here\n // ...\n // ...\n // ...\n // <- End aggregation\n long endTime = System.nanoTime();\n long duration = endTime - startTime;\n System.out.println(\"Concurrent Solution Runtime: \" + duration/1000f + \" microseconds\");\n }", "protected void evolve()\n\t\t{\tif(this_gen < NUMBER_GENERATIONS) {\n\t\t\t\t// Create a new generation.\n\t\t\t\tfloat avg_fit=Float.MIN_VALUE, max_fit=Float.MIN_VALUE, sum_fit=0;\n\t\t\t\tfloat tot_wait=0, avg_wait=0, tot_move=0, avg_move=0;\n\n\t\t\t\tfor(int i=0;i<NUMBER_INDIVIDUALS;i++) {\n\t\t\t\t\tfloat fit = calcFitness(inds[i]);\n\t\t\t\t\tinds[i].setFitness(fit);\n\t\t\t\t\tsum_fit\t += fit;\n\t\t\t\t\tmax_fit = fit>max_fit ? fit : max_fit;\n\t\t\t\t\ttot_wait += inds[i].getWait();\n\t\t\t\t\ttot_move += inds[i].getMove();\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tavg_wait = tot_wait/NUMBER_INDIVIDUALS;\n\t\t\t\tavg_move = tot_move/NUMBER_INDIVIDUALS;\n\t\t\t\tavg_fit = sum_fit/NUMBER_INDIVIDUALS;\n\t\t\t\t\n\t\t\t\tSystem.out.println(\"Stats of prev. gen: (a-wait,a-move)=(\"+avg_wait+\",\"+avg_move+\")\"+\" (a-fit,mx-fit)=(\"+avg_fit+\",\"+max_fit+\")\");\n\t\t\t\tSystem.out.println(\"Evolving...\");\n\t\t\t\t\n\t\t\t\t// Sorts the current Individual-array on fitness, descending\n\t\t\t\tinds = sortIndsArr(inds);\n\t\t\t\t\n\t\t\t\tint num_mating = (int) Math.floor(NUMBER_INDIVIDUALS*(1-ELITISM_FACTOR));\n\t\t\t\tint num_elitism = (int) Math.ceil(NUMBER_INDIVIDUALS*ELITISM_FACTOR);\n\t\t\t\tif(num_mating%2!=0) {\n\t\t\t\t\tnum_mating--;\n\t\t\t\t\tnum_elitism++;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tIndividual[] newInds = new Individual[NUMBER_INDIVIDUALS];\n\t\t\t\t\n\t\t\t\t// Tournament selection\n\t\t\t\tfor(int i=0;i<num_mating;i+=2) {\n\t\t\t\t\tIndividual mamma=null, pappa=null;\n\t\t\t\t\tfloat chn_mum = random.nextFloat();\n\t\t\t\t\tfloat chn_pap = random.nextFloat();\n\t\t\t\t\tfloat fit_mum, sum_fit2=0, sum_fit3=0;\n\t\t\t\t\tint index_mum = -1;\n\t\t\t\t\t\n\t\t\t\t\tfor(int j=0;j<NUMBER_INDIVIDUALS;j++) {\n\t\t\t\t\t\tsum_fit2 += (inds[j].getFitness()/sum_fit);\n\t\t\t\t\t\tif(chn_mum <= sum_fit2) {\n\t\t\t\t\t\t\tmamma = inds[j];\n\t\t\t\t\t\t\tindex_mum = j;\n\t\t\t\t\t\t\tfit_mum = mamma.getFitness();\n\t\t\t\t\t\t\tsum_fit2 = sum_fit-fit_mum;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tfor(int j=0;j<NUMBER_INDIVIDUALS;j++) {\n\t\t\t\t\t\tif(j!=index_mum) {\n\t\t\t\t\t\t\tsum_fit3 += (inds[j].getFitness()/sum_fit2);\n\t\t\t\t\t\t\tif(chn_pap <= sum_fit3) {\n\t\t\t\t\t\t\t\tpappa = inds[j];\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t//System.out.println(\"Mating...: \"+mamma.getFitness()+\",\"+pappa.getFitness());\n\t\t\t\t\tIndividual[] kids = mate(mamma, pappa);\n\t\t\t\t\tnewInds[i]\t= kids[0];\n\t\t\t\t\tnewInds[i+1]= kids[1];\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t// Elitism\n\t\t\t\tfor(int i=0;i<num_elitism;i++) {\n\t\t\t\t\tnewInds[i+num_mating] = inds[i];\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tinds = newInds;\t\t\t\t\t\t\t\t\n\t\t\t\tthis_gen++;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tSystem.out.println(\"Done with evolving\");\n\t\t\t\t// set the best individual as the ruling champ?\n\t\t\t\t// do nothing\n\t\t\t\treturn;\n\t\t\t}\n\t\t}", "public static void main(String[] args){\r\n\t\tputSPECmeasurement(System.nanoTime(), 100, 1000, \"nix1\", 5000);\r\n\t\tputSPECmeasurement(System.nanoTime(), 200, 2000, \"nix2\", 10000);\r\n\t}", "@BeforeAll\n public static void oneTimeSetUp() {\n\n frontend.ctrlClear();\n\n String camName1 = \"Vale das Mos\";\n String camName2 = \"Alcobaca\";\n String id1 = \"12DL12\";\n String id2 = \"12AR12\";\n String id3 = \"151212\";\n String id4 = \"1512345\";\n String date1 = \"1999-03-12 12:12:12\";\n String date2 = \"2020-03-12 12:12:12\";\n String date3 = \"2015-09-12 12:12:12\";\n String date4 = \"2010-09-12 12:12:12\";\n\n\n frontend.camJoin(camName1, 13.3, 51.2);\n frontend.camJoin(camName2, 15.3, 53.2);\n\n List<List<String>> observations1 = new ArrayList<>();\n List<List<String>> observations2 = new ArrayList<>();\n List<List<String>> observations3 = new ArrayList<>();\n List<List<String>> observations4 = new ArrayList<>();\n\n\n List<String> observationMessage1 = new ArrayList<>();\n observationMessage1.add(\"CAR\");\n observationMessage1.add(id1);\n observationMessage1.add(date1);\n\n List<String> observationMessage2 = new ArrayList<>();\n observationMessage2.add(\"CAR\");\n observationMessage2.add(id2);\n observationMessage2.add(date2);\n\n List<String> observationMessage3 = new ArrayList<>();\n observationMessage3.add(\"PERSON\");\n observationMessage3.add(id3);\n observationMessage3.add(date3);\n\n List<String> observationMessage4 = new ArrayList<>();\n observationMessage4.add(\"PERSON\");\n observationMessage4.add(id4);\n observationMessage4.add(date4);\n\n\n observations1.add(observationMessage1);\n observations2.add(observationMessage2);\n observations3.add(observationMessage3);\n observations4.add(observationMessage4);\n\n frontend.reportObs(camName1, observations1);\n frontend.reportObs(camName2, observations2);\n frontend.reportObs(camName1, observations3);\n frontend.reportObs(camName2, observations4);\n }", "public static void main(String[] args) {\n Registry registry = null;\n DepAirportInt depAirportInt = null;\n AirplaneInt airplaneInt = null;\n\n try {\n registry = LocateRegistry.getRegistry(\n SimulatorParam.RegistryName,\n SimulatorParam.RegistryPort);\n } catch (RemoteException e) {\n System.out.println(\"RMI registry creation exception: \" +\n e.getMessage());\n e.printStackTrace();\n System.exit(1);\n }\n System.out.println(\"RMI registry was created!\");\n\n try {\n depAirportInt = (DepAirportInt) registry.lookup(\"DepAirport\");\n airplaneInt = (AirplaneInt) registry.lookup(\"Airplane\");\n } catch (RemoteException e) {\n System.out.println(\"Shared Region look up exception: \" +\n e.getMessage());\n e.printStackTrace();\n System.exit(1);\n } catch (NotBoundException e) {\n System.out.println(\"Shared Region not bound exception: \" +\n e.getMessage());\n e.printStackTrace();\n System.exit(1);\n }\n\n // entities initialization\n Passenger[] passengers = new Passenger[SimulatorParam.TOTAL];\n\n\n for (int i = 0; i < SimulatorParam.TOTAL; i++) {\n passengers[i]=new Passenger(depAirportInt, airplaneInt, i);\n }\n\n // start of the simulation\n for (int i = 0; i < SimulatorParam.TOTAL; i++)\n passengers[i].start();\n\n // end of the simulation\n for (int i = 0; i < SimulatorParam.TOTAL; i++) {\n try {\n passengers[i].join();\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n }\n\n // end of the simulation\n\n }", "public void run() {\n\t\t\t\tui = new GUI();\n\t\t\t\tui.generateUI();\n\t\t\t\tui.showUI(true);\n\n\t\t\t\t// Start sim ticking - sim is initialized below *before* this is called\n\t\t\t\tsim.newSim();\n\t\t\t\tsim.start();\n\t\t\t}", "private void forPractice() //for loop- always a counting loop (like Simon says- do it 3 times)-pass two streets then turn left\n\t{\n\t\tfor (int i = 1; i < 4; i++)\n\t\t{\n\t\t\taskUser();\n\t\t}\n\t\n\t\n\t\n\t//Analogy-\n\t//model is what you can see\n\t//controller-director-not seen in the movie\n\t//all work goes \n\n\t\n\t}", "public void iterate()\n\t{\n\t\tfor (int p = 0; p < parasites.length; p++)\n\t\t\tpFitnesses[p][1] = 0;\n\t\t\n\t\ttry\n\t\t{\t// calculate fitnesses against other population\n\t\t\texecutor.invokeAll(tasks);\n\t\t\t// calculate fitness against hall of fame individuals\n\t\t\texecutor.invokeAll(hofTasks);\n\t\t}\n\t\tcatch (Exception e)\n\t\t{\n\t\t\tSystem.out.println(\"Something bad happened...\");\n\t\t\tSystem.exit(-1);\n\t\t}\n\t\n\t\tArrays.sort(hFitnesses,new ArrayComparator(1,false));\n\t\tArrays.sort(pFitnesses,new ArrayComparator(1,false));\n\t\t\n\t\tint bestIndex = (int)pFitnesses[0][0];\n\t\tint size = parHOF.length;\n\t\t\n\t\tparHOF[generations%size]=new NeuralPlayer(-1,\"HOF P\",(BasicNetwork)parasites[(int)bestIndex].net.clone());\n\t\tbestIndex = (int)hFitnesses[0][0];\n\t\thostHOF[generations%size]=new NeuralPlayer(1,\"HOF H\",(BasicNetwork)hosts[(int)bestIndex].net.clone());\n\t\t\n\t\tint matePopIndex = (int)(matingPer*popSize)+1;\n\t\tRandom indexG = new Random();\n\t\t// allow top percentage to breed and replace bottom 2*percentage\n\t\t// leave everyone else alone\n\t\tfor (int i = 0; i < popSize*2*matingPer; i++)\n\t\t{\n\t\t\tint pInd1 = indexG.nextInt(matePopIndex);\n\t\t\tint pInd2 = indexG.nextInt(matePopIndex);\n\t\t\tNeuralPlayer p1 = hosts[(int)hFitnesses[pInd1][0]];\n\t\t\tNeuralPlayer p2 = hosts[(int)hFitnesses[pInd2][0]];\n\t\t\tNeuralPlayer child = hosts[(int)hFitnesses[popSize - 1 - i][0]];\n\t\t\tmate(p1, p2,child);\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < popSize*2*matingPer; i++)\n\t\t{\n\t\t\tint pInd1 = indexG.nextInt(matePopIndex);\n\t\t\tint pInd2 = indexG.nextInt(matePopIndex);\n\t\t\tNeuralPlayer p1 = parasites[(int)pFitnesses[pInd1][0]];\n\t\t\tNeuralPlayer p2 = parasites[(int)pFitnesses[pInd2][0]];\n\t\t\tNeuralPlayer child = parasites[(int)pFitnesses[popSize - 1 - i][0]];\n\t\t\tmate(p1, p2,child);\n\t\t}\n\t\t// mutate everyone except top percentage (matingPer)\n\t\tfor (int i = 0; i < popSize*3*matingPer; i++)\n\t\t{\n\t\t\tmutate(parasites[(int)pFitnesses[popSize - 1 - i][0]]);\n\t\t\tmutate(hosts[(int)hFitnesses[popSize - 1 - i][0]]);\n\t\t}\n\t\t\n\t\tgenerations+=1;\n\t\t// every now and then reseed the population with a good individual\n\t\tif (generations%50 == 0)\n\t\t{\n\t\t\thosts[indexG.nextInt(hosts.length)].net = (BasicNetwork)allTimeBestHost.net.clone();\n\t\t\tparasites[indexG.nextInt(parasites.length)].net = (BasicNetwork)allTimeBestPara.net.clone();\n\t\t}\n\t\t\t\n\t}", "@Override\n\t\tpublic void run() {\n\t\t\tExecutor executor = new Executor(this.env);\n\n\t\t\t// control loop\n\t\t\t//String dataFileName = monitorLog.monitor();\n\t\t\t//AnalysisStatus analysisStatus = analyser.analyse(dataFileName, args);\n\t\t\t// AdaptationPlan adaptationPlan =\n\t\t\t// planner.selectPlan(analysisStatus);\n\t\t\t//executor.execute(adaptationPlan);\n\t\t\t//System.out.println(this.getClass()+\" **************** CHANGE **************\"+System.nanoTime());\n\t\t\texecutor.executeFake(this.env);\n\t\t\t//executeFake();\n\t\t}", "static int runSimulation2() {\r\n\t\tSimulation sim2 = new Simulation(8, 8, true, false);\r\n\t\twhile(sim2.sameSquare() == false) { //stop when sameSquare\r\n\t\t\tsim2.doMove();\r\n\t\t}\r\n\t\treturn sim2.getTime();\r\n\t}", "public static void runRandom() throws Exception {\r\n\t\ti = (int) (Math.random()*10)+1;\r\n\t\tfor (int a = 1;a <= i;a++) {\r\n\t\t\ttestRun(a);\r\n\t\t\tSystem.out.println(\"\\n\\n\");\r\n\t\t}\r\n\t\t\r\n\t}", "public void runExperiment() {\n\t\tevaluator = new Evaluator(trainingSet);\n\t\tevaluator.evaluateClassifiers(classifiers);\n\t}", "public void start() {\n\t\t// doctors start waiting at OPEN_TIME\n\t\tfor (int i = 0; i < _doctors.length; ++i) {\n\t\t\t_doctors[i].startWaiting();\n\t\t}\n\t\t_xrayDoctor.startWaiting();\n\t\tprintTimer();\n\t\tprint(\"Start of simulation.\");\n\t\tprint(\"All doctors start waiting.\");\n\n\t\t// recurse on all events\n\t\twhile (_eventQueue.hasMoreElements()) {\n\t\t\tEvent e = (Event) _eventQueue.nextElement();\n\t\t\tprocessEvent(e);\n\t\t}\n\n\t\t// doctors stop waiting at CLOSE_TIME, or when the last patient left.\n\t\ttime = Math.max(time, CLOSE_TIME);\n\t\tfor (int i = 0; i < _doctors.length; ++i) {\n\t\t\t_doctors[i].stopWaiting();\n\t\t}\n\t\t_xrayDoctor.stopWaiting();\n\t\tprintTimer();\n\t\tprint(\"All doctors stop waiting.\");\n\t\tprint(\"End of simulation.\");\n\t}" ]
[ "0.6900568", "0.6693179", "0.6569642", "0.64250654", "0.64195055", "0.62490684", "0.6230554", "0.61942244", "0.61426544", "0.6086622", "0.60644114", "0.6063116", "0.6054216", "0.60521495", "0.6034721", "0.6028032", "0.60163164", "0.60070103", "0.5992627", "0.5968017", "0.59541464", "0.5951151", "0.59447765", "0.59418494", "0.5936102", "0.593122", "0.5922419", "0.59219724", "0.5910476", "0.58971167", "0.5886712", "0.5868941", "0.58565396", "0.58545506", "0.58312196", "0.5828353", "0.5811182", "0.5804725", "0.57982326", "0.5794424", "0.57796365", "0.57633305", "0.57565117", "0.57557344", "0.57411486", "0.5725338", "0.57076746", "0.570451", "0.5704022", "0.5703254", "0.56871706", "0.5676684", "0.56661546", "0.5656242", "0.56206423", "0.56192195", "0.5605683", "0.5586818", "0.55861187", "0.55818874", "0.5579868", "0.5579779", "0.55682087", "0.55648845", "0.55592984", "0.55457693", "0.5537978", "0.55257154", "0.55227625", "0.5502388", "0.5495572", "0.5493724", "0.5488794", "0.54884154", "0.5487474", "0.5480494", "0.5479282", "0.5469771", "0.5457068", "0.54555774", "0.54507333", "0.54376715", "0.54363805", "0.5433003", "0.54312456", "0.5422194", "0.54192996", "0.5418359", "0.54159355", "0.54131734", "0.54111826", "0.54088223", "0.54085773", "0.54078865", "0.5407159", "0.54067296", "0.5405371", "0.5398398", "0.539133", "0.5388569" ]
0.65898526
2
Function to remove a course from the courses that were added earlier
@FXML public void remove() { String name=user.getText().split(": ")[1]; Student temp=null; for(int i=0;i<Main.IIITD.getUsers().size();++i) { if(Main.IIITD.getUsers().get(i).getCredentials().getName().equals(name)) { if(Main.IIITD.getUsers().get(i).getCredentials().getUserType().equals("Student")) { temp=(Student) Main.IIITD.getUsers().get(i); } } } Courses temp2=null; String course_name=mycourses.getValue(); for(int i=0;i<temp.getPersonalizedTimetable().getCourses().size();++i) { if(temp.getPersonalizedTimetable().getCourses().get(i).getCoursename().equals(course_name)) { temp2=temp.getPersonalizedTimetable().getCourses().get(i); } } temp.getPersonalizedTimetable().getCourses().remove(temp2); // allcourselist.add(mycourses.getValue()); mycourselist.remove(mycourses.getValue()); allcourselist=FXCollections.observableArrayList(); for(int i=0;i<Main.IIITD.getCourses().size();i++) { if(!hascourse(Main.IIITD.getCourses().get(i).getCoursename()) && !check_clash(Main.IIITD.getCourses().get(i).getCoursename())) { allcourselist.add(Main.IIITD.getCourses().get(i).getCoursename()); } } allcourses.setItems(allcourselist); mycourses.setItems(mycourselist); allcourses.setValue(null); mycourses.setValue(null); if(mycourselist.size()<6) { add_course.setDisable(false); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void removeCourse(Course c) {\n courseList.remove(c);\n numOfCourses--;\n }", "public void removeCourse(String course);", "public void removeBycourse_id(long course_id);", "private void removeFromSavedCourseList() {\n System.out.println(\"The current courses in the saved course list are: \");\n\n for (int i = 0; i < courseList.getCourseList().size(); i++) {\n System.out.println((i + 1) + \": \" + courseList.getCourseList().get(i).getName());\n }\n\n System.out.println(\"Write the number of the one you wish to remove\");\n int removeIndex = obtainIntSafely(1, courseList.getCourseList().size(), \"Number out of bounds\");\n courseList.getCourseList().remove(removeIndex - 1);\n System.out.println(\"Removed!\");\n }", "void deleteCourses(Course toRemove)\n {\n courses.remove(toRemove);\n\n for(int i=1; i<toRemove.getterStudentsEnrolled().size(); i++) {\n toRemove.getterStudentsEnrolled().get(i).deleteCourse(toRemove);\n }\n List<Student> emptylist = new ArrayList<Student>();\n\n toRemove.setterStudentsEnrolled(emptylist);\n }", "private void removeFromActiveCourseList() {\n System.out.println(\"The current courses in the active course list are: \");\n\n for (int i = 0; i < activeCourseList.size(); i++) {\n System.out.println((i + 1) + \": \" + activeCourseList.get(i).getName());\n }\n\n System.out.println(\"Write the number of the one you wish to remove\");\n int removeIndex = obtainIntSafely(1, activeCourseList.size(), \"Number out of bounds\");\n activeCourseList.remove(removeIndex - 1);\n System.out.println(\"Removed!\");\n }", "public boolean removeCourse(String course) {\n // Look for the course index\n int courseIndex = numCourses;\n for (int i = 0; i < numCourses; i++) {\n if (courses[i].equals(course)) {\n courseIndex = i;\n break;\n }\n }\n if (courseIndex == numCourses) { // cannot find the course to be removed\n return false; \n } else { // remove the course and re-arrange for courses array\n for (int i = courseIndex; i < numCourses-1; i++) {\n courses[i] = courses[i+1];\n }\n numCourses--;\n return true;\n }\n }", "public void removeCourse(Course course) {\n this.displayCourses();\n courses.remove((course));\n this.displayCourses();\n }", "@Override\n\tpublic boolean removeCourse(String id) {\n\t\treturn false;\n\t}", "public void removeActiveCourse(String courseCode) \n {\n if (courses.containsKey(courseCode)) \n {\n courses.remove(courseCode); \n }\n }", "public void removeCourse(CurriculumItem course) {\n courses.remove(course);\n if (course instanceof Elective) {\n numberOfCredits -= 3;\n } else if (course instanceof Course) {\n numberOfCredits -= ((Course) course).credits();\n }\n\n numberOfCourses--;\n }", "@DeleteMapping(\"/{studentId}/course/{courseId}\")\n public Map<String, Boolean> removeCourse(@PathVariable Integer studentId, @PathVariable Integer courseId) {\n Map<String, Boolean> result = new HashMap<>();\n Optional<Student> studentOptional = studentService.findStudentById(studentId);\n\n if (!studentOptional.isPresent()) {\n throw new NotFoundException();\n }\n\n Student student = studentOptional.get();\n\n for (Course c : student.getCourses()) {\n if (c.getId().equals(courseId)) {\n student.getCourses().remove(c); // remove the course\n\n // if the course has a waitlist, auto enroll the next student in the waitlist\n if (!c.getCourseWaitList().isEmpty()) {\n Set<StudentWait> waitList = c.getCourseWaitList();\n int min = Integer.MAX_VALUE;\n StudentWait add = null;\n\n for (StudentWait sw : waitList) { // find the first student in the waitlist\n if (sw.getId() < min) {\n min = sw.getId();\n add = sw;\n }\n }\n\n if (add != null) {\n Integer sId = add.getStudentW().getId();\n Integer cId = add.getCourseW().getId();\n Student student1 = studentService.findStudentById(sId).get();\n Course course1 = courseService.findCourseById(cId).get();\n student1.getCourses().add(course1); // add the course for the first student in the course's waitlist\n studentService.saveStudent(student1);\n studentWaitService.deleteStudentWait(sId, cId); // delete the student from waitlist\n }\n result.put(\"waitList\", true);\n } else {\n c.setFilled(c.getFilled() - 1);\n result.put(\"waitList\", false);\n }\n break;\n }\n }\n studentService.saveStudent(student);\n return result;\n\n }", "private void setupRemoveCourse() {\n\t\tmakeButton(\"Remove Course\", (ActionEvent e) -> {\n\t\t\ttry {\n\t\t\t\tint row = table.getSelectedRow();\n\n\t\t\t\tif (row < 0) {\n\t\t\t\t\tJOptionPane.showMessageDialog(getRootPane(), \"Please select a course\", \"Error\",\n\t\t\t\t\t\t\tJOptionPane.OK_OPTION);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tint courseId = adCon.getCourseIdFromRow(row);\n\t\t\t\tadCon.removeCourse(courseId);\n\t\t\t\tupdateCourses();\n\t\t\t} catch (NumberFormatException ex) {\n\t\t\t\tJOptionPane.showMessageDialog(getRootPane(), \"Course number must be a number\", \"Error\",\n\t\t\t\t\t\tJOptionPane.OK_OPTION);\n\t\t\t}\n\t\t\tcourseInfo.setText(\"Course deleted.\");\n\t\t});\n\t}", "public void unassignCourse() {\n assignedCourse = null;\n }", "public void removeEnrolled(Course curs, Student stud) throws SQLException {\r\n Connection con = DriverManager.getConnection(\"jdbc:postgresql://localhost:5432/Hogwarts\",\"postgres\" , \"admin\");\r\n Statement st = con.createStatement();\r\n\r\n st.executeUpdate(\"DELETE FROM public.enrolled\\n\" +\r\n \"\\tWHERE \" + \"\\\"studentID\\\"=\" + stud.getId() + \" AND \\\"courseID\\\"=\" + curs.getId());\r\n\r\n st.close();\r\n\r\n }", "public String removeCourse(String courseName) {\r\n try {\r\n int i;\r\n String query = \"SELECT * FROM courses WHERE coursename=?\";\r\n PreparedStatement pstmt = conn.prepareStatement(query);\r\n pstmt.setString(1, courseName);\r\n ResultSet rs = pstmt.executeQuery();\r\n if (!rs.next()) {\r\n return \"Course not found\";\r\n }\r\n int id = rs.getInt(\"courseid\");\r\n pstmt.close();\r\n int size = studentRegList.size();\r\n for (i = 0; i < size; i++) {\r\n if (studentRegList.get(i).getCourseId() == id) {\r\n studentRegList.get(i).removeRegistration();\r\n studentRegList.remove(i);\r\n break;\r\n }\r\n }\r\n if (i == size) {\r\n return \"Not currently registered in this course\";\r\n }\r\n } catch (Exception e) {\r\n e.printStackTrace();\r\n }\r\n return \"Course removed successfully\";\r\n }", "private void dropCourse()\r\n {\r\n\t\ttry\r\n\t\t{\r\n\t\t\tString courseFaculty = this.getClientIn().readLine();\r\n\t\t\tString courseNumberStr = this.getClientIn().readLine();\r\n\t\t\tint courseNumber = Integer.parseInt(courseNumberStr);\r\n\t \tfor(CourseRegistration courseReg : this.getDBManager().getStudent(this.studentId).getStudentRegList())\r\n\t \t{\r\n\t \t\tCourse courseForReg = courseReg.getTheOffering().getTheCourse();\r\n\t \t\tif((courseForReg.getCourseNum() == courseNumber) && (courseForReg.getCourseName().compareTo(courseFaculty) == 0))\r\n\t \t\t{\r\n\t \t\t\tcourseReg.cancelRegistration();\r\n\t \t\t\tthis.getClientOut().printf(\"SUCCESS\\nDropped course successfully.\\n\");\r\n\t \t\t\tthis.getClientOut().flush();\r\n\t \t\t\treturn;\r\n\t \t\t}\r\n\t \t}\r\n\t \tthis.getClientOut().printf(\"ERROR\\nCourse entered is not in student's list. \\n\");\r\n\t \tthis.getClientOut().flush();\r\n\t\t}\r\n\t\tcatch(NumberFormatException e)\r\n\t\t{\r\n\t\t\tthis.getClientOut().printf(\"ERROR\\nPlease check the Course Number. It must be an integer.\\n\");\r\n\t\t\tthis.getClientOut().flush();\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tcatch(IOException e)\r\n\t\t{\r\n\t\t\tthis.getClientOut().printf(\"ERROR\\nIOException while reading user input.\\n\");\r\n\t\t\tthis.getClientOut().flush();\r\n\t\t\treturn;\r\n\t\t}\r\n }", "public void drop(Course courseObj) {\n\t\t\n\t\tfor(int i = 0; i < this.noc; i++) {\n\t\t\tif(this.courseList[i] == courseObj) {\n\t\t\t\tthis.courseList[i] = null;\n\t\t\t\t\n\t\t\t\tfor(int j = i; j < this.noc-1; j++) {\n\t\t\t\t\tthis.courseList[i] = this.courseList[i+1];\n\t\t\t\t}\n\t\t\t\tthis.noc--;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}", "public void resetCourse(Course course) {\r\n this.course.remove(course);\r\n }", "void removeHadithChapterIntro(Object oldHadithChapterIntro);", "@Override\r\n\tpublic void newDeleteCourse(Course course) {\n\t\tcourse.setValid(0);\r\n\t\tthis.update(course);\r\n\t}", "public com.ms3.training.services.model.Course remove(java.lang.String title)\n\t\tthrows com.liferay.portal.kernel.exception.SystemException,\n\t\t\tcom.ms3.training.services.NoSuchCourseException;", "public void RemoveCourse(String depName, String StudentName, String courseName) {\n\t\tdNode searchNode = FindByName(depName);\n\t\tif (searchNode != null)\n\t\t\tsearchNode.data.students.RemoveCourse(StudentName, courseName);\n\t\telse\n\t\t\tSystem.out.println(\"Could not find Department @ Remove Course\");\n\t}", "private void deleteCourse() {\n // Only perform the delete if this is an existing pet.\n if (mCurrentCourseUri != null) {\n // Call the ContentResolver to delete the pet at the given content URI.\n // Pass in null for the selection and selection args because the mCurrentPetUri\n // content URI already identifies the pet that we want.\n int rowsDeleted = getContentResolver().delete(mCurrentCourseUri, null, null);\n\n // Show a toast message depending on whether or not the delete was successful.\n if (rowsDeleted == 0) {\n // If no rows were deleted, then there was an error with the delete.\n Toast.makeText(this, getString(R.string.editor_delete_course_failed),\n Toast.LENGTH_SHORT).show();\n } else {\n // Otherwise, the delete was successful and we can display a toast.\n Toast.makeText(this, getString(R.string.editor_delete_course_successful),\n Toast.LENGTH_SHORT).show();\n }\n }\n\n // Close the activity\n finish();\n }", "void removeHadithChapterNo(Object oldHadithChapterNo);", "private void deleteCou(HttpServletRequest request, HttpServletResponse response) {\n\t\tString courseid = request.getParameter(\"courseid\");\r\n\t\ttry {\r\n\t\t\tCourse cou = course.findByCode(courseid);\r\n\t\t\tif (cou != null) {\r\n\t\t\t\tif (course.DelectCourse(courseid)) {\r\n\t\t\t\t\trequest.setAttribute(\"msg\", \"删除成功\");\r\n\t\t\t\t\tlistCou(request, response);\r\n\t\t\t\t} else {\r\n\t\t\t\t\trequest.setAttribute(\"msg\", \"删除失败\");\r\n\t\t\t\t\tlistCou(request, response);\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\trequest.setAttribute(\"msg\", \"找不到\");\r\n\t\t\t}\r\n\r\n\t\t} catch (Exception e) {\r\n\t\t\t// TODO: handle exception\r\n\t\t}\r\n\r\n\t}", "public String removeCourseFromNode(int id,String courseName){\n\t\tNode node = searchNode(id);\n\t\tif(node == null){\n\t\t\treturn null;\n\t\t}\n\t\telse{\n\t\t\tnode.removeCourse(courseName);\n\t\t\tnode.notifyAll(Operation.DELETE, courseName);\n\t\t}\n\t\treturn \"Course removed Successfully\";\n\t}", "public void removeStudentFromCourse(Course course, Student student){\n \n String statement = REMOVE_STUDENT_FROM_COURSE;\n data.makeUpdateStatement(statement,new Object[]{(Object)course.getId(),(Object)student.getId()});\n data.closeConnections(data.ps, data.conn);\n }", "public void updateCourse(Course curs) throws SQLException, ClassNotFoundException {\r\n Iterable<Student> allStuds = students.findAll();\r\n List<Student> toUpdate = new ArrayList<>();\r\n Course before = courses.findOne(curs.getId());\r\n\r\n for(Student stud : allStuds){\r\n if(stud.getEnrolledCourses().contains(before)){\r\n //if the student was enrolled to the course in the first place\r\n if(stud.getTotalCredits() - before.getCredits() + curs.getCredits() > 30){\r\n //new course exceeds student max credits therefore must be removed\r\n //delete student from courses enrolled students list\r\n\r\n List<Student> newStudents = curs.getStudentsEnrolled();\r\n newStudents.remove(stud);\r\n curs.setStudentsEnrolled(newStudents);\r\n\r\n //delete course from student list + decrease credits\r\n\r\n List<Course> newCourses = stud.getEnrolledCourses();\r\n newCourses.remove(before);\r\n int newCredits = stud.getTotalCredits() - before.getCredits();\r\n\r\n stud.setTotalCredits(newCredits);\r\n stud.setEnrolledCourses(newCourses);\r\n toUpdate.add(stud);\r\n\r\n //remove the data from the enrolled table\r\n removeEnrolled(curs, stud);\r\n }\r\n else{\r\n //new course does not exceed max credits\r\n //modify student credits\r\n int newCredits = stud.getTotalCredits() - before.getCredits() + curs.getCredits();\r\n stud.setTotalCredits(newCredits);\r\n toUpdate.add(stud);\r\n }\r\n courses.update(curs);\r\n\r\n }\r\n }\r\n for(Student stud2: toUpdate){\r\n students.update(stud2);\r\n }\r\n }", "public void removePrevCardList(){\n for (int i = 0; i < playerCardList.getPlayerCardListSize(); i++){\n playerCardPuzzle.getChildren().remove(playerCardList.getPlayerCardByNo(i));\n }\n }", "public void unfinishCourse(Course course) {\n\t\tList<Course> unfinishedCourses = super.getUnfinishedCourses();\n\t\tList<Course> finishedCourses = super.getFinishedCourses();\n\n\t\tRoom room = super.getRoom();\n\t\tif (!room.hasTeacher()) {\n\t\t\t// throw new BLABLA SHOULD NEVER HAPPEN!\n\t\t}\n\t\tTeacher teacher = room.getTeacher();\n\t\tString teacherName = teacher.getName();\n\t\tif (unfinishedCourses.contains(course)) {\n\t\t\tSystem.out.println(teacherName + \": Unfortunate! You'll have to try again next exam!\");\n\t\t} else if (finishedCourses.contains(course)) {\n\t\t\tfinishedCourses.remove(course);\n\t\t\tunfinishedCourses.add(course);\n\t\t\tthis.hp -= course.getHp();\n\t\t\tSystem.out.println(teacherName + \": Sorry... Your earned hp for the course (\" + course.getHp() + \") has been withdrawn.\\nYou'll have to retake the course.\");\n\t\t}\n\t}", "public void remove(Student s1){\r\n this.studentList.remove(s1);\r\n }", "@Override\r\n\tpublic void delete(org.holtz.eve.jpa.entity.TCsCourse course) {\n\r\n\t}", "public void delete(Course course) {\n\t\tString sql = \"DELETE FROM course WHERE Cour_ID = ?\";\n\t\ttry {\n\t\t\tconn = dataSource.getConnection();\n\t\t\tsmt = conn.prepareStatement(sql);\n\t\t\tsmt.setInt(1, course.getCourId());\t\t\t \n\t\t\tsmt.executeUpdate();\t\t\t\n\t\t\tsmt.close();\n \n\t\t} catch (SQLException e) {\n\t\t\tthrow new RuntimeException(e);\n \n\t\t} finally {\n\t\t\tif (conn != null) {\n\t\t\t\ttry {\n\t\t\t\t\tconn.close();\n\t\t\t\t} catch (SQLException e) {}\n\t\t\t}\n\t\t}\n\t}", "public boolean dropCourse(Scanner sc) {\r\n\t\tboolean success = false;\r\n\t\tboolean validInput = false;\r\n\t\tint choice, confirmation = 0;\r\n\t\tStudent s1 = new Student();\r\n\t\ts1 = s1.retrieveStudentObject(this.getStudentID());\r\n\t\tStudent s2 = new Student();\r\n\t\tCourse c1 = new Course();\r\n\t\tIndexGroup g1 = new IndexGroup();\r\n\t\tWaitlist wl1 = new Waitlist();\r\n\r\n\t\ttry {\r\n\t\t\tif (s1 != null) {\r\n\t\t\t\ts1.printCoursesRegistered();\r\n\r\n\t\t\t\tif (s1.getCourseList().size() != 0 || s1.getWaitListIDList().size() != 0) {\r\n\t\t\t\t\tdo {\r\n\t\t\t\t\t\tSystem.out.print(\"Select the Course you want to drop: \");\r\n\t\t\t\t\t\tchoice = sc.nextInt();\r\n\r\n\t\t\t\t\t\tif (choice >= 1 && choice <= this.waitListIDList.size() && this.waitListIDList.size() != 0) {\r\n\t\t\t\t\t\t\tInteger tempWaitListID = this.waitListIDList.get(choice - 1);\r\n\t\t\t\t\t\t\tc1 = c1.retrieveCourseObjectByWaitList(tempWaitListID);\r\n\t\t\t\t\t\t\tg1 = g1.retrieveIndexGroupObjectByWaitList(tempWaitListID);\r\n\r\n\t\t\t\t\t\t\tSystem.out.println(\"Course: \" + c1.getCourseID());\r\n\t\t\t\t\t\t\tg1.printGroupDetailsConfirmation();\r\n\t\t\t\t\t\t\tSystem.out.print(\"Confirm to remove from the waitlist? 1 = Yes, Any other number = No: \");\r\n\t\t\t\t\t\t\tdo {\r\n\t\t\t\t\t\t\t\ttry {\r\n\t\t\t\t\t\t\t\t\tconfirmation = sc.nextInt();\r\n\t\t\t\t\t\t\t\t\tif (confirmation >= 0) {\r\n\t\t\t\t\t\t\t\t\t\tvalidInput = true;\r\n\t\t\t\t\t\t\t\t\t\tsc.nextLine();\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t} catch (InputMismatchException e) {\r\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"Enter a valid integer!\");\r\n\t\t\t\t\t\t\t\t\tsc.nextLine();\r\n\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t} while (!validInput);\r\n\t\t\t\t\t\t\tvalidInput = false;\r\n\r\n\t\t\t\t\t\t\tif (confirmation == 1) {\r\n\t\t\t\t\t\t\t\twl1 = wl1.retrieveWaitListObject(tempWaitListID);\r\n\t\t\t\t\t\t\t\twl1.dequeueFromWaitList(s1.getStudentID());\r\n\t\t\t\t\t\t\t\ts1.getWaitListIDList().remove(tempWaitListID);\r\n\t\t\t\t\t\t\t\tSystem.out.println(\"You have been removed from the waitlist.\");\r\n\t\t\t\t\t\t\t\twl1.updateWaitListObject(wl1);\r\n\t\t\t\t\t\t\t\ts1.updateStudentObject(s1);\r\n\t\t\t\t\t\t\t\tsuccess = true;\r\n\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\tSystem.out.println(\"Student was not removed from the waitlist.\");\r\n\t\t\t\t\t\t\t\tSystem.out.println(\"Returning to main menu...\");\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t} else if (choice > this.waitListIDList.size()\r\n\t\t\t\t\t\t\t\t&& choice <= (this.waitListIDList.size() + this.getIndexGroupList().size())) {\r\n\t\t\t\t\t\t\tInteger tempGroupID = this.getIndexGroupList().get(choice - this.waitListIDList.size() - 1);\r\n\t\t\t\t\t\t\tc1 = c1.retrieveCourseObjectByIndexGroup(tempGroupID);\r\n\t\t\t\t\t\t\tg1 = g1.retrieveIndexGroupObject(tempGroupID);\r\n\r\n\t\t\t\t\t\t\tSystem.out.println(\"Course: \" + c1.getCourseID());\r\n\t\t\t\t\t\t\tg1.printGroupDetailsConfirmation();\r\n\t\t\t\t\t\t\tSystem.out.print(\"Confirm to drop the course? 1 = Yes, Any other number = No: \");\r\n\t\t\t\t\t\t\tdo {\r\n\t\t\t\t\t\t\t\ttry {\r\n\t\t\t\t\t\t\t\t\tconfirmation = sc.nextInt();\r\n\t\t\t\t\t\t\t\t\tif (confirmation >= 0) {\r\n\t\t\t\t\t\t\t\t\t\tvalidInput = true;\r\n\t\t\t\t\t\t\t\t\t\tsc.nextLine();\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t} catch (InputMismatchException e) {\r\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"Enter a valid integer!\");\r\n\t\t\t\t\t\t\t\t\tsc.nextLine();\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t} while (!validInput);\r\n\t\t\t\t\t\t\tvalidInput = false;\r\n\r\n\t\t\t\t\t\t\tif (confirmation == 1) {\r\n\t\t\t\t\t\t\t\ts1.getCourseList().remove(c1.getCourseID());\r\n\t\t\t\t\t\t\t\ts1.getIndexGroupList().remove(tempGroupID);\r\n\t\t\t\t\t\t\t\tg1.updateVacancies('+');\r\n\t\t\t\t\t\t\t\twl1 = wl1.retrieveWaitListObjectByIndexGroup(tempGroupID);\r\n\t\t\t\t\t\t\t\tString tempStudentID = wl1.getStudentQueueList().peek();\r\n\t\t\t\t\t\t\t\tif (tempStudentID != null) {\r\n\t\t\t\t\t\t\t\t\ts2 = s2.retrieveStudentObject(tempStudentID);\r\n\t\t\t\t\t\t\t\t\twl1.dequeueFromWaitList(tempStudentID);\r\n\t\t\t\t\t\t\t\t\ts2.getCourseList().add(c1.getCourseID());\r\n\t\t\t\t\t\t\t\t\ts2.getIndexGroupList().add(tempGroupID);\r\n\t\t\t\t\t\t\t\t\ts2.getSchedule().AddSchedule(tempGroupID);\r\n\r\n\t\t\t\t\t\t\t\t\tfor (int i = 0; i < s2.getWaitListIDList().size(); i++) {\r\n\t\t\t\t\t\t\t\t\t\tif (s2.getWaitListIDList().get(i).equals(wl1.getWaitListID())) {\r\n\t\t\t\t\t\t\t\t\t\t\ts2.getWaitListIDList().remove(i);\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\tg1.updateVacancies('-');\r\n\r\n\t\t\t\t\t\t\t\t\twl1.updateWaitListObject(wl1);\r\n\t\t\t\t\t\t\t\t\ts2.updateStudentObject(s2);\r\n\r\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"System message:\");\r\n\t\t\t\t\t\t\t\t\tif (s2.getNotifMode().toLowerCase().equals(\"sms\")) {\r\n\t\t\t\t\t\t\t\t\t\tSystem.out.println(s2.getName()\r\n\t\t\t\t\t\t\t\t\t\t\t\t+ \" has been removed from waitlist and added to the index group \"\r\n\t\t\t\t\t\t\t\t\t\t\t\t+ tempGroupID);\r\n\t\t\t\t\t\t\t\t\t\tNotificationController.sendSMS(s2.getMobileNum());\r\n\t\t\t\t\t\t\t\t\t} else if (s2.getNotifMode().toLowerCase().equals(\"email\")) {\r\n\t\t\t\t\t\t\t\t\t\tSystem.out.println(s2.getName()\r\n\t\t\t\t\t\t\t\t\t\t\t\t+ \" has been removed from waitlist and added to the index group \"\r\n\t\t\t\t\t\t\t\t\t\t\t\t+ tempGroupID);\r\n\t\t\t\t\t\t\t\t\t\tNotificationController.sendEmail(s2.getEmail(), c1.getCourseID());\r\n\t\t\t\t\t\t\t\t\t} else if (s2.getNotifMode().toLowerCase().equals(\"both\")) {\r\n\t\t\t\t\t\t\t\t\t\tSystem.out.println(s2.getName()\r\n\t\t\t\t\t\t\t\t\t\t\t\t+ \" has been removed from waitlist and added to the index group \"\r\n\t\t\t\t\t\t\t\t\t\t\t\t+ tempGroupID);\r\n\t\t\t\t\t\t\t\t\t\tNotificationController.sendSMS(s2.getMobileNum());\r\n\t\t\t\t\t\t\t\t\t\tNotificationController.sendEmail(s2.getEmail(), c1.getCourseID());\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\ts1.getSchedule().RemoveSchedule(tempGroupID);\r\n\r\n\t\t\t\t\t\t\t\tg1.updateIndexGroupObject(g1);\r\n\t\t\t\t\t\t\t\ts1.updateStudentObject(s1);\r\n\t\t\t\t\t\t\t\tSystem.out.println(\"Course has been dropped successfully.\");\r\n\t\t\t\t\t\t\t\tsuccess = true;\r\n\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\tSystem.out.println(\"Course has not been dropped.\");\r\n\t\t\t\t\t\t\t\tSystem.out.println(\"Returning to main menu...\");\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\tSystem.out.print(\"Invalid choice.\\n\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t} while (choice < 0 || choice > (this.waitListIDList.size() + this.getIndexGroupList().size()));\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t} catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn success;\r\n\t}", "public void makeRemoveCourseSection(Container contentPane, SpringLayout layout) {\n JLabel removeCourseLabel = new JLabel(\"Remove a Course: \", JLabel.CENTER);\n removeCourseLabel.setFont(new Font(\"Proxima Nova\", Font.BOLD, 13));\n JTextField courseNameTxtField = addFocusLongCourseNameTxtField();\n JButton removeCourseBtn = addActionListenerRemoveCourseBtn(courseNameTxtField);\n\n contentPane.add(removeCourseLabel);\n contentPane.add(courseNameTxtField);\n contentPane.add(removeCourseBtn);\n\n layout.putConstraint(SpringLayout.WEST, removeCourseLabel, 100, SpringLayout.WEST, contentPane);\n layout.putConstraint(SpringLayout.NORTH, removeCourseLabel, 90, SpringLayout.NORTH, contentPane);\n\n layout.putConstraint(SpringLayout.WEST, courseNameTxtField, 15, SpringLayout.EAST, removeCourseLabel);\n layout.putConstraint(SpringLayout.NORTH, courseNameTxtField, 85, SpringLayout.NORTH, contentPane);\n\n layout.putConstraint(SpringLayout.WEST, removeCourseBtn, 15, SpringLayout.EAST, courseNameTxtField);\n layout.putConstraint(SpringLayout.NORTH, removeCourseBtn, 85, SpringLayout.NORTH, contentPane);\n }", "public JButton addActionListenerRemoveCourseBtn(JTextField courseNameTxtField) {\n JButton removeCourseBtn = new JButton(\"Remove Course\");\n removeCourseBtn.addActionListener(new ActionListener() {\n @Override\n public void actionPerformed(ActionEvent e) {\n HomeApp.playSound(\"src/main/ui/sounds/button-30.wav\");\n String courseName = courseNameTxtField.getText();\n if (findCourseByName(courseName) != null) {\n Course toRemove = findCourseByName(courseName);\n mySchool.removeCourse(toRemove);\n JOptionPane.showMessageDialog(frame, courseName + \" was succesfully removed.\");\n new CoursesApp(mySchool);\n frame.dispose();\n } else {\n JOptionPane.showMessageDialog(frame, \"Course not found. Try again.\");\n }\n }\n });\n return removeCourseBtn;\n }", "void removeHas_consequence(Consequence oldHas_consequence);", "public CourseReading remove(String key) {\n\t\tif (containsKey(key) == true) {\r\n\t\t\tint HashKey = key.hashCode() % 31;\r\n\t\t\tif (HashKey > K.length - 1) {\r\n\t\t\t\twhile (HashKey > K.length - 1) {\r\n\t\t\t\t\tHashKey %= K.length;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tfor (String c : K[HashKey]) {\r\n\t\t\t\tif (c.equals(key)) {\r\n\t\t\t\t\t// get location of key to delete it\r\n\t\t\t\t\tint KeyLocation = K[HashKey].indexOf(key);\r\n\t\t\t\t\tK[HashKey].remove(KeyLocation);\r\n\t\t\t\t\tV[HashKey].remove(KeyLocation);\r\n\t\t\t\t\tsize--;\r\n\t\t\t\t\treturn null;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "public boolean removeCourse(int crn)\n\t{\n\t\tboolean rVal = false;\n\n\t\tCourse dummy = dummyCourse(crn);\n\n\t\tif (courseOfferings.contains(dummy))\n\t\t{\n\t\t\trVal = true;\n\n\t\t\tcourseOfferings.remove(dummy);\n\n\t\t\tnetwork.removeIf(new Predicate<Connector>()\n\t\t\t{\n\t\t\t\tpublic boolean test(Connector connector)\n\t\t\t\t{\n\t\t\t\t\treturn (connector.courseCRN == crn);\n\t\t\t\t}\n\t\t\t});\n\n\t\t\tDatabaseIO.serializeEverything();\n\t\t}\n\n\t\treturn rVal;\n\t}", "int deleteByExample(CourseExample example);", "@DELETE\r\n\t@Path(\"/{courseID}/student/{studentID}\")\r\n\tpublic void deleteTAtoCourse(@PathParam(\"studentID\") String studentID, @PathParam(\"courseID\") String courseID) {\r\n\r\n\t\tStudent student = InMemoryDataStore.getStudent(studentID);\r\n\t\tCourse course = InMemoryDataStore.getCourse(courseID);\r\n\r\n\t\tif (student == null || course == null) {\r\n\t\t\tthrow new WebApplicationException(Response.Status.BAD_REQUEST);\r\n\t\t}\r\n\r\n\t\tString currentTA = course.getTaStudentID();\r\n\t\tif (studentID.equals(currentTA)) {\r\n\t\t\tcourse.setTaStudentID(null);\r\n\t\t} else {\r\n\t\t\tthrow new WebApplicationException(Response.Status.BAD_REQUEST);\r\n\t\t}\r\n\t}", "public boolean deleteCourse(int id) {\n\t\treturn false;\n\t}", "public void removeByschoolId(long schoolId);", "void addCourse(Course course);", "public void eliminarCurs(int codiCurs) {\r\n// int codiCurs = llegirNum(\"Codi del curs a eliminar: \");\r\n Curs curs = (Curs) this.llistCurs.cercar(codiCurs);\r\n if (curs != null) {\r\n Assignatura assAux = curs.getList().getCap();\r\n while (assAux != null) {\r\n curs.eliminarAssignautra(assAux.getCodi());\r\n assAux = curs.getList().getCap();\r\n }\r\n this.llistCurs.eliminar(codiCurs);\r\n JOptionPane.showMessageDialog(new JFrame(),\r\n \"Curs eliminat correctament\");\r\n\r\n } else {\r\n// System.out.println(\"Curs no existent.\");\r\n JOptionPane.showMessageDialog(new JFrame(),\r\n \"Curs no exsistent\",\r\n \"ERROR\",\r\n JOptionPane.ERROR_MESSAGE);\r\n }\r\n }", "public abstract boolean delete(IntfCourse course);", "private void removeFromSavedScheduleList() {\n if (!yesNoQuestion(\"This will print every schedule, are you sure? \")) {\n return;\n }\n\n showAllSchedules(scheduleList.getScheduleList());\n\n System.out.println(\"What is the number of the one you want to remove?\");\n int removeIndex = obtainIntSafely(1, scheduleList.getScheduleList().size(), \"Number out of bounds\");\n scheduleList.getScheduleList().remove(removeIndex - 1);\n System.out.println(\"Removed!\");\n }", "public void remove(Component c){}", "public Student removeStudent(int index) {\n if(index >= numOfStudents) {\n return null;\n }\n Student temp = this.board[index];\n int position = index + 1;\n while(position < numOfStudents) {\n this.board[position - 1] = this.board[position];\n position++;\n }\n numOfStudents--;\n return temp;\n }", "void removeInBookNo(Object oldInBookNo);", "@Override\n\tpublic void deleteCourse(Course c) {\n\t\tsessionFactory.getCurrentSession().delete(c);\n\t\t\n\t}", "public com.ms3.training.services.model.Course removeByTitle(\n\t\tjava.lang.String title)\n\t\tthrows com.liferay.portal.kernel.exception.SystemException,\n\t\t\tcom.ms3.training.services.NoSuchCourseException;", "public void remove() {\n\tString fname = stdin.next();\n\tString lname = stdin.next();\n\tStudent s = new Instate(fname,lname,1,1); //temporary Instate object to allow us to remove\n\n\tboolean successfullyRemoved = cs213.remove(s);\n\tif (!successfullyRemoved) {\n\t\tSystem.out.println(fname + \" \" + lname + \" is not a student!\");\n\t\t}\n\t\telse {\n\t\tSystem.out.println(fname + \" \" + lname + \" has been removed!\");\n\t\t}\n\t\treturn;\n\t}", "public void removeClockFromStock(Clock removedClock);", "public void remove();", "public void remove();", "public void remove();", "public void remove();", "public void remove();", "public static void deletecou(String cno2) {\n\t\ttry {\n\t\t\tps = conn.prepareStatement(\"delete from course where Cno = ?\");\n\t\t\tps.setString(1, cno2);\n\t\t\tps.execute();\n\t\t\t\n\t\t\tJOptionPane.showMessageDialog(null, \"课程删除成功!\", \"提示消息\", JOptionPane.INFORMATION_MESSAGE);\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\tJOptionPane.showMessageDialog(null, \"课程删除失败!\", \"提示消息\", JOptionPane.INFORMATION_MESSAGE);\n\t\t}\n\t}", "CatalogListener remove(CatalogListener oldl) {\r\n\r\n if(oldl == a)\r\n return b;\r\n\r\n if(oldl == b)\r\n return a;\r\n\r\n CatalogListener a2 = removeInternal(a, oldl);\r\n CatalogListener b2 = removeInternal(b, oldl);\r\n\r\n if (a2 == a && b2 == b) {\r\n return this; // it's not here\r\n }\r\n\r\n return addInternal(a2, b2);\r\n }", "private void addActiveCourseListToCourseList() {\n courseList.addCoursesToList(activeCourseList);\n activeCourseList = new ArrayList<>();\n System.out.println(\"Added and Cleared!\");\n }", "void removeHadithBookNo(Object oldHadithBookNo);", "@RequestMapping(value = \"/staff/removecompulsorycourses/{id}\", method = RequestMethod.POST)\n\tpublic ModelAndView removeCompulsoryCourses(@PathVariable(\"id\") Long majorID, Long[] courseIDs) {\n\t\tModelAndView modelAndView = new ModelAndView(\"staff/majoredit\");\n\t\ttry {\n\t\t\tmajorService.removeCompulsoryCourses(majorID, courseIDs);\n\t\t\tString infoMessage = \"Compulsory courses updated successfully.\";\n\t\t\tmodelAndView.addObject(\"infoMessage\", infoMessage);\n\t\t} catch (CustomServiceException ex) {\n\t\t\tmodelAndView.addObject(\"errorMessage\", ex.getErrorMsg());\n\t\t}\n\t\tMajor major = majorService.getMajorById(majorID);\n\t\tmodelAndView.addObject(\"major\", major);\n\t\tList<Program> programList = programService.getProgramsByStatus(true);\n\t\tmodelAndView.addObject(\"programList\", programList);\n\t\t\n\t\treturn modelAndView;\n\t}", "public void removeCurrent( )\n {\n // Implemented by student.\n }", "void remover(String cpf)throws ProfessorCpfNExisteException;", "private void removeStudy(int studyID) {\n\t}", "public void addCourse(Course c) {\n if (this.contains(c) != true) { // checking if the course is in the courseList or not\n courseList.add(c);\n numOfCourses++;\n } else {\n // message if the course is already in the courseList\n System.out.println(\"The course is already in the list of courses.\");\n }\n }", "public void removeStudents(ArrayList<String> toRemove) {\n\t\tfor (int i=0; i<toRemove.size(); i++) {\r\n\t\t\tif (students.indexOf(toRemove.get(i)) != -1) {\r\n\t\t\t\tSystem.out.println(\"Removing \" + toRemove.get(i) + \" from \" + day + \" \" + time);\r\n\t\t\t\tstudents.remove(toRemove.get(i));\r\n\t\t\t}\r\n\t\t}\r\n\t\t//System.out.println(\"students left: \" + students + \"\\n\");\r\n\t}", "public boolean eliminarCursoPorId(CatCurso catCurso) throws NSJPNegocioException;", "public void remove()\r\n {\r\n if(bookCount>0)\r\n {\r\n bookCount-=1;\r\n }\r\n }", "@Override\r\n\tpublic int delCourseById(String ids) {\n\t\treturn courselistDao.delCourseById(ids);\r\n\t}", "private void deleteCourse() throws FileNotFoundException, ValidatorException {\n //Lesen wir die Name\n Scanner sc = new Scanner(System.in);\n System.out.print(\"Course id: \");\n Long id = Long.parseLong(sc.next());\n\n //Wir rufen die deleteCourse Funktion vom dem Controller mit den gelesenen Daten auf\n if(ctrl.deleteCourse(id))\n System.out.println(\"Course deleted with success!\");\n else\n System.out.println(\"Course with this id doesn't exist!\");\n }", "public void deleteCourse(Course course) {\n\t\tthis.getHibernateTemplate().delete(course);\n\t\t\n\t}", "int deleteByPrimaryKey(String courseId);", "public void unEnroll(String studentId, String courseId)\r\n throws RemoteException;", "public ArrayList<Student> getStudentsNotInCourse(Course course){\n ArrayList<Student> result = new ArrayList();\n \n \n String statement = GET_SUDENTS_NOT_IN_COURSE;\n\n ResultSet rs = data.makePreparedStatement(statement,new Object[]{(Object)course.getId()});\n try {\n while(rs.next()){\n Student student = new Student(rs.getInt(\"id\"),rs.getString(\"first_name\"),rs.getString(\"last_name\"),\n rs.getDate(\"birthday\").toLocalDate(),rs.getDouble(\"tuition_fees\"));\n result.add(student);\n }\n } catch (SQLException ex) {\n System.out.println(\"Problem with CourseDao.getStudentsNotInCourse()\");\n }finally{\n data.closeConnections(rs,data.ps, data.conn);\n }\n return result;\n }", "public void addCourseName(String courseName) {\r\n\tCoursesList = new ArrayList<String>();\r\n\tCoursesList.add(courseName);\r\n}", "void remove();", "void remove();", "void remove();", "void remove();", "void remove();", "@Override\n public void delete(Course t) {\n String statement = DELETE_STUDENTGRADES_FROM_COURSE;\n data.makeUpdateStatement(statement,new Object[]{(Object)t.getId()});\n data.closeConnections(data.ps, data.conn);\n \n statement = DELETE_STUDENTS_FROM_COURSE;\n data.makeUpdateStatement(statement,new Object[]{(Object)t.getId()});\n data.closeConnections(data.ps, data.conn);\n \n statement = DELETE_TRAINERS_FROM_COURSE;\n data.makeUpdateStatement(statement,new Object[]{(Object)t.getId()});\n data.closeConnections(data.ps, data.conn);\n \n statement = DELETE_ASSIGNMENTS_FROM_COURSE;\n data.makeUpdateStatement(statement,new Object[]{(Object)t.getId()});\n data.closeConnections(data.ps, data.conn);\n \n statement = DELETE;\n data.makeUpdateStatement(statement,new Object[]{(Object)t.getId()});\n data.closeConnections(data.ps, data.conn);\n }", "@RequestMapping(value = \"/staff/removecorecourses/{id}\", method = RequestMethod.POST)\n\tpublic ModelAndView removeCoreCourses(@PathVariable(\"id\") Long programID, Long[] courseIDs) {\n\t\tModelAndView modelAndView = new ModelAndView(\"staff/programedit\");\n\t\ttry {\n\t\t\tprogramService.removeCoreCourses(programID, courseIDs);\n\t\t\tString infoMessage = \"Core courses updated successfully.\";\n\t\t\tmodelAndView.addObject(\"infoMessage\", infoMessage);\n\t\t} catch (CustomServiceException ex) {\n\t\t\tmodelAndView.addObject(\"errorMessage\", ex.getErrorMsg());\n\t\t}\n\t\tProgram program = programService.getProgramById(programID);\n\t\tmodelAndView.addObject(\"program\", program);\n\t\t\n\t\treturn modelAndView;\n\t}", "void remover(Professor p)throws ProfessorNExisteException;", "@Override\n\tpublic void removeCampus(Campus campus) {\n\t\tEntityManager em=emf.createEntityManager();\n\t\tem.getTransaction().begin();\n\t\ttry {\n\t\t\tem.remove(em.merge(campus));\n\t\t\tem.getTransaction().commit();\n\t\t} finally {\n\t\t\t// TODO: handle finally clause\n\t\t\tif (em.getTransaction().isActive()) {\n\t\t\t\tem.getTransaction().rollback();\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\t\n\t}", "public Student removeStudent()\r\n {\r\n Student student = null;\r\n\r\n if(first_node != null)\r\n {\r\n student = first_node.getData();\r\n first_node = first_node.getNextNode();\r\n\r\n number_of_entries--;\r\n removeID(student.getStudent_ID());\r\n updateAcademicLevels(\"remove\", student.getAcademic_year());\r\n }\r\n return student;\r\n }", "void removeGuide(int i);", "public void removeTrainerFromCourse(Course course, Trainer trainer){\n \n String statement = REMOVE_TRAINER_FROM_COURSE;\n data.makeUpdateStatement(statement,new Object[]{(Object)course.getId(),(Object)trainer.getId()});\n data.closeConnections(data.ps, data.conn);\n }", "@Override\n\tpublic Collect removeCollect(String loginname,Integer book_id) {\n\t\tcollectMapper.removeCollect(loginname,book_id);\n\t\treturn collectMapper.findCollect(loginname,book_id);\n\t}", "public static ArrayList<Course> addCourses() {\n System.out.println(\"\\nAdd a course!\");\n do {\n listOfCourses.add(createCourse());\n System.out.print(\"\\n Would you like to add a new course?(yes or no): \");\n boolean yesOrNo = yesOrNoValidation();\n if (yesOrNo) {\n } else if (!yesOrNo) {\n break;\n }\n } while (true);\n return listOfCourses;\n }", "int deleteByExample(TrainingCourseExample example);", "public void removeConcert(long concertId){\n ArrayList<Concert> tempConcertList = cloneConcertList();\n for(Concert concert: tempConcertList){\n if(concert.getId() == concertId){\n concertList.remove(concert);\n }\n }\n }", "void removeStartingHadithNo(Object oldStartingHadithNo);", "public void delete() throws SQLException {\n DatabaseConnector.updateQuery(\"DELETE FROM course \"\n + \"WHERE courseDept='\" + this.courseDept \n + \"' AND courseNum = '\" + this.courseNum + \"'\");\n }", "@Override\n\tpublic int delete(Course course) {\n\t\treturn dao.delete(Course.class, course.getCourseID());\n\t}", "void removeProduces(Computer oldProduces);", "public void removeComponent(Component c);" ]
[ "0.7955122", "0.7907227", "0.74328375", "0.7386941", "0.72989565", "0.7118554", "0.69480395", "0.6879986", "0.67592275", "0.6719383", "0.6608838", "0.65641135", "0.64818585", "0.64525956", "0.6315792", "0.62897444", "0.6201109", "0.61977726", "0.6167668", "0.6085495", "0.6080614", "0.6022156", "0.6021801", "0.6001777", "0.5995508", "0.5976837", "0.59391344", "0.59278107", "0.59066254", "0.5863982", "0.58608556", "0.58456874", "0.5819614", "0.5792511", "0.57845205", "0.57562226", "0.572964", "0.571939", "0.5718165", "0.5694641", "0.56849277", "0.56180334", "0.56114644", "0.5578711", "0.5564226", "0.55600715", "0.555621", "0.5553968", "0.55413496", "0.553792", "0.55359036", "0.5534123", "0.55316925", "0.55117446", "0.5508692", "0.54815507", "0.54815507", "0.54815507", "0.54815507", "0.54815507", "0.5471926", "0.54586554", "0.5452378", "0.54448205", "0.54445267", "0.54426146", "0.54215056", "0.542086", "0.5407132", "0.54066277", "0.53997165", "0.53930503", "0.5392", "0.5389642", "0.5389185", "0.5381472", "0.53788453", "0.5370816", "0.5366625", "0.53563464", "0.53563464", "0.53563464", "0.53563464", "0.53563464", "0.5353575", "0.53517544", "0.5346224", "0.5343005", "0.53383815", "0.5333301", "0.53299797", "0.53231686", "0.53198224", "0.5318468", "0.5314535", "0.53118193", "0.5310715", "0.53092015", "0.5307961", "0.5302954" ]
0.646233
13
Initializes the page which enables the student to add or remove courses
@FXML private void initialize() { for(int i=0;i<Main.IIITD.getCourses().size();i++) { if(!hascourse(Main.IIITD.getCourses().get(i).getCoursename()) && !check_clash(Main.IIITD.getCourses().get(i).getCoursename())) { allcourselist.add(Main.IIITD.getCourses().get(i).getCoursename()); } } allcourses.setItems(allcourselist); String name=login_controller.namee; Student temp=null; for(int i=0;i<Main.IIITD.getUsers().size();++i) { if(Main.IIITD.getUsers().get(i).getCredentials().getName().equals(name)) { if(Main.IIITD.getUsers().get(i).getCredentials().getUserType().equals("Student")) { temp=(Student) Main.IIITD.getUsers().get(i); } } } for(int j=0;j<temp.getPersonalizedTimetable().getCourses().size();j++) { mycourselist.add(temp.getPersonalizedTimetable().getCourses().get(j).getCoursename()); } mycourses.setItems(mycourselist); if(mycourselist.size()>5) { add_course.setDisable(true); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public CoursesManagement() {\n initComponents();\n }", "public void init(){\n this.controller = new StudentController();\n SetSection.displayLevelList(grade_comp);\n new DesignSection().designForm(this, editStudentMainPanel, \"mini\");\n }", "public student_homepage() {\n initComponents();\n \n }", "public Create_Course() {\n initComponents();\n comboBoxLec();\n comboBoxDep();\n }", "static void initializeStudentSystem() {\r\n\r\n Course math = new Course(\"1000\", \"Mathematics\", \"College of Science\");\r\n Course computing = new Course(\"1001\", \"Computing\", \"College of Engineering\");\r\n Course english = new Course(\"1002\", \"English\", \"College of Liberal Arts\");\r\n Course history = new Course(\"1003\", \"History\", \"College of Liberal Arts\");\r\n Course biology = new Course(\"1004\", \"Biology\", \"College of Science\");\r\n courses.put(math.getCRN(), math);\r\n courses.put(computing.getCRN(), computing);\r\n courses.put(english.getCRN(), english);\r\n courses.put(history.getCRN(), history);\r\n courses.put(biology.getCRN(), biology);\r\n //\r\n User admin = new User();\r\n admin.setUsername(\"admin\");\r\n admin.setPassword(\"admin\");\r\n admin.setAccountType(4);\r\n accounts.put(admin.getUsername(), admin);\r\n //\r\n Student defaultStudent = new Student();\r\n defaultStudent.setName(\"Jose Cabrera\");\r\n defaultStudent.setUsername(\"John1\");\r\n defaultStudent.setPassword(\"123\");\r\n defaultStudent.setId(\"80539934\");\r\n defaultStudent.setMajor(\"CS\");\r\n defaultStudent.setAccountType(1);\r\n defaultStudent.setGraduationStatus(21);\r\n accounts.put(\"John1\", defaultStudent);\r\n //\r\n Student defaultStudent2 = new Student();\r\n defaultStudent2.setName(\"Raul Hinostroza\");\r\n defaultStudent2.setUsername(\"John2\");\r\n defaultStudent2.setPassword(\"123\");\r\n defaultStudent2.setId(\"805393\");\r\n defaultStudent2.setMajor(\"CS\");\r\n defaultStudent2.setAccountType(1);\r\n accounts.put(\"John2\", defaultStudent2);\r\n //\r\n Student defaultStudent3 = new Student();\r\n defaultStudent3.setName(\"Max Morales\");\r\n defaultStudent3.setUsername(\"John3\");\r\n defaultStudent3.setPassword(\"123\");\r\n defaultStudent3.setId(\"8053923\");\r\n defaultStudent3.setMajor(\"CS\");\r\n defaultStudent3.setAccountType(1);\r\n accounts.put(\"John3\", defaultStudent3);\r\n defaultStudent.addCourses(\"1000\");\r\n defaultStudent2.addCourses(\"1000\");\r\n defaultStudent3.addCourses(\"1000\");\r\n //\r\n Faculty defaultFaculty = new Faculty();\r\n defaultFaculty.setAccountType(2);\r\n defaultFaculty.setName(\"Smith\");\r\n defaultFaculty.setUsername(\"Smith1\");\r\n defaultFaculty.setPassword(\"123\");\r\n accounts.put(defaultFaculty.getUsername(), defaultFaculty);\r\n //\r\n Staff defaultStaff = new Staff();\r\n defaultStaff.setAccountType(3);\r\n defaultStaff.setName(\"Smith\");\r\n defaultStaff.setUsername(\"Smith2\");\r\n defaultStaff.setPassword(\"123\");\r\n accounts.put(defaultStaff.getUsername(), defaultStaff);\r\n }", "public CSCourses() {\n courseList = new LinkedList<Course>(); \n numOfCourses = 0;\n }", "public ViewStudent() {\n initComponents();\n DB_Connection();\n DisplayInitialValues();\n }", "private void courseGUIsetup() {\n\t\t\t\tif(list.getSelectedValue()!= null)\n\t\t\t\t{\n\t\t\t\t\tCourse c = (Course)list.getSelectedValue();\n\t\t\t\t\tcourseGUI = new CourseGUI(c);\n\t\t\t\t\tcourseGUI.setListeners(new profCourseListener());\n\n\t\t\t\t\tframeHolder.setVisible(false);\n\t\t\t\t\tframeHolder = courseGUI.returnFrame();\n\t\t\t\t\tframeHolder.setVisible(true);\n\n\t\t\t\t\t//Initializing Scroll List with Students\n\t\t\t\t\tsetStudentScroll();\n\t\t\t\t\t//courseGUI.list.setModel(courseGUI.model);\n\t\t\t\t}\n\t\t\t}", "public StudentHome() {\n initComponents();\n }", "private void setupCreateCourse() {\n\t\tmakeButton(\"Create Course\", (ActionEvent e) -> {\n\t\t\ttry {\n\t\t\t\tString[] inputs = getInputs(new String[] { \"Name:\", \"Number:\" });\n\t\t\t\tif (inputs == null)\n\t\t\t\t\treturn;\n\n\t\t\t\tint num = Integer.parseInt(inputs[1]);\n\t\t\t\tadCon.createCourse(inputs[0], num);\n\t\t\t\tupdateCourses();\n\t\t\t} catch (NumberFormatException ex) {\n\t\t\t\tJOptionPane.showMessageDialog(getRootPane(), \"Course number must be a number\", \"Error\",\n\t\t\t\t\t\tJOptionPane.OK_OPTION);\n\t\t\t}\n\t\t});\n\t}", "@Override\n public void initialize(URL location, ResourceBundle resources) {\n instance = this;\n if (editMode) {\n getStudent();\n populateRecords();\n btnGenerate.setVisible(false);\n btnAddRecord.setVisible(true);\n } else {\n btnEditInfo.setVisible(false);\n enableFields(new ActionEvent());\n btnAddRecord.setVisible(false);\n btnRefreshrecord.setVisible(false);\n btnDeleteRecord.setVisible(false);\n txfID.setText(nextStudentID);\n }\n\n btnDelete.setVisible(false);\n\n if(deleteMode){\n getStudent();\n populateRecords();\n btnDelete.setVisible(true);\n enableFields(new ActionEvent());\n btnGenerate.setVisible(false);\n btnEditInfo.setVisible(false);\n btnSave.setVisible(false);\n btnAddRecord.setVisible(false);\n btnRefreshrecord.setVisible(false);\n }\n }", "public studentPortal2() {\n initComponents();\n }", "public Course()\n\t{\n\t\tstudents = new Student[30];\n\t\tnumStudents = 0;\n\t}", "public Student_ADD() {\n initComponents();\n }", "public StudentGUI(Student s) {\n\t\tstudent=s;\n\t\tsetTitle(\"B&B Learning\");\n\t\tsetDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\tcards = new JPanel(new CardLayout());\n\n\t\tstudentHomePagePanel = new StudentHomepage(); \n\t\tstudentHomePagePanel.setStudent(student);\n\t\tcards.add(studentHomePagePanel, \"STUDHOMEPAGE\"); //the cardName of the homePagePanel is STUDHOMEPAGE\n\n\t\tstudentCoursePagePanel = new StudentCoursePage();// TODO set the CoursePage's course every time you go to it \n\t\tcards.add(studentCoursePagePanel, \"STUDCOURSEPAGE\"); //the cardName of the homePagePanel is STUDCOURSEPAGE\n\n\t\tstudentAssignmentPanel = new StudentAssignmentPage();// TODO set the assignment page's file every time you go to it \n\t\tcards.add(studentAssignmentPanel, \"STUDASSIGNMENTPAGE\"); //the cardName is STUDASSIGNMENTPAGE\n\n\t\temailPage = new EmailPage();\n\t\tcards.add(emailPage, \"EMAILPAGE\"); //the cardName is EMAILPAGE\n\t\t\n\t\tgradePage = new GradePage();\n\t\tcards.add(gradePage, \"GRADEPAGE\"); //the cardName is GRADEPAGE\n\t\t\n\t\t\n\t\tadd(cards);\n\t\tpack();\n\t\tsetResizable(false);\n\t\tsetLocationRelativeTo(null); // center the JFram\n\t\tsetVisible(true);\n\t}", "public void courseOperation() {\n\t\tthePerson.createCourseMenu();\n\t}", "public AddCourseJPanel() { \n initComponents(); \n }", "public ManageStudentForm() {\n initComponents();\n \n initTable();\n \n fillTable();\n \n initMajor();\n setLocationRelativeTo(null);\n \n \n }", "public PostgraduateCourseRegister() {\n dtm=new DefaultTableModel();\n initComponents();\n this.loadCourse();\n }", "public academic() {\n initComponents();\n }", "public StudentInfo() {\n initComponents();\n\n loadData();\n loadComboBox();\n }", "public studentsPanel() {\n initComponents();\n String no = String.valueOf(sNum.studentID);\n String name = String.valueOf(sNum.studentName);\n lblStudentID.setText(name);\n delivery();\n lblTakeBookLimit.setText(new texts().bookLimit() + takeBookLimit + \" )\");\n List();\n }", "public SelectCourse() {\n super();\n }", "public StudentRegistration() {\n initComponents();\n }", "@Override\r\n public void initialize(URL url, ResourceBundle rb) {\r\n // TODO\r\n //connect to the database\r\n con = DatabaseConnection.connectDb();\r\n \r\n //populate combobox\r\n updateBookSubjects();\r\n teacher_departmentCombo.setItems(departmentList);\r\n \r\n //populate table\r\n update_teacherIssuedDetailTable();\r\n updateTeacherCopySubject();\r\n \r\n //populate listview\r\n refreshTeacherCopies();\r\n \r\n //get school info\r\n loadSchoolInfo();\r\n }", "@Override\n public void initialize(URL url, ResourceBundle rb) {\n try {\n // TODO\n \n Connection con = createCon();\n Statement s = con.createStatement();\n ResultSet rs = s.executeQuery(\"select * from student where currsemester < 8\");\n while(rs.next()){\n student_list.setText(\"\" + rs.getRow());\n \n }\n ResultSet r = con.createStatement().executeQuery(\"select * from student where currsemester > 8\");\n while(r.next()){\n student_list1.setText(\"\" + rs.getRow());\n \n }\n \n } catch (SQLException ex) {\n Logger.getLogger(HomeController.class.getName()).log(Level.SEVERE, null, ex);\n }\n }", "public AdminPage() {\n initComponents();\n }", "public lectManage() {\n initComponents();\n tableComponents();\n viewSchedule();\n }", "private void initData() {\n getCourse();\n// getMessage();\n\n }", "public EditCourseForm() {\n initComponents();\n }", "private void initialize() {\n\n\t\tnew ClientCourseList();\n\n\t\tif (LoggedUser.userType == UserType.TEACHER) {\n\t\t\tcourseList = ClientCourseList.LcorsiregisteredDocente;\n\t\t} else {\n\t\t\tcourseList = ClientCourseList.LcorsiregisteredStudent; \n\t\t\t\n\t\t}\n\n\t\tString title = ClientCourseList.titolodainviare;\n\t\tindicecorso = ClientCourseList.idsend;\n\t\tfrmAsd = new JFrame();\n\t\tfrmAsd.setIconImage(Toolkit.getDefaultToolkit().getImage(\"media/f.png\"));\n\t\tfrmAsd.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);\n\t\tif (LoggedUser.userType == UserType.TEACHER) {\n\t\t\tfrmAsd.setTitle(\"Docente - \" + title);\n\t\t} else {\n\t\t\tfrmAsd.setTitle(\"Studente - \" + title);\n\t\t}\n\t\tfrmAsd.getContentPane().setBackground(SystemColor.inactiveCaption);\n\t\tfrmAsd.addWindowListener(new WindowAdapter() {\n\t\t\t@Override\n\t\t\tpublic void windowClosing(WindowEvent arg0) {\n\t\t\t\tif (LoggedUser.userType.toString().equals(\"STUDENT\"))\n\t\t\t\t\tClientConnection.updateLoc(LoggedUser.anagrafica.userID, -1);\n\t\t\t\tfrmAsd.dispose();\n\t\t\t\tClientCourseList.main();\n\t\t\t}\n\t\t});\n\t\tfrmAsd.setBounds(100, 100, 494, 451);\n\t\tfrmAsd.getContentPane().setLayout(null);\n\n\t\tNameCourseField = new JTextField(title);\n\t\tNameCourseField.setEditable(false);\n\t\tNameCourseField.setBounds(27, 13, 384, 25);\n\t\tfrmAsd.getContentPane().add(NameCourseField);\n\t\tNameCourseField.setColumns(10);\n\t\t\n\t\t\n\t\tnomeCorso = ClientCourseList.descrizionedasend;\n\t\t\n\t\tJTextArea textArea = new JTextArea(\"\");\n\t\ttextArea.append(nomeCorso);\n\t\ttextArea.setEditable(false);\n\t\ttextArea.setBounds(27, 83, 197, 256);\n\t\ttextArea.setLineWrap(true);\n\t\ttextArea.setWrapStyleWord(true);\n\t\tfrmAsd.getContentPane().add(textArea);\n\t\tnew ImageIcon(\"media/chiave.png\");\n\n\t\tJScrollPane scrollPane = new JScrollPane();\n\t\tscrollPane.setBounds(248, 86, 214, 219);\n\t\tfrmAsd.getContentPane().add(scrollPane);\n\n\t\tCustomJTreeNode radice = new CustomJTreeNode(title, -1, true);\n\t\tJTree tree = new JTree(radice);\n\t\ttree.setRootVisible(true);\n\t\tindicecorso = ClientCourseList.idsend;\n\t\tCourseFileSystem fs = ClientConnection.getFileSystem(indicecorso);\n\t\tfileSystem = fs;\n\t\tcreaNodiFileSystem(fs, tree, radice);\n\t\ttree.setForeground(SystemColor.inactiveCaption);\n\t\ttree.setBackground(SystemColor.inactiveCaption);\n\t\ttree.setVisible(true);\n\t\tscrollPane.setViewportView(tree);\n\n\t\tJProgressBar progressBar = new JProgressBar();\n\t\tprogressBar.setForeground(Color.RED);\n\t\tprogressBar.setVisible(false);\n\t\tprogressBar.setBounds(13, 387, 449, 14);\n\t\tfrmAsd.getContentPane().add(progressBar);\n\n\t\tJButton btnDownload_file = new JButton(\"Download\");\n\t\tbtnDownload_file.setVisible(false);\n\t\tbtnDownload_file.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\n\n\t\t\t\tprogressBar.setIndeterminate(true);\n\t\t\t\tprogressBar.setVisible(true);\n\t\t\t\tnew File(\"nameDoc\");\n\t\t\t\t\n\t\t\t\tJFileChooser jf = new JFileChooser();\n\t\t\t\tjf.setSelectedFile(new File(fileName + \".\" + estensione));// devo prendere il name del file dal filesistem\n\t\t\t\tint n = jf.showSaveDialog(null);\n\t\t\t\tif (n == 0) {\n\t\t\t\t\troad = jf.getSelectedFile();\n\t\t\t\t\troad.getPath();\n\t\t\t\t\tpath = road.toString();\n\t\t\t\t\tnameNode.toString();\n\t\t\t\t\tUserdatas id = LoggedUser.anagrafica;\n\t\t\t\t\tprogressBar.setVisible(false);\n\t\t\t\t\tClientConnection.documentDownload(idDoc, id.userID, path, \"\");\n\t\t\t\t\tClientConnection.updateDownloadCont(id.userID, idDoc);\n\t\t\t\t}\t\t\t\t\n\t\t\t}\n\t\t});\n\t\tbtnDownload_file.setBounds(357, 316, 105, 23);\n\t\tfrmAsd.getContentPane().add(btnDownload_file);\n\n\t\tJButton BTN_addfile = new JButton(\"Aggiungi\");\n\t\tBTN_addfile.setVisible(false);\n\t\tBTN_addfile.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\n\n\t\t\t\tJFileChooser jf = new JFileChooser();\n\t\t\t\tint n = jf.showOpenDialog(null);\n\t\t\t\tif (n == 0) {\n\t\t\t\t\tFile f = jf.getSelectedFile();\n\t\t\t\t\tString str = f.getPath();\n\n\t\t\t\t\tClientConnection.documentUpload(str, rif_Sezione);\n\n\t\t\t\t\tJOptionPane.showMessageDialog(null, \"File aggiunto con successo\");\n\t\t\t\t}\n\n\t\t\t\tfrmAsd.dispose();\n\t\t\t\tCourseFile.Main();\n\t\t\t}\n\t\t});\n\t\tBTN_addfile.setBounds(248, 316, 105, 23);\n\t\tfrmAsd.getContentPane().add(BTN_addfile);\n\n\t\t\n\t\tJButton buttonSave = new JButton(\"Salva\");\n\t\tJButton btnaddcart = new JButton(\"Aggiungi cartella\");\n\t\tif (LoggedUser.userType.toString().equals(\"STUDENT\")) {\n\t\t\tbtnaddcart.setVisible(false);\n\t\t\tbuttonSave.setVisible(false);\n\t\t}\n\t\tbtnaddcart.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\t\tFolder NF = new Folder();\n\t\t\t\tNF.name = JOptionPane.showInputDialog(null, \"inserisci il name della cartella\");\n\t\t\t\tNF.description = JOptionPane.showInputDialog(null, \"inserisci una description della cartella\");\n\t\t\t\tVector<FolderVisibility> v = new Vector<FolderVisibility>();\n\t\t\t\tv.addElement(FolderVisibility.PRIVATE);\n\t\t\t\tv.addElement(FolderVisibility.PUBLIC);\n\t\t\t\tJComboBox<FolderVisibility> jcd = new JComboBox<FolderVisibility>(v);\n\n\t\t\t\tObject[] options = new Object[] {};\n\n\t\t\t\tJOptionPane jop = new JOptionPane(\"Please Select\", JOptionPane.QUESTION_MESSAGE,\n\t\t\t\t\t\tJOptionPane.DEFAULT_OPTION, null, options, null);\n\n\t\t\t\tJButton btn_visibilitÓ = new JButton(\"conferma\");\n\t\t\t\tbtn_visibilitÓ.addActionListener(new ActionListener() {\n\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\tNF.visibility = (FolderVisibility) jcd.getSelectedItem();\n\t\t\t\t\t\tNF.parent = rif_Sezione;\n\t\t\t\t\t\tNF.sonFolders = null;\n\t\t\t\t\t\tNF.document = null;\n\t\t\t\t\t\tdiag.dispose();\n\t\t\t\t\t\tfrmAsd.dispose();\n\t\t\t\t\t\tClientConnection.creaSezione(NF, indicecorso);\n\t\t\t\t\t\tCourseFile.Main();\n\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\tjop.add(jcd);\n\t\t\t\tjop.add(btn_visibilitÓ);\n\n\t\t\t\tdiag.getContentPane().add(jop);\n\t\t\t\tdiag.pack();\n\t\t\t\tdiag.setVisible(true);\n\n\t\t\t}\n\t\t});\n\t\tbtnaddcart.setBounds(248, 49, 217, 23);\n\t\tfrmAsd.getContentPane().add(btnaddcart);\n\n\t\tJButton btnCambiaVisibilita = new JButton(\"Visibilita\");\n\t\tbtnCambiaVisibilita.setVisible(false);\n\t\tbtnCambiaVisibilita.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\n\n\t\t\t\tVector<FolderVisibility> v = new Vector<FolderVisibility>();\n\t\t\t\tv.addElement(FolderVisibility.PRIVATE);\n\t\t\t\tv.addElement(FolderVisibility.PUBLIC);\n\t\t\t\tJComboBox<FolderVisibility> jcd1 = new JComboBox<FolderVisibility>(v);\n\n\t\t\t\tObject[] options = new Object[] {};\n\n\t\t\t\tJOptionPane jop1 = new JOptionPane(\"Please Select\", JOptionPane.QUESTION_MESSAGE,\n\t\t\t\t\t\tJOptionPane.DEFAULT_OPTION, null, options, null);\n\n\t\t\t\tJButton btn_visibilitÓ = new JButton(\"conferma\");\n\t\t\t\tbtn_visibilitÓ.addActionListener(new ActionListener() {\n\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\t\t\t// TODO Auto-generated method stub\n\n\t\t\t\t\t\tFolderVisibility vis = (FolderVisibility) jcd1.getSelectedItem();\n\t\t\t\t\t\tClientConnection.cambiaVisibilita(rif_Sezione, vis);\n\t\t\t\t\t\tdiag2.dispose();\n\t\t\t\t\t\tfrmAsd.dispose();\n\t\t\t\t\t\tMain();\n\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\tjop1.add(jcd1);\n\t\t\t\tjop1.add(btn_visibilitÓ);\n\n\t\t\t\tdiag2.getContentPane().add(jop1);\n\t\t\t\tdiag2.pack();\n\t\t\t\tdiag2.setVisible(true);\n\n\t\t\t}\n\t\t});\n\t\tbtnCambiaVisibilita.setBounds(361, 353, 101, 23);\n\t\tfrmAsd.getContentPane().add(btnCambiaVisibilita);\n\n\t\tJButton btnInviaMail = new JButton(\"Invia e-mail\");\n\t\tif (LoggedUser.userType.toString().equals(\"STUDENT\")) {\n\t\t\tbtnInviaMail.setText(\"Mail docente\");\n\t\t\tbtnInviaMail.setBounds(265, 310, 89, 23);\n\t\t\tbtnInviaMail.setVisible(true);\n\t\t}\n\t\tbtnInviaMail.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\t\tnew NewsLetter();\n\t\t\t\tfrmAsd.dispose();\n\t\t\t\tNewsLetter.main();\n\t\t\t}\n\t\t});\n\t\tbtnInviaMail.setBounds(27, 49, 208, 23);\n\t\tfrmAsd.getContentPane().add(btnInviaMail);\n\t\t\n\t\tJButton btnElimina = new JButton(\"Elimina\");\n\t\tbtnElimina.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\t\tSystem.out.println(\"DEBUG: CourseFile rifsezione value: \" + rif_Sezione);\n\t\t\t\tClientConnection.eliminaFile(rif_Sezione);\n\t\t\t\tClientConnection.eliminaSezione(rif_Sezione);\t\n\t\t\t\tfrmAsd.dispose();\n\t\t\t\tCourseFile.Main();\t\n\t\t\t}\n\t\t});\n\t\tbtnElimina.setVisible(false);\n\t\tbtnElimina.setBounds(248, 353, 105, 23);\n\t\tfrmAsd.getContentPane().add(btnElimina);\n\t\t\n\t\t\n\t\t\n\t\tif (LoggedUser.userType.toString().equals(\"STUDENT\")) {\n\t\t\tbuttonSave.setVisible(false);\n\t\t\tbtnaddcart.setVisible(false);\n\t\t}\n\t\tbuttonSave.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tcourseDescr = CourseList.description;\n\t\t\t\tString namecourse = NameCourseField.getText();\n\t\t\t\tString description = textArea.getText();\n\t\t\t\tArrayList<Course> cm = ClientConnection.getAllCorsiMateria();\n\t\t\t\tfor (Course c : cm) {\n\n\t\t\t\t\tif (c.Id == indicecorso) {\n\t\t\t\t\t\tc.description = description;\n\t\t\t\t\t\tc.name = namecourse;\n\t\t\t\t\t\tlong idSezione = rif_Sezione;\n\t\t\t\t\t\tSystem.out.println(\"DEBUG: id sezione \"+ rif_Sezione);\n\t\t\t\t\t\tSystem.out.println(\"DEBUG: name del course \"+ c.name); \n\t\t\t\t\t\tif (nameSelected.equals(c.name)) {\n\t\t\t\t\t\t\t// se ci˛ che viene selezionato corrisponde al name del course\n\t\t\t\t\t\t\t CourseList.description = description;\n\t\t\t\t\t\t\t System.out.println(\"DEBUG: description del course \"+ CourseList.description);\n\t\t\t\t\t\t\tClientConnection.modificaCorsoMateria(c);\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tClientConnection.updateFileDescription(idSezione, description);\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\tfor(Folder sez : fileSystem.folders) {\n\t\t\t\t\t\t\tif(rif_Sezione == sez.idSez) {\n\t\t\t\t\t\t\t\t\tClientConnection.updateSezDescription(rif_Sezione, description);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\t\t\t\t\t\n\n\t\t\t\t\t\t\n\t\t\t\t\t\tCourseList.description = courseDescr;\n\t\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Update avvenuto con successo\");\n\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tbuttonSave.setVisible(false);\n\t\t\t\tNameCourseField.setEditable(false);\n\t\t\t\ttextArea.setEditable(false);\n\t\t\t\tnew CourseList();\n\t\t\t\tCourseList.main();\n\t\t\t\t\n\t\t\t\tfrmAsd.dispose();\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tbuttonSave.setVisible(false);\n\t\t\t\tNameCourseField.setEditable(false);\n\t\t\t\ttextArea.setEditable(false);\n\t\t\t\tbuttonSave.setVisible(false);\n\t\t\t\t\n\t\t\t}\n\t\t});\n\t\tbuttonSave.setBounds(13, 353, 211, 23);\n\t\tfrmAsd.getContentPane().add(buttonSave);\n\t\t\n\t\t\n\t\tJButton changeDescr = new JButton((Icon) null);\n\t\tchangeDescr.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\t\tNameCourseField.setEditable(true);\n\t\t\t\ttextArea.setEditable(true);\n\t\t\t}\n\t\t});\n\t\tchangeDescr.setBounds(428, 14, 34, 25);\n\t\tfrmAsd.getContentPane().add(changeDescr);\n\t\t\n\n\t\tif (LoggedUser.userType.toString().equals(\"STUDENT\")) {\n\t\t\tchangeDescr.setVisible(false);\n\t\t\tbuttonSave.setVisible(false);\n\t\t\tbuttonSave.setVisible(false);\n\t\t}\n\t\t\n\n\t\ttree.addTreeSelectionListener(new TreeSelectionListener() {\n\t\t\t@Override\n\t\t\tpublic void valueChanged(TreeSelectionEvent arg0) {\n\t\t\t\tprogressBar.setVisible(false);\n\t\t\t\tbtnDownload_file.setVisible(false);\n\t\t\t\tif (LoggedUser.userType.toString().equals(\"STUDENT\")) {\n\t\t\t\t\tbuttonSave.setVisible(false);\n\t\t\t\t\tbuttonSave.setVisible(false);\n\t\t\t\t} else {\n\t\t\t\tbuttonSave.setVisible(true);\n\t\t\t\t}\n\t\t\t\tBTN_addfile.setVisible(false);\n\t\t\t\tcontrolNode = (CustomJTreeNode) arg0.getPath().getLastPathComponent();\n\t\t\t\tnameNode = (DefaultMutableTreeNode) arg0.getPath().getLastPathComponent();;\n\t\t\t\t\n\t\t\t\tnameSelected = controlNode.getUserObject().toString();\n\n\t\t\t\t\n\t\t\t\tif (!controlNode.isFolder) {\n\n\t\t\t\t\tString search = nameSelected.substring(0,nameSelected.length()-4);\n\t\t\t\t\testensione = ClientConnection.getDocTypeByDocName(search);\n\t\t\t\t\tfileName = nameSelected.substring(0,nameSelected.length() - estensione.length());\n\t\t\t\t\tSystem.out.println(\"DEBUG: fileName \" + fileName);\n\t\t\t\t\t\n\t\t\t\t\tbtnDownload_file.setVisible(true);\n\t\t\t\t\t\tif (LoggedUser.userType == UserType.TEACHER) {\n\t\t\t\t\t\t\tbtnCambiaVisibilita.setVisible(true);\n\t\t\t\t\t\t\tbtnElimina.setVisible(true);\n\t\t\t\t\t\t}\n\t\t\t\t\tidDoc = controlNode.id;\n\t\t\t\t\trif_Sezione = controlNode.id;\t\n\t\t\t\t\tArrayList<Document> DocumentList = ClientConnection.getDocumentList();\t\n\t\t\t\t\t\n\t\t\t\t\tfor(Document doc : DocumentList) {\n\t\t\t\t\t\tif(rif_Sezione == doc.idDoc) {\n\t\t\t\t\t\t\ttextArea.setText(doc.description);\n\t\t\t\t\t\t\tSystem.out.println(\"DEBUG: name: \" + doc);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tbtnaddcart.setVisible(false);\n\t\t\t\t\tif (LoggedUser.userType != UserType.TEACHER) {\n\t\t\t\t\t\tbtnCambiaVisibilita.setVisible(false);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tif (LoggedUser.userType == UserType.TEACHER) {\n\t\t\t\t\t\tBTN_addfile.setVisible(true); \n\t\t\t\t\t\tbtnCambiaVisibilita.setVisible(true);\n\t\t\t\t\t\tbtnElimina.setVisible(true);\n\t\t\t\t\t}\n\t\t\t\t\tbtnDownload_file.setVisible(true);\n\t\t\t\t\tidDoc = 0;\n\t\t\t\t\trif_Sezione = controlNode.id;\t\n\t\t\t\t\tfor(Folder sez : fileSystem.folders) {\n\t\t\t\t\t\tif(rif_Sezione == sez.idSez) {\n\t\t\t\t\t\t\ttextArea.setText(sez.description);\n\t\t\t\t\t\t\tSystem.out.println(\"DEBUG: sezione\");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tSystem.out.println(\"DEBUG: \" + \"CourseManagment.[..]valueChanged(): controlNode.id = \" + controlNode.id);\n\t\t\t\t\tif (LoggedUser.userType == UserType.TEACHER) {\n\t\t\t\t\t\tbtnCambiaVisibilita.setVisible(true);\n\t\t\t\t\t}\n\t\t\t\t\tbtnaddcart.setVisible(false);\n\t\t\t\t\tif (controlNode.id == -1) {\n\t\t\t\t\t\tif (LoggedUser.userType == UserType.TEACHER) {\n\t\t\t\t\t\t\tbtnaddcart.setVisible(true);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbtnCambiaVisibilita.setVisible(false);\n\t\t\t\t\t\tSystem.out.println(\"DEBUG: name del course: \" + nomeCorso);\n\t\t\t\t\t\ttextArea.setText(nomeCorso);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\trif_Sezione = controlNode.id;\n\t\t\t}\n\t\t});\n\n\t}", "public StudentCourse() {\n this(\"student_course\", null);\n }", "public Student_Academic_interface() {\n initComponents();\n }", "@Override\n public void initialize() {\n\n // initianlize the super class view\n super.initialize();\n\n // add another listener for the buttons\n super.getCancel().addMouseListener(tlc);\n super.getEnroll().removeMouseListener(super.getSlc());\n super.getEnroll().addMouseListener(tlc);\n super.getSearch().addMouseListener(tlc);\n\n\n // get all teachers from teacher list and put in array\n TeacherListItem[] items = new TeacherListItem[Data.teacherList.size()];\n for (int i = 0; i < Data.teacherList.size(); i++) {\n items[i] = new TeacherListItem(Data.teacherList.get(i));\n }\n // put in teacher list in to list\n super.getList().setListData(items);\n super.getList().setCellRenderer(new TeacherListRenderer());\n super.getList().removeMouseListener(super.getSlc());\n super.getList().addMouseListener(new TeacherListController());\n\n // change text of enroll button from Enroll -> Assign\n super.getEnroll().setText(\"Assign\");\n // change title of the view from Student List -> Teacher List\n setTitle(\"Teacher List\");\n }", "public DeleteCourse() {\n initComponents();\n this.setTitle(\"Delete Course\"); \n checks = new java.util.ArrayList();\n dynamicCheckboxes();\n }", "private void initializeCompletedCourses() {\r\n try {\r\n String query = \"SELECT * FROM completedregistrations WHERE studentid=?\";\r\n PreparedStatement pstmt = conn.prepareStatement(query);\r\n pstmt.setInt(1, id);\r\n ResultSet rs = pstmt.executeQuery();\r\n completeCourses = new ArrayList<>();\r\n while (rs.next()) {\r\n completeCourses.add(new Registration(rs.getInt(\"studentid\"), rs.getInt(\"courseid\"), rs.getInt(\"secnum\"), rs.getString(\"grade\"), conn));\r\n }\r\n } catch (Exception e) {\r\n e.printStackTrace();\r\n }\r\n }", "private void setupRemoveCourse() {\n\t\tmakeButton(\"Remove Course\", (ActionEvent e) -> {\n\t\t\ttry {\n\t\t\t\tint row = table.getSelectedRow();\n\n\t\t\t\tif (row < 0) {\n\t\t\t\t\tJOptionPane.showMessageDialog(getRootPane(), \"Please select a course\", \"Error\",\n\t\t\t\t\t\t\tJOptionPane.OK_OPTION);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tint courseId = adCon.getCourseIdFromRow(row);\n\t\t\t\tadCon.removeCourse(courseId);\n\t\t\t\tupdateCourses();\n\t\t\t} catch (NumberFormatException ex) {\n\t\t\t\tJOptionPane.showMessageDialog(getRootPane(), \"Course number must be a number\", \"Error\",\n\t\t\t\t\t\tJOptionPane.OK_OPTION);\n\t\t\t}\n\t\t\tcourseInfo.setText(\"Course deleted.\");\n\t\t});\n\t}", "@PostConstruct\r\n public void init() {\r\n students = new ArrayList<>();\r\n students.add(new Student(\"Marek\", \"Smorąg\", 3.0));\r\n students.add(new Student(\"Bartosz\", \"Rudecki\", 4.54));\r\n students.add(new Student(\"Jakub\", \"Dąbała\", 5.43));\r\n students.add(new Student(\"Jakub\", \"Rek\", 4.23));\r\n students.add(new Student(\"Julia\", \"Smorąg\", 3.56));\r\n students.add(new Student(\"Arkadiusz\", \"Abramowski\", 3.56));\r\n students.add(new Student(\"Marta\", \"Nowak\", 4.23));\r\n students.add(new Student(\"Rafał\", \"Zalewski\", 4.67));\r\n students.add(new Student(\"Adrian\", \"Zalewski\", 5.0));\r\n students.add(new Student(\"Mirosław\", \"Kulesza\", 4.12));\r\n students.add(new Student(\"Michał\", \"Kostro\", 3.67));\r\n students.add(new Student(\"Jan\", \"Nowak\", 3.38));\r\n }", "public Secondpage6() {\n initComponents();\n }", "public sign_up_page() {\n initComponents();\n }", "public ElectronicsPage() {\n initComponents();\n }", "@Override\n public void initialize(URL url, ResourceBundle rb) {\n static_label = this.eventLabel;\n contentStack = stackContent;\n moveablePane();\n\n getUser();\n setUser();\n updateUserLogin();\n\n loadAllPane();\n changeScene(\"Add New\");\n }", "public studentrecord() {\n initComponents();\n }", "@PostConstruct\n public void initialization() {\n init();\n //setQuestionEditMode(true); //need to initialize question fields\n //addCurrentQuestionsToView(); //initialize view of questions\n //setQuestionEditMode(false);\n }", "public void testAddCourse() {\n\t System.out.println(\"addCourse\");\n\t Course course = course1;\n\t Student instance = student1;\n\t instance.addCourse(course);\n\t }", "private void initialize() {\r\n this.setSize(new Dimension(800,600));\r\n this.setContentPane(getJPanel());\r\n\r\n List<String> title = new ArrayList<String>();\r\n title.add(\"Select\");\r\n title.add(\"Field Id\");\r\n title.add(\"Field Name\");\r\n title.add(\"Field Type\");\r\n title.add(\"Image\");\r\n\r\n List<JComponent> componentList = new ArrayList<JComponent>();\r\n componentList.add(checkInit);\r\n componentList.add(fieldIdInit);\r\n componentList.add(filedNameInit);\r\n componentList.add(fieldTypeInit);\r\n componentList.add(imageButton);\r\n\r\n String []arrColumn = {\"SELECT\", \"FIELD_ID\", \"FIELD_NAME\", \"FIELD_TYPE\", \"FIELD_VALUE\"};\r\n String []arrTitle = {\"SELECT\", \"FIELD_ID\", \"FIELD_NAME\", \"FIELD_TYPE\", \"FIELD_VALUE\"};\r\n // init grid\r\n grid = new GridUtils(pageSheet, title, componentList, arrColumn, preButton, afterButton, 5, arrTitle);\r\n // set title\r\n grid.setPageInfo(pageInfoLbl);\r\n \r\n searchDetailList();\r\n \r\n initComboBox();\r\n \r\n setTitle(\"Page Select page\");\r\n\t}", "public void init() {\n\t\texternallyManaged = getCourse().isExternallyManaged();\n\n\t\t// Get the default search text\n\t\tif(StringUtils.trimToNull(searchText) == null) {\n\t\t\tsearchText = JsfUtil.getLocalizedMessage(\"roster_search_text\");\n\t\t}\n\n\t\t// Get the site enrollments\n\t\tList siteStudents;\n\t\tif(searchText.equals(JsfUtil.getLocalizedMessage(\"roster_search_text\"))) {\n\t\t\tsiteStudents = getSectionManager().getSiteEnrollments(getSiteContext());\n\t\t} else {\n\t\t\tsiteStudents = getSectionManager().findSiteEnrollments(getSiteContext(), searchText);\n\t\t}\n\t\t\n\t\t// Get the section enrollments\n\t\tSet studentUids = new HashSet();\n\t\tfor(Iterator iter = siteStudents.iterator(); iter.hasNext();) {\n\t\t\tParticipationRecord record = (ParticipationRecord)iter.next();\n\t\t\tstudentUids.add(record.getUser().getUserUid());\n\t\t}\n\t\tSectionEnrollments sectionEnrollments = getSectionManager().getSectionEnrollmentsForStudents(getSiteContext(), studentUids);\n\t\t\n\t\t// Construct the decorated enrollments for the UI\n\t\tList unpagedEnrollments = new ArrayList();\n\t\tcategories = getSectionManager().getSectionCategories(getSiteContext());\n\t\t\n\t\tfor(Iterator iter = siteStudents.iterator(); iter.hasNext();) {\n\t\t\tEnrollmentRecord enrollment = (EnrollmentRecord)iter.next();\n\t\t\t\n\t\t\t// Build a map of categories to sections in which the student is enrolled\n\t\t\tMap map = new HashMap();\n\t\t\tfor(Iterator catIter = categories.iterator(); catIter.hasNext();) {\n\t\t\t\tString cat = (String)catIter.next();\n\t\t\t\tCourseSection section = sectionEnrollments.getSection(enrollment.getUser().getUserUid(), cat);\n\t\t\t\tmap.put(cat, section);\n\t\t\t}\n\t\t\tEnrollmentDecorator decorator = new EnrollmentDecorator(enrollment, map);\n\t\t\tunpagedEnrollments.add(decorator);\n\t\t}\n\n\t\t// Sort the list\n\t\tCollections.sort(unpagedEnrollments, getComparator());\n\t\t\n\t\t// Filter the list\n\t\tenrollments = new ArrayList();\n\t\tint lastRow;\n\t\tint maxDisplayedRows = getPrefs().getRosterMaxDisplayedRows();\n\t\tif(maxDisplayedRows < 1 || firstRow + maxDisplayedRows > unpagedEnrollments.size()) {\n\t\t\tlastRow = unpagedEnrollments.size();\n\t\t} else {\n\t\t\tlastRow = firstRow + maxDisplayedRows;\n\t\t}\n\t\tenrollments.addAll(unpagedEnrollments.subList(firstRow, lastRow));\n\t\tenrollmentsSize = unpagedEnrollments.size();\n\t}", "public WCreateExam() {\n initComponents();\n setLocationRelativeTo(null);\n this.setExamID();\n this.updateTable();\n }", "public StudentExamination() {\n initComponents();\n readExamSlip();\n readExamResult();\n }", "public addteacher() {\n initComponents();\n }", "public College()\r\n {\r\n students = new ArrayList<Student>();\r\n }", "private ShowConferenceSectionsPage() {\n this.service = UserService.retrieve();\n this.validator = Validator.retrieve();\n }", "public Admin_MainPage() {\n initComponents();\n }", "private UserCourseCourse() {\n\t}", "public AdminLogInPage() {\n initComponents();\n }", "private StudentController() {\n\t\tstudents = new ArrayList<Student>();\n\t\tinflateFromFile();\n\t}", "public void create_menu(int studentId)\n\t{\n\n\t\tis_registered = getRegistrationStatus(studentId);\n\t\twhile (CRSApplication.loggedin) \n\t\t{\n\t\t\tlogger.info(\"*****************************\");\n\t\t\tlogger.info(\"**********Student Menu*********\");\n\t\t\tlogger.info(\"*****************************\");\n\t\t\tlogger.infon(\"1. Course Registration\");\n\t\t\tlogger.info(\"2. Add Course\");\n\t\t\tlogger.info(\"3. Drop Course\");\n\t\t\tlogger.info(\"4. View Course\");\n\t\t\tlogger.info(\"5. View Registered Courses\");\n\t\t\tlogger.info(\"6. View grade card\");\n\t\t\tlogger.info(\"7. Logout\");\n\t\t\tlogger.info(\"*****************************\");\n\n\t\t\tint choice = sc.nextInt();\n\n\t\t\tswitch (choice) {\n\t\t\t\tcase 1: \n\t\t\t\t\t\tregisterCourses(studentId);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\n\t\t\t\tcase 2: \n\t\t\t\t\t\taddCourse(studentId);\n\t\t\t\t\t\tbreak;\n\n\t\t\t\tcase 3:\n\t\t\t\t\t\t\n\t\t\t\t\t\tdropCourse(studentId);\n\t\t\t\t\t\tbreak;\n\n\t\t\t\tcase 4:\n\t\t\t\t\t\tviewCourse(studentId);\n\t\t\t\t\t\tbreak;\n\n\t\t\t\tcase 5:\n\t\t\t\t\t\tviewRegisteredCourse(studentId);\n\t\t\t\t\t\tbreak;\n\n\t\t\t\tcase 6:\n\t\t\t\t\t\tviewGradeCard(studentId);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\n\t\t\t\tcase 7: \n\t\t\t\t\t\tCRSApplication.loggedin = false;\n\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\n\t\t\t\tdefault:\n\t\t\t\t\tlogger.warn(\"***** Wrong Choice *****\");\n\t\t\t}\n\t\t}\n\t}", "@Override\n public void initialize() {\n AppContext.getInstance().set(\"tablero\",this);\n tabl = new CasillaController[8][6]; \n SeleccNivel((int)AppContext.getInstance().get(\"lvl\"));\n LlenarCasillas();\n \n }", "public GUI_StudentInfo() {\n initComponents();\n }", "public AddStudent() {\n initComponents();\n setLocationRelativeTo(null);\n }", "@PostConstruct\r\n private void init() {\n this.ccTypes = new ArrayList<SelectItem>();\r\n this.ccTypes.add(new SelectItem(CreditCardType.CARD_A, getCCTypeLabel(CreditCardType.CARD_A)));\r\n this.ccTypes.add(new SelectItem(CreditCardType.CARD_B, getCCTypeLabel(CreditCardType.CARD_B)));\r\n\r\n // Initialize categories select items\r\n this.categories = new ArrayList<SelectItem>();\r\n this.categories.add(new SelectItem(\"cat_it\", getCategoryLabel(\"cat_it\")));\r\n this.categories.add(new SelectItem(\"cat_gr\", getCategoryLabel(\"cat_gr\")));\r\n this.categories.add(new SelectItem(\"cat_at\", getCategoryLabel(\"cat_at\")));\r\n this.categories.add(new SelectItem(\"cat_mx\", getCategoryLabel(\"cat_mx\")));\r\n }", "private void init()\n {\n \t// Make page stateless.\n setStatelessHint(true);\n\n // Add registration form.\n RegistrationForm registrationForm = new RegistrationForm(REGISTRATION_FORM);\n add(registrationForm);\n // AjaxFormValidatingBehavior.addToAllFormComponents(registrationForm, \"onblur\");\n }", "private void initJTableSchoolStudents() {\n schoolStudents = new SchoolStudents();\n // Load data from database\n schoolStudents.findAll(entityManager);\n\n // Model for JTable, assigning classgroups content\n schoolStudentsTableModel = new SchoolStudentsTableModel(schoolStudents);\n jTableSchoolStudents.setModel(schoolStudentsTableModel); \n\n // Allow only one row selected\n jTableSchoolStudents.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);\n \n // Listen for student selection in jtable\n jTableSchoolStudents.getSelectionModel().addListSelectionListener(\n new ListSelectionListener() {\n @Override\n public void valueChanged(ListSelectionEvent event) {\n int indexSelectedRow = jTableSchoolStudents.getSelectedRow();\n if(indexSelectedRow >= 0) {\n schoolStudentSelected = schoolStudents.getSchoolStudentList().get(indexSelectedRow);\n showDetailStudentSelected();\n } else {\n jTextFieldName.setText(\"\");\n jTextFieldSurnames.setText(\"\");\n jTextFieldGrade.setText(\"\");\n }\n }\n }\n );\n \n enableEditingStudentDetail(false);\n }", "public VueAccueil() {\r\n initComponents();\r\n }", "private void init() {\n List<Contructor> list = servisContructor.getAllContructors();\n for (Contructor prod : list) {\n contructor.add(new ContructorViewer(prod));\n }\n\n Label label = new Label(\"Catalog Contructors\");\n label.setLayoutX(140);\n label.setLayoutY(20);\n label.setStyle(\"-fx-font-size:20px\");\n\n initTable();\n table.setLayoutX(120);\n table.setLayoutY(60);\n table.setStyle(\"-fx-font-size:16px\");\n\n GridPane control = new ControlPanel(this, 2).getPanel();\n control.setLayoutX(120);\n control.setLayoutY(300);\n\n panel.setAlignment(Pos.CENTER);\n panel.add(label, 0, 0);\n panel.add(table, 0, 1);\n panel.add(control, 0, 2);\n }", "@Override\n public void initialize(URL url, ResourceBundle rb) {\n // Repartos\n// initializeMainMenu();\n connectMainMenuClickActions();\n \n initFirstMenu();\n }", "public Course(String courseName) {\n studentList = new ArrayList<Student>(MAXSTUDENT);\n this.courseName = courseName;\n studentCount = 0;\n }", "public StartPage() {\n initComponents();\n \n }", "private void loadCourses(final MyCallback2 myCallback) {\n //Reading courses\n mDatabase = FirebaseDatabase.getInstance().getReference().child(\"courses\");\n mDatabase.addListenerForSingleValueEvent(new ValueEventListener() {\n @Override\n public void onDataChange(@NonNull DataSnapshot dataSnapshot) {\n if (dataSnapshot.exists()) {\n //reset courses incase returning from create course fragment\n courses = new ArrayList<>();\n //loop to go through all the child nodes of courses\n for (final DataSnapshot uniqueKeySnapshot : dataSnapshot.getChildren()) {\n //Store courses into arraylist\n courses.add(new Course(uniqueKeySnapshot.child(\"id\").getValue().toString(), uniqueKeySnapshot.child(\"name\").getValue().toString()));\n }\n }\n myCallback.onCallback();\n }\n @Override\n public void onCancelled(@NonNull DatabaseError databaseError) {\n }\n });\n }", "public void initialize() {\n easyButton.setOnMouseClicked(e -> {\n if (e.getButton().equals(MouseButton.PRIMARY)) {\n Generator generator = new NumberGenerator(Difficulty.EASY);\n Main.pushPage(new PronunciationPage(\"Practice - Easy\", generator));\n }\n });\n\n hardButton.setOnMouseClicked(e -> {\n if (e.getButton().equals(MouseButton.PRIMARY)) {\n Generator generator = new NumberGenerator(Difficulty.HARD);\n Main.pushPage(new PronunciationPage(\"Practice - Hard\", generator));\n }\n });\n\n // Disables hard mode if it is not unlocked yet\n hardButton.setDisable(!StatsManager.manager().practiceUnlocked());\n hardLabel.setDisable(!StatsManager.manager().practiceUnlocked());\n }", "@Override\n public void initialize(URL url, ResourceBundle rb) {\n aracDao = new AracDao();\n\n EditButtonAdd();\n DeleteButtonAdd();\n\n aracListesi();\n\n }", "public void initialize() {\n super.initializeData(paneYear1Semester1);\n\n //set Button (always update from file)\n super.updatePassButton(\"01417111\", Button01417111);\n super.updatePassButton(\"01418112\", Button01418112);\n super.updatePassButton(\"01418114\", Button01418114);\n super.updatePassButton(\"01418131\", Button01418131);\n super.updatePassButton(\"01999111\", Button01999111);\n\n //set show preSubject (Pass or Not)\n super.checkPassOrNot(\"01418114\", check01418114);\n }", "private void initComponents() {\r\n\t\trand = new Random();\r\n\t\tfetchProfiles();\r\n\t\tgetPeopleFromFile();\r\n\t}", "@Override\r\n public void initialize(URL url, ResourceBundle rb) {\r\n this.loadComboBoxCourses();\r\n this.loadSpinnerDays();\r\n this.loadComboBoxPeriod();\r\n this.loadSpinnerStart();\r\n \r\n }", "public void initialize() {\n sceneSwitch = SceneSwitch.getInstance();\n sceneSwitch.addScene(addPartToJobStackPane, NavigationModel.ADD_PART_TO_JOB_ID);\n usernameLbl.setText(DBLogic.getDBInstance().getUsername());\n usertypeLbl.setText(DBLogic.getDBInstance().getUser_type());\n jobReference = jobReference.getInstance();\n partHashMap = new HashMap<>();\n refreshList();\n }", "private void inicialize() {\n\t\t\n\t\t/**\n\t\t * Labels e textField of the page:\n\t\t * Nome\n\t\t * Descrição\n\t\t */\n\n\t\tJLabel lblNome = new JLabel(\"Nome\");\n\t\tlblNome.setBounds(5, 48, 86, 28);\n\t\tlblNome.setFont(new Font(\"Dubai Light\", Font.PLAIN, 13));\n\t\tcontentPanel.add(lblNome);\n\t\t\n\t\tJLabel lblDescricao = new JLabel(\"Descrição\");\n\t\tlblDescricao.setBounds(5, 117, 86, 51);\n\t\tlblDescricao.setFont(new Font(\"Dubai Light\", Font.PLAIN, 13));\n\t\tcontentPanel.add(lblDescricao);\n\t\t\n\t\ttextFieldNome = new JTextField();\n\t\ttextFieldNome.setBounds(103, 45, 290, 35);\n\t\ttextFieldNome.setFont(new Font(\"Dubai Light\", Font.PLAIN, 13));\n\t\ttextFieldNome.setColumns(10);\n\t\tcontentPanel.add(textFieldNome);\n\t\t\n\t\ttextFieldDescricao = new JTextArea();\n\t\ttextFieldDescricao.setBackground(Color.WHITE);\n\t\ttextFieldDescricao.setLineWrap(true);\n\t\ttextFieldDescricao.setBounds(101, 118, 290, 193);\n\t\ttextFieldDescricao.setFont(new Font(\"Dubai Light\", Font.PLAIN, 13));\n\t\ttextFieldDescricao.setColumns(10);\n\t\tcontentPanel.add(textFieldDescricao);\n\n\t\t/**\n\t\t * Confirmation panel\n\t\t * Confirmation button\n\t\t * Cancellation button\n\t\t */\n\n\t\tpainelConfirmacaoSetup();\n\t}", "@Override\r\n public void initialize(URL url, ResourceBundle rb) {\r\n courseLists=FXCollections.observableArrayList();\r\n courseLists.addAll(getCourseList());\r\n courseDropBox.setItems(courseLists);\r\n c=FXCollections.observableArrayList();\r\n }", "@Override\n public void initialize(URL url, ResourceBundle rb) {\n val.addRequiredValidator(txtDescription);\n btnAdd.setText(\"CREATE\");\n enableOption(false);\n LinkedList<String> col = new LinkedList<>();\n// col.addFirst(\"ALL\");\n// col.add(\"DATE\");\n// col.add(\"DESCRIPTION\");\n col.addFirst(\"DESCRIPTION\");\n cmbColumn.getItems().addAll(col);\n MyUtils.selectComboBoxValue(cmbColumn, \"DESCRIPTION\");\n fillTable();\n lblName.setText(\"Welcome \"+DiaryFXMLController.curUser.getUname());\n// JOptionPane.showMessageDialog(null, \"\"+currUsr.getUid()+\"==\"+currUsr.getUname()+\"==\"+currUsr.getPass());\n }", "private void setupCourseList(){\n\t\tcourseList = new JList<>(listModel);\n\t\tcourseList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);\n\t\tcourseList.setLayoutOrientation(JList.VERTICAL);\n\t\t\n\t\tJScrollPane scroller = new JScrollPane(courseList);\n\t\tscroller.setMaximumSize(new Dimension(400,300));\n\t\tadd(scroller);\n\t}", "public void initialize() throws IOException {\n this.setCmf(courseManagementFormBean.getCourseManagementFormById(this.getId()));\n if(this.cmf == null) {\n FacesContext context = FacesContext.getCurrentInstance();\n context.getExternalContext().responseSendError(404, \"That course management form does not exist.\");\n context.responseComplete();\n }\n }", "public Deletestudent() {\n initComponents();\n }", "public void insertCourse(){\n \n }", "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n tabbedPane = new javax.swing.JTabbedPane();\n panelHome = new javax.swing.JPanel();\n jPanel9 = new javax.swing.JPanel();\n jPanel11 = new javax.swing.JPanel();\n jLabel4 = new javax.swing.JLabel();\n lblFirstName2 = new javax.swing.JLabel();\n jScrollPane4 = new javax.swing.JScrollPane();\n btnRegister = new javax.swing.JButton();\n btnUnregister = new javax.swing.JButton();\n lblAvailable = new javax.swing.JLabel();\n jSeparator1 = new javax.swing.JSeparator();\n jPanel2 = new javax.swing.JPanel();\n jScrollPane5 = new javax.swing.JScrollPane();\n listCourses = new javax.swing.JList<>();\n logo1 = new javax.swing.JLabel();\n jPanel5 = new javax.swing.JPanel();\n lblAvailable2 = new javax.swing.JLabel();\n jLabel16 = new javax.swing.JLabel();\n lblAvailable1 = new javax.swing.JLabel();\n lblAvailable3 = new javax.swing.JLabel();\n jLabel14 = new javax.swing.JLabel();\n jLabel11 = new javax.swing.JLabel();\n panelMyCourses = new javax.swing.JPanel();\n jPanel4 = new javax.swing.JPanel();\n jScrollPane1 = new javax.swing.JScrollPane();\n tblCourse = new javax.swing.JTable();\n btnOpenCourse = new javax.swing.JButton();\n courseComboBox = new javax.swing.JComboBox<>();\n lblCourseChoice = new javax.swing.JLabel();\n lblMyCourses = new javax.swing.JLabel();\n jLabel13 = new javax.swing.JLabel();\n panelAccount = new javax.swing.JPanel();\n jPanel1 = new javax.swing.JPanel();\n lblUsername = new javax.swing.JLabel();\n btnSignOut = new javax.swing.JButton();\n FirstNameTextField = new javax.swing.JTextField();\n EmailTextField = new javax.swing.JTextField();\n LastNameTextField = new javax.swing.JTextField();\n lblEmail = new javax.swing.JLabel();\n passwordField = new javax.swing.JPasswordField();\n btnEdit = new javax.swing.JButton();\n lblPassword = new javax.swing.JLabel();\n lblFirstName = new javax.swing.JLabel();\n lblLastName = new javax.swing.JLabel();\n UsernameTextField = new javax.swing.JTextField();\n ImageButton = new javax.swing.JButton();\n jPanel12 = new javax.swing.JPanel();\n jLabel2 = new javax.swing.JLabel();\n jLabel15 = new javax.swing.JLabel();\n panelNotifications = new javax.swing.JPanel();\n jPanel3 = new javax.swing.JPanel();\n jScrollPane2 = new javax.swing.JScrollPane();\n tblNotifications = new javax.swing.JTable();\n jLabel10 = new javax.swing.JLabel();\n jPanel10 = new javax.swing.JPanel();\n lblNotifications5 = new javax.swing.JLabel();\n lblNotifications6 = new javax.swing.JLabel();\n jLabel9 = new javax.swing.JLabel();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n\n tabbedPane.setBackground(new java.awt.Color(0, 0, 51));\n tabbedPane.setForeground(new java.awt.Color(0, 0, 51));\n tabbedPane.setDebugGraphicsOptions(javax.swing.DebugGraphics.NONE_OPTION);\n tabbedPane.setFont(new java.awt.Font(\"Times New Roman\", 1, 11)); // NOI18N\n\n jPanel9.setBackground(new java.awt.Color(0, 102, 204));\n jPanel9.setForeground(new java.awt.Color(0, 153, 255));\n jPanel9.setLayout(null);\n\n jPanel11.setBackground(new java.awt.Color(0, 0, 0));\n jPanel11.setLayout(null);\n\n jLabel4.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/finalProject1/47768.png\"))); // NOI18N\n jLabel4.setText(\"jLabel4\");\n jPanel11.add(jLabel4);\n jLabel4.setBounds(0, 0, 130, 140);\n\n jPanel9.add(jPanel11);\n jPanel11.setBounds(30, 30, 130, 140);\n\n lblFirstName2.setFont(new java.awt.Font(\"Arial\", 1, 18)); // NOI18N\n lblFirstName2.setForeground(new java.awt.Color(255, 255, 255));\n lblFirstName2.setText(LogIn1.name);\n jPanel9.add(lblFirstName2);\n lblFirstName2.setBounds(30, 170, 130, 30);\n jPanel9.add(jScrollPane4);\n jScrollPane4.setBounds(210, 30, 2, 2);\n\n btnRegister.setText(\"REGISTER\");\n btnRegister.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnRegisterActionPerformed(evt);\n }\n });\n jPanel9.add(btnRegister);\n btnRegister.setBounds(460, 270, 100, 30);\n\n btnUnregister.setText(\"UNREGISTER\");\n btnUnregister.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnUnregisterActionPerformed(evt);\n }\n });\n jPanel9.add(btnUnregister);\n btnUnregister.setBounds(580, 270, 110, 30);\n\n lblAvailable.setFont(new java.awt.Font(\"Tahoma\", 1, 18)); // NOI18N\n lblAvailable.setForeground(new java.awt.Color(255, 255, 255));\n lblAvailable.setText(\"AVAILABLE COURSES\");\n jPanel9.add(lblAvailable);\n lblAvailable.setBounds(210, 10, 240, 30);\n jPanel9.add(jSeparator1);\n jSeparator1.setBounds(210, 40, 480, 20);\n\n jPanel2.setBackground(new java.awt.Color(0, 0, 51));\n jPanel2.setBorder(new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED));\n\n listCourses.setBackground(new java.awt.Color(204, 204, 204));\n listCourses.setModel(ListModel);\n jScrollPane5.setViewportView(listCourses);\n\n javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);\n jPanel2.setLayout(jPanel2Layout);\n jPanel2Layout.setHorizontalGroup(\n jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jScrollPane5, javax.swing.GroupLayout.DEFAULT_SIZE, 474, Short.MAX_VALUE)\n );\n jPanel2Layout.setVerticalGroup(\n jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel2Layout.createSequentialGroup()\n .addComponent(jScrollPane5, javax.swing.GroupLayout.PREFERRED_SIZE, 197, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(0, 0, Short.MAX_VALUE))\n );\n\n jPanel9.add(jPanel2);\n jPanel2.setBounds(210, 50, 480, 200);\n\n logo1.setBackground(new java.awt.Color(255, 0, 0));\n logo1.setFont(new java.awt.Font(\"Starcruiser\", 2, 36)); // NOI18N\n logo1.setForeground(new java.awt.Color(0, 0, 102));\n logo1.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/finalProject1/download (1).png\"))); // NOI18N\n jPanel9.add(logo1);\n logo1.setBounds(640, 10, 270, 180);\n\n jPanel5.setLayout(null);\n\n lblAvailable2.setFont(new java.awt.Font(\"Tahoma\", 1, 12)); // NOI18N\n lblAvailable2.setForeground(new java.awt.Color(153, 153, 153));\n lblAvailable2.setText(\"Registering for Courses helps us get access to a variety of course Files\");\n jPanel5.add(lblAvailable2);\n lblAvailable2.setBounds(20, 0, 490, 30);\n\n jLabel16.setBackground(new java.awt.Color(255, 0, 0));\n jLabel16.setFont(new java.awt.Font(\"orange juice\", 2, 36)); // NOI18N\n jLabel16.setForeground(new java.awt.Color(51, 0, 0));\n jLabel16.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/finalProject1/bac4k.png\"))); // NOI18N\n jLabel16.setText(\"BIRANA\");\n jPanel5.add(jLabel16);\n jLabel16.setBounds(0, 0, 640, 30);\n\n jPanel9.add(jPanel5);\n jPanel5.setBounds(220, 400, 470, 30);\n\n lblAvailable1.setFont(new java.awt.Font(\"Tahoma\", 1, 12)); // NOI18N\n lblAvailable1.setForeground(new java.awt.Color(204, 204, 204));\n lblAvailable1.setText(\"About Us\");\n lblAvailable1.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseClicked(java.awt.event.MouseEvent evt) {\n lblAvailable1MouseClicked(evt);\n }\n });\n jPanel9.add(lblAvailable1);\n lblAvailable1.setBounds(830, 390, 80, 20);\n\n lblAvailable3.setFont(new java.awt.Font(\"Tahoma\", 1, 12)); // NOI18N\n lblAvailable3.setForeground(new java.awt.Color(204, 204, 204));\n lblAvailable3.setText(\"@2019 Birana\");\n lblAvailable3.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseClicked(java.awt.event.MouseEvent evt) {\n lblAvailable3MouseClicked(evt);\n }\n });\n jPanel9.add(lblAvailable3);\n lblAvailable3.setBounds(810, 410, 90, 20);\n\n jLabel14.setBackground(new java.awt.Color(255, 0, 0));\n jLabel14.setFont(new java.awt.Font(\"orange juice\", 2, 36)); // NOI18N\n jLabel14.setForeground(new java.awt.Color(51, 0, 0));\n jLabel14.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/finalProject1/bac4k.png\"))); // NOI18N\n jLabel14.setText(\"BIRANA\");\n jPanel9.add(jLabel14);\n jLabel14.setBounds(170, 0, 750, 440);\n\n jLabel11.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/finalProject1/Space-PNG-HD.png\"))); // NOI18N\n jPanel9.add(jLabel11);\n jLabel11.setBounds(0, 0, 910, 450);\n\n javax.swing.GroupLayout panelHomeLayout = new javax.swing.GroupLayout(panelHome);\n panelHome.setLayout(panelHomeLayout);\n panelHomeLayout.setHorizontalGroup(\n panelHomeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jPanel9, javax.swing.GroupLayout.DEFAULT_SIZE, 914, Short.MAX_VALUE)\n );\n panelHomeLayout.setVerticalGroup(\n panelHomeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(panelHomeLayout.createSequentialGroup()\n .addGap(0, 0, 0)\n .addComponent(jPanel9, javax.swing.GroupLayout.DEFAULT_SIZE, 438, Short.MAX_VALUE)\n .addGap(0, 0, 0))\n );\n\n tabbedPane.addTab(\"HOME\", panelHome);\n\n jPanel4.setLayout(null);\n\n tblCourse.setModel(new javax.swing.table.DefaultTableModel(\n new Object [][] {\n {null, null, null, null},\n {null, null, null, null},\n {null, null, null, null},\n {null, null, null, null}\n },\n new String [] {\n \"CourseID\", \"Course Name\", \"Instructor\", \"Last Added\"\n }\n ) {\n boolean[] canEdit = new boolean [] {\n false, false, false, false\n };\n\n public boolean isCellEditable(int rowIndex, int columnIndex) {\n return canEdit [columnIndex];\n }\n });\n tblCourse.setPreferredSize(new java.awt.Dimension(300, 400));\n jScrollPane1.setViewportView(tblCourse);\n\n jPanel4.add(jScrollPane1);\n jScrollPane1.setBounds(20, 60, 890, 190);\n\n btnOpenCourse.setText(\"Open\");\n btnOpenCourse.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnOpenCourseActionPerformed(evt);\n }\n });\n jPanel4.add(btnOpenCourse);\n btnOpenCourse.setBounds(540, 280, 59, 30);\n\n courseComboBox.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n courseComboBoxActionPerformed(evt);\n }\n });\n jPanel4.add(courseComboBox);\n courseComboBox.setBounds(370, 280, 161, 30);\n\n lblCourseChoice.setFont(new java.awt.Font(\"Tahoma\", 1, 11)); // NOI18N\n lblCourseChoice.setForeground(new java.awt.Color(255, 255, 255));\n lblCourseChoice.setText(\"COURSE CHOICE\");\n jPanel4.add(lblCourseChoice);\n lblCourseChoice.setBounds(250, 280, 100, 30);\n\n lblMyCourses.setFont(new java.awt.Font(\"Cooper Black\", 1, 24)); // NOI18N\n lblMyCourses.setForeground(new java.awt.Color(255, 255, 255));\n lblMyCourses.setText(\"MY COURSES\");\n jPanel4.add(lblMyCourses);\n lblMyCourses.setBounds(360, 20, 176, 24);\n\n jLabel13.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/finalProject1/Space-PNG-HD.png\"))); // NOI18N\n jPanel4.add(jLabel13);\n jLabel13.setBounds(0, -50, 920, 500);\n\n javax.swing.GroupLayout panelMyCoursesLayout = new javax.swing.GroupLayout(panelMyCourses);\n panelMyCourses.setLayout(panelMyCoursesLayout);\n panelMyCoursesLayout.setHorizontalGroup(\n panelMyCoursesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jPanel4, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n );\n panelMyCoursesLayout.setVerticalGroup(\n panelMyCoursesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, panelMyCoursesLayout.createSequentialGroup()\n .addGap(0, 0, 0)\n .addComponent(jPanel4, javax.swing.GroupLayout.DEFAULT_SIZE, 438, Short.MAX_VALUE)\n .addGap(0, 0, 0))\n );\n\n tabbedPane.addTab(\"MY COURSES\", panelMyCourses);\n\n panelAccount.setBackground(new java.awt.Color(255, 255, 255));\n\n jPanel1.setBackground(new java.awt.Color(102, 102, 102));\n jPanel1.setLayout(null);\n\n lblUsername.setFont(new java.awt.Font(\"Tahoma\", 1, 14)); // NOI18N\n lblUsername.setForeground(new java.awt.Color(255, 255, 255));\n lblUsername.setText(\"Username\");\n jPanel1.add(lblUsername);\n lblUsername.setBounds(20, 280, 80, 30);\n\n btnSignOut.setText(\"SIGN OUT\");\n btnSignOut.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnSignOutActionPerformed(evt);\n }\n });\n jPanel1.add(btnSignOut);\n btnSignOut.setBounds(20, 370, 110, 30);\n\n FirstNameTextField.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n FirstNameTextFieldActionPerformed(evt);\n }\n });\n jPanel1.add(FirstNameTextField);\n FirstNameTextField.setBounds(100, 160, 160, 30);\n jPanel1.add(EmailTextField);\n EmailTextField.setBounds(100, 240, 160, 30);\n\n LastNameTextField.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n LastNameTextFieldActionPerformed(evt);\n }\n });\n jPanel1.add(LastNameTextField);\n LastNameTextField.setBounds(100, 200, 160, 30);\n\n lblEmail.setFont(new java.awt.Font(\"Tahoma\", 1, 14)); // NOI18N\n lblEmail.setForeground(new java.awt.Color(255, 255, 255));\n lblEmail.setText(\"Email\");\n jPanel1.add(lblEmail);\n lblEmail.setBounds(20, 240, 80, 30);\n jPanel1.add(passwordField);\n passwordField.setBounds(100, 320, 160, 30);\n\n btnEdit.setText(\"EDIT\");\n btnEdit.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnEditActionPerformed(evt);\n }\n });\n jPanel1.add(btnEdit);\n btnEdit.setBounds(140, 370, 120, 30);\n\n lblPassword.setFont(new java.awt.Font(\"Tahoma\", 1, 14)); // NOI18N\n lblPassword.setForeground(new java.awt.Color(255, 255, 255));\n lblPassword.setText(\"Password\");\n jPanel1.add(lblPassword);\n lblPassword.setBounds(20, 320, 80, 30);\n\n lblFirstName.setFont(new java.awt.Font(\"Tahoma\", 1, 14)); // NOI18N\n lblFirstName.setForeground(new java.awt.Color(255, 255, 255));\n lblFirstName.setText(\"First Name\");\n jPanel1.add(lblFirstName);\n lblFirstName.setBounds(20, 160, 80, 30);\n\n lblLastName.setFont(new java.awt.Font(\"Tahoma\", 1, 14)); // NOI18N\n lblLastName.setForeground(new java.awt.Color(255, 255, 255));\n lblLastName.setText(\"Last Name\");\n jPanel1.add(lblLastName);\n lblLastName.setBounds(20, 200, 80, 30);\n\n UsernameTextField.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n UsernameTextFieldActionPerformed(evt);\n }\n });\n jPanel1.add(UsernameTextField);\n UsernameTextField.setBounds(100, 280, 160, 30);\n\n ImageButton.setFont(new java.awt.Font(\"Tahoma\", 0, 10)); // NOI18N\n ImageButton.setText(\"UPLOAD PHOTO\");\n ImageButton.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n ImageButtonActionPerformed(evt);\n }\n });\n jPanel1.add(ImageButton);\n ImageButton.setBounds(150, 120, 110, 30);\n\n jPanel12.setBackground(new java.awt.Color(0, 0, 0));\n jPanel12.setLayout(null);\n\n jLabel2.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/finalProject1/47768.png\"))); // NOI18N\n jLabel2.setText(\"jLabel4\");\n jPanel12.add(jLabel2);\n jLabel2.setBounds(0, 0, 130, 130);\n\n jPanel1.add(jPanel12);\n jPanel12.setBounds(10, 20, 130, 130);\n\n jLabel15.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/finalProject1/Space-PNG-HD.png\"))); // NOI18N\n jPanel1.add(jLabel15);\n jLabel15.setBounds(-30, 0, 950, 440);\n\n javax.swing.GroupLayout panelAccountLayout = new javax.swing.GroupLayout(panelAccount);\n panelAccount.setLayout(panelAccountLayout);\n panelAccountLayout.setHorizontalGroup(\n panelAccountLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(panelAccountLayout.createSequentialGroup()\n .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, 939, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(0, 0, Short.MAX_VALUE))\n );\n panelAccountLayout.setVerticalGroup(\n panelAccountLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(panelAccountLayout.createSequentialGroup()\n .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, 438, Short.MAX_VALUE)\n .addGap(0, 0, 0))\n );\n\n tabbedPane.addTab(\"ACCOUNT\", panelAccount);\n\n panelNotifications.setBackground(new java.awt.Color(255, 255, 255));\n panelNotifications.setForeground(new java.awt.Color(255, 255, 255));\n\n jPanel3.setBackground(new java.awt.Color(204, 255, 204));\n jPanel3.setLayout(null);\n\n tblNotifications.setModel(new javax.swing.table.DefaultTableModel(\n new Object [][] {\n {null, null},\n {null, null},\n {null, null},\n {null, null}\n },\n new String [] {\n \"Date\", \"Notification\"\n }\n ) {\n boolean[] canEdit = new boolean [] {\n false, false\n };\n\n public boolean isCellEditable(int rowIndex, int columnIndex) {\n return canEdit [columnIndex];\n }\n });\n jScrollPane2.setViewportView(tblNotifications);\n\n jPanel3.add(jScrollPane2);\n jScrollPane2.setBounds(10, 20, 890, 380);\n\n jLabel10.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/finalProject1/Space-PNG-HD.png\"))); // NOI18N\n jPanel3.add(jLabel10);\n jLabel10.setBounds(-30, -20, 950, 460);\n\n javax.swing.GroupLayout panelNotificationsLayout = new javax.swing.GroupLayout(panelNotifications);\n panelNotifications.setLayout(panelNotificationsLayout);\n panelNotificationsLayout.setHorizontalGroup(\n panelNotificationsLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jPanel3, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 914, Short.MAX_VALUE)\n );\n panelNotificationsLayout.setVerticalGroup(\n panelNotificationsLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(panelNotificationsLayout.createSequentialGroup()\n .addGap(0, 0, 0)\n .addComponent(jPanel3, javax.swing.GroupLayout.DEFAULT_SIZE, 438, Short.MAX_VALUE)\n .addGap(0, 0, 0))\n );\n\n tabbedPane.addTab(\"NOTIFICATIONS\", panelNotifications);\n\n jPanel10.setBackground(new java.awt.Color(0, 102, 204));\n jPanel10.setForeground(new java.awt.Color(0, 153, 255));\n jPanel10.setLayout(null);\n\n lblNotifications5.setFont(new java.awt.Font(\"Cooper Black\", 1, 24)); // NOI18N\n lblNotifications5.setForeground(new java.awt.Color(255, 255, 255));\n lblNotifications5.setText(LogIn1.name);\n jPanel10.add(lblNotifications5);\n lblNotifications5.setBounds(440, 0, 240, 30);\n\n lblNotifications6.setFont(new java.awt.Font(\"Cooper Black\", 1, 24)); // NOI18N\n lblNotifications6.setForeground(new java.awt.Color(255, 255, 255));\n lblNotifications6.setText(\"Welcome\");\n jPanel10.add(lblNotifications6);\n lblNotifications6.setBounds(320, 0, 230, 30);\n\n jLabel9.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/finalProject1/Space-PNG-HD.png\"))); // NOI18N\n jPanel10.add(jLabel9);\n jLabel9.setBounds(0, 0, 920, 50);\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(jPanel10, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(tabbedPane, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 919, javax.swing.GroupLayout.PREFERRED_SIZE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addComponent(jPanel10, javax.swing.GroupLayout.PREFERRED_SIZE, 32, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(0, 0, 0)\n .addComponent(tabbedPane))\n );\n\n tabbedPane.getAccessibleContext().setAccessibleName(\"tabbedPane\");\n\n pack();\n }", "@Override\n public void initialize(URL url, ResourceBundle rb) {\n \n stuNum.setCellValueFactory(new PropertyValueFactory<> (\"stunum\"));\n course.setCellValueFactory(new PropertyValueFactory<> (\"coursename\"));\n classM.setCellValueFactory(new PropertyValueFactory <>(\"classM\"));\n exam.setCellValueFactory(new PropertyValueFactory <>(\"exam\"));\n finalM.setCellValueFactory(new PropertyValueFactory <>(\"finalM\"));\n \n String user = CurrentUser.getUserName();\n String role = CurrentUser.getUserRole();\n \n System.out.println(role);\n \n //only show marks for particular sudent\n if(role.equals(\"S\")){\n \n SN.setText(user);\n SN.setVisible(false);\n CC.setVisible(false);\n CC.setVisible(false);\n searchSN.setVisible(false);\n searchCC.setVisible(false);\n\n try{\n this.getStudent();\n }\n catch (IOException | SQLException e) {\n \n }\n\n }\n //show only for particular course\n //AS\n else if(CourseClicked.getClicked()==true){ //admin clicked on it\n \n CC.setText(CourseClicked.getCourse());\n SN.setVisible(false);\n CC.setVisible(false);\n CC.setVisible(false);\n searchSN.setVisible(false);\n searchCC.setVisible(false);\n \n try{\n this.getCourse();\n }\n catch (IOException | SQLException e) {\n\n }\n \n \n }\n //CC\n else if (UI.EditCourseController.course !=null){\n \n CC.setText(UI.EditCourseController.course);\n System.out.println(UI.EditCourseController.course);\n SN.setVisible(false);\n CC.setVisible(false);\n CC.setVisible(false);\n searchSN.setVisible(false);\n searchCC.setVisible(false);\n \n try{\n this.getCourse();\n }\n catch (IOException | SQLException e) {\n\n }\n \n }\n //coming back from detail view\n else if(StudentMarkClick.getBack()){\n //searched for student\n if(StudentMarkClick.getLastclick().equals(\"s\")){\n SN.setText(StudentMarkClick.getStunum());\n try{\n this.getStudent();\n }\n catch (IOException | SQLException e) {\n \n }\n }\n //searched for course\n else{\n CC.setText(StudentMarkClick.getCourse());\n try{\n this.getCourse();\n }\n catch (IOException | SQLException e) {\n \n } \n } \n }\n //CC or AS viewing overview\n else if (UI.EditCourseController.course !=null){\n \n CC.setText(UI.EditCourseController.course);\n System.out.println(UI.EditCourseController.course);\n SN.setVisible(false);\n CC.setVisible(false);\n searchSN.setVisible(false);\n searchCC.setVisible(false);\n \n try{\n this.getCourse();\n }\n catch (IOException | SQLException e) {\n\n }\n \n }\n \n }", "public void init() {\n\t\tlog.info(\"Initialise StudentDAO\");\n\t\tquery_getStudent = new Query_GetStudent(dataSource);\n\t\tquery_insertStudent = new Query_InsertStudent(dataSource);\n\t\tquery_getStudentId = new Query_GetStudentID(dataSource);\n\t\tquery_updateStudent = new Query_UpdateStudent(dataSource);\n\t\tquery_deleteStudent = new Query_DeleteStudent(dataSource);\n\t\tquery_getAllStudentsOrderMatnr = new Query_GetAllStudentsOrderMatnr(\n\t\t\t\tdataSource);\n\t\tquery_getAllStudentsOrderNachname = new Query_GetAllStudentsOrderNachname(\n\t\t\t\tdataSource);\n\t}", "public LandRYSettingPage() {\n initComponents();\n }", "@Override\n public void initialize(URL url, ResourceBundle rb) {\n // TODO\n setAllUsersInComboBox();\n viewUsers();\n setAllRolesInComboBox();\n }", "public AddBooks() {\r\n initComponents();\r\n }", "public Course(String codeNo, String title)\n {\n // initialise instance variables\n this.codeNo = codeNo;\n this.title = title;\n \n module1 = new Module(\"Programming Concepts\", \"CO452\");\n module2 = new Module(\"Game Design\", \"CO459\");\n module3 = new Module(\"Networking\", \"CO451\");\n module4 = new Module(\"Computer Architectures\", \"CO450\");\n }", "public void listOfCourses() {//admin cagirisa bulunna kurslarin hepsi\n if (Courses.size() != 0) {\n System.out.printf(\"%s kullanicisinin dersleri\\n\", this.getUsername());\n for (int i = 0; i < this.Courses.size(); ++i) {\n System.out.printf(\"%d-%s\\n\", i, Courses.get(i));\n }\n } else {\n System.out.printf(\"%s kullanicinin dersi yok\\n\", this.getUsername());\n }\n }", "public SelectContests() {\n initComponents();\n }", "protected void initialize() {\n\t\tthis.initializeFileMenu();\n\t\tthis.initializeEditMenu();\n\t\tthis.initializeNavigationMenu();\n\t\tthis.initializeHelpMenu();\n\t}", "@Override\n public void initialize(URL url, ResourceBundle resourceBundle) {\n String class_id = \"c123\";\n Class s_class = new Class(class_id);\n String[] courses = s_class.getClasses();\n for(int i=0; i<courses.length;i++) {\n list_id.getItems().add(courses[i]);\n }\n list_id.setPrefHeight(courses.length*41);\n }", "public void initialize(URL url, ResourceBundle resourceBundle) {\n createStuBTN.setOnAction(this::handleCreateStudentBTN);\n }", "public Admin() {\r\n initComponents();\r\n \r\n }", "@OnClick (R.id.create_course_btn)\n public void createCourse()\n {\n\n CourseData courseData = new CourseData();\n courseData.CreateCourse( getView() ,UserData.user.getId() ,courseName.getText().toString() , placeName.getText().toString() , instructor.getText().toString() , Integer.parseInt(price.getText().toString()), date.getText().toString() , descreption.getText().toString() ,location.getText().toString() , subField.getSelectedItem().toString() , field.getSelectedItem().toString());\n }", "private void selectCourses() {\n\t\tIntent intent = new Intent(this, ActivitySelectCourses.class);\n\t\tstartActivity(intent);\n\t}", "public HeaderSettingsPage()\n {\n initialize();\n }", "Student(String name) {\n\t\tthis.name = name;\n\t\tregisteredCourses = new Course[30];\n\t}", "public DesigningSec() {\n initComponents();\n }" ]
[ "0.73197144", "0.7302587", "0.6756744", "0.6666416", "0.6641635", "0.65840846", "0.6577076", "0.65501016", "0.64868546", "0.64097154", "0.6358573", "0.635538", "0.63534385", "0.63489", "0.6340184", "0.6330666", "0.6315807", "0.62995446", "0.62984204", "0.62897897", "0.622109", "0.6203567", "0.6187882", "0.6158834", "0.6146945", "0.61378217", "0.6117345", "0.6111907", "0.6090697", "0.6084572", "0.6079602", "0.60622793", "0.60502934", "0.60486", "0.60380036", "0.6020065", "0.60164106", "0.59937257", "0.59885484", "0.5981055", "0.59779596", "0.5955016", "0.59303385", "0.5925007", "0.5922426", "0.5917409", "0.59155554", "0.59092176", "0.5897579", "0.5890011", "0.58873194", "0.58818966", "0.5876628", "0.5874575", "0.58732766", "0.58623123", "0.5853626", "0.58504057", "0.5836642", "0.5834876", "0.58316433", "0.582634", "0.58216715", "0.5818225", "0.57978964", "0.5795447", "0.57883805", "0.57839555", "0.57827616", "0.5772514", "0.57696766", "0.5767868", "0.5766279", "0.5765801", "0.57657635", "0.576084", "0.5758034", "0.5754259", "0.5751266", "0.57504994", "0.5750031", "0.57465875", "0.5736478", "0.57358575", "0.57295793", "0.5722411", "0.5718392", "0.5717228", "0.57107306", "0.5709132", "0.57064664", "0.57058346", "0.5705807", "0.57052344", "0.57035106", "0.57025814", "0.56917167", "0.56886005", "0.5686236", "0.5683046" ]
0.67783034
2
This class was generated by Apache CXF 2.7.1SNAPSHOT 20121205T15:11:52.157+08:00 Generated source version: 2.7.1SNAPSHOT
@WebService(targetNamespace = "http://example.org/signature", name = "SignatureDocumentLiteral") @XmlSeeAlso({ ObjectFactory.class }) @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE) public interface SignatureDocumentLiteral { @WebResult(name = "SignatureOut", targetNamespace = "http://example.org/signature", partName = "SignatureOut") @Action(input = "http://example.org/action/SignatureInAlternate", output = "http://example.org/action/SignatureOutAlternate") @WebMethod(operationName = "Sign2", action = "http://example.org/action/SignatureInAlternate") public java.lang.String sign2(@WebParam(partName = "SignatureIn", name = "SignatureIn", targetNamespace = "http://example.org/signature") java.lang.String signatureIn); @WebResult(name = "SignatureOut", targetNamespace = "http://example.org/signature", partName = "SignatureOut") @Action(input = "http://example.org/action/SignatureInEmpty", output = "http://example.org/action/SignatureOutEmpty") @WebMethod(operationName = "Sign3", action = "http://example.org/action/SignatureInEmpty") public java.lang.String sign3(); @WebResult(name = "SignatureOut", targetNamespace = "http://example.org/signature", partName = "SignatureOut") @Action(input = "http://example.org/action/SignatureInAlternateEmpty", output = "http://example.org/action/SignatureOutAlternateEmpty") @WebMethod(operationName = "Sign4", action = "http://example.org/action/SignatureInAlternateEmpty") public java.lang.String sign4(); @WebResult(name = "SignatureOut", targetNamespace = "http://example.org/signature", partName = "SignatureOut") @Action(input = "http://example.org/action/SignatureInMultipart", output = "http://example.org/action/SignatureOutMultipart") @WebMethod(operationName = "Sign6", action = "http://example.org/action/SignatureInMultipart") public java.lang.String sign6(@WebParam(partName = "parameters", name = "SignatureInMultipartMessage", targetNamespace = "http://example.org/signature") SignatureInMultipartMessage parameters); @WebResult(name = "SignatureOut", targetNamespace = "http://example.org/signature", partName = "SignatureOut") @Action(input = "http://example.org/action/SignatureIn", output = "http://example.org/action/SignatureOut") @WebMethod(operationName = "Sign1", action = "http://example.org/action/SignatureIn") public java.lang.String sign1(@WebParam(partName = "SignatureIn", name = "SignatureIn", targetNamespace = "http://example.org/signature") java.lang.String signatureIn); @Action(input = "http://example.org/action/SignatureEmptyPartIn", output = "http://example.org/action/SignatureEmptyPartOut") @WebMethod(operationName = "Sign5", action = "http://example.org/action/SignatureEmptyPartIn") public void sign5(); @WebResult(name = "SignatureOutHeaderMember", targetNamespace = "http://example.org/signature", partName = "SignatureOutHeaderMember") @Action(input = "http://example.org/action/SignatureHeaderIn", output = "http://example.org/action/SignatureHeaderReply", fault = { @FaultAction(className = SignatureDocumentLiteralSign7SignatureHeaderFaultFaultMessage.class, value = "http://example.org/action/SignatureHeaderFault") }) @WebMethod(operationName = "Sign7", action = "http://example.org/action/SignatureHeaderIn") public java.lang.String sign7(@WebParam(partName = "SignatureInHeaderMember", name = "SignatureInHeaderMember", targetNamespace = "http://example.org/signature") java.lang.String signatureInHeaderMember, @WebParam(partName = "HeaderText", mode = WebParam.Mode.INOUT, name = "SignatureOutHeader", targetNamespace = "http://example.org/signature", header = true) javax.xml.ws.Holder<java.lang.String> headerText) throws SignatureDocumentLiteralSign7SignatureHeaderFaultFaultMessage; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@WebService(targetNamespace = \"http://demo.cxf.com/\", name = \"SampleService\")\n@XmlSeeAlso({ObjectFactory.class})\npublic interface SampleService {\n\n @WebMethod\n @RequestWrapper(localName = \"serviceMethod\", targetNamespace = \"http://demo.cxf.com/\", className = \"com.cxf.demo.sample.client.ServiceMethod\")\n @ResponseWrapper(localName = \"serviceMethodResponse\", targetNamespace = \"http://demo.cxf.com/\", className = \"com.cxf.demo.sample.client.ServiceMethodResponse\")\n @WebResult(name = \"return\", targetNamespace = \"\")\n public java.lang.String serviceMethod();\n}", "@WebService(targetNamespace = \"http://soap.sforce.com/2005/09/outbound\", name = \"NotificationPort\")\n@XmlSeeAlso({ObjectFactory.class})\npublic interface NotificationPort {\n\n /**\n * Process a number of notifications.\n */\n @WebResult(name = \"Ack\", targetNamespace = \"http://soap.sforce.com/2005/09/outbound\")\n @RequestWrapper(localName = \"notifications\", targetNamespace = \"http://soap.sforce.com/2005/09/outbound\", className = \"com.barryku.cloud.cxf.Notifications\")\n @WebMethod\n @ResponseWrapper(localName = \"notificationsResponse\", targetNamespace = \"http://soap.sforce.com/2005/09/outbound\", className = \"com.barryku.cloud.cxf.NotificationsResponse\")\n public boolean notifications(\n @WebParam(name = \"OrganizationId\", targetNamespace = \"http://soap.sforce.com/2005/09/outbound\")\n java.lang.String organizationId,\n @WebParam(name = \"ActionId\", targetNamespace = \"http://soap.sforce.com/2005/09/outbound\")\n java.lang.String actionId,\n @WebParam(name = \"SessionId\", targetNamespace = \"http://soap.sforce.com/2005/09/outbound\")\n java.lang.String sessionId,\n @WebParam(name = \"EnterpriseUrl\", targetNamespace = \"http://soap.sforce.com/2005/09/outbound\")\n java.lang.String enterpriseUrl,\n @WebParam(name = \"PartnerUrl\", targetNamespace = \"http://soap.sforce.com/2005/09/outbound\")\n java.lang.String partnerUrl,\n @WebParam(name = \"Notification\", targetNamespace = \"http://soap.sforce.com/2005/09/outbound\")\n java.util.List<com.barryku.cloud.cxf.BookCNotification> notification\n );\n}", "@WebService(targetNamespace = \"http://endpoint.apachecxf.soap.demo.uwefuchs.com/\", name = \"Baeldung\")\n@XmlSeeAlso({ObjectFactory.class})\npublic interface Baeldung {\n\n @WebMethod\n @RequestWrapper(localName = \"helloStudent\", targetNamespace = \"http://endpoint.apachecxf.soap.demo.uwefuchs.com/\", className = \"com.uwefuchs.demo.soap.apachecxf.endpoint.HelloStudent\")\n @ResponseWrapper(localName = \"helloStudentResponse\", targetNamespace = \"http://endpoint.apachecxf.soap.demo.uwefuchs.com/\", className = \"com.uwefuchs.demo.soap.apachecxf.endpoint.HelloStudentResponse\")\n @WebResult(name = \"return\", targetNamespace = \"\")\n public java.lang.String helloStudent(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n com.uwefuchs.demo.soap.apachecxf.endpoint.Student arg0\n );\n\n @WebMethod\n @RequestWrapper(localName = \"hello\", targetNamespace = \"http://endpoint.apachecxf.soap.demo.uwefuchs.com/\", className = \"com.uwefuchs.demo.soap.apachecxf.endpoint.Hello\")\n @ResponseWrapper(localName = \"helloResponse\", targetNamespace = \"http://endpoint.apachecxf.soap.demo.uwefuchs.com/\", className = \"com.uwefuchs.demo.soap.apachecxf.endpoint.HelloResponse\")\n @WebResult(name = \"return\", targetNamespace = \"\")\n public java.lang.String hello(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n java.lang.String arg0\n );\n\n @WebMethod\n @RequestWrapper(localName = \"getStudents\", targetNamespace = \"http://endpoint.apachecxf.soap.demo.uwefuchs.com/\", className = \"com.uwefuchs.demo.soap.apachecxf.endpoint.GetStudents\")\n @ResponseWrapper(localName = \"getStudentsResponse\", targetNamespace = \"http://endpoint.apachecxf.soap.demo.uwefuchs.com/\", className = \"com.uwefuchs.demo.soap.apachecxf.endpoint.GetStudentsResponse\")\n @WebResult(name = \"return\", targetNamespace = \"\")\n public com.uwefuchs.demo.soap.apachecxf.endpoint.StudentMap getStudents();\n}", "@WebService(targetNamespace = \"http://interfaces.webService.xxdai.com/\", name = \"BaseInfoCXFService\")\n@XmlSeeAlso({ObjectFactory.class})\npublic interface BaseInfoCXFService {\n\n @WebResult(name = \"return\", targetNamespace = \"\")\n @RequestWrapper(localName = \"alterBaseInfo\", targetNamespace = \"http://interfaces.webService.xxdai.com/\", className = \"com.xxdai.person.ws.baseinfo.AlterBaseInfo\")\n @WebMethod\n @ResponseWrapper(localName = \"alterBaseInfoResponse\", targetNamespace = \"http://interfaces.webService.xxdai.com/\", className = \"com.xxdai.person.ws.baseinfo.AlterBaseInfoResponse\")\n public java.lang.String alterBaseInfo(\n @WebParam(name = \"alterBaseInfoJson\", targetNamespace = \"\")\n java.lang.String alterBaseInfoJson\n );\n}", "@WebService(name = \"HelloService\", targetNamespace = \"http://soap_spring_cxf.ws.demo/\")\r\n@XmlSeeAlso({\r\n ObjectFactory.class\r\n})\r\npublic interface HelloService {\r\n\r\n\r\n /**\r\n * \r\n * @param name\r\n * @return\r\n * returns java.lang.String\r\n */\r\n @WebMethod\r\n @WebResult(targetNamespace = \"\")\r\n @RequestWrapper(localName = \"say\", targetNamespace = \"http://soap_spring_cxf.ws.demo/\", className = \"demo.ws.soap_spring_cxf.Say\")\r\n @ResponseWrapper(localName = \"sayResponse\", targetNamespace = \"http://soap_spring_cxf.ws.demo/\", className = \"demo.ws.soap_spring_cxf.SayResponse\")\r\n public String say(\r\n @WebParam(name = \"name\", targetNamespace = \"\")\r\n String name);\r\n\r\n}", "@WebService(name = \"CustomerSoapType\", targetNamespace = \"http://test.co.id/ws/customer/\")\n@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface CustomerSoapType {\n\n\n /**\n * Request All Customer\n * \n * @return\n * returns id.co.bca.ws.mbs.soap.customer.ListOfCustomerType\n */\n @WebMethod(operationName = \"GetAllCustomer\")\n @WebResult(name = \"GetAllCustomerResponse\", targetNamespace = \"http://test.co.id/ws/customer/\", partName = \"parameters\")\n public ListOfCustomerType getAllCustomer();\n\n /**\n * Insert Customer\n * \n * @param parameters\n * @return\n * returns java.lang.String\n */\n @WebMethod(operationName = \"InsertCustomer\")\n @WebResult(name = \"InsertCustomerResponse\", targetNamespace = \"http://test.co.id/ws/customer/\", partName = \"parameters\")\n public String insertCustomer(\n @WebParam(name = \"InsertCustomer\", targetNamespace = \"http://test.co.id/ws/customer/\", partName = \"parameters\")\n CustomerType parameters);\n\n}", "@WebService(targetNamespace = \"http://cxf.poc.ideo.com/\", name = \"OperationService\")\n@XmlSeeAlso({ObjectFactory.class})\n@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)\npublic interface OperationService {\n\n @WebResult(name = \"additionResponse\", targetNamespace = \"http://cxf.poc.ideo.com/\", partName = \"additionResponse\")\n @WebMethod\n public AdditionResponse addition(\n @WebParam(partName = \"additionRequest\", name = \"additionRequest\", targetNamespace = \"http://cxf.poc.ideo.com/\")\n AdditionRequest additionRequest\n );\n}", "@WebService(wsdlLocation=\"https://salescloud-hostname/crmCommonSalesParties/AccountService?WSDL\",\n targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/\",\n name=\"AccountService\")\n@XmlSeeAlso(\n { ObjectFactory.class })\npublic interface AccountService\n{\n @WebMethod(action=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/processCSAccount\")\n @Action(input=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/processCSAccount\", fault =\n { @FaultAction(value=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/AccountService/processCSAccount/Fault/ServiceException\",\n className = ServiceException.class) }, output=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/AccountService/processCSAccountResponse\")\n @ResponseWrapper(localName=\"processCSAccountResponse\", targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.ProcessCSAccountResponse\")\n @RequestWrapper(localName=\"processCSAccount\", targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.ProcessCSAccount\")\n @WebResult(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"result\")\n public ProcessData processCSAccount(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"processData\")\n ProcessData processData, @WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"processControl\")\n ProcessControl processControl)\n throws ServiceException;\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/processCSAccountAsync\")\n @Action(input=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/processCSAccountAsync\")\n @RequestWrapper(localName=\"processCSAccountAsync\", targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.ProcessCSAccountAsync\")\n @Oneway\n public void processCSAccountAsync(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"processData\")\n ProcessData processData, @WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"processControl\")\n ProcessControl processControl);\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/getDfltObjAttrHints\")\n @Action(input=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/getDfltObjAttrHints\", fault =\n { @FaultAction(value=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/AccountService/getDfltObjAttrHints/Fault/ServiceException\",\n className = ServiceException.class) }, output=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/AccountService/getDfltObjAttrHintsResponse\")\n @ResponseWrapper(localName=\"getDfltObjAttrHintsResponse\",\n targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.GetDfltObjAttrHintsResponse\")\n @RequestWrapper(localName=\"getDfltObjAttrHints\", targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.GetDfltObjAttrHints\")\n @WebResult(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"result\")\n public ObjAttrHints getDfltObjAttrHints(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"viewName\")\n String viewName, @WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"localeName\")\n String localeName)\n throws ServiceException;\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/getServiceLastUpdateTime\")\n @Action(input=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/getServiceLastUpdateTime\", fault =\n { @FaultAction(value=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/AccountService/getServiceLastUpdateTime/Fault/ServiceException\",\n className = ServiceException.class) }, output=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/AccountService/getServiceLastUpdateTimeResponse\")\n @ResponseWrapper(localName=\"getServiceLastUpdateTimeResponse\",\n targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.GetServiceLastUpdateTimeResponse\")\n @RequestWrapper(localName=\"getServiceLastUpdateTime\", targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.GetServiceLastUpdateTime\")\n @WebResult(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"result\")\n public XMLGregorianCalendar getServiceLastUpdateTime()\n throws ServiceException;\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/getEntityList\")\n @Action(input=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/getEntityList\", fault =\n { @FaultAction(value=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/AccountService/getEntityList/Fault/ServiceException\",\n className = ServiceException.class) }, output=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/AccountService/getEntityListResponse\")\n @ResponseWrapper(localName=\"getEntityListResponse\", targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.GetEntityListResponse\")\n @RequestWrapper(localName=\"getEntityList\", targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.GetEntityList\")\n @WebResult(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"result\")\n public List<ServiceViewInfo> getEntityList()\n throws ServiceException;\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/getEntityListAsync\")\n @Action(input=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/getEntityListAsync\")\n @RequestWrapper(localName=\"getEntityListAsync\", targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.GetEntityListAsync\")\n @Oneway\n public void getEntityListAsync();\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/getDfltObjAttrHintsAsync\")\n @Action(input=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/getDfltObjAttrHintsAsync\")\n @RequestWrapper(localName=\"getDfltObjAttrHintsAsync\", targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.GetDfltObjAttrHintsAsync\")\n @Oneway\n public void getDfltObjAttrHintsAsync(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"viewName\")\n String viewName, @WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"localeName\")\n String localeName);\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/getServiceLastUpdateTimeAsync\")\n @Action(input=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/getServiceLastUpdateTimeAsync\")\n @RequestWrapper(localName=\"getServiceLastUpdateTimeAsync\",\n targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.GetServiceLastUpdateTimeAsync\")\n @Oneway\n public void getServiceLastUpdateTimeAsync();\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/getAccount\")\n @Action(input=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/getAccount\", fault =\n { @FaultAction(value=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/AccountService/getAccount/Fault/ServiceException\",\n className = ServiceException.class) }, output=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/AccountService/getAccountResponse\")\n @ResponseWrapper(localName=\"getAccountResponse\", targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.GetAccountResponse\")\n @RequestWrapper(localName=\"getAccount\", targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.GetAccount\")\n @WebResult(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"result\")\n public DataObjectResult getAccount(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"PartyId\")\n long partyId)\n throws ServiceException;\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/createAccount\")\n @Action(input=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/createAccount\", fault =\n { @FaultAction(value=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/AccountService/createAccount/Fault/ServiceException\",\n className = ServiceException.class) }, output=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/AccountService/createAccountResponse\")\n @ResponseWrapper(localName=\"createAccountResponse\", targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.CreateAccountResponse\")\n @RequestWrapper(localName=\"createAccount\", targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.CreateAccount\")\n @WebResult(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"result\")\n public DataObjectResult createAccount(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"account\")\n Account account)\n throws ServiceException;\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/updateAccount\")\n @Action(input=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/updateAccount\", fault =\n { @FaultAction(value=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/AccountService/updateAccount/Fault/ServiceException\",\n className = ServiceException.class) }, output=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/AccountService/updateAccountResponse\")\n @ResponseWrapper(localName=\"updateAccountResponse\", targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.UpdateAccountResponse\")\n @RequestWrapper(localName=\"updateAccount\", targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.UpdateAccount\")\n @WebResult(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"result\")\n public DataObjectResult updateAccount(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"account\")\n Account account)\n throws ServiceException;\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/deleteAccount\")\n @Action(input=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/deleteAccount\", fault =\n { @FaultAction(value=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/AccountService/deleteAccount/Fault/ServiceException\",\n className = ServiceException.class) }, output=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/AccountService/deleteAccountResponse\")\n @ResponseWrapper(localName=\"deleteAccountResponse\", targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.DeleteAccountResponse\")\n @RequestWrapper(localName=\"deleteAccount\", targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.DeleteAccount\")\n @WebResult(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"result\")\n public MethodResult deleteAccount(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"account\")\n Account account)\n throws ServiceException;\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/mergeAccount\")\n @Action(input=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/mergeAccount\", fault =\n { @FaultAction(value=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/AccountService/mergeAccount/Fault/ServiceException\",\n className = ServiceException.class) }, output=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/AccountService/mergeAccountResponse\")\n @ResponseWrapper(localName=\"mergeAccountResponse\", targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.MergeAccountResponse\")\n @RequestWrapper(localName=\"mergeAccount\", targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.MergeAccount\")\n @WebResult(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"result\")\n public DataObjectResult mergeAccount(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"account\")\n Account account)\n throws ServiceException;\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/findAccount\")\n @Action(input=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/findAccount\", fault =\n { @FaultAction(value=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/AccountService/findAccount/Fault/ServiceException\",\n className = ServiceException.class) }, output=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/AccountService/findAccountResponse\")\n @ResponseWrapper(localName=\"findAccountResponse\", targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.FindAccountResponse\")\n @RequestWrapper(localName=\"findAccount\", targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.FindAccount\")\n @WebResult(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"result\")\n public DataObjectResult findAccount(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"findCriteria\")\n FindCriteria findCriteria, @WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"findControl\")\n FindControl findControl)\n throws ServiceException;\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/processAccount\")\n @Action(input=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/processAccount\", fault =\n { @FaultAction(value=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/AccountService/processAccount/Fault/ServiceException\",\n className = ServiceException.class) }, output=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/AccountService/processAccountResponse\")\n @ResponseWrapper(localName=\"processAccountResponse\", targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.ProcessAccountResponse\")\n @RequestWrapper(localName=\"processAccount\", targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.ProcessAccount\")\n @WebResult(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"result\")\n public DataObjectResult processAccount(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"changeOperation\")\n String changeOperation, @WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"account\")\n List<Account> account, @WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"processControl\")\n ProcessControl processControl)\n throws ServiceException;\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/findAccountAsync\")\n @Action(input=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/findAccountAsync\")\n @RequestWrapper(localName=\"findAccountAsync\", targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.FindAccountAsync\")\n @Oneway\n public void findAccountAsync(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"findCriteria\")\n FindCriteria findCriteria, @WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"findControl\")\n FindControl findControl);\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/updateAccountAsync\")\n @Action(input=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/updateAccountAsync\")\n @RequestWrapper(localName=\"updateAccountAsync\", targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.UpdateAccountAsync\")\n @Oneway\n public void updateAccountAsync(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"account\")\n Account account);\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/createAccountAsync\")\n @Action(input=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/createAccountAsync\")\n @RequestWrapper(localName=\"createAccountAsync\", targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.CreateAccountAsync\")\n @Oneway\n public void createAccountAsync(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"account\")\n Account account);\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/mergeAccountAsync\")\n @Action(input=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/mergeAccountAsync\")\n @RequestWrapper(localName=\"mergeAccountAsync\", targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.MergeAccountAsync\")\n @Oneway\n public void mergeAccountAsync(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"account\")\n Account account);\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/getAccountAsync\")\n @Action(input=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/getAccountAsync\")\n @RequestWrapper(localName=\"getAccountAsync\", targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.GetAccountAsync\")\n @Oneway\n public void getAccountAsync(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"PartyId\")\n long partyId);\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/processAccountAsync\")\n @Action(input=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/processAccountAsync\")\n @RequestWrapper(localName=\"processAccountAsync\", targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.ProcessAccountAsync\")\n @Oneway\n public void processAccountAsync(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"changeOperation\")\n String changeOperation, @WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"account\")\n List<Account> account, @WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"processControl\")\n ProcessControl processControl);\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/deleteAccountAsync\")\n @Action(input=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/deleteAccountAsync\")\n @RequestWrapper(localName=\"deleteAccountAsync\", targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.DeleteAccountAsync\")\n @Oneway\n public void deleteAccountAsync(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"account\")\n Account account);\n}", "@WebService(name = \"zperson_communic\", targetNamespace = \"urn:sap-com:document:sap:soap:functions:mc-style\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface ZpersonCommunic {\n\n\n /**\n * \n * @param employeeId\n * @param lastnameM\n * @param fstnameM\n * @param telAts\n * @param orgtxt\n * @param job\n * @param orgUnit\n * @param jobtxt\n * @param checkCommunities\n * @param outTab\n * @return\n * returns test.Bapireturn\n */\n @WebMethod(operationName = \"ZPersonalSearch\")\n @WebResult(name = \"Return\", targetNamespace = \"\")\n @RequestWrapper(localName = \"ZPersonalSearch\", targetNamespace = \"urn:sap-com:document:sap:soap:functions:mc-style\", className = \"test.ZPersonalSearch\")\n @ResponseWrapper(localName = \"ZPersonalSearchResponse\", targetNamespace = \"urn:sap-com:document:sap:soap:functions:mc-style\", className = \"test.ZPersonalSearchResponse\")\n public Bapireturn zPersonalSearch(\n @WebParam(name = \"CheckCommunities\", targetNamespace = \"\")\n String checkCommunities,\n @WebParam(name = \"EmployeeId\", targetNamespace = \"\")\n String employeeId,\n @WebParam(name = \"FstnameM\", targetNamespace = \"\")\n String fstnameM,\n @WebParam(name = \"Job\", targetNamespace = \"\")\n String job,\n @WebParam(name = \"Jobtxt\", targetNamespace = \"\")\n String jobtxt,\n @WebParam(name = \"LastnameM\", targetNamespace = \"\")\n String lastnameM,\n @WebParam(name = \"OrgUnit\", targetNamespace = \"\")\n String orgUnit,\n @WebParam(name = \"Orgtxt\", targetNamespace = \"\")\n String orgtxt,\n @WebParam(name = \"OutTab\", targetNamespace = \"\", mode = WebParam.Mode.INOUT)\n Holder<TableOfZpernComm> outTab,\n @WebParam(name = \"TelAts\", targetNamespace = \"\")\n String telAts);\n\n}", "@WebService(name = \"HelloWS\", targetNamespace = \"http://ws.proxy.devwithimagination.com/\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface HelloWS {\n\n\n /**\n * \n * @param arg0\n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getHello\", targetNamespace = \"http://ws.proxy.devwithimagination.com/\", className = \"com.devwithimagination.proxy.ws.one.GetHello\")\n @ResponseWrapper(localName = \"getHelloResponse\", targetNamespace = \"http://ws.proxy.devwithimagination.com/\", className = \"com.devwithimagination.proxy.ws.one.GetHelloResponse\")\n @Action(input = \"http://ws.proxy.devwithimagination.com/HelloWS/getHelloRequest\", output = \"http://ws.proxy.devwithimagination.com/HelloWS/getHelloResponse\")\n public String getHello(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n String arg0);\n\n /**\n * \n * @param arg0\n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getHelloWithAuth\", targetNamespace = \"http://ws.proxy.devwithimagination.com/\", className = \"com.devwithimagination.proxy.ws.one.GetHelloWithAuth\")\n @ResponseWrapper(localName = \"getHelloWithAuthResponse\", targetNamespace = \"http://ws.proxy.devwithimagination.com/\", className = \"com.devwithimagination.proxy.ws.one.GetHelloWithAuthResponse\")\n @Action(input = \"http://ws.proxy.devwithimagination.com/HelloWS/getHelloWithAuthRequest\", output = \"http://ws.proxy.devwithimagination.com/HelloWS/getHelloWithAuthResponse\")\n public String getHelloWithAuth(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n String arg0);\n\n}", "@WebService(targetNamespace = \"urn:sap-com:document:sap:rfc:functions\", name = \"ZSDRFC_AMC_CONTRACT_VALIDATION\")\n@XmlSeeAlso({ObjectFactory.class})\npublic interface ZSDRFCAMCCONTRACTVALIDATION {\n\n @WebMethod(operationName = \"ZSDRFC_AMC_CONTRACT_VALIDATION\", action = \"urn:sap-com:document:sap:rfc:functions:ZSDRFC_AMC_CONTRACT_VALIDATION:ZSDRFC_AMC_CONTRACT_VALIDATIONRequest\")\n @RequestWrapper(localName = \"ZSDRFC_AMC_CONTRACT_VALIDATION\", targetNamespace = \"urn:sap-com:document:sap:rfc:functions\", className = \"com.sap.document.sap.rfc.functions.ZSDRFCAMCCONTRACTVALIDATION_Type\")\n @ResponseWrapper(localName = \"ZSDRFC_AMC_CONTRACT_VALIDATIONResponse\", targetNamespace = \"urn:sap-com:document:sap:rfc:functions\", className = \"com.sap.document.sap.rfc.functions.ZSDRFCAMCCONTRACTVALIDATIONResponse\")\n public void zsdrfcAMCCONTRACTVALIDATION(\n @WebParam(name = \"CHASSIS_NO\", targetNamespace = \"\")\n java.lang.String chassisNO,\n @WebParam(name = \"CHASSIS_PL\", targetNamespace = \"\")\n java.lang.String chassisPL,\n @WebParam(name = \"CONTRACT_NO\", targetNamespace = \"\")\n java.lang.String contractNO,\n @WebParam(name = \"CRM_SALE_DATE\", targetNamespace = \"\")\n java.lang.String crmSALEDATE,\n @WebParam(mode = WebParam.Mode.INOUT, name = \"IT_AMC\", targetNamespace = \"\")\n javax.xml.ws.Holder<TABLEOFZSDAMCLINEITEM> itAMC,\n @WebParam(name = \"KMS\", targetNamespace = \"\")\n int kms,\n @WebParam(mode = WebParam.Mode.OUT, name = \"REMARKS\", targetNamespace = \"\")\n javax.xml.ws.Holder<java.lang.String> remarks\n );\n}", "@WebService(name = \"DocumentValidationSchemaService\", targetNamespace = \"http://schema.validation.doc.jaxws.invoice.samples.integ.softfly.pl/\")\n@XmlSeeAlso({\n pl.softfly.integ.doc.entity.ObjectFactory.class,\n pl.softfly.integ.endpoint.entity.ObjectFactory.class,\n pl.softfly.integ.entity.ObjectFactory.class,\n pl.softfly.integ.samples.invoice.jaxws.doc.validation.schema.ObjectFactory.class,\n pl.softfly.integ.shipment.entity.ObjectFactory.class\n})\npublic interface DocumentValidationSchemaService {\n\n\n /**\n * @param arg0\n * @return returns pl.softfly.integ.doc.entity.DocumentHeader\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"validate\", targetNamespace = \"http://schema.validation.doc.jaxws.invoice.samples.integ.softfly.pl/\", className = \"pl.softfly.integ.samples.invoice.jaxws.doc.validation.schema.Validate\")\n @ResponseWrapper(localName = \"validateResponse\", targetNamespace = \"http://schema.validation.doc.jaxws.invoice.samples.integ.softfly.pl/\", className = \"pl.softfly.integ.samples.invoice.jaxws.doc.validation.schema.ValidateResponse\")\n public DocumentHeader validate(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n DocumentHeader arg0);\n\n}", "@WebService(targetNamespace = \"http://ws.integration.pizzashack.nz.co/\", name = \"BillingProcessWebServices\")\n@XmlSeeAlso({ObjectFactory.class})\npublic interface BillingProcessWebServices {\n\n @WebResult(name = \"return\", targetNamespace = \"\")\n @RequestWrapper(localName = \"billingProcess\", targetNamespace = \"http://ws.integration.pizzashack.nz.co/\", className = \"co.nz.pizzashack.client.integration.ws.client.stub.BillingProcess\")\n @WebMethod\n @ResponseWrapper(localName = \"billingProcessResponse\", targetNamespace = \"http://ws.integration.pizzashack.nz.co/\", className = \"co.nz.pizzashack.client.integration.ws.client.stub.BillingProcessResponse\")\n public co.nz.pizzashack.client.integration.ws.client.stub.BillingResponse billingProcess(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n co.nz.pizzashack.client.integration.ws.client.stub.BillingDto arg0\n ) throws FaultMessage;\n}", "@WebService(targetNamespace = \"http://webservice.question.xxdai.com/\", name = \"QuestionCXFService\")\n@XmlSeeAlso({ObjectFactory.class})\npublic interface QuestionCXFService {\n\n @WebResult(name = \"return\", targetNamespace = \"\")\n @RequestWrapper(localName = \"saveUseQuestionAnswer\", targetNamespace = \"http://webservice.question.xxdai.com/\", className = \"com.xxdai.external.question.ws.SaveUseQuestionAnswer\")\n @WebMethod\n @ResponseWrapper(localName = \"saveUseQuestionAnswerResponse\", targetNamespace = \"http://webservice.question.xxdai.com/\", className = \"com.xxdai.external.question.ws.SaveUseQuestionAnswerResponse\")\n public java.lang.String saveUseQuestionAnswer(\n @WebParam(name = \"jsonstring\", targetNamespace = \"\")\n java.lang.String jsonstring\n );\n\n @WebResult(name = \"return\", targetNamespace = \"\")\n @RequestWrapper(localName = \"queryQuestionNaire\", targetNamespace = \"http://webservice.question.xxdai.com/\", className = \"com.xxdai.external.question.ws.QueryQuestionNaire\")\n @WebMethod\n @ResponseWrapper(localName = \"queryQuestionNaireResponse\", targetNamespace = \"http://webservice.question.xxdai.com/\", className = \"com.xxdai.external.question.ws.QueryQuestionNaireResponse\")\n public java.lang.String queryQuestionNaire(\n @WebParam(name = \"jsonstring\", targetNamespace = \"\")\n java.lang.String jsonstring\n );\n\n @WebResult(name = \"return\", targetNamespace = \"\")\n @RequestWrapper(localName = \"saveQuestionUser\", targetNamespace = \"http://webservice.question.xxdai.com/\", className = \"com.xxdai.external.question.ws.SaveQuestionUser\")\n @WebMethod\n @ResponseWrapper(localName = \"saveQuestionUserResponse\", targetNamespace = \"http://webservice.question.xxdai.com/\", className = \"com.xxdai.external.question.ws.SaveQuestionUserResponse\")\n public java.lang.String saveQuestionUser(\n @WebParam(name = \"jsonstring\", targetNamespace = \"\")\n java.lang.String jsonstring\n );\n\n @WebResult(name = \"return\", targetNamespace = \"\")\n @RequestWrapper(localName = \"queryQuestion\", targetNamespace = \"http://webservice.question.xxdai.com/\", className = \"com.xxdai.external.question.ws.QueryQuestion\")\n @WebMethod\n @ResponseWrapper(localName = \"queryQuestionResponse\", targetNamespace = \"http://webservice.question.xxdai.com/\", className = \"com.xxdai.external.question.ws.QueryQuestionResponse\")\n public java.lang.String queryQuestion(\n @WebParam(name = \"jsonstring\", targetNamespace = \"\")\n java.lang.String jsonstring\n );\n\n @WebResult(name = \"return\", targetNamespace = \"\")\n @RequestWrapper(localName = \"queryNaireByCode\", targetNamespace = \"http://webservice.question.xxdai.com/\", className = \"com.xxdai.external.question.ws.QueryNaireByCode\")\n @WebMethod\n @ResponseWrapper(localName = \"queryNaireByCodeResponse\", targetNamespace = \"http://webservice.question.xxdai.com/\", className = \"com.xxdai.external.question.ws.QueryNaireByCodeResponse\")\n public java.lang.String queryNaireByCode(\n @WebParam(name = \"jsonstring\", targetNamespace = \"\")\n java.lang.String jsonstring\n );\n}", "@WebService(targetNamespace = \"http://tempuri.org/\", name = \"WebService1Soap\")\r\n@XmlSeeAlso({ObjectFactory.class})\r\npublic interface WebService1Soap {\r\n\r\n @WebResult(name = \"SendMessageResult\", targetNamespace = \"http://tempuri.org/\")\r\n @RequestWrapper(localName = \"SendMessage\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.SendMessage\")\r\n @WebMethod(operationName = \"SendMessage\", action = \"http://tempuri.org/SendMessage\")\r\n @ResponseWrapper(localName = \"SendMessageResponse\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.SendMessageResponse\")\r\n public java.lang.String sendMessage(\r\n @WebParam(name = \"strConnectorName\", targetNamespace = \"http://tempuri.org/\")\r\n java.lang.String strConnectorName,\r\n @WebParam(name = \"strDisServerHost\", targetNamespace = \"http://tempuri.org/\")\r\n java.lang.String strDisServerHost,\r\n @WebParam(name = \"strMessage\", targetNamespace = \"http://tempuri.org/\")\r\n java.lang.String strMessage,\r\n @WebParam(name = \"strMessageType\", targetNamespace = \"http://tempuri.org/\")\r\n java.lang.String strMessageType,\r\n @WebParam(name = \"strMessageSchema\", targetNamespace = \"http://tempuri.org/\")\r\n java.lang.String strMessageSchema,\r\n @WebParam(name = \"strNull\", targetNamespace = \"http://tempuri.org/\")\r\n java.lang.String strNull\r\n );\r\n}", "@WebService(targetNamespace = \"http://webservice.account.xxdai.com/\", name = \"AccountQueryCXFService\")\n@XmlSeeAlso({ObjectFactory.class})\npublic interface AccountQueryCXFService {\n\n @WebResult(name = \"return\", targetNamespace = \"\")\n @RequestWrapper(localName = \"selectAccountLog2ByIdAndType\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.SelectAccountLog2ByIdAndType\")\n @WebMethod\n @ResponseWrapper(localName = \"selectAccountLog2ByIdAndTypeResponse\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.SelectAccountLog2ByIdAndTypeResponse\")\n public java.lang.String selectAccountLog2ByIdAndType(\n @WebParam(name = \"param\", targetNamespace = \"\")\n java.lang.String param\n );\n\n @WebResult(name = \"return\", targetNamespace = \"\")\n @RequestWrapper(localName = \"selectMoneyRecord\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.SelectMoneyRecord\")\n @WebMethod\n @ResponseWrapper(localName = \"selectMoneyRecordResponse\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.SelectMoneyRecordResponse\")\n public java.lang.String selectMoneyRecord(\n @WebParam(name = \"param\", targetNamespace = \"\")\n java.lang.String param\n );\n\n @WebResult(name = \"return\", targetNamespace = \"\")\n @RequestWrapper(localName = \"selectAccountByIdAndType\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.SelectAccountByIdAndType\")\n @WebMethod\n @ResponseWrapper(localName = \"selectAccountByIdAndTypeResponse\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.SelectAccountByIdAndTypeResponse\")\n public java.lang.String selectAccountByIdAndType(\n @WebParam(name = \"param\", targetNamespace = \"\")\n java.lang.String param\n );\n\n @WebResult(name = \"return\", targetNamespace = \"\")\n @RequestWrapper(localName = \"increaseAccountUsable\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.IncreaseAccountUsable\")\n @WebMethod\n @ResponseWrapper(localName = \"increaseAccountUsableResponse\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.IncreaseAccountUsableResponse\")\n public java.lang.String increaseAccountUsable(\n @WebParam(name = \"param\", targetNamespace = \"\")\n java.lang.String param\n );\n\n @WebResult(name = \"return\", targetNamespace = \"\")\n @RequestWrapper(localName = \"counttMoneyRecord\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.CounttMoneyRecord\")\n @WebMethod\n @ResponseWrapper(localName = \"counttMoneyRecordResponse\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.CounttMoneyRecordResponse\")\n public java.lang.String counttMoneyRecord(\n @WebParam(name = \"param\", targetNamespace = \"\")\n java.lang.String param\n );\n\n @WebResult(name = \"return\", targetNamespace = \"\")\n @RequestWrapper(localName = \"freezeAccount\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.FreezeAccount\")\n @WebMethod\n @ResponseWrapper(localName = \"freezeAccountResponse\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.FreezeAccountResponse\")\n public java.lang.String freezeAccount(\n @WebParam(name = \"param\", targetNamespace = \"\")\n java.lang.String param\n );\n\n @WebResult(name = \"return\", targetNamespace = \"\")\n @RequestWrapper(localName = \"coinExchange\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.CoinExchange\")\n @WebMethod\n @ResponseWrapper(localName = \"coinExchangeResponse\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.CoinExchangeResponse\")\n public java.lang.String coinExchange(\n @WebParam(name = \"param\", targetNamespace = \"\")\n java.lang.String param\n );\n\n @WebResult(name = \"return\", targetNamespace = \"\")\n @RequestWrapper(localName = \"selectOverdueRepaymentByUserId\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.SelectOverdueRepaymentByUserId\")\n @WebMethod\n @ResponseWrapper(localName = \"selectOverdueRepaymentByUserIdResponse\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.SelectOverdueRepaymentByUserIdResponse\")\n public java.lang.String selectOverdueRepaymentByUserId(\n @WebParam(name = \"param\", targetNamespace = \"\")\n java.lang.String param\n );\n\n @WebResult(name = \"return\", targetNamespace = \"\")\n @RequestWrapper(localName = \"getAccountLogSum\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.GetAccountLogSum\")\n @WebMethod\n @ResponseWrapper(localName = \"getAccountLogSumResponse\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.GetAccountLogSumResponse\")\n public java.lang.String getAccountLogSum(\n @WebParam(name = \"param\", targetNamespace = \"\")\n java.lang.String param\n );\n\n @WebResult(name = \"return\", targetNamespace = \"\")\n @RequestWrapper(localName = \"selectUserAccountAndCoupon\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.SelectUserAccountAndCoupon\")\n @WebMethod\n @ResponseWrapper(localName = \"selectUserAccountAndCouponResponse\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.SelectUserAccountAndCouponResponse\")\n public java.lang.String selectUserAccountAndCoupon(\n @WebParam(name = \"param\", targetNamespace = \"\")\n java.lang.String param\n );\n\n @WebResult(name = \"return\", targetNamespace = \"\")\n @RequestWrapper(localName = \"selectPageAccountMoneyRecord\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.SelectPageAccountMoneyRecord\")\n @WebMethod\n @ResponseWrapper(localName = \"selectPageAccountMoneyRecordResponse\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.SelectPageAccountMoneyRecordResponse\")\n public java.lang.String selectPageAccountMoneyRecord(\n @WebParam(name = \"param\", targetNamespace = \"\")\n java.lang.String param\n );\n\n @WebResult(name = \"return\", targetNamespace = \"\")\n @RequestWrapper(localName = \"selectSixAccountLogByUserId\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.SelectSixAccountLogByUserId\")\n @WebMethod\n @ResponseWrapper(localName = \"selectSixAccountLogByUserIdResponse\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.SelectSixAccountLogByUserIdResponse\")\n public java.lang.String selectSixAccountLogByUserId(\n @WebParam(name = \"param\", targetNamespace = \"\")\n java.lang.String param\n );\n\n @WebResult(name = \"return\", targetNamespace = \"\")\n @RequestWrapper(localName = \"queryLevelLogList\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.QueryLevelLogList\")\n @WebMethod\n @ResponseWrapper(localName = \"queryLevelLogListResponse\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.QueryLevelLogListResponse\")\n public java.lang.String queryLevelLogList(\n @WebParam(name = \"param\", targetNamespace = \"\")\n java.lang.String param\n );\n\n @WebResult(name = \"return\", targetNamespace = \"\")\n @RequestWrapper(localName = \"getAccountSum\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.GetAccountSum\")\n @WebMethod\n @ResponseWrapper(localName = \"getAccountSumResponse\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.GetAccountSumResponse\")\n public java.lang.String getAccountSum(\n @WebParam(name = \"param\", targetNamespace = \"\")\n java.lang.String param\n );\n\n @WebResult(name = \"return\", targetNamespace = \"\")\n @RequestWrapper(localName = \"saveAccountLog\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.SaveAccountLog\")\n @WebMethod\n @ResponseWrapper(localName = \"saveAccountLogResponse\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.SaveAccountLogResponse\")\n public java.lang.String saveAccountLog(\n @WebParam(name = \"param\", targetNamespace = \"\")\n java.lang.String param\n );\n\n @WebResult(name = \"return\", targetNamespace = \"\")\n @RequestWrapper(localName = \"selectAccountLogByUserId\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.SelectAccountLogByUserId\")\n @WebMethod\n @ResponseWrapper(localName = \"selectAccountLogByUserIdResponse\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.SelectAccountLogByUserIdResponse\")\n public java.lang.String selectAccountLogByUserId(\n @WebParam(name = \"param\", targetNamespace = \"\")\n java.lang.String param\n );\n\n @WebResult(name = \"return\", targetNamespace = \"\")\n @RequestWrapper(localName = \"selectIsUserOverdue\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.SelectIsUserOverdue\")\n @WebMethod\n @ResponseWrapper(localName = \"selectIsUserOverdueResponse\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.SelectIsUserOverdueResponse\")\n public java.lang.String selectIsUserOverdue(\n @WebParam(name = \"param\", targetNamespace = \"\")\n java.lang.String param\n );\n}", "@WebService(targetNamespace = \"http://www.nortel.com/soa/oi/cct/RoutePointConnectionService\", name = \"RoutePointConnectionService\")\r\n@XmlSeeAlso({com.nortel.soa.oi.cct.types.routepointconnectionservice.ObjectFactory.class, com.nortel.soa.oi.cct.faults.ObjectFactory.class, com.nortel.soa.oi.cct.types.ObjectFactory.class, org.xmlsoap.schemas.ws._2003._03.addressing.ObjectFactory.class, org.oasis_open.docs.wsrf._2004._06.wsrf_ws_basefaults_1_2_draft_01.ObjectFactory.class})\r\n@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)\r\npublic interface RoutePointConnectionService {\r\n\r\n @WebMethod(operationName = \"RoutePointRetrieve\", action = \"http://www.nortel.com/soa/oi/cct/RoutePointConnectionService/RoutePointRetrieve\")\r\n public void routePointRetrieve(\r\n @WebParam(partName = \"parameters\", name = \"RoutePointRetrieveRequest\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/RoutePointConnectionService\")\r\n com.nortel.soa.oi.cct.types.routepointconnectionservice.RoutePointRetrieveRequest parameters\r\n ) throws RoutePointRetrieveException, SessionNotCreatedException;\r\n\r\n @WebResult(name = \"GetVersionResponse\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/RoutePointConnectionService\", partName = \"response\")\r\n @WebMethod(operationName = \"GetVersion\", action = \"http://www.nortel.com/soa/oi/cct/RoutePointConnectionService/GetVersion\")\r\n public com.nortel.soa.oi.cct.types.GetVersionResponse getVersion(\r\n @WebParam(partName = \"parameters\", name = \"GetVersionRequest\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/RoutePointConnectionService\")\r\n com.nortel.soa.oi.cct.types.GetVersionRequest parameters\r\n ) throws GetVersionException, SessionNotCreatedException;\r\n\r\n @WebResult(name = \"GetCapabilitiesResponse\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/RoutePointConnectionService\", partName = \"response\")\r\n @WebMethod(operationName = \"GetCapabilities\", action = \"http://www.nortel.com/soa/oi/cct/RoutePointConnectionService/GetCapabilities\")\r\n public com.nortel.soa.oi.cct.types.routepointconnectionservice.ConnectionCapabilitiesResponse getCapabilities(\r\n @WebParam(partName = \"parameters\", name = \"GetCapabilitiesRequest\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/RoutePointConnectionService\")\r\n com.nortel.soa.oi.cct.types.routepointconnectionservice.ConnectionRequest parameters\r\n ) throws GetCapabilitiesException, SessionNotCreatedException;\r\n\r\n @WebResult(name = \"RouteResponse\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/RoutePointConnectionService\", partName = \"result\")\r\n @WebMethod(operationName = \"Route\", action = \"http://www.nortel.com/soa/oi/cct/RoutePointConnectionService/Route\")\r\n public com.nortel.soa.oi.cct.types.routepointconnectionservice.RouteResponse route(\r\n @WebParam(partName = \"parameters\", name = \"RouteRequest\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/RoutePointConnectionService\")\r\n com.nortel.soa.oi.cct.types.routepointconnectionservice.RouteRequest parameters\r\n ) throws RouteException, SessionNotCreatedException;\r\n\r\n @WebResult(name = \"GiveMediaTreatmentResponse\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/RoutePointConnectionService\", partName = \"response\")\r\n @WebMethod(operationName = \"GiveMediaTreatment\", action = \"http://www.nortel.com/soa/oi/cct/RoutePointConnectionService/GiveMediaTreatment\")\r\n public com.nortel.soa.oi.cct.types.routepointconnectionservice.GiveMediaTreatmentResponse giveMediaTreatment(\r\n @WebParam(partName = \"parameters\", name = \"GiveMediaTreatmentRequest\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/RoutePointConnectionService\")\r\n com.nortel.soa.oi.cct.types.routepointconnectionservice.GiveMediaTreatmentRequest parameters\r\n ) throws GiveMediaTreatmentException, SessionNotCreatedException;\r\n}", "@WebService(name = \"wsFoo\", targetNamespace = \"http://helloworldws.yv84.me/\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface WsFoo {\n\n\n /**\n * \n * @param arg0\n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getEcho\", targetNamespace = \"http://helloworldws.yv84.me/\", className = \"me.yv84.helloworldws.GetEcho\")\n @ResponseWrapper(localName = \"getEchoResponse\", targetNamespace = \"http://helloworldws.yv84.me/\", className = \"me.yv84.helloworldws.GetEchoResponse\")\n @Action(input = \"http://helloworldws.yv84.me/wsFoo/getEchoRequest\", output = \"http://helloworldws.yv84.me/wsFoo/getEchoResponse\")\n public String getEcho(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n String arg0);\n\n /**\n * \n * @return\n * returns java.util.List<java.lang.String>\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getList\", targetNamespace = \"http://helloworldws.yv84.me/\", className = \"me.yv84.helloworldws.GetList\")\n @ResponseWrapper(localName = \"getListResponse\", targetNamespace = \"http://helloworldws.yv84.me/\", className = \"me.yv84.helloworldws.GetListResponse\")\n @Action(input = \"http://helloworldws.yv84.me/wsFoo/getListRequest\", output = \"http://helloworldws.yv84.me/wsFoo/getListResponse\")\n public List<String> getList();\n\n}", "@WebService(targetNamespace = \"http://iso8583.org/payload\", name = \"CoreServicePortType\")\n@XmlSeeAlso({ObjectFactory.class, org.team5.bank.core.server.service.model.xsd.ObjectFactory.class})\npublic interface CoreServicePortType {\n\n @WebResult(name = \"return\", targetNamespace = \"http://iso8583.org/payload\")\n @Action(input = \"urn:getTransactionHistory\", output = \"urn:getTransactionHistoryResponse\")\n @RequestWrapper(localName = \"getTransactionHistory\", targetNamespace = \"http://iso8583.org/payload\", className = \"org.iso8583.payload.GetTransactionHistory\")\n @WebMethod(action = \"urn:getTransactionHistory\")\n @ResponseWrapper(localName = \"getTransactionHistoryResponse\", targetNamespace = \"http://iso8583.org/payload\", className = \"org.iso8583.payload.GetTransactionHistoryResponse\")\n public java.util.List<org.team5.bank.core.server.service.model.xsd.Transaction> getTransactionHistory(\n @WebParam(name = \"accountNo\", targetNamespace = \"http://iso8583.org/payload\")\n java.lang.String accountNo\n );\n\n @WebResult(name = \"return\", targetNamespace = \"http://iso8583.org/payload\")\n @Action(input = \"urn:getBalance\", output = \"urn:getBalanceResponse\")\n @RequestWrapper(localName = \"getBalance\", targetNamespace = \"http://iso8583.org/payload\", className = \"org.iso8583.payload.GetBalance\")\n @WebMethod(action = \"urn:getBalance\")\n @ResponseWrapper(localName = \"getBalanceResponse\", targetNamespace = \"http://iso8583.org/payload\", className = \"org.iso8583.payload.GetBalanceResponse\")\n public java.lang.String getBalance(\n @WebParam(name = \"accountNo\", targetNamespace = \"http://iso8583.org/payload\")\n java.lang.String accountNo\n );\n\n @WebResult(name = \"return\", targetNamespace = \"http://iso8583.org/payload\")\n @Action(input = \"urn:getAccount\", output = \"urn:getAccountResponse\")\n @RequestWrapper(localName = \"getAccount\", targetNamespace = \"http://iso8583.org/payload\", className = \"org.iso8583.payload.GetAccount\")\n @WebMethod(action = \"urn:getAccount\")\n @ResponseWrapper(localName = \"getAccountResponse\", targetNamespace = \"http://iso8583.org/payload\", className = \"org.iso8583.payload.GetAccountResponse\")\n public org.team5.bank.core.server.service.model.xsd.Account getAccount(\n @WebParam(name = \"userId\", targetNamespace = \"http://iso8583.org/payload\")\n java.lang.Long userId\n );\n\n @WebResult(name = \"return\", targetNamespace = \"http://iso8583.org/payload\")\n @Action(input = \"urn:withdraw\", output = \"urn:withdrawResponse\")\n @RequestWrapper(localName = \"withdraw\", targetNamespace = \"http://iso8583.org/payload\", className = \"org.iso8583.payload.Withdraw\")\n @WebMethod(action = \"urn:withdraw\")\n @ResponseWrapper(localName = \"withdrawResponse\", targetNamespace = \"http://iso8583.org/payload\", className = \"org.iso8583.payload.WithdrawResponse\")\n public org.team5.bank.core.server.service.model.xsd.TransactionResponse withdraw(\n @WebParam(name = \"accountNo\", targetNamespace = \"http://iso8583.org/payload\")\n java.lang.String accountNo,\n @WebParam(name = \"amount\", targetNamespace = \"http://iso8583.org/payload\")\n java.lang.Double amount\n );\n\n @WebResult(name = \"return\", targetNamespace = \"http://iso8583.org/payload\")\n @Action(input = \"urn:fundTransfer\", output = \"urn:fundTransferResponse\")\n @RequestWrapper(localName = \"fundTransfer\", targetNamespace = \"http://iso8583.org/payload\", className = \"org.iso8583.payload.FundTransfer\")\n @WebMethod(action = \"urn:fundTransfer\")\n @ResponseWrapper(localName = \"fundTransferResponse\", targetNamespace = \"http://iso8583.org/payload\", className = \"org.iso8583.payload.FundTransferResponse\")\n public org.team5.bank.core.server.service.model.xsd.TransactionResponse fundTransfer(\n @WebParam(name = \"from\", targetNamespace = \"http://iso8583.org/payload\")\n java.lang.String from,\n @WebParam(name = \"to\", targetNamespace = \"http://iso8583.org/payload\")\n java.lang.String to,\n @WebParam(name = \"amount\", targetNamespace = \"http://iso8583.org/payload\")\n java.lang.Double amount\n );\n\n @WebResult(name = \"return\", targetNamespace = \"http://iso8583.org/payload\")\n @Action(input = \"urn:deposit\", output = \"urn:depositResponse\")\n @RequestWrapper(localName = \"deposit\", targetNamespace = \"http://iso8583.org/payload\", className = \"org.iso8583.payload.Deposit\")\n @WebMethod(action = \"urn:deposit\")\n @ResponseWrapper(localName = \"depositResponse\", targetNamespace = \"http://iso8583.org/payload\", className = \"org.iso8583.payload.DepositResponse\")\n public org.team5.bank.core.server.service.model.xsd.TransactionResponse deposit(\n @WebParam(name = \"accountNo\", targetNamespace = \"http://iso8583.org/payload\")\n java.lang.String accountNo,\n @WebParam(name = \"amount\", targetNamespace = \"http://iso8583.org/payload\")\n java.lang.Double amount\n );\n}", "@WebService(name = \"ZWSVUR_UPDSTATUS\", targetNamespace = \"urn:sap-com:document:sap:rfc:functions\")\r\npublic interface ZWSVURUPDSTATUS {\r\n\r\n\r\n /**\r\n * \r\n * @param iNROLIQ\r\n * @param eRETURN\r\n * @param iESTADO\r\n * @param eMESSAGE\r\n */\r\n @WebMethod(operationName = \"ZPSCDFM_VUR_UPDSTATUS\")\r\n @RequestWrapper(localName = \"ZPSCDFM_VUR_UPDSTATUS\", targetNamespace = \"urn:sap-com:document:sap:rfc:functions\", className = \"co.com.realtech.mariner.model.ejb.ws.sap.mappers.vur_updstatus.ZPSCDFMVURUPDSTATUS\")\r\n @ResponseWrapper(localName = \"ZPSCDFM_VUR_UPDSTATUSResponse\", targetNamespace = \"urn:sap-com:document:sap:rfc:functions\", className = \"co.com.realtech.mariner.model.ejb.ws.sap.mappers.vur_updstatus.ZPSCDFMVURUPDSTATUSResponse\")\r\n public void zpscdfmVURUPDSTATUS(\r\n @WebParam(name = \"I_ESTADO\", targetNamespace = \"\")\r\n String iESTADO,\r\n @WebParam(name = \"I_NROLIQ\", targetNamespace = \"\")\r\n String iNROLIQ,\r\n @WebParam(name = \"E_MESSAGE\", targetNamespace = \"\", mode = WebParam.Mode.OUT)\r\n Holder<String> eMESSAGE,\r\n @WebParam(name = \"E_RETURN\", targetNamespace = \"\", mode = WebParam.Mode.OUT)\r\n Holder<Integer> eRETURN);\r\n\r\n}", "@WebService(name = \"infra_PortType\", targetNamespace = PepConfig.TARGET_NAMESPACE)\n@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)\n@XmlSeeAlso({\n sk.gov.ekolky.estamp.fo10.nominal.ObjectFactory.class,\n sk.gov.ekolky.estamp.fo10.aponet.ObjectFactory.class,\n sk.gov.ekolky.estamp.fo10.assessment.ObjectFactory.class,\n sk.gov.ekolky.estamp.fo10.ObjectFactory.class,\n sk.gov.ekolky.estamp.fo10.cashdesk.ObjectFactory.class,\n sk.gov.ekolky.estamp.fo10.infra.ObjectFactory.class,\n sk.gov.ekolky.estamp.xsd10.ObjectFactory.class,\n com.jump_soft.estamp.fo10.common.ObjectFactory.class,\n sk.gov.ekolky.estamp.fo10.estamp.ObjectFactory.class\n})\npublic interface InfraPortType {\n\n\n /**\n * \n * @param parameters\n * @return\n * returns sk.gov.ekolky.estamp.fo10.infra.IncidentRegisterResponse\n * @throws BloxFaultMessage\n */\n @WebMethod\n @WebResult(name = \"incidentRegisterResponse\", targetNamespace = PepConfig.TARGET_NAMESPACE, partName = \"parameters\")\n public IncidentRegisterResponse incidentRegister(\n @WebParam(name = \"incidentRegisterRequest\", targetNamespace = PepConfig.TARGET_NAMESPACE, partName = \"parameters\")\n IncidentRegisterRequest parameters)\n throws BloxFaultMessage\n ;\n\n /**\n * \n * @param parameters\n * @return\n * returns sk.gov.ekolky.estamp.fo10.infra.DeviceStateCheckResponse\n * @throws BloxFaultMessage\n */\n @WebMethod\n @WebResult(name = \"deviceStateCheckResponse\", targetNamespace = PepConfig.TARGET_NAMESPACE, partName = \"parameters\")\n public DeviceStateCheckResponse deviceStateCheck(\n @WebParam(name = \"deviceStateCheckRequest\", targetNamespace = PepConfig.TARGET_NAMESPACE, partName = \"parameters\")\n DeviceStateCheckRequest parameters)\n throws BloxFaultMessage\n ;\n\n /**\n * \n * @param parameters\n * @return\n * returns sk.gov.ekolky.estamp.fo10.infra.ListParameterResponse\n * @throws BloxFaultMessage\n */\n @WebMethod\n @WebResult(name = \"listParameterResponse\", targetNamespace = PepConfig.TARGET_NAMESPACE, partName = \"parameters\")\n public ListParameterResponse listParameter(\n @WebParam(name = \"listParameterRequest\", targetNamespace = PepConfig.TARGET_NAMESPACE, partName = \"parameters\")\n ListParameterRequest parameters)\n throws BloxFaultMessage\n ;\n\n /**\n * \n * @param parameters\n * @return\n * returns sk.gov.ekolky.estamp.fo10.infra.ListServiceResponse\n * @throws BloxFaultMessage\n */\n @WebMethod\n @WebResult(name = \"listServiceResponse\", targetNamespace = PepConfig.TARGET_NAMESPACE, partName = \"parameters\")\n public ListServiceResponse listService(\n @WebParam(name = \"listServiceRequest\", targetNamespace = PepConfig.TARGET_NAMESPACE, partName = \"parameters\")\n ListServiceRequest parameters)\n throws BloxFaultMessage\n ;\n\n /**\n * \n * @param parameters\n * @return\n * returns sk.gov.ekolky.estamp.fo10.infra.ListFeeResponse\n * @throws BloxFaultMessage\n */\n @WebMethod\n @WebResult(name = \"listFeeResponse\", targetNamespace = PepConfig.TARGET_NAMESPACE, partName = \"parameters\")\n public ListFeeResponse listFee(\n @WebParam(name = \"listFeeRequest\", targetNamespace = PepConfig.TARGET_NAMESPACE, partName = \"parameters\")\n ListFeeRequest parameters)\n throws BloxFaultMessage\n ;\n\n /**\n * \n * @param parameters\n * @return\n * returns sk.gov.ekolky.estamp.fo10.infra.ListOfficeResponse\n * @throws BloxFaultMessage\n */\n @WebMethod\n @WebResult(name = \"listOfficeResponse\", targetNamespace = PepConfig.TARGET_NAMESPACE, partName = \"parameters\")\n public ListOfficeResponse listOffice(\n @WebParam(name = \"listOfficeRequest\", targetNamespace = PepConfig.TARGET_NAMESPACE, partName = \"parameters\")\n ListOfficeRequest parameters)\n throws BloxFaultMessage\n ;\n\n /**\n * \n * @param parameters\n * @return\n * returns sk.gov.ekolky.estamp.fo10.infra.ListSWPResponse\n * @throws BloxFaultMessage\n */\n @WebMethod\n @WebResult(name = \"listSWPResponse\", targetNamespace = PepConfig.TARGET_NAMESPACE, partName = \"parameters\")\n public ListSWPResponse listSWP(\n @WebParam(name = \"listSWPRequest\", targetNamespace = PepConfig.TARGET_NAMESPACE, partName = \"parameters\")\n ListSWPRequest parameters)\n throws BloxFaultMessage\n ;\n\n /**\n * \n * @param parameters\n * @return\n * returns sk.gov.ekolky.estamp.fo10.infra.ListCountryResponse\n * @throws BloxFaultMessage\n */\n @WebMethod\n @WebResult(name = \"listCountryResponse\", targetNamespace = PepConfig.TARGET_NAMESPACE, partName = \"parameters\")\n public ListCountryResponse listCountry(\n @WebParam(name = \"listCountryRequest\", targetNamespace = PepConfig.TARGET_NAMESPACE, partName = \"parameters\")\n ListCountryRequest parameters)\n throws BloxFaultMessage\n ;\n\n /**\n * \n * @param parameters\n * @return\n * returns sk.gov.ekolky.estamp.fo10.infra.ListDeviceInfoResponse\n * @throws BloxFaultMessage\n */\n @WebMethod\n @WebResult(name = \"listDeviceInfoResponse\", targetNamespace = PepConfig.TARGET_NAMESPACE, partName = \"parameters\")\n public ListDeviceInfoResponse listDeviceInfo(\n @WebParam(name = \"listDeviceInfoRequest\", targetNamespace = PepConfig.TARGET_NAMESPACE, partName = \"parameters\")\n ListDeviceInfoRequest parameters)\n throws BloxFaultMessage\n ;\n\n /**\n * \n * @param parameters\n * @return\n * returns sk.gov.ekolky.estamp.fo10.infra.ListFeDevicesResponse\n * @throws BloxFaultMessage\n */\n @WebMethod\n @WebResult(name = \"listFeDevicesResponse\", targetNamespace = PepConfig.TARGET_NAMESPACE, partName = \"parameters\")\n public ListFeDevicesResponse listFeDevices(\n @WebParam(name = \"listFeDevicesRequest\", targetNamespace = PepConfig.TARGET_NAMESPACE, partName = \"parameters\")\n ListFeDevicesRequest parameters)\n throws BloxFaultMessage\n ;\n\n}", "@WebService(name = \"Repositorio\", targetNamespace = \"http://Ecodex.WS.Model/2011/CFDI\")\n@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface Repositorio {\n\n\n /**\n * \n * @param parameters\n * @return\n * returns Repositorio.RespuestaEstatusComprobante\n * @throws RepositorioEstatusComprobanteFallaValidacionFaultFaultMessage\n * @throws RepositorioEstatusComprobanteFallaSesionFaultFaultMessage\n * @throws RepositorioEstatusComprobanteFallaServicioFaultFaultMessage\n */\n @WebMethod(operationName = \"EstatusComprobante\", action = \"http://Ecodex.WS.Model/2011/CFDI/ServicioRepositorio/EstatusComprobante\")\n @WebResult(name = \"RespuestaEstatusComprobante\", targetNamespace = \"http://Ecodex.WS.Model/2011/CFDI\", partName = \"parameters\")\n public RespuestaEstatusComprobante estatusComprobante(\n @WebParam(name = \"SolicitudEstatusComprobante\", targetNamespace = \"http://Ecodex.WS.Model/2011/CFDI\", partName = \"parameters\")\n SolicitudEstatusComprobante parameters)\n throws RepositorioEstatusComprobanteFallaServicioFaultFaultMessage, RepositorioEstatusComprobanteFallaSesionFaultFaultMessage, RepositorioEstatusComprobanteFallaValidacionFaultFaultMessage\n ;\n\n /**\n * \n * @param parameters\n * @return\n * returns Repositorio.RespuestaObtenerComprobante\n * @throws RepositorioObtenerComprobanteFallaValidacionFaultFaultMessage\n * @throws RepositorioObtenerComprobanteFallaServicioFaultFaultMessage\n * @throws RepositorioObtenerComprobanteFallaSesionFaultFaultMessage\n */\n @WebMethod(operationName = \"ObtenerComprobante\", action = \"http://Ecodex.WS.Model/2011/CFDI/Repositorio/ObtenerComprobante\")\n @WebResult(name = \"RespuestaObtenerComprobante\", targetNamespace = \"http://Ecodex.WS.Model/2011/CFDI\", partName = \"parameters\")\n public RespuestaObtenerComprobante obtenerComprobante(\n @WebParam(name = \"SolicitudObtenerComprobante\", targetNamespace = \"http://Ecodex.WS.Model/2011/CFDI\", partName = \"parameters\")\n SolicitudObtenerComprobante parameters)\n throws RepositorioObtenerComprobanteFallaServicioFaultFaultMessage, RepositorioObtenerComprobanteFallaSesionFaultFaultMessage, RepositorioObtenerComprobanteFallaValidacionFaultFaultMessage\n ;\n\n /**\n * \n * @param parameters\n * @return\n * returns Repositorio.RespuestaCancelaComprobante\n * @throws RepositorioCancelaComprobanteFallaValidacionFaultFaultMessage\n * @throws RepositorioCancelaComprobanteFallaSesionFaultFaultMessage\n * @throws RepositorioCancelaComprobanteFallaServicioFaultFaultMessage\n */\n @WebMethod(operationName = \"CancelaComprobante\", action = \"http://Ecodex.WS.Model/2011/CFDI/ServicioRepositorio/CancelaComprobante\")\n @WebResult(name = \"RespuestaCancelaComprobante\", targetNamespace = \"http://Ecodex.WS.Model/2011/CFDI\", partName = \"parameters\")\n public RespuestaCancelaComprobante cancelaComprobante(\n @WebParam(name = \"SolicitudCancelaComprobante\", targetNamespace = \"http://Ecodex.WS.Model/2011/CFDI\", partName = \"parameters\")\n SolicitudCancelaComprobante parameters)\n throws RepositorioCancelaComprobanteFallaServicioFaultFaultMessage, RepositorioCancelaComprobanteFallaSesionFaultFaultMessage, RepositorioCancelaComprobanteFallaValidacionFaultFaultMessage\n ;\n\n /**\n * \n * @param parameters\n * @return\n * returns Repositorio.RespuestaObtenerQR\n * @throws RepositorioObtenerQRFallaValidacionFaultFaultMessage\n * @throws RepositorioObtenerQRFallaSesionFaultFaultMessage\n * @throws RepositorioObtenerQRFallaServicioFaultFaultMessage\n */\n @WebMethod(operationName = \"ObtenerQR\", action = \"http://Ecodex.WS.Model/2011/CFDI/Repositorio/ObtenerQR\")\n @WebResult(name = \"RespuestaObtenerQR\", targetNamespace = \"http://Ecodex.WS.Model/2011/CFDI\", partName = \"parameters\")\n public RespuestaObtenerQR obtenerQR(\n @WebParam(name = \"SolicitudObtenerQR\", targetNamespace = \"http://Ecodex.WS.Model/2011/CFDI\", partName = \"parameters\")\n SolicitudObtenerQR parameters)\n throws RepositorioObtenerQRFallaServicioFaultFaultMessage, RepositorioObtenerQRFallaSesionFaultFaultMessage, RepositorioObtenerQRFallaValidacionFaultFaultMessage\n ;\n\n}", "@WebService(targetNamespace = \"http://demo.grails.org/\", name = \"CustomerService\")\n@XmlSeeAlso({ObjectFactory.class})\npublic interface CustomerService {\n\n @WebResult(name = \"Customer\", targetNamespace = \"\")\n @RequestWrapper(localName = \"GetCustomer\", targetNamespace = \"http://demo.grails.org/\", className = \"org.grails.demo.soap.customer.GetCustomer\")\n @WebMethod(operationName = \"GetCustomer\")\n @ResponseWrapper(localName = \"GetCustomerResponse\", targetNamespace = \"http://demo.grails.org\", className = \"org.grails.demo.soap.customer.GetCustomerResponse\")\n public org.grails.demo.soap.customer.Customer getCustomer(\n @WebParam(name = \"CustomerId\", targetNamespace = \"\")\n int customerId,\n @WebParam(name = \"FirstName\", targetNamespace = \"\")\n java.lang.String firstName\n );\n\n @WebResult(name = \"Customers\", targetNamespace = \"\")\n @RequestWrapper(localName = \"GetCustomers\", targetNamespace = \"http://demo.grails.org/\", className = \"org.grails.demo.soap.customer.GetCustomers\")\n @WebMethod(operationName = \"GetCustomers\")\n @ResponseWrapper(localName = \"GetCustomersResponse\", targetNamespace = \"http://demo.grails.org\", className = \"org.grails.demo.soap.customer.GetCustomersResponse\")\n public java.util.List<org.grails.demo.soap.customer.Customer> getCustomers();\n\n @WebResult(name = \"Customer\", targetNamespace = \"\")\n @RequestWrapper(localName = \"MakePayment\", targetNamespace = \"http://demo.grails.org/\", className = \"org.grails.demo.soap.customer.MakePayment\")\n @WebMethod(operationName = \"MakePayment\")\n @ResponseWrapper(localName = \"MakePaymentResponse\", targetNamespace = \"http://demo.grails.org\", className = \"org.grails.demo.soap.customer.MakePaymentResponse\")\n public org.grails.demo.soap.customer.Customer makePayment(\n @WebParam(name = \"CustomerId\", targetNamespace = \"\")\n int customerId,\n @WebParam(name = \"PaymentDate\", targetNamespace = \"\")\n java.util.Date paymentDate,\n @WebParam(name = \"PaymentAmount\", targetNamespace = \"\")\n java.lang.Double paymentAmount\n );\n}", "@WebService(name = \"ListSubscriptions\", targetNamespace = \"http://soap/\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface ListSubscriptions {\n\n\n /**\n * \n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getList\", targetNamespace = \"http://soap/\", className = \"artifact_list.GetList\")\n @ResponseWrapper(localName = \"getListResponse\", targetNamespace = \"http://soap/\", className = \"artifact_list.GetListResponse\")\n public String getList();\n\n}", "@WebService(targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/requester\", name = \"ConnectionRequesterPort\")\n@XmlSeeAlso({net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.ObjectFactory.class, net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.ObjectFactory.class, net.es.nsi.lib.soap.gen.saml.assertion.ObjectFactory.class, net.es.nsi.lib.soap.gen.xmlenc.ObjectFactory.class, net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.types.ObjectFactory.class, net.es.nsi.lib.soap.gen.xmldsig.ObjectFactory.class})\npublic interface ConnectionRequesterPort {\n\n /**\n * This reserveFailed message is sent from a Provider NSA to\n * Requester NSA as an indication of a reserve failure. This\n * is in response to an original reserve request from the\n * associated Requester NSA.\n * \n */\n @WebMethod(action = \"http://schemas.ogf.org/nsi/2013/12/connection/service/reserveFailed\")\n @RequestWrapper(localName = \"reserveFailed\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.GenericFailedType\")\n @ResponseWrapper(localName = \"acknowledgment\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.GenericAcknowledgmentType\")\n public void reserveFailed(\n @WebParam(name = \"connectionId\", targetNamespace = \"\")\n java.lang.String connectionId,\n @WebParam(name = \"connectionStates\", targetNamespace = \"\")\n net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.ConnectionStatesType connectionStates,\n @WebParam(name = \"serviceException\", targetNamespace = \"\")\n net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.types.ServiceExceptionType serviceException,\n @WebParam(name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType header,\n @WebParam(mode = WebParam.Mode.OUT, name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n javax.xml.ws.Holder<net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType> header1\n ) throws net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.ifce.ServiceException;\n\n /**\n * This querySummaryConfirmed message is sent from the target NSA to\n * requesting NSA as an indication of a successful querySummary\n * operation. This is in response to an original querySummary request\n * from the associated Requester NSA.\n * \n */\n @WebMethod(action = \"http://schemas.ogf.org/nsi/2013/12/connection/service/querySummaryConfirmed\")\n @RequestWrapper(localName = \"querySummaryConfirmed\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.QuerySummaryConfirmedType\")\n @ResponseWrapper(localName = \"acknowledgment\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.GenericAcknowledgmentType\")\n public void querySummaryConfirmed(\n @WebParam(name = \"reservation\", targetNamespace = \"\")\n java.util.List<net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.QuerySummaryResultType> reservation,\n @WebParam(name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType header,\n @WebParam(mode = WebParam.Mode.OUT, name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n javax.xml.ws.Holder<net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType> header1\n ) throws net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.ifce.ServiceException;\n\n /**\n * This provisionConfirmed message is sent from a Provider NSA to\n * Requester NSA as an indication of a successful provision operation.\n * This is in response to an original provision request from the\n * associated Requester NSA.\n * \n */\n @WebMethod(action = \"http://schemas.ogf.org/nsi/2013/12/connection/service/provisionConfirmed\")\n @RequestWrapper(localName = \"provisionConfirmed\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.GenericConfirmedType\")\n @ResponseWrapper(localName = \"acknowledgment\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.GenericAcknowledgmentType\")\n public void provisionConfirmed(\n @WebParam(name = \"connectionId\", targetNamespace = \"\")\n java.lang.String connectionId,\n @WebParam(name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType header,\n @WebParam(mode = WebParam.Mode.OUT, name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n javax.xml.ws.Holder<net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType> header1\n ) throws net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.ifce.ServiceException;\n\n /**\n * The error message is sent from a Provider NSA to Requester\n * NSA as an indication of the occurence of an error condition.\n * This is in response to an original request from the associated\n * Requester NSA.\n * \n */\n @WebMethod(action = \"http://schemas.ogf.org/nsi/2013/12/connection/service/error\")\n @RequestWrapper(localName = \"error\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.GenericErrorType\")\n @ResponseWrapper(localName = \"acknowledgment\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.GenericAcknowledgmentType\")\n public void error(\n @WebParam(name = \"serviceException\", targetNamespace = \"\")\n net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.types.ServiceExceptionType serviceException,\n @WebParam(name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType header,\n @WebParam(mode = WebParam.Mode.OUT, name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n javax.xml.ws.Holder<net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType> header1\n ) throws net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.ifce.ServiceException;\n\n /**\n * This terminateConfirmed message is sent from a Provider NSA to\n * Requester NSA as an indication of a successful terminate operation.\n * This is in response to an original terminate request from the\n * associated Requester NSA.\n * \n */\n @WebMethod(action = \"http://schemas.ogf.org/nsi/2013/12/connection/service/terminateConfirmed\")\n @RequestWrapper(localName = \"terminateConfirmed\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.GenericConfirmedType\")\n @ResponseWrapper(localName = \"acknowledgment\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.GenericAcknowledgmentType\")\n public void terminateConfirmed(\n @WebParam(name = \"connectionId\", targetNamespace = \"\")\n java.lang.String connectionId,\n @WebParam(name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType header,\n @WebParam(mode = WebParam.Mode.OUT, name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n javax.xml.ws.Holder<net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType> header1\n ) throws net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.ifce.ServiceException;\n\n /**\n * This releaseConfirmed message is sent from a Provider NSA to\n * Requester NSA as an indication of a successful release operation.\n * This is in response to an original release request from the\n * associated Requester NSA.\n * \n */\n @WebMethod(action = \"http://schemas.ogf.org/nsi/2013/12/connection/service/releaseConfirmed\")\n @RequestWrapper(localName = \"releaseConfirmed\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.GenericConfirmedType\")\n @ResponseWrapper(localName = \"acknowledgment\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.GenericAcknowledgmentType\")\n public void releaseConfirmed(\n @WebParam(name = \"connectionId\", targetNamespace = \"\")\n java.lang.String connectionId,\n @WebParam(name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType header,\n @WebParam(mode = WebParam.Mode.OUT, name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n javax.xml.ws.Holder<net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType> header1\n ) throws net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.ifce.ServiceException;\n\n /**\n * An autonomous error message issued from a Provider NSA to Requester\n * NSA. The acknowledgment indicates that the Requester NSA has\n * accepted the notification request for processing. There are no\n * associated confirmed or failed messages.\n * \n */\n @WebMethod(action = \"http://schemas.ogf.org/nsi/2013/12/connection/service/errorEvent\")\n @RequestWrapper(localName = \"errorEvent\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.ErrorEventType\")\n @ResponseWrapper(localName = \"acknowledgment\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.GenericAcknowledgmentType\")\n public void errorEvent(\n @WebParam(name = \"connectionId\", targetNamespace = \"\")\n java.lang.String connectionId,\n @WebParam(name = \"notificationId\", targetNamespace = \"\")\n long notificationId,\n @WebParam(name = \"timeStamp\", targetNamespace = \"\")\n javax.xml.datatype.XMLGregorianCalendar timeStamp,\n @WebParam(name = \"event\", targetNamespace = \"\")\n net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.EventEnumType event,\n @WebParam(name = \"originatingConnectionId\", targetNamespace = \"\")\n java.lang.String originatingConnectionId,\n @WebParam(name = \"originatingNSA\", targetNamespace = \"\")\n java.lang.String originatingNSA,\n @WebParam(name = \"additionalInfo\", targetNamespace = \"\")\n net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.types.TypeValuePairListType additionalInfo,\n @WebParam(name = \"serviceException\", targetNamespace = \"\")\n net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.types.ServiceExceptionType serviceException,\n @WebParam(name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType header,\n @WebParam(mode = WebParam.Mode.OUT, name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n javax.xml.ws.Holder<net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType> header1\n ) throws net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.ifce.ServiceException;\n\n /**\n * An autonomous message issued from a Provider NSA to Requester\n * NSA. The acknowledgment indicates that the Requester NSA has\n * accepted the notification request for processing. There are no\n * associated confirmed or failed messages.\n * \n */\n @WebMethod(action = \"http://schemas.ogf.org/nsi/2013/12/connection/service/dataPlaneStateChange\")\n @RequestWrapper(localName = \"dataPlaneStateChange\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.DataPlaneStateChangeRequestType\")\n @ResponseWrapper(localName = \"acknowledgment\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.GenericAcknowledgmentType\")\n public void dataPlaneStateChange(\n @WebParam(name = \"connectionId\", targetNamespace = \"\")\n java.lang.String connectionId,\n @WebParam(name = \"notificationId\", targetNamespace = \"\")\n long notificationId,\n @WebParam(name = \"timeStamp\", targetNamespace = \"\")\n javax.xml.datatype.XMLGregorianCalendar timeStamp,\n @WebParam(name = \"dataPlaneStatus\", targetNamespace = \"\")\n net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.DataPlaneStatusType dataPlaneStatus,\n @WebParam(name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType header,\n @WebParam(mode = WebParam.Mode.OUT, name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n javax.xml.ws.Holder<net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType> header1\n ) throws net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.ifce.ServiceException;\n\n /**\n * This reserveAbortConfirmed message is sent from a Provider NSA to\n * Requester NSA as an indication of a successful reserveAbort.\n * This is in response to an original reserveAbort request from the\n * associated Requester NSA.\n * \n */\n @WebMethod(action = \"http://schemas.ogf.org/nsi/2013/12/connection/service/reserveAbortConfirmed\")\n @RequestWrapper(localName = \"reserveAbortConfirmed\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.GenericConfirmedType\")\n @ResponseWrapper(localName = \"acknowledgment\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.GenericAcknowledgmentType\")\n public void reserveAbortConfirmed(\n @WebParam(name = \"connectionId\", targetNamespace = \"\")\n java.lang.String connectionId,\n @WebParam(name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType header,\n @WebParam(mode = WebParam.Mode.OUT, name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n javax.xml.ws.Holder<net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType> header1\n ) throws net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.ifce.ServiceException;\n\n /**\n * An autonomous message issued from a Provider NSA to Requester\n * NSA. The acknowledgment indicates that the Requester NSA has\n * accepted the notification request for processing. There are no\n * associated confirmed or failed messages.\n * \n */\n @WebMethod(action = \"http://schemas.ogf.org/nsi/2013/12/connection/service/messageDeliveryTimeout\")\n @RequestWrapper(localName = \"messageDeliveryTimeout\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.MessageDeliveryTimeoutRequestType\")\n @ResponseWrapper(localName = \"acknowledgment\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.GenericAcknowledgmentType\")\n public void messageDeliveryTimeout(\n @WebParam(name = \"connectionId\", targetNamespace = \"\")\n java.lang.String connectionId,\n @WebParam(name = \"notificationId\", targetNamespace = \"\")\n long notificationId,\n @WebParam(name = \"timeStamp\", targetNamespace = \"\")\n javax.xml.datatype.XMLGregorianCalendar timeStamp,\n @WebParam(name = \"correlationId\", targetNamespace = \"\")\n java.lang.String correlationId,\n @WebParam(name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType header,\n @WebParam(mode = WebParam.Mode.OUT, name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n javax.xml.ws.Holder<net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType> header1\n ) throws net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.ifce.ServiceException;\n\n /**\n * This reserveCommitFailed message is sent from a Provider NSA to\n * Requester NSA as an indication of a modify failure. This\n * is in response to an original modify request from the\n * associated Requester NSA.\n * \n */\n @WebMethod(action = \"http://schemas.ogf.org/nsi/2013/12/connection/service/reserveCommitFailed\")\n @RequestWrapper(localName = \"reserveCommitFailed\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.GenericFailedType\")\n @ResponseWrapper(localName = \"acknowledgment\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.GenericAcknowledgmentType\")\n public void reserveCommitFailed(\n @WebParam(name = \"connectionId\", targetNamespace = \"\")\n java.lang.String connectionId,\n @WebParam(name = \"connectionStates\", targetNamespace = \"\")\n net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.ConnectionStatesType connectionStates,\n @WebParam(name = \"serviceException\", targetNamespace = \"\")\n net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.types.ServiceExceptionType serviceException,\n @WebParam(name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType header,\n @WebParam(mode = WebParam.Mode.OUT, name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n javax.xml.ws.Holder<net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType> header1\n ) throws net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.ifce.ServiceException;\n\n /**\n * This queryNotificationConfirmed message is sent from the Provider NSA to\n * Requester NSA as an indication of a successful queryNotification\n * operation. This is in response to an original queryNotification request\n * from the associated Requester NSA.\n * \n */\n @WebMethod(action = \"http://schemas.ogf.org/nsi/2013/12/connection/service/queryNotificationConfirmed\")\n @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)\n @WebResult(name = \"acknowledgment\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", partName = \"acknowledgment\")\n public net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.GenericAcknowledgmentType queryNotificationConfirmed(\n @WebParam(partName = \"queryNotificationConfirmed\", name = \"queryNotificationConfirmed\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\")\n net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.QueryNotificationConfirmedType queryNotificationConfirmed,\n @WebParam(partName = \"header\", mode = WebParam.Mode.INOUT, name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n javax.xml.ws.Holder<net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType> header\n ) throws net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.ifce.ServiceException;\n\n /**\n * This queryResultConfirmed message is sent from the Provider NSA to\n * Requester NSA as an indication of a successful queryResult operation.\n * This is in response to an original queryResult request from the\n * associated Requester NSA.\n * \n */\n @WebMethod(action = \"http://schemas.ogf.org/nsi/2013/12/connection/service/queryResultConfirmed\")\n @RequestWrapper(localName = \"queryResultConfirmed\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.QueryResultConfirmedType\")\n @ResponseWrapper(localName = \"acknowledgment\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.GenericAcknowledgmentType\")\n public void queryResultConfirmed(\n @WebParam(name = \"result\", targetNamespace = \"\")\n java.util.List<net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.QueryResultResponseType> result,\n @WebParam(name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType header,\n @WebParam(mode = WebParam.Mode.OUT, name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n javax.xml.ws.Holder<net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType> header1\n ) throws net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.ifce.ServiceException;\n\n /**\n * This reserveCommitConfirmed message is sent from a Provider NSA to\n * Requester NSA as an indication of a successful reserveCommit request.\n * This is in response to an original reserveCommit request from the\n * associated Requester NSA.\n * \n */\n @WebMethod(action = \"http://schemas.ogf.org/nsi/2013/12/connection/service/reserveCommitConfirmed\")\n @RequestWrapper(localName = \"reserveCommitConfirmed\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.GenericConfirmedType\")\n @ResponseWrapper(localName = \"acknowledgment\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.GenericAcknowledgmentType\")\n public void reserveCommitConfirmed(\n @WebParam(name = \"connectionId\", targetNamespace = \"\")\n java.lang.String connectionId,\n @WebParam(name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType header,\n @WebParam(mode = WebParam.Mode.OUT, name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n javax.xml.ws.Holder<net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType> header1\n ) throws net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.ifce.ServiceException;\n\n /**\n * An autonomous message issued from a Provider NSA to Requester\n * NSA. The acknowledgment indicates that the Requester NSA has\n * accepted the notification request for processing. There are no\n * associated confirmed or failed messages.\n * \n */\n @WebMethod(action = \"http://schemas.ogf.org/nsi/2013/12/connection/service/reserveTimeout\")\n @RequestWrapper(localName = \"reserveTimeout\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.ReserveTimeoutRequestType\")\n @ResponseWrapper(localName = \"acknowledgment\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.GenericAcknowledgmentType\")\n public void reserveTimeout(\n @WebParam(name = \"connectionId\", targetNamespace = \"\")\n java.lang.String connectionId,\n @WebParam(name = \"notificationId\", targetNamespace = \"\")\n long notificationId,\n @WebParam(name = \"timeStamp\", targetNamespace = \"\")\n javax.xml.datatype.XMLGregorianCalendar timeStamp,\n @WebParam(name = \"timeoutValue\", targetNamespace = \"\")\n int timeoutValue,\n @WebParam(name = \"originatingConnectionId\", targetNamespace = \"\")\n java.lang.String originatingConnectionId,\n @WebParam(name = \"originatingNSA\", targetNamespace = \"\")\n java.lang.String originatingNSA,\n @WebParam(name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType header,\n @WebParam(mode = WebParam.Mode.OUT, name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n javax.xml.ws.Holder<net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType> header1\n ) throws net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.ifce.ServiceException;\n\n /**\n * This reserveConfirmed message is sent from a Provider NSA to\n * Requester NSA as an indication of a successful reservation. This\n * is in response to an original reserve request from the\n * associated Requester NSA.\n * \n */\n @WebMethod(action = \"http://schemas.ogf.org/nsi/2013/12/connection/service/reserveConfirmed\")\n @RequestWrapper(localName = \"reserveConfirmed\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.ReserveConfirmedType\")\n @ResponseWrapper(localName = \"acknowledgment\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.GenericAcknowledgmentType\")\n public void reserveConfirmed(\n @WebParam(name = \"connectionId\", targetNamespace = \"\")\n java.lang.String connectionId,\n @WebParam(name = \"globalReservationId\", targetNamespace = \"\")\n java.lang.String globalReservationId,\n @WebParam(name = \"description\", targetNamespace = \"\")\n java.lang.String description,\n @WebParam(name = \"criteria\", targetNamespace = \"\")\n net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.ReservationConfirmCriteriaType criteria,\n @WebParam(name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType header,\n @WebParam(mode = WebParam.Mode.OUT, name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n javax.xml.ws.Holder<net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType> header1\n ) throws net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.ifce.ServiceException;\n\n /**\n * This queryRecursiveConfirmed message is sent from the Provider NSA to\n * Requester NSA as an indication of a successful queryRecursive\n * operation. This is in response to an original queryRecursive request\n * from the associated Requester NSA.\n * \n */\n @WebMethod(action = \"http://schemas.ogf.org/nsi/2013/12/connection/service/queryRecursiveConfirmed\")\n @RequestWrapper(localName = \"queryRecursiveConfirmed\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.QueryRecursiveConfirmedType\")\n @ResponseWrapper(localName = \"acknowledgment\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.GenericAcknowledgmentType\")\n public void queryRecursiveConfirmed(\n @WebParam(name = \"reservation\", targetNamespace = \"\")\n java.util.List<net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.QueryRecursiveResultType> reservation,\n @WebParam(name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType header,\n @WebParam(mode = WebParam.Mode.OUT, name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n javax.xml.ws.Holder<net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType> header1\n ) throws net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.ifce.ServiceException;\n}", "@WebService(name = \"SharesBrokeringSystem\", targetNamespace = \"http://sharesbrokeringsystem.me.org/\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface SharesBrokeringSystem {\n\n\n /**\n * \n * @param volume\n * @param client\n * @param company\n */\n @WebMethod\n @Oneway\n @RequestWrapper(localName = \"sellShares\", targetNamespace = \"http://sharesbrokeringsystem.me.org/\", className = \"org.me.sharesbrokeringsystem.SellShares\")\n @Action(input = \"http://sharesbrokeringsystem.me.org/SharesBrokeringSystem/sellShares\")\n public void sellShares(\n @WebParam(name = \"client\", targetNamespace = \"\")\n Client client,\n @WebParam(name = \"company\", targetNamespace = \"\")\n Company company,\n @WebParam(name = \"volume\", targetNamespace = \"\")\n int volume);\n\n /**\n * \n * @return\n * returns java.util.List<org.me.sharesbrokeringsystem.Company>\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"companyList\", targetNamespace = \"http://sharesbrokeringsystem.me.org/\", className = \"org.me.sharesbrokeringsystem.CompanyList\")\n @ResponseWrapper(localName = \"companyListResponse\", targetNamespace = \"http://sharesbrokeringsystem.me.org/\", className = \"org.me.sharesbrokeringsystem.CompanyListResponse\")\n @Action(input = \"http://sharesbrokeringsystem.me.org/SharesBrokeringSystem/companyListRequest\", output = \"http://sharesbrokeringsystem.me.org/SharesBrokeringSystem/companyListResponse\")\n public List<Company> companyList();\n\n /**\n * \n * @param company\n * @return\n * returns org.me.sharesbrokeringsystem.Company\n * @throws CertificateException_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"moreCompanyInfo\", targetNamespace = \"http://sharesbrokeringsystem.me.org/\", className = \"org.me.sharesbrokeringsystem.MoreCompanyInfo\")\n @ResponseWrapper(localName = \"moreCompanyInfoResponse\", targetNamespace = \"http://sharesbrokeringsystem.me.org/\", className = \"org.me.sharesbrokeringsystem.MoreCompanyInfoResponse\")\n @Action(input = \"http://sharesbrokeringsystem.me.org/SharesBrokeringSystem/moreCompanyInfoRequest\", output = \"http://sharesbrokeringsystem.me.org/SharesBrokeringSystem/moreCompanyInfoResponse\", fault = {\n @FaultAction(className = CertificateException_Exception.class, value = \"http://sharesbrokeringsystem.me.org/SharesBrokeringSystem/moreCompanyInfo/Fault/CertificateException\")\n })\n public Company moreCompanyInfo(\n @WebParam(name = \"_company\", targetNamespace = \"\")\n Company company)\n throws CertificateException_Exception\n ;\n\n /**\n * \n * @param password\n * @param username\n * @return\n * returns org.me.sharesbrokeringsystem.Client\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"logIn\", targetNamespace = \"http://sharesbrokeringsystem.me.org/\", className = \"org.me.sharesbrokeringsystem.LogIn\")\n @ResponseWrapper(localName = \"logInResponse\", targetNamespace = \"http://sharesbrokeringsystem.me.org/\", className = \"org.me.sharesbrokeringsystem.LogInResponse\")\n @Action(input = \"http://sharesbrokeringsystem.me.org/SharesBrokeringSystem/logInRequest\", output = \"http://sharesbrokeringsystem.me.org/SharesBrokeringSystem/logInResponse\")\n public Client logIn(\n @WebParam(name = \"username\", targetNamespace = \"\")\n String username,\n @WebParam(name = \"password\", targetNamespace = \"\")\n String password);\n\n /**\n * \n * @param currentTrades\n * @return\n * returns org.me.sharesbrokeringsystem.UpdateCompaniesResponse.Return\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"updateCompanies\", targetNamespace = \"http://sharesbrokeringsystem.me.org/\", className = \"org.me.sharesbrokeringsystem.UpdateCompanies\")\n @ResponseWrapper(localName = \"updateCompaniesResponse\", targetNamespace = \"http://sharesbrokeringsystem.me.org/\", className = \"org.me.sharesbrokeringsystem.UpdateCompaniesResponse\")\n @Action(input = \"http://sharesbrokeringsystem.me.org/SharesBrokeringSystem/updateCompaniesRequest\", output = \"http://sharesbrokeringsystem.me.org/SharesBrokeringSystem/updateCompaniesResponse\")\n public org.me.sharesbrokeringsystem.UpdateCompaniesResponse.Return updateCompanies(\n @WebParam(name = \"_currentTrades\", targetNamespace = \"\")\n org.me.sharesbrokeringsystem.UpdateCompanies.CurrentTrades currentTrades);\n\n /**\n * \n * @param password\n * @param username\n * @return\n * returns int\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"signUp\", targetNamespace = \"http://sharesbrokeringsystem.me.org/\", className = \"org.me.sharesbrokeringsystem.SignUp\")\n @ResponseWrapper(localName = \"signUpResponse\", targetNamespace = \"http://sharesbrokeringsystem.me.org/\", className = \"org.me.sharesbrokeringsystem.SignUpResponse\")\n @Action(input = \"http://sharesbrokeringsystem.me.org/SharesBrokeringSystem/signUpRequest\", output = \"http://sharesbrokeringsystem.me.org/SharesBrokeringSystem/signUpResponse\")\n public int signUp(\n @WebParam(name = \"username\", targetNamespace = \"\")\n String username,\n @WebParam(name = \"password\", targetNamespace = \"\")\n String password);\n\n /**\n * \n * @param client\n * @return\n * returns int\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"logOut\", targetNamespace = \"http://sharesbrokeringsystem.me.org/\", className = \"org.me.sharesbrokeringsystem.LogOut\")\n @ResponseWrapper(localName = \"logOutResponse\", targetNamespace = \"http://sharesbrokeringsystem.me.org/\", className = \"org.me.sharesbrokeringsystem.LogOutResponse\")\n @Action(input = \"http://sharesbrokeringsystem.me.org/SharesBrokeringSystem/logOutRequest\", output = \"http://sharesbrokeringsystem.me.org/SharesBrokeringSystem/logOutResponse\")\n public int logOut(\n @WebParam(name = \"client\", targetNamespace = \"\")\n Client client);\n\n /**\n * \n * @param amount\n * @param client\n * @param currency\n * @return\n * returns double\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"depositAmount\", targetNamespace = \"http://sharesbrokeringsystem.me.org/\", className = \"org.me.sharesbrokeringsystem.DepositAmount\")\n @ResponseWrapper(localName = \"depositAmountResponse\", targetNamespace = \"http://sharesbrokeringsystem.me.org/\", className = \"org.me.sharesbrokeringsystem.DepositAmountResponse\")\n @Action(input = \"http://sharesbrokeringsystem.me.org/SharesBrokeringSystem/depositAmountRequest\", output = \"http://sharesbrokeringsystem.me.org/SharesBrokeringSystem/depositAmountResponse\")\n public double depositAmount(\n @WebParam(name = \"client\", targetNamespace = \"\")\n Client client,\n @WebParam(name = \"amount\", targetNamespace = \"\")\n double amount,\n @WebParam(name = \"currency\", targetNamespace = \"\")\n String currency);\n\n /**\n * \n * @param volume\n * @param client\n * @param company\n */\n @WebMethod\n @Oneway\n @RequestWrapper(localName = \"buyShares\", targetNamespace = \"http://sharesbrokeringsystem.me.org/\", className = \"org.me.sharesbrokeringsystem.BuyShares\")\n @Action(input = \"http://sharesbrokeringsystem.me.org/SharesBrokeringSystem/buyShares\")\n public void buyShares(\n @WebParam(name = \"client\", targetNamespace = \"\")\n Client client,\n @WebParam(name = \"company\", targetNamespace = \"\")\n Company company,\n @WebParam(name = \"volume\", targetNamespace = \"\")\n int volume);\n\n /**\n * \n * @return\n * returns java.util.List<org.me.sharesbrokeringsystem.Company>\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getCompanies\", targetNamespace = \"http://sharesbrokeringsystem.me.org/\", className = \"org.me.sharesbrokeringsystem.GetCompanies\")\n @ResponseWrapper(localName = \"getCompaniesResponse\", targetNamespace = \"http://sharesbrokeringsystem.me.org/\", className = \"org.me.sharesbrokeringsystem.GetCompaniesResponse\")\n @Action(input = \"http://sharesbrokeringsystem.me.org/SharesBrokeringSystem/getCompaniesRequest\", output = \"http://sharesbrokeringsystem.me.org/SharesBrokeringSystem/getCompaniesResponse\")\n public List<Company> getCompanies();\n\n}", "@WebService(name = \"ProfilePort\", targetNamespace = \"http://ws.clkio.com\")\n@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)\n@XmlSeeAlso({\n com.clkio.schemas.ObjectFactory.class,\n com.clkio.schemas.adjusting.ObjectFactory.class,\n com.clkio.schemas.clockinclockout.ObjectFactory.class,\n com.clkio.schemas.common.ObjectFactory.class,\n com.clkio.schemas.day.ObjectFactory.class,\n com.clkio.schemas.email.ObjectFactory.class,\n com.clkio.schemas.login.ObjectFactory.class,\n com.clkio.schemas.manualentering.ObjectFactory.class,\n com.clkio.schemas.profile.ObjectFactory.class,\n com.clkio.schemas.reason.ObjectFactory.class,\n com.clkio.schemas.resetpassword.ObjectFactory.class,\n com.clkio.schemas.timecard.ObjectFactory.class,\n com.clkio.schemas.user.ObjectFactory.class\n})\npublic interface ProfilePort {\n\n\n /**\n * \n * @param request\n * @param clkioLoginCode\n * @return\n * returns com.clkio.schemas.profile.ListProfileResponse\n * @throws ResponseException\n */\n @WebMethod\n @WebResult(name = \"listProfileResponse\", targetNamespace = \"http://schemas.clkio.com\", partName = \"result\")\n public ListProfileResponse list(\n @WebParam(name = \"clkioLoginCode\", targetNamespace = \"http://schemas.clkio.com\", header = true, partName = \"clkioLoginCode\")\n String clkioLoginCode,\n @WebParam(name = \"listProfileRequest\", targetNamespace = \"http://schemas.clkio.com\", partName = \"request\")\n ListProfileRequest request)\n throws ResponseException\n ;\n\n /**\n * \n * @param request\n * @param clkioLoginCode\n * @return\n * returns com.clkio.schemas.common.ResponseCreated\n * @throws ResponseException\n */\n @WebMethod\n @WebResult(name = \"responseCreated\", targetNamespace = \"http://schemas.clkio.com\", partName = \"result\")\n public ResponseCreated insert(\n @WebParam(name = \"clkioLoginCode\", targetNamespace = \"http://schemas.clkio.com\", header = true, partName = \"clkioLoginCode\")\n String clkioLoginCode,\n @WebParam(name = \"insertProfileRequest\", targetNamespace = \"http://schemas.clkio.com\", partName = \"request\")\n InsertProfileRequest request)\n throws ResponseException\n ;\n\n /**\n * \n * @param request\n * @param clkioLoginCode\n * @return\n * returns com.clkio.schemas.common.Response\n * @throws ResponseException\n */\n @WebMethod\n @WebResult(name = \"response\", targetNamespace = \"http://schemas.clkio.com\", partName = \"result\")\n public Response update(\n @WebParam(name = \"clkioLoginCode\", targetNamespace = \"http://schemas.clkio.com\", header = true, partName = \"clkioLoginCode\")\n String clkioLoginCode,\n @WebParam(name = \"updateProfileRequest\", targetNamespace = \"http://schemas.clkio.com\", partName = \"request\")\n UpdateProfileRequest request)\n throws ResponseException\n ;\n\n /**\n * \n * @param request\n * @param clkioLoginCode\n * @return\n * returns com.clkio.schemas.common.Response\n * @throws ResponseException\n */\n @WebMethod\n @WebResult(name = \"response\", targetNamespace = \"http://schemas.clkio.com\", partName = \"result\")\n public Response delete(\n @WebParam(name = \"clkioLoginCode\", targetNamespace = \"http://schemas.clkio.com\", header = true, partName = \"clkioLoginCode\")\n String clkioLoginCode,\n @WebParam(name = \"deleteProfileRequest\", targetNamespace = \"http://schemas.clkio.com\", partName = \"request\")\n DeleteProfileRequest request)\n throws ResponseException\n ;\n\n}", "@WebService(name = \"GetAllProductsSoap\", targetNamespace = \"http://tempuri.org/\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface GetAllProductsSoap {\n\n\n /**\n * \n * @return\n * returns org.tempuri.ArrayOfProductClass\n */\n @WebMethod(operationName = \"GetAllProductsList\", action = \"http://tempuri.org/GetAllProductsList\")\n @WebResult(name = \"GetAllProductsListResult\", targetNamespace = \"http://tempuri.org/\")\n @RequestWrapper(localName = \"GetAllProductsList\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.GetAllProductsList\")\n @ResponseWrapper(localName = \"GetAllProductsListResponse\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.GetAllProductsListResponse\")\n public ArrayOfProductClass getAllProductsList();\n\n /**\n * \n * @param serviceid\n * @return\n * returns org.tempuri.ArrayOfProductClass\n */\n @WebMethod(operationName = \"GetProductsByServiceID\", action = \"http://tempuri.org/GetProductsByServiceID\")\n @WebResult(name = \"GetProductsByServiceIDResult\", targetNamespace = \"http://tempuri.org/\")\n @RequestWrapper(localName = \"GetProductsByServiceID\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.GetProductsByServiceID\")\n @ResponseWrapper(localName = \"GetProductsByServiceIDResponse\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.GetProductsByServiceIDResponse\")\n public ArrayOfProductClass getProductsByServiceID(\n @WebParam(name = \"serviceid\", targetNamespace = \"http://tempuri.org/\")\n String serviceid);\n\n /**\n * \n * @param zip\n * @param serviceid\n * @return\n * returns org.tempuri.ArrayOfProductClass\n */\n @WebMethod(operationName = \"GetProductsByZipAndServiceID\", action = \"http://tempuri.org/GetProductsByZipAndServiceID\")\n @WebResult(name = \"GetProductsByZipAndServiceIDResult\", targetNamespace = \"http://tempuri.org/\")\n @RequestWrapper(localName = \"GetProductsByZipAndServiceID\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.GetProductsByZipAndServiceID\")\n @ResponseWrapper(localName = \"GetProductsByZipAndServiceIDResponse\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.GetProductsByZipAndServiceIDResponse\")\n public ArrayOfProductClass getProductsByZipAndServiceID(\n @WebParam(name = \"serviceid\", targetNamespace = \"http://tempuri.org/\")\n String serviceid,\n @WebParam(name = \"zip\", targetNamespace = \"http://tempuri.org/\")\n int zip);\n\n /**\n * \n * @param zip\n * @param stateCode\n * @return\n * returns org.tempuri.ArrayOfProductClass\n */\n @WebMethod(operationName = \"GetEnterpriseProducts\", action = \"http://tempuri.org/GetEnterpriseProducts\")\n @WebResult(name = \"GetEnterpriseProductsResult\", targetNamespace = \"http://tempuri.org/\")\n @RequestWrapper(localName = \"GetEnterpriseProducts\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.GetEnterpriseProducts\")\n @ResponseWrapper(localName = \"GetEnterpriseProductsResponse\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.GetEnterpriseProductsResponse\")\n public ArrayOfProductClass getEnterpriseProducts(\n @WebParam(name = \"state_code\", targetNamespace = \"http://tempuri.org/\")\n String stateCode,\n @WebParam(name = \"zip\", targetNamespace = \"http://tempuri.org/\")\n int zip);\n\n /**\n * \n * @return\n * returns org.tempuri.ArrayOfProductRate\n */\n @WebMethod(operationName = \"GetProductRates\", action = \"http://tempuri.org/GetProductRates\")\n @WebResult(name = \"GetProductRatesResult\", targetNamespace = \"http://tempuri.org/\")\n @RequestWrapper(localName = \"GetProductRates\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.GetProductRates\")\n @ResponseWrapper(localName = \"GetProductRatesResponse\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.GetProductRatesResponse\")\n public ArrayOfProductRate getProductRates();\n\n}", "@WebService(name = \"memberWs\", targetNamespace = \"http://webservice.cereme.org/\")\r\n@XmlSeeAlso({\r\n ObjectFactory.class\r\n})\r\npublic interface MemberWs {\r\n\r\n\r\n /**\r\n * \r\n */\r\n @WebMethod\r\n @RequestWrapper(localName = \"init\", targetNamespace = \"http://webservice.cereme.org/\", className = \"org.cereme.digital.library.clientws.Init\")\r\n @ResponseWrapper(localName = \"initResponse\", targetNamespace = \"http://webservice.cereme.org/\", className = \"org.cereme.digital.library.clientws.InitResponse\")\r\n public void init();\r\n\r\n /**\r\n * \r\n * @return\r\n * returns java.util.List<org.cereme.digital.library.clientws.Member>\r\n */\r\n @WebMethod\r\n @WebResult(targetNamespace = \"\")\r\n @RequestWrapper(localName = \"findAll\", targetNamespace = \"http://webservice.cereme.org/\", className = \"org.cereme.digital.library.clientws.FindAll\")\r\n @ResponseWrapper(localName = \"findAllResponse\", targetNamespace = \"http://webservice.cereme.org/\", className = \"org.cereme.digital.library.clientws.FindAllResponse\")\r\n public List<Member> findAll();\r\n\r\n /**\r\n * \r\n * @param arg0\r\n * @return\r\n * returns org.cereme.digital.library.clientws.Member\r\n */\r\n @WebMethod\r\n @WebResult(targetNamespace = \"\")\r\n @RequestWrapper(localName = \"findByUsername\", targetNamespace = \"http://webservice.cereme.org/\", className = \"org.cereme.digital.library.clientws.FindByUsername\")\r\n @ResponseWrapper(localName = \"findByUsernameResponse\", targetNamespace = \"http://webservice.cereme.org/\", className = \"org.cereme.digital.library.clientws.FindByUsernameResponse\")\r\n public Member findByUsername(\r\n @WebParam(name = \"arg0\", targetNamespace = \"\")\r\n String arg0);\r\n\r\n /**\r\n * \r\n * @param arg0\r\n * @return\r\n * returns java.lang.String\r\n */\r\n @WebMethod\r\n @WebResult(targetNamespace = \"\")\r\n @RequestWrapper(localName = \"updateMember\", targetNamespace = \"http://webservice.cereme.org/\", className = \"org.cereme.digital.library.clientws.UpdateMember\")\r\n @ResponseWrapper(localName = \"updateMemberResponse\", targetNamespace = \"http://webservice.cereme.org/\", className = \"org.cereme.digital.library.clientws.UpdateMemberResponse\")\r\n public String updateMember(\r\n @WebParam(name = \"arg0\", targetNamespace = \"\")\r\n Member arg0);\r\n\r\n /**\r\n * \r\n * @param arg1\r\n * @param arg0\r\n * @return\r\n * returns boolean\r\n */\r\n @WebMethod\r\n @WebResult(targetNamespace = \"\")\r\n @RequestWrapper(localName = \"isValidUser\", targetNamespace = \"http://webservice.cereme.org/\", className = \"org.cereme.digital.library.clientws.IsValidUser\")\r\n @ResponseWrapper(localName = \"isValidUserResponse\", targetNamespace = \"http://webservice.cereme.org/\", className = \"org.cereme.digital.library.clientws.IsValidUserResponse\")\r\n public boolean isValidUser(\r\n @WebParam(name = \"arg0\", targetNamespace = \"\")\r\n String arg0,\r\n @WebParam(name = \"arg1\", targetNamespace = \"\")\r\n String arg1);\r\n\r\n}", "@WebService(name = \"CardWS\", targetNamespace = \"http://service.cbp.ws.cbp1.com/\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface CardWS {\n\n\n /**\n * \n * @param plastic\n * @param fechaCorte\n * @param fechaAsignacion\n * @param client\n * @param canal\n * @return\n * returns com.cbp1.ws.cbp.service.RespuestaDTO\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"assignCardToClientWS\", targetNamespace = \"http://service.cbp.ws.cbp1.com/\", className = \"com.cbp1.ws.cbp.service.AssignCardToClientWS\")\n @ResponseWrapper(localName = \"assignCardToClientWSResponse\", targetNamespace = \"http://service.cbp.ws.cbp1.com/\", className = \"com.cbp1.ws.cbp.service.AssignCardToClientWSResponse\")\n @Action(input = \"http://service.cbp.ws.cbp1.com/CardWS/assignCardToClientWSRequest\", output = \"http://service.cbp.ws.cbp1.com/CardWS/assignCardToClientWSResponse\")\n public RespuestaDTO assignCardToClientWS(\n @WebParam(name = \"client\", targetNamespace = \"\")\n Client client,\n @WebParam(name = \"plastic\", targetNamespace = \"\")\n Plastic plastic,\n @WebParam(name = \"fechaCorte\", targetNamespace = \"\")\n String fechaCorte,\n @WebParam(name = \"fechaAsignacion\", targetNamespace = \"\")\n String fechaAsignacion,\n @WebParam(name = \"canal\", targetNamespace = \"\")\n String canal);\n\n /**\n * \n * @param client\n * @param canal\n * @param status\n * @return\n * returns com.cbp1.ws.cbp.service.RespuestaDTO\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"cancelCardWS\", targetNamespace = \"http://service.cbp.ws.cbp1.com/\", className = \"com.cbp1.ws.cbp.service.CancelCardWS\")\n @ResponseWrapper(localName = \"cancelCardWSResponse\", targetNamespace = \"http://service.cbp.ws.cbp1.com/\", className = \"com.cbp1.ws.cbp.service.CancelCardWSResponse\")\n @Action(input = \"http://service.cbp.ws.cbp1.com/CardWS/cancelCardWSRequest\", output = \"http://service.cbp.ws.cbp1.com/CardWS/cancelCardWSResponse\")\n public RespuestaDTO cancelCardWS(\n @WebParam(name = \"client\", targetNamespace = \"\")\n Client client,\n @WebParam(name = \"status\", targetNamespace = \"\")\n String status,\n @WebParam(name = \"canal\", targetNamespace = \"\")\n String canal);\n\n /**\n * \n * @param plasticNumber\n * @return\n * returns com.cbp1.ws.cbp.service.Plastic\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"consultPlasticByNumberWS\", targetNamespace = \"http://service.cbp.ws.cbp1.com/\", className = \"com.cbp1.ws.cbp.service.ConsultPlasticByNumberWS\")\n @ResponseWrapper(localName = \"consultPlasticByNumberWSResponse\", targetNamespace = \"http://service.cbp.ws.cbp1.com/\", className = \"com.cbp1.ws.cbp.service.ConsultPlasticByNumberWSResponse\")\n @Action(input = \"http://service.cbp.ws.cbp1.com/CardWS/consultPlasticByNumberWSRequest\", output = \"http://service.cbp.ws.cbp1.com/CardWS/consultPlasticByNumberWSResponse\")\n public Plastic consultPlasticByNumberWS(\n @WebParam(name = \"plasticNumber\", targetNamespace = \"\")\n String plasticNumber);\n\n}", "@WebService(targetNamespace = \"http://service.cxf.rain6.com/\", name = \"TestWebService\")\n@XmlSeeAlso({ObjectFactory.class})\npublic interface TestWebService {\n\n @WebMethod\n @RequestWrapper(localName = \"selectByPrimaryKey\", targetNamespace = \"http://service.cxf.rain6.com/\", className = \"com.rain6.cxf.service.SelectByPrimaryKey\")\n @ResponseWrapper(localName = \"selectByPrimaryKeyResponse\", targetNamespace = \"http://service.cxf.rain6.com/\", className = \"com.rain6.cxf.service.SelectByPrimaryKeyResponse\")\n @WebResult(name = \"return\", targetNamespace = \"\")\n public Lawyer selectByPrimaryKey(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n String arg0\n );\n}", "@WebService(targetNamespace = \"http://password_generator_ws.ws.campione_tech.com/\", name = \"PasswordGeneratorWSServer\")\n@XmlSeeAlso({ObjectFactory.class})\npublic interface PasswordGeneratorWSServer {\n\n @WebMethod(action = \"urn:GeneratePasswordAction\")\n @RequestWrapper(localName = \"generatePassword\", targetNamespace = \"http://password_generator_ws.ws.campione_tech.com/\", className = \"com.campione_tech.client.password_generator_ws.GeneratePassword\")\n @ResponseWrapper(localName = \"generatePasswordResponse\", targetNamespace = \"http://password_generator_ws.ws.campione_tech.com/\", className = \"com.campione_tech.client.password_generator_ws.GeneratePasswordResponse\")\n @WebResult(name = \"return\", targetNamespace = \"\")\n public java.lang.String generatePassword(\n @WebParam(name = \"length\", targetNamespace = \"\")\n java.lang.String length\n );\n\n @WebMethod(action = \"urn:VersionAction\")\n @RequestWrapper(localName = \"version\", targetNamespace = \"http://password_generator_ws.ws.campione_tech.com/\", className = \"com.campione_tech.client.password_generator_ws.Version\")\n @ResponseWrapper(localName = \"versionResponse\", targetNamespace = \"http://password_generator_ws.ws.campione_tech.com/\", className = \"com.campione_tech.client.password_generator_ws.VersionResponse\")\n @WebResult(name = \"return\", targetNamespace = \"\")\n public java.lang.String version();\n}", "@WebService(targetNamespace = \"http://ws.jinouts.org/\", name = \"AndProxyClientRespTestWS\")\r\n@XmlSeeAlso({ObjectFactory.class})\r\npublic interface AndProxyClientRespTestWS {\r\n\r\n @WebResult(name = \"return\", targetNamespace = \"\")\r\n @RequestWrapper(localName = \"testPrimitiveResponse\", targetNamespace = \"http://ws.jinouts.org/\", className = \"org.jinouts.ws.TestPrimitiveResponse\")\r\n @WebMethod\r\n @ResponseWrapper(localName = \"testPrimitiveResponseResponse\", targetNamespace = \"http://ws.jinouts.org/\", className = \"org.jinouts.ws.TestPrimitiveResponseResponse\")\r\n public java.lang.String testPrimitiveResponse(\r\n @WebParam(name = \"user\", targetNamespace = \"\")\r\n java.lang.String user,\r\n @WebParam(name = \"pass\", targetNamespace = \"\")\r\n java.lang.String pass\r\n );\r\n\r\n @WebResult(name = \"return\", targetNamespace = \"\")\r\n @RequestWrapper(localName = \"testComplexResponseObject\", targetNamespace = \"http://ws.jinouts.org/\", className = \"org.jinouts.ws.TestComplexResponseObject\")\r\n @WebMethod\r\n @ResponseWrapper(localName = \"testComplexResponseObjectResponse\", targetNamespace = \"http://ws.jinouts.org/\", className = \"org.jinouts.ws.TestComplexResponseObjectResponse\")\r\n public org.jinouts.ws.TestComplexResponse testComplexResponseObject(\r\n @WebParam(name = \"user\", targetNamespace = \"\")\r\n java.lang.String user\r\n );\r\n\r\n @WebResult(name = \"return\", targetNamespace = \"\")\r\n @RequestWrapper(localName = \"testListResponse\", targetNamespace = \"http://ws.jinouts.org/\", className = \"org.jinouts.ws.TestListResponse\")\r\n @WebMethod\r\n @ResponseWrapper(localName = \"testListResponseResponse\", targetNamespace = \"http://ws.jinouts.org/\", className = \"org.jinouts.ws.TestListResponseResponse\")\r\n public java.util.List<java.lang.String> testListResponse(\r\n @WebParam(name = \"user\", targetNamespace = \"\")\r\n java.lang.String user\r\n );\r\n\r\n @WebResult(name = \"return\", targetNamespace = \"\")\r\n @RequestWrapper(localName = \"testDateResponse\", targetNamespace = \"http://ws.jinouts.org/\", className = \"org.jinouts.ws.TestDateResponse\")\r\n @WebMethod\r\n @ResponseWrapper(localName = \"testDateResponseResponse\", targetNamespace = \"http://ws.jinouts.org/\", className = \"org.jinouts.ws.TestDateResponseResponse\")\r\n public javax.xml.datatype.XMLGregorianCalendar testDateResponse(\r\n @WebParam(name = \"user\", targetNamespace = \"\")\r\n java.lang.String user\r\n );\r\n\r\n @WebResult(name = \"return\", targetNamespace = \"\")\r\n @RequestWrapper(localName = \"testListOfComplexResponseObject\", targetNamespace = \"http://ws.jinouts.org/\", className = \"org.jinouts.ws.TestListOfComplexResponseObject\")\r\n @WebMethod\r\n @ResponseWrapper(localName = \"testListOfComplexResponseObjectResponse\", targetNamespace = \"http://ws.jinouts.org/\", className = \"org.jinouts.ws.TestListOfComplexResponseObjectResponse\")\r\n public java.util.List<org.jinouts.ws.TestComplexResponse> testListOfComplexResponseObject(\r\n @WebParam(name = \"user\", targetNamespace = \"\")\r\n java.lang.String user\r\n );\r\n\r\n @WebResult(name = \"return\", targetNamespace = \"\")\r\n @RequestWrapper(localName = \"testArrayResponse\", targetNamespace = \"http://ws.jinouts.org/\", className = \"org.jinouts.ws.TestArrayResponse\")\r\n @WebMethod\r\n @ResponseWrapper(localName = \"testArrayResponseResponse\", targetNamespace = \"http://ws.jinouts.org/\", className = \"org.jinouts.ws.TestArrayResponseResponse\")\r\n public java.util.List<java.lang.String> testArrayResponse(\r\n @WebParam(name = \"user\", targetNamespace = \"\")\r\n java.lang.String user\r\n );\r\n\r\n @WebResult(name = \"return\", targetNamespace = \"\")\r\n @RequestWrapper(localName = \"testListOfObjResponse\", targetNamespace = \"http://ws.jinouts.org/\", className = \"org.jinouts.ws.TestListOfObjResponse\")\r\n @WebMethod\r\n @ResponseWrapper(localName = \"testListOfObjResponseResponse\", targetNamespace = \"http://ws.jinouts.org/\", className = \"org.jinouts.ws.TestListOfObjResponseResponse\")\r\n public java.util.List<org.jinouts.ws.MbrDetail> testListOfObjResponse(\r\n @WebParam(name = \"user\", targetNamespace = \"\")\r\n java.lang.String user\r\n );\r\n}", "@WebService(targetNamespace = \"http://xmlns.oracle.com/Interface/MDMTableConditionDataNew/MDMTableConditionDataNew\", name = \"MDMTableConditionDataNew\")\n@XmlSeeAlso({ObjectFactory.class})\npublic interface MDMTableConditionDataNew {\n\n @WebMethod(action = \"process\")\n @RequestWrapper(localName = \"process\", targetNamespace = \"http://xmlns.oracle.com/Interface/MDMTableConditionDataNew/MDMTableConditionDataNew\", className = \"com.microfar.Process\")\n @ResponseWrapper(localName = \"processResponse\", targetNamespace = \"http://xmlns.oracle.com/Interface/MDMTableConditionDataNew/MDMTableConditionDataNew\", className = \"com.microfar.ProcessResponse\")\n public void process(\n\n @WebParam(name = \"IN_SYS_NAME\", targetNamespace = \"http://xmlns.oracle.com/Interface/MDMTableConditionDataNew/MDMTableConditionDataNew\")\n String inSYSNAME,\n @WebParam(name = \"IN_MASTER_TYPE\", targetNamespace = \"http://xmlns.oracle.com/Interface/MDMTableConditionDataNew/MDMTableConditionDataNew\")\n String inMASTERTYPE,\n @WebParam(name = \"IN_TABLE_NAME\", targetNamespace = \"http://xmlns.oracle.com/Interface/MDMTableConditionDataNew/MDMTableConditionDataNew\")\n String inTABLENAME,\n @WebParam(name = \"IN_FIELDS_VALUE_TABLE\", targetNamespace = \"http://xmlns.oracle.com/Interface/MDMTableConditionDataNew/MDMTableConditionDataNew\")\n HAIERMDMFIELDSVALUETABLE inFIELDSVALUETABLE,\n @WebParam(mode = WebParam.Mode.OUT, name = \"OUT_RESULT\", targetNamespace = \"http://xmlns.oracle.com/Interface/MDMTableConditionDataNew/MDMTableConditionDataNew\")\n javax.xml.ws.Holder<String> outRESULT,\n @WebParam(mode = WebParam.Mode.OUT, name = \"OUT_RETMSG\", targetNamespace = \"http://xmlns.oracle.com/Interface/MDMTableConditionDataNew/MDMTableConditionDataNew\")\n javax.xml.ws.Holder<String> outRETMSG,\n @WebParam(mode = WebParam.Mode.OUT, name = \"OUT_RETCODE\", targetNamespace = \"http://xmlns.oracle.com/Interface/MDMTableConditionDataNew/MDMTableConditionDataNew\")\n javax.xml.ws.Holder<String> outRETCODE\n );\n}", "@WebService(name = \"ConfigurationService\", targetNamespace = \"http://ws.coverity.com/v7\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface ConfigurationService {\n\n\n /**\n * \n * @param message\n * @param usernames\n * @param subject\n * @return\n * returns java.util.List<java.lang.String>\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"notify\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.Notify\")\n @ResponseWrapper(localName = \"notifyResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.NotifyResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/notifyRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/notifyResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/notify/Fault/CovRemoteServiceException\")\n })\n public List<String> notify(\n @WebParam(name = \"usernames\", targetNamespace = \"\")\n List<String> usernames,\n @WebParam(name = \"subject\", targetNamespace = \"\")\n String subject,\n @WebParam(name = \"message\", targetNamespace = \"\")\n String message)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @return\n * returns java.util.List<com.coverity.ws.v7.AttributeDefinitionDataObj>\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getAttributes\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetAttributes\")\n @ResponseWrapper(localName = \"getAttributesResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetAttributesResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/getAttributesRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/getAttributesResponse\")\n public List<AttributeDefinitionDataObj> getAttributes();\n\n /**\n * \n * @param attributeDefinitionId\n * @return\n * returns com.coverity.ws.v7.AttributeDefinitionDataObj\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getAttribute\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetAttribute\")\n @ResponseWrapper(localName = \"getAttributeResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetAttributeResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/getAttributeRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/getAttributeResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/getAttribute/Fault/CovRemoteServiceException\")\n })\n public AttributeDefinitionDataObj getAttribute(\n @WebParam(name = \"attributeDefinitionId\", targetNamespace = \"\")\n AttributeDefinitionIdDataObj attributeDefinitionId)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @return\n * returns com.coverity.ws.v7.VersionDataObj\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getVersion\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetVersion\")\n @ResponseWrapper(localName = \"getVersionResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetVersionResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/getVersionRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/getVersionResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/getVersion/Fault/CovRemoteServiceException\")\n })\n public VersionDataObj getVersion()\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param filterSpec\n * @param pageSpec\n * @return\n * returns com.coverity.ws.v7.GroupsPageDataObj\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getGroups\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetGroups\")\n @ResponseWrapper(localName = \"getGroupsResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetGroupsResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/getGroupsRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/getGroupsResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/getGroups/Fault/CovRemoteServiceException\")\n })\n public GroupsPageDataObj getGroups(\n @WebParam(name = \"filterSpec\", targetNamespace = \"\")\n GroupFilterSpecDataObj filterSpec,\n @WebParam(name = \"pageSpec\", targetNamespace = \"\")\n PageSpecDataObj pageSpec)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param filterSpec\n * @param pageSpec\n * @return\n * returns com.coverity.ws.v7.UsersPageDataObj\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getUsers\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetUsers\")\n @ResponseWrapper(localName = \"getUsersResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetUsersResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/getUsersRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/getUsersResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/getUsers/Fault/CovRemoteServiceException\")\n })\n public UsersPageDataObj getUsers(\n @WebParam(name = \"filterSpec\", targetNamespace = \"\")\n UserFilterSpecDataObj filterSpec,\n @WebParam(name = \"pageSpec\", targetNamespace = \"\")\n PageSpecDataObj pageSpec)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param groupId\n * @return\n * returns com.coverity.ws.v7.GroupDataObj\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getGroup\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetGroup\")\n @ResponseWrapper(localName = \"getGroupResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetGroupResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/getGroupRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/getGroupResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/getGroup/Fault/CovRemoteServiceException\")\n })\n public GroupDataObj getGroup(\n @WebParam(name = \"groupId\", targetNamespace = \"\")\n GroupIdDataObj groupId)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param roleId\n * @return\n * returns com.coverity.ws.v7.RoleDataObj\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getRole\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetRole\")\n @ResponseWrapper(localName = \"getRoleResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetRoleResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/getRoleRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/getRoleResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/getRole/Fault/CovRemoteServiceException\")\n })\n public RoleDataObj getRole(\n @WebParam(name = \"roleId\", targetNamespace = \"\")\n RoleIdDataObj roleId)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param attributeDefinitionSpec\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"createAttribute\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.CreateAttribute\")\n @ResponseWrapper(localName = \"createAttributeResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.CreateAttributeResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/createAttributeRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/createAttributeResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/createAttribute/Fault/CovRemoteServiceException\")\n })\n public void createAttribute(\n @WebParam(name = \"attributeDefinitionSpec\", targetNamespace = \"\")\n AttributeDefinitionSpecDataObj attributeDefinitionSpec)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @return\n * returns java.util.List<com.coverity.ws.v7.RoleDataObj>\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getAllRoles\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetAllRoles\")\n @ResponseWrapper(localName = \"getAllRolesResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetAllRolesResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/getAllRolesRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/getAllRolesResponse\")\n public List<RoleDataObj> getAllRoles();\n\n /**\n * \n * @param groupSpec\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"createGroup\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.CreateGroup\")\n @ResponseWrapper(localName = \"createGroupResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.CreateGroupResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/createGroupRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/createGroupResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/createGroup/Fault/CovRemoteServiceException\")\n })\n public void createGroup(\n @WebParam(name = \"groupSpec\", targetNamespace = \"\")\n GroupSpecDataObj groupSpec)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param roleSpec\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"createRole\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.CreateRole\")\n @ResponseWrapper(localName = \"createRoleResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.CreateRoleResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/createRoleRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/createRoleResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/createRole/Fault/CovRemoteServiceException\")\n })\n public void createRole(\n @WebParam(name = \"roleSpec\", targetNamespace = \"\")\n RoleSpecDataObj roleSpec)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param groupId\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"deleteGroup\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.DeleteGroup\")\n @ResponseWrapper(localName = \"deleteGroupResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.DeleteGroupResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/deleteGroupRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/deleteGroupResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/deleteGroup/Fault/CovRemoteServiceException\")\n })\n public void deleteGroup(\n @WebParam(name = \"groupId\", targetNamespace = \"\")\n GroupIdDataObj groupId)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param groupSpec\n * @param groupId\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"updateGroup\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.UpdateGroup\")\n @ResponseWrapper(localName = \"updateGroupResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.UpdateGroupResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/updateGroupRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/updateGroupResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/updateGroup/Fault/CovRemoteServiceException\")\n })\n public void updateGroup(\n @WebParam(name = \"groupId\", targetNamespace = \"\")\n GroupIdDataObj groupId,\n @WebParam(name = \"groupSpec\", targetNamespace = \"\")\n GroupSpecDataObj groupSpec)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param roleSpec\n * @param roleId\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"updateRole\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.UpdateRole\")\n @ResponseWrapper(localName = \"updateRoleResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.UpdateRoleResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/updateRoleRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/updateRoleResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/updateRole/Fault/CovRemoteServiceException\")\n })\n public void updateRole(\n @WebParam(name = \"roleId\", targetNamespace = \"\")\n RoleIdDataObj roleId,\n @WebParam(name = \"roleSpec\", targetNamespace = \"\")\n RoleSpecDataObj roleSpec)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param roleId\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"deleteRole\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.DeleteRole\")\n @ResponseWrapper(localName = \"deleteRoleResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.DeleteRoleResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/deleteRoleRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/deleteRoleResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/deleteRole/Fault/CovRemoteServiceException\")\n })\n public void deleteRole(\n @WebParam(name = \"roleId\", targetNamespace = \"\")\n RoleIdDataObj roleId)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param streamSpec\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"createStream\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.CreateStream\")\n @ResponseWrapper(localName = \"createStreamResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.CreateStreamResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/createStreamRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/createStreamResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/createStream/Fault/CovRemoteServiceException\")\n })\n public void createStream(\n @WebParam(name = \"streamSpec\", targetNamespace = \"\")\n StreamSpecDataObj streamSpec)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param streamId\n * @param streamSpec\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"updateStream\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.UpdateStream\")\n @ResponseWrapper(localName = \"updateStreamResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.UpdateStreamResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/updateStreamRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/updateStreamResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/updateStream/Fault/CovRemoteServiceException\")\n })\n public void updateStream(\n @WebParam(name = \"streamId\", targetNamespace = \"\")\n StreamIdDataObj streamId,\n @WebParam(name = \"streamSpec\", targetNamespace = \"\")\n StreamSpecDataObj streamSpec)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param streamId\n * @param onlyIfEmpty\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"deleteStream\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.DeleteStream\")\n @ResponseWrapper(localName = \"deleteStreamResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.DeleteStreamResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/deleteStreamRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/deleteStreamResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/deleteStream/Fault/CovRemoteServiceException\")\n })\n public void deleteStream(\n @WebParam(name = \"streamId\", targetNamespace = \"\")\n StreamIdDataObj streamId,\n @WebParam(name = \"onlyIfEmpty\", targetNamespace = \"\")\n boolean onlyIfEmpty)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param userSpec\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"createUser\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.CreateUser\")\n @ResponseWrapper(localName = \"createUserResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.CreateUserResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/createUserRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/createUserResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/createUser/Fault/CovRemoteServiceException\")\n })\n public void createUser(\n @WebParam(name = \"userSpec\", targetNamespace = \"\")\n UserSpecDataObj userSpec)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param username\n * @param userSpec\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"updateUser\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.UpdateUser\")\n @ResponseWrapper(localName = \"updateUserResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.UpdateUserResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/updateUserRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/updateUserResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/updateUser/Fault/CovRemoteServiceException\")\n })\n public void updateUser(\n @WebParam(name = \"username\", targetNamespace = \"\")\n String username,\n @WebParam(name = \"userSpec\", targetNamespace = \"\")\n UserSpecDataObj userSpec)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param username\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"deleteUser\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.DeleteUser\")\n @ResponseWrapper(localName = \"deleteUserResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.DeleteUserResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/deleteUserRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/deleteUserResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/deleteUser/Fault/CovRemoteServiceException\")\n })\n public void deleteUser(\n @WebParam(name = \"username\", targetNamespace = \"\")\n String username)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param username\n * @return\n * returns java.util.List<com.coverity.ws.v7.PermissionDataObj>\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getAllIntegrityControlPermissions\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetAllIntegrityControlPermissions\")\n @ResponseWrapper(localName = \"getAllIntegrityControlPermissionsResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetAllIntegrityControlPermissionsResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/getAllIntegrityControlPermissionsRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/getAllIntegrityControlPermissionsResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/getAllIntegrityControlPermissions/Fault/CovRemoteServiceException\")\n })\n public List<PermissionDataObj> getAllIntegrityControlPermissions(\n @WebParam(name = \"username\", targetNamespace = \"\")\n String username)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param attributeDefinitionId\n * @param attributeDefinitionSpec\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"updateAttribute\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.UpdateAttribute\")\n @ResponseWrapper(localName = \"updateAttributeResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.UpdateAttributeResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/updateAttributeRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/updateAttributeResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/updateAttribute/Fault/CovRemoteServiceException\")\n })\n public void updateAttribute(\n @WebParam(name = \"attributeDefinitionId\", targetNamespace = \"\")\n AttributeDefinitionIdDataObj attributeDefinitionId,\n @WebParam(name = \"attributeDefinitionSpec\", targetNamespace = \"\")\n AttributeDefinitionSpecDataObj attributeDefinitionSpec)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param attributeDefinitionId\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"deleteAttribute\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.DeleteAttribute\")\n @ResponseWrapper(localName = \"deleteAttributeResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.DeleteAttributeResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/deleteAttributeRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/deleteAttributeResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/deleteAttribute/Fault/CovRemoteServiceException\")\n })\n public void deleteAttribute(\n @WebParam(name = \"attributeDefinitionId\", targetNamespace = \"\")\n AttributeDefinitionIdDataObj attributeDefinitionId)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param componentMapSpec\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"createComponentMap\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.CreateComponentMap\")\n @ResponseWrapper(localName = \"createComponentMapResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.CreateComponentMapResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/createComponentMapRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/createComponentMapResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/createComponentMap/Fault/CovRemoteServiceException\")\n })\n public void createComponentMap(\n @WebParam(name = \"componentMapSpec\", targetNamespace = \"\")\n ComponentMapSpecDataObj componentMapSpec)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param componentMapSpec\n * @param componentMapId\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"updateComponentMap\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.UpdateComponentMap\")\n @ResponseWrapper(localName = \"updateComponentMapResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.UpdateComponentMapResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/updateComponentMapRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/updateComponentMapResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/updateComponentMap/Fault/CovRemoteServiceException\")\n })\n public void updateComponentMap(\n @WebParam(name = \"componentMapId\", targetNamespace = \"\")\n ComponentMapIdDataObj componentMapId,\n @WebParam(name = \"componentMapSpec\", targetNamespace = \"\")\n ComponentMapSpecDataObj componentMapSpec)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param componentMapId\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"deleteComponentMap\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.DeleteComponentMap\")\n @ResponseWrapper(localName = \"deleteComponentMapResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.DeleteComponentMapResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/deleteComponentMapRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/deleteComponentMapResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/deleteComponentMap/Fault/CovRemoteServiceException\")\n })\n public void deleteComponentMap(\n @WebParam(name = \"componentMapId\", targetNamespace = \"\")\n ComponentMapIdDataObj componentMapId)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param projectSpec\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"createProject\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.CreateProject\")\n @ResponseWrapper(localName = \"createProjectResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.CreateProjectResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/createProjectRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/createProjectResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/createProject/Fault/CovRemoteServiceException\")\n })\n public void createProject(\n @WebParam(name = \"projectSpec\", targetNamespace = \"\")\n ProjectSpecDataObj projectSpec)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param projectSpec\n * @param projectId\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"updateProject\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.UpdateProject\")\n @ResponseWrapper(localName = \"updateProjectResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.UpdateProjectResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/updateProjectRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/updateProjectResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/updateProject/Fault/CovRemoteServiceException\")\n })\n public void updateProject(\n @WebParam(name = \"projectId\", targetNamespace = \"\")\n ProjectIdDataObj projectId,\n @WebParam(name = \"projectSpec\", targetNamespace = \"\")\n ProjectSpecDataObj projectSpec)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param projectId\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"deleteProject\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.DeleteProject\")\n @ResponseWrapper(localName = \"deleteProjectResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.DeleteProjectResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/deleteProjectRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/deleteProjectResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/deleteProject/Fault/CovRemoteServiceException\")\n })\n public void deleteProject(\n @WebParam(name = \"projectId\", targetNamespace = \"\")\n ProjectIdDataObj projectId)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param triageStoreSpec\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"createTriageStore\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.CreateTriageStore\")\n @ResponseWrapper(localName = \"createTriageStoreResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.CreateTriageStoreResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/createTriageStoreRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/createTriageStoreResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/createTriageStore/Fault/CovRemoteServiceException\")\n })\n public void createTriageStore(\n @WebParam(name = \"triageStoreSpec\", targetNamespace = \"\")\n TriageStoreSpecDataObj triageStoreSpec)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param triageStoreSpec\n * @param triageStoreId\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"updateTriageStore\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.UpdateTriageStore\")\n @ResponseWrapper(localName = \"updateTriageStoreResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.UpdateTriageStoreResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/updateTriageStoreRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/updateTriageStoreResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/updateTriageStore/Fault/CovRemoteServiceException\")\n })\n public void updateTriageStore(\n @WebParam(name = \"triageStoreId\", targetNamespace = \"\")\n TriageStoreIdDataObj triageStoreId,\n @WebParam(name = \"triageStoreSpec\", targetNamespace = \"\")\n TriageStoreSpecDataObj triageStoreSpec)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param triageStoreId\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"deleteTriageStore\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.DeleteTriageStore\")\n @ResponseWrapper(localName = \"deleteTriageStoreResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.DeleteTriageStoreResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/deleteTriageStoreRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/deleteTriageStoreResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/deleteTriageStore/Fault/CovRemoteServiceException\")\n })\n public void deleteTriageStore(\n @WebParam(name = \"triageStoreId\", targetNamespace = \"\")\n TriageStoreIdDataObj triageStoreId)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param componentId\n * @return\n * returns com.coverity.ws.v7.ComponentDataObj\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getComponent\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetComponent\")\n @ResponseWrapper(localName = \"getComponentResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetComponentResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/getComponentRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/getComponentResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/getComponent/Fault/CovRemoteServiceException\")\n })\n public ComponentDataObj getComponent(\n @WebParam(name = \"componentId\", targetNamespace = \"\")\n ComponentIdDataObj componentId)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param username\n * @return\n * returns com.coverity.ws.v7.UserDataObj\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getUser\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetUser\")\n @ResponseWrapper(localName = \"getUserResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetUserResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/getUserRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/getUserResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/getUser/Fault/CovRemoteServiceException\")\n })\n public UserDataObj getUser(\n @WebParam(name = \"username\", targetNamespace = \"\")\n String username)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param filterSpec\n * @return\n * returns java.util.List<com.coverity.ws.v7.StreamDataObj>\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getStreams\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetStreams\")\n @ResponseWrapper(localName = \"getStreamsResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetStreamsResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/getStreamsRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/getStreamsResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/getStreams/Fault/CovRemoteServiceException\")\n })\n public List<StreamDataObj> getStreams(\n @WebParam(name = \"filterSpec\", targetNamespace = \"\")\n StreamFilterSpecDataObj filterSpec)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param filterSpec\n * @return\n * returns java.util.List<com.coverity.ws.v7.CheckerPropertyDataObj>\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getCheckerProperties\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetCheckerProperties\")\n @ResponseWrapper(localName = \"getCheckerPropertiesResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetCheckerPropertiesResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/getCheckerPropertiesRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/getCheckerPropertiesResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/getCheckerProperties/Fault/CovRemoteServiceException\")\n })\n public List<CheckerPropertyDataObj> getCheckerProperties(\n @WebParam(name = \"filterSpec\", targetNamespace = \"\")\n CheckerPropertyFilterSpecDataObj filterSpec)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param snapshotId\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"deleteSnapshot\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.DeleteSnapshot\")\n @ResponseWrapper(localName = \"deleteSnapshotResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.DeleteSnapshotResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/deleteSnapshotRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/deleteSnapshotResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/deleteSnapshot/Fault/CovRemoteServiceException\")\n })\n public void deleteSnapshot(\n @WebParam(name = \"snapshotId\", targetNamespace = \"\")\n List<SnapshotIdDataObj> snapshotId)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param viewname\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"executeNotification\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.ExecuteNotification\")\n @ResponseWrapper(localName = \"executeNotificationResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.ExecuteNotificationResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/executeNotificationRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/executeNotificationResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/executeNotification/Fault/CovRemoteServiceException\")\n })\n public void executeNotification(\n @WebParam(name = \"viewname\", targetNamespace = \"\")\n String viewname)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param filterSpec\n * @return\n * returns java.util.List<com.coverity.ws.v7.ProjectDataObj>\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getProjects\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetProjects\")\n @ResponseWrapper(localName = \"getProjectsResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetProjectsResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/getProjectsRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/getProjectsResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/getProjects/Fault/CovRemoteServiceException\")\n })\n public List<ProjectDataObj> getProjects(\n @WebParam(name = \"filterSpec\", targetNamespace = \"\")\n ProjectFilterSpecDataObj filterSpec)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param projectId\n * @param sourceStreamId\n * @return\n * returns com.coverity.ws.v7.StreamDataObj\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"copyStream\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.CopyStream\")\n @ResponseWrapper(localName = \"copyStreamResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.CopyStreamResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/copyStreamRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/copyStreamResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/copyStream/Fault/CovRemoteServiceException\")\n })\n public StreamDataObj copyStream(\n @WebParam(name = \"projectId\", targetNamespace = \"\")\n ProjectIdDataObj projectId,\n @WebParam(name = \"sourceStreamId\", targetNamespace = \"\")\n StreamIdDataObj sourceStreamId)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param streamSpec\n * @param projectId\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"createStreamInProject\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.CreateStreamInProject\")\n @ResponseWrapper(localName = \"createStreamInProjectResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.CreateStreamInProjectResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/createStreamInProjectRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/createStreamInProjectResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/createStreamInProject/Fault/CovRemoteServiceException\")\n })\n public void createStreamInProject(\n @WebParam(name = \"projectId\", targetNamespace = \"\")\n ProjectIdDataObj projectId,\n @WebParam(name = \"streamSpec\", targetNamespace = \"\")\n StreamSpecDataObj streamSpec)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param arg0\n */\n @WebMethod\n @RequestWrapper(localName = \"setAcceptingNewCommits\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.SetAcceptingNewCommits\")\n @ResponseWrapper(localName = \"setAcceptingNewCommitsResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.SetAcceptingNewCommitsResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/setAcceptingNewCommitsRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/setAcceptingNewCommitsResponse\")\n public void setAcceptingNewCommits(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n boolean arg0);\n\n /**\n * \n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getMessageOfTheDay\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetMessageOfTheDay\")\n @ResponseWrapper(localName = \"getMessageOfTheDayResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetMessageOfTheDayResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/getMessageOfTheDayRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/getMessageOfTheDayResponse\")\n public String getMessageOfTheDay();\n\n /**\n * \n * @param message\n */\n @WebMethod\n @RequestWrapper(localName = \"setMessageOfTheDay\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.SetMessageOfTheDay\")\n @ResponseWrapper(localName = \"setMessageOfTheDayResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.SetMessageOfTheDayResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/setMessageOfTheDayRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/setMessageOfTheDayResponse\")\n public void setMessageOfTheDay(\n @WebParam(name = \"message\", targetNamespace = \"\")\n String message);\n\n /**\n * \n * @param filterSpec\n * @return\n * returns java.util.List<com.coverity.ws.v7.TriageStoreDataObj>\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getTriageStores\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetTriageStores\")\n @ResponseWrapper(localName = \"getTriageStoresResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetTriageStoresResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/getTriageStoresRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/getTriageStoresResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/getTriageStores/Fault/CovRemoteServiceException\")\n })\n public List<TriageStoreDataObj> getTriageStores(\n @WebParam(name = \"filterSpec\", targetNamespace = \"\")\n TriageStoreFilterSpecDataObj filterSpec)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @return\n * returns com.coverity.ws.v7.CommitStateDataObj\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getCommitState\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetCommitState\")\n @ResponseWrapper(localName = \"getCommitStateResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetCommitStateResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/getCommitStateRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/getCommitStateResponse\")\n public CommitStateDataObj getCommitState();\n\n /**\n * \n * @return\n * returns java.util.List<com.coverity.ws.v7.ServerDomainIdDataObj>\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getLdapServerDomains\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetLdapServerDomains\")\n @ResponseWrapper(localName = \"getLdapServerDomainsResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetLdapServerDomainsResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/getLdapServerDomainsRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/getLdapServerDomainsResponse\")\n public List<ServerDomainIdDataObj> getLdapServerDomains();\n\n /**\n * \n * @return\n * returns com.coverity.ws.v7.LicenseStateDataObj\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getLicenseState\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetLicenseState\")\n @ResponseWrapper(localName = \"getLicenseStateResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetLicenseStateResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/getLicenseStateRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/getLicenseStateResponse\")\n public LicenseStateDataObj getLicenseState();\n\n /**\n * \n * @param snapshotId\n * @param snapshotData\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"updateSnapshotInfo\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.UpdateSnapshotInfo\")\n @ResponseWrapper(localName = \"updateSnapshotInfoResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.UpdateSnapshotInfoResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/updateSnapshotInfoRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/updateSnapshotInfoResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/updateSnapshotInfo/Fault/CovRemoteServiceException\")\n })\n public void updateSnapshotInfo(\n @WebParam(name = \"snapshotId\", targetNamespace = \"\")\n SnapshotIdDataObj snapshotId,\n @WebParam(name = \"snapshotData\", targetNamespace = \"\")\n SnapshotInfoDataObj snapshotData)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @return\n * returns java.util.List<com.coverity.ws.v7.FeatureUpdateTimeDataObj>\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getLastUpdateTimes\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetLastUpdateTimes\")\n @ResponseWrapper(localName = \"getLastUpdateTimesResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetLastUpdateTimesResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/getLastUpdateTimesRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/getLastUpdateTimesResponse\")\n public List<FeatureUpdateTimeDataObj> getLastUpdateTimes();\n\n /**\n * \n * @param ldapConfigurationSpec\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"createLdapConfiguration\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.CreateLdapConfiguration\")\n @ResponseWrapper(localName = \"createLdapConfigurationResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.CreateLdapConfigurationResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/createLdapConfigurationRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/createLdapConfigurationResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/createLdapConfiguration/Fault/CovRemoteServiceException\")\n })\n public void createLdapConfiguration(\n @WebParam(name = \"ldapConfigurationSpec\", targetNamespace = \"\")\n LdapConfigurationSpecDataObj ldapConfigurationSpec)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param ldapConfigurationSpec\n * @param serverDomainIdDataObj\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"updateLdapConfiguration\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.UpdateLdapConfiguration\")\n @ResponseWrapper(localName = \"updateLdapConfigurationResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.UpdateLdapConfigurationResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/updateLdapConfigurationRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/updateLdapConfigurationResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/updateLdapConfiguration/Fault/CovRemoteServiceException\")\n })\n public void updateLdapConfiguration(\n @WebParam(name = \"serverDomainIdDataObj\", targetNamespace = \"\")\n ServerDomainIdDataObj serverDomainIdDataObj,\n @WebParam(name = \"ldapConfigurationSpec\", targetNamespace = \"\")\n LdapConfigurationSpecDataObj ldapConfigurationSpec)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @return\n * returns com.coverity.ws.v7.SnapshotPurgeDetailsObj\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getSnapshotPurgeDetails\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetSnapshotPurgeDetails\")\n @ResponseWrapper(localName = \"getSnapshotPurgeDetailsResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetSnapshotPurgeDetailsResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/getSnapshotPurgeDetailsRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/getSnapshotPurgeDetailsResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/getSnapshotPurgeDetails/Fault/CovRemoteServiceException\")\n })\n public SnapshotPurgeDetailsObj getSnapshotPurgeDetails()\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param purgeDetailsSpec\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"setSnapshotPurgeDetails\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.SetSnapshotPurgeDetails\")\n @ResponseWrapper(localName = \"setSnapshotPurgeDetailsResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.SetSnapshotPurgeDetailsResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/setSnapshotPurgeDetailsRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/setSnapshotPurgeDetailsResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/setSnapshotPurgeDetails/Fault/CovRemoteServiceException\")\n })\n public void setSnapshotPurgeDetails(\n @WebParam(name = \"purgeDetailsSpec\", targetNamespace = \"\")\n SnapshotPurgeDetailsObj purgeDetailsSpec)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param srcTriageStoreIds\n * @param triageStoreId\n * @param deleteSourceStores\n * @param assignStreamsToTargetStore\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"mergeTriageStores\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.MergeTriageStores\")\n @ResponseWrapper(localName = \"mergeTriageStoresResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.MergeTriageStoresResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/mergeTriageStoresRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/mergeTriageStoresResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/mergeTriageStores/Fault/CovRemoteServiceException\")\n })\n public void mergeTriageStores(\n @WebParam(name = \"srcTriageStoreIds\", targetNamespace = \"\")\n List<TriageStoreIdDataObj> srcTriageStoreIds,\n @WebParam(name = \"triageStoreId\", targetNamespace = \"\")\n TriageStoreIdDataObj triageStoreId,\n @WebParam(name = \"deleteSourceStores\", targetNamespace = \"\")\n boolean deleteSourceStores,\n @WebParam(name = \"assignStreamsToTargetStore\", targetNamespace = \"\")\n boolean assignStreamsToTargetStore)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @return\n * returns java.util.List<com.coverity.ws.v7.PermissionDataObj>\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getAllPermissions\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetAllPermissions\")\n @ResponseWrapper(localName = \"getAllPermissionsResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetAllPermissionsResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/getAllPermissionsRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/getAllPermissionsResponse\")\n public List<PermissionDataObj> getAllPermissions();\n\n /**\n * \n * @return\n * returns java.util.List<com.coverity.ws.v7.LdapConfigurationDataObj>\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getAllLdapConfigurations\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetAllLdapConfigurations\")\n @ResponseWrapper(localName = \"getAllLdapConfigurationsResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetAllLdapConfigurationsResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/getAllLdapConfigurationsRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/getAllLdapConfigurationsResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/getAllLdapConfigurations/Fault/CovRemoteServiceException\")\n })\n public List<LdapConfigurationDataObj> getAllLdapConfigurations()\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param snapshotId\n * @return\n * returns java.util.List<com.coverity.ws.v7.DeleteSnapshotJobInfoDataObj>\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getDeleteSnapshotJobInfo\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetDeleteSnapshotJobInfo\")\n @ResponseWrapper(localName = \"getDeleteSnapshotJobInfoResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetDeleteSnapshotJobInfoResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/getDeleteSnapshotJobInfoRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/getDeleteSnapshotJobInfoResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/getDeleteSnapshotJobInfo/Fault/CovRemoteServiceException\")\n })\n public List<DeleteSnapshotJobInfoDataObj> getDeleteSnapshotJobInfo(\n @WebParam(name = \"snapshotId\", targetNamespace = \"\")\n List<SnapshotIdDataObj> snapshotId)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param streamId\n * @param filterSpec\n * @return\n * returns java.util.List<com.coverity.ws.v7.SnapshotIdDataObj>\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getSnapshotsForStream\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetSnapshotsForStream\")\n @ResponseWrapper(localName = \"getSnapshotsForStreamResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetSnapshotsForStreamResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/getSnapshotsForStreamRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/getSnapshotsForStreamResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/getSnapshotsForStream/Fault/CovRemoteServiceException\")\n })\n public List<SnapshotIdDataObj> getSnapshotsForStream(\n @WebParam(name = \"streamId\", targetNamespace = \"\")\n StreamIdDataObj streamId,\n @WebParam(name = \"filterSpec\", targetNamespace = \"\")\n SnapshotFilterSpecDataObj filterSpec)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param serverDomainIdDataObj\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"deleteLdapConfiguration\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.DeleteLdapConfiguration\")\n @ResponseWrapper(localName = \"deleteLdapConfigurationResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.DeleteLdapConfigurationResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/deleteLdapConfigurationRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/deleteLdapConfigurationResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/deleteLdapConfiguration/Fault/CovRemoteServiceException\")\n })\n public void deleteLdapConfiguration(\n @WebParam(name = \"serverDomainIdDataObj\", targetNamespace = \"\")\n ServerDomainIdDataObj serverDomainIdDataObj)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param filterSpec\n * @return\n * returns java.util.List<com.coverity.ws.v7.ComponentMapDataObj>\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getComponentMaps\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetComponentMaps\")\n @ResponseWrapper(localName = \"getComponentMapsResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetComponentMapsResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/getComponentMapsRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/getComponentMapsResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/getComponentMaps/Fault/CovRemoteServiceException\")\n })\n public List<ComponentMapDataObj> getComponentMaps(\n @WebParam(name = \"filterSpec\", targetNamespace = \"\")\n ComponentMapFilterSpecDataObj filterSpec)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @return\n * returns java.util.List<java.lang.String>\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getDefectStatuses\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetDefectStatuses\")\n @ResponseWrapper(localName = \"getDefectStatusesResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetDefectStatusesResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/getDefectStatusesRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/getDefectStatusesResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/getDefectStatuses/Fault/CovRemoteServiceException\")\n })\n public List<String> getDefectStatuses()\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param snapshotIds\n * @return\n * returns java.util.List<com.coverity.ws.v7.SnapshotInfoDataObj>\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getSnapshotInformation\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetSnapshotInformation\")\n @ResponseWrapper(localName = \"getSnapshotInformationResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetSnapshotInformationResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/getSnapshotInformationRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/getSnapshotInformationResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/getSnapshotInformation/Fault/CovRemoteServiceException\")\n })\n public List<SnapshotInfoDataObj> getSnapshotInformation(\n @WebParam(name = \"snapshotIds\", targetNamespace = \"\")\n List<SnapshotIdDataObj> snapshotIds)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @return\n * returns javax.xml.datatype.XMLGregorianCalendar\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getServerTime\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetServerTime\")\n @ResponseWrapper(localName = \"getServerTimeResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetServerTimeResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/getServerTimeRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/getServerTimeResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/getServerTime/Fault/CovRemoteServiceException\")\n })\n public XMLGregorianCalendar getServerTime()\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @return\n * returns com.coverity.ws.v7.ConfigurationDataObj\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getSystemConfig\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetSystemConfig\")\n @ResponseWrapper(localName = \"getSystemConfigResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetSystemConfigResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/getSystemConfigRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/getSystemConfigResponse\")\n public ConfigurationDataObj getSystemConfig();\n\n}", "@WebService(wsdlLocation=\"https://jcs.my-oraclecloudapps.com/HealthCare/HealthCarePort?WSDL\",\n targetNamespace=\"http://ws.healthcare.ptsdemo.oracle.com/\", name=\"HealthCare\")\n@XmlSeeAlso(\n { com.oracle.ptsdemo.healthcare.wsclient.healthcare.generated.ObjectFactory.class })\npublic interface HealthCare\n{\n @WebMethod\n @Action(input=\"http://ws.healthcare.ptsdemo.oracle.com/HealthCare/isMedicationReadyToPickupRequest\",\n output=\"http://ws.healthcare.ptsdemo.oracle.com/HealthCare/isMedicationReadyToPickupResponse\")\n @ResponseWrapper(localName=\"isMedicationReadyToPickupResponse\",\n targetNamespace=\"http://ws.healthcare.ptsdemo.oracle.com/\", className=\"com.oracle.ptsdemo.healthcare.wsclient.healthcare.generated.IsMedicationReadyToPickupResponse\")\n @RequestWrapper(localName=\"isMedicationReadyToPickup\", targetNamespace=\"http://ws.healthcare.ptsdemo.oracle.com/\",\n className=\"com.oracle.ptsdemo.healthcare.wsclient.healthcare.generated.IsMedicationReadyToPickup\")\n @WebResult(targetNamespace=\"\")\n public boolean isMedicationReadyToPickup(@WebParam(targetNamespace=\"\",\n name=\"arg0\")\n String arg0);\n\n @WebMethod\n @Action(input=\"http://ws.healthcare.ptsdemo.oracle.com/HealthCare/requestOrderStatusRequest\",\n output=\"http://ws.healthcare.ptsdemo.oracle.com/HealthCare/requestOrderStatusResponse\")\n @ResponseWrapper(localName=\"requestOrderStatusResponse\",\n targetNamespace=\"http://ws.healthcare.ptsdemo.oracle.com/\", className=\"com.oracle.ptsdemo.healthcare.wsclient.healthcare.generated.RequestOrderStatusResponse\")\n @RequestWrapper(localName=\"requestOrderStatus\", targetNamespace=\"http://ws.healthcare.ptsdemo.oracle.com/\",\n className=\"com.oracle.ptsdemo.healthcare.wsclient.healthcare.generated.RequestOrderStatus\")\n @WebResult(targetNamespace=\"\")\n public String requestOrderStatus(@WebParam(targetNamespace=\"\", name=\"arg0\")\n String arg0);\n\n @WebMethod\n @Action(input=\"http://ws.healthcare.ptsdemo.oracle.com/HealthCare/setMedicationReadyToPickup\")\n @RequestWrapper(localName=\"setMedicationReadyToPickup\", targetNamespace=\"http://ws.healthcare.ptsdemo.oracle.com/\",\n className=\"com.oracle.ptsdemo.healthcare.wsclient.healthcare.generated.SetMedicationReadyToPickup\")\n @Oneway\n public void setMedicationReadyToPickup(@WebParam(targetNamespace=\"\",\n name=\"arg0\")\n String arg0);\n\n @WebMethod\n @Action(input=\"http://ws.healthcare.ptsdemo.oracle.com/HealthCare/loadPrescriptionRequest\",\n output=\"http://ws.healthcare.ptsdemo.oracle.com/HealthCare/loadPrescriptionResponse\")\n @ResponseWrapper(localName=\"loadPrescriptionResponse\", targetNamespace=\"http://ws.healthcare.ptsdemo.oracle.com/\",\n className=\"com.oracle.ptsdemo.healthcare.wsclient.healthcare.generated.LoadPrescriptionResponse\")\n @RequestWrapper(localName=\"loadPrescription\", targetNamespace=\"http://ws.healthcare.ptsdemo.oracle.com/\",\n className=\"com.oracle.ptsdemo.healthcare.wsclient.healthcare.generated.LoadPrescription\")\n @WebResult(targetNamespace=\"\")\n public String loadPrescription(@WebParam(targetNamespace=\"\", name=\"arg0\")\n String arg0);\n}", "@WebService(targetNamespace = \"http://jaxws.intergrupo.com.co/\", name = \"InterfaceWebService\")\r\n@XmlSeeAlso({ObjectFactory.class})\r\npublic interface InterfaceWebService {\r\n\r\n @WebResult(name = \"return\", targetNamespace = \"\")\r\n @RequestWrapper(localName = \"vehiculoReportado\", targetNamespace = \"http://jaxws.intergrupo.com.co/\", className = \"co.com.intergrupo.cxf.VehiculoReportado\")\r\n @WebMethod(action = \"urn:vehiculoReportado\")\r\n @ResponseWrapper(localName = \"vehiculoReportadoResponse\", targetNamespace = \"http://jaxws.intergrupo.com.co/\", className = \"co.com.intergrupo.cxf.VehiculoReportadoResponse\")\r\n public boolean vehiculoReportado(\r\n @WebParam(name = \"placa\", targetNamespace = \"\")\r\n java.lang.String placa\r\n );\r\n\r\n @WebResult(name = \"return\", targetNamespace = \"\")\r\n @RequestWrapper(localName = \"saludo\", targetNamespace = \"http://jaxws.intergrupo.com.co/\", className = \"co.com.intergrupo.cxf.Saludo\")\r\n @WebMethod\r\n @ResponseWrapper(localName = \"saludoResponse\", targetNamespace = \"http://jaxws.intergrupo.com.co/\", className = \"co.com.intergrupo.cxf.SaludoResponse\")\r\n public java.lang.String saludo(\r\n @WebParam(name = \"nombre\", targetNamespace = \"\")\r\n java.lang.String nombre\r\n );\r\n\r\n @WebResult(name = \"vehiculo\", targetNamespace = \"\")\r\n @RequestWrapper(localName = \"consultarVehiculo\", targetNamespace = \"http://jaxws.intergrupo.com.co/\", className = \"co.com.intergrupo.cxf.ConsultarVehiculo\")\r\n @WebMethod(action = \"urn:consultarVehiculo\")\r\n @ResponseWrapper(localName = \"consultarVehiculoResponse\", targetNamespace = \"http://jaxws.intergrupo.com.co/\", className = \"co.com.intergrupo.cxf.ConsultarVehiculoResponse\")\r\n public co.com.intergrupo.cxf.Vehiculo consultarVehiculo(\r\n @WebParam(name = \"placa\", targetNamespace = \"\")\r\n java.lang.String placa\r\n );\r\n\r\n @WebResult(name = \"return\", targetNamespace = \"\")\r\n @RequestWrapper(localName = \"vehiculoAlDiaConImpuesto\", targetNamespace = \"http://jaxws.intergrupo.com.co/\", className = \"co.com.intergrupo.cxf.VehiculoAlDiaConImpuesto\")\r\n @WebMethod(action = \"urn:vehiculoAlDiaConImpuesto\")\r\n @ResponseWrapper(localName = \"vehiculoAlDiaConImpuestoResponse\", targetNamespace = \"http://jaxws.intergrupo.com.co/\", className = \"co.com.intergrupo.cxf.VehiculoAlDiaConImpuestoResponse\")\r\n public boolean vehiculoAlDiaConImpuesto(\r\n @WebParam(name = \"placa\", targetNamespace = \"\")\r\n java.lang.String placa\r\n );\r\n\r\n @WebResult(name = \"return\", targetNamespace = \"\")\r\n @RequestWrapper(localName = \"registradoRunt\", targetNamespace = \"http://jaxws.intergrupo.com.co/\", className = \"co.com.intergrupo.cxf.RegistradoRunt\")\r\n @WebMethod(action = \"urn:registradoRunt\")\r\n @ResponseWrapper(localName = \"registradoRuntResponse\", targetNamespace = \"http://jaxws.intergrupo.com.co/\", className = \"co.com.intergrupo.cxf.RegistradoRuntResponse\")\r\n public boolean registradoRunt(\r\n @WebParam(name = \"placa\", targetNamespace = \"\")\r\n java.lang.String placa\r\n );\r\n}", "public sample.ws.HelloWorldWSStub.HelloResponse hello(\n\n sample.ws.HelloWorldWSStub.Hello hello4)\n \n\n throws java.rmi.RemoteException\n \n {\n org.apache.axis2.context.MessageContext _messageContext = null;\n try{\n org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[2].getName());\n _operationClient.getOptions().setAction(\"hello\");\n _operationClient.getOptions().setExceptionToBeThrownOnSOAPFault(true);\n\n \n \n addPropertyToOperationClient(_operationClient,org.apache.axis2.description.WSDL2Constants.ATTR_WHTTP_QUERY_PARAMETER_SEPARATOR,\"&\");\n \n\n // create a message context\n _messageContext = new org.apache.axis2.context.MessageContext();\n\n \n\n // create SOAP envelope with that payload\n org.apache.axiom.soap.SOAPEnvelope env = null;\n \n \n env = toEnvelope(getFactory(_operationClient.getOptions().getSoapVersionURI()),\n hello4,\n optimizeContent(new javax.xml.namespace.QName(\"http://ws.sample/\",\n \"hello\")));\n \n //adding SOAP soap_headers\n _serviceClient.addHeadersToEnvelope(env);\n // set the message context with that soap envelope\n _messageContext.setEnvelope(env);\n\n // add the message contxt to the operation client\n _operationClient.addMessageContext(_messageContext);\n\n //execute the operation client\n _operationClient.execute(true);\n\n \n org.apache.axis2.context.MessageContext _returnMessageContext = _operationClient.getMessageContext(\n org.apache.axis2.wsdl.WSDLConstants.MESSAGE_LABEL_IN_VALUE);\n org.apache.axiom.soap.SOAPEnvelope _returnEnv = _returnMessageContext.getEnvelope();\n \n \n java.lang.Object object = fromOM(\n _returnEnv.getBody().getFirstElement() ,\n sample.ws.HelloWorldWSStub.HelloResponse.class,\n getEnvelopeNamespaces(_returnEnv));\n\n \n return (sample.ws.HelloWorldWSStub.HelloResponse)object;\n \n }catch(org.apache.axis2.AxisFault f){\n\n org.apache.axiom.om.OMElement faultElt = f.getDetail();\n if (faultElt!=null){\n if (faultExceptionNameMap.containsKey(faultElt.getQName())){\n //make the fault by reflection\n try{\n java.lang.String exceptionClassName = (java.lang.String)faultExceptionClassNameMap.get(faultElt.getQName());\n java.lang.Class exceptionClass = java.lang.Class.forName(exceptionClassName);\n java.lang.Exception ex=\n (java.lang.Exception) exceptionClass.newInstance();\n //message class\n java.lang.String messageClassName = (java.lang.String)faultMessageMap.get(faultElt.getQName());\n java.lang.Class messageClass = java.lang.Class.forName(messageClassName);\n java.lang.Object messageObject = fromOM(faultElt,messageClass,null);\n java.lang.reflect.Method m = exceptionClass.getMethod(\"setFaultMessage\",\n new java.lang.Class[]{messageClass});\n m.invoke(ex,new java.lang.Object[]{messageObject});\n \n\n throw new java.rmi.RemoteException(ex.getMessage(), ex);\n }catch(java.lang.ClassCastException e){\n // we cannot intantiate the class - throw the original Axis fault\n throw f;\n } catch (java.lang.ClassNotFoundException e) {\n // we cannot intantiate the class - throw the original Axis fault\n throw f;\n }catch (java.lang.NoSuchMethodException e) {\n // we cannot intantiate the class - throw the original Axis fault\n throw f;\n } catch (java.lang.reflect.InvocationTargetException e) {\n // we cannot intantiate the class - throw the original Axis fault\n throw f;\n } catch (java.lang.IllegalAccessException e) {\n // we cannot intantiate the class - throw the original Axis fault\n throw f;\n } catch (java.lang.InstantiationException e) {\n // we cannot intantiate the class - throw the original Axis fault\n throw f;\n }\n }else{\n throw f;\n }\n }else{\n throw f;\n }\n } finally {\n _messageContext.getTransportOut().getSender().cleanup(_messageContext);\n }\n }", "public sample.ws.HelloWorldWSStub.HelloAuthenticatedResponse helloAuthenticated(\n\n sample.ws.HelloWorldWSStub.HelloAuthenticated helloAuthenticated8)\n \n\n throws java.rmi.RemoteException\n \n {\n org.apache.axis2.context.MessageContext _messageContext = null;\n try{\n org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[4].getName());\n _operationClient.getOptions().setAction(\"helloAuthenticated\");\n _operationClient.getOptions().setExceptionToBeThrownOnSOAPFault(true);\n\n \n \n addPropertyToOperationClient(_operationClient,org.apache.axis2.description.WSDL2Constants.ATTR_WHTTP_QUERY_PARAMETER_SEPARATOR,\"&\");\n \n\n // create a message context\n _messageContext = new org.apache.axis2.context.MessageContext();\n\n \n\n // create SOAP envelope with that payload\n org.apache.axiom.soap.SOAPEnvelope env = null;\n \n \n env = toEnvelope(getFactory(_operationClient.getOptions().getSoapVersionURI()),\n helloAuthenticated8,\n optimizeContent(new javax.xml.namespace.QName(\"http://ws.sample/\",\n \"helloAuthenticated\")));\n \n //adding SOAP soap_headers\n _serviceClient.addHeadersToEnvelope(env);\n // set the message context with that soap envelope\n _messageContext.setEnvelope(env);\n\n // add the message contxt to the operation client\n _operationClient.addMessageContext(_messageContext);\n\n //execute the operation client\n _operationClient.execute(true);\n\n \n org.apache.axis2.context.MessageContext _returnMessageContext = _operationClient.getMessageContext(\n org.apache.axis2.wsdl.WSDLConstants.MESSAGE_LABEL_IN_VALUE);\n org.apache.axiom.soap.SOAPEnvelope _returnEnv = _returnMessageContext.getEnvelope();\n \n \n java.lang.Object object = fromOM(\n _returnEnv.getBody().getFirstElement() ,\n sample.ws.HelloWorldWSStub.HelloAuthenticatedResponse.class,\n getEnvelopeNamespaces(_returnEnv));\n\n \n return (sample.ws.HelloWorldWSStub.HelloAuthenticatedResponse)object;\n \n }catch(org.apache.axis2.AxisFault f){\n\n org.apache.axiom.om.OMElement faultElt = f.getDetail();\n if (faultElt!=null){\n if (faultExceptionNameMap.containsKey(faultElt.getQName())){\n //make the fault by reflection\n try{\n java.lang.String exceptionClassName = (java.lang.String)faultExceptionClassNameMap.get(faultElt.getQName());\n java.lang.Class exceptionClass = java.lang.Class.forName(exceptionClassName);\n java.lang.Exception ex=\n (java.lang.Exception) exceptionClass.newInstance();\n //message class\n java.lang.String messageClassName = (java.lang.String)faultMessageMap.get(faultElt.getQName());\n java.lang.Class messageClass = java.lang.Class.forName(messageClassName);\n java.lang.Object messageObject = fromOM(faultElt,messageClass,null);\n java.lang.reflect.Method m = exceptionClass.getMethod(\"setFaultMessage\",\n new java.lang.Class[]{messageClass});\n m.invoke(ex,new java.lang.Object[]{messageObject});\n \n\n throw new java.rmi.RemoteException(ex.getMessage(), ex);\n }catch(java.lang.ClassCastException e){\n // we cannot intantiate the class - throw the original Axis fault\n throw f;\n } catch (java.lang.ClassNotFoundException e) {\n // we cannot intantiate the class - throw the original Axis fault\n throw f;\n }catch (java.lang.NoSuchMethodException e) {\n // we cannot intantiate the class - throw the original Axis fault\n throw f;\n } catch (java.lang.reflect.InvocationTargetException e) {\n // we cannot intantiate the class - throw the original Axis fault\n throw f;\n } catch (java.lang.IllegalAccessException e) {\n // we cannot intantiate the class - throw the original Axis fault\n throw f;\n } catch (java.lang.InstantiationException e) {\n // we cannot intantiate the class - throw the original Axis fault\n throw f;\n }\n }else{\n throw f;\n }\n }else{\n throw f;\n }\n } finally {\n _messageContext.getTransportOut().getSender().cleanup(_messageContext);\n }\n }", "@WebService(name = \"FileService\", targetNamespace = \"http://soap.web.lab/\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface FileService extends lab.web.FileService {\n\n\n /**\n * \n * @param arg0\n * @return\n * returns boolean\n * @throws ServiceException\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"writeFile\", targetNamespace = \"http://soap.web.lab/\", className = \"WriteFile\")\n @ResponseWrapper(localName = \"writeFileResponse\", targetNamespace = \"http://soap.web.lab/\", className = \"WriteFileResponse\")\n public boolean writeFile(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n String arg0)\n throws ServiceException\n ;\n\n /**\n * \n * @return\n * returns java.util.List<java.lang.String>\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getListAllFiles\", targetNamespace = \"http://soap.web.lab/\", className = \"GetListAllFiles\")\n @ResponseWrapper(localName = \"getListAllFilesResponse\", targetNamespace = \"http://soap.web.lab/\", className = \"GetListAllFilesResponse\")\n public List<String> getListAllFiles();\n\n /**\n * \n * @param arg0\n * @return\n * returns boolean\n * @throws ServiceException\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"deleteFile\", targetNamespace = \"http://soap.web.lab/\", className = \"DeleteFile\")\n @ResponseWrapper(localName = \"deleteFileResponse\", targetNamespace = \"http://soap.web.lab/\", className = \"DeleteFileResponse\")\n public boolean deleteFile(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n String arg0)\n throws ServiceException\n ;\n\n /**\n * \n * @param arg1\n * @param arg0\n * @return\n * returns boolean\n * @throws ServiceException\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"downloadFile\", targetNamespace = \"http://soap.web.lab/\", className = \"DownloadFile\")\n @ResponseWrapper(localName = \"downloadFileResponse\", targetNamespace = \"http://soap.web.lab/\", className = \"DownloadFileResponse\")\n public boolean downloadFile(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n String arg0,\n @WebParam(name = \"arg1\", targetNamespace = \"\")\n String arg1)\n throws ServiceException\n ;\n\n}", "@WebService(name = \"InformacionClientePort\", targetNamespace = \"http://www.soaint.com/InformacionCliente/\")\n@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)\n@XmlSeeAlso({ ObjectFactory.class })\npublic interface InformacionClientePort {\n\n\n /**\n *\n * @param parameters\n * @return\n * returns com.soaint.informacioncliente.ListaCLienteType\n */\n @WebMethod(action = \"http://www.soaint.com/InformacionCliente/consultarClientes\")\n @WebResult(name = \"consultarClientesRs\", targetNamespace = \"http://www.soaint.com/InformacionCliente/\",\n partName = \"parameters\")\n public ListaCLienteType consultarClientes(@WebParam(name = \"consultarClientesRq\",\n targetNamespace = \"http://www.soaint.com/InformacionCliente/\",\n partName = \"parameters\") ClienteType parameters);\n\n /**\n *\n * @param parameters\n * @return\n * returns com.soaint.informacioncliente.MoraType\n */\n @WebMethod(action = \"http://www.soaint.com/InformacionCliente/clientePoseeMora\")\n @WebResult(name = \"clientePoseeMoraRs\", targetNamespace = \"http://www.soaint.com/InformacionCliente/\",\n partName = \"parameters\")\n public MoraType clientePoseeMora(@WebParam(name = \"clientePoseeMoraRq\",\n targetNamespace = \"http://www.soaint.com/InformacionCliente/\",\n partName = \"parameters\") ClienteType parameters);\n\n}", "@WebService(targetNamespace = \"http://esb.z-t-z.ru/Integration/SAP\", name = \"TestJaxWs\")\n@XmlSeeAlso({ObjectFactory.class})\n//@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.WRAPPED)\n@SOAPBinding(style = SOAPBinding.Style.DOCUMENT, use = SOAPBinding.Use.LITERAL, parameterStyle = SOAPBinding.ParameterStyle.WRAPPED) //28.12.2018 forum advice\npublic interface TestJaxWs {\n\n @WebMethod(operationName = \"jaxWsTest1\", action = \"http://sap.com/xi/WebService/soap1.1\")\n @RequestWrapper(localName = \"jaxWsTest1\", targetNamespace = \"http://esb.z-t-z.ru/Integration/SAP\", className = \"com.example.sample.JaxWsTest1\")\n @ResponseWrapper(localName = \"jaxWsTest1Response\", targetNamespace = \"http://esb.z-t-z.ru/Integration/SAP\", className = \"com.example.sample.JaxWsTest1Response\")\n //@WebResult(name = \"return\", targetNamespace = \"\")\n public java.lang.String jaxWsTest1(\n @WebParam(name = \"information\", targetNamespace = \"\")\n java.lang.String information,\n @WebParam(name = \"count\", targetNamespace = \"\")\n int count\n //@WebParam(name=\"jaxWsTest1\", targetNamespace = \"\")\n //JaxWsTest1 jaxWsTest1\n ) throws UserDefinedException;\n}", "@WebService(name = \"databaseInfoService\", targetNamespace = \"urn:Vidal\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface DatabaseInfoService {\n\n\n /**\n * \n * @param lapVersion\n * @param codeAdeli\n * @param userType\n * @param codeRpps\n * @param codeUserLap\n * @param codeLap\n * @return\n * returns com.whatever.DatabaseInfoService.VIDALAuthStatus\n */\n @WebMethod\n @WebResult(name = \"checkUser\", targetNamespace = \"urn:Vidal\")\n @RequestWrapper(localName = \"checkUser\", targetNamespace = \"urn:Vidal\", className = \"com.whatever.DatabaseInfoService.CheckUser\")\n @ResponseWrapper(localName = \"checkUserResponse\", targetNamespace = \"urn:Vidal\", className = \"com.whatever.DatabaseInfoService.CheckUserResponse\")\n public VIDALAuthStatus checkUser(\n @WebParam(name = \"codeUserLap\", targetNamespace = \"urn:Vidal\")\n String codeUserLap,\n @WebParam(name = \"codeLap\", targetNamespace = \"urn:Vidal\")\n String codeLap,\n @WebParam(name = \"lapVersion\", targetNamespace = \"urn:Vidal\")\n String lapVersion,\n @WebParam(name = \"userType\", targetNamespace = \"urn:Vidal\")\n String userType,\n @WebParam(name = \"codeRpps\", targetNamespace = \"urn:Vidal\")\n String codeRpps,\n @WebParam(name = \"codeAdeli\", targetNamespace = \"urn:Vidal\")\n String codeAdeli);\n\n /**\n * \n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(name = \"CeMarkingLabel\", targetNamespace = \"urn:Vidal\")\n @RequestWrapper(localName = \"getCEMarkingLabel\", targetNamespace = \"urn:Vidal\", className = \"com.whatever.DatabaseInfoService.GetCEMarkingLabel\")\n @ResponseWrapper(localName = \"getCEMarkingLabelResponse\", targetNamespace = \"urn:Vidal\", className = \"com.whatever.DatabaseInfoService.GetCEMarkingLabelResponse\")\n public String getCEMarkingLabel();\n\n /**\n * \n * @return\n * returns javax.xml.datatype.XMLGregorianCalendar\n */\n @WebMethod\n @WebResult(name = \"expiryDate\", targetNamespace = \"urn:Vidal\")\n @RequestWrapper(localName = \"getDataExpiryDate\", targetNamespace = \"urn:Vidal\", className = \"com.whatever.DatabaseInfoService.GetDataExpiryDate\")\n @ResponseWrapper(localName = \"getDataExpiryDateResponse\", targetNamespace = \"urn:Vidal\", className = \"com.whatever.DatabaseInfoService.GetDataExpiryDateResponse\")\n public XMLGregorianCalendar getDataExpiryDate();\n\n /**\n * \n * @return\n * returns javax.xml.datatype.XMLGregorianCalendar\n */\n @WebMethod\n @WebResult(name = \"extractionDate\", targetNamespace = \"urn:Vidal\")\n @RequestWrapper(localName = \"getExtractionDate\", targetNamespace = \"urn:Vidal\", className = \"com.whatever.DatabaseInfoService.GetExtractionDate\")\n @ResponseWrapper(localName = \"getExtractionDateResponse\", targetNamespace = \"urn:Vidal\", className = \"com.whatever.DatabaseInfoService.GetExtractionDateResponse\")\n public XMLGregorianCalendar getExtractionDate();\n\n /**\n * \n * @return\n * returns javax.xml.datatype.XMLGregorianCalendar\n */\n @WebMethod\n @WebResult(name = \"graceEndDate\", targetNamespace = \"urn:Vidal\")\n @RequestWrapper(localName = \"getGraceEndDate\", targetNamespace = \"urn:Vidal\", className = \"com.whatever.DatabaseInfoService.GetGraceEndDate\")\n @ResponseWrapper(localName = \"getGraceEndDateResponse\", targetNamespace = \"urn:Vidal\", className = \"com.whatever.DatabaseInfoService.GetGraceEndDateResponse\")\n public XMLGregorianCalendar getGraceEndDate();\n\n /**\n * \n * @return\n * returns javax.xml.datatype.XMLGregorianCalendar\n */\n @WebMethod\n @WebResult(name = \"licenceEndDate\", targetNamespace = \"urn:Vidal\")\n @RequestWrapper(localName = \"getLicenceEndDate\", targetNamespace = \"urn:Vidal\", className = \"com.whatever.DatabaseInfoService.GetLicenceEndDate\")\n @ResponseWrapper(localName = \"getLicenceEndDateResponse\", targetNamespace = \"urn:Vidal\", className = \"com.whatever.DatabaseInfoService.GetLicenceEndDateResponse\")\n public XMLGregorianCalendar getLicenceEndDate();\n\n /**\n * \n * @return\n * returns com.whatever.DatabaseInfoService.LicencingStatus\n */\n @WebMethod\n @WebResult(name = \"licenceOrGraceStatus\", targetNamespace = \"urn:Vidal\")\n @RequestWrapper(localName = \"getLicenceOrGraceStatus\", targetNamespace = \"urn:Vidal\", className = \"com.whatever.DatabaseInfoService.GetLicenceOrGraceStatus\")\n @ResponseWrapper(localName = \"getLicenceOrGraceStatusResponse\", targetNamespace = \"urn:Vidal\", className = \"com.whatever.DatabaseInfoService.GetLicenceOrGraceStatusResponse\")\n public LicencingStatus getLicenceOrGraceStatus();\n\n /**\n * \n * @return\n * returns javax.xml.datatype.XMLGregorianCalendar\n */\n @WebMethod\n @WebResult(name = \"licenceStartDate\", targetNamespace = \"urn:Vidal\")\n @RequestWrapper(localName = \"getLicenceStartDate\", targetNamespace = \"urn:Vidal\", className = \"com.whatever.DatabaseInfoService.GetLicenceStartDate\")\n @ResponseWrapper(localName = \"getLicenceStartDateResponse\", targetNamespace = \"urn:Vidal\", className = \"com.whatever.DatabaseInfoService.GetLicenceStartDateResponse\")\n public XMLGregorianCalendar getLicenceStartDate();\n\n /**\n * \n * @return\n * returns com.whatever.DatabaseInfoService.ProductLineType\n */\n @WebMethod\n @WebResult(name = \"productLine\", targetNamespace = \"urn:Vidal\")\n @RequestWrapper(localName = \"getProductLine\", targetNamespace = \"urn:Vidal\", className = \"com.whatever.DatabaseInfoService.GetProductLine\")\n @ResponseWrapper(localName = \"getProductLineResponse\", targetNamespace = \"urn:Vidal\", className = \"com.whatever.DatabaseInfoService.GetProductLineResponse\")\n public ProductLineType getProductLine();\n\n /**\n * \n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(name = \"version\", targetNamespace = \"urn:Vidal\")\n @RequestWrapper(localName = \"getVersion\", targetNamespace = \"urn:Vidal\", className = \"com.whatever.DatabaseInfoService.GetVersion\")\n @ResponseWrapper(localName = \"getVersionResponse\", targetNamespace = \"urn:Vidal\", className = \"com.whatever.DatabaseInfoService.GetVersionResponse\")\n public String getVersion();\n\n /**\n * \n * @return\n * returns javax.xml.datatype.XMLGregorianCalendar\n */\n @WebMethod\n @WebResult(name = \"warningDate\", targetNamespace = \"urn:Vidal\")\n @RequestWrapper(localName = \"getWarningDate\", targetNamespace = \"urn:Vidal\", className = \"com.whatever.DatabaseInfoService.GetWarningDate\")\n @ResponseWrapper(localName = \"getWarningDateResponse\", targetNamespace = \"urn:Vidal\", className = \"com.whatever.DatabaseInfoService.GetWarningDateResponse\")\n public XMLGregorianCalendar getWarningDate();\n\n}", "@WebService(name = \"PopuplistDtoServicewsEndpoint\", targetNamespace = \"http://serviceapi.parameterweb.sepro.org/\")\n@XmlSeeAlso({\n ObjectFactoryPopuplist.class\n})\npublic interface PopuplistDtoServicewsEndpoint {\n\n\n /**\n * \n * @param popuplistDto\n * @return\n * returns org.sepro.parameterweb.serviceapi.PopuplistDto\n */\n @WebMethod\n @WebResult(targetNamespace = \"http://serviceapi.parameterweb.sepro.org/\")\n @RequestWrapper(localName = \"updatePopuplistDtoServicews\", targetNamespace = \"http://serviceapi.parameterweb.sepro.org/\", className = \"org.sepro.parameterweb.serviceapi.UpdatePopuplistDtoServicews\")\n @ResponseWrapper(localName = \"updatePopuplistDtoServicewsResponse\", targetNamespace = \"http://serviceapi.parameterweb.sepro.org/\", className = \"org.sepro.parameterweb.serviceapi.UpdatePopuplistDtoServicewsResponse\")\n public PopuplistDto updatePopuplistDtoServicews(\n @WebParam(name = \"popuplistDto\", targetNamespace = \"http://serviceapi.parameterweb.sepro.org/\")\n PopuplistDto popuplistDto);\n\n /**\n * \n * @param entite\n * @return\n * returns java.util.List<org.sepro.parameterweb.serviceapi.PopuplistDto>\n */\n @WebMethod\n @WebResult(targetNamespace = \"http://serviceapi.parameterweb.sepro.org/\")\n @RequestWrapper(localName = \"searchPopuplistDtoServicews\", targetNamespace = \"http://serviceapi.parameterweb.sepro.org/\", className = \"org.sepro.parameterweb.serviceapi.SearchPopuplistDtoServicews\")\n @ResponseWrapper(localName = \"searchPopuplistDtoServicewsResponse\", targetNamespace = \"http://serviceapi.parameterweb.sepro.org/\", className = \"org.sepro.parameterweb.serviceapi.SearchPopuplistDtoServicewsResponse\")\n public List<PopuplistDto> searchPopuplistDtoServicews(\n @WebParam(name = \"entite\", targetNamespace = \"http://serviceapi.parameterweb.sepro.org/\")\n String entite);\n\n /**\n * \n * @return\n * returns java.util.List<org.sepro.parameterweb.serviceapi.PopuplistDto>\n */\n @WebMethod\n @WebResult(targetNamespace = \"http://serviceapi.parameterweb.sepro.org/\")\n @RequestWrapper(localName = \"getAllPopuplistDtoServicews\", targetNamespace = \"http://serviceapi.parameterweb.sepro.org/\", className = \"org.sepro.parameterweb.serviceapi.GetAllPopuplistDtoServicews\")\n @ResponseWrapper(localName = \"getAllPopuplistDtoServicewsResponse\", targetNamespace = \"http://serviceapi.parameterweb.sepro.org/\", className = \"org.sepro.parameterweb.serviceapi.GetAllPopuplistDtoServicewsResponse\")\n public List<PopuplistDto> getAllPopuplistDtoServicews();\n\n /**\n * \n * @param popuplistDto\n * @return\n * returns org.sepro.parameterweb.serviceapi.PopuplistDto\n */\n @WebMethod\n @WebResult(targetNamespace = \"http://serviceapi.parameterweb.sepro.org/\")\n @RequestWrapper(localName = \"createPopuplistDtoServicews\", targetNamespace = \"http://serviceapi.parameterweb.sepro.org/\", className = \"org.sepro.parameterweb.serviceapi.CreatePopuplistDtoServicews\")\n @ResponseWrapper(localName = \"createPopuplistDtoServicewsResponse\", targetNamespace = \"http://serviceapi.parameterweb.sepro.org/\", className = \"org.sepro.parameterweb.serviceapi.CreatePopuplistDtoServicewsResponse\")\n public PopuplistDto createPopuplistDtoServicews(\n @WebParam(name = \"popuplistDto\", targetNamespace = \"http://serviceapi.parameterweb.sepro.org/\")\n PopuplistDto popuplistDto);\n\n /**\n * \n * @param popuplistDto\n */\n @WebMethod\n @RequestWrapper(localName = \"deletePopuplistDtoServicews\", targetNamespace = \"http://serviceapi.parameterweb.sepro.org/\", className = \"org.sepro.parameterweb.serviceapi.DeletePopuplistDtoServicews\")\n @ResponseWrapper(localName = \"deletePopuplistDtoServicewsResponse\", targetNamespace = \"http://serviceapi.parameterweb.sepro.org/\", className = \"org.sepro.parameterweb.serviceapi.DeletePopuplistDtoServicewsResponse\")\n public void deletePopuplistDtoServicews(\n @WebParam(name = \"popuplistDto\", targetNamespace = \"http://serviceapi.parameterweb.sepro.org/\")\n PopuplistDto popuplistDto);\n\n}", "@WebService(name = \"CreditReportServiceDelegate\", targetNamespace = \"http://webservice.icrqs.cfcc.com/\")\n@SOAPBinding(style = SOAPBinding.Style.RPC)\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface CreditReportServiceDelegate {\n\n\n /**\n * \n * @param arg0\n * @return\n * returns com.cfcc.icrqs.webservice.CuResult\n */\n @WebMethod\n @WebResult(partName = \"return\")\n public CuResult sendCuRequest(\n @WebParam(name = \"arg0\", partName = \"arg0\")\n CuSingleRequest arg0);\n\n /**\n * \n * @param arg0\n * @return\n * returns com.cfcc.icrqs.webservice.CuSingleResult\n */\n @WebMethod\n @WebResult(partName = \"return\")\n public CuSingleResult getCuResult(\n @WebParam(name = \"arg0\", partName = \"arg0\")\n CuGetResult arg0);\n\n}", "@WebService(name = \"SharedGalleryServerSOAP\", targetNamespace = \"http://SOAP.svr.tp1.sd/\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface SharedGalleryServerSOAP {\n\n\n /**\n * \n * @return\n * returns java.util.List<java.lang.String>\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getListOfAlbums\", targetNamespace = \"http://SOAP.svr.tp1.sd/\", className = \"sd.tp1.clt.ws.GetListOfAlbums\")\n @ResponseWrapper(localName = \"getListOfAlbumsResponse\", targetNamespace = \"http://SOAP.svr.tp1.sd/\", className = \"sd.tp1.clt.ws.GetListOfAlbumsResponse\")\n @Action(input = \"http://SOAP.svr.tp1.sd/SharedGalleryServerSOAP/getListOfAlbumsRequest\", output = \"http://SOAP.svr.tp1.sd/SharedGalleryServerSOAP/getListOfAlbumsResponse\")\n public List<String> getListOfAlbums();\n\n /**\n * \n * @param arg0\n * @return\n * returns java.util.List<java.lang.String>\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getListOfPictures\", targetNamespace = \"http://SOAP.svr.tp1.sd/\", className = \"sd.tp1.clt.ws.GetListOfPictures\")\n @ResponseWrapper(localName = \"getListOfPicturesResponse\", targetNamespace = \"http://SOAP.svr.tp1.sd/\", className = \"sd.tp1.clt.ws.GetListOfPicturesResponse\")\n @Action(input = \"http://SOAP.svr.tp1.sd/SharedGalleryServerSOAP/getListOfPicturesRequest\", output = \"http://SOAP.svr.tp1.sd/SharedGalleryServerSOAP/getListOfPicturesResponse\")\n public List<String> getListOfPictures(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n String arg0);\n\n /**\n * \n * @param arg1\n * @param arg0\n * @return\n * returns byte[]\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getPictureData\", targetNamespace = \"http://SOAP.svr.tp1.sd/\", className = \"sd.tp1.clt.ws.GetPictureData\")\n @ResponseWrapper(localName = \"getPictureDataResponse\", targetNamespace = \"http://SOAP.svr.tp1.sd/\", className = \"sd.tp1.clt.ws.GetPictureDataResponse\")\n @Action(input = \"http://SOAP.svr.tp1.sd/SharedGalleryServerSOAP/getPictureDataRequest\", output = \"http://SOAP.svr.tp1.sd/SharedGalleryServerSOAP/getPictureDataResponse\")\n public byte[] getPictureData(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n String arg0,\n @WebParam(name = \"arg1\", targetNamespace = \"\")\n String arg1);\n\n /**\n * \n * @param arg0\n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"createAlbum\", targetNamespace = \"http://SOAP.svr.tp1.sd/\", className = \"sd.tp1.clt.ws.CreateAlbum\")\n @ResponseWrapper(localName = \"createAlbumResponse\", targetNamespace = \"http://SOAP.svr.tp1.sd/\", className = \"sd.tp1.clt.ws.CreateAlbumResponse\")\n @Action(input = \"http://SOAP.svr.tp1.sd/SharedGalleryServerSOAP/createAlbumRequest\", output = \"http://SOAP.svr.tp1.sd/SharedGalleryServerSOAP/createAlbumResponse\")\n public String createAlbum(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n String arg0);\n\n /**\n * \n * @param arg0\n * @return\n * returns java.lang.Boolean\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"deleteAlbum\", targetNamespace = \"http://SOAP.svr.tp1.sd/\", className = \"sd.tp1.clt.ws.DeleteAlbum\")\n @ResponseWrapper(localName = \"deleteAlbumResponse\", targetNamespace = \"http://SOAP.svr.tp1.sd/\", className = \"sd.tp1.clt.ws.DeleteAlbumResponse\")\n @Action(input = \"http://SOAP.svr.tp1.sd/SharedGalleryServerSOAP/deleteAlbumRequest\", output = \"http://SOAP.svr.tp1.sd/SharedGalleryServerSOAP/deleteAlbumResponse\")\n public Boolean deleteAlbum(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n String arg0);\n\n /**\n * \n * @param arg2\n * @param arg1\n * @param arg0\n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"uploadPicture\", targetNamespace = \"http://SOAP.svr.tp1.sd/\", className = \"sd.tp1.clt.ws.UploadPicture\")\n @ResponseWrapper(localName = \"uploadPictureResponse\", targetNamespace = \"http://SOAP.svr.tp1.sd/\", className = \"sd.tp1.clt.ws.UploadPictureResponse\")\n @Action(input = \"http://SOAP.svr.tp1.sd/SharedGalleryServerSOAP/uploadPictureRequest\", output = \"http://SOAP.svr.tp1.sd/SharedGalleryServerSOAP/uploadPictureResponse\")\n public String uploadPicture(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n String arg0,\n @WebParam(name = \"arg1\", targetNamespace = \"\")\n String arg1,\n @WebParam(name = \"arg2\", targetNamespace = \"\")\n byte[] arg2);\n\n /**\n * \n * @param arg1\n * @param arg0\n * @return\n * returns java.lang.Boolean\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"deletePicture\", targetNamespace = \"http://SOAP.svr.tp1.sd/\", className = \"sd.tp1.clt.ws.DeletePicture\")\n @ResponseWrapper(localName = \"deletePictureResponse\", targetNamespace = \"http://SOAP.svr.tp1.sd/\", className = \"sd.tp1.clt.ws.DeletePictureResponse\")\n @Action(input = \"http://SOAP.svr.tp1.sd/SharedGalleryServerSOAP/deletePictureRequest\", output = \"http://SOAP.svr.tp1.sd/SharedGalleryServerSOAP/deletePictureResponse\")\n public Boolean deletePicture(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n String arg0,\n @WebParam(name = \"arg1\", targetNamespace = \"\")\n String arg1);\n\n}", "public interface ClientService {\r\n\r\n String fpkj(String wsdlUrl);\r\n}", "private WebServicesFabrica(){}", "@WebService(name = \"SoapService\", targetNamespace = \"http://test/\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface SoapService {\n\n\n /**\n * \n * @param fileName\n * @return\n * returns java.lang.Integer\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getResult\", targetNamespace = \"http://test/\", className = \"test.GetResult\")\n @ResponseWrapper(localName = \"getResultResponse\", targetNamespace = \"http://test/\", className = \"test.GetResultResponse\")\n @Action(input = \"http://test/SoapService/getResultRequest\", output = \"http://test/SoapService/getResultResponse\")\n public Integer getResult(\n @WebParam(name = \"fileName\", targetNamespace = \"\")\n String fileName);\n\n /**\n * \n * @param path\n */\n @WebMethod\n @Oneway\n @RequestWrapper(localName = \"getFilePath\", targetNamespace = \"http://test/\", className = \"test.GetFilePath\")\n @Action(input = \"http://test/SoapService/getFilePath\")\n public void getFilePath(\n @WebParam(name = \"path\", targetNamespace = \"\")\n String path);\n\n}", "@WebService(name = \"OrderPortType\", targetNamespace = \"http://www.ttu.ee/idu0075/2017/ws/restaurant2\")\n@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface OrderPortType {\n\n\n /**\n * \n * @param parameter\n * @return\n * returns ee.ttu.idu0075._2017.ws.restaurant2.DishType\n */\n @WebMethod\n @WebResult(name = \"getDishResponse\", targetNamespace = \"http://www.ttu.ee/idu0075/2017/ws/restaurant2\", partName = \"parameter\")\n public DishType getDish(\n @WebParam(name = \"getDishRequest\", targetNamespace = \"http://www.ttu.ee/idu0075/2017/ws/restaurant2\", partName = \"parameter\")\n GetDishRequest parameter);\n\n /**\n * \n * @param parameter\n * @return\n * returns ee.ttu.idu0075._2017.ws.restaurant2.DishType\n */\n @WebMethod\n @WebResult(name = \"addDishResponse\", targetNamespace = \"http://www.ttu.ee/idu0075/2017/ws/restaurant2\", partName = \"parameter\")\n public DishType addDish(\n @WebParam(name = \"addDishRequest\", targetNamespace = \"http://www.ttu.ee/idu0075/2017/ws/restaurant2\", partName = \"parameter\")\n AddDishRequest parameter);\n\n /**\n * \n * @param parameter\n * @return\n * returns ee.ttu.idu0075._2017.ws.restaurant2.GetDishListResponse\n */\n @WebMethod\n @WebResult(name = \"getDishListResponse\", targetNamespace = \"http://www.ttu.ee/idu0075/2017/ws/restaurant2\", partName = \"parameter\")\n public GetDishListResponse getDishList(\n @WebParam(name = \"getDishListRequest\", targetNamespace = \"http://www.ttu.ee/idu0075/2017/ws/restaurant2\", partName = \"parameter\")\n GetDishListRequest parameter);\n\n /**\n * \n * @param parameter\n * @return\n * returns ee.ttu.idu0075._2017.ws.restaurant2.OrderType\n */\n @WebMethod\n @WebResult(name = \"getOrderResponse\", targetNamespace = \"http://www.ttu.ee/idu0075/2017/ws/restaurant2\", partName = \"parameter\")\n public OrderType getOrder(\n @WebParam(name = \"getOrderRequest\", targetNamespace = \"http://www.ttu.ee/idu0075/2017/ws/restaurant2\", partName = \"parameter\")\n GetOrderRequest parameter);\n\n /**\n * \n * @param parameter\n * @return\n * returns ee.ttu.idu0075._2017.ws.restaurant2.OrderType\n */\n @WebMethod\n @WebResult(name = \"addOrderResponse\", targetNamespace = \"http://www.ttu.ee/idu0075/2017/ws/restaurant2\", partName = \"parameter\")\n public OrderType addOrder(\n @WebParam(name = \"addOrderRequest\", targetNamespace = \"http://www.ttu.ee/idu0075/2017/ws/restaurant2\", partName = \"parameter\")\n AddOrderRequest parameter);\n\n /**\n * \n * @param parameter\n * @return\n * returns ee.ttu.idu0075._2017.ws.restaurant2.GetOrderListResponse\n */\n @WebMethod\n @WebResult(name = \"getOrderListResponse\", targetNamespace = \"http://www.ttu.ee/idu0075/2017/ws/restaurant2\", partName = \"parameter\")\n public GetOrderListResponse getOrderList(\n @WebParam(name = \"getOrderListRequest\", targetNamespace = \"http://www.ttu.ee/idu0075/2017/ws/restaurant2\", partName = \"parameter\")\n GetOrderListRequest parameter);\n\n /**\n * \n * @param parameter\n * @return\n * returns ee.ttu.idu0075._2017.ws.restaurant2.OrderDishListType\n */\n @WebMethod\n @WebResult(name = \"getOrderDishListResponse\", targetNamespace = \"http://www.ttu.ee/idu0075/2017/ws/restaurant2\", partName = \"parameter\")\n public OrderDishListType getOrderDishList(\n @WebParam(name = \"getOrderDishListRequest\", targetNamespace = \"http://www.ttu.ee/idu0075/2017/ws/restaurant2\", partName = \"parameter\")\n GetOrderDishListRequest parameter);\n\n /**\n * \n * @param parameter\n * @return\n * returns ee.ttu.idu0075._2017.ws.restaurant2.OrderDishType\n */\n @WebMethod\n @WebResult(name = \"addOrderDishResponse\", targetNamespace = \"http://www.ttu.ee/idu0075/2017/ws/restaurant2\", partName = \"parameter\")\n public OrderDishType addOrderDish(\n @WebParam(name = \"addOrderDishRequest\", targetNamespace = \"http://www.ttu.ee/idu0075/2017/ws/restaurant2\", partName = \"parameter\")\n AddOrderDishRequest parameter);\n\n}", "@WebService(name = \"People\", targetNamespace = \"http://ws.soap.finalproject.introsde/\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface People {\n\n\n /**\n * \n * @param person\n * @return\n * returns int\n */\n @WebMethod\n @WebResult(name = \"personId\", targetNamespace = \"\")\n @RequestWrapper(localName = \"createPerson\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.CreatePerson\")\n @ResponseWrapper(localName = \"createPersonResponse\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.CreatePersonResponse\")\n @Action(input = \"http://ws.soap.finalproject.introsde/People/createPersonRequest\", output = \"http://ws.soap.finalproject.introsde/People/createPersonResponse\")\n public int createPerson(\n @WebParam(name = \"person\", targetNamespace = \"\")\n Person person);\n\n /**\n * \n * @param personId\n * @return\n * returns introsde.finalproject.soap.ws.Person\n */\n @WebMethod\n @WebResult(name = \"person\", targetNamespace = \"\")\n @RequestWrapper(localName = \"getPerson\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.GetPerson\")\n @ResponseWrapper(localName = \"getPersonResponse\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.GetPersonResponse\")\n @Action(input = \"http://ws.soap.finalproject.introsde/People/getPersonRequest\", output = \"http://ws.soap.finalproject.introsde/People/getPersonResponse\")\n public Person getPerson(\n @WebParam(name = \"personId\", targetNamespace = \"\")\n int personId);\n\n /**\n * \n * @param person\n * @return\n * returns int\n */\n @WebMethod\n @WebResult(name = \"personId\", targetNamespace = \"\")\n @RequestWrapper(localName = \"updatePerson\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.UpdatePerson\")\n @ResponseWrapper(localName = \"updatePersonResponse\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.UpdatePersonResponse\")\n @Action(input = \"http://ws.soap.finalproject.introsde/People/updatePersonRequest\", output = \"http://ws.soap.finalproject.introsde/People/updatePersonResponse\")\n public int updatePerson(\n @WebParam(name = \"person\", targetNamespace = \"\")\n Person person);\n\n /**\n * \n * @param personId\n * @return\n * returns int\n */\n @WebMethod\n @WebResult(name = \"responsePersonCode\", targetNamespace = \"\")\n @RequestWrapper(localName = \"deletePerson\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.DeletePerson\")\n @ResponseWrapper(localName = \"deletePersonResponse\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.DeletePersonResponse\")\n @Action(input = \"http://ws.soap.finalproject.introsde/People/deletePersonRequest\", output = \"http://ws.soap.finalproject.introsde/People/deletePersonResponse\")\n public int deletePerson(\n @WebParam(name = \"personId\", targetNamespace = \"\")\n int personId);\n\n /**\n * \n * @return\n * returns introsde.finalproject.soap.ws.ListPersonWrapper\n */\n @WebMethod\n @WebResult(name = \"people\", targetNamespace = \"\")\n @RequestWrapper(localName = \"getPeopleList\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.GetPeopleList\")\n @ResponseWrapper(localName = \"getPeopleListResponse\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.GetPeopleListResponse\")\n @Action(input = \"http://ws.soap.finalproject.introsde/People/getPeopleListRequest\", output = \"http://ws.soap.finalproject.introsde/People/getPeopleListResponse\")\n public ListPersonWrapper getPeopleList();\n\n /**\n * \n * @param personId\n * @return\n * returns introsde.finalproject.soap.ws.ListMeasureWrapper\n */\n @WebMethod\n @WebResult(name = \"currentHealth\", targetNamespace = \"\")\n @RequestWrapper(localName = \"getCurrentHealth\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.GetCurrentHealth\")\n @ResponseWrapper(localName = \"getCurrentHealthResponse\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.GetCurrentHealthResponse\")\n @Action(input = \"http://ws.soap.finalproject.introsde/People/getCurrentHealthRequest\", output = \"http://ws.soap.finalproject.introsde/People/getCurrentHealthResponse\")\n public ListMeasureWrapper getCurrentHealth(\n @WebParam(name = \"personId\", targetNamespace = \"\")\n int personId);\n\n /**\n * \n * @param personId\n * @return\n * returns introsde.finalproject.soap.ws.ListMeasureWrapper\n */\n @WebMethod\n @WebResult(name = \"vitalSigns\", targetNamespace = \"\")\n @RequestWrapper(localName = \"getVitalSigns\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.GetVitalSigns\")\n @ResponseWrapper(localName = \"getVitalSignsResponse\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.GetVitalSignsResponse\")\n @Action(input = \"http://ws.soap.finalproject.introsde/People/getVitalSignsRequest\", output = \"http://ws.soap.finalproject.introsde/People/getVitalSignsResponse\")\n public ListMeasureWrapper getVitalSigns(\n @WebParam(name = \"personId\", targetNamespace = \"\")\n int personId);\n\n /**\n * \n * @param doctor\n * @return\n * returns int\n */\n @WebMethod\n @WebResult(name = \"doctorId\", targetNamespace = \"\")\n @RequestWrapper(localName = \"createDoctor\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.CreateDoctor\")\n @ResponseWrapper(localName = \"createDoctorResponse\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.CreateDoctorResponse\")\n @Action(input = \"http://ws.soap.finalproject.introsde/People/createDoctorRequest\", output = \"http://ws.soap.finalproject.introsde/People/createDoctorResponse\")\n public int createDoctor(\n @WebParam(name = \"doctor\", targetNamespace = \"\")\n Doctor doctor);\n\n /**\n * \n * @param doctorId\n * @return\n * returns introsde.finalproject.soap.ws.Doctor\n */\n @WebMethod\n @WebResult(name = \"doctor\", targetNamespace = \"\")\n @RequestWrapper(localName = \"getDoctor\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.GetDoctor\")\n @ResponseWrapper(localName = \"getDoctorResponse\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.GetDoctorResponse\")\n @Action(input = \"http://ws.soap.finalproject.introsde/People/getDoctorRequest\", output = \"http://ws.soap.finalproject.introsde/People/getDoctorResponse\")\n public Doctor getDoctor(\n @WebParam(name = \"doctorId\", targetNamespace = \"\")\n int doctorId);\n\n /**\n * \n * @param doctor\n * @return\n * returns int\n */\n @WebMethod\n @WebResult(name = \"doctorId\", targetNamespace = \"\")\n @RequestWrapper(localName = \"updateDoctor\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.UpdateDoctor\")\n @ResponseWrapper(localName = \"updateDoctorResponse\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.UpdateDoctorResponse\")\n @Action(input = \"http://ws.soap.finalproject.introsde/People/updateDoctorRequest\", output = \"http://ws.soap.finalproject.introsde/People/updateDoctorResponse\")\n public int updateDoctor(\n @WebParam(name = \"doctor\", targetNamespace = \"\")\n Doctor doctor);\n\n /**\n * \n * @param doctorId\n * @return\n * returns int\n */\n @WebMethod\n @WebResult(name = \"responseDoctorCode\", targetNamespace = \"\")\n @RequestWrapper(localName = \"deleteDoctor\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.DeleteDoctor\")\n @ResponseWrapper(localName = \"deleteDoctorResponse\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.DeleteDoctorResponse\")\n @Action(input = \"http://ws.soap.finalproject.introsde/People/deleteDoctorRequest\", output = \"http://ws.soap.finalproject.introsde/People/deleteDoctorResponse\")\n public int deleteDoctor(\n @WebParam(name = \"doctorId\", targetNamespace = \"\")\n int doctorId);\n\n /**\n * \n * @param idDoctor\n * @return\n * returns introsde.finalproject.soap.ws.ListPersonWrapper\n */\n @WebMethod\n @WebResult(name = \"patientList\", targetNamespace = \"\")\n @RequestWrapper(localName = \"getPersonByDoctor\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.GetPersonByDoctor\")\n @ResponseWrapper(localName = \"getPersonByDoctorResponse\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.GetPersonByDoctorResponse\")\n @Action(input = \"http://ws.soap.finalproject.introsde/People/getPersonByDoctorRequest\", output = \"http://ws.soap.finalproject.introsde/People/getPersonByDoctorResponse\")\n public ListPersonWrapper getPersonByDoctor(\n @WebParam(name = \"idDoctor\", targetNamespace = \"\")\n int idDoctor);\n\n /**\n * \n * @param familyId\n * @return\n * returns introsde.finalproject.soap.ws.Family\n */\n @WebMethod\n @WebResult(name = \"family\", targetNamespace = \"\")\n @RequestWrapper(localName = \"getFamily\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.GetFamily\")\n @ResponseWrapper(localName = \"getFamilyResponse\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.GetFamilyResponse\")\n @Action(input = \"http://ws.soap.finalproject.introsde/People/getFamilyRequest\", output = \"http://ws.soap.finalproject.introsde/People/getFamilyResponse\")\n public Family getFamily(\n @WebParam(name = \"familyId\", targetNamespace = \"\")\n int familyId);\n\n /**\n * \n * @param idPerson\n * @param reminder\n * @return\n * returns int\n */\n @WebMethod\n @WebResult(name = \"reminder\", targetNamespace = \"\")\n @RequestWrapper(localName = \"createReminder\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.CreateReminder\")\n @ResponseWrapper(localName = \"createReminderResponse\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.CreateReminderResponse\")\n @Action(input = \"http://ws.soap.finalproject.introsde/People/createReminderRequest\", output = \"http://ws.soap.finalproject.introsde/People/createReminderResponse\")\n public int createReminder(\n @WebParam(name = \"reminder\", targetNamespace = \"\")\n Reminder reminder,\n @WebParam(name = \"idPerson\", targetNamespace = \"\")\n int idPerson);\n\n /**\n * \n * @param personId\n * @return\n * returns introsde.finalproject.soap.ws.ListReminderWrapper\n */\n @WebMethod\n @WebResult(name = \"reminder\", targetNamespace = \"\")\n @RequestWrapper(localName = \"getReminder\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.GetReminder\")\n @ResponseWrapper(localName = \"getReminderResponse\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.GetReminderResponse\")\n @Action(input = \"http://ws.soap.finalproject.introsde/People/getReminderRequest\", output = \"http://ws.soap.finalproject.introsde/People/getReminderResponse\")\n public ListReminderWrapper getReminder(\n @WebParam(name = \"personId\", targetNamespace = \"\")\n int personId);\n\n /**\n * \n * @param reminder\n * @return\n * returns int\n */\n @WebMethod\n @WebResult(name = \"updateReminder\", targetNamespace = \"\")\n @RequestWrapper(localName = \"updateReminder\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.UpdateReminder\")\n @ResponseWrapper(localName = \"updateReminderResponse\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.UpdateReminderResponse\")\n @Action(input = \"http://ws.soap.finalproject.introsde/People/updateReminderRequest\", output = \"http://ws.soap.finalproject.introsde/People/updateReminderResponse\")\n public int updateReminder(\n @WebParam(name = \"reminder\", targetNamespace = \"\")\n Reminder reminder);\n\n /**\n * \n * @param idReminder\n * @return\n * returns int\n */\n @WebMethod\n @WebResult(name = \"responseReminderCode\", targetNamespace = \"\")\n @RequestWrapper(localName = \"deleteReminder\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.DeleteReminder\")\n @ResponseWrapper(localName = \"deleteReminderResponse\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.DeleteReminderResponse\")\n @Action(input = \"http://ws.soap.finalproject.introsde/People/deleteReminderRequest\", output = \"http://ws.soap.finalproject.introsde/People/deleteReminderResponse\")\n public int deleteReminder(\n @WebParam(name = \"idReminder\", targetNamespace = \"\")\n int idReminder);\n\n /**\n * \n * @param idPerson\n * @param target\n * @return\n * returns int\n */\n @WebMethod\n @WebResult(name = \"targets\", targetNamespace = \"\")\n @RequestWrapper(localName = \"createTarget\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.CreateTarget\")\n @ResponseWrapper(localName = \"createTargetResponse\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.CreateTargetResponse\")\n @Action(input = \"http://ws.soap.finalproject.introsde/People/createTargetRequest\", output = \"http://ws.soap.finalproject.introsde/People/createTargetResponse\")\n public int createTarget(\n @WebParam(name = \"target\", targetNamespace = \"\")\n Target target,\n @WebParam(name = \"idPerson\", targetNamespace = \"\")\n int idPerson);\n\n /**\n * \n * @param personId\n * @return\n * returns introsde.finalproject.soap.ws.ListTargetWrapper\n */\n @WebMethod\n @WebResult(name = \"targets\", targetNamespace = \"\")\n @RequestWrapper(localName = \"getTargetList\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.GetTargetList\")\n @ResponseWrapper(localName = \"getTargetListResponse\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.GetTargetListResponse\")\n @Action(input = \"http://ws.soap.finalproject.introsde/People/getTargetListRequest\", output = \"http://ws.soap.finalproject.introsde/People/getTargetListResponse\")\n public ListTargetWrapper getTargetList(\n @WebParam(name = \"personId\", targetNamespace = \"\")\n int personId);\n\n /**\n * \n * @param target\n * @return\n * returns int\n */\n @WebMethod\n @WebResult(name = \"targetId\", targetNamespace = \"\")\n @RequestWrapper(localName = \"updateTarget\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.UpdateTarget\")\n @ResponseWrapper(localName = \"updateTargetResponse\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.UpdateTargetResponse\")\n @Action(input = \"http://ws.soap.finalproject.introsde/People/updateTargetRequest\", output = \"http://ws.soap.finalproject.introsde/People/updateTargetResponse\")\n public int updateTarget(\n @WebParam(name = \"target\", targetNamespace = \"\")\n Target target);\n\n /**\n * \n * @param idTarget\n * @return\n * returns int\n */\n @WebMethod\n @WebResult(name = \"responseTargetCode\", targetNamespace = \"\")\n @RequestWrapper(localName = \"deleteTarget\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.DeleteTarget\")\n @ResponseWrapper(localName = \"deleteTargetResponse\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.DeleteTargetResponse\")\n @Action(input = \"http://ws.soap.finalproject.introsde/People/deleteTargetRequest\", output = \"http://ws.soap.finalproject.introsde/People/deleteTargetResponse\")\n public int deleteTarget(\n @WebParam(name = \"idTarget\", targetNamespace = \"\")\n int idTarget);\n\n /**\n * \n * @param idMeasureDef\n * @param personId\n * @return\n * returns introsde.finalproject.soap.ws.ListTargetWrapper\n */\n @WebMethod\n @WebResult(name = \"targets\", targetNamespace = \"\")\n @RequestWrapper(localName = \"getTarget\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.GetTarget\")\n @ResponseWrapper(localName = \"getTargetResponse\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.GetTargetResponse\")\n @Action(input = \"http://ws.soap.finalproject.introsde/People/getTargetRequest\", output = \"http://ws.soap.finalproject.introsde/People/getTargetResponse\")\n public ListTargetWrapper getTarget(\n @WebParam(name = \"personId\", targetNamespace = \"\")\n int personId,\n @WebParam(name = \"idMeasureDef\", targetNamespace = \"\")\n int idMeasureDef);\n\n /**\n * \n * @param measure\n * @param idPerson\n * @return\n * returns int\n */\n @WebMethod\n @WebResult(name = \"measure\", targetNamespace = \"\")\n @RequestWrapper(localName = \"createMeasure\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.CreateMeasure\")\n @ResponseWrapper(localName = \"createMeasureResponse\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.CreateMeasureResponse\")\n @Action(input = \"http://ws.soap.finalproject.introsde/People/createMeasureRequest\", output = \"http://ws.soap.finalproject.introsde/People/createMeasureResponse\")\n public int createMeasure(\n @WebParam(name = \"measure\", targetNamespace = \"\")\n Measure measure,\n @WebParam(name = \"idPerson\", targetNamespace = \"\")\n int idPerson);\n\n /**\n * \n * @param personId\n * @return\n * returns introsde.finalproject.soap.ws.ListMeasureWrapper\n */\n @WebMethod\n @WebResult(name = \"measure\", targetNamespace = \"\")\n @RequestWrapper(localName = \"getMeasure\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.GetMeasure\")\n @ResponseWrapper(localName = \"getMeasureResponse\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.GetMeasureResponse\")\n @Action(input = \"http://ws.soap.finalproject.introsde/People/getMeasureRequest\", output = \"http://ws.soap.finalproject.introsde/People/getMeasureResponse\")\n public ListMeasureWrapper getMeasure(\n @WebParam(name = \"personId\", targetNamespace = \"\")\n int personId);\n\n /**\n * \n * @param measure\n * @return\n * returns int\n * @throws ParseException_Exception\n */\n @WebMethod\n @WebResult(name = \"idUpdatedMeasure\", targetNamespace = \"\")\n @RequestWrapper(localName = \"updateMeasure\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.UpdateMeasure\")\n @ResponseWrapper(localName = \"updateMeasureResponse\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.UpdateMeasureResponse\")\n @Action(input = \"http://ws.soap.finalproject.introsde/People/updateMeasureRequest\", output = \"http://ws.soap.finalproject.introsde/People/updateMeasureResponse\", fault = {\n @FaultAction(className = ParseException_Exception.class, value = \"http://ws.soap.finalproject.introsde/People/updateMeasure/Fault/ParseException\")\n })\n public int updateMeasure(\n @WebParam(name = \"measure\", targetNamespace = \"\")\n Measure measure)\n throws ParseException_Exception\n ;\n\n /**\n * \n * @param idMeasure\n * @return\n * returns int\n */\n @WebMethod\n @WebResult(name = \"responseMeasureCode\", targetNamespace = \"\")\n @RequestWrapper(localName = \"deleteMeasure\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.DeleteMeasure\")\n @ResponseWrapper(localName = \"deleteMeasureResponse\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.DeleteMeasureResponse\")\n @Action(input = \"http://ws.soap.finalproject.introsde/People/deleteMeasureRequest\", output = \"http://ws.soap.finalproject.introsde/People/deleteMeasureResponse\")\n public int deleteMeasure(\n @WebParam(name = \"idMeasure\", targetNamespace = \"\")\n int idMeasure);\n\n /**\n * \n * @return\n * returns introsde.finalproject.soap.ws.ListMeasureDefinitionWrapper\n */\n @WebMethod\n @WebResult(name = \"measureDefinition\", targetNamespace = \"\")\n @RequestWrapper(localName = \"getMeasureDefinition\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.GetMeasureDefinition\")\n @ResponseWrapper(localName = \"getMeasureDefinitionResponse\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.GetMeasureDefinitionResponse\")\n @Action(input = \"http://ws.soap.finalproject.introsde/People/getMeasureDefinitionRequest\", output = \"http://ws.soap.finalproject.introsde/People/getMeasureDefinitionResponse\")\n public ListMeasureDefinitionWrapper getMeasureDefinition();\n\n}", "@WebService(name = \"EntityServer\", targetNamespace=\"http://activitiderbysoapservice.spqr.de/\")\n@SOAPBinding(style = SOAPBinding.Style.RPC)\npublic interface EntityServer {\n @WebMethod @WebResult(partName = \"return\")String getTimeAsString();\n @WebMethod @WebResult(partName = \"return\")long getTimeAsElapsed();\n @WebMethod @WebResult(partName = \"return\")long orderParts(String part);\n @WebMethod @WebResult(partName = \"return\")boolean changeBackWindowAmount(int amount);\n @WebMethod @WebResult(partName = \"return\")boolean changeDoorAmount(int amount);\n @WebMethod @WebResult(partName = \"return\")boolean changeFronWindowAmount(int amount);\n @WebMethod @WebResult(partName = \"return\")boolean changeEngineAmount(int amount);\n @WebMethod @WebResult(partName = \"return\")boolean changeTireAmount(int amount);\n @WebMethod @WebResult(partName = \"return\")boolean changeWheelAmount(int amount);\n @WebMethod @WebResult(partName = \"return\")long amountOfParts(String part);\n \n}", "@WebService(name = \"BankInterface\", targetNamespace = \"http://Bank.server_bank.mycompany.com/\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface BankInterface {\n\n\n /**\n * \n * @param arg0\n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getOperationByID\", targetNamespace = \"http://Bank.server_bank.mycompany.com/\", className = \"com.mycompany.ws_bank.GetOperationByID\")\n @ResponseWrapper(localName = \"getOperationByIDResponse\", targetNamespace = \"http://Bank.server_bank.mycompany.com/\", className = \"com.mycompany.ws_bank.GetOperationByIDResponse\")\n public String getOperationByID(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n int arg0);\n\n /**\n * \n * @return\n * returns com.mycompany.ws_bank.SET\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getConti\", targetNamespace = \"http://Bank.server_bank.mycompany.com/\", className = \"com.mycompany.ws_bank.GetConti\")\n @ResponseWrapper(localName = \"getContiResponse\", targetNamespace = \"http://Bank.server_bank.mycompany.com/\", className = \"com.mycompany.ws_bank.GetContiResponse\")\n public SET getConti();\n\n /**\n * \n * @param arg0\n * @return\n * returns java.util.List<java.lang.String>\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getOperationsByClientID\", targetNamespace = \"http://Bank.server_bank.mycompany.com/\", className = \"com.mycompany.ws_bank.GetOperationsByClientID\")\n @ResponseWrapper(localName = \"getOperationsByClientIDResponse\", targetNamespace = \"http://Bank.server_bank.mycompany.com/\", className = \"com.mycompany.ws_bank.GetOperationsByClientIDResponse\")\n public List<String> getOperationsByClientID(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n int arg0);\n\n /**\n * \n * @return\n * returns java.util.List<java.lang.String>\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getClientIDs\", targetNamespace = \"http://Bank.server_bank.mycompany.com/\", className = \"com.mycompany.ws_bank.GetClientIDs\")\n @ResponseWrapper(localName = \"getClientIDsResponse\", targetNamespace = \"http://Bank.server_bank.mycompany.com/\", className = \"com.mycompany.ws_bank.GetClientIDsResponse\")\n public List<String> getClientIDs();\n\n /**\n * \n * @return\n * returns com.mycompany.ws_bank.MAP\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getDbop\", targetNamespace = \"http://Bank.server_bank.mycompany.com/\", className = \"com.mycompany.ws_bank.GetDbop\")\n @ResponseWrapper(localName = \"getDbopResponse\", targetNamespace = \"http://Bank.server_bank.mycompany.com/\", className = \"com.mycompany.ws_bank.GetDbopResponse\")\n public MAP getDbop();\n\n /**\n * \n * @param arg0\n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getClientByID\", targetNamespace = \"http://Bank.server_bank.mycompany.com/\", className = \"com.mycompany.ws_bank.GetClientByID\")\n @ResponseWrapper(localName = \"getClientByIDResponse\", targetNamespace = \"http://Bank.server_bank.mycompany.com/\", className = \"com.mycompany.ws_bank.GetClientByIDResponse\")\n public String getClientByID(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n int arg0);\n\n}", "@WebService(name = \"NumberGeneratorServiceSoap\", targetNamespace = \"NS_NumGen\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface NumberGeneratorServiceSoap {\n\n\n /**\n * \n * @param high\n * @param low\n * @return\n * returns java.lang.String\n */\n @WebMethod(action = \"NS_NumGen/primeRange\")\n @WebResult(name = \"primeRangeResult\", targetNamespace = \"NS_NumGen\")\n @RequestWrapper(localName = \"primeRange\", targetNamespace = \"NS_NumGen\", className = \"ns_numgen.PrimeRange\")\n @ResponseWrapper(localName = \"primeRangeResponse\", targetNamespace = \"NS_NumGen\", className = \"ns_numgen.PrimeRangeResponse\")\n public String primeRange(\n @WebParam(name = \"low\", targetNamespace = \"NS_NumGen\")\n int low,\n @WebParam(name = \"high\", targetNamespace = \"NS_NumGen\")\n int high);\n\n /**\n * \n * @param high\n * @param low\n * @return\n * returns java.lang.String\n */\n @WebMethod(action = \"NS_NumGen/compositeRange\")\n @WebResult(name = \"compositeRangeResult\", targetNamespace = \"NS_NumGen\")\n @RequestWrapper(localName = \"compositeRange\", targetNamespace = \"NS_NumGen\", className = \"ns_numgen.CompositeRange\")\n @ResponseWrapper(localName = \"compositeRangeResponse\", targetNamespace = \"NS_NumGen\", className = \"ns_numgen.CompositeRangeResponse\")\n public String compositeRange(\n @WebParam(name = \"low\", targetNamespace = \"NS_NumGen\")\n int low,\n @WebParam(name = \"high\", targetNamespace = \"NS_NumGen\")\n int high);\n\n /**\n * \n * @param high\n * @param low\n * @return\n * returns java.lang.String\n */\n @WebMethod(action = \"NS_NumGen/perfectSquaresRange\")\n @WebResult(name = \"perfectSquaresRangeResult\", targetNamespace = \"NS_NumGen\")\n @RequestWrapper(localName = \"perfectSquaresRange\", targetNamespace = \"NS_NumGen\", className = \"ns_numgen.PerfectSquaresRange\")\n @ResponseWrapper(localName = \"perfectSquaresRangeResponse\", targetNamespace = \"NS_NumGen\", className = \"ns_numgen.PerfectSquaresRangeResponse\")\n public String perfectSquaresRange(\n @WebParam(name = \"low\", targetNamespace = \"NS_NumGen\")\n int low,\n @WebParam(name = \"high\", targetNamespace = \"NS_NumGen\")\n int high);\n\n /**\n * \n * @param high\n * @param low\n * @return\n * returns java.lang.String\n */\n @WebMethod(action = \"NS_NumGen/fibonacciRange\")\n @WebResult(name = \"fibonacciRangeResult\", targetNamespace = \"NS_NumGen\")\n @RequestWrapper(localName = \"fibonacciRange\", targetNamespace = \"NS_NumGen\", className = \"ns_numgen.FibonacciRange\")\n @ResponseWrapper(localName = \"fibonacciRangeResponse\", targetNamespace = \"NS_NumGen\", className = \"ns_numgen.FibonacciRangeResponse\")\n public String fibonacciRange(\n @WebParam(name = \"low\", targetNamespace = \"NS_NumGen\")\n int low,\n @WebParam(name = \"high\", targetNamespace = \"NS_NumGen\")\n int high);\n\n /**\n * \n * @param high\n * @param low\n * @param n\n * @return\n * returns java.lang.String\n */\n @WebMethod(action = \"NS_NumGen/randomNumbers\")\n @WebResult(name = \"randomNumbersResult\", targetNamespace = \"NS_NumGen\")\n @RequestWrapper(localName = \"randomNumbers\", targetNamespace = \"NS_NumGen\", className = \"ns_numgen.RandomNumbers\")\n @ResponseWrapper(localName = \"randomNumbersResponse\", targetNamespace = \"NS_NumGen\", className = \"ns_numgen.RandomNumbersResponse\")\n public String randomNumbers(\n @WebParam(name = \"low\", targetNamespace = \"NS_NumGen\")\n int low,\n @WebParam(name = \"high\", targetNamespace = \"NS_NumGen\")\n int high,\n @WebParam(name = \"n\", targetNamespace = \"NS_NumGen\")\n int n);\n\n /**\n * \n * @param high\n * @param low\n * @return\n * returns java.lang.String\n */\n @WebMethod(action = \"NS_NumGen/powersofTwo\")\n @WebResult(name = \"powersofTwoResult\", targetNamespace = \"NS_NumGen\")\n @RequestWrapper(localName = \"powersofTwo\", targetNamespace = \"NS_NumGen\", className = \"ns_numgen.PowersofTwo\")\n @ResponseWrapper(localName = \"powersofTwoResponse\", targetNamespace = \"NS_NumGen\", className = \"ns_numgen.PowersofTwoResponse\")\n public String powersofTwo(\n @WebParam(name = \"low\", targetNamespace = \"NS_NumGen\")\n int low,\n @WebParam(name = \"high\", targetNamespace = \"NS_NumGen\")\n int high);\n\n /**\n * \n * @param high\n * @param low\n * @return\n * returns java.lang.String\n */\n @WebMethod(action = \"NS_NumGen/evenRange\")\n @WebResult(name = \"evenRangeResult\", targetNamespace = \"NS_NumGen\")\n @RequestWrapper(localName = \"evenRange\", targetNamespace = \"NS_NumGen\", className = \"ns_numgen.EvenRange\")\n @ResponseWrapper(localName = \"evenRangeResponse\", targetNamespace = \"NS_NumGen\", className = \"ns_numgen.EvenRangeResponse\")\n public String evenRange(\n @WebParam(name = \"low\", targetNamespace = \"NS_NumGen\")\n int low,\n @WebParam(name = \"high\", targetNamespace = \"NS_NumGen\")\n int high);\n\n /**\n * \n * @param high\n * @param low\n * @return\n * returns java.lang.String\n */\n @WebMethod(action = \"NS_NumGen/oddRange\")\n @WebResult(name = \"oddRangeResult\", targetNamespace = \"NS_NumGen\")\n @RequestWrapper(localName = \"oddRange\", targetNamespace = \"NS_NumGen\", className = \"ns_numgen.OddRange\")\n @ResponseWrapper(localName = \"oddRangeResponse\", targetNamespace = \"NS_NumGen\", className = \"ns_numgen.OddRangeResponse\")\n public String oddRange(\n @WebParam(name = \"low\", targetNamespace = \"NS_NumGen\")\n int low,\n @WebParam(name = \"high\", targetNamespace = \"NS_NumGen\")\n int high);\n\n /**\n * \n * @param high\n * @param low\n * @return\n * returns java.lang.String\n */\n @WebMethod(action = \"NS_NumGen/palindromeRange\")\n @WebResult(name = \"palindromeRangeResult\", targetNamespace = \"NS_NumGen\")\n @RequestWrapper(localName = \"palindromeRange\", targetNamespace = \"NS_NumGen\", className = \"ns_numgen.PalindromeRange\")\n @ResponseWrapper(localName = \"palindromeRangeResponse\", targetNamespace = \"NS_NumGen\", className = \"ns_numgen.PalindromeRangeResponse\")\n public String palindromeRange(\n @WebParam(name = \"low\", targetNamespace = \"NS_NumGen\")\n int low,\n @WebParam(name = \"high\", targetNamespace = \"NS_NumGen\")\n int high);\n\n}", "@WebService(name = \"BonusOperationWebService\", targetNamespace = \"http://ws.agent.service.dms.sgm.com/\")\n@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface BonusOperationWebService {\n\n\n /**\n * \n * @param body\n * @param header\n * @return\n * returns com.sgm.dms.service.agent.ws.bonus.TranformFrznBonusFundResponse\n * @throws SgmErrorFault\n */\n @WebMethod\n @WebResult(name = \"tranformFrznBonusFundResponse\", targetNamespace = \"http://ws.agent.service.dms.sgm.com/\", partName = \"body\")\n public TranformFrznBonusFundResponse tranformFrznBonusFund(\n @WebParam(name = \"tranformFrznBonusFund\", targetNamespace = \"http://ws.agent.service.dms.sgm.com/\", partName = \"body\")\n TranformFrznBonusFund body,\n @WebParam(name = \"SGMCommonHeader\", targetNamespace = \"http://www.saic-gm.com/esb/schemas/common/SGMCommonHeader/v1\", header = true, mode = WebParam.Mode.INOUT, partName = \"header\")\n Holder<SGMCommonHeaderType> header)\n throws SgmErrorFault\n ;\n\n /**\n * \n * @param body\n * @param header\n * @return\n * returns com.sgm.dms.service.agent.ws.bonus.TranformBonusFundCompensationResponse\n * @throws SgmErrorFault\n */\n @WebMethod\n @WebResult(name = \"tranformBonusFundCompensationResponse\", targetNamespace = \"http://ws.agent.service.dms.sgm.com/\", partName = \"body\")\n public TranformBonusFundCompensationResponse tranformBonusFundCompensation(\n @WebParam(name = \"tranformBonusFundCompensation\", targetNamespace = \"http://ws.agent.service.dms.sgm.com/\", partName = \"body\")\n TranformBonusFundCompensation body,\n @WebParam(name = \"SGMCommonHeader\", targetNamespace = \"http://www.saic-gm.com/esb/schemas/common/SGMCommonHeader/v1\", header = true, mode = WebParam.Mode.INOUT, partName = \"header\")\n Holder<SGMCommonHeaderType> header)\n throws SgmErrorFault\n ;\n\n /**\n * \n * @param body\n * @param header\n * @return\n * returns com.sgm.dms.service.agent.ws.bonus.TranformBonusFundResponse\n * @throws SgmErrorFault\n */\n @WebMethod\n @WebResult(name = \"tranformBonusFundResponse\", targetNamespace = \"http://ws.agent.service.dms.sgm.com/\", partName = \"body\")\n public TranformBonusFundResponse tranformBonusFund(\n @WebParam(name = \"tranformBonusFund\", targetNamespace = \"http://ws.agent.service.dms.sgm.com/\", partName = \"body\")\n TranformBonusFund body,\n @WebParam(name = \"SGMCommonHeader\", targetNamespace = \"http://www.saic-gm.com/esb/schemas/common/SGMCommonHeader/v1\", header = true, mode = WebParam.Mode.INOUT, partName = \"header\")\n Holder<SGMCommonHeaderType> header)\n throws SgmErrorFault\n ;\n\n /**\n * \n * @param body\n * @param header\n * @return\n * returns com.sgm.dms.service.agent.ws.bonus.TranformUnFrznBonusFundResponse\n * @throws SgmErrorFault\n */\n @WebMethod\n @WebResult(name = \"tranformUnFrznBonusFundResponse\", targetNamespace = \"http://ws.agent.service.dms.sgm.com/\", partName = \"body\")\n public TranformUnFrznBonusFundResponse tranformUnFrznBonusFund(\n @WebParam(name = \"tranformUnFrznBonusFund\", targetNamespace = \"http://ws.agent.service.dms.sgm.com/\", partName = \"body\")\n TranformUnFrznBonusFund body,\n @WebParam(name = \"SGMCommonHeader\", targetNamespace = \"http://www.saic-gm.com/esb/schemas/common/SGMCommonHeader/v1\", header = true, mode = WebParam.Mode.INOUT, partName = \"header\")\n Holder<SGMCommonHeaderType> header)\n throws SgmErrorFault\n ;\n\n /**\n * \n * @param body\n * @param header\n * @return\n * returns com.sgm.dms.service.agent.ws.bonus.TranformUnFrznBonusFundCompensationResponse\n * @throws SgmErrorFault\n */\n @WebMethod\n @WebResult(name = \"tranformUnFrznBonusFundCompensationResponse\", targetNamespace = \"http://ws.agent.service.dms.sgm.com/\", partName = \"body\")\n public TranformUnFrznBonusFundCompensationResponse tranformUnFrznBonusFundCompensation(\n @WebParam(name = \"tranformUnFrznBonusFundCompensation\", targetNamespace = \"http://ws.agent.service.dms.sgm.com/\", partName = \"body\")\n TranformUnFrznBonusFundCompensation body,\n @WebParam(name = \"SGMCommonHeader\", targetNamespace = \"http://www.saic-gm.com/esb/schemas/common/SGMCommonHeader/v1\", header = true, mode = WebParam.Mode.INOUT, partName = \"header\")\n Holder<SGMCommonHeaderType> header)\n throws SgmErrorFault\n ;\n\n /**\n * \n * @param body\n * @param header\n * @return\n * returns com.sgm.dms.service.agent.ws.bonus.TranformFrznBonusFundCompensationResponse\n * @throws SgmErrorFault\n */\n @WebMethod\n @WebResult(name = \"tranformFrznBonusFundCompensationResponse\", targetNamespace = \"http://ws.agent.service.dms.sgm.com/\", partName = \"body\")\n public TranformFrznBonusFundCompensationResponse tranformFrznBonusFundCompensation(\n @WebParam(name = \"tranformFrznBonusFundCompensation\", targetNamespace = \"http://ws.agent.service.dms.sgm.com/\", partName = \"body\")\n TranformFrznBonusFundCompensation body,\n @WebParam(name = \"SGMCommonHeader\", targetNamespace = \"http://www.saic-gm.com/esb/schemas/common/SGMCommonHeader/v1\", header = true, mode = WebParam.Mode.INOUT, partName = \"header\")\n Holder<SGMCommonHeaderType> header)\n throws SgmErrorFault\n ;\n\n}", "@WebService(name = \"BVAC_AGENCYSoap\", targetNamespace = \"http://tempuri.org/\")\r\n@XmlSeeAlso({\r\n ObjectFactory.class\r\n})\r\npublic interface BVACAGENCYSoap {\r\n\r\n\r\n /**\r\n * L\\u1ea5y danh sách lo\\u1ea1i \\u1ea5n ch\\u1ec9 theo mã \\u0111\\u1ea1i lý\r\n * \r\n * @param maDaiLy\r\n * @return\r\n * returns java.lang.String\r\n */\r\n @WebMethod(operationName = \"GetDMLoaiAnChi\", action = \"http://tempuri.org/GetDMLoaiAnChi\")\r\n @WebResult(name = \"GetDMLoaiAnChiResult\", targetNamespace = \"http://tempuri.org/\")\r\n @RequestWrapper(localName = \"GetDMLoaiAnChi\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.GetDMLoaiAnChi\")\r\n @ResponseWrapper(localName = \"GetDMLoaiAnChiResponse\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.GetDMLoaiAnChiResponse\")\r\n public String getDMLoaiAnChi(\r\n @WebParam(name = \"maDaiLy\", targetNamespace = \"http://tempuri.org/\")\r\n String maDaiLy);\r\n\r\n /**\r\n * L\\u1ea5y danh sách \\u1ea5n ch\\u1ec9 theo mã \\u0111\\u1ea1i lý\r\n * \r\n * @param maDaiLy\r\n * @return\r\n * returns java.lang.String\r\n */\r\n @WebMethod(operationName = \"GetAnChiByAgency\", action = \"http://tempuri.org/GetAnChiByAgency\")\r\n @WebResult(name = \"GetAnChiByAgencyResult\", targetNamespace = \"http://tempuri.org/\")\r\n @RequestWrapper(localName = \"GetAnChiByAgency\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.GetAnChiByAgency\")\r\n @ResponseWrapper(localName = \"GetAnChiByAgencyResponse\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.GetAnChiByAgencyResponse\")\r\n public String getAnChiByAgency(\r\n @WebParam(name = \"maDaiLy\", targetNamespace = \"http://tempuri.org/\")\r\n String maDaiLy);\r\n\r\n /**\r\n * C\\u1eadp nh\\u1eadt danh sách \\u1ea5n ch\\u1ec9 \\u0111ã s\\u1eed d\\u1ee5ng\r\n * \r\n * @param anChis\r\n * @return\r\n * returns java.lang.String\r\n */\r\n @WebMethod(operationName = \"UpdateListAnChi\", action = \"http://tempuri.org/UpdateListAnChi\")\r\n @WebResult(name = \"UpdateListAnChiResult\", targetNamespace = \"http://tempuri.org/\")\r\n @RequestWrapper(localName = \"UpdateListAnChi\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.UpdateListAnChi\")\r\n @ResponseWrapper(localName = \"UpdateListAnChiResponse\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.UpdateListAnChiResponse\")\r\n public String updateListAnChi(\r\n @WebParam(name = \"anChis\", targetNamespace = \"http://tempuri.org/\")\r\n String anChis);\r\n\r\n}", "@WebService(name = \"RPCLitSWA\", targetNamespace = \"http://org/apache/axis2/jaxws/proxy/rpclitswa\", wsdlLocation = \"RPCLitSWA.wsdl\")\r\n@SOAPBinding(style = Style.RPC)\r\npublic interface RPCLitSWA {\r\n\r\n\r\n /**\r\n * \r\n * @param request\r\n * @param dummyAttachmentINOUT\r\n * @param dummyAttachmentOUT\r\n * @param response\r\n * @param dummyAttachmentIN\r\n */\r\n @WebMethod\r\n public void echo(\r\n @WebParam(name = \"request\", partName = \"request\")\r\n String request,\r\n @WebParam(name = \"dummyAttachmentIN\", partName = \"dummyAttachmentIN\")\r\n String dummyAttachmentIN,\r\n @WebParam(name = \"dummyAttachmentINOUT\", mode = Mode.INOUT, partName = \"dummyAttachmentINOUT\")\r\n Holder<DataHandler> dummyAttachmentINOUT,\r\n @WebParam(name = \"response\", mode = Mode.OUT, partName = \"response\")\r\n Holder<String> response,\r\n @WebParam(name = \"dummyAttachmentOUT\", mode = Mode.OUT, partName = \"dummyAttachmentOUT\")\r\n Holder<String> dummyAttachmentOUT);\r\n\r\n}", "@WebService(name = \"AppWebService\", targetNamespace = \"http://pingan.cn/\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface AppWebService {\n\n\n /**\n * \n * @param param\n * @return\n * returns java.lang.String\n * @throws Exception_Exception\n * @throws JBOException_Exception\n */\n @WebMethod(action = \"http://pingan.cn/getOrder\")\n @WebResult(name = \"faceCompareResult\", targetNamespace = \"http://pingan.cn/\")\n @RequestWrapper(localName = \"faceCompare\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.FaceCompare\")\n @ResponseWrapper(localName = \"faceCompareResponse\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.FaceCompareResponse\")\n public String faceCompare(\n @WebParam(name = \"param\", targetNamespace = \"http://pingan.cn/\")\n String param)\n throws Exception_Exception, JBOException_Exception\n ;\n\n /**\n * \n * @param param\n * @return\n * returns java.lang.String\n * @throws Exception_Exception\n * @throws JBOException_Exception\n */\n @WebMethod(action = \"http://pingan.cn/getOrder\")\n @WebResult(name = \"getReturngoodsResult\", targetNamespace = \"http://pingan.cn/\")\n @RequestWrapper(localName = \"getReturngoods\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.GetReturngoods\")\n @ResponseWrapper(localName = \"getReturngoodsResponse\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.GetReturngoodsResponse\")\n public String getReturngoods(\n @WebParam(name = \"param\", targetNamespace = \"http://pingan.cn/\")\n String param)\n throws Exception_Exception, JBOException_Exception\n ;\n\n /**\n * \n * @param param\n * @return\n * returns java.lang.String\n * @throws Exception_Exception\n */\n @WebMethod(action = \"http://pingan.cn/boundBankcard\")\n @WebResult(name = \"boundBankcardResult\", targetNamespace = \"http://pingan.cn/\")\n @RequestWrapper(localName = \"boundBankcard\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.BoundBankcard\")\n @ResponseWrapper(localName = \"boundBankcardResponse\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.BoundBankcardResponse\")\n public String boundBankcard(\n @WebParam(name = \"param\", targetNamespace = \"http://pingan.cn/\")\n String param)\n throws Exception_Exception\n ;\n\n /**\n * \n * @param param\n * @return\n * returns java.lang.String\n * @throws Exception_Exception\n */\n @WebMethod(action = \"http://pingan.cn/returnBtvOrder\")\n @WebResult(name = \"returnBtvOrderResult\", targetNamespace = \"http://pingan.cn/\")\n @RequestWrapper(localName = \"returnBtvOrder\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.ReturnBtvOrder\")\n @ResponseWrapper(localName = \"returnBtvOrderResponse\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.ReturnBtvOrderResponse\")\n public String returnBtvOrder(\n @WebParam(name = \"param\", targetNamespace = \"http://pingan.cn/\")\n String param)\n throws Exception_Exception\n ;\n\n /**\n * \n * @param param\n * @return\n * returns java.lang.String\n * @throws Exception_Exception\n * @throws JBOException_Exception\n */\n @WebMethod(action = \"http://pingan.cn/getOrder\")\n @WebResult(name = \"bankcardResult\", targetNamespace = \"http://pingan.cn/\")\n @RequestWrapper(localName = \"bankcard\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.Bankcard\")\n @ResponseWrapper(localName = \"bankcardResponse\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.BankcardResponse\")\n public String bankcard(\n @WebParam(name = \"param\", targetNamespace = \"http://pingan.cn/\")\n String param)\n throws Exception_Exception, JBOException_Exception\n ;\n\n /**\n * \n * @param param\n * @return\n * returns java.lang.String\n * @throws Exception_Exception\n */\n @WebMethod(action = \"http://pingan.cn/updateLogisticsinfo\")\n @WebResult(name = \"updateLogisticsinfoResult\", targetNamespace = \"http://pingan.cn/\")\n @RequestWrapper(localName = \"updateLogisticsinfo\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.UpdateLogisticsinfo\")\n @ResponseWrapper(localName = \"updateLogisticsinfoResponse\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.UpdateLogisticsinfoResponse\")\n public String updateLogisticsinfo(\n @WebParam(name = \"param\", targetNamespace = \"http://pingan.cn/\")\n String param)\n throws Exception_Exception\n ;\n\n /**\n * \n * @param param\n * @return\n * returns java.lang.String\n * @throws Exception_Exception\n * @throws JBOException_Exception\n */\n @WebMethod(action = \"http://pingan.cn/getOrder\")\n @WebResult(name = \"faceDetectResult\", targetNamespace = \"http://pingan.cn/\")\n @RequestWrapper(localName = \"faceDetect\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.FaceDetect\")\n @ResponseWrapper(localName = \"faceDetectResponse\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.FaceDetectResponse\")\n public String faceDetect(\n @WebParam(name = \"param\", targetNamespace = \"http://pingan.cn/\")\n String param)\n throws Exception_Exception, JBOException_Exception\n ;\n\n /**\n * \n * @param param\n * @return\n * returns java.lang.String\n * @throws SQLException_Exception\n */\n @WebMethod(action = \"http://pingan.cn/getCreditline\")\n @WebResult(name = \"getCreditlineResult\", targetNamespace = \"http://pingan.cn/\")\n @RequestWrapper(localName = \"getCreditline\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.GetCreditline\")\n @ResponseWrapper(localName = \"getCreditlineResponse\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.GetCreditlineResponse\")\n public String getCreditline(\n @WebParam(name = \"param\", targetNamespace = \"http://pingan.cn/\")\n String param)\n throws SQLException_Exception\n ;\n\n /**\n * \n * @param param\n * @return\n * returns java.lang.String\n * @throws Exception_Exception\n * @throws JBOException_Exception\n */\n @WebMethod(action = \"http://pingan.cn/getOrder\")\n @WebResult(name = \"signCheckResult\", targetNamespace = \"http://pingan.cn/\")\n @RequestWrapper(localName = \"signCheck\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.SignCheck\")\n @ResponseWrapper(localName = \"signCheckResponse\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.SignCheckResponse\")\n public String signCheck(\n @WebParam(name = \"param\", targetNamespace = \"http://pingan.cn/\")\n String param)\n throws Exception_Exception, JBOException_Exception\n ;\n\n /**\n * \n * @param param\n * @return\n * returns java.lang.String\n * @throws Exception_Exception\n */\n @WebMethod(action = \"http://pingan.cn/repayPlansSelect\")\n @WebResult(name = \"repayPlansSelectResult\", targetNamespace = \"http://pingan.cn/\")\n @RequestWrapper(localName = \"repayPlansSelect\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.RepayPlansSelect\")\n @ResponseWrapper(localName = \"repayPlansSelectResponse\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.RepayPlansSelectResponse\")\n public String repayPlansSelect(\n @WebParam(name = \"param\", targetNamespace = \"http://pingan.cn/\")\n String param)\n throws Exception_Exception\n ;\n\n /**\n * \n * @param param\n * @return\n * returns java.lang.String\n * @throws Exception_Exception\n */\n @WebMethod(action = \"http://pingan.cn/repayPlansQuery\")\n @WebResult(name = \"repayPlansQueryResult\", targetNamespace = \"http://pingan.cn/\")\n @RequestWrapper(localName = \"repayPlansQuery\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.RepayPlansQuery\")\n @ResponseWrapper(localName = \"repayPlansQueryResponse\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.RepayPlansQueryResponse\")\n public String repayPlansQuery(\n @WebParam(name = \"param\", targetNamespace = \"http://pingan.cn/\")\n String param)\n throws Exception_Exception\n ;\n\n /**\n * \n * @param param\n * @return\n * returns java.lang.String\n * @throws Exception_Exception\n * @throws JBOException_Exception\n */\n @WebMethod(action = \"http://pingan.cn/getOrder\")\n @WebResult(name = \"queryPhoneZHHSResult\", targetNamespace = \"http://pingan.cn/\")\n @RequestWrapper(localName = \"queryPhoneZHHS\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.QueryPhoneZHHS\")\n @ResponseWrapper(localName = \"queryPhoneZHHSResponse\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.QueryPhoneZHHSResponse\")\n public String queryPhoneZHHS(\n @WebParam(name = \"param\", targetNamespace = \"http://pingan.cn/\")\n String param)\n throws Exception_Exception, JBOException_Exception\n ;\n\n /**\n * \n * @param param\n * @return\n * returns java.lang.String\n * @throws Exception_Exception\n */\n @WebMethod(action = \"http://pingan.cn/repayPlansTrialResult\")\n @WebResult(name = \"repayPlansTrialResult\", targetNamespace = \"http://pingan.cn/\")\n @RequestWrapper(localName = \"repayPlansTrial\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.RepayPlansTrial\")\n @ResponseWrapper(localName = \"repayPlansTrialResponse\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.RepayPlansTrialResponse\")\n public String repayPlansTrial(\n @WebParam(name = \"param\", targetNamespace = \"http://pingan.cn/\")\n String param)\n throws Exception_Exception\n ;\n\n /**\n * \n * @param param\n * @return\n * returns java.lang.String\n * @throws Exception_Exception\n * @throws JBOException_Exception\n */\n @WebMethod(operationName = \"Idcard\", action = \"http://pingan.cn/getOrder\")\n @WebResult(name = \"IdcardResult\", targetNamespace = \"http://pingan.cn/\")\n @RequestWrapper(localName = \"Idcard\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.Idcard\")\n @ResponseWrapper(localName = \"IdcardResponse\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.IdcardResponse\")\n public String idcard(\n @WebParam(name = \"param\", targetNamespace = \"http://pingan.cn/\")\n String param)\n throws Exception_Exception, JBOException_Exception\n ;\n\n /**\n * \n * @param param\n * @return\n * returns java.lang.String\n * @throws Exception_Exception\n * @throws JBOException_Exception\n */\n @WebMethod(action = \"http://pingan.cn/getOrder\")\n @WebResult(name = \"getOrderResult\", targetNamespace = \"http://pingan.cn/\")\n @RequestWrapper(localName = \"getOrder\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.GetOrder\")\n @ResponseWrapper(localName = \"getOrderResponse\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.GetOrderResponse\")\n public String getOrder(\n @WebParam(name = \"param\", targetNamespace = \"http://pingan.cn/\")\n String param)\n throws Exception_Exception, JBOException_Exception\n ;\n\n /**\n * \n * @param param\n * @return\n * returns java.lang.String\n * @throws Exception_Exception\n */\n @WebMethod(action = \"http://pingan.cn/registerBtvOrder\")\n @WebResult(name = \"registerBtvOrderResult\", targetNamespace = \"http://pingan.cn/\")\n @RequestWrapper(localName = \"registerBtvOrder\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.RegisterBtvOrder\")\n @ResponseWrapper(localName = \"registerBtvOrderResponse\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.RegisterBtvOrderResponse\")\n public String registerBtvOrder(\n @WebParam(name = \"param\", targetNamespace = \"http://pingan.cn/\")\n String param)\n throws Exception_Exception\n ;\n /**\n * \n * @param param\n * @return\n * returns java.lang.String\n * @throws Exception_Exception\n * @throws JBOException_Exception\n */\n @WebMethod(action = \"http://pingan.cn/pubTransLog\")\n @WebResult(name = \"pubTransLogResult\", targetNamespace = \"http://pingan.cn/\")\n @RequestWrapper(localName = \"pubTransLog\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.PubTransLog\")\n @ResponseWrapper(localName = \"pubTransLogResponse\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.PubTransLogResponse\")\n public String pubTransLog(\n @WebParam(name = \"param\", targetNamespace = \"http://pingan.cn/\")\n String param)\n throws Exception_Exception, JBOException_Exception\n ;\n\n}", "@WebService(name = \"Servicio\", targetNamespace = \"http://Servicio/\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface Servicio {\n\n\n /**\n * \n * @return\n * returns java.util.List<servicio.Persona>\n */\n @WebMethod(operationName = \"ListPersons\")\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"ListPersons\", targetNamespace = \"http://Servicio/\", className = \"servicio.ListPersons\")\n @ResponseWrapper(localName = \"ListPersonsResponse\", targetNamespace = \"http://Servicio/\", className = \"servicio.ListPersonsResponse\")\n @Action(input = \"http://Servicio/Servicio/ListPersonsRequest\", output = \"http://Servicio/Servicio/ListPersonsResponse\")\n public List<Persona> listPersons();\n\n /**\n * \n * @param arg0\n * @return\n * returns java.lang.Object\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"readPerson\", targetNamespace = \"http://Servicio/\", className = \"servicio.ReadPerson\")\n @ResponseWrapper(localName = \"readPersonResponse\", targetNamespace = \"http://Servicio/\", className = \"servicio.ReadPersonResponse\")\n @Action(input = \"http://Servicio/Servicio/readPersonRequest\", output = \"http://Servicio/Servicio/readPersonResponse\")\n public Object readPerson(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n int arg0);\n\n /**\n * \n * @param arg3\n * @param arg2\n * @param arg5\n * @param arg4\n * @param arg1\n * @param arg0\n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"updatePerson\", targetNamespace = \"http://Servicio/\", className = \"servicio.UpdatePerson\")\n @ResponseWrapper(localName = \"updatePersonResponse\", targetNamespace = \"http://Servicio/\", className = \"servicio.UpdatePersonResponse\")\n @Action(input = \"http://Servicio/Servicio/updatePersonRequest\", output = \"http://Servicio/Servicio/updatePersonResponse\")\n public String updatePerson(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n int arg0,\n @WebParam(name = \"arg1\", targetNamespace = \"\")\n String arg1,\n @WebParam(name = \"arg2\", targetNamespace = \"\")\n String arg2,\n @WebParam(name = \"arg3\", targetNamespace = \"\")\n String arg3,\n @WebParam(name = \"arg4\", targetNamespace = \"\")\n String arg4,\n @WebParam(name = \"arg5\", targetNamespace = \"\")\n String arg5);\n\n /**\n * \n * @param arg0\n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"deletePerson\", targetNamespace = \"http://Servicio/\", className = \"servicio.DeletePerson\")\n @ResponseWrapper(localName = \"deletePersonResponse\", targetNamespace = \"http://Servicio/\", className = \"servicio.DeletePersonResponse\")\n @Action(input = \"http://Servicio/Servicio/deletePersonRequest\", output = \"http://Servicio/Servicio/deletePersonResponse\")\n public String deletePerson(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n int arg0);\n\n /**\n * \n * @param arg3\n * @param arg2\n * @param arg5\n * @param arg4\n * @param arg1\n * @param arg0\n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"insertPerson\", targetNamespace = \"http://Servicio/\", className = \"servicio.InsertPerson\")\n @ResponseWrapper(localName = \"insertPersonResponse\", targetNamespace = \"http://Servicio/\", className = \"servicio.InsertPersonResponse\")\n @Action(input = \"http://Servicio/Servicio/insertPersonRequest\", output = \"http://Servicio/Servicio/insertPersonResponse\")\n public String insertPerson(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n int arg0,\n @WebParam(name = \"arg1\", targetNamespace = \"\")\n String arg1,\n @WebParam(name = \"arg2\", targetNamespace = \"\")\n String arg2,\n @WebParam(name = \"arg3\", targetNamespace = \"\")\n String arg3,\n @WebParam(name = \"arg4\", targetNamespace = \"\")\n String arg4,\n @WebParam(name = \"arg5\", targetNamespace = \"\")\n String arg5);\n\n}", "public sample.ws.HelloWorldWSStub.InitializeHelloWorldWSResponse initializeHelloWorldWS(\n\n sample.ws.HelloWorldWSStub.InitializeHelloWorldWS initializeHelloWorldWS10)\n \n\n throws java.rmi.RemoteException\n \n {\n org.apache.axis2.context.MessageContext _messageContext = null;\n try{\n org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[5].getName());\n _operationClient.getOptions().setAction(\"initializeCourseWS\");\n _operationClient.getOptions().setExceptionToBeThrownOnSOAPFault(true);\n\n \n \n addPropertyToOperationClient(_operationClient,org.apache.axis2.description.WSDL2Constants.ATTR_WHTTP_QUERY_PARAMETER_SEPARATOR,\"&\");\n \n\n // create a message context\n _messageContext = new org.apache.axis2.context.MessageContext();\n\n \n\n // create SOAP envelope with that payload\n org.apache.axiom.soap.SOAPEnvelope env = null;\n \n \n env = toEnvelope(getFactory(_operationClient.getOptions().getSoapVersionURI()),\n initializeHelloWorldWS10,\n optimizeContent(new javax.xml.namespace.QName(\"http://ws.sample/\",\n \"initializeHelloWorldWS\")));\n \n //adding SOAP soap_headers\n _serviceClient.addHeadersToEnvelope(env);\n // set the message context with that soap envelope\n _messageContext.setEnvelope(env);\n\n // add the message contxt to the operation client\n _operationClient.addMessageContext(_messageContext);\n\n //execute the operation client\n _operationClient.execute(true);\n\n \n org.apache.axis2.context.MessageContext _returnMessageContext = _operationClient.getMessageContext(\n org.apache.axis2.wsdl.WSDLConstants.MESSAGE_LABEL_IN_VALUE);\n org.apache.axiom.soap.SOAPEnvelope _returnEnv = _returnMessageContext.getEnvelope();\n \n \n java.lang.Object object = fromOM(\n _returnEnv.getBody().getFirstElement() ,\n sample.ws.HelloWorldWSStub.InitializeHelloWorldWSResponse.class,\n getEnvelopeNamespaces(_returnEnv));\n\n \n return (sample.ws.HelloWorldWSStub.InitializeHelloWorldWSResponse)object;\n \n }catch(org.apache.axis2.AxisFault f){\n\n org.apache.axiom.om.OMElement faultElt = f.getDetail();\n if (faultElt!=null){\n if (faultExceptionNameMap.containsKey(faultElt.getQName())){\n //make the fault by reflection\n try{\n java.lang.String exceptionClassName = (java.lang.String)faultExceptionClassNameMap.get(faultElt.getQName());\n java.lang.Class exceptionClass = java.lang.Class.forName(exceptionClassName);\n java.lang.Exception ex=\n (java.lang.Exception) exceptionClass.newInstance();\n //message class\n java.lang.String messageClassName = (java.lang.String)faultMessageMap.get(faultElt.getQName());\n java.lang.Class messageClass = java.lang.Class.forName(messageClassName);\n java.lang.Object messageObject = fromOM(faultElt,messageClass,null);\n java.lang.reflect.Method m = exceptionClass.getMethod(\"setFaultMessage\",\n new java.lang.Class[]{messageClass});\n m.invoke(ex,new java.lang.Object[]{messageObject});\n \n\n throw new java.rmi.RemoteException(ex.getMessage(), ex);\n }catch(java.lang.ClassCastException e){\n // we cannot intantiate the class - throw the original Axis fault\n throw f;\n } catch (java.lang.ClassNotFoundException e) {\n // we cannot intantiate the class - throw the original Axis fault\n throw f;\n }catch (java.lang.NoSuchMethodException e) {\n // we cannot intantiate the class - throw the original Axis fault\n throw f;\n } catch (java.lang.reflect.InvocationTargetException e) {\n // we cannot intantiate the class - throw the original Axis fault\n throw f;\n } catch (java.lang.IllegalAccessException e) {\n // we cannot intantiate the class - throw the original Axis fault\n throw f;\n } catch (java.lang.InstantiationException e) {\n // we cannot intantiate the class - throw the original Axis fault\n throw f;\n }\n }else{\n throw f;\n }\n }else{\n throw f;\n }\n } finally {\n _messageContext.getTransportOut().getSender().cleanup(_messageContext);\n }\n }", "@WebService(name = \"Authentication\", targetNamespace = \"urn:authws.services.ecm.opentext.com\")\r\n@XmlSeeAlso({\r\n com.opentext.ecm.api.ObjectFactory.class,\r\n com.opentext.ecm.services.authws.ObjectFactory.class\r\n})\r\npublic interface Authentication {\r\n\r\n\r\n /**\r\n * \r\n * @return\r\n * returns java.lang.String\r\n * @throws AuthenticationException_Exception\r\n */\r\n @WebMethod(operationName = \"GetResourceId\")\r\n @WebResult(targetNamespace = \"\")\r\n @RequestWrapper(localName = \"GetResourceId\", targetNamespace = \"urn:authws.services.ecm.opentext.com\", className = \"com.opentext.ecm.services.authws.GetResourceId\")\r\n @ResponseWrapper(localName = \"GetResourceIdResponse\", targetNamespace = \"urn:authws.services.ecm.opentext.com\", className = \"com.opentext.ecm.services.authws.GetResourceIdResponse\")\r\n public String getResourceId()\r\n throws AuthenticationException_Exception\r\n ;\r\n\r\n /**\r\n * \r\n * @param resourceId\r\n * @param username\r\n * @return\r\n * returns java.lang.String\r\n * @throws AuthenticationException_Exception\r\n */\r\n @WebMethod(operationName = \"GetTicketForUser\")\r\n @WebResult(targetNamespace = \"\")\r\n @RequestWrapper(localName = \"GetTicketForUser\", targetNamespace = \"urn:authws.services.ecm.opentext.com\", className = \"com.opentext.ecm.services.authws.GetTicketForUser\")\r\n @ResponseWrapper(localName = \"GetTicketForUserResponse\", targetNamespace = \"urn:authws.services.ecm.opentext.com\", className = \"com.opentext.ecm.services.authws.GetTicketForUserResponse\")\r\n public String getTicketForUser(\r\n @WebParam(name = \"username\", targetNamespace = \"\")\r\n String username,\r\n @WebParam(name = \"resourceId\", targetNamespace = \"\")\r\n String resourceId)\r\n throws AuthenticationException_Exception\r\n ;\r\n\r\n /**\r\n * \r\n * @param username\r\n * @param password\r\n * @return\r\n * returns java.lang.String\r\n * @throws AuthenticationException_Exception\r\n */\r\n @WebMethod(operationName = \"Authenticate\")\r\n @WebResult(targetNamespace = \"\")\r\n @RequestWrapper(localName = \"Authenticate\", targetNamespace = \"urn:authws.services.ecm.opentext.com\", className = \"com.opentext.ecm.services.authws.Authenticate\")\r\n @ResponseWrapper(localName = \"AuthenticateResponse\", targetNamespace = \"urn:authws.services.ecm.opentext.com\", className = \"com.opentext.ecm.services.authws.AuthenticateResponse\")\r\n public String authenticate(\r\n @WebParam(name = \"username\", targetNamespace = \"\")\r\n String username,\r\n @WebParam(name = \"password\", targetNamespace = \"\")\r\n String password)\r\n throws AuthenticationException_Exception\r\n ;\r\n\r\n /**\r\n * \r\n * @return\r\n * returns java.lang.String\r\n * @throws AuthenticationException_Exception\r\n */\r\n @WebMethod(operationName = \"AuthenticateCurrentUser\")\r\n @WebResult(targetNamespace = \"\")\r\n @RequestWrapper(localName = \"AuthenticateCurrentUser\", targetNamespace = \"urn:authws.services.ecm.opentext.com\", className = \"com.opentext.ecm.services.authws.AuthenticateCurrentUser\")\r\n @ResponseWrapper(localName = \"AuthenticateCurrentUserResponse\", targetNamespace = \"urn:authws.services.ecm.opentext.com\", className = \"com.opentext.ecm.services.authws.AuthenticateCurrentUserResponse\")\r\n public String authenticateCurrentUser()\r\n throws AuthenticationException_Exception\r\n ;\r\n\r\n /**\r\n * \r\n * @param code\r\n * @return\r\n * returns java.lang.String\r\n * @throws AuthenticationException_Exception\r\n */\r\n @WebMethod(operationName = \"AuthenticateCurrentUserWithCode\")\r\n @WebResult(targetNamespace = \"\")\r\n @RequestWrapper(localName = \"AuthenticateCurrentUserWithCode\", targetNamespace = \"urn:authws.services.ecm.opentext.com\", className = \"com.opentext.ecm.services.authws.AuthenticateCurrentUserWithCode\")\r\n @ResponseWrapper(localName = \"AuthenticateCurrentUserWithCodeResponse\", targetNamespace = \"urn:authws.services.ecm.opentext.com\", className = \"com.opentext.ecm.services.authws.AuthenticateCurrentUserWithCodeResponse\")\r\n public String authenticateCurrentUserWithCode(\r\n @WebParam(name = \"code\", targetNamespace = \"\")\r\n String code)\r\n throws AuthenticationException_Exception\r\n ;\r\n\r\n /**\r\n * \r\n * @param username\r\n * @param code\r\n * @param password\r\n * @return\r\n * returns java.lang.String\r\n * @throws AuthenticationException_Exception\r\n */\r\n @WebMethod(operationName = \"AuthenticateWithPasswordAndCode\")\r\n @WebResult(targetNamespace = \"\")\r\n @RequestWrapper(localName = \"AuthenticateWithPasswordAndCode\", targetNamespace = \"urn:authws.services.ecm.opentext.com\", className = \"com.opentext.ecm.services.authws.AuthenticateWithPasswordAndCode\")\r\n @ResponseWrapper(localName = \"AuthenticateWithPasswordAndCodeResponse\", targetNamespace = \"urn:authws.services.ecm.opentext.com\", className = \"com.opentext.ecm.services.authws.AuthenticateWithPasswordAndCodeResponse\")\r\n public String authenticateWithPasswordAndCode(\r\n @WebParam(name = \"username\", targetNamespace = \"\")\r\n String username,\r\n @WebParam(name = \"password\", targetNamespace = \"\")\r\n String password,\r\n @WebParam(name = \"code\", targetNamespace = \"\")\r\n String code)\r\n throws AuthenticationException_Exception\r\n ;\r\n\r\n /**\r\n * \r\n * @param username\r\n * @param token\r\n * @return\r\n * returns java.lang.String\r\n * @throws AuthenticationException_Exception\r\n */\r\n @WebMethod(operationName = \"AuthenticateWithToken\")\r\n @WebResult(targetNamespace = \"\")\r\n @RequestWrapper(localName = \"AuthenticateWithToken\", targetNamespace = \"urn:authws.services.ecm.opentext.com\", className = \"com.opentext.ecm.services.authws.AuthenticateWithToken\")\r\n @ResponseWrapper(localName = \"AuthenticateWithTokenResponse\", targetNamespace = \"urn:authws.services.ecm.opentext.com\", className = \"com.opentext.ecm.services.authws.AuthenticateWithTokenResponse\")\r\n public String authenticateWithToken(\r\n @WebParam(name = \"username\", targetNamespace = \"\")\r\n String username,\r\n @WebParam(name = \"token\", targetNamespace = \"\")\r\n byte[] token)\r\n throws AuthenticationException_Exception\r\n ;\r\n\r\n /**\r\n * \r\n * @param username\r\n * @param token\r\n * @param code\r\n * @return\r\n * returns java.lang.String\r\n * @throws AuthenticationException_Exception\r\n */\r\n @WebMethod(operationName = \"AuthenticateWithTokenAndCode\")\r\n @WebResult(targetNamespace = \"\")\r\n @RequestWrapper(localName = \"AuthenticateWithTokenAndCode\", targetNamespace = \"urn:authws.services.ecm.opentext.com\", className = \"com.opentext.ecm.services.authws.AuthenticateWithTokenAndCode\")\r\n @ResponseWrapper(localName = \"AuthenticateWithTokenAndCodeResponse\", targetNamespace = \"urn:authws.services.ecm.opentext.com\", className = \"com.opentext.ecm.services.authws.AuthenticateWithTokenAndCodeResponse\")\r\n public String authenticateWithTokenAndCode(\r\n @WebParam(name = \"username\", targetNamespace = \"\")\r\n String username,\r\n @WebParam(name = \"token\", targetNamespace = \"\")\r\n byte[] token,\r\n @WebParam(name = \"code\", targetNamespace = \"\")\r\n String code)\r\n throws AuthenticationException_Exception\r\n ;\r\n\r\n}", "@WebService(name = \"serverPortType\", targetNamespace = \"urn:server\")\n@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface ServerPortType {\n\n\n /**\n * \n * @param parameters\n * @return\n * returns server.CreateRequestResponseType\n */\n @WebMethod(operationName = \"CreateRequest\", action = \"urn:server#CreateRequest\")\n @WebResult(name = \"CreateRequestResponse\", partName = \"parameters\")\n public CreateRequestResponseType createRequest(\n @WebParam(name = \"CreateRequest\", partName = \"parameters\")\n CreateRequestRequestType parameters);\n\n /**\n * \n * @param parameters\n * @return\n * returns server.CreateIncidentResponseType\n */\n @WebMethod(operationName = \"CreateIncident\", action = \"urn:server#CreateIncident\")\n @WebResult(name = \"CreateIncidentResponse\", partName = \"parameters\")\n public CreateIncidentResponseType createIncident(\n @WebParam(name = \"CreateIncident\", partName = \"parameters\")\n CreateIncidentRequestType parameters);\n\n}", "@WebService(targetNamespace = \"http://www.nortel.com/soa/oi/cct/AddressService\", name = \"AddressService\")\r\n@XmlSeeAlso({com.nortel.soa.oi.cct.types.addressservice.ObjectFactory.class, com.nortel.soa.oi.cct.faults.ObjectFactory.class, com.nortel.soa.oi.cct.types.ObjectFactory.class, org.xmlsoap.schemas.ws._2003._03.addressing.ObjectFactory.class, org.oasis_open.docs.wsrf._2004._06.wsrf_ws_basefaults_1_2_draft_01.ObjectFactory.class})\r\n@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)\r\npublic interface AddressService {\r\n\r\n @WebResult(name = \"GetDoNotDisturbResponse\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\", partName = \"response\")\r\n @WebMethod(operationName = \"GetDoNotDisturb\", action = \"http://www.nortel.com/soa/oi/cct/AddressService/GetDoNotDisturb\")\r\n public com.nortel.soa.oi.cct.types.addressservice.GetDoNotDisturbResponse getDoNotDisturb(\r\n @WebParam(partName = \"parameters\", name = \"GetDoNotDisturbRequest\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\")\r\n com.nortel.soa.oi.cct.types.addressservice.AddressRequest parameters\r\n ) throws GetDoNotDisturbException, SessionNotCreatedException;\r\n\r\n @WebResult(name = \"GetCapabilitiesResponse\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\", partName = \"response\")\r\n @WebMethod(operationName = \"GetCapabilities\", action = \"http://www.nortel.com/soa/oi/cct/AddressService/GetCapabilities\")\r\n public com.nortel.soa.oi.cct.types.addressservice.GetAddressCapabilitiesResponse getCapabilities(\r\n @WebParam(partName = \"parameters\", name = \"GetCapabilitiesRequest\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\")\r\n com.nortel.soa.oi.cct.types.addressservice.AddressRequest parameters\r\n ) throws GetCapabilitiesException, SessionNotCreatedException;\r\n\r\n @WebResult(name = \"OriginateResponse\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\", partName = \"response\")\r\n @WebMethod(operationName = \"Originate\", action = \"http://www.nortel.com/soa/oi/cct/AddressService/Originate\")\r\n public com.nortel.soa.oi.cct.types.addressservice.ContactResponse originate(\r\n @WebParam(partName = \"parameters\", name = \"OriginateRequest\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\")\r\n com.nortel.soa.oi.cct.types.addressservice.AddressOriginateRequest parameters\r\n ) throws OriginateException, SessionNotCreatedException;\r\n\r\n @WebMethod(operationName = \"SetDoNotDisturb\", action = \"http://www.nortel.com/soa/oi/cct/AddressService/SetDoNotDisturb\")\r\n public void setDoNotDisturb(\r\n @WebParam(partName = \"parameters\", name = \"SetDoNotDisturbRequest\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\")\r\n com.nortel.soa.oi.cct.types.addressservice.SetDoNotDisturbRequest parameters\r\n ) throws SessionNotCreatedException, SetDoNotDisturbException;\r\n\r\n @WebResult(name = \"IsForwardedResponse\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\", partName = \"response\")\r\n @WebMethod(operationName = \"IsForwarded\", action = \"http://www.nortel.com/soa/oi/cct/AddressService/IsForwarded\")\r\n public com.nortel.soa.oi.cct.types.addressservice.IsForwardedResponse isForwarded(\r\n @WebParam(partName = \"parameters\", name = \"IsForwardedRequest\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\")\r\n com.nortel.soa.oi.cct.types.addressservice.AddressRequest parameters\r\n ) throws IsForwardedException, SessionNotCreatedException;\r\n\r\n @WebMethod(operationName = \"SetForwarding\", action = \"http://www.nortel.com/soa/oi/cct/AddressService/SetForwarding\")\r\n public void setForwarding(\r\n @WebParam(partName = \"parameters\", name = \"SetForwardingRequest\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\")\r\n com.nortel.soa.oi.cct.types.addressservice.SetForwardingRequest parameters\r\n ) throws SetForwardingException, SessionNotCreatedException;\r\n\r\n @WebMethod(operationName = \"CancelForwarding\", action = \"http://www.nortel.com/soa/oi/cct/AddressService/CancelForwarding\")\r\n public void cancelForwarding(\r\n @WebParam(partName = \"parameters\", name = \"CancelForwardingRequest\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\")\r\n com.nortel.soa.oi.cct.types.addressservice.AddressRequest parameters\r\n ) throws SessionNotCreatedException, CancelForwardingException;\r\n\r\n @WebResult(name = \"GetStateResponse\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\", partName = \"response\")\r\n @WebMethod(operationName = \"GetState\", action = \"http://www.nortel.com/soa/oi/cct/AddressService/GetState\")\r\n public com.nortel.soa.oi.cct.types.addressservice.GetStateResponse getState(\r\n @WebParam(partName = \"parameters\", name = \"GetStateRequest\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\")\r\n com.nortel.soa.oi.cct.types.addressservice.AddressRequest parameters\r\n ) throws GetStateException, SessionNotCreatedException;\r\n\r\n @WebResult(name = \"GetTerminalsResponse\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\", partName = \"response\")\r\n @WebMethod(operationName = \"GetTerminals\", action = \"http://www.nortel.com/soa/oi/cct/AddressService/GetTerminals\")\r\n public com.nortel.soa.oi.cct.types.addressservice.GetTerminalsResponse getTerminals(\r\n @WebParam(partName = \"parameters\", name = \"GetTerminalsRequest\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\")\r\n com.nortel.soa.oi.cct.types.addressservice.AddressRequest parameters\r\n ) throws GetTerminalsException, SessionNotCreatedException;\r\n\r\n @WebResult(name = \"GetPresenceResponse\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\", partName = \"response\")\r\n @WebMethod(operationName = \"GetPresence\", action = \"http://www.nortel.com/soa/oi/cct/AddressService/GetPresence\")\r\n public com.nortel.soa.oi.cct.types.addressservice.GetPresenceResponse getPresence(\r\n @WebParam(partName = \"parameters\", name = \"GetPresenceRequest\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\")\r\n com.nortel.soa.oi.cct.types.addressservice.AddressRequest parameters\r\n ) throws GetPresenceException, SessionNotCreatedException;\r\n\r\n @WebResult(name = \"GetConnectionResponse\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\", partName = \"response\")\r\n @WebMethod(operationName = \"GetConnection\", action = \"http://www.nortel.com/soa/oi/cct/AddressService/GetConnection\")\r\n public com.nortel.soa.oi.cct.types.addressservice.ConnectionResponse getConnection(\r\n @WebParam(partName = \"parameters\", name = \"GetConnectionRequest\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\")\r\n com.nortel.soa.oi.cct.types.addressservice.ConnectionRequest parameters\r\n ) throws GetConnectionException, SessionNotCreatedException;\r\n\r\n @WebResult(name = \"GetMessageWaitingResponse\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\", partName = \"response\")\r\n @WebMethod(operationName = \"GetMessageWaiting\", action = \"http://www.nortel.com/soa/oi/cct/AddressService/GetMessageWaiting\")\r\n public com.nortel.soa.oi.cct.types.addressservice.GetMessageWaitingResponse getMessageWaiting(\r\n @WebParam(partName = \"parameters\", name = \"GetMessageWaitingRequest\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\")\r\n com.nortel.soa.oi.cct.types.addressservice.AddressRequest parameters\r\n ) throws GetMessageWaitingException, SessionNotCreatedException;\r\n\r\n @WebResult(name = \"GetTerminalStatusResponse\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\", partName = \"response\")\r\n @WebMethod(operationName = \"GetTerminalStatus\", action = \"http://www.nortel.com/soa/oi/cct/AddressService/GetTerminalStatus\")\r\n public com.nortel.soa.oi.cct.types.addressservice.GetTerminalStatusResponse getTerminalStatus(\r\n @WebParam(partName = \"parameters\", name = \"GetTerminalStatusRequest\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\")\r\n com.nortel.soa.oi.cct.types.addressservice.AddressRequest parameters\r\n ) throws SessionNotCreatedException, GetTerminalStatusException;\r\n\r\n @WebMethod(operationName = \"PresenceSubscribe\", action = \"http://www.nortel.com/soa/oi/cct/AddressService/PresenceSubscribe\")\r\n public void presenceSubscribe(\r\n @WebParam(partName = \"parameters\", name = \"PresenceSubscribeRequest\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\")\r\n com.nortel.soa.oi.cct.types.addressservice.PresenceSubscribeRequest parameters\r\n ) throws PresenceSubscribeException, SessionNotCreatedException;\r\n\r\n @WebResult(name = \"GetConnectionsResponse\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\", partName = \"response\")\r\n @WebMethod(operationName = \"GetConnections\", action = \"http://www.nortel.com/soa/oi/cct/AddressService/GetConnections\")\r\n public com.nortel.soa.oi.cct.types.addressservice.GetConnectionsResponse getConnections(\r\n @WebParam(partName = \"parameters\", name = \"GetConnectionsRequest\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\")\r\n com.nortel.soa.oi.cct.types.addressservice.AddressRequest parameters\r\n ) throws SessionNotCreatedException, GetConnectionsException;\r\n\r\n @WebResult(name = \"GetVersionResponse\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\", partName = \"response\")\r\n @WebMethod(operationName = \"GetVersion\", action = \"http://www.nortel.com/soa/oi/cct/AddressService/GetVersion\")\r\n public com.nortel.soa.oi.cct.types.GetVersionResponse getVersion(\r\n @WebParam(partName = \"parameters\", name = \"GetVersionRequest\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\")\r\n com.nortel.soa.oi.cct.types.GetVersionRequest parameters\r\n ) throws GetVersionException, SessionNotCreatedException;\r\n\r\n @WebMethod(operationName = \"SendInstantMessage\", action = \"http://www.nortel.com/soa/oi/cct/AddressService/SendInstantMessage\")\r\n public void sendInstantMessage(\r\n @WebParam(partName = \"parameters\", name = \"SendInstantMessage\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\")\r\n com.nortel.soa.oi.cct.types.addressservice.InstantMessageRequest parameters\r\n ) throws SessionNotCreatedException, SendInstantMessageException;\r\n\r\n @WebResult(name = \"GetUriResponse\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\", partName = \"response\")\r\n @WebMethod(operationName = \"GetUri\", action = \"http://www.nortel.com/soa/oi/cct/AddressService/GetUri\")\r\n public com.nortel.soa.oi.cct.types.addressservice.GetUriResponse getUri(\r\n @WebParam(partName = \"parameters\", name = \"GetUriRequest\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\")\r\n com.nortel.soa.oi.cct.types.addressservice.AddressRequest parameters\r\n ) throws GetUriException, SessionNotCreatedException;\r\n\r\n @WebResult(name = \"GetForwardingResponse\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\", partName = \"response\")\r\n @WebMethod(operationName = \"GetForwarding\", action = \"http://www.nortel.com/soa/oi/cct/AddressService/GetForwarding\")\r\n public com.nortel.soa.oi.cct.types.addressservice.GetForwardingResponse getForwarding(\r\n @WebParam(partName = \"parameters\", name = \"GetForwardingRequest\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\")\r\n com.nortel.soa.oi.cct.types.addressservice.AddressRequest parameters\r\n ) throws SessionNotCreatedException, GetForwardingException;\r\n\r\n @WebMethod(operationName = \"PresenceUnsubscribe\", action = \"http://www.nortel.com/soa/oi/cct/AddressService/PresenceUnsubscribe\")\r\n public void presenceUnsubscribe(\r\n @WebParam(partName = \"parameters\", name = \"PresenceUnsubscribeRequest\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\")\r\n com.nortel.soa.oi.cct.types.addressservice.AddressRequest parameters\r\n ) throws PresenceUnsubscribeException, SessionNotCreatedException;\r\n\r\n @WebMethod(operationName = \"SetMessageWaiting\", action = \"http://www.nortel.com/soa/oi/cct/AddressService/SetMessageWaiting\")\r\n public void setMessageWaiting(\r\n @WebParam(partName = \"parameters\", name = \"SetMessageWaitingRequest\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\")\r\n com.nortel.soa.oi.cct.types.addressservice.SetMessageWaitingRequest parameters\r\n ) throws SetMessageWaitingException, SessionNotCreatedException;\r\n\r\n @WebResult(name = \"IsMessageWaitingResponse\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\", partName = \"response\")\r\n @WebMethod(operationName = \"IsMessageWaiting\", action = \"http://www.nortel.com/soa/oi/cct/AddressService/IsMessageWaiting\")\r\n public com.nortel.soa.oi.cct.types.addressservice.IsMessageWaitingResponse isMessageWaiting(\r\n @WebParam(partName = \"parameters\", name = \"IsMessageWaitingRequest\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\")\r\n com.nortel.soa.oi.cct.types.addressservice.AddressRequest parameters\r\n ) throws IsMessageWaitingException, SessionNotCreatedException;\r\n}", "@WebService(targetNamespace = \"http://ws.iac.spb.ru/ClassifierZip\", name = \"ClassifierZip\")\n@XmlSeeAlso({ObjectFactory.class, iac.cud.infosweb.ws.classif.common.ObjectFactory.class})\npublic interface ClassifierZip {\n\n @WebResult(name = \"return\", targetNamespace = \"\")\n @RequestWrapper(localName = \"getClassifierByClassifierNameCUD\", targetNamespace = \"http://ws.iac.spb.ru/ClassifierZip\", className = \"ru.spb.iac.ws.classifierzip.GetClassifierByClassifierName\")\n @WebMethod\n @ResponseWrapper(localName = \"getClassifierByClassifierNameResponseCUD\", targetNamespace = \"http://ws.iac.spb.ru/ClassifierZip\", className = \"ru.spb.iac.ws.classifierzip.GetClassifierByClassifierNameResponse\")\n public iac.cud.infosweb.ws.classifierzip.ResponseElement52 getClassifierByClassifierName(\n @WebParam(name = \"login\", targetNamespace = \"\")\n java.lang.String login,\n @WebParam(name = \"pass\", targetNamespace = \"\")\n java.lang.String pass,\n @WebParam(name = \"Fullname\", targetNamespace = \"\")\n java.lang.String fullname,\n @WebParam(name = \"ActualDoc\", targetNamespace = \"\")\n int actualDoc\n );\n\n @WebResult(name = \"return\", targetNamespace = \"\")\n @RequestWrapper(localName = \"getClassifierZipListByClassifierNameCUD\", targetNamespace = \"http://ws.iac.spb.ru/ClassifierZip\", className = \"ru.spb.iac.ws.classifierzip.GetClassifierZipListByClassifierName\")\n @WebMethod\n @ResponseWrapper(localName = \"getClassifierZipListByClassifierNameResponseCUD\", targetNamespace = \"http://ws.iac.spb.ru/ClassifierZip\", className = \"ru.spb.iac.ws.classifierzip.GetClassifierZipListByClassifierNameResponse\")\n public iac.cud.infosweb.ws.classifierzip.ResponseElement54 getClassifierZipListByClassifierName(\n @WebParam(name = \"login\", targetNamespace = \"\")\n java.lang.String login,\n @WebParam(name = \"pass\", targetNamespace = \"\")\n java.lang.String pass,\n @WebParam(name = \"Fullname\", targetNamespace = \"\")\n java.lang.String fullname\n );\n\n @WebResult(name = \"return\", targetNamespace = \"\")\n @RequestWrapper(localName = \"getClassifierZipListByClassifierNumberCUD\", targetNamespace = \"http://ws.iac.spb.ru/ClassifierZip\", className = \"ru.spb.iac.ws.classifierzip.GetClassifierZipListByClassifierNumber\")\n @WebMethod\n @ResponseWrapper(localName = \"getClassifierZipListByClassifierNumberResponseCUD\", targetNamespace = \"http://ws.iac.spb.ru/ClassifierZip\", className = \"ru.spb.iac.ws.classifierzip.GetClassifierZipListByClassifierNumberResponse\")\n public iac.cud.infosweb.ws.classifierzip.ResponseElement53 getClassifierZipListByClassifierNumber(\n @WebParam(name = \"login\", targetNamespace = \"\")\n java.lang.String login,\n @WebParam(name = \"pass\", targetNamespace = \"\")\n java.lang.String pass,\n @WebParam(name = \"RegNumber\", targetNamespace = \"\")\n int regNumber\n );\n\n @WebResult(name = \"return\", targetNamespace = \"\")\n @RequestWrapper(localName = \"getClassifierByClassifierNumberCUD\", targetNamespace = \"http://ws.iac.spb.ru/ClassifierZip\", className = \"ru.spb.iac.ws.classifierzip.GetClassifierByClassifierNumber\")\n @WebMethod\n @ResponseWrapper(localName = \"getClassifierByClassifierNumberResponseCUD\", targetNamespace = \"http://ws.iac.spb.ru/ClassifierZip\", className = \"ru.spb.iac.ws.classifierzip.GetClassifierByClassifierNumberResponse\")\n public iac.cud.infosweb.ws.classifierzip.ResponseElement51 getClassifierByClassifierNumber(\n @WebParam(name = \"login\", targetNamespace = \"\")\n java.lang.String login,\n @WebParam(name = \"pass\", targetNamespace = \"\")\n java.lang.String pass,\n @WebParam(name = \"RegNumber\", targetNamespace = \"\")\n int regNumber,\n @WebParam(name = \"ActualDoc\", targetNamespace = \"\")\n int actualDoc\n );\n}", "@WebService(targetNamespace = \"http://www.polytech.unice.fr/si/4a/isa/tcf/cart\", name = \"CartWebService\")\n@XmlSeeAlso({ObjectFactory.class})\npublic interface CartWebService {\n\n @WebMethod\n @RequestWrapper(localName = \"validate\", targetNamespace = \"http://www.polytech.unice.fr/si/4a/isa/tcf/cart\", className = \"stubs.cart.Validate\")\n @ResponseWrapper(localName = \"validateResponse\", targetNamespace = \"http://www.polytech.unice.fr/si/4a/isa/tcf/cart\", className = \"stubs.cart.ValidateResponse\")\n @WebResult(name = \"order_id\", targetNamespace = \"\")\n public java.lang.String validate(\n @WebParam(name = \"customer_name\", targetNamespace = \"\")\n java.lang.String customerName\n ) throws PaymentException_Exception, UnknownCustomerException_Exception, EmptyCartException_Exception;\n\n @WebMethod\n @RequestWrapper(localName = \"removeItemToCustomerCart\", targetNamespace = \"http://www.polytech.unice.fr/si/4a/isa/tcf/cart\", className = \"stubs.cart.RemoveItemToCustomerCart\")\n @ResponseWrapper(localName = \"removeItemToCustomerCartResponse\", targetNamespace = \"http://www.polytech.unice.fr/si/4a/isa/tcf/cart\", className = \"stubs.cart.RemoveItemToCustomerCartResponse\")\n public void removeItemToCustomerCart(\n @WebParam(name = \"customer_name\", targetNamespace = \"\")\n java.lang.String customerName,\n @WebParam(name = \"item\", targetNamespace = \"\")\n stubs.cart.Item item\n ) throws UnknownCustomerException_Exception;\n\n @WebMethod\n @RequestWrapper(localName = \"addItemToCustomerCart\", targetNamespace = \"http://www.polytech.unice.fr/si/4a/isa/tcf/cart\", className = \"stubs.cart.AddItemToCustomerCart\")\n @ResponseWrapper(localName = \"addItemToCustomerCartResponse\", targetNamespace = \"http://www.polytech.unice.fr/si/4a/isa/tcf/cart\", className = \"stubs.cart.AddItemToCustomerCartResponse\")\n public void addItemToCustomerCart(\n @WebParam(name = \"customer_name\", targetNamespace = \"\")\n java.lang.String customerName,\n @WebParam(name = \"item\", targetNamespace = \"\")\n stubs.cart.Item item\n ) throws UnknownCustomerException_Exception;\n\n @WebMethod\n @RequestWrapper(localName = \"getCustomerCartContents\", targetNamespace = \"http://www.polytech.unice.fr/si/4a/isa/tcf/cart\", className = \"stubs.cart.GetCustomerCartContents\")\n @ResponseWrapper(localName = \"getCustomerCartContentsResponse\", targetNamespace = \"http://www.polytech.unice.fr/si/4a/isa/tcf/cart\", className = \"stubs.cart.GetCustomerCartContentsResponse\")\n @WebResult(name = \"cart_contents\", targetNamespace = \"\")\n public java.util.List<stubs.cart.Item> getCustomerCartContents(\n @WebParam(name = \"customer_name\", targetNamespace = \"\")\n java.lang.String customerName\n ) throws UnknownCustomerException_Exception;\n}", "@WebService(targetNamespace = \"http://www.z2systems.com/schemas/neonws/\", name = \"MembershipService\")\n@XmlSeeAlso({com.z2systems.schemas.membership.ObjectFactory.class, com.z2systems.schemas.common.ObjectFactory.class, com.z2systems.schemas.account.ObjectFactory.class, com.z2systems.schemas.donation.ObjectFactory.class, com.z2systems.schemas.store.ObjectFactory.class, ObjectFactory.class, com.z2systems.schemas.event.ObjectFactory.class})\n@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)\npublic interface MembershipService {\n\n @WebResult(name = \"listMembershipsResponse\", targetNamespace = \"http://www.z2systems.com/schemas/neonws/\", partName = \"response\")\n @WebMethod\n public com.z2systems.schemas.membership.ListMembershipsResponse listMemberships(\n @WebParam(partName = \"request\", name = \"listMembershipsRequest\", targetNamespace = \"http://www.z2systems.com/schemas/neonws/\")\n com.z2systems.schemas.membership.ListMembershipsRequest request\n );\n\n @WebResult(name = \"retrieveMembershipStatsResponse\", targetNamespace = \"http://www.z2systems.com/schemas/neonws/\", partName = \"response\")\n @WebMethod\n public com.z2systems.schemas.membership.RetrieveMembershipStatsResponse retrieveMembershipStats(\n @WebParam(partName = \"request\", name = \"retrieveMembershipStatsRequest\", targetNamespace = \"http://www.z2systems.com/schemas/neonws/\")\n com.z2systems.schemas.membership.RetrieveMembershipStatsRequest request\n );\n\n @WebResult(name = \"listMembershipHistoryResponse\", targetNamespace = \"http://www.z2systems.com/schemas/neonws/\", partName = \"response\")\n @WebMethod\n public com.z2systems.schemas.membership.ListMembershipHistoryResponse listMembershipHistory(\n @WebParam(partName = \"request\", name = \"listMembershipHistoryRequest\", targetNamespace = \"http://www.z2systems.com/schemas/neonws/\")\n com.z2systems.schemas.membership.ListMembershipHistoryRequest request\n );\n\n @WebResult(name = \"listMembershipTermsResponse\", targetNamespace = \"http://www.z2systems.com/schemas/neonws/\", partName = \"response\")\n @WebMethod\n public com.z2systems.schemas.membership.ListMembershipTermsResponse listMembershipTerms(\n @WebParam(partName = \"request\", name = \"listMembershipTermsRequest\", targetNamespace = \"http://www.z2systems.com/schemas/neonws/\")\n com.z2systems.schemas.membership.ListMembershipTermsRequest request\n );\n\n @WebResult(name = \"addMembershipToAccountResponse\", targetNamespace = \"http://www.z2systems.com/schemas/neonws/\", partName = \"response\")\n @WebMethod\n public com.z2systems.schemas.membership.AddMembershipToAccountResponse addMembershipToAccount(\n @WebParam(partName = \"request\", name = \"addMembershipToAccountRequest\", targetNamespace = \"http://www.z2systems.com/schemas/neonws/\")\n com.z2systems.schemas.membership.AddMembershipToAccountRequest request\n );\n}", "@WebService(name = \"GodinezLunchPort\", targetNamespace = \"http://www.xmlns.udev.com/GodinezLunch/GL/wsdl/1.0/GodinezLunchWS\")\r\n@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)\r\n@XmlSeeAlso({\r\n ObjectFactory.class\r\n})\r\npublic interface GodinezLunchWS {\r\n\r\n\r\n /**\r\n * \r\n * @param calculateDistanceRequest\r\n * @return\r\n * returns com.mx.udev.godinez.web.types.CalculateDistanceResponse\r\n */\r\n @WebMethod(action = \"http://www.udev.com/GodinezLunchWS/calculateDistance\")\r\n @WebResult(name = \"calculateDistanceResponse\", targetNamespace = \"http://www.xmlns.udev.com/GodinezLunch/GL/datatypes/1.0\", partName = \"calculateDistanceResponse\")\r\n public CalculateDistanceResponse calculateDistance(\r\n @WebParam(name = \"calculateDistanceRequest\", targetNamespace = \"http://www.xmlns.udev.com/GodinezLunch/GL/datatypes/1.0\", partName = \"calculateDistanceRequest\")\r\n CalculateDistanceRequest calculateDistanceRequest);\r\n\r\n /**\r\n * \r\n * @param getNearbyPlacesRequest\r\n * @return\r\n * returns com.mx.udev.godinez.web.types.GetNearbyPlacesResponse\r\n */\r\n @WebMethod(action = \"http://www.udev.com/GodinezLunchWS/getNearbyPlaces\")\r\n @WebResult(name = \"getNearbyPlacesResponse\", targetNamespace = \"http://www.xmlns.udev.com/GodinezLunch/GL/datatypes/1.0\", partName = \"getNearbyPlacesResponse\")\r\n public GetNearbyPlacesResponse getNearbyPlaces(\r\n @WebParam(name = \"getNearbyPlacesRequest\", targetNamespace = \"http://www.xmlns.udev.com/GodinezLunch/GL/datatypes/1.0\", partName = \"getNearbyPlacesRequest\")\r\n GetNearbyPlacesRequest getNearbyPlacesRequest);\r\n\r\n /**\r\n * \r\n * @param getAllCategoriesRequest\r\n * @return\r\n * returns com.mx.udev.godinez.web.types.GetAllCategoriesResponse\r\n */\r\n @WebMethod(action = \"http://www.udev.com/GodinezLunchWS/getAllCategories\")\r\n @WebResult(name = \"getAllCategoriesResponse\", targetNamespace = \"http://www.xmlns.udev.com/GodinezLunch/GL/datatypes/1.0\", partName = \"getAllCategoriesResponse\")\r\n public GetAllCategoriesResponse getAllCategories(\r\n @WebParam(name = \"getAllCategoriesRequest\", targetNamespace = \"http://www.xmlns.udev.com/GodinezLunch/GL/datatypes/1.0\", partName = \"getAllCategoriesRequest\")\r\n GetAllCategoriesRequest getAllCategoriesRequest);\r\n\r\n /**\r\n * \r\n * @param getMyFavoritesRequest\r\n * @return\r\n * returns com.mx.udev.godinez.web.types.GetMyFavoritesResponse\r\n */\r\n @WebMethod(action = \"http://www.udev.com/GodinezLunchWS/getMyFavorites\")\r\n @WebResult(name = \"getMyFavoritesResponse\", targetNamespace = \"http://www.xmlns.udev.com/GodinezLunch/GL/datatypes/1.0\", partName = \"getMyFavoritesResponse\")\r\n public GetMyFavoritesResponse getMyFavorites(\r\n @WebParam(name = \"getMyFavoritesRequest\", targetNamespace = \"http://www.xmlns.udev.com/GodinezLunch/GL/datatypes/1.0\", partName = \"getMyFavoritesRequest\")\r\n GetMyFavoritesRequest getMyFavoritesRequest);\r\n\r\n}", "public interface AcSentEdiInterchangeDomesticCandidateRouteMessageServiceIF\n extends AcModelServiceIF\n{\n AcSentEdiInterchangeDomesticCandidateRouteMessage getSentEdiInterchangeDomesticCandidateRouteMessage(Integer sentEdiInterchangeId, Integer domesticCandidateRouteMessageId);\n AcSentEdiInterchangeDomesticCandidateRouteMessage getSentEdiInterchangeDomesticCandidateRouteMessage(AcSentEdiInterchangeDomesticCandidateRouteMessagePkIF pk);\n boolean sentEdiInterchangeDomesticCandidateRouteMessageExists(Integer sentEdiInterchangeId, Integer domesticCandidateRouteMessageId);\n boolean sentEdiInterchangeDomesticCandidateRouteMessageExists(AcSentEdiInterchangeDomesticCandidateRouteMessagePkIF pk);\n AcSentEdiInterchangeDomesticCandidateRouteMessage getSentEdiInterchangeDomesticCandidateRouteMessageByWebKey(String webKey);\n JwList<AcSentEdiInterchangeDomesticCandidateRouteMessage> getAll();\n JwList<AcSentEdiInterchangeDomesticCandidateRouteMessage> getAllAvailable();\n JwList<AcSentEdiInterchangeDomesticCandidateRouteMessage> getAllWhere(String whereClause, Integer rowLimit);\n void insert(AcSentEdiInterchangeDomesticCandidateRouteMessage sentEdiInterchangeDomesticCandidateRouteMessage);\n void update(AcSentEdiInterchangeDomesticCandidateRouteMessage sentEdiInterchangeDomesticCandidateRouteMessage);\n void delete(Integer sentEdiInterchangeId, Integer domesticCandidateRouteMessageId);\n}", "public interface OperationServiceService extends javax.xml.rpc.Service {\n public java.lang.String getOperationServiceAddress();\n\n public fr.uphf.service.OperationService getOperationService() throws javax.xml.rpc.ServiceException;\n\n public fr.uphf.service.OperationService getOperationService(java.net.URL portAddress) throws javax.xml.rpc.ServiceException;\n}", "@WebService(name = \"GetUser\", targetNamespace = \"http://Eshan/\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface GetUser {\n\n\n /**\n * \n * @param userID\n * @return\n * returns java.util.List<java.lang.Object>\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getUser\", targetNamespace = \"http://Eshan/\", className = \"eshan.GetUser_Type\")\n @ResponseWrapper(localName = \"getUserResponse\", targetNamespace = \"http://Eshan/\", className = \"eshan.GetUserResponse\")\n @Action(input = \"http://Eshan/GetUser/getUserRequest\", output = \"http://Eshan/GetUser/getUserResponse\")\n public List<Object> getUser(\n @WebParam(name = \"UserID\", targetNamespace = \"\")\n int userID);\n\n}", "@WebService(name = \"HandSoapWeb\", targetNamespace = \"http://soapmanagement.jpdc.se/\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface HandSoapWeb {\n\n\n /**\n * \n * @param arg0\n * @return\n * returns java.util.List<se.jpdc.soapmanagement.HandSoap>\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getSoapsNyBrand\", targetNamespace = \"http://soapmanagement.jpdc.se/\", className = \"se.jpdc.soapmanagement.GetSoapsNyBrand\")\n @ResponseWrapper(localName = \"getSoapsNyBrandResponse\", targetNamespace = \"http://soapmanagement.jpdc.se/\", className = \"se.jpdc.soapmanagement.GetSoapsNyBrandResponse\")\n public List<HandSoap> getSoapsNyBrand(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n String arg0);\n\n /**\n * \n * @param arg0\n */\n @WebMethod\n @RequestWrapper(localName = \"addNewSoap\", targetNamespace = \"http://soapmanagement.jpdc.se/\", className = \"se.jpdc.soapmanagement.AddNewSoap\")\n @ResponseWrapper(localName = \"addNewSoapResponse\", targetNamespace = \"http://soapmanagement.jpdc.se/\", className = \"se.jpdc.soapmanagement.AddNewSoapResponse\")\n public void addNewSoap(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n HandSoap arg0);\n\n /**\n * \n * @return\n * returns java.util.List<se.jpdc.soapmanagement.HandSoap>\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getAllSoaps\", targetNamespace = \"http://soapmanagement.jpdc.se/\", className = \"se.jpdc.soapmanagement.GetAllSoaps\")\n @ResponseWrapper(localName = \"getAllSoapsResponse\", targetNamespace = \"http://soapmanagement.jpdc.se/\", className = \"se.jpdc.soapmanagement.GetAllSoapsResponse\")\n public List<HandSoap> getAllSoaps();\n\n}", "@WebService(name = \"LDBSVServiceSoap\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\")\r\n@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)\r\n@XmlSeeAlso({\r\n com.thalesgroup.rtti._2017_10_01.ldbsv.types.ObjectFactory.class,\r\n com.thalesgroup.rtti._2017_10_01.ldbsv.ObjectFactory.class,\r\n com.thalesgroup.rtti._2015_05_14.ldbsv_ref.types.ObjectFactory.class,\r\n com.thalesgroup.rtti._2012_01_13.ldbsv.types.ObjectFactory.class,\r\n com.thalesgroup.rtti._2013_11_28.token.types.ObjectFactory.class,\r\n com.thalesgroup.rtti._2014_02_20.ldbsv.types.ObjectFactory.class,\r\n com.thalesgroup.rtti._2015_05_14.ldbsv_ref.ObjectFactory.class,\r\n com.thalesgroup.rtti._2015_11_27.ldbsv.commontypes.ObjectFactory.class,\r\n com.thalesgroup.rtti._2015_11_27.ldbsv.types.ObjectFactory.class,\r\n com.thalesgroup.rtti._2016_02_16.ldbsv.types.ObjectFactory.class,\r\n com.thalesgroup.rtti._2017_10_01.ldbsv.commontypes.ObjectFactory.class,\r\n com.thalesgroup.rtti._2007_10_10.ldb.commontypes.ObjectFactory.class\r\n})\r\npublic interface LDBSVServiceSoap {\r\n\r\n\r\n /**\r\n * \r\n * @param parameters\r\n * @return\r\n * returns com.thalesgroup.rtti._2017_10_01.ldbsv.GetBoardResponseType\r\n */\r\n @WebMethod(operationName = \"GetArrivalDepartureBoardByCRS\", action = \"http://thalesgroup.com/RTTI/2012-01-13/ldbsv/GetArrivalDepartureBoardByCRS\")\r\n @WebResult(name = \"GetArrivalDepartureBoardByCRSResponse\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n public GetBoardResponseType getArrivalDepartureBoardByCRS(\r\n @WebParam(name = \"GetArrivalDepartureBoardByCRSRequest\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n GetBoardByCRSParams parameters);\r\n\r\n /**\r\n * \r\n * @param parameters\r\n * @return\r\n * returns com.thalesgroup.rtti._2017_10_01.ldbsv.GetBoardResponseType\r\n */\r\n @WebMethod(operationName = \"GetArrivalDepartureBoardByTIPLOC\", action = \"http://thalesgroup.com/RTTI/2012-01-13/ldbsv/GetArrivalDepartureBoardByTIPLOC\")\r\n @WebResult(name = \"GetArrivalDepartureBoardByTIPLOCResponse\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n public GetBoardResponseType getArrivalDepartureBoardByTIPLOC(\r\n @WebParam(name = \"GetArrivalDepartureBoardByTIPLOCRequest\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n GetBoardByTIPLOCParams parameters);\r\n\r\n /**\r\n * \r\n * @param parameters\r\n * @return\r\n * returns com.thalesgroup.rtti._2017_10_01.ldbsv.GetBoardResponseType\r\n */\r\n @WebMethod(operationName = \"GetArrivalBoardByCRS\", action = \"http://thalesgroup.com/RTTI/2012-01-13/ldbsv/GetArrivalBoardByCRS\")\r\n @WebResult(name = \"GetArrivalBoardByCRSResponse\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n public GetBoardResponseType getArrivalBoardByCRS(\r\n @WebParam(name = \"GetArrivalBoardByCRSRequest\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n GetBoardByCRSParams parameters);\r\n\r\n /**\r\n * \r\n * @param parameters\r\n * @return\r\n * returns com.thalesgroup.rtti._2017_10_01.ldbsv.GetBoardResponseType\r\n */\r\n @WebMethod(operationName = \"GetArrivalBoardByTIPLOC\", action = \"http://thalesgroup.com/RTTI/2012-01-13/ldbsv/GetArrivalBoardByTIPLOC\")\r\n @WebResult(name = \"GetArrivalBoardByTIPLOCResponse\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n public GetBoardResponseType getArrivalBoardByTIPLOC(\r\n @WebParam(name = \"GetArrivalBoardByTIPLOCRequest\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n GetBoardByTIPLOCParams parameters);\r\n\r\n /**\r\n * \r\n * @param parameters\r\n * @return\r\n * returns com.thalesgroup.rtti._2017_10_01.ldbsv.GetBoardResponseType\r\n */\r\n @WebMethod(operationName = \"GetDepartureBoardByCRS\", action = \"http://thalesgroup.com/RTTI/2012-01-13/ldbsv/GetDepartureBoardByCRS\")\r\n @WebResult(name = \"GetDepartureBoardByCRSResponse\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n public GetBoardResponseType getDepartureBoardByCRS(\r\n @WebParam(name = \"GetDepartureBoardByCRSRequest\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n GetBoardByCRSParams parameters);\r\n\r\n /**\r\n * \r\n * @param parameters\r\n * @return\r\n * returns com.thalesgroup.rtti._2017_10_01.ldbsv.GetBoardResponseType\r\n */\r\n @WebMethod(operationName = \"GetDepartureBoardByTIPLOC\", action = \"http://thalesgroup.com/RTTI/2012-01-13/ldbsv/GetDepartureBoardByTIPLOC\")\r\n @WebResult(name = \"GetDepartureBoardByTIPLOCResponse\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n public GetBoardResponseType getDepartureBoardByTIPLOC(\r\n @WebParam(name = \"GetDepartureBoardByTIPLOCRequest\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n GetBoardByTIPLOCParams parameters);\r\n\r\n /**\r\n * \r\n * @param parameters\r\n * @return\r\n * returns com.thalesgroup.rtti._2017_10_01.ldbsv.GetServiceDetailsResponseType\r\n */\r\n @WebMethod(operationName = \"GetServiceDetailsByRID\", action = \"http://thalesgroup.com/RTTI/2012-01-13/ldbsv/GetServiceDetailsByRID\")\r\n @WebResult(name = \"GetServiceDetailsByRIDResponse\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n public GetServiceDetailsResponseType getServiceDetailsByRID(\r\n @WebParam(name = \"GetServiceDetailsByRIDRequest\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n GetServiceDetailsByRIDParams parameters);\r\n\r\n /**\r\n * \r\n * @param parameters\r\n * @return\r\n * returns com.thalesgroup.rtti._2017_10_01.ldbsv.QueryServicesResponseType\r\n */\r\n @WebMethod(operationName = \"QueryServices\", action = \"http://thalesgroup.com/RTTI/2012-01-13/ldbsv/QueryServices\")\r\n @WebResult(name = \"QueryServicesResponse\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n public QueryServicesResponseType queryServices(\r\n @WebParam(name = \"QueryServicesRequest\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n QueryServicesRequestParams parameters);\r\n\r\n /**\r\n * \r\n * @param parameters\r\n * @return\r\n * returns com.thalesgroup.rtti._2017_10_01.ldbsv.GetReasonCodeResponseType\r\n */\r\n @WebMethod(operationName = \"GetReasonCode\", action = \"http://thalesgroup.com/RTTI/2012-01-13/ldbsv/GetReasonCode\")\r\n @WebResult(name = \"GetReasonCodeResponse\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n public GetReasonCodeResponseType getReasonCode(\r\n @WebParam(name = \"GetReasonCodeRequest\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n GetReasonCodeRequestParams parameters);\r\n\r\n /**\r\n * \r\n * @param parameters\r\n * @return\r\n * returns com.thalesgroup.rtti._2017_10_01.ldbsv.GetReasonCodeListResponseType\r\n */\r\n @WebMethod(operationName = \"GetReasonCodeList\", action = \"http://thalesgroup.com/RTTI/2012-01-13/ldbsv/GetReasonCodeList\")\r\n @WebResult(name = \"GetReasonCodeListResponse\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n public GetReasonCodeListResponseType getReasonCodeList(\r\n @WebParam(name = \"GetReasonCodeListRequest\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n VoidParams parameters);\r\n\r\n /**\r\n * \r\n * @param parameters\r\n * @return\r\n * returns com.thalesgroup.rtti._2017_10_01.ldbsv.GetDisruptionListResponseType\r\n */\r\n @WebMethod(operationName = \"GetDisruptionList\", action = \"http://thalesgroup.com/RTTI/2012-01-13/ldbsv/GetDisruptionList\")\r\n @WebResult(name = \"GetDisruptionListResponse\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n public GetDisruptionListResponseType getDisruptionList(\r\n @WebParam(name = \"GetDisruptionListRequest\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n GetDisruptionListRequestParams parameters);\r\n\r\n /**\r\n * \r\n * @param parameters\r\n * @return\r\n * returns com.thalesgroup.rtti._2017_10_01.ldbsv.GetSourceInstanceNamesResponseType\r\n */\r\n @WebMethod(operationName = \"GetSourceInstanceNames\", action = \"http://thalesgroup.com/RTTI/2012-01-13/ldbsv/GetSourceInstanceNames\")\r\n @WebResult(name = \"GetSourceInstanceNamesResponse\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n public GetSourceInstanceNamesResponseType getSourceInstanceNames(\r\n @WebParam(name = \"GetSourceInstanceNamesRequest\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n VoidParams parameters);\r\n\r\n /**\r\n * \r\n * @param parameters\r\n * @return\r\n * returns com.thalesgroup.rtti._2017_10_01.ldbsv.GetHistoricDepartureBoardResponseType\r\n */\r\n @WebMethod(operationName = \"GetHistoricDepartureBoard\", action = \"http://thalesgroup.com/RTTI/2012-01-13/ldbsv/GetHistoricDepartureBoard\")\r\n @WebResult(name = \"GetHistoricDepartureBoardResponse\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n public GetHistoricDepartureBoardResponseType getHistoricDepartureBoard(\r\n @WebParam(name = \"GetHistoricDepartureBoardRequest\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n GetHistoricDepartureBoardRequestParams parameters);\r\n\r\n /**\r\n * \r\n * @param parameters\r\n * @return\r\n * returns com.thalesgroup.rtti._2017_10_01.ldbsv.GetHistoricServiceDetailsResponseType\r\n */\r\n @WebMethod(operationName = \"GetHistoricServiceDetails\", action = \"http://thalesgroup.com/RTTI/2012-01-13/ldbsv/GetHistoricServiceDetails\")\r\n @WebResult(name = \"GetHistoricServiceDetailsResponse\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n public GetHistoricServiceDetailsResponseType getHistoricServiceDetails(\r\n @WebParam(name = \"GetHistoricServiceDetailsRequest\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n GetHistoricServiceDetailsRequestParams parameters);\r\n\r\n /**\r\n * \r\n * @param parameters\r\n * @return\r\n * returns com.thalesgroup.rtti._2017_10_01.ldbsv.GetHistoricTimeLineResponseType\r\n */\r\n @WebMethod(operationName = \"GetHistoricTimeLine\", action = \"http://thalesgroup.com/RTTI/2012-01-13/ldbsv/GetHistoricTimeLine\")\r\n @WebResult(name = \"GetHistoricTimeLineResponse\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n public GetHistoricTimeLineResponseType getHistoricTimeLine(\r\n @WebParam(name = \"GetHistoricTimeLineRequest\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n GetHistoricTimeLineRequestParams parameters);\r\n\r\n /**\r\n * \r\n * @param parameters\r\n * @return\r\n * returns com.thalesgroup.rtti._2017_10_01.ldbsv.QueryHistoricServicesResponseType\r\n */\r\n @WebMethod(operationName = \"QueryHistoricServices\", action = \"http://thalesgroup.com/RTTI/2012-01-13/ldbsv/QueryHistoricServices\")\r\n @WebResult(name = \"QueryHistoricServicesResponse\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n public QueryHistoricServicesResponseType queryHistoricServices(\r\n @WebParam(name = \"QueryHistoricServicesRequest\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n QueryHistoricServicesRequestParams parameters);\r\n\r\n /**\r\n * \r\n * @param parameters\r\n * @return\r\n * returns com.thalesgroup.rtti._2017_10_01.ldbsv.GetStationBoardWithDetailsResponseType\r\n */\r\n @WebMethod(operationName = \"GetArrDepBoardWithDetails\", action = \"http://thalesgroup.com/RTTI/2015-05-14/ldbsv/GetArrDepBoardWithDetails\")\r\n @WebResult(name = \"GetArrDepBoardWithDetailsResponse\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n public GetStationBoardWithDetailsResponseType getArrDepBoardWithDetails(\r\n @WebParam(name = \"GetArrDepBoardWithDetailsRequest\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n GetBoardByCRSParams parameters);\r\n\r\n /**\r\n * \r\n * @param parameters\r\n * @return\r\n * returns com.thalesgroup.rtti._2017_10_01.ldbsv.GetStationBoardWithDetailsResponseType\r\n */\r\n @WebMethod(operationName = \"GetArrBoardWithDetails\", action = \"http://thalesgroup.com/RTTI/2015-05-14/ldbsv/GetArrBoardWithDetails\")\r\n @WebResult(name = \"GetArrBoardWithDetailsResponse\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n public GetStationBoardWithDetailsResponseType getArrBoardWithDetails(\r\n @WebParam(name = \"GetArrBoardWithDetailsRequest\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n GetBoardByCRSParams parameters);\r\n\r\n /**\r\n * \r\n * @param parameters\r\n * @return\r\n * returns com.thalesgroup.rtti._2017_10_01.ldbsv.GetStationBoardWithDetailsResponseType\r\n */\r\n @WebMethod(operationName = \"GetDepBoardWithDetails\", action = \"http://thalesgroup.com/RTTI/2015-05-14/ldbsv/GetDepBoardWithDetails\")\r\n @WebResult(name = \"GetDepBoardWithDetailsResponse\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n public GetStationBoardWithDetailsResponseType getDepBoardWithDetails(\r\n @WebParam(name = \"GetDepBoardWithDetailsRequest\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n GetBoardByCRSParams parameters);\r\n\r\n /**\r\n * \r\n * @param parameters\r\n * @return\r\n * returns com.thalesgroup.rtti._2017_10_01.ldbsv.DeparturesBoardResponseType\r\n */\r\n @WebMethod(operationName = \"GetNextDepartures\", action = \"http://thalesgroup.com/RTTI/2015-05-14/ldbsv/GetNextDepartures\")\r\n @WebResult(name = \"GetNextDeparturesResponse\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n public DeparturesBoardResponseType getNextDepartures(\r\n @WebParam(name = \"GetNextDeparturesRequest\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n GetDeparturesParams parameters);\r\n\r\n /**\r\n * \r\n * @param parameters\r\n * @return\r\n * returns com.thalesgroup.rtti._2017_10_01.ldbsv.DeparturesBoardResponseType\r\n */\r\n @WebMethod(operationName = \"GetFastestDepartures\", action = \"http://thalesgroup.com/RTTI/2015-05-14/ldbsv/GetFastestDepartures\")\r\n @WebResult(name = \"GetFastestDeparturesResponse\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n public DeparturesBoardResponseType getFastestDepartures(\r\n @WebParam(name = \"GetFastestDeparturesRequest\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n GetDeparturesParams parameters);\r\n\r\n /**\r\n * \r\n * @param parameters\r\n * @return\r\n * returns com.thalesgroup.rtti._2017_10_01.ldbsv.DeparturesBoardWithDetailsResponseType\r\n */\r\n @WebMethod(operationName = \"GetNextDeparturesWithDetails\", action = \"http://thalesgroup.com/RTTI/2015-05-14/ldbsv/GetNextDeparturesWithDetails\")\r\n @WebResult(name = \"GetNextDeparturesWithDetailsResponse\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n public DeparturesBoardWithDetailsResponseType getNextDeparturesWithDetails(\r\n @WebParam(name = \"GetNextDeparturesWithDetailsRequest\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n GetDeparturesParams parameters);\r\n\r\n /**\r\n * \r\n * @param parameters\r\n * @return\r\n * returns com.thalesgroup.rtti._2017_10_01.ldbsv.DeparturesBoardWithDetailsResponseType\r\n */\r\n @WebMethod(operationName = \"GetFastestDeparturesWithDetails\", action = \"http://thalesgroup.com/RTTI/2015-05-14/ldbsv/GetFastestDeparturesWithDetails\")\r\n @WebResult(name = \"GetFastestDeparturesWithDetailsResponse\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n public DeparturesBoardWithDetailsResponseType getFastestDeparturesWithDetails(\r\n @WebParam(name = \"GetFastestDeparturesWithDetailsRequest\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n GetDeparturesParams parameters);\r\n\r\n}", "@WebService(name = \"LegislationSearch\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface LegislationSearch {\n\n\n /**\n * \n * @param startIndex\n * @param pageSize\n * @param constraints\n * @return\n * returns gov.ga.legis.legislation.LegislationSearchResultsPaged\n * @throws LegislationSearchGetLegislationSearchResultsPagedInvalidPageSizeFaultFaultFaultMessage\n * @throws LegislationSearchGetLegislationSearchResultsPagedInvalidSearchConstraintsFaultFaultFaultMessage\n */\n @WebMethod(operationName = \"GetLegislationSearchResultsPaged\", action = \"http://www.legis.ga.gov/2009/01/01/services/LegislationSearch/GetLegislationSearchResultsPaged\")\n @WebResult(name = \"GetLegislationSearchResultsPagedResult\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\")\n @RequestWrapper(localName = \"GetLegislationSearchResultsPaged\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\", className = \"gov.ga.legis.legislation.GetLegislationSearchResultsPaged\")\n @ResponseWrapper(localName = \"GetLegislationSearchResultsPagedResponse\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\", className = \"gov.ga.legis.legislation.GetLegislationSearchResultsPagedResponse\")\n public LegislationSearchResultsPaged getLegislationSearchResultsPaged(\n @WebParam(name = \"Constraints\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\")\n LegislationSearchConstraints constraints,\n @WebParam(name = \"PageSize\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\")\n Integer pageSize,\n @WebParam(name = \"StartIndex\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\")\n Integer startIndex)\n throws LegislationSearchGetLegislationSearchResultsPagedInvalidPageSizeFaultFaultFaultMessage, LegislationSearchGetLegislationSearchResultsPagedInvalidSearchConstraintsFaultFaultFaultMessage\n ;\n\n /**\n * \n * @param sessionId\n * @return\n * returns gov.ga.legis.legislation.ArrayOfLegislationIndex\n */\n @WebMethod(operationName = \"GetLegislationForSession\", action = \"http://www.legis.ga.gov/2009/01/01/services/LegislationSearch/GetLegislationForSession\")\n @WebResult(name = \"GetLegislationForSessionResult\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\")\n @RequestWrapper(localName = \"GetLegislationForSession\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\", className = \"gov.ga.legis.legislation.GetLegislationForSession\")\n @ResponseWrapper(localName = \"GetLegislationForSessionResponse\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\", className = \"gov.ga.legis.legislation.GetLegislationForSessionResponse\")\n public ArrayOfLegislationIndex getLegislationForSession(\n @WebParam(name = \"SessionId\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\")\n Integer sessionId);\n\n /**\n * \n * @param documentType\n * @param sessionId\n * @param rangeSize\n * @return\n * returns gov.ga.legis.legislation.ArrayOfLegislationIndexRangeSet\n */\n @WebMethod(operationName = \"GetLegislationRanges\", action = \"http://www.legis.ga.gov/2009/01/01/services/LegislationSearch/GetLegislationRanges\")\n @WebResult(name = \"GetLegislationRangesResult\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\")\n @RequestWrapper(localName = \"GetLegislationRanges\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\", className = \"gov.ga.legis.legislation.GetLegislationRanges\")\n @ResponseWrapper(localName = \"GetLegislationRangesResponse\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\", className = \"gov.ga.legis.legislation.GetLegislationRangesResponse\")\n public ArrayOfLegislationIndexRangeSet getLegislationRanges(\n @WebParam(name = \"SessionId\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\")\n Integer sessionId,\n @WebParam(name = \"DocumentType\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\")\n DocumentType documentType,\n @WebParam(name = \"RangeSize\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\")\n Integer rangeSize);\n\n /**\n * \n * @param range\n * @return\n * returns gov.ga.legis.legislation.LegislationIndexRange\n */\n @WebMethod(operationName = \"GetLegislationRange\", action = \"http://www.legis.ga.gov/2009/01/01/services/LegislationSearch/GetLegislationRange\")\n @WebResult(name = \"GetLegislationRangeResult\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\")\n @RequestWrapper(localName = \"GetLegislationRange\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\", className = \"gov.ga.legis.legislation.GetLegislationRange\")\n @ResponseWrapper(localName = \"GetLegislationRangeResponse\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\", className = \"gov.ga.legis.legislation.GetLegislationRangeResponse\")\n public LegislationIndexRange getLegislationRange(\n @WebParam(name = \"Range\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\")\n LegislationIndexRangeSet range);\n\n /**\n * \n * @param legislationId\n * @return\n * returns gov.ga.legis.legislation.LegislationDetail\n */\n @WebMethod(operationName = \"GetLegislationDetail\", action = \"http://www.legis.ga.gov/2009/01/01/services/LegislationSearch/GetLegislationDetail\")\n @WebResult(name = \"GetLegislationDetailResult\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\")\n @RequestWrapper(localName = \"GetLegislationDetail\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\", className = \"gov.ga.legis.legislation.GetLegislationDetail\")\n @ResponseWrapper(localName = \"GetLegislationDetailResponse\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\", className = \"gov.ga.legis.legislation.GetLegislationDetailResponse\")\n public LegislationDetail getLegislationDetail(\n @WebParam(name = \"LegislationId\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\")\n Integer legislationId);\n\n /**\n * \n * @param number\n * @param documentType\n * @param sessionId\n * @return\n * returns gov.ga.legis.legislation.LegislationDetail\n */\n @WebMethod(operationName = \"GetLegislationDetailByDescription\", action = \"http://www.legis.ga.gov/2009/01/01/services/LegislationSearch/GetLegislationDetailByDescription\")\n @WebResult(name = \"GetLegislationDetailByDescriptionResult\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\")\n @RequestWrapper(localName = \"GetLegislationDetailByDescription\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\", className = \"gov.ga.legis.legislation.GetLegislationDetailByDescription\")\n @ResponseWrapper(localName = \"GetLegislationDetailByDescriptionResponse\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\", className = \"gov.ga.legis.legislation.GetLegislationDetailByDescriptionResponse\")\n public LegislationDetail getLegislationDetailByDescription(\n @WebParam(name = \"DocumentType\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\")\n DocumentType documentType,\n @WebParam(name = \"Number\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\")\n Integer number,\n @WebParam(name = \"SessionId\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\")\n Integer sessionId);\n\n /**\n * \n * @return\n * returns gov.ga.legis.legislation.ArrayOfSubject\n */\n @WebMethod(operationName = \"GetTitles\", action = \"http://www.legis.ga.gov/2009/01/01/services/LegislationSearch/GetTitles\")\n @WebResult(name = \"GetTitlesResult\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\")\n @RequestWrapper(localName = \"GetTitles\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\", className = \"gov.ga.legis.legislation.GetTitles\")\n @ResponseWrapper(localName = \"GetTitlesResponse\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\", className = \"gov.ga.legis.legislation.GetTitlesResponse\")\n public ArrayOfSubject getTitles();\n\n}", "@WebService(name = \"CajaUnificadaWeb\", targetNamespace = \"http://ws.cajaunificada.imperial.cl/cajaunificada\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface CajaUnificadaWeb {\n\n\n /**\n * \n * @param profileCode\n * @param stationName\n * @param userCode\n * @return\n * returns cl.imperial.cajaunificada.ws.StartupResult\n * @throws CajaUnificadaWebException\n */\n @WebMethod\n @WebResult(name = \"startupResult\", targetNamespace = \"http://ws.cajaunificada.imperial.cl/cajaunificada\")\n @RequestWrapper(localName = \"startup\", targetNamespace = \"http://ws.cajaunificada.imperial.cl/cajaunificada\", className = \"cl.imperial.cajaunificada.ws.Startup\")\n @ResponseWrapper(localName = \"startupResponse\", targetNamespace = \"http://ws.cajaunificada.imperial.cl/cajaunificada\", className = \"cl.imperial.cajaunificada.ws.StartupResponse\")\n @Action(input = \"http://ws.cajaunificada.imperial.cl/cajaunificada/CajaUnificadaWeb/startupRequest\", output = \"http://ws.cajaunificada.imperial.cl/cajaunificada/CajaUnificadaWeb/startupResponse\", fault = {\n @FaultAction(className = CajaUnificadaWebException.class, value = \"http://ws.cajaunificada.imperial.cl/cajaunificada/CajaUnificadaWeb/startup/Fault/CajaUnificadaWebException\")\n })\n public StartupResult startup(\n @WebParam(name = \"userCode\", targetNamespace = \"http://ws.cajaunificada.imperial.cl/cajaunificada\")\n String userCode,\n @WebParam(name = \"profileCode\", targetNamespace = \"http://ws.cajaunificada.imperial.cl/cajaunificada\")\n BigDecimal profileCode,\n @WebParam(name = \"stationName\", targetNamespace = \"http://ws.cajaunificada.imperial.cl/cajaunificada\")\n String stationName)\n throws CajaUnificadaWebException\n ;\n\n /**\n * \n * @param profileCode\n * @param stationName\n * @param nroInterno\n * @param codEmp\n * @param userCode\n * @return\n * returns cl.imperial.cajaunificada.ws.ValeGetResult\n * @throws CajaUnificadaWebException\n */\n @WebMethod\n @WebResult(name = \"valeGetResult\", targetNamespace = \"http://ws.cajaunificada.imperial.cl/cajaunificada\")\n @RequestWrapper(localName = \"valeGet\", targetNamespace = \"http://ws.cajaunificada.imperial.cl/cajaunificada\", className = \"cl.imperial.cajaunificada.ws.ValeGet\")\n @ResponseWrapper(localName = \"valeGetResponse\", targetNamespace = \"http://ws.cajaunificada.imperial.cl/cajaunificada\", className = \"cl.imperial.cajaunificada.ws.ValeGetResponse\")\n @Action(input = \"http://ws.cajaunificada.imperial.cl/cajaunificada/CajaUnificadaWeb/valeGetRequest\", output = \"http://ws.cajaunificada.imperial.cl/cajaunificada/CajaUnificadaWeb/valeGetResponse\", fault = {\n @FaultAction(className = CajaUnificadaWebException.class, value = \"http://ws.cajaunificada.imperial.cl/cajaunificada/CajaUnificadaWeb/valeGet/Fault/CajaUnificadaWebException\")\n })\n public ValeGetResult valeGet(\n @WebParam(name = \"userCode\", targetNamespace = \"http://ws.cajaunificada.imperial.cl/cajaunificada\")\n String userCode,\n @WebParam(name = \"profileCode\", targetNamespace = \"http://ws.cajaunificada.imperial.cl/cajaunificada\")\n BigDecimal profileCode,\n @WebParam(name = \"stationName\", targetNamespace = \"http://ws.cajaunificada.imperial.cl/cajaunificada\")\n String stationName,\n @WebParam(name = \"nroInterno\", targetNamespace = \"http://ws.cajaunificada.imperial.cl/cajaunificada\")\n int nroInterno,\n @WebParam(name = \"codEmp\", targetNamespace = \"http://ws.cajaunificada.imperial.cl/cajaunificada\")\n String codEmp)\n throws CajaUnificadaWebException\n ;\n\n /**\n * \n * @param nroInterno\n * @return\n * returns cl.imperial.cajaunificada.ws.RegistraPagoResult\n * @throws CajaUnificadaWebException\n */\n @WebMethod\n @WebResult(name = \"registraPagoResult\", targetNamespace = \"http://ws.cajaunificada.imperial.cl/cajaunificada\")\n @RequestWrapper(localName = \"registraPago\", targetNamespace = \"http://ws.cajaunificada.imperial.cl/cajaunificada\", className = \"cl.imperial.cajaunificada.ws.RegistraPago\")\n @ResponseWrapper(localName = \"registraPagoResponse\", targetNamespace = \"http://ws.cajaunificada.imperial.cl/cajaunificada\", className = \"cl.imperial.cajaunificada.ws.RegistraPagoResponse\")\n @Action(input = \"http://ws.cajaunificada.imperial.cl/cajaunificada/CajaUnificadaWeb/registraPagoRequest\", output = \"http://ws.cajaunificada.imperial.cl/cajaunificada/CajaUnificadaWeb/registraPagoResponse\", fault = {\n @FaultAction(className = CajaUnificadaWebException.class, value = \"http://ws.cajaunificada.imperial.cl/cajaunificada/CajaUnificadaWeb/registraPago/Fault/CajaUnificadaWebException\")\n })\n public RegistraPagoResult registraPago(\n @WebParam(name = \"nroInterno\", targetNamespace = \"http://ws.cajaunificada.imperial.cl/cajaunificada\")\n int nroInterno)\n throws CajaUnificadaWebException\n ;\n\n}", "@WebService(name = \"EiccToKgdUniversalPortType\", targetNamespace = \"http://nationalbank.kz/ws/EiccToKgdUniversal/\")\n@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface EiccToKgdUniversalPortType {\n\n\n /**\n * \n * @param parameters\n * @return\n * returns ResponseMessage\n * @throws SendMessageException\n */\n @WebMethod(operationName = \"SendMessage\", action = \"http://10.8.255.50:1274/EiccToKgdUniversal/SendMessage\")\n @WebResult(name = \"sendMessageResponse\", targetNamespace = \"http://nationalbank.kz/ws/EiccToKgdUniversal/\", partName = \"parameters\")\n public ResponseMessage sendMessage(\n @WebParam(name = \"sendMessageRequest\", targetNamespace = \"http://nationalbank.kz/ws/EiccToKgdUniversal/\", partName = \"parameters\")\n RequestMessage parameters)\n throws SendMessageException\n ;\n\n}", "@WebService(name = \"UserService\", targetNamespace = \"http://services/\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface UserService {\n\n\n /**\n * \n * @param id\n * @return\n * returns services.Anagrafica\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getUserById\", targetNamespace = \"http://services/\", className = \"services.GetUserById\")\n @ResponseWrapper(localName = \"getUserByIdResponse\", targetNamespace = \"http://services/\", className = \"services.GetUserByIdResponse\")\n public Anagrafica getUserById(\n @WebParam(name = \"id\", targetNamespace = \"\")\n int id);\n\n /**\n * \n * @param id\n */\n @WebMethod\n @RequestWrapper(localName = \"deleteUser\", targetNamespace = \"http://services/\", className = \"services.DeleteUser\")\n @ResponseWrapper(localName = \"deleteUserResponse\", targetNamespace = \"http://services/\", className = \"services.DeleteUserResponse\")\n public void deleteUser(\n @WebParam(name = \"id\", targetNamespace = \"\")\n int id);\n\n /**\n * \n * @param anagrafica\n */\n @WebMethod\n @RequestWrapper(localName = \"updateUser\", targetNamespace = \"http://services/\", className = \"services.UpdateUser\")\n @ResponseWrapper(localName = \"updateUserResponse\", targetNamespace = \"http://services/\", className = \"services.UpdateUserResponse\")\n public void updateUser(\n @WebParam(name = \"anagrafica\", targetNamespace = \"http://services/\")\n Anagrafica anagrafica);\n\n /**\n * \n * @param cf\n * @param cognome\n * @param cellulare\n * @param nome\n * @param telefono\n * @param email\n */\n @WebMethod\n @RequestWrapper(localName = \"addUser\", targetNamespace = \"http://services/\", className = \"services.AddUser\")\n @ResponseWrapper(localName = \"addUserResponse\", targetNamespace = \"http://services/\", className = \"services.AddUserResponse\")\n public void addUser(\n @WebParam(name = \"nome\", targetNamespace = \"\")\n String nome,\n @WebParam(name = \"cognome\", targetNamespace = \"\")\n String cognome,\n @WebParam(name = \"cf\", targetNamespace = \"\")\n String cf,\n @WebParam(name = \"telefono\", targetNamespace = \"\")\n String telefono,\n @WebParam(name = \"cellulare\", targetNamespace = \"\")\n String cellulare,\n @WebParam(name = \"email\", targetNamespace = \"\")\n String email);\n\n /**\n * \n * @return\n * returns java.util.List<services.Anagrafica>\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"listUsers\", targetNamespace = \"http://services/\", className = \"services.ListUsers\")\n @ResponseWrapper(localName = \"listUsersResponse\", targetNamespace = \"http://services/\", className = \"services.ListUsersResponse\")\n public List<Anagrafica> listUsers();\n\n}", "@WebService(targetNamespace = \"http://www.pm.company.com/service/Pawel/\", name = \"Pawel\")\n@XmlSeeAlso({com.company.pm.schema.pawelschema.ObjectFactory.class})\n@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)\npublic interface Pawel {\n\n @WebResult(name = \"firstOperationResponse\", targetNamespace = \"http://www.pm.company.com/schema/PawelSchema\", partName = \"firstOperationResponse\")\n @WebMethod(operationName = \"FirstOperation\", action = \"http://www.pm.company.com/service/Pawel/FirstOperation\")\n public com.company.pm.schema.pawelschema.FirstOperationResponseType firstOperation(\n @WebParam(partName = \"firstOperationRequest\", name = \"firstOperationRequest\", targetNamespace = \"http://www.pm.company.com/schema/PawelSchema\")\n com.company.pm.schema.pawelschema.FirstOperationRequestType firstOperationRequest\n );\n}", "@WebService(name = \"DomesticRemittanceByPartnerService\", targetNamespace = \"http://www.quantiguous.com/services\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface DomesticRemittanceByPartnerService {\n\n\n /**\n * \n * @param beneficiaryAccountNo\n * @param remitterToBeneficiaryInfo\n * @param remitterAddress\n * @param remitterIFSC\n * @param partnerCode\n * @param transactionStatus\n * @param transferAmount\n * @param remitterName\n * @param beneficiaryAddress\n * @param uniqueResponseNo\n * @param version\n * @param requestReferenceNo\n * @param beneficiaryIFSC\n * @param debitAccountNo\n * @param uniqueRequestNo\n * @param beneficiaryName\n * @param customerID\n * @param beneficiaryContact\n * @param transferType\n * @param attemptNo\n * @param transferCurrencyCode\n * @param remitterContact\n * @param remitterAccountNo\n * @param lowBalanceAlert\n */\n @WebMethod(action = \"http://www.quantiguous.com/services/DomesticRemittanceByPartnerService/remit\")\n @RequestWrapper(localName = \"remit\", targetNamespace = \"http://www.quantiguous.com/services\", className = \"com.quantiguous.services.Remit\")\n @ResponseWrapper(localName = \"remitResponse\", targetNamespace = \"http://www.quantiguous.com/services\", className = \"com.quantiguous.services.RemitResponse\")\n public void remit(\n @WebParam(name = \"version\", targetNamespace = \"http://www.quantiguous.com/services\", mode = WebParam.Mode.INOUT)\n Holder<String> version,\n @WebParam(name = \"uniqueRequestNo\", targetNamespace = \"http://www.quantiguous.com/services\")\n String uniqueRequestNo,\n @WebParam(name = \"partnerCode\", targetNamespace = \"http://www.quantiguous.com/services\")\n String partnerCode,\n @WebParam(name = \"customerID\", targetNamespace = \"http://www.quantiguous.com/services\")\n String customerID,\n @WebParam(name = \"debitAccountNo\", targetNamespace = \"http://www.quantiguous.com/services\")\n String debitAccountNo,\n @WebParam(name = \"remitterAccountNo\", targetNamespace = \"http://www.quantiguous.com/services\")\n String remitterAccountNo,\n @WebParam(name = \"remitterIFSC\", targetNamespace = \"http://www.quantiguous.com/services\")\n String remitterIFSC,\n @WebParam(name = \"remitterName\", targetNamespace = \"http://www.quantiguous.com/services\")\n String remitterName,\n @WebParam(name = \"remitterAddress\", targetNamespace = \"http://www.quantiguous.com/services\")\n AddressType remitterAddress,\n @WebParam(name = \"remitterContact\", targetNamespace = \"http://www.quantiguous.com/services\")\n ContactType remitterContact,\n @WebParam(name = \"beneficiaryName\", targetNamespace = \"http://www.quantiguous.com/services\")\n String beneficiaryName,\n @WebParam(name = \"beneficiaryAddress\", targetNamespace = \"http://www.quantiguous.com/services\")\n AddressType beneficiaryAddress,\n @WebParam(name = \"beneficiaryContact\", targetNamespace = \"http://www.quantiguous.com/services\")\n ContactType beneficiaryContact,\n @WebParam(name = \"beneficiaryAccountNo\", targetNamespace = \"http://www.quantiguous.com/services\")\n String beneficiaryAccountNo,\n @WebParam(name = \"beneficiaryIFSC\", targetNamespace = \"http://www.quantiguous.com/services\")\n String beneficiaryIFSC,\n @WebParam(name = \"transferType\", targetNamespace = \"http://www.quantiguous.com/services\", mode = WebParam.Mode.INOUT)\n Holder<TransferTypeType> transferType,\n @WebParam(name = \"transferCurrencyCode\", targetNamespace = \"http://www.quantiguous.com/services\")\n CurrencyCodeType transferCurrencyCode,\n @WebParam(name = \"transferAmount\", targetNamespace = \"http://www.quantiguous.com/services\")\n BigDecimal transferAmount,\n @WebParam(name = \"remitterToBeneficiaryInfo\", targetNamespace = \"http://www.quantiguous.com/services\")\n String remitterToBeneficiaryInfo,\n @WebParam(name = \"uniqueResponseNo\", targetNamespace = \"http://www.quantiguous.com/services\", mode = WebParam.Mode.OUT)\n Holder<String> uniqueResponseNo,\n @WebParam(name = \"attemptNo\", targetNamespace = \"http://www.quantiguous.com/services\", mode = WebParam.Mode.OUT)\n Holder<BigInteger> attemptNo,\n @WebParam(name = \"requestReferenceNo\", targetNamespace = \"http://www.quantiguous.com/services\", mode = WebParam.Mode.OUT)\n Holder<String> requestReferenceNo,\n @WebParam(name = \"lowBalanceAlert\", targetNamespace = \"http://www.quantiguous.com/services\", mode = WebParam.Mode.OUT)\n Holder<Boolean> lowBalanceAlert,\n @WebParam(name = \"transactionStatus\", targetNamespace = \"http://www.quantiguous.com/services\", mode = WebParam.Mode.OUT)\n Holder<TransactionStatusType> transactionStatus);\n\n /**\n * \n * @param accountCurrencyCode\n * @param partnerCode\n * @param accountNo\n * @param accountBalanceAmount\n * @param customerID\n * @param version\n * @param lowBalanceAlert\n */\n @WebMethod(action = \"http://www.quantiguous.com/services/DomesticRemittanceByPartnerService/getBalance\")\n @RequestWrapper(localName = \"getBalance\", targetNamespace = \"http://www.quantiguous.com/services\", className = \"com.quantiguous.services.GetBalance\")\n @ResponseWrapper(localName = \"getBalanceResponse\", targetNamespace = \"http://www.quantiguous.com/services\", className = \"com.quantiguous.services.GetBalanceResponse\")\n public void getBalance(\n @WebParam(name = \"version\", targetNamespace = \"http://www.quantiguous.com/services\", mode = WebParam.Mode.INOUT)\n Holder<String> version,\n @WebParam(name = \"partnerCode\", targetNamespace = \"http://www.quantiguous.com/services\")\n String partnerCode,\n @WebParam(name = \"customerID\", targetNamespace = \"http://www.quantiguous.com/services\")\n String customerID,\n @WebParam(name = \"accountNo\", targetNamespace = \"http://www.quantiguous.com/services\")\n String accountNo,\n @WebParam(name = \"accountCurrencyCode\", targetNamespace = \"http://www.quantiguous.com/services\", mode = WebParam.Mode.OUT)\n Holder<CurrencyCodeType> accountCurrencyCode,\n @WebParam(name = \"accountBalanceAmount\", targetNamespace = \"http://www.quantiguous.com/services\", mode = WebParam.Mode.OUT)\n Holder<BigDecimal> accountBalanceAmount,\n @WebParam(name = \"lowBalanceAlert\", targetNamespace = \"http://www.quantiguous.com/services\", mode = WebParam.Mode.OUT)\n Holder<Boolean> lowBalanceAlert);\n\n /**\n * \n * @param reqTransferType\n * @param partnerCode\n * @param transactionStatus\n * @param transferAmount\n * @param transferType\n * @param transactionDate\n * @param version\n * @param transferCurrencyCode\n * @param requestReferenceNo\n */\n @WebMethod(action = \"http://www.quantiguous.com/services/DomesticRemittanceByPartnerService/getRemittanceStatus\")\n @RequestWrapper(localName = \"getRemittanceStatus\", targetNamespace = \"http://www.quantiguous.com/services\", className = \"com.quantiguous.services.GetRemittanceStatus\")\n @ResponseWrapper(localName = \"getRemittanceStatusResponse\", targetNamespace = \"http://www.quantiguous.com/services\", className = \"com.quantiguous.services.GetRemittanceStatusResponse\")\n public void getRemittanceStatus(\n @WebParam(name = \"version\", targetNamespace = \"http://www.quantiguous.com/services\", mode = WebParam.Mode.INOUT)\n Holder<String> version,\n @WebParam(name = \"partnerCode\", targetNamespace = \"http://www.quantiguous.com/services\")\n String partnerCode,\n @WebParam(name = \"requestReferenceNo\", targetNamespace = \"http://www.quantiguous.com/services\")\n String requestReferenceNo,\n @WebParam(name = \"transferType\", targetNamespace = \"http://www.quantiguous.com/services\", mode = WebParam.Mode.OUT)\n Holder<TransferTypeType> transferType,\n @WebParam(name = \"reqTransferType\", targetNamespace = \"http://www.quantiguous.com/services\", mode = WebParam.Mode.OUT)\n Holder<TransferTypeType> reqTransferType,\n @WebParam(name = \"transactionDate\", targetNamespace = \"http://www.quantiguous.com/services\", mode = WebParam.Mode.OUT)\n Holder<XMLGregorianCalendar> transactionDate,\n @WebParam(name = \"transferAmount\", targetNamespace = \"http://www.quantiguous.com/services\", mode = WebParam.Mode.OUT)\n Holder<BigDecimal> transferAmount,\n @WebParam(name = \"transferCurrencyCode\", targetNamespace = \"http://www.quantiguous.com/services\", mode = WebParam.Mode.OUT)\n Holder<CurrencyCodeType> transferCurrencyCode,\n @WebParam(name = \"transactionStatus\", targetNamespace = \"http://www.quantiguous.com/services\", mode = WebParam.Mode.OUT)\n Holder<TransactionStatusType> transactionStatus);\n\n /**\n * \n * @param numDebits\n * @param partnerCode\n * @param dateRange\n * @param accountNo\n * @param customerID\n * @param closingBalance\n * @param numTransactions\n * @param numCredits\n * @param version\n * @param openingBalance\n * @param transactionsArray\n */\n @WebMethod(action = \"http://www.quantiguous.com/services/DomesticRemittanceByPartnerService/getTransactions\")\n @RequestWrapper(localName = \"getTransactions\", targetNamespace = \"http://www.quantiguous.com/services\", className = \"com.quantiguous.services.GetTransactions\")\n @ResponseWrapper(localName = \"getTransactionsResponse\", targetNamespace = \"http://www.quantiguous.com/services\", className = \"com.quantiguous.services.GetTransactionsResponse\")\n public void getTransactions(\n @WebParam(name = \"version\", targetNamespace = \"http://www.quantiguous.com/services\", mode = WebParam.Mode.INOUT)\n Holder<String> version,\n @WebParam(name = \"partnerCode\", targetNamespace = \"http://www.quantiguous.com/services\")\n String partnerCode,\n @WebParam(name = \"customerID\", targetNamespace = \"http://www.quantiguous.com/services\")\n String customerID,\n @WebParam(name = \"accountNo\", targetNamespace = \"http://www.quantiguous.com/services\")\n String accountNo,\n @WebParam(name = \"dateRange\", targetNamespace = \"http://www.quantiguous.com/services\")\n DateRangeType dateRange,\n @WebParam(name = \"openingBalance\", targetNamespace = \"http://www.quantiguous.com/services\", mode = WebParam.Mode.OUT)\n Holder<BigDecimal> openingBalance,\n @WebParam(name = \"numDebits\", targetNamespace = \"http://www.quantiguous.com/services\", mode = WebParam.Mode.OUT)\n Holder<BigInteger> numDebits,\n @WebParam(name = \"numCredits\", targetNamespace = \"http://www.quantiguous.com/services\", mode = WebParam.Mode.OUT)\n Holder<BigInteger> numCredits,\n @WebParam(name = \"closingBalance\", targetNamespace = \"http://www.quantiguous.com/services\", mode = WebParam.Mode.OUT)\n Holder<BigDecimal> closingBalance,\n @WebParam(name = \"numTransactions\", targetNamespace = \"http://www.quantiguous.com/services\", mode = WebParam.Mode.OUT)\n Holder<BigInteger> numTransactions,\n @WebParam(name = \"transactionsArray\", targetNamespace = \"http://www.quantiguous.com/services\", mode = WebParam.Mode.OUT)\n Holder<TransactionsArrayType> transactionsArray);\n\n}", "@WebService(name = \"WebServiceEntry\", targetNamespace = \"http://ws.adapter.bsoft.com/\")\n@SOAPBinding(style = SOAPBinding.Style.RPC)\npublic interface WebServiceEntry {\n\n\t/**\n\t * \n\t * @param arg4\n\t * @param arg3\n\t * @param arg2\n\t * @param arg1\n\t * @param arg0\n\t * @return returns java.lang.String\n\t * @throws Exception_Exception\n\t */\n\t@WebMethod\n\t@WebResult(partName = \"return\")\n\tpublic String invoke(\n\t\t\t@WebParam(name = \"arg0\", partName = \"arg0\") String arg0,\n\t\t\t@WebParam(name = \"arg1\", partName = \"arg1\") String arg1,\n\t\t\t@WebParam(name = \"arg2\", partName = \"arg2\") String arg2,\n\t\t\t@WebParam(name = \"arg3\", partName = \"arg3\") String arg3,\n\t\t\t@WebParam(name = \"arg4\", partName = \"arg4\") StringArray arg4)\n\t\t\tthrows Exception_Exception;\n\n\t/**\n * \n */\n\t@WebMethod\n\tpublic void startWs();\n\n\t/**\n\t * \n\t * @param arg3\n\t * @param arg2\n\t * @param arg1\n\t * @param arg0\n\t * @return returns java.lang.String\n\t * @throws Exception_Exception\n\t */\n\t@WebMethod\n\t@WebResult(partName = \"return\")\n\tpublic String transportData(\n\t\t\t@WebParam(name = \"arg0\", partName = \"arg0\") String arg0,\n\t\t\t@WebParam(name = \"arg1\", partName = \"arg1\") String arg1,\n\t\t\t@WebParam(name = \"arg2\", partName = \"arg2\") int arg2,\n\t\t\t@WebParam(name = \"arg3\", partName = \"arg3\") String arg3)\n\t\t\tthrows Exception_Exception;\n\n}", "@WebService(targetNamespace = \"http://ven.ws.pms.dhcc.com/\", name = \"OrderStateWServiceInterface\")\r\n@XmlSeeAlso({ObjectFactory.class})\r\n@SOAPBinding(style = SOAPBinding.Style.RPC)\r\npublic interface OrderStateWServiceInterface {\r\n\r\n @WebResult(name = \"operateResult\", targetNamespace = \"http://ven.ws.pms.dhcc.com/\", partName = \"operateResult\")\r\n @WebMethod\r\n public OperateResult deliver(\r\n @WebParam(partName = \"deliveritms\", name = \"deliveritms\")\r\n VenDeliveritmArray deliveritms\r\n );\r\n\r\n @WebResult(name = \"operateResult\", targetNamespace = \"http://ven.ws.pms.dhcc.com/\", partName = \"operateResult\")\r\n @WebMethod\r\n public OperateResult getVenInc(\r\n @WebParam(partName = \"venIncWeb\", name = \"venIncWeb\")\r\n VenIncWeb venIncWeb\r\n );\r\n\r\n @WebResult(name = \"orderWebVos\", targetNamespace = \"http://ven.ws.pms.dhcc.com/\", partName = \"orderWebVos\")\r\n @WebMethod\r\n public OrderWebVoArray listOrderWS(\r\n @WebParam(partName = \"passWord\", name = \"passWord\")\r\n java.lang.String passWord,\r\n @WebParam(partName = \"userName\", name = \"userName\")\r\n java.lang.String userName\r\n );\r\n\r\n @WebResult(name = \"return\", targetNamespace = \"http://ven.ws.pms.dhcc.com/\", partName = \"return\")\r\n @WebMethod\r\n public OperateResult recievedMsg(\r\n @WebParam(partName = \"orderId\", name = \"orderId\")\r\n long orderId\r\n );\r\n}", "@WebService(targetNamespace = \"urn:hl7-org:v3\", name = \"HL7MessageServerService\")\n@XmlSeeAlso({ObjectFactory.class})\npublic interface HL7MessageServerService {\n\n @WebMethod(operationName = \"HIPMessageServer\", action = \"HIPMessageServer\")\n @RequestWrapper(localName = \"HIPMessageServer\", targetNamespace = \"urn:hl7-org:v3\", className = \"org.hl7.v3.HIPMessageServer\")\n @ResponseWrapper(localName = \"HIPMessageServerResponse\", targetNamespace = \"urn:hl7-org:v3\", className = \"org.hl7.v3.HIPMessageServerResponse\")\n @WebResult(name = \"return\", targetNamespace = \"\")\n public java.lang.String hipMessageServer(\n @WebParam(name = \"action\", targetNamespace = \"urn:hl7-org:v3\")\n java.lang.String action,\n @WebParam(name = \"message\", targetNamespace = \"urn:hl7-org:v3\")\n java.lang.String message\n );\n}", "@WebService(name = \"WebServiceSoap\", targetNamespace = \"http://tempuri.org/\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface WebServiceSoap {\n\n\n /**\n * \n * @param password\n * @param login\n * @return\n * returns java.lang.String\n */\n @WebMethod(operationName = \"Login\", action = \"http://tempuri.org/Login\")\n @WebResult(name = \"LoginResult\", targetNamespace = \"http://tempuri.org/\")\n @RequestWrapper(localName = \"Login\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.Login\")\n @ResponseWrapper(localName = \"LoginResponse\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.LoginResponse\")\n public String login(\n @WebParam(name = \"login\", targetNamespace = \"http://tempuri.org/\")\n String login,\n @WebParam(name = \"password\", targetNamespace = \"http://tempuri.org/\")\n String password);\n\n /**\n * \n * @param password\n * @param login\n * @return\n * returns java.lang.String\n */\n @WebMethod(operationName = \"LoginEx\", action = \"http://tempuri.org/LoginEx\")\n @WebResult(name = \"LoginExResult\", targetNamespace = \"http://tempuri.org/\")\n @RequestWrapper(localName = \"LoginEx\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.LoginEx\")\n @ResponseWrapper(localName = \"LoginExResponse\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.LoginExResponse\")\n public String loginEx(\n @WebParam(name = \"login\", targetNamespace = \"http://tempuri.org/\")\n String login,\n @WebParam(name = \"password\", targetNamespace = \"http://tempuri.org/\")\n String password);\n\n /**\n * \n * @param value\n * @return\n * returns java.lang.String\n */\n @WebMethod(operationName = \"LoginByCookies\", action = \"http://tempuri.org/LoginByCookies\")\n @WebResult(name = \"LoginByCookiesResult\", targetNamespace = \"http://tempuri.org/\")\n @RequestWrapper(localName = \"LoginByCookies\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.LoginByCookies\")\n @ResponseWrapper(localName = \"LoginByCookiesResponse\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.LoginByCookiesResponse\")\n public String loginByCookies(\n @WebParam(name = \"value\", targetNamespace = \"http://tempuri.org/\")\n String value);\n\n /**\n * \n */\n @WebMethod(operationName = \"SignOut\", action = \"http://tempuri.org/SignOut\")\n @RequestWrapper(localName = \"SignOut\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.SignOut\")\n @ResponseWrapper(localName = \"SignOutResponse\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.SignOutResponse\")\n public void signOut();\n\n /**\n * \n * @return\n * returns boolean\n */\n @WebMethod(operationName = \"IsAuthenticated\", action = \"http://tempuri.org/IsAuthenticated\")\n @WebResult(name = \"IsAuthenticatedResult\", targetNamespace = \"http://tempuri.org/\")\n @RequestWrapper(localName = \"IsAuthenticated\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.IsAuthenticated\")\n @ResponseWrapper(localName = \"IsAuthenticatedResponse\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.IsAuthenticatedResponse\")\n public boolean isAuthenticated();\n\n /**\n * \n * @param token\n * @return\n * returns java.lang.String\n */\n @WebMethod(operationName = \"LoginByGoogleId\", action = \"http://tempuri.org/LoginByGoogleId\")\n @WebResult(name = \"LoginByGoogleIdResult\", targetNamespace = \"http://tempuri.org/\")\n @RequestWrapper(localName = \"LoginByGoogleId\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.LoginByGoogleId\")\n @ResponseWrapper(localName = \"LoginByGoogleIdResponse\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.LoginByGoogleIdResponse\")\n public String loginByGoogleId(\n @WebParam(name = \"token\", targetNamespace = \"http://tempuri.org/\")\n String token);\n\n /**\n * \n * @param args\n * @param calcId\n * @return\n * returns java.lang.String\n */\n @WebMethod(operationName = \"Execute\", action = \"http://tempuri.org/Execute\")\n @WebResult(name = \"ExecuteResult\", targetNamespace = \"http://tempuri.org/\")\n @RequestWrapper(localName = \"Execute\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.Execute\")\n @ResponseWrapper(localName = \"ExecuteResponse\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.ExecuteResponse\")\n public String execute(\n @WebParam(name = \"calcId\", targetNamespace = \"http://tempuri.org/\")\n String calcId,\n @WebParam(name = \"args\", targetNamespace = \"http://tempuri.org/\")\n String args);\n\n /**\n * \n * @param args\n * @param ticket\n * @param calcId\n * @return\n * returns java.lang.String\n */\n @WebMethod(operationName = \"ExecuteEx\", action = \"http://tempuri.org/ExecuteEx\")\n @WebResult(name = \"ExecuteExResult\", targetNamespace = \"http://tempuri.org/\")\n @RequestWrapper(localName = \"ExecuteEx\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.ExecuteEx\")\n @ResponseWrapper(localName = \"ExecuteExResponse\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.ExecuteExResponse\")\n public String executeEx(\n @WebParam(name = \"calcId\", targetNamespace = \"http://tempuri.org/\")\n String calcId,\n @WebParam(name = \"args\", targetNamespace = \"http://tempuri.org/\")\n String args,\n @WebParam(name = \"ticket\", targetNamespace = \"http://tempuri.org/\")\n String ticket);\n\n /**\n * \n * @param args\n * @param ticket\n * @param calcId\n * @param timeout\n * @return\n * returns java.lang.String\n */\n @WebMethod(operationName = \"ExecuteWithTimeout\", action = \"http://tempuri.org/ExecuteWithTimeout\")\n @WebResult(name = \"ExecuteWithTimeoutResult\", targetNamespace = \"http://tempuri.org/\")\n @RequestWrapper(localName = \"ExecuteWithTimeout\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.ExecuteWithTimeout\")\n @ResponseWrapper(localName = \"ExecuteWithTimeoutResponse\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.ExecuteWithTimeoutResponse\")\n public String executeWithTimeout(\n @WebParam(name = \"calcId\", targetNamespace = \"http://tempuri.org/\")\n String calcId,\n @WebParam(name = \"args\", targetNamespace = \"http://tempuri.org/\")\n String args,\n @WebParam(name = \"ticket\", targetNamespace = \"http://tempuri.org/\")\n String ticket,\n @WebParam(name = \"timeout\", targetNamespace = \"http://tempuri.org/\")\n int timeout);\n\n /**\n * \n * @param ticket\n * @param sessionId\n */\n @WebMethod(operationName = \"UpdateSession\", action = \"http://tempuri.org/UpdateSession\")\n @RequestWrapper(localName = \"UpdateSession\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.UpdateSession\")\n @ResponseWrapper(localName = \"UpdateSessionResponse\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.UpdateSessionResponse\")\n public void updateSession(\n @WebParam(name = \"ticket\", targetNamespace = \"http://tempuri.org/\")\n String ticket,\n @WebParam(name = \"sessionId\", targetNamespace = \"http://tempuri.org/\")\n String sessionId);\n\n /**\n * \n * @param ticket\n * @param oldPassword\n * @param newPassword\n * @param login\n * @return\n * returns java.lang.String\n */\n @WebMethod(operationName = \"ChangePassword\", action = \"http://tempuri.org/ChangePassword\")\n @WebResult(name = \"ChangePasswordResult\", targetNamespace = \"http://tempuri.org/\")\n @RequestWrapper(localName = \"ChangePassword\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.ChangePassword\")\n @ResponseWrapper(localName = \"ChangePasswordResponse\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.ChangePasswordResponse\")\n public String changePassword(\n @WebParam(name = \"login\", targetNamespace = \"http://tempuri.org/\")\n String login,\n @WebParam(name = \"oldPassword\", targetNamespace = \"http://tempuri.org/\")\n String oldPassword,\n @WebParam(name = \"newPassword\", targetNamespace = \"http://tempuri.org/\")\n String newPassword,\n @WebParam(name = \"ticket\", targetNamespace = \"http://tempuri.org/\")\n String ticket);\n\n /**\n * \n * @return\n * returns java.lang.Object\n */\n @WebMethod(operationName = \"IsEnabled\", action = \"http://tempuri.org/IsEnabled\")\n @WebResult(name = \"IsEnabledResult\", targetNamespace = \"http://tempuri.org/\")\n @RequestWrapper(localName = \"IsEnabled\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.IsEnabled\")\n @ResponseWrapper(localName = \"IsEnabledResponse\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.IsEnabledResponse\")\n public Object isEnabled();\n\n}", "private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, registry.ClientRegistryStub.GetClients param, boolean optimizeContent, javax.xml.namespace.QName methodQName)\r\n throws org.apache.axis2.AxisFault{\r\n\r\n \r\n try{\r\n\r\n org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope();\r\n emptyEnvelope.getBody().addChild(param.getOMElement(registry.ClientRegistryStub.GetClients.MY_QNAME,factory));\r\n return emptyEnvelope;\r\n } catch(org.apache.axis2.databinding.ADBException e){\r\n throw org.apache.axis2.AxisFault.makeFault(e);\r\n }\r\n \r\n\r\n }", "@WebService(name = \"BilesikKutukSorgulaKimlikNoServis\", targetNamespace = \"http://kps.nvi.gov.tr/2017/08/01\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface BilesikKutukSorgulaKimlikNoServis {\n\n\n /**\n * \n * @param kriterListesi\n * @return\n * returns services.kps.bilesikkutuk.BilesikKutukBilgileriSonucu\n */\n @WebMethod(operationName = \"Sorgula\", action = \"http://kps.nvi.gov.tr/2017/08/01/BilesikKutukSorgulaKimlikNoServis/Sorgula\")\n @WebResult(name = \"SorgulaResult\", targetNamespace = \"http://kps.nvi.gov.tr/2017/08/01\")\n @RequestWrapper(localName = \"Sorgula\", targetNamespace = \"http://kps.nvi.gov.tr/2017/08/01\", className = \"services.kps.bilesikkutuk.Sorgula\")\n @ResponseWrapper(localName = \"SorgulaResponse\", targetNamespace = \"http://kps.nvi.gov.tr/2017/08/01\", className = \"services.kps.bilesikkutuk.SorgulaResponse\")\n public BilesikKutukBilgileriSonucu sorgula(\n @WebParam(name = \"kriterListesi\", targetNamespace = \"http://kps.nvi.gov.tr/2017/08/01\")\n ArrayOfBilesikKutukSorgulaKimlikNoSorguKriteri kriterListesi);\n\n}", "@WebService(name = \"SendMTPortType\", targetNamespace = \"http://sms.neo\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface SendMTPortType {\n\n\n /**\n * \n * @param rtype\n * @param timeend\n * @param password\n * @param receiver\n * @param repeat\n * @param brandname\n * @param timestart\n * @param loaisp\n * @param content\n * @param timesend\n * @param username\n * @param target\n * @return\n * returns java.lang.String\n */\n @WebMethod(action = \"urn:sendMessage\")\n @WebResult(targetNamespace = \"http://sms.neo\")\n @RequestWrapper(localName = \"sendMessage\", targetNamespace = \"http://sms.neo\", className = \"neo.sms.SendMessage\")\n @ResponseWrapper(localName = \"sendMessageResponse\", targetNamespace = \"http://sms.neo\", className = \"neo.sms.SendMessageResponse\")\n public String sendMessage(\n @WebParam(name = \"username\", targetNamespace = \"http://sms.neo\")\n String username,\n @WebParam(name = \"password\", targetNamespace = \"http://sms.neo\")\n String password,\n @WebParam(name = \"receiver\", targetNamespace = \"http://sms.neo\")\n String receiver,\n @WebParam(name = \"content\", targetNamespace = \"http://sms.neo\")\n String content,\n @WebParam(name = \"repeat\", targetNamespace = \"http://sms.neo\")\n Integer repeat,\n @WebParam(name = \"rtype\", targetNamespace = \"http://sms.neo\")\n Integer rtype,\n @WebParam(name = \"loaisp\", targetNamespace = \"http://sms.neo\")\n Integer loaisp,\n @WebParam(name = \"brandname\", targetNamespace = \"http://sms.neo\")\n String brandname,\n @WebParam(name = \"timestart\", targetNamespace = \"http://sms.neo\")\n String timestart,\n @WebParam(name = \"timeend\", targetNamespace = \"http://sms.neo\")\n String timeend,\n @WebParam(name = \"timesend\", targetNamespace = \"http://sms.neo\")\n String timesend,\n @WebParam(name = \"target\", targetNamespace = \"http://sms.neo\")\n String target);\n\n /**\n * \n * @param password\n * @param receiver\n * @param content\n * @param username\n * @param target\n * @return\n * returns java.lang.String\n */\n @WebMethod(action = \"urn:sendFromServiceNumber\")\n @WebResult(targetNamespace = \"http://sms.neo\")\n @RequestWrapper(localName = \"sendFromServiceNumber\", targetNamespace = \"http://sms.neo\", className = \"neo.sms.SendFromServiceNumber\")\n @ResponseWrapper(localName = \"sendFromServiceNumberResponse\", targetNamespace = \"http://sms.neo\", className = \"neo.sms.SendFromServiceNumberResponse\")\n public String sendFromServiceNumber(\n @WebParam(name = \"username\", targetNamespace = \"http://sms.neo\")\n String username,\n @WebParam(name = \"password\", targetNamespace = \"http://sms.neo\")\n String password,\n @WebParam(name = \"receiver\", targetNamespace = \"http://sms.neo\")\n String receiver,\n @WebParam(name = \"content\", targetNamespace = \"http://sms.neo\")\n String content,\n @WebParam(name = \"target\", targetNamespace = \"http://sms.neo\")\n String target);\n\n /**\n * \n * @param password\n * @param receiver\n * @param brandname\n * @param content\n * @param username\n * @param target\n * @return\n * returns java.lang.String\n */\n @WebMethod(action = \"urn:sendFromBrandname\")\n @WebResult(targetNamespace = \"http://sms.neo\")\n @RequestWrapper(localName = \"sendFromBrandname\", targetNamespace = \"http://sms.neo\", className = \"neo.sms.SendFromBrandname\")\n @ResponseWrapper(localName = \"sendFromBrandnameResponse\", targetNamespace = \"http://sms.neo\", className = \"neo.sms.SendFromBrandnameResponse\")\n public String sendFromBrandname(\n @WebParam(name = \"username\", targetNamespace = \"http://sms.neo\")\n String username,\n @WebParam(name = \"password\", targetNamespace = \"http://sms.neo\")\n String password,\n @WebParam(name = \"receiver\", targetNamespace = \"http://sms.neo\")\n String receiver,\n @WebParam(name = \"brandname\", targetNamespace = \"http://sms.neo\")\n String brandname,\n @WebParam(name = \"content\", targetNamespace = \"http://sms.neo\")\n String content,\n @WebParam(name = \"target\", targetNamespace = \"http://sms.neo\")\n String target);\n\n /**\n * \n * @param password\n * @param cardSerial\n * @param cardCode\n * @param issure\n * @param username\n * @return\n * returns java.lang.String\n */\n @WebMethod(action = \"urn:useCard\")\n @WebResult(targetNamespace = \"http://sms.neo\")\n @RequestWrapper(localName = \"useCard\", targetNamespace = \"http://sms.neo\", className = \"neo.sms.UseCard\")\n @ResponseWrapper(localName = \"useCardResponse\", targetNamespace = \"http://sms.neo\", className = \"neo.sms.UseCardResponse\")\n public String useCard(\n @WebParam(name = \"username\", targetNamespace = \"http://sms.neo\")\n String username,\n @WebParam(name = \"password\", targetNamespace = \"http://sms.neo\")\n String password,\n @WebParam(name = \"issure\", targetNamespace = \"http://sms.neo\")\n String issure,\n @WebParam(name = \"cardCode\", targetNamespace = \"http://sms.neo\")\n String cardCode,\n @WebParam(name = \"cardSerial\", targetNamespace = \"http://sms.neo\")\n String cardSerial);\n\n /**\n * \n * @param password\n * @param receiver\n * @param brandname\n * @param loaisp\n * @param content\n * @param username\n * @param target\n * @return\n * returns java.lang.String\n */\n @WebMethod(action = \"urn:sendSMS\")\n @WebResult(targetNamespace = \"http://sms.neo\")\n @RequestWrapper(localName = \"sendSMS\", targetNamespace = \"http://sms.neo\", className = \"neo.sms.SendSMS\")\n @ResponseWrapper(localName = \"sendSMSResponse\", targetNamespace = \"http://sms.neo\", className = \"neo.sms.SendSMSResponse\")\n public String sendSMS(\n @WebParam(name = \"username\", targetNamespace = \"http://sms.neo\")\n String username,\n @WebParam(name = \"password\", targetNamespace = \"http://sms.neo\")\n String password,\n @WebParam(name = \"receiver\", targetNamespace = \"http://sms.neo\")\n String receiver,\n @WebParam(name = \"content\", targetNamespace = \"http://sms.neo\")\n String content,\n @WebParam(name = \"loaisp\", targetNamespace = \"http://sms.neo\")\n Integer loaisp,\n @WebParam(name = \"brandname\", targetNamespace = \"http://sms.neo\")\n String brandname,\n @WebParam(name = \"target\", targetNamespace = \"http://sms.neo\")\n String target);\n\n}", "@WebService(name = \"BillPayServiceAT\", targetNamespace = \"http://jaxws.billpay.wsat.edu.unf.com/\")\r\n@SOAPBinding(style = SOAPBinding.Style.RPC)\r\n@XmlSeeAlso({\r\n ObjectFactory.class\r\n})\r\npublic interface BillPayServiceAT {\r\n\r\n\r\n /**\r\n * \r\n * @param arg1\r\n * @param arg0\r\n * @throws BillPayException\r\n */\r\n @WebMethod\r\n public void paybillamount(\r\n @WebParam(name = \"arg0\", partName = \"arg0\")\r\n String arg0,\r\n @WebParam(name = \"arg1\", partName = \"arg1\")\r\n long arg1)\r\n throws BillPayException\r\n ;\r\n\r\n}", "@WebService(name = \"TerminationCoordinatorPortType\", targetNamespace = \"http://schemas.arjuna.com/ws/2005/10/wsarjtx\")\n@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface TerminationCoordinatorPortType {\n\n\n /**\n * \n * @param parameters\n */\n @WebMethod(operationName = \"CompleteOperation\", action = \"http://schemas.arjuna.com/ws/2005/10/wsarjtx/Complete\")\n @Oneway\n public void completeOperation(\n @WebParam(name = \"Complete\", targetNamespace = \"http://schemas.arjuna.com/ws/2005/10/wsarjtx\", partName = \"parameters\")\n NotificationType parameters);\n\n /**\n * \n * @param parameters\n */\n @WebMethod(operationName = \"CloseOperation\", action = \"http://schemas.arjuna.com/ws/2005/10/wsarjtx/Close\")\n @Oneway\n public void closeOperation(\n @WebParam(name = \"Close\", targetNamespace = \"http://schemas.arjuna.com/ws/2005/10/wsarjtx\", partName = \"parameters\")\n NotificationType parameters);\n\n /**\n * \n * @param parameters\n */\n @WebMethod(operationName = \"CancelOperation\", action = \"http://schemas.arjuna.com/ws/2005/10/wsarjtx/Cancel\")\n @Oneway\n public void cancelOperation(\n @WebParam(name = \"Cancel\", targetNamespace = \"http://schemas.arjuna.com/ws/2005/10/wsarjtx\", partName = \"parameters\")\n NotificationType parameters);\n\n}", "public registry.ClientRegistryStub.GetClientsResponse getClients(\r\n\r\n registry.ClientRegistryStub.GetClients getClients7)\r\n \r\n\r\n throws java.rmi.RemoteException\r\n \r\n {\r\n org.apache.axis2.context.MessageContext _messageContext = null;\r\n try{\r\n org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[5].getName());\r\n _operationClient.getOptions().setAction(\"urn:getClients\");\r\n _operationClient.getOptions().setExceptionToBeThrownOnSOAPFault(true);\r\n\r\n \r\n \r\n addPropertyToOperationClient(_operationClient,org.apache.axis2.description.WSDL2Constants.ATTR_WHTTP_QUERY_PARAMETER_SEPARATOR,\"&\");\r\n \r\n\r\n // create a message context\r\n _messageContext = new org.apache.axis2.context.MessageContext();\r\n\r\n \r\n\r\n // create SOAP envelope with that payload\r\n org.apache.axiom.soap.SOAPEnvelope env = null;\r\n \r\n \r\n env = toEnvelope(getFactory(_operationClient.getOptions().getSoapVersionURI()),\r\n getClients7,\r\n optimizeContent(new javax.xml.namespace.QName(\"http://registry\",\r\n \"getClients\")), new javax.xml.namespace.QName(\"http://registry\",\r\n \"getClients\"));\r\n \r\n //adding SOAP soap_headers\r\n _serviceClient.addHeadersToEnvelope(env);\r\n // set the message context with that soap envelope\r\n _messageContext.setEnvelope(env);\r\n\r\n // add the message contxt to the operation client\r\n _operationClient.addMessageContext(_messageContext);\r\n\r\n //execute the operation client\r\n _operationClient.execute(true);\r\n\r\n \r\n org.apache.axis2.context.MessageContext _returnMessageContext = _operationClient.getMessageContext(\r\n org.apache.axis2.wsdl.WSDLConstants.MESSAGE_LABEL_IN_VALUE);\r\n org.apache.axiom.soap.SOAPEnvelope _returnEnv = _returnMessageContext.getEnvelope();\r\n \r\n \r\n java.lang.Object object = fromOM(\r\n _returnEnv.getBody().getFirstElement() ,\r\n registry.ClientRegistryStub.GetClientsResponse.class,\r\n getEnvelopeNamespaces(_returnEnv));\r\n\r\n \r\n return (registry.ClientRegistryStub.GetClientsResponse)object;\r\n \r\n }catch(org.apache.axis2.AxisFault f){\r\n\r\n org.apache.axiom.om.OMElement faultElt = f.getDetail();\r\n if (faultElt!=null){\r\n if (faultExceptionNameMap.containsKey(new org.apache.axis2.client.FaultMapKey(faultElt.getQName(),\"getClients\"))){\r\n //make the fault by reflection\r\n try{\r\n java.lang.String exceptionClassName = (java.lang.String)faultExceptionClassNameMap.get(new org.apache.axis2.client.FaultMapKey(faultElt.getQName(),\"getClients\"));\r\n java.lang.Class exceptionClass = java.lang.Class.forName(exceptionClassName);\r\n java.lang.reflect.Constructor constructor = exceptionClass.getConstructor(String.class);\r\n java.lang.Exception ex = (java.lang.Exception) constructor.newInstance(f.getMessage());\r\n //message class\r\n java.lang.String messageClassName = (java.lang.String)faultMessageMap.get(new org.apache.axis2.client.FaultMapKey(faultElt.getQName(),\"getClients\"));\r\n java.lang.Class messageClass = java.lang.Class.forName(messageClassName);\r\n java.lang.Object messageObject = fromOM(faultElt,messageClass,null);\r\n java.lang.reflect.Method m = exceptionClass.getMethod(\"setFaultMessage\",\r\n new java.lang.Class[]{messageClass});\r\n m.invoke(ex,new java.lang.Object[]{messageObject});\r\n \r\n\r\n throw new java.rmi.RemoteException(ex.getMessage(), ex);\r\n }catch(java.lang.ClassCastException e){\r\n // we cannot intantiate the class - throw the original Axis fault\r\n throw f;\r\n } catch (java.lang.ClassNotFoundException e) {\r\n // we cannot intantiate the class - throw the original Axis fault\r\n throw f;\r\n }catch (java.lang.NoSuchMethodException e) {\r\n // we cannot intantiate the class - throw the original Axis fault\r\n throw f;\r\n } catch (java.lang.reflect.InvocationTargetException e) {\r\n // we cannot intantiate the class - throw the original Axis fault\r\n throw f;\r\n } catch (java.lang.IllegalAccessException e) {\r\n // we cannot intantiate the class - throw the original Axis fault\r\n throw f;\r\n } catch (java.lang.InstantiationException e) {\r\n // we cannot intantiate the class - throw the original Axis fault\r\n throw f;\r\n }\r\n }else{\r\n throw f;\r\n }\r\n }else{\r\n throw f;\r\n }\r\n } finally {\r\n if (_messageContext.getTransportOut() != null) {\r\n _messageContext.getTransportOut().getSender().cleanup(_messageContext);\r\n }\r\n }\r\n }", "@WebService(targetNamespace = \"http://services.bookservice.atatorus.fr/\", name = \"Hello\")\n@XmlSeeAlso({ObjectFactory.class})\npublic interface Hello {\n\n @WebMethod\n @RequestWrapper(localName = \"hello\", targetNamespace = \"http://services.bookservice.atatorus.fr/\", className = \"fr.atatorus.bookservice.services.Hello_Type\")\n @ResponseWrapper(localName = \"helloResponse\", targetNamespace = \"http://services.bookservice.atatorus.fr/\", className = \"fr.atatorus.bookservice.services.HelloResponse\")\n @WebResult(name = \"return\", targetNamespace = \"\")\n public java.lang.String hello(\n @WebParam(name = \"nom\", targetNamespace = \"\")\n java.lang.String nom\n );\n}", "@WebService(targetNamespace = \"http://payment.services.adyen.com\", name = \"PaymentPortType\")\r\n@XmlSeeAlso({com.adyen.services.common.ObjectFactory.class, ObjectFactory.class})\r\npublic interface PaymentPortType {\r\n\r\n @WebResult(name = \"captureResult\", targetNamespace = \"http://payment.services.adyen.com\")\r\n @RequestWrapper(localName = \"capture\", targetNamespace = \"http://payment.services.adyen.com\", className = \"com.adyen.services.payment.Capture\")\r\n @WebMethod\r\n @ResponseWrapper(localName = \"captureResponse\", targetNamespace = \"http://payment.services.adyen.com\", className = \"com.adyen.services.payment.CaptureResponse\")\r\n public com.adyen.services.payment.ModificationResult capture(\r\n @WebParam(name = \"modificationRequest\", targetNamespace = \"http://payment.services.adyen.com\")\r\n com.adyen.services.payment.ModificationRequest modificationRequest\r\n ) throws ServiceException;\r\n\r\n @WebResult(name = \"refundResult\", targetNamespace = \"http://payment.services.adyen.com\")\r\n @RequestWrapper(localName = \"refund\", targetNamespace = \"http://payment.services.adyen.com\", className = \"com.adyen.services.payment.Refund\")\r\n @WebMethod\r\n @ResponseWrapper(localName = \"refundResponse\", targetNamespace = \"http://payment.services.adyen.com\", className = \"com.adyen.services.payment.RefundResponse\")\r\n public com.adyen.services.payment.ModificationResult refund(\r\n @WebParam(name = \"modificationRequest\", targetNamespace = \"http://payment.services.adyen.com\")\r\n com.adyen.services.payment.ModificationRequest modificationRequest\r\n ) throws ServiceException;\r\n\r\n @WebResult(name = \"result\", targetNamespace = \"http://payment.services.adyen.com\")\r\n @RequestWrapper(localName = \"fundTransfer\", targetNamespace = \"http://payment.services.adyen.com\", className = \"com.adyen.services.payment.FundTransfer\")\r\n @WebMethod\r\n @ResponseWrapper(localName = \"fundTransferResponse\", targetNamespace = \"http://payment.services.adyen.com\", className = \"com.adyen.services.payment.FundTransferResponse\")\r\n public com.adyen.services.payment.FundTransferResult fundTransfer(\r\n @WebParam(name = \"request\", targetNamespace = \"http://payment.services.adyen.com\")\r\n com.adyen.services.payment.FundTransferRequest request\r\n ) throws ServiceException;\r\n\r\n @WebResult(name = \"authoriseReferralResult\", targetNamespace = \"http://payment.services.adyen.com\")\r\n @RequestWrapper(localName = \"authoriseReferral\", targetNamespace = \"http://payment.services.adyen.com\", className = \"com.adyen.services.payment.AuthoriseReferral\")\r\n @WebMethod\r\n @ResponseWrapper(localName = \"authoriseReferralResponse\", targetNamespace = \"http://payment.services.adyen.com\", className = \"com.adyen.services.payment.AuthoriseReferralResponse\")\r\n public com.adyen.services.payment.ModificationResult authoriseReferral(\r\n @WebParam(name = \"modificationRequest\", targetNamespace = \"http://payment.services.adyen.com\")\r\n com.adyen.services.payment.ModificationRequest modificationRequest\r\n ) throws ServiceException;\r\n\r\n @WebResult(name = \"result\", targetNamespace = \"http://payment.services.adyen.com\")\r\n @RequestWrapper(localName = \"refundWithData\", targetNamespace = \"http://payment.services.adyen.com\", className = \"com.adyen.services.payment.RefundWithData\")\r\n @WebMethod\r\n @ResponseWrapper(localName = \"refundWithDataResponse\", targetNamespace = \"http://payment.services.adyen.com\", className = \"com.adyen.services.payment.RefundWithDataResponse\")\r\n public com.adyen.services.payment.PaymentResult refundWithData(\r\n @WebParam(name = \"request\", targetNamespace = \"http://payment.services.adyen.com\")\r\n com.adyen.services.payment.PaymentRequest request\r\n ) throws ServiceException;\r\n\r\n @WebResult(name = \"cancelResult\", targetNamespace = \"http://payment.services.adyen.com\")\r\n @RequestWrapper(localName = \"cancel\", targetNamespace = \"http://payment.services.adyen.com\", className = \"com.adyen.services.payment.Cancel\")\r\n @WebMethod\r\n @ResponseWrapper(localName = \"cancelResponse\", targetNamespace = \"http://payment.services.adyen.com\", className = \"com.adyen.services.payment.CancelResponse\")\r\n public com.adyen.services.payment.ModificationResult cancel(\r\n @WebParam(name = \"modificationRequest\", targetNamespace = \"http://payment.services.adyen.com\")\r\n com.adyen.services.payment.ModificationRequest modificationRequest\r\n ) throws ServiceException;\r\n\r\n @WebResult(name = \"paymentResult\", targetNamespace = \"http://payment.services.adyen.com\")\r\n @RequestWrapper(localName = \"authorise3d\", targetNamespace = \"http://payment.services.adyen.com\", className = \"com.adyen.services.payment.Authorise3D\")\r\n @WebMethod(operationName = \"authorise3d\")\r\n @ResponseWrapper(localName = \"authorise3dResponse\", targetNamespace = \"http://payment.services.adyen.com\", className = \"com.adyen.services.payment.Authorise3DResponse\")\r\n public com.adyen.services.payment.PaymentResult authorise3D(\r\n @WebParam(name = \"paymentRequest3d\", targetNamespace = \"http://payment.services.adyen.com\")\r\n com.adyen.services.payment.PaymentRequest3D paymentRequest3D\r\n ) throws ServiceException;\r\n\r\n @WebResult(name = \"response\", targetNamespace = \"http://payment.services.adyen.com\")\r\n @RequestWrapper(localName = \"balanceCheck\", targetNamespace = \"http://payment.services.adyen.com\", className = \"com.adyen.services.payment.BalanceCheck\")\r\n @WebMethod\r\n @ResponseWrapper(localName = \"balanceCheckResponse\", targetNamespace = \"http://payment.services.adyen.com\", className = \"com.adyen.services.payment.BalanceCheckResponse\")\r\n public com.adyen.services.payment.BalanceCheckResult balanceCheck(\r\n @WebParam(name = \"request\", targetNamespace = \"http://payment.services.adyen.com\")\r\n com.adyen.services.payment.BalanceCheckRequest request\r\n ) throws ServiceException;\r\n\r\n @WebResult(name = \"response\", targetNamespace = \"http://payment.services.adyen.com\")\r\n @RequestWrapper(localName = \"directdebit\", targetNamespace = \"http://payment.services.adyen.com\", className = \"com.adyen.services.payment.Directdebit\")\r\n @WebMethod\r\n @ResponseWrapper(localName = \"directdebitResponse\", targetNamespace = \"http://payment.services.adyen.com\", className = \"com.adyen.services.payment.DirectdebitResponse\")\r\n public com.adyen.services.payment.DirectDebitResponse2 directdebit(\r\n @WebParam(name = \"request\", targetNamespace = \"http://payment.services.adyen.com\")\r\n com.adyen.services.payment.DirectDebitRequest request\r\n ) throws ServiceException;\r\n\r\n @WebResult(name = \"cancelOrRefundResult\", targetNamespace = \"http://payment.services.adyen.com\")\r\n @RequestWrapper(localName = \"cancelOrRefund\", targetNamespace = \"http://payment.services.adyen.com\", className = \"com.adyen.services.payment.CancelOrRefund\")\r\n @WebMethod\r\n @ResponseWrapper(localName = \"cancelOrRefundResponse\", targetNamespace = \"http://payment.services.adyen.com\", className = \"com.adyen.services.payment.CancelOrRefundResponse\")\r\n public com.adyen.services.payment.ModificationResult cancelOrRefund(\r\n @WebParam(name = \"modificationRequest\", targetNamespace = \"http://payment.services.adyen.com\")\r\n com.adyen.services.payment.ModificationRequest modificationRequest\r\n ) throws ServiceException;\r\n\r\n @WebResult(name = \"paymentResult\", targetNamespace = \"http://payment.services.adyen.com\")\r\n @RequestWrapper(localName = \"authorise\", targetNamespace = \"http://payment.services.adyen.com\", className = \"com.adyen.services.payment.Authorise\")\r\n @WebMethod\r\n @ResponseWrapper(localName = \"authoriseResponse\", targetNamespace = \"http://payment.services.adyen.com\", className = \"com.adyen.services.payment.AuthoriseResponse\")\r\n public com.adyen.services.payment.PaymentResult authorise(\r\n @WebParam(name = \"paymentRequest\", targetNamespace = \"http://payment.services.adyen.com\")\r\n com.adyen.services.payment.PaymentRequest paymentRequest\r\n ) throws ServiceException;\r\n\r\n @WebResult(name = \"paymentResult\", targetNamespace = \"http://payment.services.adyen.com\")\r\n @RequestWrapper(localName = \"checkFraud\", targetNamespace = \"http://payment.services.adyen.com\", className = \"com.adyen.services.payment.CheckFraud\")\r\n @WebMethod\r\n @ResponseWrapper(localName = \"checkFraudResponse\", targetNamespace = \"http://payment.services.adyen.com\", className = \"com.adyen.services.payment.CheckFraudResponse\")\r\n public com.adyen.services.payment.PaymentResult checkFraud(\r\n @WebParam(name = \"paymentRequest\", targetNamespace = \"http://payment.services.adyen.com\")\r\n com.adyen.services.payment.PaymentRequest paymentRequest\r\n ) throws ServiceException;\r\n}", "@WebService(name = \"BookService\", targetNamespace = \"http://webservices.arabie.com/\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface BookService {\n\n\n /**\n * \n * @param arg0\n * @return\n * returns boolean\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"deleteBook\", targetNamespace = \"http://webservices.arabie.com/\", className = \"com.arabie.myservice.DeleteBook\")\n @ResponseWrapper(localName = \"deleteBookResponse\", targetNamespace = \"http://webservices.arabie.com/\", className = \"com.arabie.myservice.DeleteBookResponse\")\n @Action(input = \"http://webservices.arabie.com/BookService/deleteBookRequest\", output = \"http://webservices.arabie.com/BookService/deleteBookResponse\")\n public boolean deleteBook(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n int arg0);\n\n /**\n * \n * @param arg0\n * @return\n * returns com.arabie.myservice.Book\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getBook\", targetNamespace = \"http://webservices.arabie.com/\", className = \"com.arabie.myservice.GetBook\")\n @ResponseWrapper(localName = \"getBookResponse\", targetNamespace = \"http://webservices.arabie.com/\", className = \"com.arabie.myservice.GetBookResponse\")\n @Action(input = \"http://webservices.arabie.com/BookService/getBookRequest\", output = \"http://webservices.arabie.com/BookService/getBookResponse\")\n public Book getBook(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n int arg0);\n\n /**\n * \n * @param arg3\n * @param arg2\n * @param arg1\n * @param arg0\n * @return\n * returns com.arabie.myservice.Book\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"addBook\", targetNamespace = \"http://webservices.arabie.com/\", className = \"com.arabie.myservice.AddBook\")\n @ResponseWrapper(localName = \"addBookResponse\", targetNamespace = \"http://webservices.arabie.com/\", className = \"com.arabie.myservice.AddBookResponse\")\n @Action(input = \"http://webservices.arabie.com/BookService/addBookRequest\", output = \"http://webservices.arabie.com/BookService/addBookResponse\")\n public Book addBook(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n String arg0,\n @WebParam(name = \"arg1\", targetNamespace = \"\")\n int arg1,\n @WebParam(name = \"arg2\", targetNamespace = \"\")\n double arg2,\n @WebParam(name = \"arg3\", targetNamespace = \"\")\n String arg3);\n\n /**\n * \n * @param arg1\n * @param arg0\n * @return\n * returns com.arabie.myservice.Book\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"updateBook\", targetNamespace = \"http://webservices.arabie.com/\", className = \"com.arabie.myservice.UpdateBook\")\n @ResponseWrapper(localName = \"updateBookResponse\", targetNamespace = \"http://webservices.arabie.com/\", className = \"com.arabie.myservice.UpdateBookResponse\")\n @Action(input = \"http://webservices.arabie.com/BookService/updateBookRequest\", output = \"http://webservices.arabie.com/BookService/updateBookResponse\")\n public Book updateBook(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n int arg0,\n @WebParam(name = \"arg1\", targetNamespace = \"\")\n String arg1);\n\n}", "public sample.ws.HelloWorldWSStub.GetServerVersionResponse getServerVersion(\n\n sample.ws.HelloWorldWSStub.GetServerVersion getServerVersion0)\n \n\n throws java.rmi.RemoteException\n \n {\n org.apache.axis2.context.MessageContext _messageContext = null;\n try{\n org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[0].getName());\n _operationClient.getOptions().setAction(\"getServerVersion\");\n _operationClient.getOptions().setExceptionToBeThrownOnSOAPFault(true);\n\n \n \n addPropertyToOperationClient(_operationClient,org.apache.axis2.description.WSDL2Constants.ATTR_WHTTP_QUERY_PARAMETER_SEPARATOR,\"&\");\n \n\n // create a message context\n _messageContext = new org.apache.axis2.context.MessageContext();\n\n \n\n // create SOAP envelope with that payload\n org.apache.axiom.soap.SOAPEnvelope env = null;\n \n \n env = toEnvelope(getFactory(_operationClient.getOptions().getSoapVersionURI()),\n getServerVersion0,\n optimizeContent(new javax.xml.namespace.QName(\"http://ws.sample/\",\n \"getServerVersion\")));\n \n //adding SOAP soap_headers\n _serviceClient.addHeadersToEnvelope(env);\n // set the message context with that soap envelope\n _messageContext.setEnvelope(env);\n\n // add the message contxt to the operation client\n _operationClient.addMessageContext(_messageContext);\n\n //execute the operation client\n _operationClient.execute(true);\n\n \n org.apache.axis2.context.MessageContext _returnMessageContext = _operationClient.getMessageContext(\n org.apache.axis2.wsdl.WSDLConstants.MESSAGE_LABEL_IN_VALUE);\n org.apache.axiom.soap.SOAPEnvelope _returnEnv = _returnMessageContext.getEnvelope();\n \n \n java.lang.Object object = fromOM(\n _returnEnv.getBody().getFirstElement() ,\n sample.ws.HelloWorldWSStub.GetServerVersionResponse.class,\n getEnvelopeNamespaces(_returnEnv));\n\n \n return (sample.ws.HelloWorldWSStub.GetServerVersionResponse)object;\n \n }catch(org.apache.axis2.AxisFault f){\n\n org.apache.axiom.om.OMElement faultElt = f.getDetail();\n if (faultElt!=null){\n if (faultExceptionNameMap.containsKey(faultElt.getQName())){\n //make the fault by reflection\n try{\n java.lang.String exceptionClassName = (java.lang.String)faultExceptionClassNameMap.get(faultElt.getQName());\n java.lang.Class exceptionClass = java.lang.Class.forName(exceptionClassName);\n java.lang.Exception ex=\n (java.lang.Exception) exceptionClass.newInstance();\n //message class\n java.lang.String messageClassName = (java.lang.String)faultMessageMap.get(faultElt.getQName());\n java.lang.Class messageClass = java.lang.Class.forName(messageClassName);\n java.lang.Object messageObject = fromOM(faultElt,messageClass,null);\n java.lang.reflect.Method m = exceptionClass.getMethod(\"setFaultMessage\",\n new java.lang.Class[]{messageClass});\n m.invoke(ex,new java.lang.Object[]{messageObject});\n \n\n throw new java.rmi.RemoteException(ex.getMessage(), ex);\n }catch(java.lang.ClassCastException e){\n // we cannot intantiate the class - throw the original Axis fault\n throw f;\n } catch (java.lang.ClassNotFoundException e) {\n // we cannot intantiate the class - throw the original Axis fault\n throw f;\n }catch (java.lang.NoSuchMethodException e) {\n // we cannot intantiate the class - throw the original Axis fault\n throw f;\n } catch (java.lang.reflect.InvocationTargetException e) {\n // we cannot intantiate the class - throw the original Axis fault\n throw f;\n } catch (java.lang.IllegalAccessException e) {\n // we cannot intantiate the class - throw the original Axis fault\n throw f;\n } catch (java.lang.InstantiationException e) {\n // we cannot intantiate the class - throw the original Axis fault\n throw f;\n }\n }else{\n throw f;\n }\n }else{\n throw f;\n }\n } finally {\n _messageContext.getTransportOut().getSender().cleanup(_messageContext);\n }\n }", "public interface ClientRequestInfo extends ClientRequestInfoOperations, org.omg.PortableInterceptor.RequestInfo, org.omg.CORBA.portable.IDLEntity \n{\n}", "@WebService(targetNamespace = \"http://www.example.org/BuyMart/\", name = \"BuyMartPortType\")\n@XmlSeeAlso({ObjectFactory.class})\n@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)\npublic interface BuyMartPortType {\n\n @WebMethod(operationName = \"GetOrders\")\n @WebResult(name = \"GetOrdersResponse\", targetNamespace = \"http://www.example.org/BuyMart/\", partName = \"parameters\")\n public GetOrdersResponse getOrders(\n @WebParam(partName = \"parameters\", name = \"GetOrdersRequest\", targetNamespace = \"http://www.example.org/BuyMart/\")\n GetOrdersRequest parameters\n );\n\n @WebMethod(operationName = \"UpdateOrders\")\n @WebResult(name = \"UpdateOrdersResponse\", targetNamespace = \"http://www.example.org/BuyMart/\", partName = \"parameters\")\n public UpdateOrdersResponse updateOrders(\n @WebParam(partName = \"parameters\", name = \"UpdateOrdersRequest\", targetNamespace = \"http://www.example.org/BuyMart/\")\n UpdateOrdersRequest parameters\n );\n\n @WebMethod(operationName = \"CreateOrders\")\n @WebResult(name = \"CreateOrdersResponse\", targetNamespace = \"http://www.example.org/BuyMart/\", partName = \"parameters\")\n public CreateOrdersResponse createOrders(\n @WebParam(partName = \"parameters\", name = \"CreateOrdersRequest\", targetNamespace = \"http://www.example.org/BuyMart/\")\n CreateOrdersRequest parameters\n );\n\n @WebMethod(operationName = \"DeleteOrders\")\n @WebResult(name = \"DeleteOrdersResponse\", targetNamespace = \"http://www.example.org/BuyMart/\", partName = \"parameters\")\n public DeleteOrdersResponse deleteOrders(\n @WebParam(partName = \"parameters\", name = \"DeleteOrdersRequest\", targetNamespace = \"http://www.example.org/BuyMart/\")\n DeleteOrdersRequest parameters\n );\n}", "@WebService(targetNamespace = \"http://server.gameco.com/\", name = \"IGameExchangeService\")\n@XmlSeeAlso({ObjectFactory.class})\npublic interface IGameExchangeService {\n\n @WebMethod(action = \"urn:SetMoves\")\n @RequestWrapper(localName = \"setMoves\", targetNamespace = \"http://server.gameco.com/\", className = \"com.gameco.server.SetMoves\")\n @ResponseWrapper(localName = \"setMovesResponse\", targetNamespace = \"http://server.gameco.com/\", className = \"com.gameco.server.SetMovesResponse\")\n public void setMoves(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n com.gameco.server.GameHistory arg0\n );\n\n @WebMethod(action = \"urn:SetMove\")\n @RequestWrapper(localName = \"setMove\", targetNamespace = \"http://server.gameco.com/\", className = \"com.gameco.server.SetMove\")\n @ResponseWrapper(localName = \"setMoveResponse\", targetNamespace = \"http://server.gameco.com/\", className = \"com.gameco.server.SetMoveResponse\")\n public void setMove(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n com.gameco.server.GameMove arg0\n );\n\n @WebMethod(action = \"urn:GetGames\")\n @RequestWrapper(localName = \"getGames\", targetNamespace = \"http://server.gameco.com/\", className = \"com.gameco.server.GetGames\")\n @ResponseWrapper(localName = \"getGamesResponse\", targetNamespace = \"http://server.gameco.com/\", className = \"com.gameco.server.GetGamesResponse\")\n @WebResult(name = \"return\", targetNamespace = \"\")\n public java.util.List<com.gameco.server.PlayingGame> getGames();\n\n @WebMethod(action = \"urn:Invite\")\n @RequestWrapper(localName = \"invite\", targetNamespace = \"http://server.gameco.com/\", className = \"com.gameco.server.Invite\")\n @ResponseWrapper(localName = \"inviteResponse\", targetNamespace = \"http://server.gameco.com/\", className = \"com.gameco.server.InviteResponse\")\n public void invite(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n java.util.List<java.lang.String> arg0\n );\n\n @WebMethod(action = \"urn:Join\")\n @RequestWrapper(localName = \"join\", targetNamespace = \"http://server.gameco.com/\", className = \"com.gameco.server.Join\")\n @ResponseWrapper(localName = \"joinResponse\", targetNamespace = \"http://server.gameco.com/\", className = \"com.gameco.server.JoinResponse\")\n public void join(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n java.lang.String arg0\n );\n\n @WebMethod(action = \"urn:GetUsers\")\n @RequestWrapper(localName = \"getUsers\", targetNamespace = \"http://server.gameco.com/\", className = \"com.gameco.server.GetUsers\")\n @ResponseWrapper(localName = \"getUsersResponse\", targetNamespace = \"http://server.gameco.com/\", className = \"com.gameco.server.GetUsersResponse\")\n @WebResult(name = \"return\", targetNamespace = \"\")\n public java.util.List<com.gameco.server.User> getUsers();\n\n @WebMethod(action = \"urn:Logout\")\n @RequestWrapper(localName = \"logout\", targetNamespace = \"http://server.gameco.com/\", className = \"com.gameco.server.Logout\")\n @ResponseWrapper(localName = \"logoutResponse\", targetNamespace = \"http://server.gameco.com/\", className = \"com.gameco.server.LogoutResponse\")\n public void logout();\n\n @WebMethod(action = \"urn:AddCallback\")\n @RequestWrapper(localName = \"addCallback\", targetNamespace = \"http://server.gameco.com/\", className = \"com.gameco.server.AddCallback\")\n @ResponseWrapper(localName = \"addCallbackResponse\", targetNamespace = \"http://server.gameco.com/\", className = \"com.gameco.server.AddCallbackResponse\")\n public void addCallback(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n javax.xml.ws.wsaddressing.W3CEndpointReference arg0\n );\n\n @WebMethod(action = \"urn:Accept\")\n @RequestWrapper(localName = \"accept\", targetNamespace = \"http://server.gameco.com/\", className = \"com.gameco.server.Accept\")\n @ResponseWrapper(localName = \"acceptResponse\", targetNamespace = \"http://server.gameco.com/\", className = \"com.gameco.server.AcceptResponse\")\n public void accept(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n java.lang.String arg0\n );\n\n @WebMethod(action = \"urn:GetAvaibleGames\")\n @RequestWrapper(localName = \"getAvaibleGames\", targetNamespace = \"http://server.gameco.com/\", className = \"com.gameco.server.GetAvaibleGames\")\n @ResponseWrapper(localName = \"getAvaibleGamesResponse\", targetNamespace = \"http://server.gameco.com/\", className = \"com.gameco.server.GetAvaibleGamesResponse\")\n @WebResult(name = \"return\", targetNamespace = \"\")\n public java.util.List<java.lang.String> getAvaibleGames();\n\n @WebMethod(action = \"urn:Login\")\n @RequestWrapper(localName = \"login\", targetNamespace = \"http://server.gameco.com/\", className = \"com.gameco.server.Login\")\n @ResponseWrapper(localName = \"loginResponse\", targetNamespace = \"http://server.gameco.com/\", className = \"com.gameco.server.LoginResponse\")\n @WebResult(name = \"return\", targetNamespace = \"\")\n public com.gameco.server.User login(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n java.lang.String arg0,\n @WebParam(name = \"arg1\", targetNamespace = \"\")\n java.lang.String arg1\n ) throws CredentialException_Exception;\n\n @WebMethod(action = \"urn:Cancel\")\n @RequestWrapper(localName = \"cancel\", targetNamespace = \"http://server.gameco.com/\", className = \"com.gameco.server.Cancel\")\n @ResponseWrapper(localName = \"cancelResponse\", targetNamespace = \"http://server.gameco.com/\", className = \"com.gameco.server.CancelResponse\")\n public void cancel(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n java.lang.String arg0\n );\n}", "@WebService(name = \"SafeImpl\", targetNamespace = \"http://webservices.safe.woolpert.com/\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface SafeImpl {\n\n\n /**\n * \n * @return\n * returns java.util.List<com.woolpert.safe.webservices.Collection>\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getCollections\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.GetCollections\")\n @ResponseWrapper(localName = \"getCollectionsResponse\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.GetCollectionsResponse\")\n public List<Collection> getCollections();\n\n /**\n * \n * @param arg5\n * @param arg4\n * @param arg3\n * @param arg2\n * @param arg1\n * @param arg0\n * @param arg6\n * @param arg7\n * @param arg8\n * @param arg9\n * @return\n * returns com.woolpert.safe.webservices.ReturnStatus\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"insertCollection\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.InsertCollection\")\n @ResponseWrapper(localName = \"insertCollectionResponse\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.InsertCollectionResponse\")\n public ReturnStatus insertCollection(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n String arg0,\n @WebParam(name = \"arg1\", targetNamespace = \"\")\n String arg1,\n @WebParam(name = \"arg2\", targetNamespace = \"\")\n double arg2,\n @WebParam(name = \"arg3\", targetNamespace = \"\")\n double arg3,\n @WebParam(name = \"arg4\", targetNamespace = \"\")\n double arg4,\n @WebParam(name = \"arg5\", targetNamespace = \"\")\n double arg5,\n @WebParam(name = \"arg6\", targetNamespace = \"\")\n long arg6,\n @WebParam(name = \"arg7\", targetNamespace = \"\")\n long arg7,\n @WebParam(name = \"arg8\", targetNamespace = \"\")\n int arg8,\n @WebParam(name = \"arg9\", targetNamespace = \"\")\n int arg9);\n\n /**\n * \n * @param arg5\n * @param arg4\n * @param arg3\n * @param arg2\n * @param arg1\n * @param arg0\n * @param arg10\n * @param arg6\n * @param arg7\n * @param arg8\n * @param arg9\n * @return\n * returns com.woolpert.safe.webservices.ReturnStatus\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"updateCollection\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.UpdateCollection\")\n @ResponseWrapper(localName = \"updateCollectionResponse\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.UpdateCollectionResponse\")\n public ReturnStatus updateCollection(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n int arg0,\n @WebParam(name = \"arg1\", targetNamespace = \"\")\n String arg1,\n @WebParam(name = \"arg2\", targetNamespace = \"\")\n String arg2,\n @WebParam(name = \"arg3\", targetNamespace = \"\")\n double arg3,\n @WebParam(name = \"arg4\", targetNamespace = \"\")\n double arg4,\n @WebParam(name = \"arg5\", targetNamespace = \"\")\n double arg5,\n @WebParam(name = \"arg6\", targetNamespace = \"\")\n double arg6,\n @WebParam(name = \"arg7\", targetNamespace = \"\")\n long arg7,\n @WebParam(name = \"arg8\", targetNamespace = \"\")\n long arg8,\n @WebParam(name = \"arg9\", targetNamespace = \"\")\n int arg9,\n @WebParam(name = \"arg10\", targetNamespace = \"\")\n int arg10);\n\n /**\n * \n * @param arg0\n * @return\n * returns com.woolpert.safe.webservices.ReturnStatus\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"deleteCollections\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.DeleteCollections\")\n @ResponseWrapper(localName = \"deleteCollectionsResponse\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.DeleteCollectionsResponse\")\n public ReturnStatus deleteCollections(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n int arg0);\n\n /**\n * \n * @return\n * returns java.util.List<com.woolpert.safe.webservices.Asset>\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getAssets\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.GetAssets\")\n @ResponseWrapper(localName = \"getAssetsResponse\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.GetAssetsResponse\")\n public List<Asset> getAssets();\n\n /**\n * \n * @param arg5\n * @param arg4\n * @param arg3\n * @param arg2\n * @param arg1\n * @param arg0\n * @param arg6\n * @param arg7\n * @return\n * returns com.woolpert.safe.webservices.ReturnStatus\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"insertAsset\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.InsertAsset\")\n @ResponseWrapper(localName = \"insertAssetResponse\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.InsertAssetResponse\")\n public ReturnStatus insertAsset(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n String arg0,\n @WebParam(name = \"arg1\", targetNamespace = \"\")\n String arg1,\n @WebParam(name = \"arg2\", targetNamespace = \"\")\n int arg2,\n @WebParam(name = \"arg3\", targetNamespace = \"\")\n double arg3,\n @WebParam(name = \"arg4\", targetNamespace = \"\")\n double arg4,\n @WebParam(name = \"arg5\", targetNamespace = \"\")\n double arg5,\n @WebParam(name = \"arg6\", targetNamespace = \"\")\n int arg6,\n @WebParam(name = \"arg7\", targetNamespace = \"\")\n long arg7);\n\n /**\n * \n * @param arg5\n * @param arg4\n * @param arg3\n * @param arg2\n * @param arg1\n * @param arg0\n * @param arg6\n * @param arg7\n * @param arg8\n * @return\n * returns com.woolpert.safe.webservices.ReturnStatus\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"updateAsset\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.UpdateAsset\")\n @ResponseWrapper(localName = \"updateAssetResponse\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.UpdateAssetResponse\")\n public ReturnStatus updateAsset(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n int arg0,\n @WebParam(name = \"arg1\", targetNamespace = \"\")\n String arg1,\n @WebParam(name = \"arg2\", targetNamespace = \"\")\n String arg2,\n @WebParam(name = \"arg3\", targetNamespace = \"\")\n int arg3,\n @WebParam(name = \"arg4\", targetNamespace = \"\")\n double arg4,\n @WebParam(name = \"arg5\", targetNamespace = \"\")\n double arg5,\n @WebParam(name = \"arg6\", targetNamespace = \"\")\n double arg6,\n @WebParam(name = \"arg7\", targetNamespace = \"\")\n int arg7,\n @WebParam(name = \"arg8\", targetNamespace = \"\")\n long arg8);\n\n /**\n * \n * @param arg0\n * @return\n * returns com.woolpert.safe.webservices.ReturnStatus\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"deleteAsset\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.DeleteAsset\")\n @ResponseWrapper(localName = \"deleteAssetResponse\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.DeleteAssetResponse\")\n public ReturnStatus deleteAsset(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n int arg0);\n\n /**\n * \n * @return\n * returns java.util.List<com.woolpert.safe.webservices.Platform>\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getPlatforms\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.GetPlatforms\")\n @ResponseWrapper(localName = \"getPlatformsResponse\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.GetPlatformsResponse\")\n public List<Platform> getPlatforms();\n\n /**\n * \n * @param arg3\n * @param arg2\n * @param arg1\n * @param arg0\n * @return\n * returns com.woolpert.safe.webservices.ReturnStatus\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"updatePlatform\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.UpdatePlatform\")\n @ResponseWrapper(localName = \"updatePlatformResponse\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.UpdatePlatformResponse\")\n public ReturnStatus updatePlatform(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n int arg0,\n @WebParam(name = \"arg1\", targetNamespace = \"\")\n String arg1,\n @WebParam(name = \"arg2\", targetNamespace = \"\")\n String arg2,\n @WebParam(name = \"arg3\", targetNamespace = \"\")\n Boolean arg3);\n\n /**\n * \n * @param arg0\n * @return\n * returns com.woolpert.safe.webservices.ReturnStatus\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"deletePlatform\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.DeletePlatform\")\n @ResponseWrapper(localName = \"deletePlatformResponse\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.DeletePlatformResponse\")\n public ReturnStatus deletePlatform(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n int arg0);\n\n /**\n * \n * @param arg2\n * @param arg1\n * @param arg0\n * @return\n * returns com.woolpert.safe.webservices.ReturnStatus\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"insertPlatform\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.InsertPlatform\")\n @ResponseWrapper(localName = \"insertPlatformResponse\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.InsertPlatformResponse\")\n public ReturnStatus insertPlatform(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n String arg0,\n @WebParam(name = \"arg1\", targetNamespace = \"\")\n String arg1,\n @WebParam(name = \"arg2\", targetNamespace = \"\")\n Boolean arg2);\n\n /**\n * \n * @return\n * returns java.util.List<com.woolpert.safe.webservices.Poc>\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getPOCs\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.GetPOCs\")\n @ResponseWrapper(localName = \"getPOCsResponse\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.GetPOCsResponse\")\n public List<Poc> getPOCs();\n\n /**\n * \n * @param arg5\n * @param arg4\n * @param arg3\n * @param arg2\n * @param arg1\n * @param arg0\n * @param arg6\n * @return\n * returns com.woolpert.safe.webservices.ReturnStatus\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"insertPOC\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.InsertPOC\")\n @ResponseWrapper(localName = \"insertPOCResponse\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.InsertPOCResponse\")\n public ReturnStatus insertPOC(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n String arg0,\n @WebParam(name = \"arg1\", targetNamespace = \"\")\n String arg1,\n @WebParam(name = \"arg2\", targetNamespace = \"\")\n int arg2,\n @WebParam(name = \"arg3\", targetNamespace = \"\")\n String arg3,\n @WebParam(name = \"arg4\", targetNamespace = \"\")\n String arg4,\n @WebParam(name = \"arg5\", targetNamespace = \"\")\n String arg5,\n @WebParam(name = \"arg6\", targetNamespace = \"\")\n String arg6);\n\n /**\n * \n * @param arg5\n * @param arg4\n * @param arg3\n * @param arg2\n * @param arg1\n * @param arg0\n * @param arg6\n * @param arg7\n * @return\n * returns com.woolpert.safe.webservices.ReturnStatus\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"updatePOC\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.UpdatePOC\")\n @ResponseWrapper(localName = \"updatePOCResponse\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.UpdatePOCResponse\")\n public ReturnStatus updatePOC(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n int arg0,\n @WebParam(name = \"arg1\", targetNamespace = \"\")\n String arg1,\n @WebParam(name = \"arg2\", targetNamespace = \"\")\n String arg2,\n @WebParam(name = \"arg3\", targetNamespace = \"\")\n int arg3,\n @WebParam(name = \"arg4\", targetNamespace = \"\")\n String arg4,\n @WebParam(name = \"arg5\", targetNamespace = \"\")\n String arg5,\n @WebParam(name = \"arg6\", targetNamespace = \"\")\n String arg6,\n @WebParam(name = \"arg7\", targetNamespace = \"\")\n String arg7);\n\n /**\n * \n * @param arg0\n * @return\n * returns com.woolpert.safe.webservices.ReturnStatus\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"deletePOC\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.DeletePOC\")\n @ResponseWrapper(localName = \"deletePOCResponse\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.DeletePOCResponse\")\n public ReturnStatus deletePOC(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n int arg0);\n\n /**\n * \n * @return\n * returns java.util.List<com.woolpert.safe.webservices.Organization>\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getOrganizations\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.GetOrganizations\")\n @ResponseWrapper(localName = \"getOrganizationsResponse\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.GetOrganizationsResponse\")\n public List<Organization> getOrganizations();\n\n /**\n * \n * @param arg2\n * @param arg1\n * @param arg0\n * @return\n * returns com.woolpert.safe.webservices.ReturnStatus\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"insertOrganization\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.InsertOrganization\")\n @ResponseWrapper(localName = \"insertOrganizationResponse\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.InsertOrganizationResponse\")\n public ReturnStatus insertOrganization(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n String arg0,\n @WebParam(name = \"arg1\", targetNamespace = \"\")\n String arg1,\n @WebParam(name = \"arg2\", targetNamespace = \"\")\n String arg2);\n\n /**\n * \n * @param arg3\n * @param arg2\n * @param arg1\n * @param arg0\n * @return\n * returns com.woolpert.safe.webservices.ReturnStatus\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"updateOrganization\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.UpdateOrganization\")\n @ResponseWrapper(localName = \"updateOrganizationResponse\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.UpdateOrganizationResponse\")\n public ReturnStatus updateOrganization(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n int arg0,\n @WebParam(name = \"arg1\", targetNamespace = \"\")\n String arg1,\n @WebParam(name = \"arg2\", targetNamespace = \"\")\n String arg2,\n @WebParam(name = \"arg3\", targetNamespace = \"\")\n String arg3);\n\n /**\n * \n * @param arg0\n * @return\n * returns com.woolpert.safe.webservices.ReturnStatus\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"deleteOrganization\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.DeleteOrganization\")\n @ResponseWrapper(localName = \"deleteOrganizationResponse\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.DeleteOrganizationResponse\")\n public ReturnStatus deleteOrganization(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n int arg0);\n\n /**\n * \n * @return\n * returns java.util.List<com.woolpert.safe.webservices.SensorMFR>\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getSensorMFRs\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.GetSensorMFRs\")\n @ResponseWrapper(localName = \"getSensorMFRsResponse\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.GetSensorMFRsResponse\")\n public List<SensorMFR> getSensorMFRs();\n\n /**\n * \n * @param arg1\n * @param arg0\n * @return\n * returns com.woolpert.safe.webservices.ReturnStatus\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"insertSensorMFR\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.InsertSensorMFR\")\n @ResponseWrapper(localName = \"insertSensorMFRResponse\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.InsertSensorMFRResponse\")\n public ReturnStatus insertSensorMFR(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n String arg0,\n @WebParam(name = \"arg1\", targetNamespace = \"\")\n String arg1);\n\n /**\n * \n * @param arg2\n * @param arg1\n * @param arg0\n * @return\n * returns com.woolpert.safe.webservices.ReturnStatus\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"updateSensorMFR\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.UpdateSensorMFR\")\n @ResponseWrapper(localName = \"updateSensorMFRResponse\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.UpdateSensorMFRResponse\")\n public ReturnStatus updateSensorMFR(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n int arg0,\n @WebParam(name = \"arg1\", targetNamespace = \"\")\n String arg1,\n @WebParam(name = \"arg2\", targetNamespace = \"\")\n String arg2);\n\n /**\n * \n * @param arg0\n * @return\n * returns com.woolpert.safe.webservices.ReturnStatus\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"deleteSensorMFR\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.DeleteSensorMFR\")\n @ResponseWrapper(localName = \"deleteSensorMFRResponse\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.DeleteSensorMFRResponse\")\n public ReturnStatus deleteSensorMFR(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n int arg0);\n\n /**\n * \n * @return\n * returns java.util.List<com.woolpert.safe.webservices.Sensor>\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getSensors\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.GetSensors\")\n @ResponseWrapper(localName = \"getSensorsResponse\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.GetSensorsResponse\")\n public List<Sensor> getSensors();\n\n /**\n * \n * @param arg5\n * @param arg4\n * @param arg3\n * @param arg2\n * @param arg1\n * @param arg0\n * @param arg6\n * @param arg7\n * @param arg8\n * @param arg9\n * @return\n * returns com.woolpert.safe.webservices.ReturnStatus\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"insertSensor\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.InsertSensor\")\n @ResponseWrapper(localName = \"insertSensorResponse\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.InsertSensorResponse\")\n public ReturnStatus insertSensor(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n int arg0,\n @WebParam(name = \"arg1\", targetNamespace = \"\")\n String arg1,\n @WebParam(name = \"arg2\", targetNamespace = \"\")\n String arg2,\n @WebParam(name = \"arg3\", targetNamespace = \"\")\n int arg3,\n @WebParam(name = \"arg4\", targetNamespace = \"\")\n int arg4,\n @WebParam(name = \"arg5\", targetNamespace = \"\")\n double arg5,\n @WebParam(name = \"arg6\", targetNamespace = \"\")\n double arg6,\n @WebParam(name = \"arg7\", targetNamespace = \"\")\n double arg7,\n @WebParam(name = \"arg8\", targetNamespace = \"\")\n int arg8,\n @WebParam(name = \"arg9\", targetNamespace = \"\")\n long arg9);\n\n /**\n * \n * @param arg0\n * @return\n * returns com.woolpert.safe.webservices.ReturnStatus\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"deleteSensor\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.DeleteSensor\")\n @ResponseWrapper(localName = \"deleteSensorResponse\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.DeleteSensorResponse\")\n public ReturnStatus deleteSensor(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n int arg0);\n\n /**\n * \n * @param arg5\n * @param arg4\n * @param arg3\n * @param arg2\n * @param arg1\n * @param arg0\n * @param arg10\n * @param arg6\n * @param arg7\n * @param arg8\n * @param arg9\n * @return\n * returns com.woolpert.safe.webservices.ReturnStatus\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"updateSensor\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.UpdateSensor\")\n @ResponseWrapper(localName = \"updateSensorResponse\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.UpdateSensorResponse\")\n public ReturnStatus updateSensor(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n int arg0,\n @WebParam(name = \"arg1\", targetNamespace = \"\")\n int arg1,\n @WebParam(name = \"arg2\", targetNamespace = \"\")\n String arg2,\n @WebParam(name = \"arg3\", targetNamespace = \"\")\n String arg3,\n @WebParam(name = \"arg4\", targetNamespace = \"\")\n int arg4,\n @WebParam(name = \"arg5\", targetNamespace = \"\")\n int arg5,\n @WebParam(name = \"arg6\", targetNamespace = \"\")\n double arg6,\n @WebParam(name = \"arg7\", targetNamespace = \"\")\n double arg7,\n @WebParam(name = \"arg8\", targetNamespace = \"\")\n double arg8,\n @WebParam(name = \"arg9\", targetNamespace = \"\")\n int arg9,\n @WebParam(name = \"arg10\", targetNamespace = \"\")\n long arg10);\n\n /**\n * \n * @return\n * returns java.util.List<com.woolpert.safe.webservices.Spectrum>\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getSpectrums\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.GetSpectrums\")\n @ResponseWrapper(localName = \"getSpectrumsResponse\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.GetSpectrumsResponse\")\n public List<Spectrum> getSpectrums();\n\n /**\n * \n * @param arg1\n * @param arg0\n * @return\n * returns com.woolpert.safe.webservices.ReturnStatus\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"insertSpectrum\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.InsertSpectrum\")\n @ResponseWrapper(localName = \"insertSpectrumResponse\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.InsertSpectrumResponse\")\n public ReturnStatus insertSpectrum(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n String arg0,\n @WebParam(name = \"arg1\", targetNamespace = \"\")\n String arg1);\n\n /**\n * \n * @param arg2\n * @param arg1\n * @param arg0\n * @return\n * returns com.woolpert.safe.webservices.ReturnStatus\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"updateSpectrum\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.UpdateSpectrum\")\n @ResponseWrapper(localName = \"updateSpectrumResponse\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.UpdateSpectrumResponse\")\n public ReturnStatus updateSpectrum(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n int arg0,\n @WebParam(name = \"arg1\", targetNamespace = \"\")\n String arg1,\n @WebParam(name = \"arg2\", targetNamespace = \"\")\n String arg2);\n\n /**\n * \n * @param arg0\n * @return\n * returns com.woolpert.safe.webservices.ReturnStatus\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"deleteSpectrum\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.DeleteSpectrum\")\n @ResponseWrapper(localName = \"deleteSpectrumResponse\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.DeleteSpectrumResponse\")\n public ReturnStatus deleteSpectrum(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n int arg0);\n\n /**\n * \n * @return\n * returns java.util.List<com.woolpert.safe.webservices.SensorMetadata>\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getAllSensorMetadata\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.GetAllSensorMetadata\")\n @ResponseWrapper(localName = \"getAllSensorMetadataResponse\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.GetAllSensorMetadataResponse\")\n public List<SensorMetadata> getAllSensorMetadata();\n\n /**\n * \n * @param arg1\n * @param arg0\n * @return\n * returns com.woolpert.safe.webservices.ReturnStatus\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"insertSensorMetadata\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.InsertSensorMetadata\")\n @ResponseWrapper(localName = \"insertSensorMetadataResponse\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.InsertSensorMetadataResponse\")\n public ReturnStatus insertSensorMetadata(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n String arg0,\n @WebParam(name = \"arg1\", targetNamespace = \"\")\n String arg1);\n\n /**\n * \n * @param arg2\n * @param arg1\n * @param arg0\n * @return\n * returns com.woolpert.safe.webservices.ReturnStatus\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"updateSensorMetadata\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.UpdateSensorMetadata\")\n @ResponseWrapper(localName = \"updateSensorMetadataResponse\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.UpdateSensorMetadataResponse\")\n public ReturnStatus updateSensorMetadata(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n int arg0,\n @WebParam(name = \"arg1\", targetNamespace = \"\")\n String arg1,\n @WebParam(name = \"arg2\", targetNamespace = \"\")\n String arg2);\n\n /**\n * \n * @param arg0\n * @return\n * returns com.woolpert.safe.webservices.ReturnStatus\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"deleteSensorMetadata\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.DeleteSensorMetadata\")\n @ResponseWrapper(localName = \"deleteSensorMetadataResponse\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.DeleteSensorMetadataResponse\")\n public ReturnStatus deleteSensorMetadata(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n int arg0);\n\n /**\n * \n * @param arg1\n * @param arg0\n * @return\n * returns com.woolpert.safe.webservices.ReturnStatus\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"addSensorToAsset\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.AddSensorToAsset\")\n @ResponseWrapper(localName = \"addSensorToAssetResponse\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.AddSensorToAssetResponse\")\n public ReturnStatus addSensorToAsset(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n int arg0,\n @WebParam(name = \"arg1\", targetNamespace = \"\")\n int arg1);\n\n /**\n * \n * @param arg0\n * @return\n * returns java.util.List<com.woolpert.safe.webservices.Sensor>\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getSensorsForAsset\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.GetSensorsForAsset\")\n @ResponseWrapper(localName = \"getSensorsForAssetResponse\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.GetSensorsForAssetResponse\")\n public List<Sensor> getSensorsForAsset(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n int arg0);\n\n /**\n * \n * @param arg1\n * @param arg0\n * @return\n * returns com.woolpert.safe.webservices.ReturnStatus\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"addAssetToSensor\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.AddAssetToSensor\")\n @ResponseWrapper(localName = \"addAssetToSensorResponse\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.AddAssetToSensorResponse\")\n public ReturnStatus addAssetToSensor(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n int arg0,\n @WebParam(name = \"arg1\", targetNamespace = \"\")\n int arg1);\n\n /**\n * \n * @param arg0\n * @return\n * returns java.util.List<com.woolpert.safe.webservices.Asset>\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getAssetsForSensor\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.GetAssetsForSensor\")\n @ResponseWrapper(localName = \"getAssetsForSensorResponse\", targetNamespace = \"http://webservices.safe.woolpert.com/\", className = \"com.woolpert.safe.webservices.GetAssetsForSensorResponse\")\n public List<Asset> getAssetsForSensor(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n int arg0);\n\n}", "@WebService(name = \"BillingService\", targetNamespace = \"http://billing.jaxws.bt.com/\")\n@HandlerChain(file = \"BillingService_handler.xml\")\n@SOAPBinding(style = SOAPBinding.Style.RPC)\n@XmlSeeAlso({\n com.bt.jaxb.model.ObjectFactory.class,\n com.bt.jaxws.billing.ObjectFactory.class\n})\npublic interface BillingService {\n\n\n /**\n * \n * @param arg1\n * @param arg0\n * @return\n * returns javax.xml.ws.Response<com.bt.jaxws.billing.Invoice>\n */\n @WebMethod(operationName = \"getInvoice\")\n public Response<Invoice> getInvoiceAsync(\n @WebParam(name = \"arg0\", partName = \"arg0\")\n Customer arg0,\n @WebParam(name = \"arg1\", partName = \"arg1\")\n String arg1);\n\n /**\n * \n * @param arg1\n * @param arg0\n * @param asyncHandler\n * @return\n * returns java.util.concurrent.Future<? extends java.lang.Object>\n */\n @WebMethod(operationName = \"getInvoice\")\n public Future<?> getInvoiceAsync(\n @WebParam(name = \"arg0\", partName = \"arg0\")\n Customer arg0,\n @WebParam(name = \"arg1\", partName = \"arg1\")\n String arg1,\n @WebParam(name = \"asyncHandler\", partName = \"asyncHandler\")\n AsyncHandler<Invoice> asyncHandler);\n\n /**\n * \n * @param arg1\n * @param arg0\n * @return\n * returns com.bt.jaxws.billing.Invoice\n * @throws InvalidCustomerException_Exception\n */\n @WebMethod\n @WebResult(partName = \"return\")\n @Action(input = \"http://billing.jaxws.bt.com/BillingService/getInvoiceRequest\", output = \"http://billing.jaxws.bt.com/BillingService/getInvoiceResponse\", fault = {\n @FaultAction(className = InvalidCustomerException_Exception.class, value = \"http://billing.jaxws.bt.com/BillingService/getInvoice/Fault/InvalidCustomerException\")\n })\n public Invoice getInvoice(\n @WebParam(name = \"arg0\", partName = \"arg0\")\n Customer arg0,\n @WebParam(name = \"arg1\", partName = \"arg1\")\n String arg1)\n throws InvalidCustomerException_Exception\n ;\n\n}", "@WebService(name = \"TTTWebService\", targetNamespace = \"http://server.james.ttt/\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface TTTWebService {\n\n\n /**\n * \n * @param password\n * @param surname\n * @param name\n * @param username\n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"register\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.Register\")\n @ResponseWrapper(localName = \"registerResponse\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.RegisterResponse\")\n @Action(input = \"http://server.james.ttt/TTTWebService/registerRequest\", output = \"http://server.james.ttt/TTTWebService/registerResponse\")\n public String register(\n @WebParam(name = \"username\", targetNamespace = \"\")\n String username,\n @WebParam(name = \"password\", targetNamespace = \"\")\n String password,\n @WebParam(name = \"name\", targetNamespace = \"\")\n String name,\n @WebParam(name = \"surname\", targetNamespace = \"\")\n String surname);\n\n /**\n * \n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"test\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.Test\")\n @ResponseWrapper(localName = \"testResponse\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.TestResponse\")\n @Action(input = \"http://server.james.ttt/TTTWebService/testRequest\", output = \"http://server.james.ttt/TTTWebService/testResponse\")\n public String test();\n\n /**\n * \n * @param uid\n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"newGame\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.NewGame\")\n @ResponseWrapper(localName = \"newGameResponse\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.NewGameResponse\")\n @Action(input = \"http://server.james.ttt/TTTWebService/newGameRequest\", output = \"http://server.james.ttt/TTTWebService/newGameResponse\")\n public String newGame(\n @WebParam(name = \"uid\", targetNamespace = \"\")\n int uid);\n\n /**\n * \n * @param uid\n * @param gid\n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"joinGame\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.JoinGame\")\n @ResponseWrapper(localName = \"joinGameResponse\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.JoinGameResponse\")\n @Action(input = \"http://server.james.ttt/TTTWebService/joinGameRequest\", output = \"http://server.james.ttt/TTTWebService/joinGameResponse\")\n public String joinGame(\n @WebParam(name = \"uid\", targetNamespace = \"\")\n int uid,\n @WebParam(name = \"gid\", targetNamespace = \"\")\n int gid);\n\n /**\n * \n * @param gid\n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getGameState\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.GetGameState\")\n @ResponseWrapper(localName = \"getGameStateResponse\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.GetGameStateResponse\")\n @Action(input = \"http://server.james.ttt/TTTWebService/getGameStateRequest\", output = \"http://server.james.ttt/TTTWebService/getGameStateResponse\")\n public String getGameState(\n @WebParam(name = \"gid\", targetNamespace = \"\")\n int gid);\n\n /**\n * \n * @param gid\n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getBoard\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.GetBoard\")\n @ResponseWrapper(localName = \"getBoardResponse\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.GetBoardResponse\")\n @Action(input = \"http://server.james.ttt/TTTWebService/getBoardRequest\", output = \"http://server.james.ttt/TTTWebService/getBoardResponse\")\n public String getBoard(\n @WebParam(name = \"gid\", targetNamespace = \"\")\n int gid);\n\n /**\n * \n * @param gid\n * @param gstate\n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"setGameState\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.SetGameState\")\n @ResponseWrapper(localName = \"setGameStateResponse\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.SetGameStateResponse\")\n @Action(input = \"http://server.james.ttt/TTTWebService/setGameStateRequest\", output = \"http://server.james.ttt/TTTWebService/setGameStateResponse\")\n public String setGameState(\n @WebParam(name = \"gid\", targetNamespace = \"\")\n int gid,\n @WebParam(name = \"gstate\", targetNamespace = \"\")\n int gstate);\n\n /**\n * \n * @param uid\n * @param gid\n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"deleteGame\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.DeleteGame\")\n @ResponseWrapper(localName = \"deleteGameResponse\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.DeleteGameResponse\")\n @Action(input = \"http://server.james.ttt/TTTWebService/deleteGameRequest\", output = \"http://server.james.ttt/TTTWebService/deleteGameResponse\")\n public String deleteGame(\n @WebParam(name = \"gid\", targetNamespace = \"\")\n int gid,\n @WebParam(name = \"uid\", targetNamespace = \"\")\n int uid);\n\n /**\n * \n * @param uid\n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"showMyOpenGames\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.ShowMyOpenGames\")\n @ResponseWrapper(localName = \"showMyOpenGamesResponse\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.ShowMyOpenGamesResponse\")\n @Action(input = \"http://server.james.ttt/TTTWebService/showMyOpenGamesRequest\", output = \"http://server.james.ttt/TTTWebService/showMyOpenGamesResponse\")\n public String showMyOpenGames(\n @WebParam(name = \"uid\", targetNamespace = \"\")\n int uid);\n\n /**\n * \n * @param gid\n * @param x\n * @param y\n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"checkSquare\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.CheckSquare\")\n @ResponseWrapper(localName = \"checkSquareResponse\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.CheckSquareResponse\")\n @Action(input = \"http://server.james.ttt/TTTWebService/checkSquareRequest\", output = \"http://server.james.ttt/TTTWebService/checkSquareResponse\")\n public String checkSquare(\n @WebParam(name = \"x\", targetNamespace = \"\")\n int x,\n @WebParam(name = \"y\", targetNamespace = \"\")\n int y,\n @WebParam(name = \"gid\", targetNamespace = \"\")\n int gid);\n\n /**\n * \n * @param gid\n * @param x\n * @param y\n * @param pid\n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"takeSquare\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.TakeSquare\")\n @ResponseWrapper(localName = \"takeSquareResponse\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.TakeSquareResponse\")\n @Action(input = \"http://server.james.ttt/TTTWebService/takeSquareRequest\", output = \"http://server.james.ttt/TTTWebService/takeSquareResponse\")\n public String takeSquare(\n @WebParam(name = \"x\", targetNamespace = \"\")\n int x,\n @WebParam(name = \"y\", targetNamespace = \"\")\n int y,\n @WebParam(name = \"gid\", targetNamespace = \"\")\n int gid,\n @WebParam(name = \"pid\", targetNamespace = \"\")\n int pid);\n\n /**\n * \n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"leagueTable\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.LeagueTable\")\n @ResponseWrapper(localName = \"leagueTableResponse\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.LeagueTableResponse\")\n @Action(input = \"http://server.james.ttt/TTTWebService/leagueTableRequest\", output = \"http://server.james.ttt/TTTWebService/leagueTableResponse\")\n public String leagueTable();\n\n /**\n * \n * @param uid\n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"showAllMyGames\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.ShowAllMyGames\")\n @ResponseWrapper(localName = \"showAllMyGamesResponse\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.ShowAllMyGamesResponse\")\n @Action(input = \"http://server.james.ttt/TTTWebService/showAllMyGamesRequest\", output = \"http://server.james.ttt/TTTWebService/showAllMyGamesResponse\")\n public String showAllMyGames(\n @WebParam(name = \"uid\", targetNamespace = \"\")\n int uid);\n\n /**\n * \n * @param gid\n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"checkWin\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.CheckWin\")\n @ResponseWrapper(localName = \"checkWinResponse\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.CheckWinResponse\")\n @Action(input = \"http://server.james.ttt/TTTWebService/checkWinRequest\", output = \"http://server.james.ttt/TTTWebService/checkWinResponse\")\n public String checkWin(\n @WebParam(name = \"gid\", targetNamespace = \"\")\n int gid);\n\n /**\n * \n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"showOpenGames\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.ShowOpenGames\")\n @ResponseWrapper(localName = \"showOpenGamesResponse\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.ShowOpenGamesResponse\")\n @Action(input = \"http://server.james.ttt/TTTWebService/showOpenGamesRequest\", output = \"http://server.james.ttt/TTTWebService/showOpenGamesResponse\")\n public String showOpenGames();\n\n /**\n * \n * @param password\n * @param username\n * @return\n * returns int\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"login\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.Login\")\n @ResponseWrapper(localName = \"loginResponse\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.LoginResponse\")\n @Action(input = \"http://server.james.ttt/TTTWebService/loginRequest\", output = \"http://server.james.ttt/TTTWebService/loginResponse\")\n public int login(\n @WebParam(name = \"username\", targetNamespace = \"\")\n String username,\n @WebParam(name = \"password\", targetNamespace = \"\")\n String password);\n\n}", "@WebService\npublic interface MessageService extends Serializable{\n\n /**\n * Sends messages to registered patients\n *\n * @param messages List of messages to be sent\n */\n @WebMethod\n public void sendPatientMessages(@WebParam(name=\"messages\") PatientMessage[] messages);\n\t\n /**\n * Sends a message to a registered patient\n *\n * @param messageId Id of the message to send\n * @param personalInfo List of name value pairs containing patient information\n * @param patientNumber Patient mobile contact number\n * @param patientNumberType Type of contact number. Possible values include PERSONAL, SHARED\n * @param langCode Code representing preferred communication language\n * @param mediaType Patient's preferred communication medium\n * @param notificationType Type of message to send to patient\n * @param startDate Date to begin message sending attempts\n * @param endDate Date to stop message sending attempts\n * @param recipientId String unique identifier of the recipient\n * @return The status of the message\n */\n @WebMethod\n public MessageStatus sendPatientMessage(@WebParam(name=\"messageId\") String messageId, \n \t\t\t\t\t\t\t\t\t\t@WebParam(name=\"personalInfo\") NameValuePair[] personalInfo, \n \t\t\t\t\t\t\t\t\t\t@WebParam(name=\"patientNumber\") String patientNumber, \n \t\t\t\t\t\t\t\t\t\t@WebParam(name=\"patientNumberType\") ContactNumberType patientNumberType, \n \t\t\t\t\t\t\t\t\t\t@WebParam(name=\"langCode\") String langCode, \n \t\t\t\t\t\t\t\t\t\t@WebParam(name=\"mediaType\") MediaType mediaType, \n \t\t\t\t\t\t\t\t\t\t@WebParam(name=\"notificationType\") Long notificationType, \n \t\t\t\t\t\t\t\t\t\t@WebParam(name=\"startDate\")Date startDate, \n \t\t\t\t\t\t\t\t\t\t@WebParam(name=\"endDate\")Date endDate,\n \t\t\t\t\t\t\t\t\t\t@WebParam(name=\"recipientId\")String recipientId);\n\n /**\n * Sends a message to a registered CHPS worker\n *\n * @param messageId Id of the message to send\n * @param personalInfo List of name value pairs containing patient information\n * @param workerNumber CHPS worker's mobile contact number\n * @param patients A List of patients requiring service from CHPS worker\n * @param langCode Code representing preferred communication language\n * @param mediaType Patient's preferred communication medium\n * @param notificationType Type of message to send to patient\n * @param startDate Date to begin message sending attempts\n * @param endDate Date to stop message sending attempts\n * @return The status of the message\n */\n @WebMethod\n public MessageStatus sendCHPSMessage(@WebParam(name=\"messageId\") String messageId, @WebParam(name=\"personalInfo\") NameValuePair[] personalInfo, @WebParam(name=\"workerNumber\") String workerNumber, @WebParam(name=\"patients\") Patient[] patients, @WebParam(name=\"langCode\") String langCode, @WebParam(name=\"mediaType\") MediaType mediaType, @WebParam(name=\"notificationType\") Long notificationType, @WebParam(name=\"startDate\")Date startDate, @WebParam(name=\"endDate\")Date endDate);\n\n /**\n * Sends a list of care defaulters to a CHPS worker\n *\n * @param messageId Id of the message to send\n * @param workerNumber CHPS worker's mobile contact number\n * @param cares List of patient care options which have defaulters\n * @param mediaType Patient's preferred communication medium\n * @param startDate Date to begin message sending attempts\n * @param endDate Date to stop message sending attempts\n * @return The status of the message\n */\n @WebMethod\n public MessageStatus sendDefaulterMessage(@WebParam(name = \"messageId\") String messageId,\n @WebParam(name = \"workerNumber\") String workerNumber,\n @WebParam(name = \"cares\") Care[] cares,\n @WebParam(name = \"media\") MediaType mediaType,\n @WebParam(name = \"startDate\") Date startDate,\n @WebParam(name = \"endDate\") Date endDate);\n\n /**\n * Sends a list of patients within a delivery schedule to a CHPS worker\n *\n * @param messageId Id of the message to send\n * @param workerNumber CHPS worker's mobile contact number\n * @param patients List of patients with matching delivery status\n * @param deliveryStatus Status of patient delivery. Expected values are 'Upcoming', 'Recent' and 'Overdue'\n * @param mediaType Patient's preferred communication medium\n * @param startDate Date to begin message sending attempts\n * @param endDate Date to stop message sending attempts\n * @return The status of the message\n */\n @WebMethod\n public MessageStatus sendDeliveriesMessage(@WebParam(name = \"messageId\") String messageId,\n @WebParam(name = \"workerNumber\") String workerNumber,\n @WebParam(name = \"patients\") Patient[] patients,\n @WebParam(name = \"deliveryStatus\") String deliveryStatus,\n @WebParam(name = \"mediaType\") MediaType mediaType,\n @WebParam(name = \"startDate\") Date startDate,\n @WebParam(name = \"endDate\") Date endDate);\n\n /**\n * Sends a list of upcoming care for a particular patient to a CHPS worker\n *\n * @param messageId Id of the message to send\n * @param workerNumber CHPS worker's mobile contact number\n * @param patient patient due for care\n * @param mediaType Patient's preferred communication medium\n * @param startDate Date to begin message sending attempts\n * @param endDate Date to stop message sending attempts\n * @return The status of the message\n */\n @WebMethod\n public MessageStatus sendUpcomingCaresMessage(@WebParam(name = \"messageId\") String messageId,\n @WebParam(name = \"workerNumber\") String workerNumber,\n @WebParam(name = \"patient\") Patient patient,\n @WebParam(name = \"mediaType\") MediaType mediaType,\n @WebParam(name = \"startDate\") Date startDate,\n @WebParam(name = \"endDate\") Date endDate);\n\n /**\n * Sends an SMS message\n *\n * @param content the message to send\n * @param recipient the phone number to receive the message\n * @return\n */\n @WebMethod\n public MessageStatus sendMessage(@WebParam(name = \"content\") String content,\n @WebParam(name = \"recipient\") String recipient);\n\n /**\n * Sends multiple upcoming care messages to a CHPS worker\n *\n * @param messageId Id of the message to send\n * @param workerNumber CHPS worker's mobile contact number\n * @param cares List of upcoming care\n * @param mediaType Patient's preferred communication medium\n * @param startDate Date to begin message sending attempts\n * @param endDate Date to stop message sending attempts\n * @return The status of the message\n */\n @WebMethod\n public MessageStatus sendBulkCaresMessage(@WebParam(name = \"messageId\") String messageId,\n @WebParam(name = \"workerNumber\") String workerNumber,\n @WebParam(name = \"patient\") Care[] cares,\n @WebParam(name = \"mediaType\") MediaType mediaType,\n @WebParam(name = \"startDate\") Date startDate,\n @WebParam(name = \"endDate\") Date endDate);\n}", "@WebService(targetNamespace = \"http://www.example.org/s2/\", name = \"s2\")\n@XmlSeeAlso({ObjectFactory.class})\n@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)\npublic interface S2 {\n\n @WebMethod(operationName = \"S2Operation\", action = \"http://www.example.org/s2/S2Operation\")\n @WebResult(name = \"FulfillmentResponse\", targetNamespace = \"http://www.example.org/s2/\", partName = \"parameters\")\n public FulfillmentResponse s2Operation(\n @WebParam(partName = \"parameters\", name = \"FulfillmentRequest\", targetNamespace = \"http://www.example.org/s2/\")\n FulfillmentRequest parameters\n );\n}", "@WebService(name = \"CompeticionesWS\", targetNamespace = \"http://WebServices/\")\n@SOAPBinding(style = SOAPBinding.Style.RPC)\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface CompeticionesWS {\n\n\n /**\n * \n * @param arg2\n * @param arg1\n * @param arg0\n * @return\n * returns WebServices.CompeticionesWS.DataPartido\n * @throws ExNoExistePartidoEnCompeticion_Exception\n * @throws ExNoExisteCompeticion_Exception\n */\n @WebMethod\n @WebResult(partName = \"return\")\n public DataPartido seleccionarPartido(\n @WebParam(name = \"arg0\", partName = \"arg0\")\n String arg0,\n @WebParam(name = \"arg1\", partName = \"arg1\")\n int arg1,\n @WebParam(name = \"arg2\", partName = \"arg2\")\n int arg2)\n throws ExNoExisteCompeticion_Exception, ExNoExistePartidoEnCompeticion_Exception\n ;\n\n /**\n * \n * @param arg0\n * @return\n * returns WebServices.CompeticionesWS.ListBeanEquipo\n */\n @WebMethod\n @WebResult(partName = \"return\")\n public ListBeanEquipo listarEquipos(\n @WebParam(name = \"arg0\", partName = \"arg0\")\n String arg0);\n\n /**\n * \n * @param arg0\n * @return\n * returns WebServices.CompeticionesWS.ListBean\n */\n @WebMethod\n @WebResult(partName = \"return\")\n public ListBean listaJugadores(\n @WebParam(name = \"arg0\", partName = \"arg0\")\n String arg0);\n\n /**\n * \n * @param arg0\n * @return\n * returns WebServices.CompeticionesWS.ListBean\n */\n @WebMethod\n @WebResult(partName = \"return\")\n public ListBean listarCompetencias(\n @WebParam(name = \"arg0\", partName = \"arg0\")\n String arg0);\n\n /**\n * \n * @param arg1\n * @param arg0\n * @return\n * returns WebServices.CompeticionesWS.DataJugador\n * @throws ExNoExisteJugador_Exception\n */\n @WebMethod\n @WebResult(partName = \"return\")\n public DataJugador seleccionarJugador(\n @WebParam(name = \"arg0\", partName = \"arg0\")\n String arg0,\n @WebParam(name = \"arg1\", partName = \"arg1\")\n int arg1)\n throws ExNoExisteJugador_Exception\n ;\n\n /**\n * \n * @param arg1\n * @param arg0\n * @return\n * returns WebServices.CompeticionesWS.DataCompeticion\n * @throws ExNoExisteCompeticion_Exception\n */\n @WebMethod\n @WebResult(partName = \"return\")\n public DataCompeticion verInfoCompeticion(\n @WebParam(name = \"arg0\", partName = \"arg0\")\n String arg0,\n @WebParam(name = \"arg1\", partName = \"arg1\")\n int arg1)\n throws ExNoExisteCompeticion_Exception\n ;\n\n /**\n * \n * @param arg0\n */\n @WebMethod\n public void finalizarVerDetallesComp(\n @WebParam(name = \"arg0\", partName = \"arg0\")\n String arg0);\n\n /**\n * \n * @param arg1\n * @param arg0\n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(partName = \"return\")\n public String getImagePath(\n @WebParam(name = \"arg0\", partName = \"arg0\")\n String arg0,\n @WebParam(name = \"arg1\", partName = \"arg1\")\n int arg1);\n\n /**\n * \n * @param arg0\n */\n @WebMethod\n public void agregarCompeticionSesion(\n @WebParam(name = \"arg0\", partName = \"arg0\")\n String arg0);\n\n /**\n * \n * @param arg1\n * @param arg0\n * @return\n * returns WebServices.CompeticionesWS.ListBeanDataPartidoComp\n */\n @WebMethod\n @WebResult(partName = \"return\")\n public ListBeanDataPartidoComp listarPartidos(\n @WebParam(name = \"arg0\", partName = \"arg0\")\n String arg0,\n @WebParam(name = \"arg1\", partName = \"arg1\")\n ListBeanFiltro arg1);\n\n /**\n * \n * @param arg2\n * @param arg1\n * @param arg0\n * @return\n * returns WebServices.CompeticionesWS.FloatArrayArray\n */\n @WebMethod\n @WebResult(partName = \"return\")\n public FloatArrayArray obtenerDividendosResultadoExacto(\n @WebParam(name = \"arg0\", partName = \"arg0\")\n String arg0,\n @WebParam(name = \"arg1\", partName = \"arg1\")\n int arg1,\n @WebParam(name = \"arg2\", partName = \"arg2\")\n int arg2);\n\n /**\n * \n * @param arg0\n * @return\n * returns WebServices.CompeticionesWS.DataJugPartido\n * @throws ExNoExisteCompeticion_Exception\n */\n @WebMethod\n @WebResult(partName = \"return\")\n public DataJugPartido verInfoPartidoFinalizado(\n @WebParam(name = \"arg0\", partName = \"arg0\")\n String arg0)\n throws ExNoExisteCompeticion_Exception\n ;\n\n /**\n * \n * @param arg0\n */\n @WebMethod\n public void finalizarDetallesPartido(\n @WebParam(name = \"arg0\", partName = \"arg0\")\n String arg0);\n\n /**\n * \n * @param arg0\n * @return\n * returns WebServices.CompeticionesWS.ListBean\n */\n @WebMethod\n @WebResult(partName = \"return\")\n public ListBean listarLigasDefinidas(\n @WebParam(name = \"arg0\", partName = \"arg0\")\n String arg0);\n\n /**\n * \n * @param arg1\n * @param arg0\n * @return\n * returns WebServices.CompeticionesWS.ListBeanDataEquipoLiga\n */\n @WebMethod\n @WebResult(partName = \"return\")\n public ListBeanDataEquipoLiga obtenerTablaDePosiciones(\n @WebParam(name = \"arg0\", partName = \"arg0\")\n String arg0,\n @WebParam(name = \"arg1\", partName = \"arg1\")\n int arg1);\n\n /**\n * \n * @param arg0\n * @return\n * returns WebServices.CompeticionesWS.ListBean\n */\n @WebMethod\n @WebResult(partName = \"return\")\n public ListBean obtenerUltimosPartidosFinalizados(\n @WebParam(name = \"arg0\", partName = \"arg0\")\n String arg0);\n\n /**\n * \n * @param arg0\n * @return\n * returns WebServices.CompeticionesWS.ListBean\n * @throws ExDatosNoAsignados_Exception\n */\n @WebMethod\n @WebResult(partName = \"return\")\n public ListBean infoPartidosCompeticion(\n @WebParam(name = \"arg0\", partName = \"arg0\")\n String arg0)\n throws ExDatosNoAsignados_Exception\n ;\n\n /**\n * \n * @param arg1\n * @param arg0\n * @return\n * returns WebServices.CompeticionesWS.DataJugPartido\n * @throws ExNoExistePartidoEnCompeticion_Exception\n * @throws ExDatosNoAsignados_Exception\n */\n @WebMethod\n @WebResult(partName = \"return\")\n public DataJugPartido listarJugadoresPorBando(\n @WebParam(name = \"arg0\", partName = \"arg0\")\n String arg0,\n @WebParam(name = \"arg1\", partName = \"arg1\")\n int arg1)\n throws ExDatosNoAsignados_Exception, ExNoExistePartidoEnCompeticion_Exception\n ;\n\n /**\n * \n * @param arg1\n * @param arg0\n * @return\n * returns WebServices.CompeticionesWS.ListBean\n * @throws ExNoExisteEquipo_Exception\n */\n @WebMethod\n @WebResult(partName = \"return\")\n public ListBean listarJugEquipo(\n @WebParam(name = \"arg0\", partName = \"arg0\")\n String arg0,\n @WebParam(name = \"arg1\", partName = \"arg1\")\n int arg1)\n throws ExNoExisteEquipo_Exception\n ;\n\n /**\n * \n * @param arg1\n * @param arg0\n * @return\n * returns boolean\n */\n @WebMethod\n @WebResult(partName = \"return\")\n public boolean competicionEstaFinalizada(\n @WebParam(name = \"arg0\", partName = \"arg0\")\n String arg0,\n @WebParam(name = \"arg1\", partName = \"arg1\")\n int arg1);\n\n /**\n * \n * @param arg0\n * @return\n * returns WebServices.CompeticionesWS.ListBean\n */\n @WebMethod\n @WebResult(partName = \"return\")\n public ListBean listarPencasDisponibles(\n @WebParam(name = \"arg0\", partName = \"arg0\")\n String arg0);\n\n /**\n * \n * @param arg1\n * @param arg0\n * @return\n * returns WebServices.CompeticionesWS.ListBeanGoleadores\n * @throws ExNoExisteCompeticion_Exception\n * @throws Exception_Exception\n */\n @WebMethod\n @WebResult(partName = \"return\")\n public ListBeanGoleadores getJugadoresCampeonato(\n @WebParam(name = \"arg0\", partName = \"arg0\")\n String arg0,\n @WebParam(name = \"arg1\", partName = \"arg1\")\n int arg1)\n throws ExNoExisteCompeticion_Exception, Exception_Exception\n ;\n\n /**\n * \n * @param arg1\n * @param arg0\n * @return\n * returns WebServices.CompeticionesWS.ListBeanGoleadores\n * @throws ExNoExisteCompeticion_Exception\n * @throws Exception_Exception\n */\n @WebMethod\n @WebResult(partName = \"return\")\n public ListBeanGoleadores get5MaxGoleadores(\n @WebParam(name = \"arg0\", partName = \"arg0\")\n String arg0,\n @WebParam(name = \"arg1\", partName = \"arg1\")\n int arg1)\n throws ExNoExisteCompeticion_Exception, Exception_Exception\n ;\n\n}" ]
[ "0.6543887", "0.64725757", "0.63919973", "0.6317389", "0.6303242", "0.6220796", "0.6107054", "0.6102815", "0.60959136", "0.609051", "0.6084516", "0.60796034", "0.6078928", "0.6050802", "0.6046382", "0.60256284", "0.6019383", "0.6016647", "0.6005865", "0.5992212", "0.59907657", "0.5925015", "0.5920637", "0.5919679", "0.5914571", "0.5910461", "0.5907564", "0.5887466", "0.5885361", "0.58594155", "0.5849052", "0.58489525", "0.5845829", "0.5825784", "0.5824283", "0.5819148", "0.58112967", "0.57901806", "0.57890993", "0.5788175", "0.578131", "0.5779346", "0.5768669", "0.5762041", "0.5744181", "0.574159", "0.5739908", "0.5730394", "0.57299477", "0.5727972", "0.57216054", "0.57191795", "0.5717007", "0.5715508", "0.5711348", "0.5710674", "0.5708997", "0.57032394", "0.5698532", "0.5696329", "0.569353", "0.5691762", "0.56901246", "0.5675304", "0.56728804", "0.5671408", "0.56712544", "0.56646156", "0.5657857", "0.56537706", "0.56300503", "0.56298834", "0.5615319", "0.56136245", "0.56106687", "0.56030995", "0.55987275", "0.5597027", "0.55958074", "0.5592769", "0.55927354", "0.55916905", "0.5588565", "0.5588131", "0.5586684", "0.5578963", "0.557291", "0.5561549", "0.5553205", "0.5548221", "0.5542964", "0.554258", "0.5532986", "0.55326265", "0.55289423", "0.55288213", "0.55199414", "0.5514394", "0.55132514", "0.5505226", "0.55048126" ]
0.0
-1
Created by linhdq on 5/14/17.
public interface GetService { @GET(API.LIST_STORE) @Headers({API.HEADERS}) Call<List<JSONStoreItem>> callJsonListStore(); @GET(API.LIST_COUPON) @Headers({API.HEADERS}) Call<List<JSONCouponItem>> callJsonListCoupon(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void func_104112_b() {\n \n }", "public final void mo51373a() {\n }", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "protected boolean func_70814_o() { return true; }", "@Override\n public void perish() {\n \n }", "private void m50366E() {\n }", "public void method_4270() {}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "private void poetries() {\n\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "public void mo38117a() {\n }", "@Override\n\tpublic void jugar() {\n\t\t\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "private void kk12() {\n\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "public abstract void mo70713b();", "@Override\n\tpublic void one() {\n\t\t\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "public void m23075a() {\n }", "private static void cajas() {\n\t\t\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n public int describeContents() { return 0; }", "protected abstract Set method_1559();", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {}", "@Override\r\n\tprotected void doF8() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "public abstract Object mo26777y();", "private void m50367F() {\n }", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n public void init() {\n }", "public void mo21877s() {\n }", "@Override\n public void init() {}", "public void smell() {\n\t\t\n\t}", "@Override\n public int retroceder() {\n return 0;\n }", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "protected boolean func_70041_e_() { return false; }", "@Override\n\tpublic void jugar() {}", "public void mo4359a() {\n }", "public void mo12628c() {\n }", "private void strin() {\n\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "private void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void init() {\n }", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "public final void mo91715d() {\n }", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "private void level7() {\n }", "@Override\n\tpublic void init() {\n\t}", "public void mo21779D() {\n }", "public abstract Object mo1771a();", "@Override\n\t\tpublic void init() {\n\t\t}", "@Override\n void init() {\n }", "public void mo12930a() {\n }", "public abstract void mo56925d();", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "public void mo21792Q() {\n }", "public void mo23813b() {\n }", "public void mo21878t() {\n }", "private Rekenhulp()\n\t{\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "private MetallicityUtils() {\n\t\t\n\t}", "public abstract void mo6549b();", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n public void init() {\n\n }", "@Override\n\tpublic void apply() {\n\t\t\n\t}", "public void testEntrySetIteratorHasProperMappings() {\n return;\r\n }", "public abstract void mo27386d();", "public abstract void mo27385c();", "public void mo21787L() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }" ]
[ "0.58889836", "0.5726986", "0.5702909", "0.56864136", "0.5686074", "0.56436104", "0.55830646", "0.5533379", "0.5521494", "0.5501907", "0.5500549", "0.5500549", "0.5464475", "0.54453313", "0.5434374", "0.5433575", "0.5421777", "0.541207", "0.53746337", "0.53664964", "0.53586024", "0.53586024", "0.53586024", "0.53586024", "0.53586024", "0.5350887", "0.5344779", "0.53369963", "0.53365636", "0.53363264", "0.5333045", "0.5317438", "0.53129715", "0.53057873", "0.5288459", "0.52829254", "0.52721155", "0.5266201", "0.5252146", "0.52416575", "0.52412933", "0.52399373", "0.5231885", "0.5228161", "0.5228161", "0.5226692", "0.52226967", "0.521118", "0.52096474", "0.5209208", "0.5208647", "0.5206239", "0.52044654", "0.52017105", "0.5199111", "0.5198511", "0.5193995", "0.51933753", "0.51919305", "0.5187713", "0.5187713", "0.5187713", "0.51852053", "0.5184618", "0.5184618", "0.5184618", "0.51837254", "0.5179777", "0.5170091", "0.5170091", "0.5170091", "0.5167668", "0.5163765", "0.5159068", "0.5156354", "0.5156232", "0.51539207", "0.5144349", "0.5140193", "0.5139155", "0.51385826", "0.5135311", "0.5123573", "0.51181716", "0.51138496", "0.51128983", "0.51126885", "0.51101637", "0.5108101", "0.51032555", "0.51014376", "0.5100476", "0.5100476", "0.5099316", "0.50972587", "0.50957394", "0.50945395", "0.5093396", "0.50924474", "0.50924474", "0.50924474" ]
0.0
-1
We don't care about notes in the grid view.
@Override void notesUpdated(int nSlideIndex) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected boolean shouldShowItemNone() {\n return false;\n }", "@Override\n public boolean isCellEditable(int row, int column)\n {\n return column == NOTES;\n }", "public boolean getClearsTestNotes()\n {\n return true;\n }", "@Override\n\tpublic GalaxyNote detail(GalaxyNote galaxynote) {\n\t\treturn null;\n\t}", "public default boolean isEditable(){ return false; }", "@Override\n protected boolean isNotAddTitle() {\n return true;\n }", "java.lang.String getNotes();", "java.lang.String getNotes();", "@Override\n\tpublic String getNotes() {\n\t\treturn text;\n\t}", "boolean getNotes();", "protected String getGridCaption () {\n\t\treturn null ; \n\t}", "public void setNotes(String notes) {\n this.notes = notes;\n }", "public void setNotes(String notes) {\n\tthis.notes = notes;\n}", "boolean hasNotes();", "@Override\r\n\t\tpublic boolean editItem() {\n\t\t\treturn false;\r\n\t\t}", "public boolean isNote() {\n return this.type == Type.NOTE;\n }", "public Notes() {\n\t\tsuper();\n\t\t// TODO Auto-generated constructor stub\n\t}", "protected boolean shouldIgnoreContent() {\n return empty;\n }", "public void setNotes(String notes) {\n\t\tthis.notes = notes;\r\n\t}", "@Override\n public boolean isCellEditable(int row, int column) {\n return false;\n }", "@Override\n public boolean isNoTitle() {\n return true;\n }", "@Override\n public String getContentDescription() {\n return null;\n }", "private void clearNote()\n\t{\n\t\t((EditText) findViewById(R.id.note_edittext)).setText(\"\");\n\t\tNoteDbWorker worker = new NoteDbWorker(this);\n\t\tworker.deleteNote(user.userName);\n\t\tworker.close();\n\t\tToast.makeText(this, getString(R.string.note_cleared), Toast.LENGTH_LONG).show();\n\t}", "public static void deselNotes() {\r\n List<MeasureLine> selection = DataClipboard.getSelection();\r\n for(int i = DataClipboard.getSelectionLineBegin(); i < DataClipboard.getSelectionLineEnd() + 1; i++){\r\n if(selection.get(i) != null) {\r\n if (selection.get(i).size() > 0) {\r\n selection.get(i).clear();\r\n }\r\n if(selection.get(i).getVolume() < 0) {\r\n selection.set(i, null);\r\n }\r\n }\r\n }\r\n \r\n //find new line begin \r\n for(int i = DataClipboard.getSelectionLineBegin(); i < DataClipboard.getSelectionLineEnd() + 1; i++){\r\n if(selection.get(i) != null) {\r\n DataClipboard.setSelectionLineBegin(i);\r\n break;\r\n }\r\n }\r\n \r\n //find new line end \r\n for(int i = DataClipboard.getSelectionLineEnd(); i > DataClipboard.getSelectionLineBegin() - 1; i--){\r\n if(selection.get(i) != null) {\r\n DataClipboard.setSelectionLineEnd(i);\r\n break;\r\n }\r\n }\r\n }", "@Override\n public void postHideEt() {\n }", "public void setNotes(String notes) {\n\t\tthis.notes = notes;\n\t}", "public String getNotes();", "void deleteNotes(ActionEvent event){\n cm.hide();\n Alert alert = new Alert(Alert.AlertType.NONE, \"Delete notes for \"+this.podcast.getTitle()+\"?\", ButtonType.YES, ButtonType.NO, ButtonType.CANCEL);\n alert.showAndWait();\n\n if(alert.getResult() == ButtonType.YES){\n if(model.DEBUG)\n System.err.println(\"[LibCell] Deleting \"+this.podcast.getTitle()+\"\\'s notes\");\n\n this.podcast.setNotes(Main.model.DEFAULT_NOTES);\n } else {\n alert.hide();\n }\n\n }", "public String getNotes() {\n return notes;\n }", "@Override\r\n\tpublic boolean isIgnoreDeletes() throws NotesApiException {\n\t\treturn false;\r\n\t}", "@Import(\"notedTemplate\")\n\tint getNote();", "public void effacerDiscussion() {\n discussion.setText(\"\");\n }", "@Override\n\t/**\n\t * does nothing because comments are disabled for classes \n\t */\n\tpublic void setItemHavingComment() {\n\t}", "public void clearNotes() {\n cursor = 0;\n controller.setSelected(cursor);\n\n sequence = new MidiSequence();\n controller.setMidiSequence(sequence);\n }", "public String getNotes() {\n\treturn notes;\n}", "public String getNotes() {\n return notes;\n }", "@Override\r\n\t\t\t\t\tpublic boolean stopCellEditing() {\n\t\t\t\t\t\treturn true;\r\n\t\t\t\t\t}", "public void validate_CommentField_NotDisplay() {\n List<WebElement> list = getDriver().findElements(By.xpath(\"//*[@id='ordernotes']/textarea\"));\n Assert.assertTrue(\"=== Comment Field Not Present!\", list.size() == 0);\n }", "protected void hideViewContents() {\n\t\tnoData.heightHint = -1;\n\t\tyesData.heightHint = 0;\n\n\t\tnoData.exclude = false;\n\t\tyesData.exclude = true;\n\n\t\tnoLabel.setVisible(true);\n\t\tyesComposite.setVisible(false);\n\t\tredraw();\n\t}", "static void setNotEdit(){isEditing=false;}", "@Override\r\n\tpublic void cancelCellEditing() {\n\r\n\t}", "@Override\n public boolean onCheckIsTextEditor() {\n return false;\n }", "@Override\r\n\t\tpublic void ancestorAdded(AncestorEvent arg0) {\n\t\t\trow = notesTable.getSelectedRow();\r\n\t\t\tif (row < 1 ) {\r\n\t\t\t\tsearch_notes_menu.disable();\r\n\t\t}\r\n\t\t\r\n\t\trow = notesTable.convertRowIndexToModel(row);\r\n\t\t\t\r\n\t\t\t\r\n\t\t}", "@Override\n public boolean whetherHidden(Where where) {\n return false;\n }", "@Override\n\tpublic List<Note> showNotes() {\n\t\t\n\t\treturn noterepository.findAll();\n\t}", "@Override\n public boolean isCellEditable(int row, int column) \n {\n return false;\n }", "@Override\r\n\tpublic boolean stopCellEditing() {\n\t\treturn false;\r\n\t}", "public Note(){\n\t\t; //initDisplay(0);\n\t}", "public void clear(){\r\n NotesList.clear();\r\n }", "public void setIgnore() {\n\t\t\tignore = true;\n\t\t}", "@Override\r\n\tpublic boolean isDisabled() throws NotesApiException {\n\t\treturn false;\r\n\t}", "@Override\n\tprotected boolean isInClearText() {\n\t\treturn !this.inQuotes;\n\t}", "public String getSpecialNotes() {\n return specialNotes;\n }", "private boolean shouldInspectTextForComments(KeyEvent e) {\n return e.getKeyCode() == KeyEvent.VK_V\n || (!e.isControlDown() && e.getKeyCode() != KeyEvent.VK_CONTROL);\n }", "@Override\n public void setNote(int row, int col, int number) {\n boolean[] notes = grid.getNotes(row, col);\n\n // toggle the note in the model\n if (notes[number]) {\n grid.removeNote(row, col, number);\n\n } else {\n grid.setNote(row, col, number);\n }\n\n // toggle the note in the view\n view.toggleNote(row, col, number);\n }", "private void emptyCell(Composite parent) {\n new Label(parent, SWT.NONE);\n }", "public void setNotes(String notes);", "public String getNotes() {\n\t\treturn notes;\n\t}", "@Override\n\tprotected String getColumn()\n\t{\n\t\treturn null;\n\t}", "public boolean getNoDisplay() {\n\t\treturn false;\n\t}", "@Override\n public boolean isCellEditable(int row, int column) {\n return false;\n }", "@Override\n public boolean isCellEditable(int row, int column) {\n return false;\n }", "@Override\n public void noteConfiguration() {\n preprocessBean = new KeepColumnPreProcessorBean();\n super.noteConfiguration();\n }", "private Notes() {}", "private void switchToNoContentView() {\n no_content.setVisibility(View.VISIBLE);\n mRecyclerView.setVisibility(View.GONE);\n }", "String getNotes();", "@Override\n public MExpression getVisibleWhen()\n {\n return null;\n }", "public void cancelCellEditing() {\n\r\n\t\t\t\t\t}", "@Override\n\tpublic void cancelCellEditing() {\n\t\tlog.info(\"|------表格单元格编辑模型------|\\t\"+\"cancelCellEditing\\t\");\n\t}", "public void setNote(String note) {\r\n this.note = note; \r\n }", "@Override\n public boolean stopCellEditing() {\n clicked=false;\n return super.stopCellEditing();\n }", "public void hideNoNotifications(){\n noNotificationsTitle.setVisibility(View.GONE);\n noNotificationsText.setVisibility(View.GONE);\n noNotificationsImage.setVisibility(View.GONE);\n }", "public void setNotes(java.lang.String notes) {\n this.notes = notes;\n }", "private void addNoFields() {\n fieldTable.addStyleName(\"hidden\");\n noFields.removeStyleName(\"hidden\");\n\n }", "@Override\n public boolean isIgnorable() {\n return columnInfo.isIgnorable();\n }", "@Override\n\tpublic boolean model() {\n\t\treturn false;\n\t}", "public default boolean shouldHideEntity(){ return false; }", "public void delhiFalse(View view) {\n delhi = false;\n }", "@Override\r\n public boolean isCellEditable(int rowIndex, int vColIndex) {\n return false;\r\n }", "@Override\n public boolean isCellEditable(int iRow, int iCol) {\n return false;\n }", "void disableEdit() {\n\t\tnameField.setEditable(false);\n\t\tssnField.setEditable(false);\n\t\ttakenDateField.setEditable(false);\n\t\ttotalScoreField.setEditable(false);\n\t\tadvisorField.setEditable(false);\n\t\t\n\t}", "public void setNoIndex() {\n noIndex= true;\n }", "public void showMyComments(){\n String nothing=null;\n }", "private TextView getNoDataTextView(String content) {\n TableRow.LayoutParams layoutParams = new TableRow.LayoutParams(TableRow.LayoutParams.MATCH_PARENT, TableRow.LayoutParams.WRAP_CONTENT);\n layoutParams.gravity = Gravity.CENTER_HORIZONTAL;\n TextView textView = getTextView(content);\n textView.setLayoutParams(layoutParams);\n textView.setPadding(25, 30, 0, 30);\n return textView;\n }", "void hideNoneParametersView();", "public void setNotes(java.lang.String param) {\r\n localNotesTracker = param != null;\r\n\r\n this.localNotes = param;\r\n }", "private void retrieveGridTxtViews() throws SecurityException,\n\t\t\tNoSuchFieldException, IllegalArgumentException,\n\t\t\tIllegalAccessException {\n\t\tClass<id> idClass = R.id.class;\n\t\tfor (int rowIndex = 0; rowIndex < WordZapConstants.GRID_NUMROWS; rowIndex++) {\n\t\t\tfor (int colIndex = 0; colIndex < WordZapConstants.GRID_NUMCOLS; colIndex++) {\n\t\t\t\tField txtViewField = idClass.getField(\"txtView\" + rowIndex\n\t\t\t\t\t\t+ colIndex);\n\t\t\t\tTextView aTxtView = (TextView) findViewById(txtViewField\n\t\t\t\t\t\t.getInt(null));\n\t\t\t\tthis.gridTxtViews[rowIndex][colIndex] = aTxtView;\n\t\t\t\taTxtView.setText(\"\");\n\t\t\t}\n\t\t}\n\n\t}", "public java.lang.String getNotes() {\n return notes;\n }", "@Override\n\t\t\t\tpublic void onClick(View v) {\n\t\t\t\t\tshowNote((Note)v.getTag());//查看这条记录\n\t\t\t\t}", "public void hideDetails () {\n\t\tdetailDisplay.show(\"empty\");\n\t}", "@Override\r\n public boolean isCellEditable(int rowIndex, int vColIndex) {//C.P.M le decimos que no seran editables los componetnes\r\n return false;\r\n }", "public boolean isHidden() {\n return false;\n }", "@Override\n public View getInfoContents(Marker marker) {\n return null;\n }", "private void DisableOrEnableFields(){\n for (Node node:super.newAppointmentView.getChildren()) {\n if (node instanceof GridPane){\n GridPane gridpane = (GridPane)node;\n for (Node node1:gridpane.getChildren()) {\n if(node1 instanceof TextField || node1 instanceof ComboBox){\n node1.setDisable(isDisabled);\n }\n }\n }\n\n }\n isDisabled = !isDisabled;\n }", "@Override\n public int getItemCount() {\n return notes_id.size();\n }", "private void setupNoteLayout() {\n noteText.setOnKeyListener(new View.OnKeyListener() {\n @Override\n public boolean onKey(View v, int keyCode, KeyEvent event) {\n if (keyCode == KeyEvent.KEYCODE_ENTER && event.getAction() != KeyEvent.ACTION_DOWN) {\n String input = noteText.getText().toString();\n noteText.setText(input.trim());\n\n EventBus.getDefault().post(new TaskEditedEvent());\n setShowKeyboard(false, v);\n noteText.clearFocus();\n return true;\n }\n return false;\n }\n });\n\n noteText.setOnFocusChangeListener(new View.OnFocusChangeListener() {\n @Override\n public void onFocusChange(View v, boolean hasFocus) {\n if (hasFocus) {\n ColorStateList csl = new ColorStateList(new int[][]{new int[0]}, new int[]{R.color.colorAccent});\n noteText.setBackgroundTintList(csl);\n } else {\n ColorStateList csl = new ColorStateList(new int[][]{new int[0]}, new int[]{Color.TRANSPARENT});\n noteText.setBackgroundTintList(csl);\n }\n }\n });\n }", "public boolean hasNotes() {\n return ((bitField0_ & 0x00000040) == 0x00000040);\n }", "public void toggleEmptyView(List<NoteEntry> noteEntries) {\n if (noteEntries.isEmpty()) {\n mRecyclerView.setVisibility(View.GONE);\n emptyView.setVisibility(View.VISIBLE);\n } else {\n mRecyclerView.setVisibility(View.VISIBLE);\n emptyView.setVisibility(View.GONE);\n }\n\n }", "@Override\r\n\t\t\t\t public boolean isCellEditable(int row, int column) {\n\t\t\t\t return column == 3 || column == 4;\r\n\t\t\t\t }", "public boolean ignore() {\n\t\tif(ignoreT<=0) return false; // if ignoreT is 0, the user gets control again\n\t\telse return true; // otherwise the user doesn't have control\n\t}", "private Node hideNotMine(TreeItem<ActivityType> treeItem) {\n\t\treturn treeView;\n\t}" ]
[ "0.6136197", "0.5924852", "0.5870883", "0.5790533", "0.5731184", "0.5715598", "0.55968624", "0.55968624", "0.5571606", "0.5545987", "0.55194485", "0.54978645", "0.54970676", "0.5491205", "0.54879475", "0.54840136", "0.54771316", "0.5436075", "0.5434423", "0.5429838", "0.5419695", "0.54096574", "0.5400015", "0.5393972", "0.53889215", "0.53650784", "0.53634495", "0.53620166", "0.5359402", "0.5349917", "0.53386724", "0.53377426", "0.53338563", "0.5329247", "0.5324761", "0.5316751", "0.53161067", "0.53139234", "0.5310607", "0.5301489", "0.5292745", "0.52918285", "0.52894986", "0.5287682", "0.528342", "0.52800906", "0.5277679", "0.5252269", "0.5246917", "0.5244626", "0.5236885", "0.5235874", "0.5232754", "0.522755", "0.522185", "0.52152973", "0.5212684", "0.5211884", "0.5209397", "0.5203087", "0.5202428", "0.5202428", "0.52007765", "0.51945", "0.5191715", "0.51890177", "0.51884705", "0.51791865", "0.51790416", "0.51773053", "0.5176393", "0.51759815", "0.5162572", "0.51570326", "0.51569754", "0.5153114", "0.51524276", "0.5147363", "0.5138094", "0.5133105", "0.5126179", "0.5123953", "0.51225626", "0.51145566", "0.510265", "0.5102056", "0.50882524", "0.508774", "0.50858986", "0.50855327", "0.50815153", "0.5080177", "0.5079983", "0.5074589", "0.5072388", "0.50700986", "0.50700057", "0.5067633", "0.5066169", "0.50605637", "0.50602233" ]
0.0
-1
Constructor for places you can drive to
Location( String placeName, String placeDescript, String altDescript, boolean canDrive){ locationName = placeName; locationDescription = placeDescript; altDescription = altDescript; drivable = canDrive; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Place(Scanner game) \r\n\t{\r\n\t\t// Initially adding exit and nowhere place to static collection.\r\n\t\tif ( firstTime)\r\n\t\t{\t\r\n\t\t\tif( flag ==0)\r\n\t\t\t{\r\n\t\t\t\tid = 1;\r\n\t\t\t\tname = \"Exit\";\r\n\t\t\t\tdescription = \" Exit\";\r\n\t\t\t\ttm.put(id, this);\r\n\t\t\t\tflag =1;\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\tid = 0;\r\n\t\t\t\tname = \"no where\";\r\n\t\t\t\tdescription = \"no where\";\r\n\t\t\t\ttm.put(id, this);\r\n\t\t\t\tfirstTime = false;\r\n\t\t\t}\r\n\t\t\r\n\t\t}\t\r\n\t\telse\r\n\t\t{\r\n\t\t\t// Get a line and extend it as scanner input.. Parse and extract the data from scanner and initialze data fields of Place class.\r\n\t\t\tString line = null;\r\n\t\t\tline = Game.getCleanLine(game);\r\n\t\t\tScanner input = new Scanner (line);\r\n\t\t \r\n\t\t\t// Parsing the data and plugging into data fields of Place class.\r\n\t\t\tid = input.nextInt();\t\r\n\t\t\tString restOfLine = input.nextLine();\r\n\t\t\tname = restOfLine;\r\n\t\t\r\n\t\t\tint number = game.nextInt(); \r\n\r\n\t\t\tfor ( int i=0; i < number ; i ++)\r\n\t\t\t{\r\n\t\t\t\tline = Game.getCleanLine(game);\r\n\t\t\t\tScanner a = new Scanner (line);\r\n\t\t\t\tif (description == null)\r\n\t\t\t\t\tdescription =a.nextLine().concat(\"\\n\");\r\n\t\t\t\telse\r\n\t\t\t\t{\r\n\t\t\t\t\tdescription = description.concat( a.nextLine().concat( \"\\n\"));\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t}\t\r\n\t\t\t knownPlaces.add(this);\r\n\t\t\ttm.put(id, this);\t // Pushing this place to static collection of known places. ( Map).\r\n\t\t}\r\n\t\t\r\n\t\t//io2= new IO();\r\n\t}", "private Road()\n\t{\n\t\t\n\t}", "public MyLocation() {}", "public Location() {\r\n \r\n }", "public SeatLocation() {\n }", "public Place() {\r\n\t\tthis.name = \"Unknown Place\";\r\n\t\tthis.data = new LinkedHashMap<Integer, Data>();\r\n\t\tthis.populateData();\r\n\t}", "private void placesInit()\n {\n\n for(Map.Entry<String,Place> placeEntry: placesMap.entrySet())\n {\n addPlace(placeEntry.getKey(),placeEntry.getValue());\n }\n\n }", "public Place(int x, int y, TYPE typeDiskHere){\n this.x=x;\n this.y=y;\n isFull=true;\n type=typeDiskHere;\n }", "public RailRoad() {}", "public Location() {\n\t}", "public RoadTest()\n {\n }", "public Location() {\n }", "public PlaceList() {\n\t\tthis.places = new ArrayList<Place>();\n\t}", "public void createLocations() {\n createAirports();\n createDocks();\n createEdges();\n createCrossroads();\n }", "public ASLocation()\n\t{\n\t\tsuper() ;\n\t\tprepare() ;\n\t}", "public Place(int x, int y){\n this.x=x;\n this.y=y;\n isFull=false;\n }", "public Mountain(Point a, Point b, Point c) {\n\t\tsuper();\n\t\tthis.a = a;\n\t\tthis.b = b;\n\t\tthis.c = c;\n\t}", "protected SimpleRichLocation() {}", "public PlaceBasicResult() {\n }", "public Place(String Location, String Name) {\n mLocation = Location;\n mName = Name;\n }", "private TbusRoadGraph() {}", "public ParkingSpace() {}", "public BicycleStation() {\n super();\n }", "Parking createParking();", "public Place(String name) {\r\n\t\tthis.name = name;\r\n\t\tthis.data = new LinkedHashMap<Integer, Data>();\r\n\t\tthis.populateData();\r\n\t}", "public CSplitLocation(){\n\t\t// nothing\n\t}", "public PlaceList(ArrayList<Place> placeList) {\n\t\tthis.places = new ArrayList<Place>(placeList);\n\t}", "public Restaurant() {\n\t\t\n\t}", "@Override\n protected void initLocation() {\n }", "public PlaceReserveInformationExample() {\n oredCriteria = new ArrayList<Criteria>();\n }", "private LocationContract() {}", "public ProductLocation() {\n }", "public LocationData()\n {\n }", "@Test\n public void constructor(){\n /**Positive tests*/\n Road road = new Road(cityA, cityB, 4);\n assertEquals(road.getFrom(), cityA);\n assertEquals(road.getTo(), cityB);\n assertEquals(road.getLength(), 4);\n }", "public Mountain(int l, int w, int m)\n {\n super(l, w);\n // initialise instance variables\n numMountains = m;\n }", "public Mountain(String name, int height, String location){\n this.name = name;\n this.height = height;\n this.location = location;\n }", "public Restaurant() { }", "Tower(Point location)\r\n\t{\r\n\t\tthis.location=location;\r\n\t}", "protected void initialize() {\n Robot.m_drivetrain.resetPath();\n Robot.m_drivetrain.addPoint(0, 0);\n Robot.m_drivetrain.addPoint(3, 0);\n Robot.m_drivetrain.generatePath();\n \n\t}", "public Obstacle(Location location) {\n super(location);\n }", "public Piece(int xLoc, int yLoc)\n\t{\n\t\tl = new Location(xLoc, yLoc);\n\t}", "private static void setupLocations() {\n\t\tcatanWorld = Bukkit.createWorld(new WorldCreator(\"catan\"));\n\t\tspawnWorld = Bukkit.createWorld(new WorldCreator(\"world\"));\n\t\tgameLobby = new Location(catanWorld, -84, 239, -647);\n\t\tgameSpawn = new Location(catanWorld, -83, 192, -643);\n\t\thubSpawn = new Location(spawnWorld, 8, 20, 8);\n\t\twaitingRoom = new Location(catanWorld, -159, 160, -344);\n\t}", "private GestionTour() {}", "public Strategy(BoardPanel p, Board b, ArrayList<Place> places) {\n\t\tthis.p = p;\n\t\tthis.b = b;\n\t\tthis.places = places;\n\t\trand = new Random();\n\t}", "private Arena() {}", "public NearestParksController() {\n this.bn = new BicycleNetwork();\n this.pf = new LocationFacade();\n // this.bn.loadData();\n }", "void getDrivableLocations() {\n\t\t\tSystem.out.print(\"\\nPlaces you can drive to: \");\n\t\t\tfor (int i = 0; i < places.length; i++)\n\t\t\t\tif (places[i].drivable) //looks to see if you can drive there \n\t\t\t\t\tif ((places[i] != this)) //if it's not you're current location.\n\t\t\t\t\t\tSystem.out.print(places[i].locationName + \", \");\t//prints the name of the location\t\n\t\t\tSystem.out.println(\"\\n\");\n\t\t}", "public void setPlaces(int places) {\r\n this.places = places;\r\n }", "public Navigator() {\n landmarks = new Landmarks();\n\n currentLocation = new Location(6, 0, 'D');\n home = new Location(6, 0, 'D');\n\n currentDestination = home;\n currentDestinationName = \"\";\n\n readLandmarks();\n readConfig();\n noteManager = new NoteManager();\n eventManager = new EventManager();\n\n }", "Classroom() {}", "public City() {\n connects = new HashMap<String, ArrayList<Flight>>();\n }", "public MountainBike() {\n super();\n }", "public DirectionController() {\n }", "public MyWorld()\n { \n // Create a new world with 800x600 cells with a cell size of 1x1 pixels.\n super(800, 600, 1); \n\n //could have as many RideLines as capasity dictates\n rides = new RideLines[MAX_RIDES];\n\n currentRide=0; //initially, we have 0 prisoners\n \n //Create a Load button at the top of the screen\n load = new LoadButton();\n addObject(load, 250, 20);\n \n //Create a Merge button at the top of the screen\n MergeButton merge = new MergeButton();\n addObject(merge, 350, 20);\n \n //Create a Sort By Name button at the top of the screen\n SortByName sortName = new SortByName();\n addObject(sortName, 450, 20);\n \n //Create a Sort by queue length at the top of the screen\n SortByLength sortLength = new SortByLength();\n addObject(sortLength, 600, 20);\n \n\n }", "public Location(String name, String description, ArrayList<Item> items) {\n this.name = name;\n this.description = description;\n this.items = items;\n this.playersNames = new ArrayList<String>();\n this.destinations = new HashMap<Direction, Location>();\n }", "public Road(String name) {\n this.name = name;\n this.points = new ArrayList<>();\n }", "private LocationService() {\n }", "public LocationBuilder() {\n super(\"locations\");\n }", "public Place(String name, String address, double longitude, \n\t\t\tdouble latitude, int phoneNumber, String url, String comment,\n\t\t\tint rate, PlaceType type) {\n\t\tdate = System.currentTimeMillis();\n\t\tposition = new GeoPoint(longitude, latitude);\n\t\tthis.name = name;\n\t\tthis.address = address;\n\t\tthis.phoneNumber = phoneNumber;\n\t\tthis.url = url;\n\t\tthis.comment = comment;\n\t\tthis.rate = rate;\n\t\tthis.type = type;\n\t}", "public Station(String location) {\n this.stationID = counter++;\n this.location = location;\n this.bikes = new ArrayList<>();\n }", "public Place goNorth();", "public PathFinder(PathStore store, Tile from, Tile to, boolean bGetToNeighbor){\r\n \t// this.store = store;\r\n \tthis.map = store.getMap();\r\n \t// this.tileFrom = from;\r\n \tthis.tileTo = to;\r\n \tthis.bGetToNeighbor = bGetToNeighbor;\r\n }", "public Location(String name) {\n this.name = name;\n this.description = \"\";\n this.items = new ArrayList<Item>();\n this.playersNames = new ArrayList<String>();\n this.destinations = new HashMap<Direction, Location>();\n }", "public Drive() {\r\n leftFrontDrive = new Talon(Constants.DRIVE_LEFT_FRONT);\r\n leftRearDrive = new Talon(Constants.DRIVE_LEFT_REAR);\r\n rightFrontDrive = new Talon(Constants.DRIVE_RIGHT_FRONT);\r\n rightRearDrive = new Talon(Constants.DRIVE_RIGHT_REAR);\r\n \r\n robotDrive = new RobotDrive(\r\n leftFrontDrive,\r\n leftRearDrive, \r\n rightFrontDrive, \r\n rightRearDrive);\r\n \r\n driveDirection = 1.0;\r\n \r\n arcadeYRamp = new CarbonRamp();\r\n arcadeXRamp = new CarbonRamp();\r\n tankLeftRamp = new CarbonRamp();\r\n tankRightRamp = new CarbonRamp();\r\n \r\n ui = CarbonUI.getUI();\r\n }", "public SpaceThing() {\n\t\tlocation = new Location();\n\t\tvector = new Vector();\n\t\tcenterX = centerY = 0;\n\t}", "public Place(String Location, String Name, int ImageResourceID) {\n mLocation = Location;\n mName = Name;\n mImageResourceID = ImageResourceID;\n }", "public BikeStation(Location location, String name) {\n super(location, name);\n this.name = name;\n }", "public Location(Context context){\n//\t\tthis.context = context;\n\t\tinit(context);\n\t}", "public ExplorerStrategy() {\n\t\tmap = new AIMap();\n\t}", "@Override protected void driveInit(double distanceInches, int i) {\r\n\r\n // add any drive initialization here\r\n\r\n }", "public Business(String name, String location, double latitude, double longitude)\n\t{\n\t\tsuper();\n\t\tthis.name = name;\n\t\tthis.location = location;\n\t\tthis.latitude = latitude;\n\t\tthis.longitude = longitude;\n\t}", "protected LocationGroup() {\n }", "public SpecialDepot() {\n specialContainers = new ArrayList<>();\n }", "public Route(City city1, City city2, int distance, double price) {\n this.city1 = city1;\n this.city2 = city2;\n this.distance = distance;\n this.price = price;\n }", "public Train(Location village1, Location village2) {\n this.start = village1;\n this.destination = village2;\n // when train is created, it is at the start location\n this.current = start;\n this.occupied = false;\n }", "public MapTile() {}", "public Championship()\n {\n drivers = new ListOfDrivers();\n venues = new ListOfVenues();\n }", "public Location(int x, int y)\r\n {\r\n\r\n //this basically makes a new location...it's a constructor\r\n //\"this\" refers to the instance of this class...meaning the instance\r\n //variables. This is saying that the instance variable \"x\" will be\r\n //updated to the value of x that is passed into as a parameter of\r\n //this function. This pretty much makes this a constructor method.\r\n this.x = x;\r\n this.y = y;\r\n\r\n }", "public Cargo(){\n super(\"Cargo\");\n intake = new WPI_TalonSRX(RobotMap.cargoIntake);\n shoot = new WPI_TalonSRX(RobotMap.cargoShoot);\n }", "public Location(String c, Float x, Float y) {\n _place = c;\n _x = x;\n _y = y;\n }", "public Route(Point starting) {\n route = new ArrayList<>();\n route.add(starting);\n }", "public Road(String name, MapPoint mapPoint) {\n this.name = name;\n this.points = new ArrayList<>();\n this.mapPoint = mapPoint;\n }", "public ScheduleWaypoint(Context context) {\n\n schedule = new Schedule();\n freeTime = new Schedule();\n buddies = new ArrayList<Schedule>();\n readWrite = new FileIO(context);\n webcrawler = new WebScraper();\n \n finalsTerm = \" \";\n }", "public RouteFinder(Maze m) {\n maze = m;\n }", "public PlaceableImpl() {\n \n this.position = new Point3f();\n this.rotation = new Matrix3f();\n this.rotation.setIdentity();\n \n }", "public Place(int placeName, int placeLocation, int placeDescription, int placeGeoData, int placeImage) {\n mPlaceName = placeName;\n mPlaceLocation = placeLocation;\n mPlaceDescription = placeDescription;\n mPlaceGeoData = placeGeoData;\n mPlaceImage = placeImage;\n }", "public Trening() {\n }", "public Airplane (){\n \n }", "public Track() {\n locations = new ArrayList<>();\n cars = new ArrayList<>();\n }", "private HelperLocation() {}", "public TaskCatagoryPageLocators() {\n }", "public Road(Place A, Place B)\n\t{\n\t\tEmpire roadEmpire = Empire.getInstance();\n\t\t\n\t\tint intXA, intYA, intXB, intYB;\n\t\tdouble xA, yA, xB, yB;\n\t\t\n\t\tintXA = A.getXPosition();\n\t\tintYA = A.getYPosition();\n\t\tintXB = B.getXPosition();\n\t\tintYB = B.getYPosition();\n\t\t\n\t\txA = (double) intXA;\n\t\tyA = (double) intYA;\n\t\txB = (double) intXB;\n\t\tyB = (double) intYB;\n\t\t\n\t\taPoint = new Point((int) xA, (int) yA);\n\t\tbPoint = new Point((int) xB, (int) yB);\n\t\t\n\t\taName = A.getName();\n\t\tbName = B.getName();\n\t\t\n\t\tlength = Math.sqrt((((xA-xB)*(xA-xB) + (yA - yB)*(yA - yB))));\n\t\tkFactor = (yB - yA)/(xB-xA);\n\t\t\n\t\troad.add(new Point(intXA, intYA));\n\t\t\n\t\tString keyA = String.valueOf(intXA) + \"-\" + String.valueOf(intYA);\n\t\tif(!roadEmpire.POINTS.containsKey(keyA));\n\t\t{\n\t\t\tMapPoint m = new MapPoint(intXA,intYA);\n\t\t\troadEmpire.POINTS.put(keyA, m);\n\t\t}\n\t\t\n\t\t\n\t\t\n\t\tif((xA == xB) && (yA == yB))\n\t\t{\n\t\t\tdirection = Direction.NONE;\n\t\t}\n\t\telse if(xA == xB)\n\t\t{\n\t\t\tif(yB > yA)\n\t\t\t{\n\t\t\t\tdirection = Direction.SOUTH;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tdirection = Direction.NORTH;\n\t\t\t}\t\t\n\t\t\t\n\t\t\tfor (int i=1; i<(int)length; i++)\n\t\t\t{\n\t\t\t\tint x = (int) xA;\n\t\t\t\tint y;\n\t\t\t\t\n\t\t\t\tif(yB > yA)\n\t\t\t\t{\n\t\t\t\t\ty = ((int)yA) + i;\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\ty = ((int)yA) - i;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\troad.add(new Point(x,y));\n\t\t\t\t\n\t\t\t\tString key = String.valueOf(x) + \"-\" + String.valueOf(y);\n\t\t\t\tif(!roadEmpire.POINTS.containsKey(key));\n\t\t\t\t{\n\t\t\t\t\tMapPoint m = new MapPoint(x,y);\n\t\t\t\t\troadEmpire.POINTS.put(key, m);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\telse if(yA == yB)\n\t\t{\n\t\t\tif(xB > xA)\n\t\t\t{\n\t\t\t\tdirection = Direction.EAST;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tdirection = Direction.WEST;\n\t\t\t}\n\t\t\t\n\t\t\tfor (int i=1; i<(int)length; i++)\n\t\t\t{\n\t\t\t\tint x;\n\t\t\t\tint y = (int)yA;\n\t\t\t\t\n\t\t\t\tif(xB > xA)\n\t\t\t\t{\n\t\t\t\t\tx = ((int)xA) + i;\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tx = ((int)xA) - i;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\troad.add(new Point(x,y));\n\t\t\t\t\n\t\t\t\tString key = String.valueOf(x) + \"-\" + String.valueOf(y);\n\t\t\t\tif(!roadEmpire.POINTS.containsKey(key));\n\t\t\t\t{\n\t\t\t\t\tMapPoint m = new MapPoint(x,y);\n\t\t\t\t\troadEmpire.POINTS.put(key, m);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\telse\n\t\t{\t\n\t\t\tif((xB > xA) && (yB > yA))\n\t\t\t{\n\t\t\t\tdirection = Direction.SOUTH_EAST;\n\t\t\t}\n\t\t\telse if((xB > xA) && (yB < yA))\n\t\t\t{\t\n\t\t\t\tdirection = Direction.NORTH_EAST;\n\t\t\t}\n\t\t\telse if((xB < xA) && (yB > yA))\n\t\t\t{\n\t\t\t\tdirection = Direction.SOUTH_WEST;\n\t\t\t}\n\t\t\telse if((xB < xA) && (yB < yA))\n\t\t\t{\n\t\t\t\tdirection = Direction.NORTH_WEST;\n\t\t\t}\n\t\t\t\t\n\t\t\tfor (int i=1; i<(int)length; i++)\n\t\t\t{\n\t\t\t\tint x;\n\t\t\t\tint y;\n\t\t\t\t\n\t\t\t\tdouble c = (double) i;\n\t\t\t\tdouble a = c/(Math.sqrt((kFactor*kFactor + 1.0))); \n\t\t\t\tdouble b = Math.abs(a*kFactor);\n\t\t\t\t\n\t\t\t\tif((xB > xA) && (yB > yA))\n\t\t\t\t{\n\t\t\t\t\tx = (int)(xA + a);\n\t\t\t\t\ty = (int)(yA + b);\n\t\t\t\t}\n\t\t\t\telse if((xB > xA) && (yB < yA))\n\t\t\t\t{\n\t\t\t\t\tx = (int)(xA + a);\n\t\t\t\t\ty = (int)(yA - b);\n\t\t\t\t}\n\t\t\t\telse if((xB < xA) && (yB > yA))\n\t\t\t\t{\n\t\t\t\t\tx = (int)(xA - a);\n\t\t\t\t\ty = (int)(yA + b);\n\t\t\t\t}\n\t\t\t\telse if((xB < xA) && (yB < yA))\n\t\t\t\t{\n\t\t\t\t\tx = (int)(xA - a);\n\t\t\t\t\ty = (int)(yA - b);\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tx = 100;\n\t\t\t\t\ty = 100;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\troad.add(new Point (x,y));\n\t\t\t\t\n\t\t\t\tString key = String.valueOf(x) + \"-\" + String.valueOf(y);\n\t\t\t\tif(!roadEmpire.POINTS.containsKey(key));\n\t\t\t\t{\n\t\t\t\t\tMapPoint m = new MapPoint(x,y);\n\t\t\t\t\troadEmpire.POINTS.put(key, m);\n\t\t\t\t}\n\t\t\t\t\n\n\t\t\t}\n\t\t}\n\t\t\n\t\troad.add(new Point(intXB, intYB));\n\t\t\n\t\tString keyB = String.valueOf(intXB) + \"-\" + String.valueOf(intYB);\n\t\tif(!roadEmpire.POINTS.containsKey(keyB));\n\t\t{\n\t\t\tMapPoint m = new MapPoint(intXB,intYB);\n\t\t\troadEmpire.POINTS.put(keyB, m);\n\t\t}\n\t}", "public Railroad(int location, int[] coord) {\n super.setValue(200);\n super.setCoord(coord);\n super.setLocation(location);\n }", "public RobotInfo() {\n }", "public BasicDriveTeleOp() {\n\n }", "private void initTestBuildingWithRoomsAndWorkplaces() {\n\t\tinfoBuilding = dataHelper.createPersistedBuilding(\"50.20\", \"Informatik\", new ArrayList<Property>());\n\t\troom1 = dataHelper.createPersistedRoom(\"Seminarraum\", \"-101\", -1, Arrays.asList(new Property(\"WLAN\")));\n\n\t\tworkplace1 = dataHelper.createPersistedWorkplace(\"WP1\",\n\t\t\t\tArrays.asList(new Property(\"LAN\"), new Property(\"Lampe\")));\n\t\tworkplace2 = dataHelper.createPersistedWorkplace(\"WP2\", Arrays.asList(new Property(\"LAN\")));\n\n\t\troom1.addContainedFacility(workplace1);\n\t\troom1.addContainedFacility(workplace2);\n\n\t\tinfoBuilding.addContainedFacility(room1);\n\t}", "public Station(){\n\t\tthis.Name = \"\";\n\t\tthis.x_location = 0;\n\t\tthis.y_location = 0;\n\t\tthis.capacity = 0;\n\t\tthis.ambulances = null;\n\t\tthis.location = (\"(\" + x_location + \", \" + y_location + \")\");\n\n\t}", "public MyRoom() {\r\n }", "helpers(Player_Character hero, HashMap<String, Location> places, HashMap<String, NPC> NPCs)\n\t{\n\t\ttime_of_day=0;\n\t\tPC = hero;\n\t\tIO = new System_IO_Object();\n\t\t\n\t\t//IO = new Frame_Button_IO_Object();\n\t\tNPC_List = NPCs;\n\t\tLocation_List = places;\n\t\t\n\t\tnowhere = new No_Where();\n\t}", "public Person(Person o){\n destinationFloor=o.getDestinationFloor();\n }" ]
[ "0.6856445", "0.6800472", "0.676373", "0.6638182", "0.66111016", "0.6497071", "0.6481255", "0.6455158", "0.64496464", "0.6446618", "0.64185894", "0.63899475", "0.6361831", "0.6331991", "0.63194317", "0.62777257", "0.62263167", "0.6176845", "0.616989", "0.6158063", "0.6137217", "0.6134593", "0.6087145", "0.60447407", "0.6019017", "0.60176694", "0.5984932", "0.5941945", "0.5936004", "0.5931443", "0.5929447", "0.59041", "0.588953", "0.58864117", "0.5862856", "0.5857458", "0.58482295", "0.5825601", "0.5824294", "0.5816386", "0.58138824", "0.57967097", "0.5789722", "0.5784153", "0.57748055", "0.57637596", "0.5759639", "0.57521", "0.5748571", "0.574829", "0.57429487", "0.5737108", "0.57369226", "0.57295537", "0.57261133", "0.5723717", "0.5721349", "0.571915", "0.57085013", "0.570678", "0.5705996", "0.5704693", "0.57038647", "0.5701388", "0.570071", "0.56992507", "0.5687031", "0.5686909", "0.5682564", "0.5672904", "0.5670782", "0.5662571", "0.5650856", "0.5647874", "0.56469506", "0.56427103", "0.56416404", "0.5632583", "0.5627504", "0.5625553", "0.5624817", "0.56135887", "0.56125814", "0.5604048", "0.5603496", "0.5599809", "0.5599579", "0.55973387", "0.55936664", "0.55922866", "0.558872", "0.5586892", "0.5579853", "0.5576146", "0.55735487", "0.557258", "0.5571745", "0.55642855", "0.55618864", "0.55541724" ]
0.6171707
18
changes isVisited from false to true when the player goes there.
void changeVisited(){ this.isVisited = true;}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setVisited(boolean value){this.visited = value;}", "@Override\r\n\tpublic boolean isVisited() {\n\t\treturn false;\r\n\t}", "public void setVisited(boolean visited) {\n isVisited = visited;\n }", "public void setVisited()\n {\n visited = true;\n }", "public boolean WasVisited() { return _visited; }", "public boolean getVisited(){return this.visited;}", "public void setVisited(boolean flag) {\n\t\tvisited = flag;\n\t}", "public void setVisited(boolean visited) {\n this.visited = visited;\n }", "public void setVisited(boolean visited)\n\t{\n\t\tthis.visited = visited;\n\t}", "public void setVisited(boolean b) {\n\t\t_visited = b;\n\t}", "public void setVisited(Boolean b){\n visited = b;\n }", "public void setVisited(Boolean visited) {\n this.visited = visited;\n }", "public void setVisited(boolean visited) {\r\n\t\t\tthis.visited = visited;\r\n\t\t}", "public boolean isVisited() {\n return isVisited;\n }", "public boolean isVisited(){\n return visited;\n }", "public boolean hasBeenVisited() {\n\t\treturn visited; // Replace with your code\n\t}", "boolean isVisited();", "boolean isVisited();", "public boolean isVisited () {\n if (this.equals(SquareType.VISITED))\n return true;\n else\n return false;\n }", "public void enterPlayerView(){\n\t\tplayerSeen=true;\r\n\t\tplayerMapped=true;\r\n\t}", "public void visit() {\n\t\tvisited = true;\n\t}", "public boolean isVisited() {\n return visited;\n }", "public boolean isVisited()\n\t{\n\t\treturn visited;\n\t}", "public boolean isVisited() {\n return visited;\n }", "public boolean isVisited() {\n\t\treturn visited;\n\t}", "public boolean isVisitado() {\n return this.isVisited;\n }", "public boolean isVisited() {\n\t\treturn _visited;\n\t}", "public boolean isVisited() {\r\n\t\t\treturn this.visited;\r\n\t\t}", "public void visit() {\n visited = true;\n }", "public void setAsPlayer(){\n\t\tthis.isPlayer = true;\n\t}", "public boolean getVisited() {\n return visited;\n }", "public void updateGameLocationWithVisitOrNot(String ID, boolean isVisited) {\n\t\thelper.updateGameLocationTable(GamelocationTableName, ID,\n\t\t\t\tconvertToString(isVisited));\n\t}", "public boolean getVisited()\n {\n return visited;\n }", "public void land() {\n Game currentGame = this.getGame();\n this.setHasBeenVisited(true);\n currentGame.setMode( Game.Mode.GAME_WON);\n\n }", "public void setReached(boolean reached);", "public void switchPlayer() {\n \tisWhitesTurn = !isWhitesTurn;\n }", "public boolean stepOn(Player player) {\n //System.out.println(\"Nem léphetsz rá a MapElementre.\");\n return false;\n }", "public void setNodeVistied(boolean nodeVisit){\r\n\t \tthis.nodeVisited = nodeVisit;\r\n\t }", "boolean reach() {\n\t\treturn PlayerreachEnd;\n\t}", "public void isGameOver() { \r\n myGameOver = true;\r\n myGamePaused = true; \r\n }", "public abstract boolean isNextVisited();", "public boolean continueGame(){\n for (Player p : super.getPlayers()) {\n // check if p is dead\n if (p.isDead()) {\n return false;\n }\n }\n return true;\n }", "public void setInGame() {\n this.inGame = true;\n }", "@Override\r\n\t\tpublic boolean isPlayer() {\n\t\t\treturn state.isPlayer();\r\n\t\t}", "public void resetPlayerPassed() {\n d_PlayerPassed = false;\n }", "synchronized boolean go() {\n boolean retVal = false;\n if (!isVisible()) {\n retVal = true;\n //System.out.println(\"Tumbleweed.go-->not visible\");\n myJumpedOver = false;\n setVisible(true);\n // set the tumbleweed's position to the point\n // where it just barely appears on the screen\n // to that it can start approaching the cowboy:\n if (myLeft) {\n setRefPixelPosition(myCurrentRightBound, myY);\n move(-1, 0);\n } else {\n setRefPixelPosition(myCurrentLeftBound, myY);\n move(1, 0);\n }\n } else {\n //System.out.println(\"Tumbleweed.go-->visible\");\n }\n return (retVal);\n }", "public void clearVisited()\n {\n visited = false;\n }", "public void changeTurn()\r\n {\r\n isPlayersTurn = !isPlayersTurn;\r\n }", "public boolean whoIsHere(){\r\n\t\treturn otherPlayer;\r\n\t}", "@Override\npublic boolean changeTurn() {\n\tif (currentPlayer.hasNext()) {\n\t\tcurrentPlayer = currentPlayer.getNext();\n\t\treturn true;\n\t}\nreturn false;\n}", "@Override\n public boolean isPlayer() {\n return super.isPlayer();\n }", "public void isPaused() { \r\n myGamePaused = !myGamePaused; \r\n repaint(); \r\n }", "public void battleOver()\r\n {\r\n isBattleOver = true;\r\n }", "public void setActivePlayer()\n {\n activePlayer = !activePlayer;\n }", "public void resetSeeing(Player player) {\n Debuggle.log(\"Resetting visibility on \" + player.getName());\n if (VanishPerms.canSeeAll(player)) {\n \tBungeeHelper.setSeeState(player, true);\n this.showVanished(player);\n Debuggle.log(\"Showing all to \" + player.getName());\n } else {\n \tBungeeHelper.setSeeState(player, false);\n this.hideVanished(player);\n Debuggle.log(\"Hiding all to \" + player.getName());\n }\n }", "private void checkIfMyTurn(boolean currPlayer) {\n gameService.setMyTurn(currPlayer);\n System.out.println();\n System.out.println(\"My turn now: \" + gameService.isMyTurn());\n\n if (! currPlayer) {\n gameService.setLabelTurnText(\"Wait for your turn.\");\n updateFields(gameService.receiveUpdates());\n } else {\n gameService.setLabelTurnText(\"Your turn!\");\n }\n }", "public boolean meTurn(){\n return (isWhite && isWhitePlayer) || (!isWhite && !isWhitePlayer);\n }", "public boolean transition() {\n current = new State(ts++, hopper); \n if (terminus.isTerminus(current)) {\n return false;\n } else {\n hopper.sendBall(oneMinute);\n return true;\n }\n }", "boolean isTurnedFaceUp();", "public boolean gameOver(){\n\t\treturn this.lives < 1;\n\t}", "public boolean moveOn() {\n\t\t\n\t}", "public synchronized boolean ifShouldVisitMarkVisited(String URL) {\n\t\tString key = getKey(URL);\n\t\tif (alreadyVisited(key)) {\n\t\t\treturn false;\n\t\t}\n\t\t/*\n\t\t * Mark the current URL as 'visited' by storing it in the BloomFilter\n\t\t * so that no other thread continues further than this\n\t\t */\n\t\tmarkVisited(key);\n\t\treturn true;\n\t}", "public void setMine() {\r\n\t\tisMine=true;\r\n\t}", "void setGameOver() {\n myGameOver = true;\n myJump.userPauseThreads();\n }", "public void setMine()\n {\n mine = true;\n }", "private boolean wasVisited(int city){\n\t\treturn this.getGraph().wasVisited(city);\n\t}", "private boolean isOver() {\r\n return players.size() == 1;\r\n }", "boolean isGameSpedUp();", "boolean isPlayerTurn();", "public void setIsTurn()\n\t{\n\t\tthis.isTurn = true;\n\t}", "private void inAvanti() {\n\t\tif (Game.getInstance().isOnGround) {\n\t\t\tjump=false;\n\t\t\tGame.getInstance().getPersonaggio().setStato(Protagonista.RUN);\n\t\t\tGraficaProtagonista.getInstance().cambiaAnimazioni(Protagonista.RUN);\n\t\t}\n\t}", "public void setSinglePlayer(){\n isSinglePlayer = true;\n }", "public void setPassed(boolean passed){\n passedLastMove=passed;\n }", "private void gameOver() {\n\t\tgameOver=true;\n\t}", "public boolean switchOut(Pokemon p) {\n return false;\n }", "public boolean timeUp(){\n return timeAlive == pok.getSpawnTime(); \n }", "public void playerFinishedGoNext() {\n\t\t// If game is over we don't want to switch turn.\n\t\tif (!isOver()) {\n\t\t\tswitchTurn();\n\t\t}\n\t}", "public void changePlayerPixels() {\n //change the player point2pixels\n if (!playerFlag) {\n game.getPlayer().setPixels(convertor.gps2Pixels(game.getPlayer().getPoint()));\n Point3D point = new Point3D(game.getPlayer().getPixels()[0] , game.getPlayer().getPixels()[1]);\n GraphNode playerNode = new GraphNode(point);\n vertices.add(playerNode);\n\n }\n\n else {\n Point3D point = new Point3D(game.getPlayer().getPixels()[0] , game.getPlayer().getPixels()[1]);\n GraphNode playerNode = new GraphNode(point);\n vertices.add(playerNode);\n }\n\n playerFlag = true;\n\n }", "@Override\r\n\tpublic boolean isLive() {\n\t\treturn false;\r\n\t}", "public Boolean waitingUser(){\n\t\tif (currentPlayer == 0){\n\t\t\tSystem.out.println(\"You are the first player, changing waitingUser to true\");\n\t\t\treturn true;\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}", "private void setGameStatus() {\n this.gameStatus = false;\n }", "public boolean passPlayer() {\n if (this.state == 2) {\n if (this.playerBet != this.serverBet && this.money_server != 0 && this.money_player !=0) {\n return false;\n }\n // player moves and is dealer\n if (this.dealer == 1) {\n this.betRound += 1;\n if(this.betRound == 1){\n this.state = 3;\n }\n else{\n this.state = 4;\n }\n return true;\n } else {\n this.state = 1;\n return true;\n }\n } else {\n // server moves and is dealer\n if (this.dealer == 0) {\n this.betRound += 1;\n if(this.betRound == 1){\n this.state = 3;\n }\n else{\n this.state = 4;\n }\n return true;\n } else {\n this.state = 2;\n return true;\n }\n }\n }", "public boolean isSwitchingPlayerOneTime()\n {\n boolean change = changePlayerOneTime != null;\n changePlayerOneTime = null;\n return change;\n }", "public void reset(){\r\n barn.setVisited(Boolean.FALSE);\r\n turkeyTalk.setVisited(Boolean.FALSE);\r\n pigginOut.setVisited(Boolean.FALSE);\r\n seeTheLight.setVisited(Boolean.FALSE);\r\n theGobbling.setVisited(Boolean.FALSE);\r\n youDied1.setVisited(Boolean.FALSE);\r\n threeLittlePigs.setVisited(Boolean.FALSE);\r\n forTheGreaterGood.setVisited(Boolean.FALSE);\r\n farmHouseTurkey.setVisited(Boolean.FALSE);\r\n youWin.setVisited(Boolean.FALSE);\r\n }", "public void changeHasInvisibility()\r\n\t{\r\n\t\thasInvisibility = !hasInvisibility;\r\n\t}", "@Override\n public boolean active() {\n return !isFishing();\n }", "boolean GameOver() {\n\t\treturn player.isDead();\n\t}", "public boolean gameContinue() {\n for (Player player : players) {\n if (player.getPoints() > END_GAME_POINTS) {\n return false;\n }\n }\n return true;\n }", "public boolean GameOver() {\r\n if(Main.player1.SuaVida()==0 || Main.player2.SuaVida()==0)\r\n return true;\r\n return false;\r\n }", "public boolean isPlayerAlive() {\r\n\t\treturn !(this.getRobotsAlive().isEmpty());\r\n\t}", "public void setFollowing(Boolean newValue) { following = newValue; }", "public void resetIsVisible();", "private void playerMoveUp()\n {\n this.getCurrentLevel().getInLevelLocation()[this.getCurrentX()][this.getCurrentY()].setHasPlayer(false);\n this.setCurrentY(this.getCurrentY() - 1);\n if (this.getCurrentY() > -1) {\n if (!nextIsWall()) {\n this.getCurrentLevel().getInLevelLocation()[this.getCurrentX()][this.getCurrentY()].setHasPlayer(true);\n } else {\n this.setCurrentY(this.getCurrentY() + 1);\n this.getCurrentLevel().getInLevelLocation()[this.getCurrentX()][this.getCurrentY()].setHasPlayer(true);\n }\n } else// hit edge redo setlocation\n {\n this.setCurrentY(this.getCurrentY() + 1);\n this.getCurrentLevel().getInLevelLocation()[this.getCurrentX()][this.getCurrentY()].setHasPlayer(true);\n } \n }", "@Override\n public boolean isLocalPlayersTurn() {\n return getTeam().equals(currentBoard.turn());\n }", "public boolean isWalking(){\n if (jumpState < 2)\n return true;\n else\n return false;\n}", "public void setHasLeveledUp(boolean value) {\n this.hasLeveledUp = value;\n }", "@Override\r\n\tpublic boolean doesGuiPauseGame() {\r\n\t\treturn false;\r\n\t}", "public boolean checkForGourds() {return false;}", "@Override\n\tpublic boolean doesGuiPauseGame() {\n\t\treturn super.doesGuiPauseGame();\n\t}", "public boolean isReached();" ]
[ "0.7112457", "0.6971345", "0.6871066", "0.6811126", "0.66726094", "0.66515434", "0.66472423", "0.66426504", "0.66388714", "0.663211", "0.6628501", "0.6596029", "0.6584161", "0.6556469", "0.6555041", "0.64768326", "0.6452611", "0.6452611", "0.6452217", "0.63091683", "0.62930244", "0.62765133", "0.6273255", "0.62700903", "0.6243779", "0.6191792", "0.6184639", "0.6184487", "0.6152217", "0.61127853", "0.6048348", "0.60334635", "0.5999717", "0.59825796", "0.59574306", "0.59519404", "0.5902905", "0.58808565", "0.5854397", "0.58411115", "0.5809543", "0.57903403", "0.5754198", "0.5730023", "0.5728937", "0.5722476", "0.570248", "0.56882983", "0.56875926", "0.5686022", "0.567923", "0.5657817", "0.56508803", "0.56340754", "0.56332105", "0.56087446", "0.5596478", "0.5581049", "0.5579161", "0.5576142", "0.55628765", "0.5559842", "0.55283225", "0.55226564", "0.55020845", "0.5494709", "0.5494629", "0.5490579", "0.5467382", "0.54670763", "0.5460893", "0.5452802", "0.543916", "0.5424283", "0.5420466", "0.54161257", "0.54091537", "0.5398085", "0.53971916", "0.53956115", "0.5394194", "0.53936905", "0.53791004", "0.5370959", "0.53680193", "0.5355145", "0.53506964", "0.53497744", "0.5348898", "0.53405076", "0.5340376", "0.5339638", "0.5336656", "0.53357476", "0.53349346", "0.53320277", "0.5330283", "0.53245914", "0.53190935", "0.5314058" ]
0.7161782
0
adds container to location
void addContainer (Container toAdd){ this.receptacle.add(toAdd);}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void addToContainer(Container container);", "@Override\n public void addContainer(Container c) {\n Optional<Container> duplicate = getContainers().filter(\n n -> n.getName().equals(c.getName())\n && n.getOwner().getTenant().equals(c.getOwner().getTenant())\n && n.getOwner().getName().equals(c.getOwner().getName())\n ).findFirst();\n\n if (duplicate.isPresent()) {\n throw new NotAcceptableException(\"Container \" + c.getName()\n + \" already exists.\");\n }\n\n c.setState(State.CREATE_REQUESTED);\n c.setAdded(Utils.now());\n\n try {\n\n ZooKeeper zk = zooKeeperClient.getZookeeper();\n\n final String zkName = ContainerUtils.getZKname(c);\n\n LOG.info(\"Adding Container: \" + zkName);\n\n // Hand-off to PlacementManager\n ZKUtils.savePersistent(zk, c,\n PlacementManager.TO_BE_PLACED_NODEPATH\n + \"/\" + zkName);\n\n } catch (KeeperException | InterruptedException |\n JAXBException | GeneralSecurityException ex) {\n LOG.error(ex.toString(), ex);\n }\n\n }", "public void addContainer(GameObject container) {\n if(!containers.contains(container)) {\n containers.add(container);\n } else {\n System.out.println(\"addContainer(): This container is already added.\");\n }\n }", "private void addContainer(String containerName, String baseImage){\n // Call python new_lab_script: new_lab_setup.py -b basename\n //String cmd = \"./addContainer.sh \"+labsPath+\" \"+labName+\" \"+containerName+\" \"+baseImage;\n String cmd = \"new_lab_setup.py -a \"+containerName+\" -b \"+baseImage;\n doLabCommand(cmd);\n }", "public void attachContainer(Container container) \n {\n Vector3f pos = container.node.getWorldTranslation();\n Quaternion rot = container.node.getWorldRotation();\n this.node.attachChild(container.node);\n container.node.setLocalTranslation(this.node.worldToLocal(pos, null));\n //container.node.setLocalRotation(rot);\n this.container = container;\n }", "private void addComponent(Container container,Component c,int x,int y,int width,int height)\n {\n c.setBounds(x,y,width,height);\n container.add(c);\n }", "int addPilotContainer(PilotContainer container);", "public void addGameContainer(GameContainer gameContainer){\n this.gameContainer = gameContainer;\n mouseOverArea = new MouseOverArea(gameContainer,image,(int)position.getX(),(int)position.getY(),image.getWidth(),image.getHeight());\n }", "private void addContainerPanel(ContainerData data){\n ContainerObjPanel newContainer;\n // If null then this is a new container being added\n if(data == null){\n String containerName = ContainerAddDialogNameTextfield.getText(); \n if(containerName == null || containerName.trim().length() == 0){\n System.out.println(\"No container name provided.\");\n return;\n }\n String baseImage = (String)ContainerAddDialogBaseImageCombobox.getSelectedItem();\n ContainerData freshContainerData = new ContainerData(containerName);\n newContainer = new ContainerObjPanel(this, freshContainerData);\n \n // Update the data object to include the new container\n labDataCurrent.getContainers().add(freshContainerData);\n ResultsData.containerList.add(containerName);\n \n // Update the Results UI to include the new container\n if(resultsUI!= null)\n resultsUI.refresh();\n \n // Add the container into the user's file system\n addContainer(containerName, baseImage);\n }\n else {\n newContainer = new ContainerObjPanel(this, data);\n }\n\n // Resize the JPanel holding all the ContainerObjPanels to fit another ContainerObjPanel \n containerPanePanelLength+=50;\n ContainerPanePanel.setPreferredSize(new Dimension(0,containerPanePanelLength));\n ContainerPanePanel.add(newContainer);\n \n // Redraw GUI with the new Panel\n ContainerPanePanel.revalidate();\n ContainerPanePanel.repaint(); \n \n // Lower the Scroll Bar to show the newly added container. BUG[6/25/20]: still always off by a single panel\n containerScrollPaneBar.setValue(50+containerScrollPaneBar.getMaximum());\n \n // Make the Container Add Dialog Invisible\n ContainerAddDialog.setVisible(false);\n }", "public void add(Location loc, Evolver occupant)\n {\n occupant.putSelfInGrid(getGrid(), loc);\n }", "public void addContainer( LdifContainer container )\n {\n containerList.add( container );\n \n if ( container instanceof LdifChangeRecord )\n {\n hasChanges = true;\n }\n }", "@Override\npublic void add(VirtualContainer parent, VirtualComponent comp, int pos) {\n\t\n}", "public void addLocation(Location location)\n {\n locationLst.add(location);\n }", "public void addLocation(CmsPath path)\r\n {\r\n locations.add(path);\r\n }", "public void setContainer(String container) {\n this.container = container;\n }", "public ProductGroup addContainer(String name) throws IllegalArgumentException;", "protected void mergeContainers(LaContainer container, String path, boolean addToTail) {\n final Set<URL> additionalURLSet = gatherAdditionalDiconURLs(path, addToTail);\n for (Iterator<URL> itr = additionalURLSet.iterator(); itr.hasNext();) {\n final String url = itr.next().toExternalForm();\n if (LaContainerBuilderUtils.resourceExists(url, this)) {\n LaContainerBuilderUtils.mergeContainer(container, LaContainerFactory.create(url));\n }\n }\n }", "public void addTo( JPanel jpnlContainer ) {\n jpnlContainer.removeAll();\n\n //add object(s) to the container.\n jpnlContainer.add( this );\n\n //update the container JPanel\n jpnlContainer.revalidate();\n jpnlContainer.repaint();\n }", "public static void placeObject(ObjectInstance content, ObjectInstance container) {\n\t\tcontent.addRelationalTarget(Names.ATTR_CONTAINER, container.getName());\n\t\tcontainer.addRelationalTarget(Names.ATTR_CONTENTS, content.getName());\n\t}", "public void addToMainContainer() {\n MainFrame.mainContainer.add(designPanel);\n MainFrame.mainContainer.add(rightPanel, BorderLayout.EAST);\n }", "public void addLocation(LocationLocal location) {\n java.util.Set locationsCol = getLocations();\n locationsCol.add(location);\n }", "private void agregarAlPanel(JInternalFrame frame)\n\t{\n\t\tframe.setBounds(10 * (contentPane.getAllFrames().length + 1), 50 + (10 * (contentPane.getAllFrames().length + 1)), (int)frame.getBounds().getWidth(), (int)frame.getBounds().getHeight());\n\t\tcontentPane.add(frame);\n\t\tframe.moveToFront();\n\t}", "public void addPage_GameControlContainer(JPanel newJPanel,String name){\n gameControlPanel.add(newJPanel,name);\n setVisible(true);\n }", "Builder addContentLocation(String value);", "public void addComponentsToContainer()\n {\n\t container.add(welcome);\n container.add(amountLabel);\n container.add(amountText);\n container.add(depositButton);\n }", "void addCoordinateSystem(CoordinateSystem cs);", "public void add(Figure geofig) {\n\t\tchildren.add(geofig);\n\t}", "public void addToWorld() {\n world().addObject(this, xPos, yPos);\n \n try{\n terrHex = MyWorld.theWorld.getObjectsAt(xPos, yPos, TerritoryHex.class).get(0);\n } catch(IndexOutOfBoundsException e){\n MessageDisplayer.showMessage(\"The new LinkIndic didn't find a TerritoryHex at this position.\");\n this.destroy();\n }\n \n }", "public void testGetContainerForLocation() {\n \t\tIWorkspaceRoot root = getWorkspace().getRoot();\n \t\tassertEquals(\"1.0\", root, root.getContainerForLocation(root.getLocation()));\n \n \t}", "protected void insertFigure(FigureFacet owner, FigureReference reference)\n {\n FigureFacet contained = resolveFigure(reference);\n ContainerFacet accepting = owner.getContainerFacet().getAcceptingSubcontainer(\n new ContainedFacet[]{contained.getContainedFacet()});\n if (accepting == null)\n System.err.println(\"$$ cannot insert figure into object: figure = \" + reference);\n else\n {\n ContainerAddCommand addCmd = new ContainerAddCommand(accepting.getFigureFacet().getFigureReference(),\n new FigureReference[]{reference}, \"\", \"\");\n go(addCmd);\n }\n }", "public Container newContainer();", "@Override\n\tpublic void addChild(IComponent c) {\n\t\tcomponents.add(c);\n\t}", "private void addPluginComponent(Component c,\n Container container,\n Object constraints)\n {\n if (container.equals(Container.CONTAINER_CHAT_WINDOW))\n {\n if (constraints.equals(BorderLayout.SOUTH))\n {\n pluginPanelSouth.add(c);\n pluginPanelSouth.repaint();\n }\n else if (constraints.equals(BorderLayout.WEST))\n {\n pluginPanelWest.add(c);\n pluginPanelSouth.repaint();\n }\n else if (constraints.equals(BorderLayout.EAST))\n {\n pluginPanelEast.add(c);\n pluginPanelSouth.repaint();\n }\n }\n else if (container.equals(Container.CONTAINER_CHAT_STATUS_BAR))\n {\n statusBarPanel.add(c);\n }\n\n this.getContentPane().repaint();\n }", "public void addRegion(com.hps.july.persistence.Region arg0) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException {\n\n instantiateEJB();\n ejbRef().addRegion(arg0);\n }", "private void createContent(final Container container) {\n this.mainPanel = new MainPanel();\n this.mainPanel.setName(\"mainPanel\"); // Fest\n\n if (container != null) {\n // adds the main panel\n container.add(this.mainPanel, BorderLayout.CENTER);\n\n // Handle status bar\n container.add(StatusBar.getInstance(), BorderLayout.SOUTH);\n }\n }", "public void addComponentsToContainer() {\n container.add(userLabel);\n container.add(passwordLabel);\n container.add(userTextField);\n container.add(passwordField);\n container.add(loginButton);\n container.add(exitButton);\n\n }", "Container createContainer();", "@Override\r\n\t\t\tpublic void componentAdded(ContainerEvent arg0){}", "@Override\n public boolean addNewLocation(JacocDBLocation toAdd)\n {\n\tlocationList.add(toAdd);\n\n\treturn writeLocationObjectToDB(toAdd);\n }", "public void addDock(Scanner sc, HashMap portMap){\n Dock dock = new Dock(sc, portMap);\n currentPort = (SeaPort) hashMap.get(dock.getParent());\n currentPort.setDock(dock);\n hashMap.put(dock.getIndex(), dock);\n dockMap.put(dock.getIndex(), dock);\n everything.add(dock);\n }", "public void addPage_MainContainer(JPanel newJPanel,String name){\n mainActionPanel.add(newJPanel,name);\n setVisible(true);\n }", "Builder addContentLocation(Place value);", "public void add(Component c){}", "public void add(JComponent c)\n {\n\tif(managers == null)\n\t managers = new HashSet<JComponent>();\n\tmanagers.add(c);\n }", "@Override\r\n\tpublic void addStorageUnit() {\r\n\t}", "public abstract void add(KitComponent component);", "public void addComponent(Component c);", "private void addFolder(){\n }", "public void addToPane(Node node) {\n pane.getChildren().add(node);\n }", "protected void addedToWorld(World world) \n {\n createImages();\n }", "public void addToJPanel() {\r\n\t\tedit_terrain.add(header);\r\n\t\tJLabel blank1 = new JLabel(\"\");\r\n\t\tedit_terrain.add(blank1);\r\n\t\t\r\n\t\tedit_terrain.add(add_terrain);\r\n\t\tJLabel blank2 = new JLabel(\"\");\r\n\t\tedit_terrain.add(blank2);\r\n\t\t\r\n\t\tedit_terrain.add(scale_lb);\r\n\t\tedit_terrain.add(scale);\r\n\t\t\r\n\t\tedit_terrain.add(shape_lb);\r\n\t\tedit_terrain.add(shape_cb);\r\n\t\t\r\n\t\tedit_terrain.add(material_lb);\r\n\t\tedit_terrain.add(material_cb);\r\n\t\t\r\n\t\tedit_terrain.add(colour_lb);\r\n\t\tedit_terrain.add(colour_cb);\r\n\t\t\r\n\t\tedit_terrain.add(position_x_lb);\r\n\t\tedit_terrain.add(position_x);\r\n\t\t\r\n\t\tedit_terrain.add(position_y_lb);\r\n\t\tedit_terrain.add(position_y);\r\n\t\t\r\n\t\tedit_terrain.add(apply_terrain);\r\n\t\tedit_terrain.add(reset_terrain);\r\n\t\t\r\n\t\tsetAllFont();\r\n\t}", "private void addComponents(Container content){\r\n\r\n content.add(getRentPane());\r\n content.add(getSellPane());\r\n\r\n }", "private void addPanelstoBookPanel() {\r\n this.add(centerPanel, BorderLayout.CENTER);\r\n\r\n /**\r\n * Add the bookPanel to the baseScreen en revalidate and repaint\r\n */\r\n Main.getController().getBaseScreen().mainContainer.add(this, BorderLayout.CENTER);\r\n Main.getController().getBaseScreen().mainContainer.revalidate();\r\n Main.getController().getBaseScreen().mainContainer.repaint();\r\n }", "protected void addLocation(ULPanel ul, LocationResult locationResult, ClickHandler handler, boolean showCategories) {\n if (MyWebApp.isDesktop()) {\n ListItem li = new ListItem();\n ComplexPanel vp = getLocationPanel(locationResult, handler, showCategories);\n li.add(vp);\n ul.add(li);\n } else {\n Image image = new Image(getSpotImage());\n Location location = locationResult.getLocation();\n //tags display\n FlowPanel tagsPanel = new FlowPanel();\n tagsPanel.setStyleName(\"tags\");\n //we do not want to show categories when we are showing spots that we are picking from\n if (showCategories) {\n if ((location.getFactualCategories() != null) && (location.getFactualCategories().length() > 0)) {\n String[] cats = location.getFactualCategories().split(\">\");\n for (String cat : cats) {\n String trimCat = cat.trim();\n TagHolder tagHolder = new TagHolder(trimCat);\n InlineLabel inlineLabel = new InlineLabel(tagHolder.getName());\n tagsPanel.add(inlineLabel);\n }\n }\n }\n LocationResultComposite locationResultComposite = new LocationResultComposite( image, tagsPanel);\n locationResultComposite.addClickHandler(handler);\n clickMapLocation.put(locationResultComposite, locationResult);\n StringBuffer sb = new StringBuffer();\n add(sb, \"\", location.getName());\n add(sb, \", \", location.getAddress1());\n add(sb, \", \", location.getCity());\n add(sb, \", \", location.getState());\n add(sb, \" \", location.getZipcode());\n locationResultComposite.setLocationDescription(sb.toString());\n\n processDistance(locationResult,locationResultComposite);\n ul.add(locationResultComposite);\n }\n }", "@Override\n public void add(Component c) {\n children.add(c);\n }", "void addComponent(Component component);", "public void add(Location s) {\n\t\t//nothing gets added\n\t\tif (s == null){\n\t\t\treturn;\n\t\t}\n\t\tNode addedLocation = new Node();\n\t\taddedLocation.setElement(s);\n\t\tif (head == null){ //adding to an empty set\n\t\t\thead = addedLocation;\n\t\t\tsize ++;\n\t\t} else{ \n\t\t\t//adding to the top of a set that has at least one element stored in it\n\t\t\taddedLocation.next = head;\n\t\t\thead = addedLocation;\n\t\t\tsize ++;\n\t\t}\n\t}", "@SubscribeEvent\n public static void registerContainer(final RegistryEvent.Register<ContainerType<?>> event){\n walletBlockContainerType = IForgeContainerType.create(WalletBlockContainer::createForClientSide);\n walletBlockContainerType.setRegistryName(\"wallet_block_container\");\n event.getRegistry().register(walletBlockContainerType);\n }", "public External withContainer(String container) {\n this.container = container;\n return this;\n }", "private void addFileToProject(IContainer container, Path path,\n InputStream contentStream, IProgressMonitor monitor)\n throws CoreException {\n final IFile file = container.getFile(path);\n\n if (file.exists()) {\n file.setContents(contentStream, true, true, monitor);\n } else {\n file.create(contentStream, true, monitor);\n }\n\n }", "public Location addLocation(final Location location) {\n route.add(location);\n return location;\n }", "private void add() {\n\n\t}", "private void addComponentsToPane(final Container pane) {\n pane.setLayout(new BorderLayout());\n JScrollPane header = getHeader();\n JScrollPane center = getCenter();\n\n pane.add(header, BorderLayout.PAGE_START);\n\t pane.add(center, BorderLayout.CENTER);\n }", "static void setItemsAndContainers (){\n\t \t/**Add containers to places*/\n\t \tLocation.places[0].addContainer(Container.depths);\n\t \tLocation.places[1].addContainer(Container.secondaryInv);\n\t \tLocation.places[4].addContainer(Container.SRCloset);\n\t \tLocation.places[6].addContainer(Container.couch1);\n\t\t Location.places[6].addContainer(Container.couch2);\n\t\t Location.places[6].addContainer(Container.couch3);\n\t\t Location.places[6].addContainer(Container.couch4);\n\t\t Location.places[13].addContainer(Container.closetBathroom);\n Location.places[15].addContainer(Container.K1Couch);\n Location.places[16].addContainer(Container.fridge);\n Location.places[23].addContainer(Container.autoAisle);\n Location.places[24].addContainer(Container.aisle15B);\n Location.places[26].addContainer(Container.bb);\n\t\t \n\t\t /**Add items to places*/\n\t\t Location.places[0].addItem(Item.grabber);\n\t\t Location.places[1].addItem(Item.parcans);\n\t\t Location.places[3].addItem(Item.bookbag);\n\t\t Location.places[4].addItem(Item.ladder);\n\t\t Location.places[7].addItem(Item.drill);\n\t\t Location.places[7].addItem(Item.screws);\n\t\t Location.places[7].addItem(Item.pipe);\n\t\t Location.places[7].addItem(Item.twobyfour);\n\t\t Location.places[8].addItem(Item.rope);\n\t\t Location.places[11].addItem(Item.car);\n\t\t Location.places[12].addItem(Item.twentyDollars);\n\t\t Location.places[16].addItem(Item.tupperware);\n\t\t Location.places[18].addItem(Item.bottle);\n Location.places[19].addItem(Item.plunger);\n Location.places[20].addItem(Item.map);\n Location.places[21].addItem(Item.magnet);\n Location.places[23].addItem(Item.avocados);\n Location.places[25].addItem(Item.noodles);\n\t\t Location.places[26].addItem(Item.Unibrow); \n\t\t \n\t\t /**test purposes*/\n\t\t Location.places[10].addItem(Item.otherWrench);\n//\t\t Location.places[0].addItem(Item.repellent);\n//\t\t Location.places[7].addItem(Item.repellent);\n// Location.places[7].addItem(Item.wrench);\n Location.places[7].addItem(Item.keys);\n\t\t \n\t\t /**Adds items in containers*/\n\t\t Container.setItemsInContainers();\n\t\t }", "private void addToLayout(Container container, Component c, int x, int y) {\n GridBagConstraints constraints = new GridBagConstraints();\n\n constraints.gridx = x;\n constraints.gridy = y;\n constraints.weightx = 0.0;\n constraints.fill = GridBagConstraints.HORIZONTAL;\n\n container.add(c, constraints);\n }", "void addRegion(Region region);", "public void addToWorld(World world);", "private void addToClassPool(final Path location) {\n if (!location.toFile().exists())\n throw new IllegalArgumentException(\"The location '\" + location + \"' does not exist!\");\n try {\n final Method method = URLClassLoader.class.getDeclaredMethod(\"addURL\", URL.class);\n method.setAccessible(true);\n method.invoke(urlClassLoader, location.toUri().toURL());\n } catch (Exception e) {\n throw new IllegalArgumentException(\"The location '\" + location + \"' could not be loaded to the class path!\", e);\n }\n }", "public void addContentTo(JRootPane rootPane) {\r\n JPanel contentPane = new JPanel(new BorderLayout());\r\n rootPane.setContentPane(contentPane);\r\n configure(rootPane);\r\n }", "private Container buildNewButtonContainer() {\n\n\t\tImage cancelImage = new Image(\"static/images/cancel.gif\", \"Cancel\");\n\t\tcancelImage.addAttribute(\"style\", \"cursor: pointer;\");\n\t\tcancelImage.addAttribute(\"onClick\", \"javascript:cancelReload()\");\n\n\t\tImage addAssetImage = new Image(\"static/images/save.gif\", \"Save\");\n\t\taddAssetImage.addAttribute(\"style\", \"cursor: pointer;\");\n\t\taddAssetImage.addAttribute(\"onClick\",\n\t\t\t\t\"javascript:InsertNewAssetDetails()\");\n\n\t\tContainer container = new Container(Type.DIV);\n\t\tcontainer.addComponent(addAssetImage);\n\t\tcontainer.addComponent(cancelImage);\n\t\tcontainer.addAttribute(\"style\", \"width: 100%\");\n\t\tcontainer.addAttribute(\"align\", \"center;\");\n\n\t\treturn container;\n\t}", "Builder addContentLocation(Place.Builder value);", "public void addToJPanel() {\r\n\t\tsave_objects.add(header);\r\n\t\tJLabel blank1 = new JLabel(\"\");\r\n\t\tsave_objects.add(blank1);\r\n\t\t\r\n\t\tsave_objects.add(title_lb);\r\n\t\tsave_objects.add(title);\r\n\t\t\r\n\t\tsave_objects.add(width_lb);\r\n\t\tsave_objects.add(width);\r\n\t\t\r\n\t\tsave_objects.add(height_lb);\r\n\t\tsave_objects.add(height);\r\n\t\t\r\n\t\tsave_objects.add(save);\r\n\t\tsave_objects.add(reset);\r\n\t\t\r\n\t\tsetAllFont();\r\n\t}", "void addComponents();", "public void addToContainer(ListContentContainer cont) {\n cont.setHeader(_node);\n }", "public static void add(Fragment parent, Bundle fragmentState, @IdRes int containerViewResId) {\n add(parent.getActivity(), fragmentState, containerViewResId);\n }", "public void setContentPane(AMenu container){\n\t\t\n\t\t// aktuelles Panel entfernen, sofern vorhanden\n\t\tif(content.getComponents().length != 0)\n\t\t\tcontent.removeAll();\n\t\t\n\t\t// neues Panel setzen\n\t\tcontent.add(container);\n\t\t\n\t\t\n\t\t// Framegröße auf Panelgröße anpassen\n\t\tif(container.getOriginalSize().height > getHeight() || container.getOriginalSize().width > getWidth()){\n\t\t\tcontainer.setPreferredSize(container.getOriginalSize());\n\t\t\t\n\t\t\tpack();\n\t\t\t\t\t\t\n\t\t\t//Frameminimumgröße auf Panelgröße festlegen\n\t\t\tsetMinimumSize(getSize());\n\t\t}else{\n\t\t\tvController.resizePanel(container);\n\t\t}\n\t\t\n\t\tvalidate();\n\t\trepaint();\n\t}", "public void addPath(Location location)\n {\n if(location != null && !accessibleLocations.contains(location)) {\n accessibleLocations.add(location);\n }\n }", "gov.nih.nlm.ncbi.www.CodeBreakDocument.CodeBreak.Loc addNewLoc();", "public void addToGameRoot(){\n Main.getRootPlayGround().getChildren().add(imageView);\n }", "private void positionAddNewMemberButton(Dimension parentSize,\n Component component) {\n int padding = 10;\n var bottomRightOfPanel = new Point(\n parentSize.width - padding,\n parentSize.height - padding\n );\n\n var componentSize = (Dimension) component.getSize();\n\n int w = componentSize.width;\n int h = componentSize.height;\n int x = bottomRightOfPanel.x - w;\n int y = bottomRightOfPanel.y - h * 2;\n\n var positionAndSize = new Rectangle(\n x, y, w, h\n );\n\n component.setBounds(positionAndSize);\n }", "public void add(Coord c){\r\n\t\tcoords.add(c);\r\n\t}", "public void setContainer(RuntimeContainer container)\n {\n this.container = container;\n }", "public void addButtonToContainer(Button button) {\n if (!buttonContainer.contains(button)) {\n buttonContainer.add(button);\n button.setOnAction(event -> onBlockedUserClicked(button));\n }\n }", "public TextController createContainerLocation(ControllerCore genCode) {\n\t\tcontainerLocationTXT = new TextController(\"containerLocation\", getParentController(controlItemSCSCLC), genCode) {\n\t\t\t@Override\n\t\t\tpublic void initialize() {\n\t\t\t\tsetLinkedController(containerLocation$1LBL);\n\t\t\t\tsetProperty(\"containerLocation\");\n\t\t\t\tsuper.initialize();\n\t\t\t}\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tif (null != fieldBindManager)\n\t\t\t\t\t\tfieldBindManager = new XjcFieldBindingManager(this);\n\t\t\t\t\tgetControl().addFocusListener(new XjcFocusListener(this));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\treturn containerLocationTXT;\n\t}", "public void addSpecialContainer(ResourceType resourceType, int capacity) {\n specialContainers.add(new SpecialContainer(resourceType, capacity));\n notifyObserver(new UpdatedSpecialDepotMessage(toReduced()));\n }", "public ManageLocationJPanel(JPanel userProcessContainer, LocationDirectory locationDirectory) {\n initComponents();\n this.userProcessContainer=userProcessContainer;\n this.locationDirectory=locationDirectory;\n populateLocationTable();\n }", "public void addResource(Resource res) {\n \tresourceDisplay.getChildren().add(new ResourceContainer(res));\r\n }", "public static void add(Fragment parent, Bundle fragmentState, @IdRes int containerViewResId, @NonNull String tag) {\n add(parent.getActivity(), fragmentState, containerViewResId, tag);\n }", "public void addComponent(Component component){\n components.add(component);\n }", "public void addChild(WSLNode node) {children.addElement(node);}", "public void addLocationToComboBox() throws Exception{}", "public void add(GuiElementBase element)\n\t\t{ insert(children.size(), element); }", "public void addElement(int x, int y, BoxContainer element){\n\t\t\tArrayList<Integer> coordinates = new ArrayList<Integer>();\n\t\t\tcoordinates.add(x);\n\t\t\tcoordinates.add(y);\n\t\t\tmap.put(coordinates, element);\n\t\t}", "public void doAddPlaceable(TreePath path) {\n \n \t\tNode node = (Node) path.getLastPathComponent();\n \t\t// load and add palceable to tree here\n \t\trepaint();\n \t}", "public void addOverlays() {\n\n\t\t// TODO: why clearing them?\n\t\tmapOverlays = mapView.getOverlays();\n\t\tmapOverlays.clear();\n\n\t\t// TODO: check!\n\t\tif (currentPos.size() != 0)\n\t\t\tmapOverlays.add(currentPos);\n\n\t\tif (lastSearch.size() != 0)\n\t\t\tmapOverlays.add(lastSearch);\n\t\t\n\t\tif(routeOverlays.size() != 0) {\n\t\t\tIterator<MyOverLay> it = routeOverlays.iterator();\n\t\t\twhile (it.hasNext()){\n\t\t\t\tmapOverlays.add(it.next());\n\t\t\t}\n\t\t}\n\n\t\tfor (Category cat : allCategories) {\n\t\t\tif (cat.getLinkedOverlay().size() > 0 && cat.isActive()) {\n\t\t\t\tUtil.l(\"Adding overlay \" + cat.getName()\n\t\t\t\t\t\t+ \" to map: ADDED (size is: \"\n\t\t\t\t\t\t+ cat.getLinkedOverlay().size() + \")\");\n\t\t\t\tmapOverlays.add(cat.getLinkedOverlay());\n\t\t\t} else {\n\t\t\t\tUtil.l(\"Adding overlay \" + cat.getName()\n\t\t\t\t\t\t+ \" to map: NOT ADDED (zero size OR noActive)\");\n\t\t\t}\n\t\t}\n\t}", "private void addViews() {\n\t}", "public void addDockable(JComponent c) {\n SingleCDockable dockable = new DefaultSingleCDockable(this.getTitle(), this.getTitle(), c); \r\n control.addDockable( dockable );\r\n \r\n // now we can set the location\r\n dockable.setLocation( CLocation.base(dockingcontent).normal() );\r\n dockable.setVisible( true );\r\n\r\n }", "public void setContainerName(String name) {\n this.name = name;\n }", "public void add() {\n\t\tcart.add(item.createCopy());\n\t}", "public void addFrame(GInternalFrame internalFrame) {\r\n\t\tinternalFrame.setDesktopPane(this);\r\n\t\tint spos = (frames.size() + 1) * 12;\r\n\t\tint left = getFrame().getAbsoluteLeft() + spos;\r\n\t\tint top = getFrame().getAbsoluteTop() + spos;\r\n\r\n\t\t// System.out.println(\"HippoDesktopPane.add frame gf.absleft \" +\r\n\t\t// getFrame().getAbsoluteLeft() + \" gf.abstop \"\r\n\t\t// + getFrame().getAbsoluteTop() + \" \" + spos);\r\n\r\n\t\tSelectBoxManagerImpl selectBoxManager = ((DefaultGFrame) internalFrame)\r\n\t\t\t\t.getSelectBoxManager();\r\n\t\tif (selectBoxManager instanceof SelectBoxManagerImplIE6) {\r\n\t\t\tgetFrame().add(selectBoxManager.getBlockerWidget(), left, top);\r\n\t\t}\r\n\t\tgetFrame().add((Widget) internalFrame);\r\n\t\tinternalFrame.setLocation(left, top);\r\n\r\n\t\t// NOTE needed to add this to get the windwos to pop ontop of the ocean\r\n\t\tDOM.setStyleAttribute(((DefaultGInternalFrame) internalFrame).getElement(), \"position\",\r\n\t\t\t\t\"absolute\");\r\n\r\n\t\tframes.add(internalFrame);\r\n\r\n\t\t// internalFrame.setTheme(theme);\r\n\t}" ]
[ "0.72242093", "0.66991", "0.6416866", "0.6260936", "0.6222639", "0.618644", "0.61778694", "0.61315954", "0.5986768", "0.5953014", "0.59487885", "0.57115054", "0.5689579", "0.5673279", "0.56584495", "0.5630374", "0.55986154", "0.5574497", "0.5549642", "0.546294", "0.5438296", "0.54279256", "0.54244554", "0.54045486", "0.53994894", "0.53905535", "0.5370558", "0.53622645", "0.53587085", "0.5352966", "0.53471744", "0.5320165", "0.53182924", "0.53071845", "0.53059846", "0.5300132", "0.5298423", "0.5298116", "0.52971387", "0.5289141", "0.52588105", "0.5245305", "0.5244729", "0.52407354", "0.5236465", "0.52347", "0.5232307", "0.52289826", "0.5228534", "0.52103806", "0.52060586", "0.52038735", "0.52023226", "0.5200519", "0.51890814", "0.5188518", "0.51494694", "0.51455927", "0.51404154", "0.5134842", "0.5129416", "0.512763", "0.5126671", "0.512012", "0.51086295", "0.51084346", "0.51043403", "0.5097274", "0.5096348", "0.5071572", "0.5066223", "0.5060299", "0.50541264", "0.50504726", "0.50484794", "0.5038854", "0.5028735", "0.5022438", "0.5019813", "0.50193995", "0.50178987", "0.50073826", "0.5003292", "0.50002795", "0.49977636", "0.49889597", "0.4982329", "0.49683338", "0.49569145", "0.4950746", "0.49397048", "0.49362323", "0.4934154", "0.49317408", "0.49269825", "0.4922037", "0.49218294", "0.49187678", "0.4916525", "0.49109888" ]
0.6557365
2
adds item to location used to add things initially and when you drop them.
void addItem (Item toAdd){ this.items.add(toAdd);}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void insertItem(Position position, IItem item);", "void add(Item item);", "public void add() {\n\t\tcart.add(item.createCopy());\n\t}", "public void store(Item item) {\n this.items.add(item);\n }", "public void dropItemAtCurrentPlace(Item it)\r\n\t{\r\n\t\tthis.currentPlace.addItem(it);\r\n\t}", "@Override\n\t\tpublic Integer insertItem(String name, int locationID, int descriptionID) {\n\t\t\treturn null;\n\t\t}", "public void addItem(Item item, boolean moving, long creatureId, boolean starting) {\n/* 2186 */ if (this.inactive) {\n/* */ \n/* 2188 */ logger.log(Level.WARNING, \"adding \" + item.getName() + \" to inactive tile \" + this.tilex + \",\" + this.tiley + \" surf=\" + this.surfaced + \" itemsurf=\" + item\n/* 2189 */ .isOnSurface(), new Exception());\n/* 2190 */ logger.log(Level.WARNING, \"The zone \" + this.zone.id + \" covers \" + this.zone.startX + \", \" + this.zone.startY + \" to \" + this.zone.endX + \",\" + this.zone.endY);\n/* */ } \n/* */ \n/* */ \n/* 2194 */ if (item.hidden) {\n/* */ return;\n/* */ }\n/* 2197 */ if (this.isTransition && this.surfaced && !item.isVehicle()) {\n/* */ \n/* 2199 */ if (logger.isLoggable(Level.FINEST))\n/* */ {\n/* 2201 */ logger.finest(\"Adding \" + item.getName() + \" to cave level instead.\");\n/* */ }\n/* 2203 */ boolean stayOnSurface = false;\n/* 2204 */ if (Zones.getTextureForTile(this.tilex, this.tiley, 0) != Tiles.Tile.TILE_HOLE.id)\n/* 2205 */ stayOnSurface = true; \n/* 2206 */ if (!stayOnSurface) {\n/* */ \n/* 2208 */ getCaveTile().addItem(item, moving, starting);\n/* */ \n/* */ return;\n/* */ } \n/* */ } \n/* 2213 */ if (item.isTileAligned()) {\n/* */ \n/* 2215 */ item.setPosXY(((this.tilex << 2) + 2), ((this.tiley << 2) + 2));\n/* 2216 */ item.setOwnerId(-10L);\n/* 2217 */ if (item.isFence())\n/* */ {\n/* 2219 */ if (isOnSurface()) {\n/* */ \n/* 2221 */ int offz = 0;\n/* */ \n/* */ try {\n/* 2224 */ offz = (int)((item.getPosZ() - Zones.calculateHeight(item.getPosX(), item.getPosY(), this.surfaced)) / 10.0F);\n/* */ }\n/* 2226 */ catch (NoSuchZoneException nsz) {\n/* */ \n/* 2228 */ logger.log(Level.WARNING, \"Dropping fence item outside zones.\");\n/* */ } \n/* 2230 */ float rot = Creature.normalizeAngle(item.getRotation());\n/* 2231 */ if (rot >= 45.0F && rot < 135.0F)\n/* */ {\n/* 2233 */ VolaTile next = Zones.getOrCreateTile(this.tilex + 1, this.tiley, this.surfaced);\n/* 2234 */ next.addFence((Fence)new TempFence(StructureConstantsEnum.FENCE_SIEGEWALL, this.tilex + 1, this.tiley, offz, item, Tiles.TileBorderDirection.DIR_DOWN, next\n/* 2235 */ .getZone().getId(), getLayer()));\n/* */ }\n/* 2237 */ else if (rot >= 135.0F && rot < 225.0F)\n/* */ {\n/* 2239 */ VolaTile next = Zones.getOrCreateTile(this.tilex, this.tiley + 1, this.surfaced);\n/* 2240 */ next.addFence((Fence)new TempFence(StructureConstantsEnum.FENCE_SIEGEWALL, this.tilex, this.tiley + 1, offz, item, Tiles.TileBorderDirection.DIR_HORIZ, next\n/* 2241 */ .getZone().getId(), getLayer()));\n/* */ }\n/* 2243 */ else if (rot >= 225.0F && rot < 315.0F)\n/* */ {\n/* 2245 */ addFence((Fence)new TempFence(StructureConstantsEnum.FENCE_SIEGEWALL, this.tilex, this.tiley, offz, item, Tiles.TileBorderDirection.DIR_DOWN, \n/* 2246 */ getZone().getId(), getLayer()));\n/* */ }\n/* */ else\n/* */ {\n/* 2250 */ addFence((Fence)new TempFence(StructureConstantsEnum.FENCE_SIEGEWALL, this.tilex, this.tiley, offz, item, Tiles.TileBorderDirection.DIR_HORIZ, \n/* 2251 */ getZone().getId(), getLayer()));\n/* */ }\n/* */ \n/* */ } \n/* */ }\n/* 2256 */ } else if (item.getTileX() != this.tilex || item.getTileY() != this.tiley) {\n/* */ \n/* 2258 */ putRandomOnTile(item);\n/* 2259 */ item.setOwnerId(-10L);\n/* */ } \n/* 2261 */ if (!this.surfaced)\n/* */ {\n/* 2263 */ if (Tiles.isSolidCave(Tiles.decodeType(Server.caveMesh.getTile(this.tilex, this.tiley)))) {\n/* */ \n/* 2265 */ if (!(getSurfaceTile()).isTransition) {\n/* */ \n/* 2267 */ getSurfaceTile().addItem(item, moving, creatureId, starting);\n/* 2268 */ logger.log(Level.INFO, \"adding \" + item.getName() + \" in rock at \" + this.tilex + \", \" + this.tiley + \" \");\n/* */ } \n/* */ \n/* */ return;\n/* */ } \n/* */ }\n/* 2274 */ item.setZoneId(this.zone.getId(), this.surfaced);\n/* 2275 */ if (!starting && !item.getTemplate().hovers()) {\n/* 2276 */ item.updatePosZ(this);\n/* */ }\n/* 2278 */ if (this.vitems == null)\n/* 2279 */ this.vitems = new VolaTileItems(); \n/* 2280 */ if (this.vitems.addItem(item, starting)) {\n/* */ \n/* 2282 */ if (item.getTemplateId() == 726) {\n/* 2283 */ Zones.addDuelRing(item);\n/* */ }\n/* 2285 */ if (!item.isDecoration()) {\n/* */ \n/* 2287 */ Item pile = this.vitems.getPileItem(item.getFloorLevel());\n/* 2288 */ if (this.vitems.checkIfCreatePileItem(item.getFloorLevel()) || pile != null) {\n/* */ \n/* 2290 */ if (pile == null) {\n/* */ \n/* 2292 */ pile = createPileItem(item, starting);\n/* 2293 */ this.vitems.addPileItem(pile);\n/* */ } \n/* 2295 */ pile.insertItem(item, true);\n/* 2296 */ int data = pile.getData1();\n/* 2297 */ if (data != -1 && item.getTemplateId() != data) {\n/* */ \n/* 2299 */ pile.setData1(-1);\n/* 2300 */ pile.setName(pile.getTemplate().getName());\n/* 2301 */ String modelname = pile.getTemplate().getModelName().replaceAll(\" \", \"\") + \"unknown.\";\n/* */ \n/* 2303 */ if (this.watchers != null)\n/* */ {\n/* 2305 */ for (Iterator<VirtualZone> it = this.watchers.iterator(); it.hasNext();) {\n/* 2306 */ ((VirtualZone)it.next()).renameItem(pile, pile.getName(), modelname);\n/* */ }\n/* */ }\n/* */ } \n/* 2310 */ } else if (this.watchers != null) {\n/* */ \n/* 2312 */ boolean onGroundLevel = true;\n/* 2313 */ if (item.getFloorLevel() > 0) {\n/* 2314 */ onGroundLevel = false;\n/* */ \n/* */ }\n/* 2317 */ else if ((getFloors(0, 0)).length > 0) {\n/* 2318 */ onGroundLevel = false;\n/* */ } \n/* 2320 */ for (VirtualZone vz : getWatchers()) {\n/* */ \n/* */ \n/* */ try {\n/* 2324 */ if (vz.isVisible(item, this)) {\n/* 2325 */ vz.addItem(item, this, creatureId, onGroundLevel);\n/* */ }\n/* 2327 */ } catch (Exception e) {\n/* */ \n/* 2329 */ logger.log(Level.WARNING, e.getMessage(), e);\n/* */ }\n/* */ \n/* */ } \n/* */ } \n/* 2334 */ } else if (this.watchers != null) {\n/* */ \n/* 2336 */ boolean onGroundLevel = true;\n/* 2337 */ if (item.getFloorLevel() > 0) {\n/* 2338 */ onGroundLevel = false;\n/* */ \n/* */ }\n/* 2341 */ else if ((getFloors(0, 0)).length > 0) {\n/* 2342 */ onGroundLevel = false;\n/* */ } \n/* 2344 */ for (VirtualZone vz : getWatchers()) {\n/* */ \n/* */ \n/* */ try {\n/* 2348 */ if (vz.isVisible(item, this)) {\n/* 2349 */ vz.addItem(item, this, creatureId, onGroundLevel);\n/* */ }\n/* 2351 */ } catch (Exception e) {\n/* */ \n/* 2353 */ logger.log(Level.WARNING, e.getMessage(), e);\n/* */ } \n/* */ } \n/* */ } \n/* 2357 */ if (item.isDomainItem()) {\n/* 2358 */ Zones.addAltar(item, moving);\n/* */ }\n/* 2360 */ if ((item.getTemplateId() == 1175 || item.getTemplateId() == 1239) && item\n/* 2361 */ .getAuxData() > 0)\n/* 2362 */ Zones.addHive(item, moving); \n/* 2363 */ if (item.getTemplateId() == 939 || item.isEnchantedTurret())\n/* 2364 */ Zones.addTurret(item, moving); \n/* 2365 */ if (item.isEpicTargetItem()) {\n/* 2366 */ EpicTargetItems.addRitualTargetItem(item);\n/* */ }\n/* 2368 */ if (this.village != null && item.getTemplateId() == 757)\n/* */ {\n/* 2370 */ this.village.addBarrel(item);\n/* */ }\n/* */ }\n/* */ else {\n/* */ \n/* 2375 */ item.setZoneId(this.zone.getId(), this.surfaced);\n/* 2376 */ if (!item.deleted) {\n/* 2377 */ logger.log(Level.WARNING, \"tile already contained item \" + item.getName() + \" (ID: \" + item.getWurmId() + \") at \" + this.tilex + \", \" + this.tiley, new Exception());\n/* */ }\n/* */ } \n/* */ }", "public int addItem(Item i, int x, int y) {\n i.setMapRelation(new MapItem_Relation(this, i));\n int error_code = this.map_grid_[y][x].addItem(i);\n if (error_code == 0) {\n items_list_.add(i);\n } else {\n i.setMapRelation(null);\n }\n return error_code;\n }", "public void addItem(Item toAdd) throws ImpossiblePositionException, NoSuchItemException {\n int itemX = (int) toAdd.getXyLocation().getX();\n int itemY = (int) toAdd.getXyLocation().getY();\n ArrayList<Item> rogueItems = getRogue().getItems();\n int itemFound = 0;\n if ((itemX >= getWidth() - 1) || (itemX <= 0) || (itemY >= getHeight() - 1)\n || (itemY <= 0) || !(roomDisplayArray[itemY][itemX].equals(\"FLOOR\"))) {\n throw new ImpossiblePositionException();\n } else {\n roomItems.add(toAdd);\n }\n for (Item singleItem : rogueItems) {\n if (toAdd.getId() == singleItem.getId()) {\n itemFound = 1;\n }\n }\n if (itemFound != 1) {\n throw new NoSuchItemException();\n }\n\n }", "public void placeItemInRoomAtCoords(WorldItem item, int row, int column) {\n Point targetPoint = getPointAtLocation(row, column);\n targetPoint.setContainedItem(item);\n if (item instanceof FlammableItem) {\n flammableItemCount++;\n }\n }", "public void additem(String item){\n\t\trep.takeitem(\"take \" + item);\n\t}", "public void addItem(Item item, int x, int y) {\n\t\tInventory items = getItemsAt(x, y);\n\t\titems.add(item);\n\t}", "@Override\r\n\tpublic void addItem(AbstractItemAPI item) {\n\t\titems.add(item);\r\n\t\t\r\n\t}", "public void add(Thing newThing)\r\n {\r\n \titems.add(newThing);\r\n }", "public abstract void addItem(AbstractItemAPI item);", "public void addItem(Object obj) {\n items.add(obj);\n }", "private void addToInventory(Item item) {\n inventory.put(item.getName(), item);\n }", "public void addItem(Item item) {\n items.add(item);\n }", "public void addItem(Item item) {\n items.add(item);\n }", "public void addItem(Item e) {\n\t\tItem o = new Item(e);\n\t\titems.add(o);\n\t}", "public void addItem( Item anItem) {\n currentItems.add(anItem);\n }", "CatalogItem addCatalogItem(CatalogItem catalogItem);", "public void addItem(Item itemToAdd){\n\t\tif(!isFull()){\n\t\t\tint index = findFreeSlot();\n\t\t\tinventoryItems[index] = itemToAdd;\n\t\t}\n\t\telse{\n\t\t\tSystem.out.println(\"Inventory full.\");\n\t\t}\n\t\t\n\t}", "public void addItem(Item toAdd) {\n\t\tthis.items.add(toAdd);\n\t}", "public void add(food entry)\n\t{\n\t\titems.add(entry);\n\t\t//updates isChanged to show changes\n\t\tisChanged = true;\n\t}", "public void add(Item item) {\r\n\t\tcatalog.add(item);\r\n\t}", "public void addProduct(Product item){\n inventory.add(item);\n }", "public void addItem(Item item) {\r\n\t\titems.add(item);\r\n\t}", "public void addItemInventory(Item item){\n playerItem.add(item);\n System.out.println(item.getDescription() + \" was taken \");\n System.out.println(item.getDescription() + \" was removed from the room\"); // add extra information to inform user that the item has been taken\n }", "public void in(food entry)\n\t{\n\t\titems.add(entry);\n\t}", "public void addItem(LibraryItem item){\r\n\t\t// use add method of list.class\r\n\t\tthis.inverntory.add(item);\r\n\t}", "public void addItem(Item item) {\n _items.add(item);\n }", "private void addItem(UndoItem item, RefactoringSession session) {\n if (wasUndo) {\n LinkedList<UndoItem> redo = redoList.get(session);\n redo.addFirst(item);\n } else {\n if (transactionStart) {\n undoList.put(session, new LinkedList<UndoItem>());\n descriptionMap.put(undoList.get(session), description);\n transactionStart = false;\n }\n LinkedList<UndoItem> undo = this.undoList.get(session);\n undo.addFirst(item);\n }\n if (!(wasUndo || wasRedo)) {\n redoList.clear();\n }\n }", "public void insert(E item) {\n // FILL IN\n }", "public void addItem(Item item) {\n\t\titems.add(item);\n\t}", "public void addItem(Item i) {\n this.items.add(i);\n }", "public void moveTo(Actor newActor, int location) throws IllegaleToestandsUitzondering, IllegalArgumentException {\r\n\t\tHolder oldActor = getHolder();\r\n\t\tif(newActor == null)\r\n\t\t\tthrow new IllegalArgumentException();\r\n\t\tif(!newActor.canHoldItem(this,location) || !isValidHolder(newActor)) { \r\n\t\t\tthrow new IllegaleToestandsUitzondering(\"the given holder isn't valid for this item\");\r\n\t\t}\r\n\t\ttry {\r\n\t\t\tsetHolder(newActor);\r\n\t\t\toldActor.removeItem(this);\r\n\t\t\tnewActor.addItem(this, location); \r\n\t\t} catch (IllegaleToestandsUitzondering e) {\r\n\t\t\treset(oldActor);\r\n\t\t\tthrow e;\r\n\t\t} catch (IllegalArgumentException e) {\r\n\t\t\treset(oldActor);\r\n\t\t\tthrow e;\r\n\t\t} \r\n\t}", "public void insert(Object item);", "private void onLoad(Item item) {\n ImageView view = new ImageView(item.getIcon());\n addDragEventHandlers(view, DRAGGABLE_TYPE.ITEM, unequippedInventory, equippedItems);\n addEntity(item, view);\n unequippedInventory.getChildren().add(view);\n System.out.println(\"Get new Item \" + item.getName() + \" in Inventory\");\n }", "public void addItem(String itemPath) {\n\n\t\tImage img = new Image(itemPath);\n\t\titemsList.add(img);\n\n\t}", "public void append(Item item, int locationId, int copyNamespaces) throws XPathException {\n if (this.locationId == -1) {\n this.locationId = locationId;\n }\n super.append(item, locationId, copyNamespaces);\n }", "@SuppressWarnings(\"unchecked\")\n\tpublic void add(int pos, T item){\n\n\t\tif(pos > data.length){\n\t\t\tcurrentsize = currentsize*2;\n\t\t}\n\n\t\n\t\tfor(int i = currentsize; i > pos; i--){\n\t\t\tdata[i] = data[i-1];\n\t\t}\n\t\tdata[pos]= item;\n\t\tcurrentsize++;\n\t}", "public void add(int location, Feed object) {\n try {\n System.out.println(\"FeedAdapter.add object=\"+object.toString());\n feedList.add(location, object);\n notifyItemInserted(location);\n notifyItemRangeChanged(location, feedList.size());\n } catch (Exception e) {\n //FirebaseCrash.report(e);\n }\n }", "public void add(E item);", "public void addItem(String i) {\n\t\tItem item = Item.getItem(ItemList, i);\n\t Inventory.add(item);\n\t inventoryList.getItems().add(i);\n\n\t}", "public static void createItem() {\n //Initializing an item and putting it in a room airport\n itemLocation.addItem(airport, new PickableItem(\"Bottle\", \"This is a bottle that have been left behind by someone\", 2, false));\n itemLocation.addItem(airport, new PickableItem(\"Boardingpass\", \"This is a boardingpass to get on the plane to Hawaii: 126AB\", 1, false));\n\n //Initializing an item and putting it in a room beach\n itemLocation.addItem(beach, new PickableItem(\"Stone\", \"This is a stone, maybe it can be used to create something more usefull\", 2, false));\n itemLocation.addItem(beach, new PickableItem(\"Fish\", \"Why are you inspecting this item, its GOD damn fish\", 1, true));\n itemLocation.addItem(beach, new PickableItem(\"Fish\", \"Why are you inspecting this item, its GOD damn fish\", 1, true));\n itemLocation.addItem(beach, new PickableItem(\"Flint\", \"This a flint, maybe it can be used to create something more usefull\", 2, false));\n itemLocation.addItem(beach, new PickableItem(\"Rope\", \"This is some rope that has been washed up on the beach shore from the plane crash \", 2, false));\n itemLocation.addItem(beach, new PickableItem(\"Stick\", \"This is a small stick, maybe it can be used to create something more usefull\", 1, false));\n itemLocation.addItem(beach, new PickableItem(\"Stick\", \"This is a small stick, maybe it can be used to create something more usefull\", 1, false));\n //non pickable item\n itemLocation.addItem(beach, new Item(\"GiantRock\", \"The giant rock dont look like it can be moved\", 100));\n itemLocation.addItem(beach, new Item(\"GiantLog\", \"The giant log dont look like it can be moved\", 100));\n\n //Initializing an item and putting it in a room jungle\n itemLocation.addItem(jungle, new PickableItem(\"Berry\", \"this is berries, maybe its poisonous try ur luck!! \", 1, true));\n itemLocation.addItem(jungle, new PickableItem(\"Berry\", \"this is berries, maybe its poisonous try ur luck!! \", 1, true));\n itemLocation.addItem(jungle, new PickableItem(\"Lumber\", \"This is a log of tree, maybe it can be used to craft something to get away from this island \", 3, false));\n itemLocation.addItem(jungle, new PickableItem(\"Lian\", \"This is a lian from the jungle, maybe it can be used to create something more usefull\", 2, false));\n itemLocation.addItem(jungle, new PickableItem(\"Lian\", \"This is a lian from the jungle, maybe it can be used to create something more usefull\", 2, false));\n itemLocation.addItem(jungle, new PickableItem(\"Stone\", \"This is a stone, maybe it can be used to create something more usefull\", 2, false));\n itemLocation.addItem(jungle, new PickableItem(\"Stick\", \"This is a small stick, maybe it can be used to create something more usefull\", 1, false));\n //non pickable item\n itemLocation.addItem(jungle, new Item(\"GiantLog\", \"The giant log dont look like it can be moved\", 100));\n\n //Initializing an item and putting it in a room mountain\n itemLocation.addItem(mountain, new PickableItem(\"Stone\", \"This is a stone, maybe it can be used to create something more usefull\", 2, false));\n itemLocation.addItem(mountain, new PickableItem(\"Egg\", \"This is some wild eggs, maybe it can be used for food\", 1, true));\n itemLocation.addItem(mountain, new PickableItem(\"Lumber\", \"This is a log of tree, maybe it can be used to craft something to get away from this island \", 3, false));\n\n //Initializing an item and putting it in a room cave\n itemLocation.addItem(cave, new PickableItem(\"Shroom\", \"these shrooms look suspecius, but maybe the can be\", 1, true));\n itemLocation.addItem(cave, new PickableItem(\"Stone\", \"This is a stone, maybe it can be used to create something more usefull\", 2, false));\n itemLocation.addItem(cave, new PickableItem(\"Stone\", \"This is a stone, maybe it can be used to create something more usefull\", 2, false));\n itemLocation.addItem(cave, new PickableItem(\"Waterbottle\", \"This is freshwater found in the jungle, maybe you can drink it\", 2, true));\n itemLocation.addItem(cave, new PickableItem(\"Flint\", \"This a flint, maybe it can be used to create something more usefull\", 2, false));\n itemLocation.addItem(cave, new Item(\"GiantRock\", \"The giant rock dont look like it can be moved\", 100));\n\n //Initializing an item and putting it in a room camp\n itemLocation.addItem(camp, new PickableItem(\"Stone\", \"This is a stone, maybe it can be used to create something more usefull\", 2, false));\n itemLocation.addItem(camp, new PickableItem(\"Stick\", \"This is a small stick, maybe it can be used to create something more usefull\", 1, false));\n itemLocation.addItem(camp, new PickableItem(\"Egg\", \"This is some wild eggs, maybe it can be used for food\", 1, true));\n\n //Initializing an item and putting it in a room seaBottom\n itemLocation.addItem(seaBottom, new PickableItem(\"Backpack\", \"This is a backpack from the plane crash maybe you can use it to carry more items \", 0, false));\n itemLocation.addItem(seaBottom, new PickableItem(\"WaterBottle\", \"This is a water bottle from the plan crash \", 1, true));\n itemLocation.addItem(seaBottom, new PickableItem(\"Rope\", \"This is some rope that has been washed up on the beach shore from the plane crash\", 2, false));\n }", "void addFruit(Fruit item){\n\t\tfruitList.add(item);\n\t}", "public void addItem(Item item) {\n\t\tObjects.requireNonNull(item);\n\t\titems.add(item);\n\t}", "public void addItemInventory(Item item){\r\n playerItem.add(item);\r\n System.out.println(item.getDescription() + \" was taken \");\r\n }", "public void addItemToRoom(Item item) {\n this.ItemsInRoom.put(item.getName(), item);\n }", "void add(E item);", "void add(E item);", "void add(E item);", "public void appendToRoot( Item item ) {\r\n\t\tadd(item);\r\n//\t\tthis.lastAddedItem = item;\r\n\t}", "public void addItemToOrder(Item item){\n\t\t//first, checking if such item already is in the order\n\t\t//if so, only quantity is increased\n\t\tint i; \n\t\tfor(i=0; i<currentOrder.getItems().size();i++){\n\t\t\tif(currentOrder.getItems().get(i).getItem().equals(item)){\n\t\t\t\t//increasing quantity\n\t\t\t\tcurrentOrder.getItems().get(i).setQuantity(currentOrder.getItems().get(i).getQuantity()+1);\n\t\t\t\t//changing description of order item panel\n\t\t\t\tmiddlePanel.getItemPanels().get(i).updateDescription();\n\t\t\t\tmiddlePanel.repaint();\n\t\t\t\tmiddlePanel.validate();\n\t\t\t\tupdateTotalPrice();\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\t\n\t\tcurrentOrder.addItem(item, 1);\n\t\tmiddlePanel.addItemToPanel(currentOrder.getItems().get(currentOrder.getItems().size()-1));\n\t\tupdateTotalPrice();\n\t}", "@Override\n public void onItemAdded(Object toAdd) {\n if(toAdd instanceof SpotifyItem)\n return;\n\n //Reflect changes in the drink list\n DrinkInfo item = (DrinkInfo)toAdd;\n Log.d(TAG, \"Array size = \" + mDrinkInfos.size());\n mDrinkInfos.add(mDrinkInfos.size(), item);\n mDrinkQueueAdapter.notifyDataSetChanged();\n Log.d(TAG, \"Added song: \" + item.getDrinkName());\n }", "public void addItem(Item item){\r\n items.add(item);\r\n total = items.getTotal();\r\n }", "public int addItem(Item i);", "public void addItem(Item item) {\n\t\thashOperations.put(KEY, item.getId(), item);\n\t\t//valueOperations.set(KEY + item.getId(), item);\n\t}", "public void addItemtoInventoryList(String item) {\r\n InventoryList.add(item);\r\n }", "public void addObject(Objects object)\n {\n items.put(object.getItemName(), object);\n }", "public void addLocationToComboBox() throws Exception{}", "@Override\r\n\t\t\t\t\tpublic void addItemEventOccurred(AddItemEvent event) {\n\r\n\t\t\t\t\t}", "public void doAddPlaceable(TreePath path) {\n \n \t\tNode node = (Node) path.getLastPathComponent();\n \t\t// load and add palceable to tree here\n \t\trepaint();\n \t}", "@Override\n\tpublic Boolean insert(Intervention item) {\n\t\treturn true;\n\t}", "public void insert(KeyedItem newItem);", "public void add_one_place_to_tour(entities.PlaceOfInterestTour place) {\n\t\tPlaceofInterestItem sp = new PlaceofInterestItem(place);\n\t\t// delete buttons from list of item (place)\n\t\tsp.add_edit_layout();\n\n\t\tsp.setOnDragOver(event -> {\n\t\t\tfinal Dragboard dragboard = event.getDragboard();\n\t\t\tif (dragboard.hasString() && TAB_DRAG_KEY.equals(dragboard.getString()) && draggingTab.get() != null) {\n\t\t\t\tevent.acceptTransferModes(TransferMode.MOVE);\n\t\t\t\tevent.consume();\n\t\t\t}\n\t\t});\n\t\tsp.setOnDragDetected(event -> {\n\t\t\tDragboard dragboard = sp.startDragAndDrop(TransferMode.MOVE);\n\t\t\tClipboardContent clipboardContent = new ClipboardContent();\n\t\t\tclipboardContent.putString(TAB_DRAG_KEY);\n\t\t\tdragboard.setContent(clipboardContent);\n\t\t\tSnapshotParameters spp = new SnapshotParameters();\n\t\t\tspp.setFill(Color.WHITE);\n\t\t\tdragboard.setDragView(sp.snapshot(spp, null), event.getX(), event.getY());\n\t\t\tdraggingTab.set(sp);\n\t\t\tevent.consume();\n\t\t});\n\t\tsp.setOnDragDropped(event -> {\n\n\t\t\tDragboard db = event.getDragboard();\n\t\t\tboolean success = false;\n\t\t\tif (db.hasString()) {\n\t\t\t\tVBox parent = (VBox) sp.getParent();\n\t\t\t\tPlaceofInterestItem source = (PlaceofInterestItem) event.getGestureSource();\n\t\t\t\tint sourceIndex = parent.getChildren().indexOf(source);\n\t\t\t\tint targetIndex = parent.getChildren().indexOf(sp);\n\t\t\t\tList<Node> nodes = new ArrayList<Node>(parent.getChildren());\n\t\t\t\tif (sourceIndex < targetIndex) {\n\t\t\t\t\tCollections.rotate(nodes.subList(sourceIndex, targetIndex + 1), -1);\n\t\t\t\t} else {\n\t\t\t\t\tCollections.rotate(nodes.subList(targetIndex, sourceIndex + 1), 1);\n\t\t\t\t}\n\t\t\t\tparent.getChildren().clear();\n\t\t\t\tparent.getChildren().addAll(nodes);\n\t\t\t\tsuccess = true;\n\t\t\t}\n\t\t\tevent.setDropCompleted(success);\n\t\t\tevent.consume();\n\n\t\t});\n\n\t\tsp.setOnMouseEntered(event -> {\n\t\t\tsp.setStyle(\"-fx-background-color : #BDBBC3\");\n\t\t});\n\t\tsp.setOnMouseExited(event -> {\n\t\t\tsp.setStyle(\"-fx-background-color : #EBE8F9\");\n\t\t});\n\n\t\tPlatform.runLater(() -> {\n\t\t\tpnItems.getChildren().add(sp);\n\t\t\tnew SlideInUp(sp).play();\n\t\t});\n\n\t}", "public static void addItem(BackpackItem itemName) {\n\t\t\t\n\t\t\tfor (int i = 0; i <= backpackArr.length-1; i++) { //iterate through backpackArr\n\t\t\t\t\n\t\t\t\tif (backpackArr[i] == null) { // If there is no item in slot\n\t\t\t\t\tSystem.out.println(\"You added the \" + itemName + \" to your backpack.\");\n\t\t\t\t\tbackpackArr[i] = itemName; // puts new item into next empty BackpackItem index in backpackArr\n\t\t\t\t\tbreak; // breaks out of for loop (to prevent filling up all slots with the same item\n\t\t\t\t}\n\t\t\t}\n\t\t}", "public void giveItem(Item item) {\n\t\tif (hasItem()) return;\n\t\tthis.item = item;\n\t}", "public void pickUp(String itemName, World world) {\n\t\tItem item = world.dbItems().get(itemName);\n\t\tRoom room = super.getRoom();\n\t\tList<Item> roomItems = room.getItems();\n\n\t\tif (roomItems.contains(item)) {\n\t\t\tif (checkCapacity(item)) {\n\t\t\t\tsuper.addItem(item);\n\t\t\t\troom.removeItem(item);\n\t\t\t\tSystem.out.println(\"Picked up \" + item);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"Not enough capacity.\");\n\t\t\t}\n\t\t} else {\n\t\t\tSystem.out.println(\"No item '\" + itemName + \"' in the room.\");\n\t\t}\n\t}", "void add(T item);", "public void add(Location loc, Evolver occupant)\n {\n occupant.putSelfInGrid(getGrid(), loc);\n }", "private void add(GroceryItem itemObj, String itemName) {\n\t\tbag.add(itemObj);\n\t\tSystem.out.println(itemName + \" added to the bag.\");\n\t}", "public void addItem(SoldItem item) {\n\n items.add(item);\n log.debug(\"Added \" + item.getName() + \" quantity of \" + item.getQuantity());\n\n }", "public boolean add(Type item);", "public void addPlaced(Block placed) {\n\t\tlastPlaced.put(placed, System.currentTimeMillis());\n\t}", "Paths addPathItem(String name, PathItem item);", "public void addItem(Item newItem){\n\t\tif(newItem!=null){\r\n\t\t\tif(newItem.stackable()){\r\n\t\t\t\taddItemStack(newItem);\r\n\t\t\t\tdisplayIcon();\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\taddFullStack(newItem);\r\n\t\t\tdisplayIcon();\r\n\t\t}\r\n\t}", "public void addItemAt(MySmsMessage itemTemp,int positionTemp){\n dataset.add(positionTemp,itemTemp);\n notifyItemInserted(positionTemp);\n }", "@attribute(value = \"\", required = false)\r\n\tpublic void addItem(Item i) {\r\n\t}", "private void addNewFoodItemRefresh() {\n // create a foodItem instance with input information\n FoodItem foodItem = new FoodItem(id.getText(), name.getText());\n foodItem.addNutrient(\"calories\", Double.valueOf(calories.getText()));\n foodItem.addNutrient(\"fat\", Double.valueOf(fat.getText()));\n foodItem.addNutrient(\"carbohydrate\", Double.valueOf(carbohydrate.getText()));\n foodItem.addNutrient(\"fiber\", Double.valueOf(fiber.getText()));\n foodItem.addNutrient(\"protein\", Double.valueOf(protein.getText()));\n this.foodData.addFoodItem(foodItem);// add it to the food data to store\n this.close();// close the addfooditem stage\n this.foodList.refreshAfterAdd(foodItem);// refresh the foodList\n\n }", "public void enterItem(DessertItem item)\n {\n dessertList.add(item);\n }", "public void addTile(Tile tile) {\n ownedTiles.add(tile);\n }", "public void addItem(Item i) {\r\n assert (ic != null);\r\n \r\n ic.setItem(i);\r\n ic.setHandler(handler);\r\n items.add(ic.getItem());\r\n }", "public void addItem(Item theItem) {\n\t\tif (inventory != null) {\n\t\t\tif (!isAuctionAtMaxCapacity()) {\n\t\t\t\t// Check item doesn't already exist as key in map\n\t\t\t\tif (inventory.containsKey(theItem)) {\n\t\t\t\t\t//ERROR CODE: ITEM ALREADY EXISTS\n\t\t\t\t\tSystem.out.println(\"That item already exists in the inventory.\");\n\t\t\t\t} else\n\t\t\t\t\tinventory.put(theItem, new ArrayList<Bid>());\n\t\t\t} else if (isAuctionAtMaxCapacity()) {\n\t\t\t\t//ERROR CODE: AUCTION AT MAX CAPACITY\n\t\t\t\tSystem.out.println(\"\\nYour auction is at maximum capacity\");\n\t\t\t} \n\t\t} else {\n\t\t\tinventory = new HashMap<Item, ArrayList<Bid>>();\n\t\t\tinventory.put(theItem, new ArrayList<Bid>());\t\t\t\t\n\t\t} \t\t\t\t\t\t\n\t}", "public void addInvokeLater(DirItem item) {\n\t\tsynchronized (stack) {\n\t\t\tstack.add(0, item);\n\t\t}\n\n\t\tsynchronized (thread) {\n\t\t\t// Starts the worker thread if waiting\n\t\t\tthread.notify();\n\t\t}\n\t}", "public void push(ILocation item)\n {\n stack.add(top, item);\n top++;\n }", "@Override\n public void addItem(ItemType item) {\n if (curArrayIndex > items.length - 1) {\n System.out.println(item.getDetails() + \" - This bin is full. Item cannot be added!\");\n }\n else if (item.getWeight() + curWeight <= maxWeight) {\n curWeight += item.getWeight();\n items[curArrayIndex++] = item;\n }\n else {\n System.out.println(item.getDetails() + \" - Overweighted. This item cannot be added!\");\n }\n if (item.isFragile()) {\n setLabel(\"Fragile - Handle with Care\");\n }\n\n }", "public boolean insertItem(MoviePanelBasicView item) {\r\n if (!this.contains(item)) {\r\n this.list.add(item);\r\n return true;\r\n } else {\r\n logger.debug(\"File \" + item.getFile() + \" is already in list!\");\r\n return false;\r\n }\r\n \r\n }", "public void addItem(Item item) {\n if (winner(item)) {\n listItems.add(item);\n }\n }", "public void append(Object item);", "public void dropItem(Location loc){\n\t\t\n\t\tPlayer p = getThrower();\n\t\tItemStack droppedItem;\n\t\t\n\t\tdroppable.clear();\n\t\t\n\t\taddItem(Material.IRON_INGOT, 8, 8, 3); //Item, weight, maximum stack size, minimum stack size\n\t\taddItem(Material.GOLD_INGOT, 5, 5, 1);\n\t\taddItem(Material.DIAMOND, 3, 3, 1);\n\t\taddItem(Material.GOLDEN_APPLE, 1, 1, 1);\n\t\taddItem(Material.ROTTEN_FLESH, 10, 5, 1);\n\t\taddItem(Material.BREAD, 15, 32, 15);\n\t\taddItem(Material.BONE, 10, 5, 1);\n\t\taddItem(Material.SULPHUR, 10, 5, 1);\n\t\taddItem(Material.SADDLE, 1, 1, 1);\n\t\t\n\t\tint Size = droppable.size();\n\t\trandNum = ThreadLocalRandom.current().nextInt(Size);\n\t\t\n\t\tdroppedItem = droppable.get(randNum);\n\t\t\n\t\tp.getWorld().dropItem(loc, droppedItem);\n\t\tp.getWorld().dropItem(loc, new ItemStack(Material.GOLD_NUGGET, rand.nextInt(10) + 1));\n\t\t\n\t}", "@Override\n public void addItem(P_CK t) {\n \n }", "public void push(Object item) {\r\n\t\tdata.add(item);\r\n\r\n\t}", "public native void addSubItem(MenuItem item);", "public void add(String nameItem)\n\t{\n\t\tmenu.add(nameItem);\n\t}", "void addCpItem(ICpItem item);", "@Override\n public void addItem(int position) {\n // Getting the auto complete input field\n AutoCompleteTextView source = (AutoCompleteTextView) v.findViewById(R.id.auto_complete_input);\n // Getting the Title of the ingredient\n String title = source.getText().toString();\n // Check if we have already added this ingredient\n boolean item_seen = false;\n\n // Creating a new object for the recyclerview that can later be displayed\n IngredientItem temp = new IngredientItem(R.drawable.ic_restaurant_menu_green_24dp, source.getText().toString(), all_ingredients.get(title).get(1), all_ingredients.get(title).get(2), all_ingredients.get(title).get(3));\n\n // For every item in our recyclerview ...\n for (int i = 0; i < rv_adapt.getItemCount(); i++)\n // ... if the ingredient we want to add equals the item we recognize as it is already present within\n // our list of ingredients, then we set the item as already seen, so it does not get added again\n if (ingredients.get(i).getTitle().equals(title)) {\n // This log can be uncommented to check if the item is known yet\n // Log.d(\"Debug\", ingredients.get(i).getTitle() + \" \" + title + \" \" + rv_adapt.getItemCount());\n item_seen = true;\n }\n\n // If we recognize the item which should be added as a valid item and we haven't added it\n // yet, then we can add it now to our list of ingredients and notify our adaptor to refresh.\n if (all_ingredients.containsKey(title) && !item_seen) {\n // Notification in Logcat that item xyz has been added\n Log.d(\"Debug\", \"Adding \" + title + \" \" + all_ingredients.get(title));\n ingredients.add(temp);\n rv_adapt.notifyItemInserted(position);\n }\n\n // After adding an item the auto complete input field is getting emptied again, so\n // a new item can be added. Further the add button is being disabled for cosmetic purposes.\n source.setText(\"\");\n v.findViewById(R.id.button_add).setEnabled(false);\n\n // If we have 1+ Items in the recyclerview then the search is being enabled, as\n // it makes no sense to search for 0 items\n if (rv_adapt.getItemCount() > 0)\n v.findViewById(R.id.button_search).setEnabled(true);\n\n // Just a quick log to see which ingredients are present in our list\n // (Debugging purposes)\n Log.d(\"Debug\", ingredients.toString());\n\n // Notifying the adapter to refresh\n rv_adapt.notifyDataSetChanged();\n }", "@Override\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\t\taddNewItem();\n\t\t\t}", "protected void addInventoryItemType() {\n\t\tProperties props = new Properties();\n\n\t\t/* DEBUG\n\t\t\n\t\tSystem.out.println(typeNameTF.getText());\n\t\tSystem.out.println(unitsTF.getText());\n\t\tSystem.out.println(unitMeasureTF.getText());\n\t\tSystem.out.println(validityDaysTF.getText());\n\t\tSystem.out.println(reorderPointTF.getText());\n\t\tSystem.out.println(notesTF.getText());\n\t\tSystem.out.println(statusCB.getValue());\n\t\n\t\t*/ \n\n\t\t// Set the values.\n\t\tprops.setProperty(\"ItemTypeName\", typeNameTF.getText());\n\t\tprops.setProperty(\"Units\", unitsTF.getText());\n\t\tprops.setProperty(\"UnitMeasure\", unitMeasureTF.getText());\n\t\tprops.setProperty(\"ValidityDays\", validityDaysTF.getText());\n\t\tprops.setProperty(\"ReorderPoint\", reorderPointTF.getText());\n\t\tprops.setProperty(\"Notes\", notesTF.getText());\n\t\tprops.setProperty(\"Status\", (String) statusCB.getValue());\n\n\t\t// Create the inventory item type.\n\t\tInventoryItemType iit = new InventoryItemType(props);\n\n\t\t// Save it into the database.\n\t\tiit.update();\n\n\t\tpopulateFields();\n\t\t\n\t\t// Display message on GUI.\n\t\t//submitBTN.setVisible(false);\n\t\tcancelBTN.setText(\"Back\");\n\t\tmessageLBL.setText(\"Inventory Item Type added.\");\n\t}" ]
[ "0.68502706", "0.6792193", "0.65994877", "0.65231115", "0.64387935", "0.64212155", "0.6412087", "0.6380771", "0.63734907", "0.6372725", "0.63695455", "0.63636506", "0.6315273", "0.63000125", "0.6298893", "0.62688106", "0.6267794", "0.6265828", "0.6265828", "0.62542397", "0.6248604", "0.6246731", "0.6217601", "0.6215318", "0.62133884", "0.61930555", "0.61919177", "0.6188375", "0.61864716", "0.6182287", "0.61761045", "0.6121635", "0.61167705", "0.6107949", "0.60972714", "0.6089593", "0.60683364", "0.6040572", "0.60329163", "0.60292685", "0.60263896", "0.602522", "0.6018189", "0.60088176", "0.6005671", "0.60053277", "0.6004344", "0.6003911", "0.59950924", "0.5990258", "0.5988894", "0.5988894", "0.5988894", "0.5974684", "0.59741795", "0.59629726", "0.59617627", "0.5956284", "0.59560513", "0.5953336", "0.59489334", "0.59381354", "0.593306", "0.5930021", "0.5925132", "0.59180987", "0.5916645", "0.5916036", "0.5913309", "0.5904595", "0.59039503", "0.58972704", "0.5891797", "0.58880657", "0.58872926", "0.5872431", "0.5860653", "0.5857714", "0.58551466", "0.585426", "0.58472556", "0.58455306", "0.5842539", "0.58391404", "0.58367515", "0.5831114", "0.58300674", "0.58175194", "0.5816298", "0.58115935", "0.58034915", "0.5798643", "0.5796174", "0.57960993", "0.5796021", "0.5795371", "0.579441", "0.5790725", "0.5788848", "0.5784684" ]
0.6727742
2
subtracts item from location when you pick up an item. replaced by default arraylist.remove list. prints the names of the item(s) in that location.
void examine() { if (!isItEmpty()){ printItemDescriptions(); System.out.println("\nWhat's in " + this.locationName + ": "); examineItems(); //calls the examine items method. examineContainers(); //calls the examine containers method. System.out.println("");} }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void dropItem(Command command) {\n HashMap newInventory = inventory.getInventory();\n Iterator iterator = newInventory.entrySet().iterator();\n String seeItem;\n// int indexItem = -1;\n String nameOfItem = \"\";\n String dropFromInventory = \"debug\";\n\n while (iterator.hasNext()) {\n HashMap.Entry liste = (HashMap.Entry) iterator.next();\n String itemName = (String) liste.getKey();\n if (itemName.equalsIgnoreCase(command.getSecondWord())) {\n dropFromInventory = itemName;\n nameOfItem = itemName;\n break;\n }\n }\n if (!nameOfItem.equals(\"\")) {\n itemLocation.addItem(currentRoom, new PickableItem(nameOfItem, inventory.getItemWeight(nameOfItem), inventory.getUseable(nameOfItem)));\n inventory.removeItemInventory(nameOfItem);\n System.out.println(\"You have dropped: \" + nameOfItem);\n\n } else {\n System.out.println(\"Can't drop item that isn't in inventory \" + command.getSecondWord());\n }\n }", "public void removeItem() {\n if (this.size() == 0) {\n System.out.println(\"Empty List.\");\n return;\n }\n this.print();\n String code;\n System.out.println(\"Enter the code of removed item: \");\n code = sc.nextLine().toUpperCase();\n int pos = find(code);\n if (pos < 0) {\n System.out.println(\"This code does not exist.\");\n } else {\n this.remove(pos);\n System.out.println(\"The item \" + code + \" has been removed.\");\n\n }\n }", "private void removeItem(int item) {\n\t\tboolean flag = false;\r\n\t\tfor(int i=0; i<index; i++) {\r\n\t\t\tif(products[i].getTag() == item) {\r\n\t\t\t\t\r\n\t\t\t\tSystem.out.println(\"없어진 상품:\"+products[i].toString());\r\n\t\t\t\tproducts[i] = null;\r\n\t\t\t\tindex--;\r\n\t\t\t\tflag = true;\r\n\t\t\t}\r\n\t\t}\r\n\t\tif(flag == false)\r\n\t\t\tSystem.out.println(\"해당하는 상품이 없습니다.\");\r\n\t}", "private void undoDelete() {\n if (!mReversDeleteItemPositionsList.isEmpty()) {\n\n mAllItems.add(mReversDeleteItemPositionsList.get(mReversDeleteItemPositionsList.size() - 1),\n mReverseDeleteItemsList.get(mReverseDeleteItemsList.size() - 1));\n //subtract from pallet total\n mPickHandlerInterface.subtractFromTOtal(Integer.parseInt(mReverseDeleteItemsList.get(mReversDeleteItemPositionsList.size() - 1).getCaseQuantity()));\n notifyItemInserted(mReversDeleteItemPositionsList.get(mReversDeleteItemPositionsList.size() - 1));\n mReverseDeleteItemsList.remove(mReverseDeleteItemsList.size() - 1);\n mReversDeleteItemPositionsList.remove(mReversDeleteItemPositionsList.size() - 1);\n showUndoSnackbar();\n SendInformationToActivity();\n\n }\n\n }", "public void dropItem(Item seekItem)\n {\n //get each item from the items's array list.\n for (Item item : items){\n if(item.getName().equals(seekItem.getName())){\n currentRoom.getInventory().getItems().add(item);\n removePlayerItem(item);\n System.out.println(\"You have placed the \"+ item.getName() +\" in the \" + currentRoom.getName() + \".\");\n }\n }\n }", "private void listExample()\n\t{\n\n\t\tArrayList <String> alist = new ArrayList<String>();//doesn't have to be string- can be Duck, or Mouse, or Apostrophe\n\t\talist.add(\"banana\"); //adds \"banana\" to the end of the list\n\t\talist.add(\"strawberry\");\n\t\talist.add(\"blueberry\");\n\t\talist.add(\"blackberry\");\n\t\t\n\t\tJOptionPane.showMessageDialog(null,alist);\n\t\t\n\t\talist.add(2, \"apple\"); //adds it in spot 2 (3rd position)\n\t\t\n\t\tJOptionPane.showMessageDialog(null,alist);\n\t\t\n\t\t\n\t\talist.remove(\"blueberry\"); \n\t\t/**\n\t\t * .remove returns what was in the spot that was just taken out--and shrinks down by one\n\t\t * .set also returns this value but it replaces the value with something else\n\t\t */\n\t\talist.remove(0); //removes 1st element\n\t\tJOptionPane.showMessageDialog(null,alist);\n\t\t\n\t\tfor (String str:alist)\n\t\t\tJOptionPane.showMessageDialog(null, str); //shows each individually\n\t\t\n\t\talist.set(1, \"coconut\"); //alist.set(index, element) --replaces\n\t\t\n\t\tint numberOfItems = alist.size();\n\t\talist.clear();\n\n\t\n\t}", "@Override\n\tpublic void elementRemoved(int anIndex, Object aNewValue) {\n\t\tListEditObserved.newCase(OperationName.DELETE, anIndex, aNewValue,\n\t\t\t\tApplicationTags.EDITOR, this);\n\t\tdisplayOutput();\n\t\tListEditDisplayed.newCase(OperationName.DELETE, anIndex, aNewValue,\n\t\t\t\tApplicationTags.EDITOR, this);\n\t}", "public static void removeOrderedItem() {\n\t\tSystem.out.print(\"\\t\\t\");\n\t\tSystem.out.println(\"************Removing ordered item************\");\n\t\tOrderManager orderManager = new OrderManager();\n\t\tList listOfOrders = orderManager.viewOrder();\n\n\t\tOrderedItemManager orderedItemManager = new OrderedItemManager();\n\t\tList listOfOrderedItems = null;\n\n\t\tint i = 0;\n\t\tint choice = 0;\n\t\tOrder order = null;\n\t\tOrderedItem orderedItem = null;\n\t\tboolean check = false;\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tif (listOfOrders.size() == 0) {\n\t\t\tSystem.out.print(\"\\t\\t\");\n\t\t\tSystem.out.format(\"%-25s:\", \"TASK STATUS\");\n\t\t\tSystem.out.println(\"There is no orders!\");\n\t\t\treturn;\n\t\t}\n\n\t\ttry {\n\t\t\tSystem.out.println();\n\t\t\t// print the list of orders for the user to select from.\n\t\t\tfor (i = 0; i < listOfOrders.size(); i++) {\n\t\t\t\torder = (Order) listOfOrders.get(i);\n\t\t\t\tSystem.out.print(\"\\t\\t\");\n\n\t\t\t\tSystem.out.println((i + 1) + \") Order: \" + order.getId()\n\t\t\t\t\t\t+ \" | Table: \" + order.getTable().getId());\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t\tSystem.out.print(\"\\t\\t\");\n\n\t\t\tSystem.out.print(\"Select an order to remove the item ordered: \");\n\t\t\tchoice = Integer.parseInt(sc.nextLine());\n\n\t\t\torder = (Order) listOfOrders.get(choice - 1);\n\n\t\t\tlistOfOrderedItems = orderedItemManager\n\t\t\t\t\t.retrieveOrderedItemsByOrderID(order.getId());\n\n\t\t\tdo {\n\t\t\t\tSystem.out.println();\n\t\t\t\tif (listOfOrderedItems.size() == 0) {\n\t\t\t\t\tSystem.out.print(\"\\t\\t\");\n\t\t\t\t\tSystem.out.format(\"%-25s:\", \"TASK STATUS\");\n\t\t\t\t\tSystem.out.println(\"There is no ordered items!\");\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tfor (i = 0; i < listOfOrderedItems.size(); i++) {\n\t\t\t\t\torderedItem = (OrderedItem) listOfOrderedItems.get(i);\n\t\t\t\t\tSystem.out.print(\"\\t\\t\");\n\n\t\t\t\t\tSystem.out.println((i + 1) + \") ID: \"\n\t\t\t\t\t\t\t+ orderedItem.getItem().getId() + \" | Name: \"\n\t\t\t\t\t\t\t+ orderedItem.getItem().getName() + \" | $\"\n\t\t\t\t\t\t\t+ orderedItem.getPrice());\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\t\\t\");\n\t\t\t\tSystem.out.println((i + 1) + \") Done\");\n\t\t\t\tSystem.out.println();\n\t\t\t\tSystem.out.print(\"\\t\\t\");\n\n\t\t\t\tSystem.out\n\t\t\t\t\t\t.print(\"Select an ordered item to remove from order: \");\n\t\t\t\tchoice = Integer.parseInt(sc.nextLine());\n\n\t\t\t\tif (choice != (i + 1)) {\n\t\t\t\t\torderedItem = (OrderedItem) listOfOrderedItems\n\t\t\t\t\t\t\t.get(choice - 1);\n\n\t\t\t\t\tcheck = orderedItemManager.removeOrderedItem(orderedItem);\n\n\t\t\t\t\tif (check) {\n\t\t\t\t\t\tSystem.out.print(\"\\t\\t\");\n\t\t\t\t\t\tSystem.out.format(\"%-25s:\", \"TASK STATUS\");\n\t\t\t\t\t\tSystem.out\n\t\t\t\t\t\t\t\t.println(\"Ordered item removed from order successfully!\");\n\t\t\t\t\t\tlistOfOrderedItems.remove(orderedItem);\n\t\t\t\t\t}\n\n\t\t\t\t\telse {\n\t\t\t\t\t\tSystem.out.print(\"\\t\\t\");\n\t\t\t\t\t\tSystem.out.format(\"%-25s:\", \"TASK STATUS\");\n\t\t\t\t\t\tSystem.out\n\t\t\t\t\t\t\t\t.println(\"Failed to remove ordered item from order!\");\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t} while (choice != (i + 1));\n\n\t\t}\n\n\t\tcatch (Exception e) {\n\t\t\tSystem.out.print(\"\\t\\t\");\n\t\t\tSystem.out.format(\"%-25s:\", \"TASK STATUS\");\n\t\t\tSystem.out.println(\"Invalid Input!\");\n\t\t}\n\t\tSystem.out.print(\"\\t\\t\");\n\t\tSystem.out.println(\"************End of removing items************\");\n\t}", "public static void main(String[] args) {\n\t\tArrayListTest lt = new ArrayListTest();\r\n\t\tlt.addStudent(new Student(\"홍길동\",100));\r\n\t\tlt.addStudent(new Student(\"김영식\",60));\r\n\t\tlt.addStudent(new Student(\"박철수\",30));\r\n\t\tlt.addStudent(new Student(\"김지수\",80));\r\n\t\tlt.addStudent(new Student(\"박재훈\",30));\r\n\t\tlt.addStudent(new Student(\"다미\",90));\r\n\t\tlt.addStudent(new Student(\"다란이\",50));\r\n\t\t\r\n\t\tSystem.out.println(\"------------------------------------\");\r\n\t\t\r\n\t\tlt.printStudent();\r\n\t\tlt.removeStudent(3);\r\n\t\tlt.printStudent();\r\n\t\t\r\n\t\t//lt.printStudent();\r\n\t\t//lt.removeStudent(3);\r\n\t\t//lt.printStudent();\r\n\t}", "public void itemRemoved(E item);", "public static void main(String arg[]) {\n ArrayList<String> books = new ArrayList<>();\n books.add(\"C++\");\n books.add(\"Python\");\n books.add(\"Java\");\n books.add(\"MongoDB\");\n books.add(\"JavaScript\");\n books.add(\"MySQL\");\n System.out.println(books);\n books.remove(3);\n System.out.println(books);\n }", "public static void main(String[] args) {\n\t\t\n\t\tArrayList<String> obj = new ArrayList<>();\n\t\t\n\t\tobj.add(\"Pune\");\n\t\tobj.add(\"Mumbai\");\n\t\tobj.add(\"Nasik\");\n\t\tobj.add(\"Aurangabad\");\n\t\tobj.add(\"Pune\");\n\t\tobj.add(\"Mumbai\");\n\t\t\n\t\tSystem.out.println(obj);\n\t\t\n\t\tSystem.out.println(obj.size());\n\t\t\n\t\tSystem.out.println(obj.contains(\"Mumbai\"));\n\t\t\n\t\tSystem.out.println(obj.indexOf(\"Pune\"));\n\t\t\n\t\tSystem.out.println(obj.get(3));\n\t\t\n\t\tList<String> newList = obj.subList(0, 3);\n\t\tnewList.add(\"Delhi\");\n\t\tSystem.out.println(newList);\n\t\t\n\t\tSystem.out.println(obj);\n\t\tobj.remove(\"Delhi\");\n\t\tSystem.out.println(obj);\n\t\t\n\t\tfor(int i=0; i<obj.size(); i++) {\n\t\t\t\n\t\t\tSystem.out.print(obj.get(i) + \" \");\n\t\t}\n\t\t\n\t\tSystem.out.println();\n\t\tfor (String value : obj) {\n\t\t\t\n\t\t\tSystem.out.println(value);\n\t\t\t\n\t\t}\n\t\t\n\t}", "protected abstract void removeItem();", "public void removeItemAt(int theIndex) {\n\t\tList<Item> keys = new ArrayList<Item>(inventory.keySet());\t\n\t\tItem item = keys.get(theIndex);\n\t\tinventory.remove(item);\t\t\n\t}", "public static void main(String[] args) {\n TodoList myTodo = new TodoList();\n\n String[] output = myTodo.addItemToTodo(5);\n System.out.println(Arrays.toString(output));\n\n System.out.println(Arrays.toString( myTodo.removeItemInArray(output, 2)));\n\n }", "public static void main(String args[]) {\n ArrayList al = new ArrayList();\n // add elements to the array list\n al.add(\"C\");\n al.add(\"A\");\n al.add(\"E\");\n al.add(\"B\");\n al.add(\"D\");\n al.add(\"F\");\n\n // Use iterator to display contents of al\n System.out.print(\"Original contents of al: \");\n Iterator itr = al.iterator();\n\n while (itr.hasNext()) {\n Object element = itr.next();\n System.out.print(element + \" \");\n }\n System.out.println();\n\n // Modify objects being iterated\n ListIterator litr = al.listIterator();\n while (litr.hasNext()) {\n Object element = litr.next();\n litr.set(element + \"+\");\n }\n System.out.print(\"Modified contents of al: \");\n itr = al.iterator();\n while (itr.hasNext()) {\n Object element = itr.next();\n System.out.print(element + \" \");\n }\n System.out.println();\n // Now, display the list backwards\n System.out.print(\"Modified list backwards: \");\n\n while (litr.hasPrevious()) {\n Object element = litr.previous();\n System.out.print(element + \" \");\n }\n System.out.println();\n }", "public void subtract() {\n\t\t\n\t}", "@Override\r\n \t\tprotected Object removeListItem(EObject object, EStructuralFeature feature, int index) {\n \t\t\tEList<EObject> list = (EList<EObject>)object.eGet(feature);\r\n \t\t\tEObject item = list.get(index);\r\n \t\t\tOutputSet outputSet = catchEvent.getOutputSet();\r\n \t\t\tif (outputSet.getDataOutputRefs().contains(item))\r\n \t\t\t\toutputSet.getDataOutputRefs().remove(item);\r\n \t\t\t\r\n \t\t\t// remove Input or Output DataAssociations\r\n \t\t\tList<DataOutputAssociation> dataOutputAssociations = catchEvent.getDataOutputAssociation();\r\n \t\t\tList<DataOutputAssociation> removed = new ArrayList<DataOutputAssociation>();\r\n \t\t\tfor (DataOutputAssociation doa : dataOutputAssociations) {\r\n \t\t\t\tif (doa.getTargetRef().equals(item))\r\n \t\t\t\t\tremoved.add(doa);\r\n \t\t\t}\r\n \t\t\tdataOutputAssociations.removeAll(removed);\r\n \r\n \t\t\treturn super.removeListItem(object, feature, index);\r\n \t\t}", "@Test\n public void testRemoveAt() {\n testAdd();\n list1.removeAt(3);\n assertEquals(8, list1.size());\n assertEquals(15.25, list1.get(4), 0);\n assertEquals(14.25, list1.get(3), 0);\n assertEquals(17.25, list1.get(5), 0);\n }", "public void remove(int location,Object o){\n feedList.remove(location);\n notifyItemRemoved(location);\n notifyItemRangeChanged(location, feedList.size());\n }", "public native String removeItem(Number index);", "public void dropItemAtCurrentPlace(Item it)\r\n\t{\r\n\t\tthis.currentPlace.addItem(it);\r\n\t}", "public static void main(String[] args) throws Exception {\n\n ArrayList<String> food = new ArrayList<String>();\n\n food.add(\"pizza\");\n food.add(\"hamburger\");\n food.add(\"hotdog\");\n\n //food.set(0, \"sushi\"); // Belirtilen konumdaki değer ile yeni değeri değiştirir.\n //food.remove(2); // Belirtilen konumdaki değeri siler.\n //food.clear(); // Bütün değerleri siler.\n\n for(int i=0; i<food.size(); i++){\n System.out.println(food.get(i));\n }\n\n }", "public static void main(String[] args) {\n\t\tArrayList<Object> names= new ArrayList<Object>();\n\t\tnames.add(\"Abdul\");\n\t\tnames.add(\"Imran\");\n\t\tnames.add(\"Khan\");\n\t\tnames.add(\"Faheem\");\n\t\tnames.add(\"Shahroz\");\n\n\n\t\tSystem.out.print(names+\" \");\n\t\tSystem.out.println();\n\t\tnames.remove(\"Abdul\");\n\t\tSystem.out.println(\"post removing\");\n\t\tSystem.out.print(names+\" \");\n\t\tSystem.out.println();\n\t\tnames.add(\"Abdul\");\n\t\tIterator<Object>\n\t\t\t\tlist =names.listIterator();\n\t\twhile(list.hasNext()){\n\t\t\tSystem.out.print(list.next()+\" \");\n\t\t}\n\t\tSystem.out.println();\n\t\tfor(Iterator LN = names.iterator(); LN.hasNext();){\n\t\t\tSystem.out.print(LN.next()+\" \");\n\t\t}\n\n\t}", "public void takeItem(String name, Player player)\n {\n int i=items.size()-1;\n while(i>=0){\n if(items.get(i).getName().equals(name))\n {\n player.addItem(items.get(i));\n System.out.println(\"You take the \"+items.get(i).getName()+\"!\");\n items.remove(i);\n return;\n }\n i--;\n }\n System.out.println(\"Action failed. Review your input and try again!\");\n }", "public static void main(String[] args) {\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\tArrayList <String> cars = new ArrayList <String>();\n\t\t cars.add(\"Nissan\");\n\t\t cars.add(\"Mustang\");\n\t\t cars.add(\"BMW\");\n\t\t cars.add(\"Merc.Benz\");\n\t\t cars.add(\"Honda\");\n\t\t cars.add(\"Toyota\");\n\t\t\n\t\t System.out.println(cars);\n\t\t \n\t//\t System.out.println(cars.size());//here I use size method to get ArrayList size\n\t//\t System.out.println(cars.remove(1));\n\t\t cars.set(0, \"Jaguar\");\n\t\t System.out.println(cars.set(0, \"Jaguar\"));\n\t\t// System.out.println(cars);\n\t\t \n\t\t\n\t\t\n\t//\t System.out.println(cars.get(2));// here I use get method to get that index element\n\t\t\n\t\t \n\t\t/* cars.remove(3);//here I use remove method to remove an item from ArrayList\n\t\t System.out.println(cars);\n\t\t\n\t\tcars.add(\"Lexus\");*/\n\t\t \n\t\t //first to last element print\n\t/*\t for (int j=0;j<cars.size();j++)\n\t\t\t{\n\t\t\t\t\tSystem.out.println(cars.get(j));\n\t\t\t}\n\t\t System.out.println(cars.size());\n\t\t\n\t\t \n\t\t cars.set(0,\"Jaguar\");\n\t\t System.out.println(cars);\n\t\t \n\t\t\n\t\t\n\t\t \n\t\t//last to first element print\n\t\t for (int k=cars.size()-1;k>=0;k--)\n\t\t\t{\n\t\t\t\t\tSystem.out.println(cars.get(k));\n\t\t\t}\n\t\t\t\n\t\t \n\t\t \n\t/*\t \n\t\t\tArrayList <Integer> even = new ArrayList <Integer>();\n\t\t\n\t\teven.add(2);\n\t\teven.add(4);\n\t\teven.add(6);\n\t\teven.add(8);\n\t\teven.add(10);\n\t\tSystem.out.println(even.get(4));\n\t\t\n\t\t\n\t\tSystem.out.println(even);\n\t\t//access an item\n\t\t\n\t\tSystem.out.println(even.get(1));\n\t\t\t\n\t\t */\n\t\t \n\t\t \n\t\t\n\t\t \n\n\t}", "public void decrement() {\n items--;\n }", "public static void slide127() {\n ArrayList<String> obj = new ArrayList<String>();\n\n //This is how we add elements to an ArrayList\n obj.add(\"Alex\");\n obj.add(\"Con\");\n obj.add(\"Paul\");\n obj.add(\"Estel\");\n obj.add(\"Peter\");\n\n // Displaying elements\n System.out.println(\"Original ArrayList:\");\n for(String str:obj)\n System.out.println(str);\n\n // Add element at the specific index\n\n obj.add(0, \"Mary\");\n obj.add(1, \"Justin\");\n\n // Displaying elements\n System.out.println(\"ArrayList after add operation:\");\n for(String str:obj)\n System.out.println(str);\n\n //Remove elements from ArrayList like this\n obj.remove(\"Peter\");\n obj.remove(\"Paul\");\n\n // Displaying elements\n System.out.println(\"ArrayList after remove operation:\");\n for(String str:obj)\n System.out.println(str);\n\n // Edit element from ArrayList\n obj.set(2, \"Tom\");\n\n // Displaying elements\n System.out.println(\"ArrayList after edit operation:\");\n for(String str:obj)\n System.out.println(str);\n\n\n //Remove element from the specified index\n obj.remove(1); //Removes Second element from the List\n\n // Displaying elements\n System.out.println(\"Final ArrayList:\");\n for(String str:obj)\n System.out.println(str);\n }", "private void removeItem() {\n viewList();\n System.out.println(\"Enter the priority of the item to remove: \\n\\tH -> high \\n\\tM -> medium \\n\\tL -> low\");\n char c = scanner.next().toUpperCase().charAt(0);\n System.out.println(\"Enter the number of the item you want to remove: \");\n System.out.println(\"Note: If you enter a higher number, items from the next categories will be deleted\");\n int removeIndex = scanner.nextInt();\n\n int h = toDoList.lastIndexOfCategory(Categories.HIGHPRIORITY);\n int m = toDoList.lastIndexOfCategory(Categories.MIDPRIORITY);\n\n if (c == 'H' && (toDoList.getItemAtIndex(1).getCategory() != Categories.HIGHPRIORITY || h + 1 > removeIndex)) {\n removeIndex = -1;\n } else if (c == 'M') {\n removeIndex = removeIndex + h + 1;\n } else if (c == 'L') {\n removeIndex = removeIndex + h + m + 1;\n }\n if (c == 'M' && h != 0 && toDoList.lastIndexOfCategory(Categories.MIDPRIORITY) == 0) {\n removeIndex = -1;\n } else if (c == 'L' && (h != 0 || m != 0) && toDoList.lastIndexOfCategory(Categories.LOWPRIORITY) == 0) {\n removeIndex = -1;\n }\n\n toDoList.remove(removeIndex);\n System.out.println(\"Updated to-do list:\");\n viewList();\n }", "@Override\n\tpublic T remove(T removeItem) {\n\t\t// TODO\n\t\tT item;\n\t\tint index=indexOf(removeItem);\n\t\tif (index == -1) {\n\t\t\treturn null;\n\t\t} else {\n\t\t\titem = data[index];\n\t\t\tfor(int j=index;j<size-1;j++)\n\t\t\t\tdata[j] = data[j+1];\n\t\t\tsize--;\n\t\t\treturn item;\n\t\t}\n\t\t// Find the removeItem in the array\n\t\t// return null if not found\n\t\t// First, Store the item found in a variable\n\t\t// shift the sequence element to the blank(adjust the array)\n\t\t// decrease size by 1\n\t\t// return the stored item\n\n\t}", "public ArrayList<ArrayList<String>> removeItem(ArrayList<ArrayList<String>> outer) {\r\n\t\tScanner s = new Scanner(System.in);\r\n\t\tSystem.out.println(\"Which specific data would you like to delete? Please type the position of the field and position of the data\");\r\n\t\tint posf = s.nextInt();\r\n\t\tint pos = s.nextInt();\r\n\t\tArrayList<ArrayList<String>> list3 = new ArrayList<ArrayList<String>>(outer);\r\n\t\tlist3.get(posf-1).remove(pos);\r\n\t\treturn list3;\r\n\t}", "public static void main(String[] args) {\n\t\t ArrayList <String> ListName1 = new ArrayList<>();\r\n\t\t\t ListName1.add(\"satya\");\r\n\t\t\tListName1.add(\"Kalyan\");\r\n\t\t\tListName1.add(\"bala\");\r\n\t\t\tSystem.out.println(ListName1);\r\n\t\t\tListName1.remove(\"satya\");\r\n\t\t\tListName1.set(0,\"Mahi\");\r\n\t\t\tSystem.out.println(\" one name is removed \"+ListName1); \r\n\t }", "public void removeElement(int pos){\n itemList.remove(pos);\n SharedPreferences sp = getSharedPreferences(MYPREFS, 0);\n SharedPreferences.Editor editor = sp.edit();\n\n // Get strings from memory and parse\n String[] nameWords = sp.getString(\"name\", null).split(\",\");\n String[] costWords = sp.getString(\"cost\", null).split(\",\");\n String[] statusWords = sp.getString(\"status\", null).split(\",\");\n String[] categWords = sp.getString(\"category\", null).split(\",\");\n\n if(nameWords!=null && nameWords.length>0) {\n\n // Update budget (increase)\n int budget = sp.getInt(\"budget\", 0);\n int budgetNew = budget + Integer.parseInt(costWords[pos]);\n animateCtr(budget, budgetNew, (TextView)findViewById(R.id.budgetCurrent));\n // if(budget < 0){ }\n Log.d(LOG_TAG, \"new budget: \" + budgetNew);\n\n // Remove chosen item at index pos from array, then reconstruct new string\n String[] nameNew = ArrayUtils.remove(nameWords, pos);\n String[] costNew = ArrayUtils.remove(costWords, pos);\n String[] statusNew = ArrayUtils.remove(statusWords, pos);\n String[] categNew = ArrayUtils.remove(categWords, pos);\n Log.d(LOG_TAG, \"new arrays: \" + Arrays.toString(nameNew) + \"\\n\" + Arrays.toString(costNew) + \"\\n\" + Arrays.toString(statusNew)\n + \"\\n\" + Arrays.toString(categNew));\n\n StringBuilder bName = new StringBuilder();\n StringBuilder bCost = new StringBuilder();\n StringBuilder bStatus = new StringBuilder();\n StringBuilder bCateg = new StringBuilder();\n\n for (int i = 0; i < nameNew.length; i++) {\n bName = bName.append(nameNew[i]).append(\",\");\n bCost = bCost.append(costNew[i]).append(\",\");\n bStatus = bStatus.append(statusNew[i]).append(\",\");\n bCateg = bCateg.append(categNew[i]).append(\",\");\n }\n\n Log.d(LOG_TAG, \"stringbuilder test:\" + bName.toString() + \" \" + bCost.toString() + \" \" + bStatus.toString() + \" \" + bCateg.toString());\n\n // Update to memory\n editor.clear();\n editor.putString(\"name\", bName.toString());\n editor.putString(\"cost\", bCost.toString());\n editor.putString(\"status\", bStatus.toString());\n editor.putString(\"category\", bCateg.toString());\n editor.putInt(\"old_budget\", budget);\n editor.putInt(\"budget\", budgetNew);\n editor.commit();\n }\n //decrementCounter(pos);\n }", "public void dropItem(String secondWord)\n {\n if(secondWord == null){\n System.out.println(\"Drop what?\");\n }\n else{\n if(!inventory.isEmpty()){\n boolean found = false;\n for(int i = 0; i < inventory.size() && !found; i++){\n Item itemToDrop = inventory.get(i);\n if(itemToDrop.getId().equals(secondWord)){\n if(itemToDrop.getId().equals(\"wheelchair\")){\n maxWeight = 5;\n for(Item patient : inventory){\n if(patient.getId().equals(\"patient\")){\n patient.changePickUpItem(false);\n }\n }\n }\n if(itemToDrop.getId().equals(\"patient\")){\n itemToDrop.changePickUpItem(false);\n } \n currentRoom.addItem(itemToDrop);\n inventoryWeight -= itemToDrop.getItemWeight();\n inventory.remove(itemToDrop);\n found = true;\n System.out.println(\"You have droped the item: \" + itemToDrop.getId() + \".\");\n }\n }\n }\n else{\n System.out.println(\"Your inventory is empty.\");\n }\n }\n }", "public void dropItem(final String pStringItem){this.aItemsList.dropItem(pStringItem);}", "public void deleteItem(ActionEvent actionEvent) {\n // find the list that the item belongs in\n // removeItem() from its parenting list\n }", "public String removeItem() {\n userFacade.printUsersCart(user);\n System.out.println(\"Item to be removed....\" + selectedItem.getName());\n //user.getCart().remove(selectedItem);\n userFacade.removeFromCart(user, selectedItem);\n System.out.println(\"Item to be removed....\" + selectedItem.getName());\n userFacade.printUsersCart(user);\n return \"\";\n }", "void figureRemovedAt(Location loc);", "public void printAndDeleteHighestItem(){\n RankedItem highestItem = new RankedItem();\n\n //find the highest ranked item\n for (RankedItem rankedItem: rankedResults){\n if(rankedItem.getWin() >= highestItem.getWin()){\n highestItem = rankedItem;\n }\n }\n //print the highest ranked item if the item doesn't have all 0 values\n if(highestItem.getWin() != 0 || highestItem.getLoss() != 0 || highestItem.getTie() != 0) {\n resultList.append(highestItem.getItemText() + \"\\t\" +\n highestItem.getWin() + \"\\t\" +\n highestItem.getLoss() + \"\\t\" +\n highestItem.getTie() + \"\\n\");\n }\n //remove the highest ranked item from the list\n rankedResults.remove(highestItem);\n }", "public static void main(String[] args) {\n\t\tArrayList arrayList = new ArrayList();\n\t\t\n\t\tarrayList.add(\"Nitin\");\n\t\tarrayList.add(\"E14155\");\n\t\tarrayList.add(32);\n\t\tarrayList.add(16120.2161);\n\t\tarrayList.add(\"Welcome\");\n\t\t\n\t\tSystem.out.println(arrayList);\n\t\t\n\t\tarrayList.remove(23); //Removes the item if item is present else removes the index(first preference is index)\n\t\t//This gives out index out of bound error\n\t\tSystem.out.println(arrayList);\n\t\t\n\t\tarrayList.add(6, \"HI\"); //provides Index out of bound error if list length not specified\n\t\tSystem.out.println(arrayList);\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\t\tUser zws = alllist.getSelectedValue();\r\n\t\t\t\tam.removeElement(zws);\r\n\t\t\t\tall.remove(zws);\r\n\t\t\t\tvm.addElement(zws);\r\n\t\t\t\tverwalter.remove(zws);\r\n\t\t\t}", "@Override\r\n \t\tprotected Object removeListItem(EObject object, EStructuralFeature feature, int index) {\n \t\t\tEList<EObject> list = (EList<EObject>)object.eGet(feature);\r\n \t\t\tEObject item = list.get(index);\r\n \t\t\tInputSet inputSet = throwEvent.getInputSet();\r\n \t\t\tif (inputSet.getDataInputRefs().contains(item))\r\n \t\t\t\tinputSet.getDataInputRefs().remove(item);\r\n \t\t\t\r\n \t\t\t// remove Input or Output DataAssociations\r\n \t\t\tList<DataInputAssociation> dataInputAssociations = throwEvent.getDataInputAssociation();\r\n \t\t\tList<DataInputAssociation> removed = new ArrayList<DataInputAssociation>();\r\n \t\t\tfor (DataInputAssociation dia : dataInputAssociations) {\r\n \t\t\t\tif (dia.getTargetRef().equals(item))\r\n \t\t\t\t\tremoved.add(dia);\r\n \t\t\t}\r\n \t\t\tdataInputAssociations.removeAll(removed);\r\n \r\n \t\t\treturn super.removeListItem(object, feature, index);\r\n \t\t}", "public static void deleteItem()\r\n\t{\r\n\t\tif(receiptList.getSelectedIndex() < listModel.getSize()-4 && receiptList.getSelectedIndex() > -1)\r\n\t\t{\r\n\t\t\tString itemPrice = receiptList.getSelectedValue().substring(0,\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treceiptList.getSelectedValue().indexOf(\" \"));\r\n\t\t\t\r\n\t\t\tsubtotalAmount = subtotalAmount - Functions.toAmount(itemPrice);\r\n\t\t\tupdateTotals();\r\n\t\t\t\r\n\t\t\tlistModel.removeElementAt(receiptList.getSelectedIndex());\r\n\t\t\tif(listModel.getSize() == 4)\r\n\t\t\t\tclearReceipt();\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\tfor(int count=0; count < 4; count++)\r\n\t\t\t\t\tlistModel.removeElementAt(listModel.getSize()-1);\r\n\t\t\t\tlistModel.addElement(\" \");\r\n\t\t\t\tlistModel.addElement(Functions.toMoney(subtotalAmount) + manualTab(Functions.toMoney(subtotalAmount)) + \"Subtotal \");\r\n\t\t\t\tlistModel.addElement(Functions.toMoney(taxAmount) + manualTab(Functions.toMoney(taxAmount)) + \"Tax\");\r\n\t\t\t\tlistModel.addElement(Functions.toMoney(totalAmount) + manualTab(Functions.toMoney(totalAmount)) + \"Total\");\r\n\t\t\t}\r\n\t\t}\r\n\t}", "public static void main(String [] args) {\n\t\t\t\tArrayList<String> colors = new ArrayList<String> ();\n\t\t\t\t colors.add(\"red\");\n\t\t\t\t colors.add(\"blue\");\n\t\t\t\t colors.add(\"yellow\");\n\t\t\t\t colors.add(\"green\");\n\t\t\t\t colors.add(\"turquoise\");\n\t\t\t\t \n\t\t for (int i = 0;i < colors.size(); i++)\n\t\t \t System.out.println(i + \" \" + colors.get(i));\n\t\t \n\t\t System.out.println(\"removing element at position 2\");\n\t\t // getting element on a specified index\n\t\t colors.remove(1);\n\t\t \n\t\t for (int i = 0;i < colors.size(); i++)\n\t\t\t \t System.out.println(i + \" \" + colors.get(i));\n\n\t\t\t}", "public void RemoveItemFromUcet(int index)\n {\n\n\n\n\n celk_kor -= ucty.get(index).kor;\n celk_hal -= ucty.get(index).hal;\n\n\n if (celk_hal < 0)\n {\n celk_kor -= 1;\n celk_hal = 100 + celk_hal;\n }\n\n TextView celkem = (TextView) findViewById(R.id.celkova_castka);\n celkem.setText(\"\"+celk_kor+\".\"+celk_hal+\" Kč\");\n\n\n for (int i = index; i < ucty.size(); i++)\n {\n ucty.get(i).index -= 1;\n }\n ucty.remove(index);\n mGalleryView.removeView(index);\n }", "public void removeCardAndAddToHand(int location,ArrayList<Card> hand) {\n// if(cards.get(location).equals()){\n hand.add(cards.get(location));\n cards.remove(location);\n// }\n //add to player\n }", "void notifyListItemRemoved(int position);", "public static void main(String[] args) {\n ArrayList<Integer> myNumbers = new ArrayList<Integer>();\n // adding items in the list\n myNumbers.add(5);\n myNumbers.add(2);\n myNumbers.add(4);\n myNumbers.set(0, 7);\n // myNumbers.remove(0);\n // Before sorting accessing numbers\n System.out.print(\"Before sorting :\");\n for (int i = 0; i < myNumbers.size(); i++) {\n System.out.print(myNumbers.get(i) + \" \");\n }\n // sorting the list\n Collections.sort(myNumbers);\n System.out.print(\"\\nAfter sorting :\");\n for (Integer keep : myNumbers) {\n System.out.print(keep + \" \");\n }\n }", "private void dropItem(String item)//Made by Justin\n {\n itemFound = decodeItem(item);\n if (itemFound == null)\n {\n System.out.println(\"I don't know of any \" + item + \".\");\n }\n else\n {\n player.inventoryDel(itemFound);\n }\n }", "public void remove(int location)\r\n\t{\r\n\t\tportfolio.remove(location);\r\n\t\tportfolioLength--;\r\n\t}", "public static void main(String[] args) {\n\t\tCustomArrayList cal = new CustomArrayList();\n\t\tcal.add(new Integer(10));\n\t\tcal.add(new Integer(20));\n\t\tcal.add(new Integer(30));\n\t\tcal.add(\"I am paramesh\");\n\t\tcal.add(new Integer(50));\n\t\tcal.add(new Integer(60));\n\t\tcal.add(new Integer(70));\n\t\tcal.add(new Integer(80));\n\t\tSystem.out.println(\"size \" + cal.size());\n\t\tSystem.out.println(\"Length \" + cal.length());\n\t\tcal.print();\n\t\tcal.remove(6);\n\t\tSystem.out.println(\"size \" + cal.size());\n\t\tSystem.out.println(\"first element \" + cal.get(0));\n\t\tSystem.out.println(\"second element \" + cal.get(1));\n\t\tSystem.out.println(\"third element \" + cal.get(2));\n\t\tSystem.out.println(\"fourth element \" + cal.get(3));\n\t\tSystem.out.println(\"fifth element \" + cal.get(4));\n\t\tSystem.out.println(\"sixth element \" + cal.get(5));\n\t\tSystem.out.println(\"seventh element \" + cal.get(6));\n\t\t// System.out.println(\"eightth element \" + cal.get(7));\n\t\tcal.print();\n\t}", "protected /*override*/ void RemoveItem(int index) \r\n {\r\n CheckSealed(); \r\n super.RemoveItem(index); \r\n }", "public void doRemoveItem() {\n doRemoveItem(this.mSrcPos - getHeaderViewsCount());\n }", "void remove( int index );", "private void removeAtIndex(int index) {\n // save the last item\n FoodItem toMoveBack = this._stock[this._noOfItems-1];\n // make it null\n this._stock[this._noOfItems-1] = null;\n // for each item until the index to remove from:\n for (int i = this._noOfItems-2; i > index-1; i--) {\n // save the last moved back temporarily\n FoodItem tempToMoveBack = toMoveBack;\n // assign to the next iteration item to move back\n toMoveBack = this._stock[i];\n // move back the item for current iteration\n this._stock[i] = tempToMoveBack;\n }\n // we removed an item - so let's decrease the item counter.\n this._noOfItems--;\n }", "public abstract void remove(int pos) throws IndexOutOfBoundsException;", "private void removeFromSavedCourseList() {\n System.out.println(\"The current courses in the saved course list are: \");\n\n for (int i = 0; i < courseList.getCourseList().size(); i++) {\n System.out.println((i + 1) + \": \" + courseList.getCourseList().get(i).getName());\n }\n\n System.out.println(\"Write the number of the one you wish to remove\");\n int removeIndex = obtainIntSafely(1, courseList.getCourseList().size(), \"Number out of bounds\");\n courseList.getCourseList().remove(removeIndex - 1);\n System.out.println(\"Removed!\");\n }", "public static void main(String[] args) {\n List<Grocery> groceries = new ArrayList<>();\n String message = \"Groceries: \";\n displayList(message, groceries);\n\n// Create three different Grocery objects.\n Grocery object1 = new Grocery(\"bananas\");\n Grocery object2 = new Grocery(\"orange\");\n Grocery object3 = new Grocery(\"tomato\");\n\n// Add them to the groceries list and display it. To display the Grocery class create the toString method.\n groceries.add(object1);\n groceries.add(object2);\n groceries.add(object3);\n displayList(message, groceries);\n\n// Create a new Grocery with the same name as a previous one and\n Grocery newGrocery = new Grocery(\"orange\");\n// use it to remove the original one from the list.\n// To remove a Grocery automatically you need to create the equals method in the Grocery class.\n// Specify that two Grocery are the same if their name is the same.\n// ???????????????????????????????????\n groceries.remove(newGrocery);\n displayList(message, groceries);\n\n// Add one of the existing groceries twice and display the list.\n groceries.add(object3);\n groceries.add(object3);\n displayList(message, groceries);\n\n// Remove the third element of the list by providing its position and display it.\n groceries.remove(3);\n displayList(message, groceries);\n\n// Display its size.\n message = \"Groceries size: \";\n System.out.println(message + groceries.size());\n }", "public void removeItem(int itemToRemove){\n\t\tinventoryItems[itemToRemove] = null;\n\t}", "public void hapusItem(Item objItem) {\n arrItem.remove(objItem); //buang item\n }", "void removeMenuItem(int itemId, String itemName);", "void remove(int index);", "void remove(int index);", "void remove(int index);", "void remove(int index);", "private void removeFromActiveCourseList() {\n System.out.println(\"The current courses in the active course list are: \");\n\n for (int i = 0; i < activeCourseList.size(); i++) {\n System.out.println((i + 1) + \": \" + activeCourseList.get(i).getName());\n }\n\n System.out.println(\"Write the number of the one you wish to remove\");\n int removeIndex = obtainIntSafely(1, activeCourseList.size(), \"Number out of bounds\");\n activeCourseList.remove(removeIndex - 1);\n System.out.println(\"Removed!\");\n }", "boolean removAble(InputItem item);", "public void removeElement(String selectedItem, final int position) {\n AlertDialog.Builder builder = new AlertDialog.Builder(this);\n builder.setTitle(\"Remove \" + selectedItem + \"?\");\n builder.setPositiveButton(\"Yes\", new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n masterItems.remove(position);\n Collections.sort(masterItems);\n storeArrayVal(masterItems, getApplicationContext());\n lv.setAdapter(adapter);\n }\n });\n builder.setNegativeButton(\"No\", new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n dialog.cancel();\n }\n });\n builder.show();\n }", "public void remove(int index){\n if (myBasket.size() == 0)\n System.out.println(\"List is empty.\");\n int i = 0 ;\n boolean isFound = false;\n Product toRemove = null;\n for (Product product: myBasket.keySet())\n {\n i++;\n if (i == index && myBasket.get(product) > 0)\n {\n isFound = true;\n toRemove = product;\n break;\n\n }\n }\n if (!isFound)\n System.out.println(\"Sorry. Invalid index!\");\n\n // now , checking how many of this product is in the basket\n\n else if (myBasket.get(toRemove) > 1){\n System.out.println(\"How many of this product do you want to give back?\");\n Scanner scanner = new Scanner(System.in);\n int num = scanner.nextInt();\n if (num < myBasket.get(toRemove)) {\n totalCost -= toRemove.getPrice() * num;\n myBasket.replace(toRemove,myBasket.get(toRemove) - num);\n for (int j = 0 ; j < num ; j++)\n inventory.updateStock(toRemove , '+');\n }\n else {\n totalCost -= toRemove.getPrice() * myBasket.get(toRemove);\n myBasket.remove(toRemove);\n for (int j = 0 ; j < myBasket.get(toRemove) ; j++)\n inventory.updateStock(toRemove,'+');\n }\n System.out.println(\"Product removed.\");\n }\n\n // there is just one of this product in basket\n\n else {\n totalCost -= toRemove.getPrice();\n myBasket.remove(toRemove);\n System.out.println(\"Product removed.\");\n inventory.updateStock(toRemove , '+');\n }\n }", "void removeStock(int i);", "public void removeItem() {\r\n\t\tlog.info(\"Remove item\");\r\n\t\tsu.waitElementClickableAndClick(LocatorType.Xpath, CartSplitViewField.Remove.getName());\r\n\t}", "public static void hapus() {\n int dump;\n System.out.print(\"Index Ke = \");\n dump = input.nextInt();\n try {\n todolist.remove(dump);\n kembali(\"Data Berhasil Hapus\");\n\n }catch (IndexOutOfBoundsException e){\n kembali(\"Index Yang Anda Input Salah\");\n }\n }", "@Test\r\n\tvoid testRemove() {\r\n\t\tSimpleList test = new SimpleList();\r\n\t\ttest.add(7);\r\n\t\ttest.add(10);\r\n\t\ttest.add(9);\r\n\t\ttest.remove(10);\r\n\t\tString output = test.toString();\r\n\t\tassertEquals(\"9 7\", output);\r\n\t}", "public static void main(String[] args) {\n\t\tSystem.out.println(\"remove \"+OneEditAway(\"pale\",\"bae\"));\r\n\r\n\r\n\t}", "public Inventory<T> subtract(final T item) {\n if (item == null) {\n return this;\n }\n final Map<T, Integer> freshMap = new HashMap<>();\n freshMap.putAll(items);\n if (freshMap.get(item) <= 0) {\n freshMap.put(item, 0);\n } else {\n freshMap.put(item, freshMap.get(item) - 1);\n }\n return new Inventory<T>(enums, Collections.unmodifiableMap(freshMap));\n }", "public void unregisterItem(Item i) {\n\t\ti.remove();\n\t\tsetLocation(i, i.getLocation(), null);\n\t}", "public void dropItem(int x, int y, int i) {\n \n ParentItem item = getInventory()[i];\n \n if (item != null) {\n \n inventory.removeItem(i);\n \n item.putOnBoard(x, y, gameboard);\n \n }\n \n }", "public void removeAt(int pos)\n {\n for (int i = pos; i < length - 1; i++)\n {\n list[i] = list[i + 1];\n }\n length--;\n }", "public static void main(String[] args) {\n\t\tArrayList<String> myList = new ArrayList<String>();\r\n\t\tmyList.add(\"Jin\");\r\n\t\tmyList.add(\"Jimin\");\r\n\t\tmyList.add(\"Jhope\");\r\n\t\tmyList.add(0,\"V\");\r\n\t\tmyList.add(2, \"JK\");\r\n\t\tSystem.out.println(\"Print All the objects:\");\r\n\t\tfor(String s:myList) {\r\n\t\t\tSystem.out.println(s);\r\n\t\t}\r\n\t\t System.out.println(\"3rd element in the list is: \" + myList.get(2));\r\n\t System.out.println(\"Is RM is in list: \" + myList.contains(\"RM\"));\r\n\t System.out.println(\"Size of ArrayList: \" + myList.size());\r\n\t myList.remove(1);\r\n\t System.out.println(\"New Size of ArrayList: \" + myList.size());\r\n\t\t}", "public ItemStack remove(int debug1) {\n/* 104 */ return this.container.removeItem(this.slot, debug1);\n/* */ }", "public void removeItem(String itemName, int Qty) {\n if (checkExist(itemName, Qty) == true) {\n int i;\n //System.out.println(checkExist(itemName));\n for (i = 0; i < inventory.size(); i++) {\n Map<String, Object> removedItem = new HashMap<>();\n removedItem = inventory.get(i);\n\n if (itemName.equals(removedItem.get(\"Name\").toString())) {\n int a = Integer.parseInt((String) removedItem.get(\"Amount\"));\n removedItem.put(\"Amount\", a - Qty);\n\n if (a - Qty < 1) {\n removedItem.put(\"Existence\", \"N\");\n }\n }\n }\n } else {\n System.out.println(\"Item \" + itemName + \" is not available.\");\n for (int i = 0; i < inventory.size(); i++) {\n Map<String, Object> removedItem = new HashMap<>();\n removedItem = inventory.get(i);\n\n if (itemName.equals(removedItem.get(\"Name\").toString())) {\n System.out.println(\"Since item \" + itemName + \"'s amout is not enough, try less amount.\");\n }\n }\n }\n outPutFile();\n }", "private static void removeItemFromCart() {\r\n\t\tString itemName = getValidItemNameInput(scanner);\r\n\t\tfor (Iterator<Map.Entry<Product, Integer>> it = cart.getCartProductsEntries().iterator(); it.hasNext();){\r\n\t\t Map.Entry<Product, Integer> item = it.next();\r\n\t\t if( item.getKey().getName().equals(itemName) ) {\r\n\t\t\t it.remove();\r\n\t\t }\r\n\t\t}\r\n\t\tSystem.out.println();\r\n\t\tSystem.out.println(\" Item removed from the cart successfully\");\r\n\t\tSystem.out.println();\r\n\t}", "public String dropItem(String item){\n if(hasGrabbedItem(item)){\n grabbedItems.remove(item);\n return \"You have dropped: \" + item;\n }else{\n return \"You don't have one to drop.\";\n }\n }", "@Override\r\n\tpublic void deleteItem() {\n\t\taPList.remove();\r\n\t}", "@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\t\tUser zws = alllist.getSelectedValue();\r\n\t\t\t\tvm.removeElement(zws);\r\n\t\t\t\tverwalter.remove(zws);\r\n\t\t\t\tam.addElement(zws);\r\n\t\t\t\tall.add(zws);\r\n\t\t\t}", "public DataItem removeItem()\r\n\t{\r\n\t\tDataItem temp=itemArray[numItems-1];\r\n\t\titemArray[numItems-1]=null;\r\n\t\tnumItems--;\r\n\t\treturn temp;\r\n\t}", "public void removeItem(CargoItem item) {\n\t\t\n\t\tif (cargoList.contains(item))\n\t\t{\n\t\t\tcurrentWeight = currentWeight-item.getWeight();\n\t\t\tcurrentVolume = currentVolume-item.getVolume();\n\t\t\tcargoList.remove(item);\n\t\t\tSystem.out.println(\"Item removed\");\n\t\t}\n\t\telse\n\t\t{\n\t\t\tSystem.out.println(\"Item not found\");\n\t\t}\n\t\t\n\t}", "void removeDescription(int i);", "public void removeElement (int userInputElementToRemove){\n int i;\n for(i=userInputElementToRemove; i<sirDeLa1La100.length-1; i++) {\n sirDeLa1La100[i] = sirDeLa1La100[i + 1];\n }\n System.out.println(Arrays.toString(sirDeLa1La100));\n }", "public abstract void removeMove(Move move, int indexOfMove, String label);", "public void itemRemoved(boolean wasSelected);", "void removeGuide(int i);", "public void remove( int index ) {\n\tif (index > _lastPos)\n\t System.out.println(\"No meaningful value at index\");\n\telse {for (int i= index; i < _lastPos; i++){\n\t\t_data[i]= _data[i+1];\n\t }\n\t _size--;\n\t _lastPos--;\n\t}\n }", "@FXML\n public void removeListItem(ActionEvent event) throws IOException {\n int removeItemIndex = unseenPacketList.getSelectionModel().getSelectedIndex();\n if (removeItemIndex < 0) {\n \tJOptionPane.showMessageDialog(null, \"Cannot remove from already empty list.\");\n } else {\n \tUpdateHandler.getAllPacketsList().remove(removeItemIndex);\n unseenPacketList.getItems().remove(removeItemIndex);\n UpdateHandler.getUnseenPacketListIndex().remove(removeItemIndex);\n }\n \n }", "public DataItem removeItem()\n\t{\n\t\tDataItem temp = itemArray[numItems-1];\n\t\titemArray[numItems-1] = null;\n\t\tnumItems--;\n\t\treturn temp;\n\t}", "public static void display(){\n \n //create an array : Remember positions\n //wheat= 0\n //Land = 1 \n //Population = 2\n \n String[] items = {\"Wheat\", \"Land\", \"Population\"};\n \n \n // call the crops object \n Crops theCrops = Game.getCrop();\n \n //get wheat\n int wheat = theCrops.getWheatInStore();\n \n //get land (acres)\n int acres = theCrops.getAcres();\n \n //get population \n \n int population = theCrops.getPopulation();\n \n //print results \n \n System.out.println(\"\\nInventory List:\");\n //wheat \n System.out.println(\"Wheat in Store:\" + wheat + \" bushels of \" + items[0]);\n //acres\n System.out.println(\"Acres of Land owned:\" + acres + \" acres of \" + items[1]);\n \n //population\n System.out.println(\"Current population:\" + population + \" people in the \" + items[2]);\n \n \n \n }", "public static void main(String[] args) {\n\n ArrayList<Integer> arrayList=new ArrayList<>();\n\n arrayList.add(1);\n arrayList.add(1);\n arrayList.add(2);\n arrayList.add(5);\n\n\n System.out.println(arrayList);\n System.out.println(arrayList.remove(1));\n System.out.println(arrayList);\n\n }", "void remove(int idx);", "@Override\r\n\tpublic void imprimirItemLista(String item) {\n\t\tSystem.out.println(marcador +\" \"+ item);\r\n\t\t\r\n\t}", "public void remove(int index);", "public static void main(String[] args) {\n\t\tDlist dl=new Dlist();\r\n\t\tdl.insertAtBegin(1);\r\n\t\tdl.insertAtBegin(2);\r\n\t\tdl.insertAtBegin(3);\r\n\t\tdl.insertAtEnd(4);\r\n\t\tdl.insertAtSpecificPos(5, 3);\r\n\t\tdl.print();\r\n\t\tdl.remove(2);\r\n\t\tdl.remove(4);\r\n\t\tdl.remove(1);\r\n\t\tSystem.out.println(\"*******************\");\r\n\t\tdl.print();\r\n\t\tSystem.out.println(dl.toString());\r\n\t\tSystem.out.println(\"get pos \"+dl.getPos(5));\r\n\t\tdl.clearList();\r\n\t\tSystem.out.println(dl.toString());\r\n\t\t\r\n\t}" ]
[ "0.5903504", "0.5828773", "0.58241206", "0.5817749", "0.575095", "0.5704331", "0.5676397", "0.5667134", "0.5652107", "0.5651598", "0.564966", "0.5634282", "0.55949396", "0.5583411", "0.5576932", "0.55752116", "0.55474573", "0.5541865", "0.55409396", "0.5537447", "0.5534735", "0.55267876", "0.5519526", "0.54963875", "0.54944265", "0.5492392", "0.5485673", "0.54704684", "0.5468758", "0.5464333", "0.54556936", "0.5441549", "0.5438847", "0.5428763", "0.5422302", "0.5416375", "0.54139364", "0.54027945", "0.5400665", "0.5391211", "0.53903556", "0.5384943", "0.53834194", "0.53691435", "0.5367632", "0.535957", "0.53595626", "0.5354019", "0.5348494", "0.5346698", "0.53451604", "0.53450626", "0.5342603", "0.53409964", "0.5340319", "0.5335924", "0.5333186", "0.5329425", "0.53287643", "0.5328744", "0.53266627", "0.5314536", "0.5314536", "0.5314536", "0.5314536", "0.5312737", "0.5310805", "0.5296958", "0.5294718", "0.5292149", "0.5289073", "0.52803886", "0.52799076", "0.52736145", "0.52674586", "0.52524805", "0.52512604", "0.52501565", "0.52470934", "0.5244017", "0.5239234", "0.523872", "0.52359617", "0.52355015", "0.5232053", "0.52264494", "0.5202695", "0.5200972", "0.5200454", "0.5200092", "0.51996213", "0.51985526", "0.51930153", "0.51831084", "0.5181485", "0.517847", "0.51721144", "0.5169227", "0.5164814", "0.51588416", "0.51554847" ]
0.0
-1
looks to see where the player can drive
void getDrivableLocations() { System.out.print("\nPlaces you can drive to: "); for (int i = 0; i < places.length; i++) if (places[i].drivable) //looks to see if you can drive there if ((places[i] != this)) //if it's not you're current location. System.out.print(places[i].locationName + ", "); //prints the name of the location System.out.println("\n"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean hasDriveFile();", "boolean hasDriveFolder();", "public void teleopArcadeDrive(){\r\n\t\tmyRobot.arcadeDrive(-m_controls.driver_Y_Axis(), -m_controls.driver_X_Axis());\r\n\t}", "public boolean checkPlays(Player player){\n return true;\n }", "protected boolean canTriggerWalking() {\n/* 140 */ return false;\n/* */ }", "public boolean isWalkable();", "public boolean takeControl() {\n\t\tif (Squirrel.us.getDistance() <= 30 && Squirrel.notDetected)\n\t\t\treturn true;\n\t\telse\n\t\t\treturn false;\n\t}", "private static boolean canMove() {\n return GameManager.getCurrentTurn();\r\n }", "boolean canRobPlayer(HexLocation location, int victimIndex);", "@Override\n public final boolean canStand(Playery player) {\n return true;\n }", "public static int isVehicleInSight(Player curr) {\n ArrayList<Integer> dirs = new ArrayList();\n int bodyDir = curr.getBodyDirection();\n if (bodyDir == UP) {\n dirs.add(UP);\n dirs.add(RIGHT);\n dirs.add(LEFT);\n if (curr.head360())\n dirs.add(DOWN);\n } else if (bodyDir == RIGHT) {\n dirs.add(RIGHT);\n dirs.add(UP);\n dirs.add(DOWN);\n if (curr.head360())\n dirs.add(LEFT);\n } else if (bodyDir == DOWN) {\n dirs.add(DOWN);\n dirs.add(RIGHT);\n dirs.add(LEFT);\n if (curr.head360())\n dirs.add(UP);\n } else //if(curr.getBodyDirection()==LEFT)\n {\n dirs.add(LEFT);\n dirs.add(UP);\n dirs.add(DOWN);\n if (curr.head360())\n dirs.add(RIGHT);\n }\n\n if (dirs == null || dirs.size() == 0)\n return -1;\n for (int vi = 0; vi < players.length; vi++) {\n if (players[vi] == null || players[vi].getName().equals(\"NONE\") || (players[vi] instanceof Monster)) //we don't want the AI monster to consider itself or other monsters a target\n continue;\n Player veh = players[vi];\n boolean isAir = veh.isFlying();\n int vR = veh.getRow();\n int vC = veh.getCol();\n if (veh.getName().endsWith(\"civilian\"))\n continue;\n for (int i = 0; i < dirs.size(); i++) {\n int dir = dirs.get(i);\n boolean skip = false;\n if (dir == UP) {\n for (int r = curr.getRow(); r >= 1; r--) {\n if (isAir && r == vR && curr.getCol() == vC)\n return dir + 10;\n if (r == vR && curr.getCol() == vC)\n return dir;\n }\n } else if (dir == DOWN) {\n for (int r = curr.getRow(); r < board.length - 1; r++) {\n if (isAir && r == vR && curr.getCol() == vC)\n return dir + 10;\n if (r == vR && curr.getCol() == vC)\n return dir;\n }\n } else if (dir == RIGHT) {\n for (int c = curr.getCol(); c < board[0].length - 1; c++) {\n if (isAir && c == vC && curr.getRow() == vR)\n return dir + 10;\n if (curr.getRow() == vR && c == vC)\n return dir;\n }\n } else if (dir == LEFT) {\n for (int c = curr.getCol(); c >= 1; c--) {\n if (isAir && c == vC && curr.getRow() == vR)\n return dir + 10;\n if (curr.getRow() == vR && c == vC)\n return dir;\n }\n }\n if (skip)\n continue;\n }\n }\n return -1;\n }", "private boolean try2GetRedPlayerFromHome(Player player)\n {\n try\n {\n RedPlayer redPlayer = (RedPlayer) player;\n if (RedPlayer.getNumber_of_buttons_allowed() > 0)\n {\n ludo.getPlayerFromHome(player);\n //RedPlayer.setNumber_of_buttons_allowed(RedPlayer.decrementNumberOfAllowedPlayers());\n return true;\n }\n return false;\n }\n catch (Exception e)\n {\n return false;\n }\n }", "@Override\n\tpublic void drive() {\n\t\tSystem.out.println(\"VAN IS DRIVING\");\n\t}", "private boolean try2GetYellowPlayerFromHome(Player player)\n {\n try\n {\n YellowPlayer yellowPlayer = (YellowPlayer) player;\n if (YellowPlayer.getNumber_of_buttons_allowed() > 0)\n {\n ludo.getPlayerFromHome(player);\n //YellowPlayer.setNumber_of_buttons_allowed(YellowPlayer.decrementNumberOfAllowedPlayers());\n return true;\n }\n return false;\n }\n catch (Exception e)\n {\n return false;\n }\n }", "private boolean try2GetBluePlayerFromHome(Player player)\n {\n try\n {\n BluePlayer bluePlayer = (BluePlayer) player;\n if (BluePlayer.getNumber_of_buttons_allowed() > 0)\n {\n ludo.getPlayerFromHome(player);\n //BluePlayer.setNumber_of_buttons_allowed(BluePlayer.decrementNumberOfAllowedPlayers());\n return true;\n }\n return false;\n }\n catch (Exception e)\n {\n return false;\n }\n }", "@Override\n public boolean canInteractWith(EntityPlayer player)\n {\n return teKeeper.isUsableByPlayer(player);\n }", "static void look(Player player) {\n String stuff = player.getLocation().whatStuff();\n if (!stuff.equals(\"\")) {\n System.out.println(\"You see:\\n\" + stuff);\n }\n else {\n System.out.println(\"You see an empty room.\");\n }\n }", "private void checkPlayerCondition()\n\t{\n\t\tif (playerExists() && PlayerAccess.getPlayer().isInExit())\n\t\t{\n\t\t\twon = true;\n\t\t}\n\t\tif (playerIsDead())\n\t\t{\n\t\t\tMapInstance.getInstance().levelRestart();\n\t\t}\n\t\tif (playerHasLost())\n\t\t{\n\t\t\tlost = true;\n\t\t}\n\t\tif (runOutOfTime())\n\t\t{\n\t\t\tPlayerAccess.getPlayer().die();\n\t\t}\n\t}", "public abstract void isUsedBy(Player player);", "public synchronized boolean canWatch() {\n\t\t//boolean to keep track of theater vacancy \n\t\tboolean enterStatus;\n\t\t//when the movie is in session or the theater is full we can't enter\n\t\tif(Clock.isInSession ||Driver.currentVisitors == 8) { \n\t\t\tenterStatus = false;\n\t\t}else {\n\t\t\tenterStatus = true;\n\t\t}\n\t\treturn enterStatus;\n\t}", "Location getPlayerLocation();", "protected boolean canTriggerWalking()\n {\n return false;\n }", "public void tryMove() {\n if(!currentPlayer.getHasPlayed()){\n if (!currentPlayer.isEmployed()) {\n String destStr = chooseNeighbor();\n\n currentPlayer.moveTo(destStr, getBoardSet(destStr));\n if(currentPlayer.getLocation().getFlipStage() == 0){\n currentPlayer.getLocation().flipSet();\n }\n refreshPlayerPanel();\n }\n else {\n view.showPopUp(currentPlayer.isComputer(), \"Since you are employed in a role, you cannot move but you can act or rehearse if you have not already\");\n }\n }\n else{ \n view.showPopUp(currentPlayer.isComputer(), \"You've already moved, rehearsed or acted this turn. Try a different command or click `end turn` to end turn your turn.\");\n }\n view.updateSidePanel(playerArray);\n }", "private void findPath()\n\t{\n\t\tpathfinding = true;\n\n\t\tmoves = Pathfinder.calcOneWayMove(city.getDrivingMap(), x, y, destX, destY);\n\t\tpathfinding = false;\n\t}", "public void pathFinding(GridCoordinate playerCoordinates)\r\n\t{\n\t\tplayerCoordinates = getCoordinates();\r\n\t\t\r\n\t\t//float playerX = PlayerCharacter.getOffsetX();\r\n\t\t\r\n\t}", "public boolean checkSetup(String name){\n boolean check = false;\n boolean exist = false;\n //if [drive]/Dove/ exists then isSetup = true\n //final String dove = \"Dove\"; // added to \n //final String doveDat = \"Dove.dat\"; //no longer check for Dove.dat\n //try{\n exist = drv.exists();\n if(!exist){\n System.out.println(\"Drive does not exist.\");\n }\n /*}*/\n if(exist){\n for(int i=0; i<drv.list().length; i++){\n if(drv.list()[i].equals(name) && drv.listFiles()[i].isDirectory()){\n check = true;\t\n }else{// Just looping through.\n }\n /*else if(drv.listFiles()[i].isDirectory()){\n //Folder name is Not \"DOVE\" or given then look for renamed \n * folder in device root\n File[] folder = drv.listFiles()[i].listFiles();\n for(File f: folder){\n if(f.isFile() && f.getName().equals(doveDat) ){\n check = true;\n }\n }\n }*/\n }\n }\n isSetup = check;\n if(!isSetup){\n System.out.println(\"Drive not properly setup.\");\n // In GUI ask for name of Dove Folder\n //use setupDrive(string)\n }\n return isSetup;\n }", "private void checkBounds() {\n\t\t// checks to see if playerX is to the left of the left side of the display\n\t\tif (player.getX() < 0)\n\t\t\tplayer.setX(0);\n\t\t// checks to see if playerX is greater than the width of the display\n\t\tif (player.getX() > displayWidth - sprite.get(\"playerSprite\").getWidth())\n\t\t\tplayer.setX(displayWidth - sprite.get(\"playerSprite\").getWidth());\n\t\t// checks to see if playerY is lower than the bottom of the display\n\t\tif (player.getY() < 0)\n\t\t\tplayer.setY(0);\n\t\t// checks to see if playerY is greater than the height of the display\n\t\tif (player.getY() > displayHeight - sprite.get(\"playerSprite\").getHeight())\n\t\t\tplayer.setY(displayHeight - sprite.get(\"playerSprite\").getHeight());\n\t}", "public boolean moveable() {\n //check reach border\n if (reachBorder()) {\n return false;\n }\n //get the location of the next spot to move to\n //move up\n Point nextLocation = this.getCenterLocation();\n if (direction == 12) {\n nextLocation = new Point(this.getCenterX(),\n this.getCenterY() - speed);\n }\n //move right\n if (direction == 3) {\n nextLocation = new Point(this.getCenterX() + speed,\n this.getCenterY());\n\n }\n //move down\n if (direction == 6) {\n nextLocation = new Point(this.getCenterX(),\n this.getCenterY() + speed);\n\n }\n //move left\n if (direction == 9) {\n nextLocation = new Point(this.getCenterX() - speed,\n this.getCenterY());\n }\n\n // get all objects in a circle of radius tileSize * 2 around the players\n //these objects are those which can possibly colide with the players\n int checkRadius = GameUtility.GameUtility.TILE_SIZE * 2;\n for (GameObject gameObject : GameManager.getGameObjectList()) {\n if (GameUtility.GameUtility.distance(gameObject.getCenterLocation(),\n this.getCenterLocation()) < checkRadius) {\n if ((GameUtility.GameUtility.dectectCollision(\n gameObject.getCenterLocation(),\n nextLocation)) && !(GameUtility.GameUtility.dectectCollision(\n gameObject.getCenterLocation(),\n this.getCenterLocation())) && gameObject.getType() != GameObjectType.POWER_UP && gameObject.getType() != GameObjectType.MONSTER && gameObject.getType() != GameObjectType.PLAYER) {\n return false;\n }\n }\n }\n return true;\n\n }", "public void driveTrainLoop() {\n if (Config.getInstance().getBoolean(Key.ROBOT__HAS_DRIVETRAIN)) {\n // Check User Inputs\n double driveThrottle = mOperatorInterface.getDriveThrottle();\n double driveTurn = mOperatorInterface.getDriveTurn();\n\n boolean WantsAutoAim = mOperatorInterface.getFeederSteer();\n\n // Continue Driving\n if (WantsAutoAim == true) {\n // Harvest Mode - AutoSteer Functionality\n // Used for tracking a ball\n // we may want to limit the speed?\n // RobotTracker.RobotTrackerResult DriveResult =\n // mRobotTracker.GetFeederStationError(Timer.getFPGATimestamp());\n mDriveState = DriveState.AUTO_DRIVE;\n\n VisionPacket vp = mRobotTracker.GetTurretVisionPacket(Timer.getFPGATimestamp());\n // mDrive.autoSteerFeederStation(driveThrottle, vp.Error_Angle);\n } else {\n // Standard Manual Drive\n mDrive.setDrive(driveThrottle, driveTurn, false);\n\n // if we were previously in auto drive.. turn it off\n if (mDriveState == DriveState.AUTO_DRIVE) {\n mDriveState = DriveState.MANUAL;\n }\n }\n }\n }", "public int drive(int speedL, int speedR, int distanceL, int distanceR);", "boolean isPlayableInGame();", "void drive() {\n \t\tSystem.out.println(\"Car can drive\");\n \t}", "private boolean try2GetGreenPlayerFromHome(Player player)\n {\n try\n {\n GreenPlayer greenPlayer = (GreenPlayer) player;\n if (GreenPlayer.getNumber_of_buttons_allowed() > 0)\n {\n ludo.getPlayerFromHome(player);\n //GreenPlayer.setNumber_of_buttons_allowed(GreenPlayer.decrementNumberOfAllowedPlayers());\n return true;\n }\n return false;\n }\n catch (Exception e)\n {\n return false;\n }\n }", "public static int[] isMonsterInSight(Player curr) {\n int[] ans = {-1, -1};\n ArrayList<Integer> dirs = new ArrayList();\n int bodyDir = curr.getBodyDirection();\n String name = curr.getName();\n if (bodyDir == UP) {\n dirs.add(UP);\n if (!name.endsWith(\"fighter\")) //figher planes can only see what is in front of them\n {\n if (!name.equals(\"AIR bomber\"))//bombers only see what is in front and behind them for their bombing run\n {\n dirs.add(RIGHT);\n dirs.add(LEFT);\n }\n if (name.startsWith(\"TANK\") || name.endsWith(\"jeep\") || name.endsWith(\"destroyer\") || name.endsWith(\"coastguard\") || name.equals(\"AIR bomber\"))\n dirs.add(DOWN);\n }\n } else if (bodyDir == RIGHT) {\n dirs.add(RIGHT);\n if (!name.endsWith(\"fighter\")) //figher planes can only see what is in front of them\n {\n if (!name.equals(\"AIR bomber\"))//bombers only see what is in front and behind them for their bombing run\n {\n dirs.add(UP);\n dirs.add(DOWN);\n }\n if (name.startsWith(\"TANK\") || name.endsWith(\"jeep\") || name.endsWith(\"destroyer\") || name.endsWith(\"coastguard\") || name.equals(\"AIR bomber\"))\n dirs.add(LEFT);\n }\n } else if (bodyDir == DOWN) {\n dirs.add(DOWN);\n if (!name.endsWith(\"fighter\")) //figher planes can only see what is in front of them\n {\n if (!name.equals(\"AIR bomber\"))//bombers only see what is in front and behind them for their bombing run\n {\n dirs.add(RIGHT);\n dirs.add(LEFT);\n }\n if (name.startsWith(\"TANK\") || name.endsWith(\"jeep\") || name.endsWith(\"destroyer\") || name.endsWith(\"coastguard\") || name.equals(\"AIR bomber\"))\n dirs.add(UP);\n }\n } else //if(curr.getBodyDirection()==LEFT)\n {\n dirs.add(LEFT);\n if (!name.endsWith(\"fighter\")) //figher planes can only see what is in front of them\n {\n if (!name.equals(\"AIR bomber\"))//bombers only see what is in front and behind them for their bombing run\n {\n dirs.add(UP);\n dirs.add(DOWN);\n }\n if (name.startsWith(\"TANK\") || name.endsWith(\"jeep\") || name.endsWith(\"destroyer\") || name.endsWith(\"coastguard\") || name.equals(\"AIR bomber\"))\n dirs.add(RIGHT);\n }\n }\n\n if (dirs == null || dirs.size() == 0)\n return ans; //{-1,-1}\n for (int m = 0; m < players.length; m++) { //skip player if Vehicle is not mind controlled and the player is not a monster\n //skip player if Vehicle is mind controlled and the player is a monster\n if (players[m] == null || players[m].getName().equals(\"NONE\") || curr == players[m] ||\n ((curr instanceof Vehicle && !((Vehicle) (curr)).isMindControlled()) && !(players[m] instanceof Monster)) ||\n ((curr instanceof Vehicle && ((Vehicle) (curr)).isMindControlled()) && (players[m] instanceof Monster)))\n continue;\n int mR = players[m].getRow();\n int mC = players[m].getCol();\n\n for (int i = 0; i < dirs.size(); i++) {\n int dir = dirs.get(i);\n boolean skip = false;\n if (dir == UP) {\n for (int r = curr.getRow(); r >= 0; r--) { //coastguard, destroyer, fighter planes and artillery have the monsters position known - the monster is not hidden by structures\n if (!MapBuilder.noStructure(r, curr.getCol(), panel) && !name.endsWith(\"coastguard\") && !name.endsWith(\"destroyer\") && !name.endsWith(\"fighter\") && !name.endsWith(\"artillery\") && !name.endsWith(\"missile\") && !name.equals(\"AIR bomber\") && !players[m].isFlying()) {\n skip = true;\n break;\n }\n if (r == mR && curr.getCol() == mC) {\n ans[0] = dir;\n ans[1] = m;\n return ans;\n }\n }\n } else if (dir == DOWN) {\n for (int r = curr.getRow(); r < board.length - 1; r++) {\n if (!MapBuilder.noStructure(r, curr.getCol(), panel) && !name.endsWith(\"coastguard\") && !name.endsWith(\"destroyer\") && !name.endsWith(\"fighter\") && !name.endsWith(\"artillery\") && !name.endsWith(\"missile\") && !name.equals(\"AIR bomber\") && !players[m].isFlying()) {\n skip = true;\n break;\n }\n if (r == mR && curr.getCol() == mC) {\n ans[0] = dir;\n ans[1] = m;\n return ans;\n }\n\n }\n } else if (dir == RIGHT) {\n for (int c = curr.getCol(); c < board[0].length; c++) {\n if (!MapBuilder.noStructure(curr.getRow(), c, panel) && !name.endsWith(\"coastguard\") && !name.endsWith(\"destroyer\") && !name.endsWith(\"fighter\") && !name.endsWith(\"artillery\") && !name.endsWith(\"missile\") && !name.equals(\"AIR bomber\") && !players[m].isFlying()) {\n skip = true;\n break;\n }\n if (curr.getRow() == mR && c == mC) {\n ans[0] = dir;\n ans[1] = m;\n return ans;\n }\n }\n } else if (dir == LEFT) {\n for (int c = curr.getCol(); c >= 0; c--) {\n if (!MapBuilder.noStructure(curr.getRow(), c, panel) && !name.endsWith(\"coastguard\") && !name.endsWith(\"destroyer\") && !name.endsWith(\"fighter\") && !name.endsWith(\"artillery\") && !name.endsWith(\"missile\") && !name.equals(\"AIR bomber\") && !players[m].isFlying()) {\n skip = true;\n break;\n }\n if (curr.getRow() == mR && c == mC) {\n ans[0] = dir;\n ans[1] = m;\n return ans;\n }\n }\n }\n if (skip)\n continue;\n }\n }\n return ans;\n }", "@Override\n\tpublic void onStopWalkLeft(PlatformPlayer player) {\n\t\t\n\t}", "public abstract boolean isPossible(Player p);", "public boolean needPlayer() {\n\t\treturn false;\n\t}", "public void omniDrive() {\r\n \r\n }", "public void timeToCheckWorker() {\n notifyCanMove(this.getCurrentTurn().getCurrentPlayer());\n }", "boolean findRobot();", "@Override\n protected boolean canMove(int playerIdx) {\n if(pgs.getTurnID() == playerIdx){\n return true;\n }\n return false;\n }", "@Override\n \tpublic boolean canSummonMounts()\n \t{\n \t\treturn true;\n \t}", "public String playerNear(){\r\n\t\tif(AdventureManager.toon.x + 25 > x-200 && AdventureManager.toon.x +25 < x) return \"left\";\r\n\t\telse if(AdventureManager.toon.x +25 < x+250 && AdventureManager.toon.x +25 > x) return \"right\";\r\n\t\telse return \"n\";\r\n\t}", "private void checkForPlayerChance()\n\t\t\t{\n\t\t\t\tf = false;\n\t\t\t\tfor (j = 0; j < 8; ++j)\n\t\t\t\t\t{\n\t\t\t\t\t\tif (win[j] == 2 && lose[j] == 0)\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tf = true;\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t}\n\t\t\t\tif (f == false)\n\t\t\t\t\tj = 10;\n\n\t\t\t}", "public boolean isNear(Player player) {\n if(this.worldObject.getLocation().distance(player.getLocation()) <= this.harvestableObject.distanceToInteract()) {\n return true;\n }\n return false;\n }", "boolean canMove();", "public boolean isWin_CommanderVimes(){\r\n // player got LordSelachii card\r\n Player playerHoldCard = null;\r\n for (Player player : discWorld.getPlayer_HASH().values()) {\r\n if (player.getPersonalityCardID() == 7) {\r\n playerHoldCard = player;\r\n break;\r\n }\r\n }\r\n \r\n if(playerHoldCard != null){\r\n if(discWorld.getShuffled_PlayerCard().size() == 0){\r\n return true;\r\n }\r\n } \r\n \r\n return false;\r\n }", "public boolean canMove() {\n\t\tArrayList<Location> loc = getValid(getLocation());\n\t\tif (loc.isEmpty()) {\n\t\t\treturn false;\n\t\t} else {\n\t\t\tpath.add(getLocation());\n\t\t\tif (loc.size() >= 2) {\n\t\t\t\tcrossLocation.push(path);\n\t\t\t\tpath = new ArrayList<Location>();\n\t\t\t\tnext = betterDir(loc);\n\t\t\t}\n\t\t\tnext = loc.get(0);\n\t\t}\n\t\treturn true;\n\t}", "public boolean canTravelFromWorld(Player p, MultiverseWorld w) {\n List<String> blackList = w.getWorldBlacklist();\n \n boolean returnValue = true;\n \n for (String s : blackList) {\n if (s.equalsIgnoreCase(p.getWorld().getName())) {\n returnValue = false;\n break;\n }\n }\n \n return returnValue;\n }", "static void pickup(Player player, String what) {\n if (player.getLocation().contains(what)) {\n Thing thing = player.pickup(what);\n if (thing != null) {\n System.out.println(\"You now have \" + thing);\n }\n else {\n System.out.println(\"You can't carry that. You may need to drop something first.\");\n }\n }\n else {\n System.out.println(\"I don't see a \" + what);\n }\n }", "private byte drive(Vehicle v){\n\n return v.drive();\n }", "boolean isPlayable();", "private void look() {\n try {\n Location playerPosition = FireSwamp.getPlayer().getPlayerPosition();\n Map gameMap = FireSwamp.getCurrentGame().getGameMap();\n this.console.println(MapControl.checkLook(playerPosition, gameMap));\n } catch (MapControlException ex) {\n Logger.getLogger(GameMenuView.class.getName()).log(Level.SEVERE, null, ex);\n }\n }", "public boolean driveTruck(){\n\t\treturn driveTruck;\n\t}", "public abstract int drive(int journeyDistance);", "@Override\n public void landedOn(Player player) {}", "public boolean canMove ()\n {\n return ((ActiveAdvancer)_advancer).canMove();\n }", "boolean isPlayerTurn();", "private void driveForwardEnc()\r\n\t{\r\n\t\t//drive.setPos(0, 0, Config.Auto.encDriveForwardDistance, Config.Auto.encDriveForwardDistance);\r\n\t}", "private void checkMovement()\n {\n if (frames % 600 == 0)\n {\n \n ifAllowedToMove = true;\n \n \n }\n \n }", "@Override\n\tpublic boolean drive2Exit() throws Exception {\n\t\tint[][] timesVisited = new int[width][height];\n\t\tfor (int i = 0; i < timesVisited.length; i++) {\n\t\t\tfor (int j = 0; j < timesVisited[0].length; j++) {\n\t\t\t\ttimesVisited[i][j] = 0;\n\t\t\t}\n\t\t}\n\t\t\n\t\twhile (robot.isAtExit() == false) {\n\t\t\t/* start a list of potential positions to move to. */\n\t\t\tLinkedList<CardinalDirectionNumVisitsPair> possibleDirections = new LinkedList<CardinalDirectionNumVisitsPair>();\n\t\t\t\n\t\t\t/* get the directions and number of visits to all accessible adjacent spaces. */\n\t\t\tint robotX = robot.getCurrentPosition()[0];\n\t\t\tint robotY = robot.getCurrentPosition()[1];\n\t\t\taddCardinalDirectionNumVisitsPairIfValid(robotX + 1, robotY, CardinalDirection.East, possibleDirections, timesVisited);\n\t\t\taddCardinalDirectionNumVisitsPairIfValid(robotX - 1, robotY, CardinalDirection.West, possibleDirections, timesVisited);\n\t\t\taddCardinalDirectionNumVisitsPairIfValid(robotX, robotY + 1, CardinalDirection.North, possibleDirections, timesVisited);\n\t\t\taddCardinalDirectionNumVisitsPairIfValid(robotX, robotY - 1, CardinalDirection.South, possibleDirections, timesVisited);\n\t\t\t\n\t\t\t/* find the minimum number of visits. */\n\t\t\tint minVisits = Integer.MAX_VALUE;\n\t\t\tfor (CardinalDirectionNumVisitsPair pair : possibleDirections) {\n\t\t\t\tif (pair.numVisits < minVisits) {\n\t\t\t\t\tminVisits = pair.numVisits;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\t/* remove all pairs that do NOT have minVisits visits from the list. */\n\t\t\tfor (Iterator<CardinalDirectionNumVisitsPair> iterator = possibleDirections.listIterator(); iterator.hasNext(); ) {\n\t\t\t CardinalDirectionNumVisitsPair pair = iterator.next();\n\t\t\t if (pair.numVisits != minVisits) {\n\t\t\t iterator.remove();\n\t\t\t }\n\t\t\t}\n\t\t\t\n\t\t\t/* the list now contains only spaces that have the minimum number of visits. */\n\t\t\t/* pick randomly from the list. */\n\t\t\tint randomIndex = (int) Math.floor(Math.random() * possibleDirections.size());\n\t\t\tCardinalDirectionNumVisitsPair randomPair = possibleDirections.get(randomIndex);\n\t\t\t\n\t\t\t/* turn to face that direction. */\n\t\t\trobot.turnToDirection(randomPair.cardinalDirection);\n\t\t\t\n\t\t\t/* move. */\n\t\t\trobot.move(1, false);\n\t\t\t\n\t\t\t/* update the numVisits array. */\n\t\t\ttimesVisited[robot.getCurrentPosition()[0]][robot.getCurrentPosition()[1]]++;\n\t\t}\n\t\t\n\t\treturn robot.stepOutOfExit();\n\t}", "public boolean isWin() {\n if (chosen_door.getContains() == Contains.CAR) {\n return true;\n }\n return false;\n }", "@Override\n\tpublic void onWalkLeft(PlatformPlayer player) {\n\t\t\n\t}", "public boolean canSee ( Player player ) {\n\t\treturn extract ( handle -> handle.canSee ( player ) );\n\t}", "public abstract void drive();", "private void blockedPathNoBeepers() {\n\t\twhile (frontIsBlocked() && noBeepersPresent()) {\n\t\t\tturnLeft();\n\t\t\tturnLeft();\n\t\t} \n\t\tmove();\n\t\tturnRight();\n\t}", "public boolean whoIsHere(){\r\n\t\treturn otherPlayer;\r\n\t}", "void driveTracker()\r\n\t{\r\n\t\ttry\r\n\t\t{\r\n\t\t\tlong time = System.currentTimeMillis();\r\n\t\t\tint last_direction = 0;\r\n\t\t\twhile(System.currentTimeMillis()-time < 20000 && status.equals(\"wait\"))\r\n\t\t\t{\r\n\t\t\t\tint direction = -1;\r\n\t\t\t\tint flow_min = Main.MAX_INT;\r\n\t\t\t\tif((loc.i-1)>=0 && BFS.adj_const[(loc.i-1)*80+loc.j][loc.i*80+loc.j]==1 && Flow.flows[loc.i-1][loc.j][1] < flow_min)\r\n\t\t\t\t{\r\n\t\t\t\t\tdirection = 0;//up\r\n\t\t\t\t\tflow_min = Flow.flows[loc.i-1][loc.j][1];\r\n\t\t\t\t}\r\n\t\t\t\tif((loc.i+1)<80 && BFS.adj_const[(loc.i+1)*80+loc.j][loc.i*80+loc.j]==1 && Flow.flows[loc.i][loc.j][1] < flow_min)\r\n\t\t\t\t{\t\r\n\t\t\t\t\tdirection = 1;//down\r\n\t\t\t\t\tflow_min = Flow.flows[loc.i][loc.j][1];\r\n\t\t\t\t}\r\n\t\t\t\tif((loc.j-1)>=0 && BFS.adj_const[loc.i*80+loc.j][loc.i*80+loc.j-1]==1 && Flow.flows[loc.i][loc.j-1][0] < flow_min)\r\n\t\t\t\t{\t\r\n\t\t\t\t\tdirection = 2;//left\r\n\t\t\t\t\tflow_min = Flow.flows[loc.i][loc.j-1][0];\r\n\t\t\t\t}\r\n\t\t\t\tif((loc.j+1)<80 && BFS.adj_const[loc.i*80+loc.j][loc.i*80+loc.j+1]==1 && Flow.flows[loc.i][loc.j][0] < flow_min)\r\n\t\t\t\t{\r\n\t\t\t\t\tdirection = 3;//right\r\n\t\t\t\t\tflow_min = Flow.flows[loc.i][loc.j][0];\r\n\t\t\t\t}\r\n\t\t\t\tLight light = Traffic.findLight(loc.i,loc.j);\r\n\t\t\t\tif(light!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\twhile(!leaveLight(light,last_direction,direction))\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tmeet_light = true;\r\n\t\t\t\t\t\tThread.sleep(100);\r\n\t\t\t\t\t}\r\n\t\t\t\t\tmeet_light = false;\r\n\t\t\t\t}\r\n\t\t\t\tswitch(direction)\r\n\t\t\t\t{\r\n\t\t\t\tcase 0 ://up\r\n\t\t\t\t\tif(BFS.adj_matrix[(loc.i-1)*80+loc.j][loc.i*80+loc.j] == 1)//open_road\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tFlow.flows[loc.i-1][loc.j][1]++;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tloc.i -= 1;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 1 ://down\r\n\t\t\t\t\tif(BFS.adj_matrix[(loc.i+1)*80+loc.j][loc.i*80+loc.j] == 1)//open_road\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tFlow.flows[loc.i][loc.j][1]++;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tloc.i += 1;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 2 ://left\r\n\t\t\t\t\tif(BFS.adj_matrix[loc.i*80+loc.j][loc.i*80+loc.j-1] == 1)//open_road\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tFlow.flows[loc.i][loc.j-1][0]++;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tloc.j -= 1;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 3 ://right\r\n\t\t\t\t\tif(BFS.adj_matrix[loc.i*80+loc.j][loc.i*80+loc.j+1] == 1)//open_road\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tFlow.flows[loc.i][loc.j][0]++;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tloc.j += 1;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t\tThread.sleep(100);\r\n\t\t\t\tlast_direction = direction;\r\n\t\t\t}\r\n\t\t\tif(status.equals(\"wait\"))\r\n\t\t\t{\r\n\t\t\t\tstatus = \"stop\";\r\n\t\t\t\tThread.sleep(1000);//stop\r\n\t\t\t\tstatus = \"wait\";\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\ttransStatus();\r\n\t\t\t}\r\n\t\t}\r\n\t\tcatch(Exception e)\r\n\t\t{\r\n\t\t\tSystem.out.println(\"Sorry to catch Exception!\");\r\n\t\t}\r\n\t}", "public abstract boolean isPlayer();", "protected void execute() {\n \tRobot.driveTrain.driveByArcade(_speed, 0);\n }", "public void strafeLeftEnc()\r\n\t{\r\n//\t\tdrive.setPos(0, 0, -Config.Auto.encStrafeDistance, -Config.Auto.encStrafeDistance);\r\n//\t\tif(Math.abs(drive.getFrontEncDist() - Config.Auto.encStrafeDistance) < Config.Auto.encTolerance && Math.abs(drive.getBackEncDist() - Config.Auto.encStrafeDistance) < Config.Auto.encTolerance)\r\n//\t\t{\r\n//\t\t\tdrive.setPos(-Config.Auto.encDistanceBetweenTotes, -Config.Auto.encDistanceBetweenTotes, -Config.Auto.encStrafeDistance, -Config.Auto.encStrafeDistance);\r\n//\t\t\t\r\n//\t\t\tif(Math.abs(drive.getLeftEncDist() - Config.Auto.encDistanceBetweenTotes) < Config.Auto.encTolerance && Math.abs(drive.getRightEncDist() - Config.Auto.encDistanceBetweenTotes) < Config.Auto.encTolerance)\r\n//\t\t\t{\r\n//\t\t\t\tdrive.setPos(-Config.Auto.encDistanceBetweenTotes, -Config.Auto.encDistanceBetweenTotes, 0, 0);\r\n//\t\t\t\t\r\n//\t\t\t\tif((Math.abs(drive.getFrontEncDist()) < Config.Auto.encTolerance && Math.abs(drive.getBackEncDist()) < Config.Auto.encTolerance))\r\n//\t\t\t\t\tendRoutine();\t\t\t\t\r\n//\t\t\t}\r\n//\t\t}\r\n\t}", "public boolean isLegalJump(MoveDirection dir){\r\n GamePosition curPos = currentGame.getCurrentPosition();\n\t\t\tPlayer white = currentGame.getWhitePlayer();\n\t\t\tint whiteCol = curPos.getWhitePosition().getTile().getColumn();\n\t\t\tint whiteRow = curPos.getWhitePosition().getTile().getRow();\n\t\t\tint blackCol = curPos.getBlackPosition().getTile().getColumn();\n\t\t\tint blackRow = curPos.getBlackPosition().getTile().getRow();\n\t\t\t\n\t\t\tint rChange = 0, cChange = 0;\n\t\t\tif(dir == MoveDirection.North) rChange = -2;\n\t\t\telse if(dir == MoveDirection.South) rChange = 2;\n\t\t\telse if(dir == MoveDirection.East) cChange = 2;\n\t\t\telse if(dir == MoveDirection.West) cChange = -2;\n\t\t\telse return false;\n\t\t\t\n\t\t\tif(curPos.getPlayerToMove().equals(white)) {\n\t\t\t\t\n\t\t\t\t//Moving left or right wall check\n\t\t\t\tif(cChange != 0) {\n\t\t\t\t\tif(blackRow != whiteRow || blackCol != (whiteCol + (cChange / 2) ) ) return false;\n\t\t\t\t\twhiteCol += cChange;\n\t\t\t\t\tif(whiteCol < 1 || whiteCol > 9) return false;\n\t\t\t\t\tfor(WallMove w : QuoridorController.getWalls()) {\n\t\t\t\t\t\tif(w.getWallDirection() == Direction.Vertical) {\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t//If left- check col -1, -2. If right- check col +0, +1\n\t\t\t\t\t\t\tint tmp;\n\t\t\t\t\t\t\tif(cChange < 0) tmp = -2;\n\t\t\t\t\t\t\telse tmp = 0;\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tint checkCol = (whiteCol -cChange) + tmp;\n\t\t\t\t\t\t\tif((w.getTargetTile().getColumn() == checkCol ||w.getTargetTile().getColumn() == checkCol + 1) && \n\t\t\t\t\t\t\t (w.getTargetTile().getRow() == whiteRow || w.getTargetTile().getRow() == whiteRow - 1)) {\n\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\t//Horizontal Wall can't block right/left path\n\t\t\t\t\t}\t\n\t\t\t\t}\n\t\t\t\t//Moving up or down wall check\n\t\t\t\telse if(rChange != 0) {\n\t\t\t\t\tif(blackCol != whiteCol || blackRow != (whiteRow + (rChange / 2) ) ) return false;\n\t\t\t\t\twhiteRow += rChange;\n\t\t\t\t\tif(whiteRow < 1 || whiteRow > 9) return false;\n\t\t\t\t\tfor(WallMove w : QuoridorController.getWalls()) {\n\t\t\t\t\t\t\n\t\t\t\t\t\tif(w.getWallDirection() == Direction.Horizontal) {\n\t\t\t\t\t\t\t//If up- check row -1, -2. If down- check row +0, +1\n\t\t\t\t\t\t\tint tmp;\n\t\t\t\t\t\t\tif(rChange < 0) tmp = -2;\n\t\t\t\t\t\t\telse tmp = 0;\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tint checkRow = (whiteRow -rChange) + tmp;\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tif((w.getTargetTile().getRow() == checkRow || w.getTargetTile().getRow() == checkRow + 1)\n\t\t\t\t\t\t\t\t&& (w.getTargetTile().getColumn() == whiteCol || w.getTargetTile().getColumn() == whiteCol - 1)) {\n\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\t//Vertical Wall can't block up/down path\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif((blackRow == whiteRow) && (blackCol == whiteCol)) return false;\n\t\t\t} else {\n\n\t\t\t\t//Moving left or right wall check\n\t\t\t\tif(cChange != 0) {\n\t\t\t\t\tif(blackRow != whiteRow || whiteCol != (blackCol + (cChange / 2) ) ) return false;\n\t\t\t\t\tblackCol += cChange;\n\t\t\t\t\tif(blackCol < 1 || blackCol > 9) return false;\n\t\t\t\t\tfor(WallMove w : QuoridorController.getWalls()) {\n\t\t\t\t\t\tif(w.getWallDirection() == Direction.Vertical) {\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t//If left- check col -1, -2. If right- check col +0, +1\n\t\t\t\t\t\t\tint tmp;\n\t\t\t\t\t\t\tif(cChange < 0) tmp = -2;\n\t\t\t\t\t\t\telse tmp = 0;\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tint checkCol = (blackCol -cChange) + tmp;\n\n\t\t\t\t\t\t\tif((w.getTargetTile().getColumn() == checkCol ||w.getTargetTile().getColumn() == checkCol + 1) && \n\t\t\t\t\t\t\t (w.getTargetTile().getRow() == blackRow || w.getTargetTile().getRow() == blackRow - 1)) {\n\t\t\t\t\t\t\t\treturn false;\n\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//Horizontal Wall can't block right/left path\n\t\t\t\t\t}\t\n\t\t\t\t}\n\t\t\t\t//Moving up or down wall check\n\t\t\t\telse if(rChange != 0) {\n\t\t\t\t\tif(blackCol != whiteCol || whiteRow != (blackRow + (rChange / 2) ) ) return false;\n\t\t\t\t\tblackRow += rChange;\n\t\t\t\t\tif(blackRow < 1 || blackRow > 9) return false;\n\t\t\t\t\tfor(WallMove w : QuoridorController.getWalls()) {\n\t\t\t\t\t\tif(w.getWallDirection() == Direction.Horizontal) {\n\t\t\t\t\t\t\t//If up- check row -1, -2. If down- check row +0, +1\n\t\t\t\t\t\t\tint tmp;\n\t\t\t\t\t\t\tif(rChange < 0) tmp = -2;\n\t\t\t\t\t\t\telse tmp = 0;\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tint checkRow = (blackRow -rChange) + tmp;\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tif((w.getTargetTile().getRow() == checkRow || w.getTargetTile().getRow() == checkRow + 1)\n\t\t\t\t\t\t\t\t&& (w.getTargetTile().getColumn() == blackCol || w.getTargetTile().getColumn() == blackCol - 1)) {\n\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t}\n\t\t\t\t\t\t//Vertical Wall can't block up/down path\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif((blackRow == whiteRow) && (blackCol == whiteCol)) return false;\n\t\t\t}\n\t\t\treturn true;\r\n }", "private boolean checkNearbyVillagers() {\n\t\tIterator<Integer> it = sprites.keySet().iterator();\n\t\twhile (it.hasNext()) {\n\t\t\tSprite as = sprites.get(it.next());\n\t\t\tif (as instanceof Villager) {\n\t\t\t\tVillager v = (Villager) as;\n\t\t\t\tif (v.checkTalkable(player.pos, player.direction)) {\n\t\t\t\t\treturn executeTalkableVillager(v);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "private boolean canMove() {\n\t\tif (System.currentTimeMillis() - lastTrunTime < 300) {// move time is\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// 300ms before\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// last move\n\t\t\treturn false;\n\t\t}\n\t\tboolean status = false;\n\t\tif(stage == 1){\n\t\t\tmap = GameView.map;\n\t\t}else if(stage == 2){\n\t\t\tmap = GameViewStage2.map;\n\t\t}else {\n\t\t\tmap = GameViewStage3.map;\n\t\t}\n\t\tif (direction == UP) {// when tank moves up\n\t\t\tif (centerPoint.getY() - speed >= 0) {\n\t\t\t\tif (map[(centerPoint.getY() - speed) / UNIT][centerPoint\n\t\t\t\t\t\t.getX() / UNIT] == 0\n\t\t\t\t\t\t&& map[(centerPoint.getY() - speed) / UNIT][(centerPoint\n\t\t\t\t\t\t\t\t.getX() + UNIT) / UNIT] == 0\n\t\t\t\t\t\t&& map[(centerPoint.getY() - speed) / UNIT][(centerPoint\n\t\t\t\t\t\t\t\t.getX() + 2 * UNIT) / UNIT] == 0) {\n\t\t\t\t\tstatus = true;\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (direction == DOWN) {\n\t\t\tif (centerPoint.getY() + tankBmp.getHeight() + speed < screenHeight) {\n\t\t\t\tif (map[(centerPoint.getY() + 2 * UNIT + speed) / UNIT][centerPoint\n\t\t\t\t\t\t.getX() / UNIT] == 0\n\t\t\t\t\t\t&& map[(centerPoint.getY() + 2 * UNIT + speed)\n\t\t\t\t\t\t\t\t/ UNIT][(centerPoint.getX() + UNIT) / UNIT] == 0\n\t\t\t\t\t\t&& map[(centerPoint.getY() + 2 * UNIT + speed)\n\t\t\t\t\t\t\t\t/ UNIT][(centerPoint.getX() + 2 * UNIT) / UNIT] == 0) {\n\t\t\t\tstatus = true;\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (direction == LEFT) {\n\n\t\t\tif (centerPoint.getX() - speed >= 0) {\n\t\t\t\tif (map[centerPoint.getY() / UNIT][(centerPoint.getX() - speed)\n\t\t\t\t\t\t/ UNIT] == 0\n\t\t\t\t\t\t&& map[(centerPoint.getY() + UNIT) / UNIT][(centerPoint\n\t\t\t\t\t\t\t\t.getX() - speed) / UNIT] == 0\n\t\t\t\t\t\t&& map[(centerPoint.getY() + 2 * UNIT) / UNIT][(centerPoint\n\t\t\t\t\t\t\t\t.getX() - speed) / UNIT] == 0) {\n\t\t\t\t\tstatus = true;\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (direction == RIGHT) {\n\t\t\tif (centerPoint.getX() + tankBmp.getWidth() + speed < screenWidth) {\n\t\t\t\tif (map[centerPoint.getY() / UNIT][(centerPoint.getX()\n\t\t\t\t\t\t+ 2 * UNIT + speed)\n\t\t\t\t\t\t/ UNIT] == 0\n\t\t\t\t\t\t&& map[(centerPoint.getY() + UNIT) / UNIT][(centerPoint\n\t\t\t\t\t\t\t\t.getX() + 2 * UNIT + speed)\n\t\t\t\t\t\t\t\t/ UNIT] == 0\n\t\t\t\t\t\t&& map[(centerPoint.getY() + 2 * UNIT) / UNIT][(centerPoint\n\t\t\t\t\t\t\t\t.getX() + 2 * UNIT + speed)\n\t\t\t\t\t\t\t\t/ UNIT] == 0) {\n\t\t\t\t\tstatus = true;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (status)\n\t\t\tlastTrunTime = System.currentTimeMillis();\n\t\treturn status;\n\t}", "public abstract boolean canMoveTo(Case Location);", "public static void checkWinCondition() {\n\t\twin = false;\n\t\tif (curPlayer == 1 && arrContains(2, 4))\n\t\t\twin = true;\n\t\telse if (curPlayer == 2 && arrContains(1, 3))\n\t\t\twin = true;\n\t\tif (curPlayer == 2 && !gameLogic.Logic.arrContains(2, 4))\n\t\t\tP2P.gameLost = true;\n\t\telse if (gameLogic.Logic.curPlayer == 1 && !gameLogic.Logic.arrContains(1, 3))\n\t\t\tP2P.gameLost = true;\n\t\tif (P2P.gameLost == true) {\n\t\t\tif (gameLogic.Logic.curPlayer == 1)\n\t\t\t\tEndScreen.infoWindow.setText(\"<html><center><b><font size=25 color=black> Black player won! </font></b></center></html>\");\n\t\t\telse\n\t\t\t\tEndScreen.infoWindow.setText(\"<html><center><b><font size=25 color=black> Red player won! </font></b></center></html>\");\n\t\t}\n\t\telse\n\t\t\twin = false;\n\t}", "public boolean canMove() {\n\n\tArrayList<Location> moveLocs = getValid(getLocation());\n\n\tif (isEnd == true) {\n\t return false;\n\t} \n\tif (!moveLocs.isEmpty()) {\n\t \n\t randomSelect(moveLocs);\n\t // selectMoveLocation(moveLocs);\n\t return true;\n\n\t} else {\n\t return false;\n\t}\n }", "private boolean playerDetection() {\n\t\tAxisAlignedBB axisalignedbb = new AxisAlignedBB(posX, posY, posZ, posX + 1, posY + 1, posZ + 1).grow(DETECTION_RANGE);\n\t\tList<EntityPlayer> list = world.getEntitiesWithinAABB(EntityPlayer.class, axisalignedbb);\n\n\t\treturn !list.isEmpty();\n\t}", "public void checkBoundaries(Player pl) {\n\t\tPoint loc = gameMap.toGridLocation(pl.getLocation());\n\t\tint locationX = loc.x;\n\t\tint locationY = loc.y;\n\t\t\n\t\tif(gameMap.getType(loc.x, loc.y) == GameMap.WALL)\n\t\t{\n\t\t\tif(loc.x > 0)\n\t\t\t\tpl.getLocation().x -= 1f;\n\t\t\telse\n\t\t\t\tpl.getLocation().x += 1f;\n\t\t}\n\t\t\n\t\tPoint[] surrounding = gameMap.getSurrounding((int) locationX, (int) locationY);\n\t\t\n\t\tRectangle2D.Float player = pl.getLocationAsRect();\n\t\tfor(Point p : surrounding)\n\t\t{\n\t\t\tRectangle2D.Float rect = new Rectangle2D.Float(p.x * 16 + 112, p.y * 16 + 32, 16, 16);\n\t\t\tif(rect.intersects(player))\n\t\t\t{\n\t\t\t\tbyte type = gameMap.getType(p.x, p.y);\n\t\t\t\tif(isSpecial(pl, type))\n\t\t\t\t{\n\t\t\t\t\tspecialMovement(pl, type);\n//\t\t\t\t\tSystem.out.println(pl.getClass().getSimpleName() + \" hit a boundary\");\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif(type == GameMap.ORB)\n\t\t\t\t{\n\t\t\t\t\tgameMap.setType(p.x, p.y, GameMap.EATEN_ORB);\n\t\t\t\t\t\n\t\t\t\t\tonOrbCollect(pl);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "@Override\n public List<Set<String>> getPlayersVisibleTo(){\n Set<String> players = new HashSet<String>();\n players.add(destination.getOwner().getName());\n for(Region adj : destination.getAdjRegions()){\n players.add(adj.getOwner().getName());\n }\n //All adjacent can see cloaking happened\n return Arrays.asList(players);\n }", "boolean isLocalVideoAllowed(Call call);", "@Override\n\tpublic void onWalkRight(PlatformPlayer player) {\n\t\t\n\t}", "boolean moveCharacter(Player player, Location.Direction direction) {\n Location currentLocation = player.getLocation();\r\n //check to see if move is possible\r\n Location destination = currentLocation.compass(direction);\r\n if (destination != null)\r\n {\r\n currentLocation.exit(player);\r\n destination.enter(player);\r\n return true;\r\n }\r\n else{\r\n return false;\r\n } \r\n }", "@Test(suiteName = \"NowPlaying\", testName = \"DMCA Restricted\", description = \"Now Playing - Live - DMCA Restricted - Player controls\", enabled = true, groups = {\n\t\t\t\"MOBANDEVER-227:EVQAAND-307\" })\n\tpublic void dmcaRestrictedPlayerControl() {\n\t\tCommon common = new Common(driver);\n\t\tCommon.log(\"verifying DMCA Restricted - Player controls MOBANDEVER-227\");\n\t\ttry {\n\t\t\tgetPageFactory().getEvehome().clickonMusic();\n\t\t\tcommon.scrollUntilTextExists(\"Dance/Electronic\");\n\t\t\tgetPageFactory().getEvehome().clickMucisSubRock();\n\t\t\tgetPageFactory().getEvehome().popChannel1();\n\t\t\tgetPageFactory().getCategory().nplChnumber();\n\t\t\tgetPageFactory().getEvehome().clickminimize();\n\t\t} catch (AndriodException ex) {\n\t\t\tCommon.errorlog(\"Exception occured in : \" + this.getClass().getSimpleName() + \" : \" + ex.getMessage());\n\t\t\tAssert.fail(\"Exception occured in : \" + this.getClass().getSimpleName() + \" : \" + ex.getMessage());\n\t\t}\n\t}", "private void visionDrive(double throttle) {\n if(limelight.isValidTarget()) {\n// DriverStation.reportWarning(\"\"+SmartDashboard.getNumber(\"Vision P\", Constants.visionDriveP),false);\n// visionDrive.setP(SmartDashboard.getNumber(\"Vision P\", Constants.visionDriveP));\n// visionDrive.setI(SmartDashboard.getNumber(\"Vision I\", Constants.visionDriveI));\n// visionDrive.setD(SmartDashboard.getNumber(\"Vision D\", Constants.visionDriveD));\n// visionDrive.setMaxIOutput(.225);\n double error = limelight.getCenter().x;\n double output = Constants.outsideP * -error;\n if(Math.abs(error) < 4) {\n// SmartDashboard.putString(\"In PID?\", \"PID\");\n output = visionDrive.getOutput(error);\n left.set(ControlMode.PercentOutput, throttle - output);\n right.set(ControlMode.PercentOutput, throttle + output);\n// SmartDashboard.putNumber(\"PID Output\", output);\n }\n else if(Math.abs(error) < 7 && Math.abs(error) > 2){\n double val = .2;\n if (error < 0){\n// SmartDashboard.putString(\"In PID?\", \"1\");\n left.set(ControlMode.PercentOutput, -val);\n right.set(ControlMode.PercentOutput, val);\n }\n else if (error > 0){\n// SmartDashboard.putString(\"In PID?\", \"2\");\n left.set(ControlMode.PercentOutput, val);\n right.set(ControlMode.PercentOutput, -val);\n }\n }\n else if (error < 0){\n// SmartDashboard.putString(\"In PID?\", \"3\");\n left.set(ControlMode.PercentOutput, -.25);\n right.set(ControlMode.PercentOutput, .25);\n }\n else if (error > 0){\n// SmartDashboard.putString(\"In PID?\", \"4\");\n left.set(ControlMode.PercentOutput, .25);\n right.set(ControlMode.PercentOutput, -.25);\n }\n\n SmartDashboard.putNumber(\"Error\", error);\n } else {\n visionDrive.reset();\n setOutput(0, 0);\n }\n }", "public void checkWin(){\n boolean result = false;\n if(game.getTurn() > 3){\n Player currentPlayer = game.getPlayerTurn();\n int playernumber = currentPlayer.getPlayericon();\n result = game.winChecker(game.getBored(),playernumber);\n if(result == true) {\n setWinMsgBox(currentPlayer.getPlayerName() + \" Is victorious :)\",\"WIN\");\n }else if(game.getTurn() == 8 && result == false){\n setWinMsgBox(\"Too bad it is a draw, No one out smarted the other -_-\",\"DRAW\");\n }else{}\n }else{\n result = false;\n }\n }", "@Test\n\t\tpublic void canGiveTheseusLocation() {\n\t\t\tPoint whereTheseus = new Pointer(3,3);\n\t\t\tgameLoader.addTheseus(whereTheseus);\n\t\t\tPoint expected = whereTheseus;\n\t\t\tPoint actual = gameSaver.wheresTheseus();\n\t\t\t\n\t\t\tassertEquals(expected.across(), actual.across());\n\t\t\tassertEquals(expected.down(), actual.down());\n\t\t}", "private boolean canChooseWildDrawCardPenalty(Player nextPlayer) {\n boolean can = false;\n for (Card temp : nextPlayer.getCards()) {\n if (temp instanceof WildDrawCard) {\n can = true;\n break;\n }\n }\n if (!can) {\n System.out.println(\"The next player was fined.\");\n }\n return can;\n }", "void checkHandleContactWithPlayer() {\n Player curPlayer = this.mainSketch.getCurrentActivePlayer();\n\n if (this.doesAffectPlayer) {\n // boundary collision for player\n if (contactWithCharacter(curPlayer)) { // this has contact with non-player\n if (!this.charactersTouchingThis.contains(curPlayer)) { // new collision detected\n curPlayer.changeNumberOfVerticalBoundaryContacts(1);\n this.charactersTouchingThis.add(curPlayer);\n }\n curPlayer.handleContactWithVerticalBoundary(this.startPoint.x);\n\n } else { // this DOES NOT have contact with player\n if (this.charactersTouchingThis.contains(curPlayer)) {\n curPlayer.setAbleToMoveRight(true);\n curPlayer.setAbleToMoveLeft(true);\n curPlayer.changeNumberOfVerticalBoundaryContacts(-1);\n this.charactersTouchingThis.remove(curPlayer);\n }\n }\n }\n }", "public boolean canMine(EntityPlayer player, int X, int Y, int Z);", "private void checkPaths(){\r\n\t\tif(noBeepersPresent()){\r\n\t\t\tif(leftIsClear()){\r\n\t\t\t\tif(frontIsBlocked()&&rightIsBlocked()&&cornerColorIs(RED)){\r\n\t\t\t\t\tturnLeft(); \r\n\t\t\t\t\tmakeMove();\r\n\t\t\t\t\tpaintCorner(RED);\r\n\t\t\t\t}else{\r\n\t\t\t\t\tturnLeft(); \r\n\t\t\t\t\tcheckColors();\r\n\t\t\t\t}\r\n\t\t\t\tfollowPath();\r\n\t\t\t}\r\n\t\t\tif(frontIsClear()){\r\n\t\t\t\tcheckColors();\r\n\t\t\t\tfollowPath();\r\n\t\t\t}\r\n\t\t\tif(rightIsClear()){\r\n\t\t\t\tif(frontIsBlocked()&&leftIsBlocked()&&cornerColorIs(RED)){\r\n\t\t\t\t\tturnRight();\r\n\t\t\t\t\tmakeMove();\r\n\t\t\t\t\tpaintCorner(RED);\r\n\t\t\t\t}else{\r\n\t\t\t\t\tturnRight();\r\n\t\t\t\t\tcheckColors();\r\n\t\t\t\t}\r\n\t\t\t\tfollowPath();\r\n\t\t\t}\r\n\t\t}\r\n\t}", "public void updateMountedMovingPlayer(EntityPlayerMP player)\r\n {\r\n int var2 = (int)player.posX >> 4;\r\n int var3 = (int)player.posZ >> 4;\r\n double var4 = player.managedPosX - player.posX;\r\n double var6 = player.managedPosZ - player.posZ;\r\n double var8 = var4 * var4 + var6 * var6;\r\n\r\n if (var8 >= 64.0D)\r\n {\r\n int var10 = (int)player.managedPosX >> 4;\r\n int var11 = (int)player.managedPosZ >> 4;\r\n int var12 = this.playerViewRadius;\r\n int var13 = var2 - var10;\r\n int var14 = var3 - var11;\r\n\r\n if (var13 != 0 || var14 != 0)\r\n {\r\n for (int var15 = var2 - var12; var15 <= var2 + var12; ++var15)\r\n {\r\n for (int var16 = var3 - var12; var16 <= var3 + var12; ++var16)\r\n {\r\n if (!this.overlaps(var15, var16, var10, var11, var12))\r\n {\r\n this.getPlayerInstance(var15, var16, true).addPlayer(player);\r\n }\r\n\r\n if (!this.overlaps(var15 - var13, var16 - var14, var2, var3, var12))\r\n {\r\n PlayerManager.PlayerInstance var17 = this.getPlayerInstance(var15 - var13, var16 - var14, false);\r\n\r\n if (var17 != null)\r\n {\r\n var17.removePlayer(player);\r\n }\r\n }\r\n }\r\n }\r\n\r\n this.filterChunkLoadQueue(player);\r\n player.managedPosX = player.posX;\r\n player.managedPosZ = player.posZ;\r\n }\r\n }\r\n }", "private boolean playerWin(Board board)\n {\n return check(board, PLAYER);\n }", "public boolean canMove() {\n return (Math.abs(getDist())>=50);\n }", "public String playerRealNear(){\r\n\t\tif(AdventureManager.toon.x + 25 > x-50 && AdventureManager.toon.x +25 < x) return \"left\";\r\n\t\telse if(AdventureManager.toon.x +25 < x+100 && AdventureManager.toon.x +25 > x) return \"right\";\r\n\t\telse return \"n\";\r\n\t}", "public boolean isLegalStep(MoveDirection dir){\r\n GamePosition curPos = currentGame.getCurrentPosition();\n\t\tPlayer white = currentGame.getWhitePlayer();\n\t\tint[] toCheckPos = new int[2];\n\t\tint[] existingPos = new int[2];\n\t\tif(curPos.getPlayerToMove().equals(white)) {\n\t\t\ttoCheckPos[0] = curPos.getWhitePosition().getTile().getColumn();\n\t\t\ttoCheckPos[1] = curPos.getWhitePosition().getTile().getRow();\n\t\t\t\n\t\t\texistingPos[0] = curPos.getBlackPosition().getTile().getColumn();\n\t\t\texistingPos[1] = curPos.getBlackPosition().getTile().getRow();\n\t\t\t\n\t\t} else {\n\t\t\ttoCheckPos[0] = curPos.getBlackPosition().getTile().getColumn();\n\t\t\ttoCheckPos[1] = curPos.getBlackPosition().getTile().getRow();\n\t\t\t\n\t\t\texistingPos[0] = curPos.getWhitePosition().getTile().getColumn();\n\t\t\texistingPos[1] = curPos.getWhitePosition().getTile().getRow();\n\t\t}\n\t\t//0 = column, 1 = row\n\t\tif(dir == MoveDirection.North) {\n\t\t\tif(toCheckPos[1] == 1) return false;\n\t\t\tif(toCheckPos[1] - 1 == existingPos[1] && toCheckPos[0] == existingPos[0]) return false;\n\t\t\treturn QuoridorController.noWallBlock(curPos.getPlayerToMove(), -1, 0);\n\t\t} else if(dir == MoveDirection.South) {\n\t\t\tif(toCheckPos[1] == 9) return false;\n\t\t\tif(toCheckPos[1] + 1 == existingPos[1] && toCheckPos[0] == existingPos[0]) return false;\n\t\t\treturn QuoridorController.noWallBlock(curPos.getPlayerToMove(), 1, 0);\n\t\t} else if(dir == MoveDirection.East) {\n\t\t\tif(toCheckPos[0] == 9) return false;\n\t\t\tif(toCheckPos[0] + 1 == existingPos[0] && toCheckPos[1] == existingPos[1]) return false;\n\t\t\treturn QuoridorController.noWallBlock(curPos.getPlayerToMove(), 0, 1);\n\t\t} else if(dir == MoveDirection.West) {\n\t\t\tif(toCheckPos[0] == 1) return false;\n\t\t\tif(toCheckPos[0] - 1 == existingPos[0] && toCheckPos[1] == existingPos[1]) return false;\n\t\t\treturn QuoridorController.noWallBlock(curPos.getPlayerToMove(), 0, -1);\n\t\t}\n\t\t\n\t\treturn false;\r\n }", "public boolean canSurf()\n\t{\n\t\treturn getTrainingLevel() >= 25;\n\t}", "public void shareDrive() throws IOException {\n\t\tclientOutput.println(\">>> Unestite username korisnika koje zelite da date pristup svom drajvu: \");\n\t\tuserInput = clientInput.readLine();\n\t\tfor (User u : Server.dataBase) {\n\t\t\tif (userInput.equals(u.getUsername())) {\n\t\t\t\tu.dodajPristup(username);\n\t\t\t\tclientOutput.println(\">>> Uspesno ste podelili svoj drajv sa korisnikom \" + username);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\tclientOutput.println(\">>> Uneti korisnik ne postoji!\");\n\t}", "public void DriveForwardSimple() {\n \ttheRobot.drive(-0.5, 0.0);\n }", "boolean checkDir(Directions dir);" ]
[ "0.5885856", "0.5731682", "0.5701654", "0.56733084", "0.5657727", "0.5595156", "0.55838656", "0.5580602", "0.5567443", "0.55300564", "0.54954195", "0.5474165", "0.5467049", "0.5426589", "0.5421658", "0.5415475", "0.5391842", "0.53779435", "0.5365493", "0.5360934", "0.53431284", "0.5337567", "0.53336877", "0.53276235", "0.52976674", "0.52876884", "0.5282423", "0.52780074", "0.52745783", "0.5272514", "0.52577573", "0.5255299", "0.5249403", "0.52425814", "0.5233985", "0.52313983", "0.5214902", "0.52129", "0.5210256", "0.5206361", "0.52033573", "0.5200629", "0.5199497", "0.51898986", "0.5186157", "0.517678", "0.51665556", "0.51664954", "0.51638037", "0.5159254", "0.51558626", "0.51551473", "0.5152796", "0.5152185", "0.5150562", "0.51490057", "0.51472247", "0.51365197", "0.5134817", "0.5122433", "0.51150656", "0.510708", "0.5105708", "0.5099075", "0.50950027", "0.509255", "0.5092299", "0.50920516", "0.5090108", "0.50879604", "0.50813174", "0.50700915", "0.50648093", "0.5062648", "0.50539875", "0.5050813", "0.50248635", "0.50228965", "0.5019074", "0.5012355", "0.50081205", "0.5007034", "0.5003932", "0.49992853", "0.49972868", "0.49947637", "0.49944523", "0.4993209", "0.4992391", "0.49901178", "0.49878475", "0.49853823", "0.49829164", "0.4979253", "0.49784392", "0.49773288", "0.49758187", "0.49749845", "0.4972492", "0.49706715" ]
0.6453449
0
prints the names of the items in that location
void examineItems(){ if (!this.items.isEmpty()) for (int i = 0; i < this.items.size(); i++) System.out.print(this.items.get(i).itemName + ", "); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void printItems()\n {\n if (getItems().size()==0){\n System.out.println(\"There are no items in this room.\");\n }\n else{\n System.out.print(\"The item(s) in this room are: \");\n int i=0;\n while(i<getItems().size()){\n if(i<getItems().size()-1){\n System.out.print(getItems().get(i).getName()+\", \");\n }\n else{\n System.out.println(getItems().get(i).getName()+\".\");\n }\n i++;\n }\n }\n }", "public void list(){\n //loop through all inventory items\n for(int i=0; i<this.items.size(); i++){\n //print listing of each item\n System.out.printf(this.items.get(i).getListing()+\"\\n\");\n }\n }", "public void printName()\n\t{\n\t\tArrayList<Robot> ar=new ArrayList<Robot>();\n\t\tIterator<Robot> it;\n\t\tint i=1;//started index\n\t\t\n\t\tar.addAll(robotHM.values());//adding all\n\t\tCollections.sort(ar);//sort by names\n\t\tit=ar.iterator();\n\t\twhile (it.hasNext())\n\t\t{\n\t\t\tSystem.out.println(i+\". \"+it.next().getName());\n\t\t\ti++;\n\t\t}\n\t}", "public void printItems();", "public void printList(ETPlace place) {\n place.getName();\n\n\n }", "private void printMap() {\n\t\tfor(Integer key: location.keySet()){\n\t\t\tString val= location.get(key).toString();\n\t\t\tSystem.out.println(\"(\" + key.toString() + \", \" + val+ \")\");\n\t\t}\n\t}", "private void printAllItems() {\n Set<ClothingItem> items = ctrl.getAllItems();\n items.stream().forEach(System.out::println);\n }", "public void printItems() {\n for (Item item1 : items) {\n System.out.println(item1.toString());\n }\n }", "private static void displayItems()\n {\n System.out.println(\"\\n\\tCurrent List of Products in the Store:\\n\");\n for(Sales s : store)\n System.out.println(s.toString());\n }", "public String printGrabbedItems() {\n return \"Items in your inventory: \" + grabbedItems;\n }", "public void printDirectory() {\n System.out.println(\"Inventory:\");\n for (Ingredient i : stock.keySet()) {\n System.out.printf(\"%s, %d\\n\", i.getName(), stock.get(i));\n }\n System.out.println(\"Menu:\");\n int drink_number = 1;\n for (Drink d : drinks.keySet()) {\n\n System.out.printf(\"%d, %s, $%.2f, %b\\n\", drink_number++, d.getName(), d.getPrice(), inStock(d));\n }\n }", "public void printInventory()\n {\n System.out.println(\"Welcome to \" + storeName + \"! We are happy to have you here today!\");\n System.out.println(storeName + \" Inventory List\");\n System.out.println();\n \n System.out.println(\"Our Books:\");\n System.out.println(Book1.toString());\n System.out.println(Book2.toString());\n System.out.println(Book3.toString());\n System.out.println(Book4.toString());\n System.out.println(Book5.toString());\n \n System.out.println();\n \n System.out.println(\"Our Bevereges:\");\n System.out.println(Beverage1.toString());\n System.out.println(Beverage2.toString());\n System.out.println(Beverage3.toString());\n\n System.out.println();\n }", "private void printInfo()\n {\n if(currentRoom.getItems().size() >= 1)\n {\n System.out.println(\"\\n\" + \"Items in room are: \" );\n ArrayList<Item> items = currentRoom.getItems();\n \n for(Item i : items)\n {\n System.out.println(i.getItemName() + i.getDescription()); \n }\n \n }\n \n \n \n if(currentRoom.getWeapons().size() >= 1)\n {\n System.out.println(\"\\n\" + \"Weapons in room are: \" );\n \n ArrayList<Weapon> weapons = currentRoom.getWeapons();\n for(Weapon w : weapons)\n {\n System.out.println(w.getWeaponName() + w.getDescription());\n }\n \n }\n \n \n }", "public void printAllRecipeNames() {\r\n for (Recipe currentRecipe : listOfRecipes) {\r\n System.out.println(currentRecipe.getRecipeName());\r\n }\r\n }", "void printPlaceArtifacts()\r\n\t{\r\n\t\tfor( Map.Entry <String, Artifact> entry : artPlace.entrySet()) \r\n\t\t{\r\n\t\t\t String key = entry.getKey();\r\n\t\t\t Artifact value = entry.getValue();\r\n\t\t\t \r\n\t\t\t // System.out.println(\"Place Name: \" + this.name());\r\n\t\t\t \r\n\t\t\t System.out.println(\" Artifact Name----->\" + value.getName());\r\n\t\t\t System.out.println(\"Size-----> \" + value.getSize());\r\n\t\t\t System.out.println(\"Value-----> \" + value.getValue() + \" \\n\");\t\r\n\t\t}\r\n\t}", "@Override\n public String toString()\n {\n \treturn getName() + \" (\" + numItem + \")\";\n }", "public String printAllInventory(){\r\n\r\n String returnString = \"Items:\";\r\n for(Item item : playerItem){\r\n returnString += \" \" + item.getName(); \r\n }\r\n return returnString;\r\n }", "public void print()\n {\n System.out.println(name + \"\\n\");\n for(int iterator = 0; iterator < bookList.size() ; iterator++)\n {\n System.out.println((iterator+1) +\". \" + bookList.get(iterator).getTitle()+\" by \" +bookList.get(iterator).getAuthor()); \n }\n }", "public void diplayAvailableFood() {\n\t\tfor (int i = 0; i < food.size(); i++) {\n\t\t\tSystem.out.print(food.get(i).name + \" \");\n\t\t}\n\t}", "public void displayNames()\r\n {\r\n // ensure there is at least one Cat in the collection\r\n if (catCollection.size() > 0) {\r\n System.out.println(\"The current guests in \"+businessName);\r\n for (Cat eachCat : catCollection) {\r\n System.out.println(eachCat.getName());\r\n }\r\n }\r\n else {\r\n System.out.println(businessName + \" is empty!\");\r\n }\r\n }", "public void printLocationInfo()\n {\n System.out.println(currentRoom.getLongDescription());\n System.out.println();\n }", "public void inventoryPrint() {\n System.out.println(\"Artifact Name: \" + name);\r\n System.out.println(\"Desc:\" + description);\r\n System.out.println(\"Value: \" + value);\r\n System.out.println(\"Mobility: \" + mobility); \r\n }", "public void printRegionsNames() {\n for (int i = 0; i < regionList.length; i++) {\n System.out.println(\"Region #\" + (i + 1) + \": \" + regionList[i].getRegionName());\n }\n }", "public void printObjectList(){\n\t\tfor (int i = 0; i < gameObjectsList.size(); i++){\n\t\t\tSystem.out.println(i + \", \" + gameObjectsList.get(i).getCategory() + \" : Type:\" + gameObjectsList.get(i).getObjecttype() + \" X:\" + gameObjectsList.get(i).getX() + \" Y:\" + gameObjectsList.get(i).getY());\n\t\t}\n\t}", "public void showInfo() {\n\t\tfor (String key : list.keySet()) {\n\t\t\tSystem.out.println(\"\\tID: \" + key + list.get(key).toString());\n\t\t}\n\t}", "private void printSavedCoursesNames() {\n ArrayList<Course> tempCourseList = courseList.getCourseList();\n for (int i = 0; i < tempCourseList.size(); i++) {\n System.out.println((i + 1) + \": \" + tempCourseList.get(i).getName());\n }\n }", "public void printInventory()\n { \n System.out.println();\n\n // Checks if the player has items.\n if(!(getPerson(PLAYER).getInventory().getItems().isEmpty())){\n System.out.println(\"In your backpack, you have:\");\n\n // Gets each item in the player's inventory.\n for(Item item: getPerson(PLAYER).getInventory().getItems()){\n System.out.print(item.getName() + \",\");\n }\n System.out.println();\n System.out.println(\"You are carrying \"+ getPerson(PLAYER).getWeight() + \"kg.\");\n }\n else{\n System.out.println(\"There are currently no items in your backpack.\");\n }\n System.out.println();\n }", "public void displayAll() {\r\n \t Item currentItem;\r\n \t \r\n \t System.out.println(\"-----BOOKS-----\");\r\n \t for(int i=0; i<items.size(); i++) {\r\n \t currentItem = items.get(i);\r\n \t \t //This next line checks if the current item is a book.\r\n \t if(currentItem.getItemType() == Item.ItemTypes.BOOK) \r\n \t System.out.println(currentItem.toString());\r\n \t }\r\n \t \t\r\n \t System.out.println(\"-----MAGAZINES-----\");\r\n \t for(int i=0; i<items.size(); i++) {\r\n \t currentItem = items.get(i);\r\n \t \t //This next line checks if the current item is a magazine.\r\n \t if(currentItem.getItemType() == Item.ItemTypes.MAGAZINE)\r\n \t System.out.println(currentItem.toString());\r\n \t }\r\n\r\n }", "public void print(){\n for(Recipe r : recipes){\n System.out.println(r.toString());\n }\n }", "public void printFilenames(){\n\t\tSystem.out.println(\"\\nAgent list of files: \" + this.filenames.size());\n\t\tfor(int i = 0;i<filenames.size();i++){\n\t\t\tSystem.out.println(i+1+ \") \" + filenames.get(i));\n\t\t}\n\t\tSystem.out.println(\"\");\n\t}", "private String printName() {\n \t\treturn GPSFilterTextUtils.printName( this.getResources(), this.area.getName() );\n \t}", "public void printPath(){\n\t\tListIterator<Path> listIterator =temp.listIterator();\n\t\twhile(listIterator.hasNext()){\n\t\t\tSystem.out.print(listIterator.next().getPos()+\" \");\n\t\t}\n\t}", "public void printStudentList()\n {\n for(int i = 0; i < students.size(); i++)\n System.out.println( (i + 1) + \". \" + students.get(i).getName());\n }", "private void printToolListMenu(Shop shop) {\n System.out.println(shop.getInventory());\n }", "public String toString() {\r\n String output = \"\";\r\n int index = 0;\r\n output = getName() + \"\\n\\n\";\r\n while (index < list.size()) {\r\n output += (list.get(index) + \"\\n\\n\");\r\n index++;\r\n }\r\n return output;\r\n }", "private void filterItems()\n {\n System.out.println(\"filtered items (name containing 's'):\");\n Set<ClothingItem> items = ctrl.filterItemsByName(\"s\");\n items.stream().forEach(System.out::println);\n }", "public static void inventoryListHeader() {\n System.out.println(\n UI.prettyPrint(\"Items Name\", 15) + \" | \"\n + UI.prettyPrint(\"Price\", 10) + \" | \"\n + UI.prettyPrint(\"Quantity\", 5));\n }", "public void print () {\r\n System.out.println(\"Place \"+name+\": lat \"+lat+\" lon \"+lon+\r\n \" elevation \"+ele);\r\n }", "public static void printFruits() {\r\n\t\tSystem.out.println(\"\\nFruits Available in our store: \\n\");\r\n\t\tSystem.out.format(\"%5s\\t%10s\\t%10s\\t%10s\\t%10s\\n\", \"Id\", \"Name\", \"Quality\", \"Price\", \"Best Before Use\");\r\n\t\tfor (Fruit fruit : fruits.values()) {\r\n\t\t\tSystem.out.format(\"%5s\\t%10s\\t%10s\\t%10s\\t%10s\\n\", fruit.getId(), fruit.getName(), fruit.getQuality(),\r\n\t\t\t\t\tfruit.getPrice(), fruit.getBestBeforeUse());\r\n\r\n\t\t}\r\n\t\tSystem.out.println();\r\n\t}", "private void printList(ArrayList<String> allSongs) {\n int i=1;\n for(String s : allSongs){\n System.out.println((i++)+\". \"+s);\n }\n }", "public void printCarte() {\r\n\r\n\t\tSystem.out.println(\"Welcome to Yoyo-Restaurant <3\");\r\n\t\tSystem.out.println(\"\");\r\n\t\tSystem.out.println(\"-<3----<3----<3----<3----<3----<3----<3----<3----<3----<3\");\r\n\t\tSystem.out.println(\"Our Menu \");\r\n\t\tfor (Menu menu : items) {\r\n\t\t\tmenu.print();\r\n\t\t}\r\n\r\n\t}", "public String[] displayContents() {\n String[] contents = new String[this.items.size()];\n for (int i = 0; i < this.items.size(); i++) {\n contents[i] = this.items.get(i).getName();\n }\n return contents;\n }", "public void showPatientList()\r\n\t{\n\t\tfor(int i=0; i<nextPatientLocation; i++)\r\n\t\t{\r\n\t\t\tString currentPositionPatientData = arrayPatients[i].toString();\r\n\t\t\tSystem.out.println(\"Patient \" + i + \" is \" + currentPositionPatientData);\r\n\t\t}\r\n\t}", "public void print() {\n for (Entry entry : listentries) {\n System.out.println(\"These are the tasks currently on your lists:\");\n System.out.println(\"Name of Task:\" + entry.getName());\n System.out.println(\"Status:\" + entry.getStatus());\n System.out.println(\"Due Date:\" + entry.getDueDate());\n System.out.println(\"Days Left To do Tasks:\" + entry.getDaysLeft());\n }\n }", "private void printInfo() {\n for (Coordinate c1 : originCells) {\n System.out.println(\"Origin: \" + c1.toString());\n }\n for (Coordinate c2 : destCells) {\n System.out.println(\"destination: \" + c2.toString());\n }\n for (Coordinate c3 : waypointCells) {\n System.out.println(\"way point: \" + c3.toString());\n }\n }", "private void printAvailableShips(ArrayList<Ship> availableShips) {\n\t\tint index = 1;\n\t\tfor (Ship ship: availableShips) {\n\t\t\tSystem.out.println(\"(\" + index + \")\" + ship);\n\t\t\tindex++;\n\t\t}\n\t}", "public void print() {\n System.out.println(\"**List of books in the library.\");\n for (Book b : books){\n if(b != null) {\n System.out.println(b);\n }\n }\n System.out.println(\"**End of list\");\n }", "static private void inspectRoom() {\n ArrayList items = itemLocation.getItems(currentRoom);\n Item seeItem;\n String itemList = \"\";\n for (int i = 0; i < items.size(); i++) {\n\n seeItem = (Item) items.get(i);\n itemList += seeItem.getName();\n if (i < items.size() - 1) {\n itemList = itemList + \", \";\n }\n }\n System.out.println(itemList);\n int currentNPCsInRoom = 0;\n\n if (BSChristiansen.getCurrentRoom() == currentRoom) {\n System.out.println(\"There seems to be someone resting in the leaves\");\n currentNPCsInRoom++;\n }\n\n if (mysteriousCrab.getCurrentRoom() == currentRoom) {\n System.out.println(\"You sense somebody in the cave\");\n currentNPCsInRoom++;\n }\n\n if (josephSchnitzel.getCurrentRoom() == currentRoom) {\n System.out.println(\"There is an intense smell, somebody seems to be near!\");\n currentNPCsInRoom++;\n }\n if (currentNPCsInRoom == 0) {\n System.out.println(\"You are alone in the room\");\n }\n }", "private void printSupplierList(Shop shop) {\n System.out.println(shop.supplierListToString());\n }", "public void printMap() {\n Set<String> manufacturers = cars.keySet();\n\n for (String manufacturer : cars.keySet()) {\n System.out.println(String.format(\"The following %s models are in stock: \", manufacturer));\n System.out.println(cars.get(manufacturer));\n\n }\n }", "public String showItemInfo()\n {\n return \"The room has 1 \" + currentItem.getDescription() \n + \" weighted \" + currentItem.getWeight() + \" pounds\"; \n }", "public static void display(){\n \n //create an array : Remember positions\n //wheat= 0\n //Land = 1 \n //Population = 2\n \n String[] items = {\"Wheat\", \"Land\", \"Population\"};\n \n \n // call the crops object \n Crops theCrops = Game.getCrop();\n \n //get wheat\n int wheat = theCrops.getWheatInStore();\n \n //get land (acres)\n int acres = theCrops.getAcres();\n \n //get population \n \n int population = theCrops.getPopulation();\n \n //print results \n \n System.out.println(\"\\nInventory List:\");\n //wheat \n System.out.println(\"Wheat in Store:\" + wheat + \" bushels of \" + items[0]);\n //acres\n System.out.println(\"Acres of Land owned:\" + acres + \" acres of \" + items[1]);\n \n //population\n System.out.println(\"Current population:\" + population + \" people in the \" + items[2]);\n \n \n \n }", "void displayFragmentPlaceTypeList(Location location);", "public static void printContactList()\n {\n if(myList.size() < 1)\n System.out.println(\"~empty list~\");\n else\n {\n System.out.println(\"Current Items\");\n System.out.println(\"-------------\");\n for(int i = 0; i < myList.size(); i++)\n {\n System.out.printf(i+\")\");\n Item itemPrint = myList.get(i);\n itemPrint.printItem(itemPrint.getFirstName(), itemPrint.getLastName(), itemPrint.getPhoneNumber(), itemPrint.getEmail());\n }\n }\n }", "public void showInventory()\n\t{\n\t\tSystem.out.print(\"________________________________________________________\"\n\t\t\t+ \"__________________\\n\\n\");\n\t\tSystem.out.print(\"\\t\\t\\t\\tInventory\");\n\t\t\n\t\tfor (String s: inventory)\n\t\t{\n\t\t\tSystem.out.print(\"\\n\" + s);\n\t\t}\n\t\t\n\t\tSystem.out.print(\"\\n\\n[R] Return\\n\");\n\t\tSystem.out.print(\"________________________________________________________\"\n\t\t\t+ \"__________________\\n\\n\");\n\t\tSystem.out.print(\"Action: \");\n\t\t\n\t}", "public String showLocationContent() {\n\t\tContent content = null;\n printHeader();\n \n\t\tfor (Map.Entry<Integer, List<Content>> entry : contentMap.entrySet()) {\n\t\t\tList<Content> contentLst = entry.getValue();\n\n\t\t\tfor (int i = 0; i < contentListCapacity; i++) {\n\t\t\t\tif (contentLst == null)\n\t\t\t\t\tprintEmptyPlaceHolder(contentListCapacity);\n\t\t\t\telse {\n\t\t\t\t\tcontent = i < contentLst.size() ? contentLst.get(i) : null;\n\t\t\t\t\tif (content == null)\n\t\t\t\t\t\tSystem.out.printf(\"%5s\",\"\");\n\t\t\t\t\telse\n\t\t\t\t\t\tSystem.out.printf(\"%5s\",content.getBarcode() );\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\n\t\treturn \" Smart Robot Arm! \";\n\n\t}", "@Override\n public String toString() {\n String s = shipName + \" located at\";\n\n for (Point p : shipLocation) {\n s += \" (\" + (p.x + 1) + \",\" + (p.y + 1) + \")\";\n }\n\n return s;\n }", "private void inspectItem(String item)//Made by Lexi\n {\n itemFound = decodeItem(item);\n if (itemFound == null)\n {\n System.out.println(\"I don't know of any \" + item + \".\");\n }\n else\n {\n System.out.println(\"The item is: \" + itemFound.getTitle());\n System.out.println(\"Description of the item: \" + itemFound.getDescription());\n System.out.println(\"Item Weight: \" + itemFound.getWeight());\n System.out.println(\"Room item was found in: \" + itemFound.getLocation().getTitle());\n }\n }", "public void getInfo(){\n System.out.println(\"Name: \" + name + \"\\n\" + \"Address: \" + address);\n }", "public void inventory() {\n\t\tList<Item> items = super.getItems();\n\n\t\tString retStr = \"Items: \";\n\t\tItem item;\n\t\tfor (int i = 0; i < items.size(); i++) {\n\t\t\titem = items.get(i);\n\t\t\tretStr += item.toString();\n\t\t\tif (i != items.size()-1)\n \t{\n\t\t\t\tretStr += \", \";\n \t}\n\t\t}\n\t\tretStr += \"\\nCapacity: \" + this.currentCapacity() + \"/\" + this.maxCapacity;\n\t\tSystem.out.println(retStr);\n\t}", "private void printData() {\n\n System.out.println(\"No of Stars '\" + myStars.size() + \"'.\");\n\n// Iterator<Star> it = myStars.iterator();\n// System.out.println(\"First 20 in the list\");\n// int i=0;\n// while (it.hasNext()) {\n// System.out.println(it.next().toString());\n// i++;\n// if(i==19){\n// break;\n// }\n// }\n }", "void printFilteredItems();", "@Override\n\tpublic void print() {\n\t\tSystem.out.println(\"Avaliable Media items are\");\n\t\t\n\t\tSystem.out.println(\"Identification Number number of copies title of item\");\n\n\t\t\t\tfor(int i =0; i<getTitle().length; i++)\n\t\t\t\t{\n\t\t\t\t\t\n\t\t\t\t\tSystem.out.println(getIdentificatioNumber()[i]+\" \"\n\t\t\t\t\t+getNumberOfCopies()[i]+\" \"+getTitle()[i]);\n\t\t\t\t}\n\t\t\t}", "public void printFileNames() {\n DirectoryResource dr = new DirectoryResource();\n for (File f : dr.selectedFiles()) {\n System.out.println(f);\n }\n }", "public void print() {\n\t\tint i = 1;\n\t\tfor (String s: g.keySet()) {\n\t\t\tSystem.out.print(\"Element: \" + i++ + \" \" + s + \" --> \");\n\t\t\tfor (String k: g.get(s)) {\n\t\t\t\tSystem.out.print(k + \" ### \");\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}", "public static void print_all() {\n for (int i = 0; i < roster.size(); i++)\n System.out.println(roster.get(i).print());\n\n System.out.println();\n }", "void examine() {\n\t\t\tif (!isItEmpty()){\n\t\t\t\tprintItemDescriptions();\n\t\t\t\tSystem.out.println(\"\\nWhat's in \" + this.locationName + \": \");\n\t\t\t\texamineItems(); //calls the examine items method.\n\t\t\t\texamineContainers(); //calls the examine containers method.\n\t\t\t\tSystem.out.println(\"\");}\n\t\t}", "public void printSpeciesData(){\n\n System.out.println(\"A \" + this.name + \" has \" + this.legs + \" legs, \" + this.numberOfWings +\n \" wings, it is \" + this.wingColor + \", and likes a plant called \" + this.favFlower);\n\n }", "public static void printAllAreas() {\r\n\t for (int i = 0; i <= 2967; i++) {\r\n\t System.out.println(\"Load Shedding Inforamtion: \" + LSItemsArray[i].getInformation()\r\n + \": Corresponding Areas: \" + LSItemsArray[i].getAreas());\r\n\r\n\t }\r\n\t }", "@Override\n\tpublic String toString() {\n\t\tString out = \"Name: \" + name + \"\\tPosition\" + getPosition();\n\t\treturn out;\n\t}", "public String toString()\n {\n String print = \"\";\n for (int x = 0; x < items.length; x++)\n if (items[x] != null)\n print = print + items[x] + \" \";\n return print;\n }", "public void printInformation() {\n\n System.out.println(\"Name: \" + name);\n System.out.println(\"Weight: \" + weight);\n System.out.println(\"Shape: \" + shape);\n System.out.println(\"Color: \" + color);\n }", "public void printInfo() throws IOException {\n System.out.println();\n System.out.println(\"* Current books in the database.\\n\");\n for(Book book :bookdatabase){\n System.out.println(book.getTitle());\n }\n System.out.println();\n System.out.println(\"* Current students in the database.\\n\");\n for(Student student :studentdatabase){\n System.out.println(student.getUsername());\n }\n System.out.println();\n System.out.println(\"* Current librarians in the database.\\n\");\n for(Librarian l :lib_db){\n System.out.println(l.getUsername());\n }\n\n\n\n }", "public void printContents(){\n System.out.println(this);\n System.out.println(\"Occupied by: \" + pieceAtVertex + \"\\n Neighbors:\" + neighbors);\n }", "public void display(){\n\t\tfor (Entry<String, Map<String, Integer>> entry : collocationMap.entrySet()){\n\t\t for (Entry<String, Integer> subEntry : entry.getValue().entrySet()){\n\t\t\t System.out.println(entry.getKey() + \" \" + subEntry.getKey() + \": \" + subEntry.getValue());\n\t\t }\n\t\t}\n\t}", "public static void display(ArrayList< String > items, String header) {\n // Display header\n System.out.print(header);\n\n // Display each element in items\n for (String item : items) {\n System.out.printf(\" %s\", item);\n }\n\n // Line break\n System.out.println();\n }", "public synchronized String printInventory(){\n String inventStr = \"\";\n\n for (int i = 0; i < titleList.size(); i++){\n inventStr += titleList.get(i) + \" \" + quantityList.get(i);\n if(i < titleList.size() - 1) {\n inventStr +=\"___\";\n }\n }\n return inventStr;\n }", "public void print(){\r\n\t\tint ListLength = this.promo.size();\r\n\t\tSystem.out.println(\"Type: \"+this.Type);\r\n\t\tSystem.out.println(\"Name: \"+this.name);\r\n\t\tSystem.out.println(\"Description: \"+this.description);\r\n\t\tSystem.out.printf(\"$%.2f\\n\", this.price);\r\n\t\tSystem.out.println(\"Featured dishes:\");\r\n\t\tfor (int i =0; i<ListLength; i++){\r\n\t\t\tSystem.out.print(\"\\t\"+(i+1) + \". \");\r\n\t\t\tSystem.out.println(this.promo.get(i).getName()); //print name of ala-carte item in promo array\r\n\t\t}\r\n\t\tSystem.out.println();\r\n\t}", "void printList() {\n Entry<T> node = header;\n while(node!=null){\n System.out.print(node.element+\" \");\n node = node.next;\n }\n }", "public void printContents() {\n\t\t\n//\t\tCollections.sort(finalized);\n\t\t\n\t\tSystem.out.print(\"Register Status:\");\n\t\t\n\t\tint i = 0;\n\t\tfor (; i < finalized.length - 1; i++) {\n\t\t\tSystem.out.println(\"Reg \" + i + \": \" + finalized[i].toString());\n\t\t}\n\t\tSystem.out.print(\"Reg \" + i + \": \" + finalized[finalized.length - 1].toString() + \"\\n\");\n\t}", "public void print(){\n\t\tif(isEmpty()){\n\t\t\tSystem.out.printf(\"Empty %s\\n\", name);\n\t\t\treturn;\n\t\t}//end if\n\n\t\tSystem.out.printf(\"The %s is: \", name);\n\t\tListNode current = firstNode;\n\n\t\t//while not at end of list, output current node's data\n\t\twhile(current != null){\n\t\t\tSystem.out.printf(\"%s \", current.data);\n\t\t\tcurrent = current.nextNode;\n\t\t}//end while\n\n\t\tSystem.out.println(\"\\n\");\n\t}", "public void viewLibraryBooks(){\n\t\tIterator booksIterator = bookMap.keySet().iterator();\n\t\tint number, i=1;\n\t\tSystem.out.println(\"\\n\\t\\t===Books in the Library===\\n\");\n\t\twhile(booksIterator.hasNext()){\t\n\t\t\tString current = booksIterator.next().toString();\n\t\t\tnumber = bookMap.get(current).size();\n\t\t\tSystem.out.println(\"\\t\\t[\" + i + \"] \" + \"Title: \" + current);\n\t\t\tSystem.out.println(\"\\t\\t Quantity: \" + number + \"\\n\");\t\t\t\n\t\t\ti += 1; \n\t\t}\n\t}", "public void outputNames(){\n System.out.printf(\"\\n%9s%11s\\n\",\"Last Name\",\"First Name\");\n pw.printf(\"\\n%9s%11s\",\"Last Name\",\"First Name\");\n ObjectListNode p=payroll.getFirstNode();\n while(p!=null){\n ((Employee)p.getInfo()).displayName(pw);\n p=p.getNext();\n }\n System.out.print(\"\\nNumber of Employees: \"+payroll.size()+\"\\n\");\n pw.print(\"\\nNumber of Employees: \"+payroll.size()+\"\\n\");\n }", "void printToConsole() {\n\t\tSystem.out.println(\"PROVIDER DIRECTORY:\");\n\t\tfor (int i = 0; i < services.size(); i++) {\n\t\t\tString service = services.get(i).getServiceName() + \" (\" + services.get(i).getServiceNumber() + \") for $\" + services.get(i).getServiceFee();\n\t\t\tSystem.out.println(\"\\t\" + service);\n\t\t}\n\t}", "public static void printItems(ArrayList<Integer>[] items)\n\t{\n\t\tSystem.out.println(\"Starting Items:\");\n\t\tfor(int i = 0; i < items.length; i++)\n\t\t{\n\t\t\tSystem.out.print(i + \":\");\n\t\t\tfor(int j = 0; j < items[i].size(); j++)\n\t\t\t{\n\t\t\t\tSystem.out.print(items[i].get(j) + \", \");\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}", "public String toString() {\r\n String result = \"\";\r\n //Check for empty list\r\n if(names.getFirst() == null) {\r\n return \"The Gift List is empty\";\r\n }\r\n //Iterates through each type of key in the list\r\n for(int i = 0; i < names.size(); i++) {\r\n String item = names.get(i);\r\n //Retrieve item\r\n Gift toFind = this.getGift(item);\r\n //Format output line by pulling values from above gift\r\n result += item + \"@ \" + toFind.getStore() + \" Price: \" + toFind.getCost() + \"\\n\";\r\n }\r\n //Final line, concluding the String output\r\n result += \"Total: $\" + totalCost +\" for \" + totalGifts + \" gifts!\";\r\n return result;\r\n }", "public void listTitles() {\n for (int i = 0; i < books.length; i++) {\n System.out.println(\"The title of book\" + (i + 1) + \": \" + books[i].getTitle());\n }\n }", "public String[] listItems() {\n \n\t\tif (itemCount==0) {\n\t\t\tSystem.out.println(\"\\tNo items available.\\n\");\n\t\t}\n\t\telse {\n\t\t\tfor(int index = 1; index<=itemCount; index++) {\n VendItem s = stock[index-1];\n itemList[index-1]=(s.getName());\n\t\t\t}\n System.out.println();\n \n }\n return itemList;\n\n }", "private static void listFormat() {\n\t\tSystem.out.println(\"List of all your movies\");\n\t\tSystem.out.println(\"=======================\");\n\t\tfor (int i = 0; i < movList.size(); i++) {\n\t\t\tSystem.out.println(movList.get(i));\n\t\t}\n\t}", "public String toString(){\n\t\treturn String.format(\"%d: %s\", index, name);\n\t}", "public String print(){\n\t\treturn this.sonsPaths_.toString();\n\t}", "public void printDetails() \r\n\t{\r\n\t\t// Print cells in path\r\n\t\tSystem.out.print(\"Path:\");\r\n\t\tfor(Cell c: path)\r\n\t\t\tSystem.out.print(\" (\" + c.getRow() + ',' + c.getColumn() + ')');\r\n\t\t\r\n\t\t// Print path length\r\n\t\tSystem.out.println(\"\\nLength of path: \" + path.size());\r\n\t\t\r\n\t\t// Print visited cell amount\r\n\t\tint lastCell = path.size() - 1;\r\n\t\tint visitedCells = path.get(lastCell).getDiscoveryTime() + 1;\r\n\t\tSystem.out.println(\"Visited cells: \" + visitedCells + '\\n');\r\n\t}", "public void print()\n {\n for (int i=0; i<list.length; i++)\n System.out.println(i + \":\\t\" + list[i]);\n }", "static void printListOfWeapons(List<WeaponLM> weapons){\n for(WeaponLM weapon : weapons){\n System.out.print(weapon.getName());\n if(weapons.indexOf(weapon) != weapons.size()-1){\n System.out.print(\", \");\n }\n }\n }", "@Override\n public String toString() {\n return NameProvider.getNameOfBlockOrItem(this.id, this.data);\n }", "void display() {\n System.out.println(id + \" \" + name);\n }", "public void printOL() {\n\t\tString format = \"%-30s %30s %n\";\n\t\tSystem.out.format(format,\"Item Name:\",this.item.getName());\n\t\tSystem.out.format(format,\"Quantity:\",this.quantity);\n\t\tSystem.out.format(format,\"Supplier:\",this.supplierName);\n\t\t\n\t}", "public String toString()\n {\n StringBuilder locationString = new StringBuilder();\n locationString.append(entityName).append(\" (\").append(description).append(\"):\\n\");\n for (Entity entity : entityList) {\n locationString.append(\" \").append(entity.toString()).append(\"\\n\");\n }\n return locationString.toString();\n }", "public static void printAvailableMaps() {\n \tFile folder = new File(\"./examples/\");\n \tFile[] listOfFiles = folder.listFiles();\n \tSystem.out.println(\"Available maps (choose one and start game with command 'game map_name' ) : \");\n\n \t for (int i = 0; i < listOfFiles.length; i++) {\n \t if (listOfFiles[i].isFile()) {\n \t System.out.println(\"\\t\"+listOfFiles[i].getName());\n \t } \n \t }\n }", "public String toString(){\n\t\treturn name + \": \" + books + \" books checked out\";\n\t}" ]
[ "0.7230528", "0.7137542", "0.6979102", "0.6854498", "0.6847246", "0.67380905", "0.6735", "0.6720525", "0.66439635", "0.65805393", "0.65715116", "0.65653414", "0.6542142", "0.6512299", "0.6483715", "0.6436924", "0.6431926", "0.64053625", "0.6405218", "0.6400995", "0.63864577", "0.6338642", "0.63356525", "0.63073266", "0.62653726", "0.6257595", "0.6242536", "0.6182898", "0.61749697", "0.6163582", "0.61569524", "0.6148794", "0.614654", "0.6113651", "0.6099143", "0.6070199", "0.60684514", "0.60684204", "0.60640097", "0.6064006", "0.6061757", "0.60565245", "0.60443723", "0.60417473", "0.60259515", "0.6005345", "0.59865254", "0.5986144", "0.59854674", "0.59460384", "0.59445846", "0.59439373", "0.5932473", "0.5931001", "0.5928242", "0.5924632", "0.5923108", "0.59182286", "0.59128207", "0.59125155", "0.5909551", "0.59095025", "0.59075654", "0.5901987", "0.5901615", "0.5900522", "0.5898739", "0.58931065", "0.5888216", "0.58855677", "0.5858587", "0.58571666", "0.5856739", "0.5852271", "0.58516735", "0.5849385", "0.5841906", "0.5840928", "0.5835556", "0.583075", "0.5811507", "0.5809988", "0.5808245", "0.58045167", "0.5803683", "0.58024895", "0.5788677", "0.5788283", "0.5778797", "0.57778394", "0.5772579", "0.5770392", "0.5767613", "0.5764415", "0.5764302", "0.57603544", "0.57599825", "0.5753717", "0.57509923", "0.5746927" ]
0.7347675
0
prints the names and prices of the items available to be purchased
boolean examinePaidItems(){ int count = 0; if (!this.items.isEmpty()){ for (int i = 0; i < this.items.size(); i++){ if (this.items.get(i).montaryValue != 0){ System.out.print(this.items.get(i).itemName + " ($" + (this.items.get(i).montaryValue * -1) + "), "); count++;} } } if (!this.receptacle.isEmpty()){//if the location has containers. for (int k = 0; k < this.receptacle.size(); k++){//loops through the containers in the location if (!(this.receptacle.get(k) instanceof SpecialtyContainer)){//some containers are hidden, like the depths of the cove. for (int j = 0; j < this.receptacle.get(k).contents.size(); j++){//looks for the items in the non hidden containers if (this.receptacle.get(k).contents.get(j).montaryValue < 0){//if the item needs to be bought System.out.print(this.receptacle.get(k).contents.get(j).itemName + " ($" + (this.receptacle.get(k).contents.get(j).montaryValue * -1) + "), "); count++;} } } } } if (count == 0){//it didn't find any items you need to pay for. System.out.println("There's nothing here that costs money."); return false;} return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void printInventory()\n {\n System.out.println(\"Welcome to \" + storeName + \"! We are happy to have you here today!\");\n System.out.println(storeName + \" Inventory List\");\n System.out.println();\n \n System.out.println(\"Our Books:\");\n System.out.println(Book1.toString());\n System.out.println(Book2.toString());\n System.out.println(Book3.toString());\n System.out.println(Book4.toString());\n System.out.println(Book5.toString());\n \n System.out.println();\n \n System.out.println(\"Our Bevereges:\");\n System.out.println(Beverage1.toString());\n System.out.println(Beverage2.toString());\n System.out.println(Beverage3.toString());\n\n System.out.println();\n }", "public void printBill(){\r\n\t\tint numOfItems = ItemsList.size();\r\n\t\tfor(int i = 0;i<numOfItems;i++){\r\n\t\t\tSystem.out.println(\"1\" + ItemsList.get(i).getName() + \"at \" + ItemsList.get(i).getPrice());\r\n\t\t}\r\n\t\tSystem.out.printf(\"Sales Tax: %.2f\\n\", taxTotal);\r\n\t\tSystem.out.println(\"Total: \" + total);\r\n\t}", "private static void displayItems()\n {\n System.out.println(\"\\n\\tCurrent List of Products in the Store:\\n\");\n for(Sales s : store)\n System.out.println(s.toString());\n }", "public void printOrderItem(){\r\n\t\tSystem.out.print(this.quantity+\" x \"+this.menuItem.getName()+\" ---- \");\r\n\t\tSystem.out.printf(\"$%.2f\\n\",this.calculatePrice());\r\n\t}", "public void printItems()\n {\n if (getItems().size()==0){\n System.out.println(\"There are no items in this room.\");\n }\n else{\n System.out.print(\"The item(s) in this room are: \");\n int i=0;\n while(i<getItems().size()){\n if(i<getItems().size()-1){\n System.out.print(getItems().get(i).getName()+\", \");\n }\n else{\n System.out.println(getItems().get(i).getName()+\".\");\n }\n i++;\n }\n }\n }", "public String printGrabbedItems() {\n return \"Items in your inventory: \" + grabbedItems;\n }", "public void list(){\n //loop through all inventory items\n for(int i=0; i<this.items.size(); i++){\n //print listing of each item\n System.out.printf(this.items.get(i).getListing()+\"\\n\");\n }\n }", "public void printInventory()\n { \n System.out.println();\n\n // Checks if the player has items.\n if(!(getPerson(PLAYER).getInventory().getItems().isEmpty())){\n System.out.println(\"In your backpack, you have:\");\n\n // Gets each item in the player's inventory.\n for(Item item: getPerson(PLAYER).getInventory().getItems()){\n System.out.print(item.getName() + \",\");\n }\n System.out.println();\n System.out.println(\"You are carrying \"+ getPerson(PLAYER).getWeight() + \"kg.\");\n }\n else{\n System.out.println(\"There are currently no items in your backpack.\");\n }\n System.out.println();\n }", "private static void viewItems() {\r\n\t\tdisplayShops();\r\n\t\tint shopNo = getValidUserInput(scanner, shops.length);\r\n\t\tdisplayItems(shopNo);\r\n\t\tSystem.out.println();\r\n\t\tSystem.out.println(\" Please enter the ID of the element to add to cart. \\\"0\\\" for exit\");\r\n\t\tSystem.out.println();\r\n\t\tint productNo = getValidUserInput(scanner, shops[shopNo].getAllSales().length + 1);\r\n\t\tif (productNo > 0) {\r\n\t\t\tProduct productToBeAdd = shops[shopNo].getAllSales()[productNo - 1];\r\n\t\t\tSystem.out.println();\r\n\t\t\tSystem.out.print(\" Please enter the number of the item you would like to buy: \");\r\n\t\t\tint numberOfTheItems = getUserIntInput();\r\n\t\t\tcart.addProduct(productToBeAdd, numberOfTheItems);\r\n\t\t}\r\n\t\tSystem.out.println();\r\n\t\tSystem.out.println(\" Purchase done, going back to the menu.\");\r\n\t\tSystem.out.println();\r\n\t}", "void examineItems(){\n\t\t\tif (!this.items.isEmpty())\n\t\t\t\tfor (int i = 0; i < this.items.size(); i++)\n\t\t\t\t\tSystem.out.print(this.items.get(i).itemName + \", \");\n\t\t}", "public void printItems();", "public void print(){\r\n\t\tint ListLength = this.promo.size();\r\n\t\tSystem.out.println(\"Type: \"+this.Type);\r\n\t\tSystem.out.println(\"Name: \"+this.name);\r\n\t\tSystem.out.println(\"Description: \"+this.description);\r\n\t\tSystem.out.printf(\"$%.2f\\n\", this.price);\r\n\t\tSystem.out.println(\"Featured dishes:\");\r\n\t\tfor (int i =0; i<ListLength; i++){\r\n\t\t\tSystem.out.print(\"\\t\"+(i+1) + \". \");\r\n\t\t\tSystem.out.println(this.promo.get(i).getName()); //print name of ala-carte item in promo array\r\n\t\t}\r\n\t\tSystem.out.println();\r\n\t}", "public static void printOffers() {\r\n\t\tSystem.out.println(\"\\nOffers Available are:\\n\");\r\n\t\tSystem.out.println(\"If Total Price is >= 1000 then discount = 2%\");\r\n\t\tSystem.out.println(\"If Total Price is >= 2000 then discount = 4%\");\r\n\t\tSystem.out.println(\"If Total Price is >= 3000 then discount = 5%\");\r\n\t\tSystem.out.println(\"On every purcahse of 1000rs 10 points will be added to your account \");\r\n\t\tSystem.out.println();\r\n\t}", "@Override\n public String toString(){\n return \"\" + item.name + \" \" + item.price + \" Coins\";\n }", "public void showProducts() {\n\t\t\tfor(int i = 0; i < products.size(); i++) {\n\t\t\t\tif(products.get(i).quantity > 0) {\n\t\t\t\t\tSystem.out.println(alphabet.substring(i, i+1).toUpperCase() + \") \" + products.get(i).toString());\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tproducts.remove(i);\n\t\t\t\t}\n\t\t\t}\n\t\t}", "public void inventoryPrint() {\n System.out.println(\"Artifact Name: \" + name);\r\n System.out.println(\"Desc:\" + description);\r\n System.out.println(\"Value: \" + value);\r\n System.out.println(\"Mobility: \" + mobility); \r\n }", "public void printProduct() {\n System.out.println(\"nom_jeu : \" + name);\n System.out.println(\"price : \" + price);\n System.out.println(\"uniqueID : \" + identifier);\n System.out.println(\"stock : \" + stock);\n System.out.println(\"image : \" + image);\n System.out.println(\"genre : \" + genre);\n System.out.println(\"plateforme : \" + platform);\n System.out.println();\n }", "public static String printOutput(ArrayList<ArrayList<Furniture>> purchased, boolean gui){\n StringBuilder sb = new StringBuilder();\n int price = 0;\n sb.append(\"Purchase \");\n for(int i = 0; i < purchased.size(); i++){\n price = price + getComboPrice(purchased.get(i));\n for(int j = 0; j < purchased.get(i).size(); j++){\n if(i == 0 && j == 0){\n sb.append(purchased.get(i).get(j).getID() + \", \");\n }else if(i == (purchased.size() - 1) && j == (purchased.get(i).size() - 1)){\n sb.append(\"and \" + purchased.get(i).get(j).getID());\n }else{\n sb.append(purchased.get(i).get(j).getID() + \", \");\n }\n }\n }\n sb.append(\" for $\" + price + \".\\n\");\n // create order form\n writeOrderForm(purchased, price);\n // print order summary message to console or GUI\n if(gui){\n return sb.toString();\n }\n System.out.println(\"\\n\" + sb.toString());\n return \"\";\n }", "public String PrintInventoryList()\r\n {\r\n String inventoryInformation = \"\";\r\n\r\n System.out.println(\"Inventory: \");\r\n //You may print the inventory details here\r\n for (Product product: productArrayList) // foreach loop to iterate through the ArrayList\r\n {\r\n // TODO: check if this code is right\r\n inventoryInformation += product.getId() + \" \" + product.getName() + \" \" +\r\n product.getCost() + \" \" + product.getQuantity() + \" \" + product.getMargin() + \"\\n\";\r\n }\r\n System.out.println(inventoryInformation);\r\n return inventoryInformation;\r\n }", "private void printToolListMenu(Shop shop) {\n System.out.println(shop.getInventory());\n }", "private void displaySell()\r\n {\r\n\r\n System.out.println(\"To sell:\");\r\n for(HardwareDevice devices: hardwares)\r\n {\r\n\r\n devices.displayDescription();\r\n }\r\n }", "public static void items(){\n\t\ttry{\n\t\t\tConnection conn = DriverManager.getConnection(url,username,password);\n\t\t\tStatement query = conn.createStatement();\n\t\t\tResultSet re = query.executeQuery(\"select * from item\");\n\t\t\tString spc = \" \";\n\t\t\twhile (re.next()){\n\t\t\t\tSystem.out.println(re.getInt(\"itemid\")+spc+re.getString(\"title\")+spc+re.getDouble(\"price\"));\n\t\t\t}\n\t\t}catch(Exception ecx){\n\t\t\tecx.printStackTrace();\n\t\t}\n\t}", "public void readPurchasedProducts()\r\n\t{\r\n\t\ttry\r\n\t\t{\r\n\t\t\tScanner reader = new Scanner(new FileReader(\"soldProducts.txt\"));\r\n\t\t\twhile (reader.hasNext())\r\n\t\t\t{\r\n\t\t\t\tSystem.out.println(reader.nextLine());\r\n\t\t\t}\r\n\t\t\treader.close();\r\n\t\t}\r\n\t\tcatch(FileNotFoundException e)\r\n\t\t{\r\n\t\t\tSystem.out.println(\"FileNotFoundException\");\r\n\t\t}\r\n\t}", "public void inventory() {\n\t\tList<Item> items = super.getItems();\n\n\t\tString retStr = \"Items: \";\n\t\tItem item;\n\t\tfor (int i = 0; i < items.size(); i++) {\n\t\t\titem = items.get(i);\n\t\t\tretStr += item.toString();\n\t\t\tif (i != items.size()-1)\n \t{\n\t\t\t\tretStr += \", \";\n \t}\n\t\t}\n\t\tretStr += \"\\nCapacity: \" + this.currentCapacity() + \"/\" + this.maxCapacity;\n\t\tSystem.out.println(retStr);\n\t}", "public static void print()\n {\n ProductGUI.Display(\"\\n\");\n for(Product element: productList)\n {\n ProductGUI.Display(\"\\n\");\n System.out.println(element);\n ProductGUI.Display(element.toString());\n }\n }", "@Override\n public String toString() {\n return \"stock: \" + stock + \"\\n\" +\n \"cost: \" + itemPrice + \"\\n\";\n }", "public void printItems() {\n for (Item item1 : items) {\n System.out.println(item1.toString());\n }\n }", "@Override\n public String toString() {\n StringBuilder builder = new StringBuilder();\n builder.append(itemName + \" \" + price + \"kr \" + tax + \"% \");\n return builder.toString();\n }", "public void print() {\n System.out.println(\"Code: \"+this.productCode);\n System.out.println(\"Name: \"+ this.productName);\n System.out.println(\"Price: \"+this.price);\n System.out.println(\"Discount: \"+this.discount+\"%\");\n }", "public void printAllProducts()\n {\n printHeading();\n \n for(Product product : stock)\n {\n System.out.println(product);\n }\n\n System.out.println();\n }", "public void showCar(){\n for (int i=0; i<car.size(); i++){\n System.out.println((i+1) + \". \" + car.get(i).formatForBuy());\n }\n }", "private void displayItem(){\n synchronized(this){\n for(ClientHandler client : clientArray){\n client.getOutput().println(\"\" + currentItem.getItem() +\n \" price starts at \" + currentItem.getStartingPrice() +\n \".\\n\");\n }\n }\n }", "@Override\n public void printBill() {\n System.out.println(\"BILL FOR TABLE #\" + id);\n for (MenuItem item : bill.getItems()) {\n if (item.getPrice() == 0.0) {\n System.out.println(item.getQuantity() + \" \" + item.getName() + \": $\" + String.format(\"%.2f\", item.getTotal()) + \" Sent back because: \" + item.getComment() + \".\");\n } else {\n System.out.println(item.getQuantity() + \" \" + item.getName() + \": $\" + String.format(\"%.2f\", item.getTotal()));\n }\n for (Ingredient addedIng : item.getExtraIngredients()) {\n System.out.println(\"add \" + item.getQuantity() + \" \" + addedIng.getName() + \": $\" + String.format(\"%.2f\", addedIng.getPrice() * item.getQuantity()));\n }\n for (Ingredient removedIng : item.getRemovedIngredients()) {\n System.out.println(\"remove \" + item.getQuantity() + \" \" + removedIng.getName() + \": -$\" + String.format(\"%.2f\", removedIng.getPrice() * item.getQuantity()));\n }\n\n }\n System.out.println(\"Total: $\" + getBillPrice() + \"\\n\");\n }", "public void printData () {\n System.out.println (products.toString ());\n }", "public static void inventoryListHeader() {\n System.out.println(\n UI.prettyPrint(\"Items Name\", 15) + \" | \"\n + UI.prettyPrint(\"Price\", 10) + \" | \"\n + UI.prettyPrint(\"Quantity\", 5));\n }", "public String printAllInventory(){\r\n\r\n String returnString = \"Items:\";\r\n for(Item item : playerItem){\r\n returnString += \" \" + item.getName(); \r\n }\r\n return returnString;\r\n }", "public void display() {\r\n System.out.println(\" Cart Information \" + System.lineSeparator() +\r\n \"=========================\" + System.lineSeparator() +\r\n \"Customer ID: \" + getCustID() + System.lineSeparator() + \r\n \"Cart Total: \" + getTotal()+ System.lineSeparator());\r\n items.display();\r\n }", "@Override\r\n\tpublic String toString() {\r\n\t\tStringBuilder builder = new StringBuilder();\r\n\t\tIterator entriesIterator = getEntries();\r\n\r\n\t\twhile(entriesIterator.hasNext()) {\r\n\t\t\tItem item = getCurrentItem(entriesIterator);\r\n\t\t\tbuilder.append(item.getItemDescription().toString());\r\n\t\t\taddNewLine(builder, \" | Quantity: \" + item.getQuantity().toString());\r\n\t\t}\r\n\r\n\t\taddNewLine(builder, \"Total: \" + total.getTotalPrice().toString());\r\n\t\taddNewLine(builder, \"VAT: \" + total.getTotalVAT().toString());\r\n\t\treturn builder.toString();\r\n\t}", "private void printCheckItemQuantityMenu(Shop shop) {\n System.out.println(\"What is the ID of the tool you would like to look up?\");\n int itemId = receiveNumberInput();\n if (shop.searchInventory(itemId)) {\n System.out.println(\"Quantity: \" + shop.checkToolStock(itemId));\n } else {\n System.out.println(\"Tool does not exist or invalid input, please check spelling and try again.\");\n }\n }", "private static void viewCart() {\r\n\t\tSystem.out.println(\"******************************************************************************************\");\r\n\t\tSystem.out.println();\r\n\t\tSystem.out.println(\" The items in your cart\");\r\n\t\tSystem.out.println();\r\n\t\tSystem.out.println(\" Name |Price |Count\");\r\n\t\tfor (Map.Entry<Product, Integer> productCountPair: cart.getCartProductsEntries()) {\r\n\t\t\tStringBuilder productName = generatePaddings(productCountPair.getKey().getName(), PRODUCT_NAME_LENGTH);\r\n\t\t\tStringBuilder price = generatePaddings(convertCentToDollar(productCountPair.getKey().getPriceInCent()), PRICE_LENGTH);\r\n\t\t\tSystem.out.println(\" \" + productName + \"|\" + price + \"|\" + productCountPair.getValue());\r\n\t\t}\r\n\t\tSystem.out.println();\r\n\t\tSystem.out.println(\" Total price: \" + convertCentToDollar(cart.totalPriceInCent()));\r\n\t\tSystem.out.println();\r\n\t\tdisplayCartMenu();\r\n\t}", "public void printCart() {\n\t\tSystem.out.println(\"Items currently in the cart: \\n\");\n\t\tfor (int i =0; i < currentSize; i ++) {\n\t\t\tSystem.out.println(\"Item \" + i + \":\\n\" + Cart[i]);\n\t\t}\n\t}", "void printTotalQuantity();", "public void printInventory(){\n\t\tint i;\n\t\tint listSize = inventory.size();\n\t\tRoll temp;\n\t\tString outputText;\n\t\toutputText = \"Inventory Stocks Per Roll: \";\n\t\t//outputText = inventory.get(0).getRoll().getType() + \" Roll Current stock: \" + inventory.get(0).getStock();\n\t\tfor(i = 0; i < listSize; i++){\n\t\t\tif(i % 3 == 0){\n\t\t\t\toutputText = outputText + \"\\n\";\n\t\t\t}\n\t\t\toutputText = outputText + inventory.get(i).getRoll().getType() + \" : \" + inventory.get(i).getStock() + \" \";\n\t\t}\n\t\tSystem.out.println(outputText);\n\t\tthis.status = outputText;\n\t\tsetChanged();\n notifyObservers();\n\t}", "public void toStrings() {\n String output = \"\";\n output += \"Gen Price: $\" + genPrice + \"0\"+ \"\\n\";\n output += \"Bronze Price: $\" + bronzePrice +\"0\"+ \"\\n\";\n output += \"Silver Price: $\" + silverPrice +\"0\"+ \"\\n\";\n output += \"Gold Price: $\" + goldPrice +\"0\"+ \"\\n\";\n output += \"Vip Price: $\" + vipPrice +\"0\"+ \"\\n\";\n System.out.println(output);\n }", "private void printAvailableBooks() {\n\t\t\n\t}", "public String toString() {\n return (\"Item: \" + itemCode + \" \" + itemName + \" \" + itemQuantityInStock + \" price: $\" + df.format(itemPrice) +\" cost: $\"+ df.format(itemCost) + \" farm supplier: \" + farmName);\n }", "private void viewBackpack() {\n Item[] inventory = GameControl.getSortedInventoryList();\r\n \r\n System.out.println(\"\\n List of inventory Items\");\r\n System.out.println(\"Description\" + \"\\t\" + \r\n \"Required\" + \"\\t\" +\r\n \"In Stock\");\r\n \r\n // For each inventory item\r\n for (Item inventoryItem : inventory){\r\n // Display the description, the required amount and amount in stock\r\n System.out.println(InventoryItem.getType + \"\\t \" +\r\n InventoryItem.requiredAmount + \"\\t \" +\r\n InventoryItem.getQuantity);\r\n }\r\n \r\n }", "public static void printFruits() {\r\n\t\tSystem.out.println(\"\\nFruits Available in our store: \\n\");\r\n\t\tSystem.out.format(\"%5s\\t%10s\\t%10s\\t%10s\\t%10s\\n\", \"Id\", \"Name\", \"Quality\", \"Price\", \"Best Before Use\");\r\n\t\tfor (Fruit fruit : fruits.values()) {\r\n\t\t\tSystem.out.format(\"%5s\\t%10s\\t%10s\\t%10s\\t%10s\\n\", fruit.getId(), fruit.getName(), fruit.getQuality(),\r\n\t\t\t\t\tfruit.getPrice(), fruit.getBestBeforeUse());\r\n\r\n\t\t}\r\n\t\tSystem.out.println();\r\n\t}", "public synchronized String printInventory(){\n String inventStr = \"\";\n\n for (int i = 0; i < titleList.size(); i++){\n inventStr += titleList.get(i) + \" \" + quantityList.get(i);\n if(i < titleList.size() - 1) {\n inventStr +=\"___\";\n }\n }\n return inventStr;\n }", "private void printSupplierList(Shop shop) {\n System.out.println(shop.supplierListToString());\n }", "public void showPurchase(Client c1) {\n\t\tfor(Book book: c1.getBuyBookList()) {\n\t\t\tSystem.out.println(\"Liste des livres acheté : \\nTitre : \" \n\t\t+ book.getTitle() + \"\\nAuteur : \" + book.getAuthor() + \"\\n\");\n\t\t}\n\t}", "public void purchase(){\n\t\t\n\t\t//Ask the user for notes about the item\n\t\tSystem.out.println(\"Please enter any special requests regarding your \" +\n\t\t\t\t\t\t\t\"food item for our staff to see while they prepare it.\");\n\t\tScanner scan = new Scanner(System.in);\n\t\tString foodNotes = scan.nextLine();\n\t\tnotes = foodNotes;\n\t\t\n\t\t//Add this item's price to the order total\n\t\tMenu.orderPrice += price;\n\t\t\n\t}", "public void printCarte() {\r\n\r\n\t\tSystem.out.println(\"Welcome to Yoyo-Restaurant <3\");\r\n\t\tSystem.out.println(\"\");\r\n\t\tSystem.out.println(\"-<3----<3----<3----<3----<3----<3----<3----<3----<3----<3\");\r\n\t\tSystem.out.println(\"Our Menu \");\r\n\t\tfor (Menu menu : items) {\r\n\t\t\tmenu.print();\r\n\t\t}\r\n\r\n\t}", "private void printInfo()\n {\n if(currentRoom.getItems().size() >= 1)\n {\n System.out.println(\"\\n\" + \"Items in room are: \" );\n ArrayList<Item> items = currentRoom.getItems();\n \n for(Item i : items)\n {\n System.out.println(i.getItemName() + i.getDescription()); \n }\n \n }\n \n \n \n if(currentRoom.getWeapons().size() >= 1)\n {\n System.out.println(\"\\n\" + \"Weapons in room are: \" );\n \n ArrayList<Weapon> weapons = currentRoom.getWeapons();\n for(Weapon w : weapons)\n {\n System.out.println(w.getWeaponName() + w.getDescription());\n }\n \n }\n \n \n }", "public void printOrder(){\n System.out.println(count);\n \n double price=0;\n for (product object : this.pro_o) {\n System.out.println(object.getName() + \" quantity : \" + object.getQuantity()+\" price : \" + object.getPrice());\n price+=object.getQuantity()*object.getPrice();\n }\n System.out.println(\"total : \" + price );\n }", "@Override\n public String getDescription() {\n return \"Digital goods purchase\";\n }", "public String toString()\n {\n \treturn \"\" + purchases;\n }", "private static void writeToSaleItems() throws IOException {\n FileWriter write = new FileWriter(path4, false);\n PrintWriter print_line = new PrintWriter(write);\n ArrayList<Product> stock = Inventory.getStock();\n for (int i = 0; i < stock.size(); i++) {\n Product product = (Product) stock.get(i);\n if (product.price.isOnSale()) {\n int UPC = product.getUpc();\n float price = product.price.getSalePrice();\n String period = product.price.getSalePeriod();\n\n textLine = UPC + \" \" + price + \" \" + period;\n\n print_line.printf(\"%s\" + \"%n\", textLine);\n\n }\n }\n print_line.close();\n\n }", "public void printCost() {\r\n double cost;\r\n cost = quantity * price;\r\n System.out.printf(\"Total cost = $%.2f\", cost);\r\n }", "@Override\n public String toString () {\n String stock = \"\";\n\n for (int i = 0; i < inventory.size(); i++) {\n\n Product p = inventory.get(i);\n stock += p.toString() + '\\n';\n }\n return stock;\n }", "public void displayCartContents() {\r\n for (int i = 0; i < numItems; i++) { // Checks all objects in the cart\r\n if ((cart[i].getContents() != \"\")) { // If not item\r\n System.out.println(cart[i].getDescription()); // Display bag description\r\n System.out.println(cart[i].getContents()); // Display contents of bag\r\n } else { // Else it must be item\r\n System.out.println(cart[i].getDescription()); // Display item description\r\n }\r\n }\r\n }", "private void printAllItems() {\n Set<ClothingItem> items = ctrl.getAllItems();\n items.stream().forEach(System.out::println);\n }", "public void diplayAvailableFood() {\n\t\tfor (int i = 0; i < food.size(); i++) {\n\t\t\tSystem.out.print(food.get(i).name + \" \");\n\t\t}\n\t}", "public void printInvoiceInfo() {\r\n\r\n\t\tSystem.out.println(\"\\nBill Summary :\");\r\n\r\n\t\tfor (int i = 0; i <= (numberOfBills - counter); i++) {\r\n\t\t\tSystem.out.println(invoiceInfo[i].toString());\r\n\t\t}\r\n\t}", "public String getItemsString()\n {\n String returnString =\"\";\n if(Inventory.isEmpty()){\n returnString = \"You are not holding any items\";\n } else {\n returnString = \"Items you are holding:\";\n String temp = \"\";\n for(Items item : Inventory.values()) {\n temp += \", \" + item.getName() ; \n }\n returnString += temp.substring(1);\n }\n return returnString;\n }", "@Override\r\n\tpublic String toString() {\r\n\t\tString toReturn = \"\";\r\n\t\ttoReturn = String.format(\"Warehouse Name: %s%nPhone Number: %s%nAddress: %s\", this.name, this.phone, this.address);\r\n\t\ttoReturn += String.format(\"%nInventory Stock:%n%-30s|%-15s|%-15s|%-20s|%-15s|%-10s\", \"Product Name\", \"Wholesale Cost\", \"Retail Price\", \"Product Category\", \"Quantity Sold\", \"In Stock\");\r\n\t\tIterator<Integer> productCodes = inventory.keySet().iterator();\r\n\t\twhile(productCodes.hasNext()) {\r\n\t\t\tint code = productCodes.next();\r\n\t\t\tint inStock = inventory.get(code);\r\n\t\t\tif(inStock >= 0) {\r\n\t\t\t\tfor(Product p : Data.productArr) {\r\n\t\t\t\t\tif(p.getID() == code) {\r\n\t\t\t\t\t\ttoReturn += \"\\n\" + p.toString() + \"|\" + inStock;\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\treturn toReturn;\r\n\t}", "public String toString() {\n\t\treturn getUserName() + \" quote: \" + getProduct() + \" \" + buy.getPrice() + \" x \" + buy.getRemainingVolume() \n\t\t\t\t+ \" (Original Vol: \" + buy.getOriginalVolume() + \", CXL'd Vol: \" + buy.getCancelledVolume()\n\t\t\t\t+ \") [\" + buy.getId() + \"]\"+ \" - \" + sell.getPrice() + \" x \" + sell.getRemainingVolume()\n\t\t\t\t+ \" (Original Vol: \" + sell.getOriginalVolume() + \", CXL'd Vol: \" + sell.getCancelledVolume()\n\t\t\t\t+ \") [\" + sell.getId() + \"]\";\n\t}", "private void loadInv() {\n\t\titem = Main.inventory.business.getAllBaked();\n\t\tString test = \"ID, Name, Amount, Price\\n\";\n\t\t//formatting for string to load into the screen\n\t\tfor(int i=0 ; i< item.size() ; i++) {\n\t\t\ttest += (i+1) + \" \" + item.get(i).getName() +\", \" \n\t\t\t\t\t+ item.get(i).getQuantity() + \n\t\t\t\t\t\", $\"+ Main.inventory.business.getItemCost(item.get(i).getName()) +\"\\n\";\n\t\t}\n\t\tthis.inv.setText(test);\n\t}", "private void generateReceipt(){\n ArrayList<Product> productList = cart.getProductList();\n ArrayList<Float> costsList = cart.getCostsList();\n for (int i=0; i<productList.size(); i++){\n String quantity = \"\"+productList.get(i).getQuantity();\n String name = \"\"+productList.get(i).getName();\n String cost = \"\"+Math.round(costsList.get(i) * 100.0) / 100.0;\n //String cost = \"\"+costsList.get(i);\n \n reciept.addLine(quantity+\" \"+name+\": \"+cost);\n }\n \n reciept.addLine(\"Total Taxes: \"+Math.round(cart.getTotalTax() * 100.0) / 100.0);\n reciept.addLine(\"Total: \"+ Math.round((cart.getTotalTax()+cart.getTotalCost()) * 100.0) / 100.0);\n // print reciept\n }", "public void display() {\n \t\tSystem.out.printf(\"|%6s \", String.valueOf(idNumber));\n\t\tSystem.out.printf(\"|%13s |\", name);\n\t\tSystem.out.printf(\"%10s |\", quantity);\n\t\tSystem.out.printf(\"%8.2f |\", price);\n\t\tSystem.out.printf(\"%16s |\", \" \");\n\t\tSystem.out.printf(\"%16s |\", \" \");\n\t\tSystem.out.println();\n }", "public String[] listItems() {\n \n\t\tif (itemCount==0) {\n\t\t\tSystem.out.println(\"\\tNo items available.\\n\");\n\t\t}\n\t\telse {\n\t\t\tfor(int index = 1; index<=itemCount; index++) {\n VendItem s = stock[index-1];\n itemList[index-1]=(s.getName());\n\t\t\t}\n System.out.println();\n \n }\n return itemList;\n\n }", "public void printWeaponShop(List<Weapon> list, boolean isBuy) {\n\t\tSystem.out.println(\"Weapon List\");\n\t\t//String name, BigDecimal price, int minLevelReq, BigDecimal weaponDmg, int handWield\n\t\tSystem.out.println(\"ID\\tName\\t\\tPrice\\tMin Level \\tDamage\\tHands to Wield\");\n\t\tSystem.out.println(\"============================================================================================\");\n\t\tint id = 1;\n\t\tfor(Weapon w : list) {\n\t\t\n\t\t\tSystem.out.printf(id++ + \"\\t\" + w.getName() + \"\\t\\t\");\n\t\t\t\n\t\t\tif(isBuy) {\n\t\t\t\tSystem.out.printf(w.getPrice().toString());\n\t\t\t} else {\n\t\t\t\tSystem.out.printf(w.getPrice().multiply(new BigDecimal(\"0.5\")).toString());\n\t\t\t}\n\t\t\tSystem.out.printf(\"\\t\"+ w.getMinLevelReq() + \"\\t\" + w.getWeaponDmg()\n\t\t\t\t\t+ \"\\t\\t\" + w.getHandWield());\n\t\t\t\n\t\t\t\n\t\t\tSystem.out.println();\n\t\t}\n\t\tSystem.out.println();\n\t\t\n\t}", "private void printAllProducts()\n {\n manager.printAllProducts();\n }", "private void checkout() {\n System.out.printf(\n \"Total + Tax %12s%n\", getTotal(cart)\n );\n }", "public static void main(String[] args) {\n\t\tCatalog catalog = Catalog.getInstance();\n\t\tSystem.out.print(catalog);\n\t\tBasket basket = BasketFactory.getBasket();\n\t\tScanner scanner = new Scanner(System.in);\n\t\tfor (PricedItem pricedItem : catalog.getPricedItems()) {\n\t\t\tSystem.out.println(\"Please enter the number of \" + pricedItem + \" required\");\n\t\t\ttry {\n\t\t\t\tint quantity = scanner.nextInt();\n\t\t\t\tif (quantity < 0) {\n\t\t\t\t\texitAsInvalidInput();\n\t\t\t\t}\n\t\t\t\tbasket.add(new LineItemImpl(pricedItem, quantity));\n\t\t\t} catch (java.util.InputMismatchException e) {\n\t\t\t\tscanner.close();\n\t\t\t\te.printStackTrace();\n\t\t\t\texitAsInvalidInput();\n\t\t\t} \n\t\t}\n\t\tscanner.close();\n\t\tSystem.out.println(\"Thank you for shopping. Your total cost of basket is calaculated as GBP \" + basket.getTotalCost());\n\t}", "public void showInventory()\n\t{\n\t\tSystem.out.print(\"________________________________________________________\"\n\t\t\t+ \"__________________\\n\\n\");\n\t\tSystem.out.print(\"\\t\\t\\t\\tInventory\");\n\t\t\n\t\tfor (String s: inventory)\n\t\t{\n\t\t\tSystem.out.print(\"\\n\" + s);\n\t\t}\n\t\t\n\t\tSystem.out.print(\"\\n\\n[R] Return\\n\");\n\t\tSystem.out.print(\"________________________________________________________\"\n\t\t\t+ \"__________________\\n\\n\");\n\t\tSystem.out.print(\"Action: \");\n\t\t\n\t}", "public void printOL() {\n\t\tString format = \"%-30s %30s %n\";\n\t\tSystem.out.format(format,\"Item Name:\",this.item.getName());\n\t\tSystem.out.format(format,\"Quantity:\",this.quantity);\n\t\tSystem.out.format(format,\"Supplier:\",this.supplierName);\n\t\t\n\t}", "private static double checkOrder() {\n double total = 0;\n System.out.println();\n System.out.println(\"Your total order : \");\n System.out.println();\n System.out.printf(\"%2s. %-40s %3s %8s%n\", \"No\", \"Title\", \"Qty\", \"Price\");\n for (int i = 0, j = 1; i < menuItems.length; i++) {\n if (menuOrder[i] == 0) continue;\n double price = menuOrder[i] * menuPrices[i];\n total += price;\n System.out.printf(\"%2d. %-40s %3d %8.2f Baht%n\", j, menuItems[i], menuOrder[i], price);\n j++;\n }\n System.out.printf(\"%47s: %8.2f Baht%n\", \"Total\", total);\n return total;\n }", "public static void listStockPrice(String CompanyName[]) {\n System.out.println(\"\\nCompany Stock Prices Stocks Available\");\n System.out.println(CompanyName[0] + \"\\t $\" + StockPrice[0] + \"\\t \" + StockAvail[0]);\n System.out.println(CompanyName[1] + \"\\t $\" + StockPrice[1] + \"\\t \" + StockAvail[1]);\n System.out.println(CompanyName[2] + \"\\t $\" + StockPrice[2] + \"\\t \" + StockAvail[2]);\n System.out.println(CompanyName[3] + \"\\t $\" + StockPrice[3] + \"\\t \" + StockAvail[3]);\n System.out.println(CompanyName[4] + \"\\t $\" + StockPrice[4] + \"\\t \" + StockAvail[4]);\n System.out.println(CompanyName[5] + \"\\t $\" + StockPrice[5] + \"\\t \" + StockAvail[5]);\n }", "private void viewPurchases(User user, Scanner sc) {\n\n\t\tboolean run = true;\n\t\tdo {\n\t\t\tlog.info(\"The Following are your Purchases\\n\");\n\t\t\tList<Item> purchased = cService.seeOwnedItems(user);\n\t\t\tpurchased.stream().forEach(item -> log.info(item.toString()));\n\n\t\t\tlog.info(\"Choose an option:\");\n\t\t\tlog.info(\"\t\tPress anything else to exit\");\n\t\t\tString choice = sc.nextLine();\n\t\t\tswitch (choice) {\n\t\t\tdefault:\n\t\t\t\tlog.info(\"\\nGoing back to the Customer Dashboard\\n\");\n\t\t\t\trun = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t} while (run);\n\t}", "@Override\n public String toString() {\n StringBuilder builder = new StringBuilder();\n if(validItem) {\n builder.append(amount);\n builder.append(\"x\\t\" + itemInfo.getName() + \"\\n\");\n builder.append(\"Item description:\\n\" + itemInfo.getDescription() + \"\\n\");\n } else {\n builder.append(\"INVALID ITEM\\n\");\n }\n builder.append(\"Running total: \");\n builder.append(salePrice);\n builder.append(\"\\n\");\n return builder.toString();\n }", "public String toString() {\r\n\t\treturn super.display() + \"\\n\" + listAllCards() + \r\n\t\t\t\t\"Purchased tickets: \\n\" + listAllTickets() +\r\n\t\t\t\t\"___________________________________________\";\r\n\t}", "public void showAllProducts() {\n try {\n System.out.println(Constants.DECOR+\"ALL PRODUCTS IN STORE\"+Constants.DECOR_END);\n List<Product> products = productService.getProducts();\n System.out.println(Constants.PRODUCT_HEADER);\n for (Product product : products) { \n System.out.println((product.getName()).concat(\"\\t\\t\").concat(product.getDescription()).concat(\"\\t\\t\")\n .concat(String.valueOf(product.getId()))\n .concat(\"\\t\\t\").concat(product.getSKU()).concat(\"\\t\").concat(String.valueOf(product.getPrice()))\n .concat(\"\\t\").concat(String.valueOf(product.getMaxPrice())).concat(\"\\t\")\n .concat(String.valueOf(product.getStatus()))\n .concat(\"\\t\").concat(product.getCreated()).concat(\"\\t\\t\").concat(product.getModified())\n .concat(\"\\t\\t\").concat(String.valueOf(product.getUser().getUserId())));\n }\n } catch (ProductException ex) {\n System.out.println(ex);\n }\n }", "public String chooseItem() {\n console.promptForString(\"\");\n console.promptForPrintPrompt(\"PLEASE ENTER THE NAME OF THE ITEM TO PURCHASE\");\n console.promptForPrintPrompt(\"-----------------------\");\n String toBuy = console.promptForString(\"BUY: \");\n\n return toBuy;\n }", "private static String displayItemFromBag(String[] inventory, String option){\r\n String itemToDoAction;\r\n int counter = 1;\r\n if(option.equals(\"Equip\")){\r\n for(int i = 0; i < inventory.length; i++){\r\n if(inventory[i].equals(\"Short Sword\") || inventory[i].equals(\"Leather Helmet\") || inventory[i].equals(\"Leather Chest Plate\")\r\n || inventory[i].equals(\"Long Sword\") || inventory[i].equals(\"Great Sword\") || inventory[i].equals(\"Iron Helmet\") \r\n ||inventory[i].equals(\"Iron Chest Plate\") || inventory[i].equals(\"Iron Boots\") || inventory[i].equals(\"Iron Gloves\")){\r\n System.out.println(\"\\t\" + counter + \") \" + inventory[i]);\r\n counter++;\r\n }\r\n }\r\n System.out.println(\"\\t\" + counter + \") Exit\");\r\n itemToDoAction = getUserInput(\"Which item would you like to equip? \\n(Type the name of the item) \");\r\n }else if(option.equals(\"Sell\")){\r\n for(int i = 0; i < inventory.length; i++){\r\n if(inventory[i].equals(\"Short Sword\") || inventory[i].equals(\"Leather Helmet\") || inventory[i].equals(\"Leather Chest Plate\")\r\n || inventory[i].equals(\"Long Sword\") || inventory[i].equals(\"Great Sword\") || inventory[i].equals(\"Iron Helmet\") \r\n ||inventory[i].equals(\"Iron Chest Plate\") || inventory[i].equals(\"Iron Boots\") || inventory[i].equals(\"Iron Gloves\")){\r\n System.out.println(\"\\t\" + counter + \") \" + inventory[i]);\r\n counter++;\r\n }\r\n }\r\n System.out.println(\"\\t\" + counter + \") Exit\");\r\n itemToDoAction = getUserInput(\"Which item would you like to sell? \\n(Type the name of the item) \");\r\n }else if(option.equals(\"Use\")){\r\n System.out.println(\"we here\");\r\n for(int i = 0; i < inventory.length; i++){\r\n if(inventory[i].equals(\"Healing Potion\") || inventory[i].equals(\"Greater Healing Potion\") || inventory[i].equals(\"Scroll of Fireball\")){\r\n System.out.println(\"\\t\" + counter + \") \" + inventory[i]);\r\n counter++;\r\n }\r\n }\r\n System.out.println(\"\\t\" + counter + \") Exit\");\r\n itemToDoAction = getUserInput(\"Which item would you like to use? \\n(Type the name of the item) \");\r\n }else{\r\n itemToDoAction = \"\";\r\n }\r\n return itemToDoAction;\r\n }", "public String getItem()\n {\n // put your code here\n return \"This item weighs: \" + weight + \"\\n\" + description + \"\\n\";\n }", "public void displayAll() {\r\n \t Item currentItem;\r\n \t \r\n \t System.out.println(\"-----BOOKS-----\");\r\n \t for(int i=0; i<items.size(); i++) {\r\n \t currentItem = items.get(i);\r\n \t \t //This next line checks if the current item is a book.\r\n \t if(currentItem.getItemType() == Item.ItemTypes.BOOK) \r\n \t System.out.println(currentItem.toString());\r\n \t }\r\n \t \t\r\n \t System.out.println(\"-----MAGAZINES-----\");\r\n \t for(int i=0; i<items.size(); i++) {\r\n \t currentItem = items.get(i);\r\n \t \t //This next line checks if the current item is a magazine.\r\n \t if(currentItem.getItemType() == Item.ItemTypes.MAGAZINE)\r\n \t System.out.println(currentItem.toString());\r\n \t }\r\n\r\n }", "public void printReport(){\n StdOut.println(name);\n double total = cash;\n for (int i=0; i<n; i++){\n int amount = shares[i];\n double price = StockQuote.priceOf(stocks[i]);\n total+= amount*price;\n StdOut.printf(\"%4d %5s \", amount, stocks[i]);\n StdOut.printf(\"%9.2f %11.2f\\n\", price, amount*price);\n }\n StdOut.printf(\"%21s %10.2f\\n\", \"Cash: \", cash);\n StdOut.printf(\"%21s %10.2f\\n\", \"Total: \", total);\n }", "public void getPrice(){\n System.out.println(\"Price: $\" + price); \n }", "public static void display(){\n \n //create an array : Remember positions\n //wheat= 0\n //Land = 1 \n //Population = 2\n \n String[] items = {\"Wheat\", \"Land\", \"Population\"};\n \n \n // call the crops object \n Crops theCrops = Game.getCrop();\n \n //get wheat\n int wheat = theCrops.getWheatInStore();\n \n //get land (acres)\n int acres = theCrops.getAcres();\n \n //get population \n \n int population = theCrops.getPopulation();\n \n //print results \n \n System.out.println(\"\\nInventory List:\");\n //wheat \n System.out.println(\"Wheat in Store:\" + wheat + \" bushels of \" + items[0]);\n //acres\n System.out.println(\"Acres of Land owned:\" + acres + \" acres of \" + items[1]);\n \n //population\n System.out.println(\"Current population:\" + population + \" people in the \" + items[2]);\n \n \n \n }", "@Override\r\n \tpublic String toString() {\n \t\tString itemString = \"\" + item.getTypeId() + ( item.getData().getData() != 0 ? \":\" + item.getData().getData() : \"\" );\r\n \t\t\r\n \t\t//saving the item price\r\n \t\tif ( !listenPattern )\r\n \t\t\titemString += \" p:\" + new DecimalFormat(\"#.##\").format(price);\r\n \t\t\r\n \t\t//saving the item slot\r\n \t\titemString += \" s:\" + slot;\r\n \t\t\r\n \t\t//saving the item slot\r\n \t\titemString += \" d:\" + item.getDurability();\r\n \t\t\r\n \t\t//saving the item amounts\r\n \t\titemString += \" a:\";\r\n \t\tfor ( int i = 0 ; i < amouts.size() ; ++i )\r\n \t\t\titemString += amouts.get(i) + ( i + 1 < amouts.size() ? \",\" : \"\" );\r\n \t\t\r\n \t\t//saving the item global limits\r\n \t\tif ( limit.hasLimit() ) \r\n \t\t\titemString += \" gl:\" + limit.toString();\r\n \t\t\r\n \t\t//saving the item global limits\r\n \t\tif ( limit.hasPlayerLimit() ) \r\n \t\t\titemString += \" pl:\" + limit.playerLimitToString();\r\n \t\t\r\n \t\t//saving enchantment's\r\n \t\tif ( !item.getEnchantments().isEmpty() ) {\r\n \t\t\titemString += \" e:\";\r\n \t\t\tfor ( int i = 0 ; i < item.getEnchantments().size() ; ++i ) {\r\n \t\t\t\tEnchantment e = (Enchantment) item.getEnchantments().keySet().toArray()[i];\r\n \t\t\t\titemString += e.getId() + \"/\" + item.getEnchantmentLevel(e) + ( i + 1 < item.getEnchantments().size() ? \",\" : \"\" );\r\n \t\t\t}\r\n \t\t}\r\n \t\t\r\n \t\t//saving additional configurations\r\n \t\tif ( stackPrice )\r\n \t\t\titemString += \" sp\";\r\n \t\tif ( listenPattern )\r\n \t\t\titemString += \" pat\";\r\n \t\t\r\n \t\treturn itemString;\r\n \t}", "@Override\r\n\t\t\tpublic void buy(String security, double price, int volume) {\n\t\t\t\tSystem.out.println(\"buy is\"+price+volume);\r\n\t\t\t\t\r\n\t\t\t}", "public void listProductList(List<Item> productList) {\n\t\tIterator<Item> iterator = productList.listIterator();\n\t\twhile(iterator.hasNext()) {\n\t\t\tItem item = (Item) iterator.next();\n\t\t\tSystem.out.println();\n\t\t\tSystem.out.println(\"Item id: \" + item.getId());\n\t\t\tSystem.out.println(\"Name: \" + item.getName());\n\t\t\tSystem.out.println(\"Description: \" + item.getDescription());\n\t\t\tif(item.getQuantity() <= 0)\n\t\t\t\tSystem.out.println(\"Quantity: \"+ \"Out of Stock!! (You cannot buy this item right now)\");\n\t\t\telse\n\t\t\t\tSystem.out.println(\"Quantity: \" + item.getQuantity());\n\t\t\tSystem.out.println(\"Price per item: \" + item.getPrice());\n\t\t\tSystem.out.println();\n\t\t}\n\t}", "public void printPotionShop(List<Potion> list, boolean isBuy) {\n\t\tSystem.out.println(\"Potion List\");\n\t\t//String name, BigDecimal price, int minLevelReq, BigDecimal weaponDmg, int handWield\n\t\tSystem.out.println(\"ID\\tName\\t\\tPrice\\tMin Level\\tIncrease\\tAttributes\");\n\t\tSystem.out.println(\"============================================================================================\");\n\t\tint id = 1;\n\t\tfor(Potion p : list) {\n\t\t\n\t\t\tSystem.out.printf(id++ + \"\\t\" + p.getName() + \"\\t\\t\" );\n\t\t\tif(isBuy) {\n\t\t\t\tSystem.out.printf(p.getPrice().toString());\n\t\t\t} else {\n\t\t\t\tSystem.out.printf(p.getPrice().multiply(new BigDecimal(\"0.5\")).toString());\n\t\t\t}\n\t\t\tSystem.out.printf(\"\\t\"+ p.getMinLevelReq() + \"\\t\" + p.getAmount()\t+ \"\\t\");\n\t\t\tfor(StatType t : p.getTypes()) {\n\t\t\t\tSystem.out.printf(t.toString() + \" \");\n\t\t\t}\n\t\t\n\t\t\t\n\t\t\tSystem.out.println();\n\t\t}\n\t\tSystem.out.println();\n\t\t\n\t}", "public void getPrice() {\n\t System.out.println(\"Price: $\" + price);\n }", "public static void main(String [] args)\n {\n //create Scanner to obtain input from command window\n Scanner input = new Scanner(System.in);\n \n double item1 = 239.99;// item 1 price \n double item2 = 129.75;// item 2 price\n double item3 = 99.95;// item 3 price\n double item4 = 350.89;// item 4 price\n int a;// number of item1\n int b;// number of item2\n int c;// number of item3\n int d;// number of item4\n double comm = .09;// commision rate\n double total;// total sales\n \n // # of item 1 \n System.out.print(\"Number of item 1 sold: \"); //prompt\n a = input.nextInt(); \n \n // # of item 2 \n System.out.print(\"Number of item 2 sold: \"); //prompt\n b = input.nextInt(); \n \n // # of item 3\n System.out.print(\"Number of item 3 sold: \"); //prompt\n c = input.nextInt(); \n \n // # of item 4 \n System.out.print(\"Number of item 4 sold: \"); //prompt\n d = input.nextInt(); \n \n // total of all items sold\n total = a * item1 + b * item2\n + c * item3 + d * item4;\n \n // displays total of sales done by sales person\n System.out.printf(\" Total Sales: %.2f\" , ( double ) total );\n \n // displays Earnings of Salesperson for the week\n System.out.printf( \"\\n Total weeks pay: %.2f \" , ( double ) total * comm + 200 );\n \n input.close();\n }", "public void print(){\r\n\t\t\t\r\n\t\t\tint i=1;\r\n\t\t\t//Iterator<Receipt> iter=reciptlist.iterator();\r\n\t\t\t\r\n\t\t\tfor(Receipt R : reciptlist){\r\n\t\t\t\r\n\t\t\t\tSystem.out.println( \"--------------------------------------\");\r\n\t\t\t\tSystem.out.println( \"Reciet number: \" +i );\r\n\t\t\t\t\t\r\n\t\t\t\t\tSystem.out.println( \"ShoeType: \" + R.getShoeType());\r\n\t\t\t\t\tSystem.out.println( \" Amount: \" + R.getAmountSold());\r\n\t\t\t\t\tSystem.out.println( \" Discounted: \" + R.getDiscount());\r\n\t\t\t\t\tSystem.out.println( \" issuedTick : \" + R.getIssuedTick());\r\n\t\t\t\t\tSystem.out.println( \" requestd tick : \" + R.getRequestTick());\r\n\t\t\t\t\tSystem.out.println( \" customer : \" + R.getCustomer());\r\n\t\t\t\t\tSystem.out.println( \" seller : \" + R.getSeller());\r\n\t\t\t\t\t\r\n\t\t\t\t\ti++;\r\n\t\t\t\t}\r\n\t\r\n\t\t\t}", "void printOrder(double newBonus) {\n System.out.println(getDate());\n System.out.println();\n System.out.println(getCode());\n System.out.println();\n System.out.println(\"buyer name :\" + getBuyer().getName() + \" - \" + \"buyer id :\" + getBuyer().getCode());\n System.out.println();\n for(Product x : getBuy()) {\n System.out.println(\"code: - \" + x.getCode() + \", product: - \" + x.getName() + \" - amount - \" + x.getAmt() + \" prise - \" + x.getPrice() + \" sum - \" + x.getAmt()*x.getPrice());\n sum += x.getAmt()*x.getPrice();\n }\n System.out.println();\n System.out.println(\"your bonus is - \" + getBuyer().getBonus());\n System.out.println();\n System.out.println(\"the amount of your purchase - \" + (getSum()-getBuyer().getBonus()));\n System.out.println();\n System.out.println();\n System.out.println(\"Your bonus will be with the next purchase - \" + newBonus);\n\n }", "public static void display(){\n\n try {\n Connection myConnection = ConnectionFactory.getConnection();\n Statement stat = myConnection.createStatement();\n ResultSet rs = stat.executeQuery(\"SELECT * from product\");\n\n System.out.println(\"PRODUCT\");\n while(rs.next()){\n\n System.out.println(rs.getInt(\"id\") + \", \" + rs.getString(\"quantity\") + \", \" + rs.getString(\"productName\") + \", \" + rs.getDouble(\"price\")+ \", \" + rs.getString(\"deleted\"));\n }\n } catch (SQLException e) {\n e.printStackTrace();\n }\n System.out.println();\n\n }", "public static void main(String[] arg) {\n\t\tItem item = null;;\r\n\t\tList<Item> itemList = new ArrayList<Item>();\r\n\t\t\r\n\t\titem = new Item(GlobalConstants.ULT_SMALL,1,new BigDecimal(24.90),\"\");\t\t\r\n\t\titemList.add(item);\t\t\r\n\t\titem = new Item(GlobalConstants.ULT_MEDIUM,2,new BigDecimal(29.90),\"\");\t\t\t\r\n\t\titemList.add(item);\t\r\n \t\titem = new Item(GlobalConstants.ULT_LARGE,3,new BigDecimal(44.90),\"\");\t\t\t\t\r\n\t\titemList.add(item);\r\n\t\titem = new Item(GlobalConstants.ONE_GB,1,new BigDecimal(9.90),\"\");\t\t\t\t\t\r\n\t\titemList.add(item);\r\n\t\t\r\n\t\tShoppingCartService cartService = new ShoppingCartService(itemList);\r\n\t\tcartService.processOrder();\r\n\t\tcartService.displayCart();\r\n\t\t \r\n\t\t\r\n\t}", "private void display(){\n out.println(\"\\n-STOCK EXCHANGE-\");\n out.println(\"Apple - Share Price: \" + game.apple.getSharePrice() + \" [\" + game.apple.top() + \"]\");\n out.println(\"BP - Share Price: \" + game.bp.getSharePrice() + \" [\" + game.bp.top() + \"]\");\n out.println(\"Cisco - Share Price: \" + game.cisco.getSharePrice() + \" [\" + game.cisco.top() + \"]\");\n out.println(\"Dell - Share Price: \" + game.dell.getSharePrice() + \" [\" + game.dell.top() + \"]\");\n out.println(\"Ericsson - Share Price: \" + game.ericsson.getSharePrice() + \" [\" + game.ericsson.top() + \"]\");\n\n out.println(\"\\n-PLAYERS-\");\n// System.out.println(playerList.toString());\n for (Player e : playerList) {\n if (e.equals(player)) {\n out.println(e.toString() + \" (you)\");\n } else {\n out.println(e.toString());\n }\n }\n }" ]
[ "0.75774705", "0.72539127", "0.72387564", "0.72203445", "0.7144309", "0.710595", "0.7053035", "0.7046473", "0.7006398", "0.6927535", "0.6907373", "0.6841359", "0.68350667", "0.6831242", "0.68270403", "0.67978436", "0.6776292", "0.6773225", "0.67642176", "0.67588705", "0.6723876", "0.6717271", "0.66998446", "0.6695089", "0.66917676", "0.66733265", "0.66724247", "0.6663413", "0.6647518", "0.662951", "0.66234815", "0.6604365", "0.6600207", "0.65853125", "0.65624565", "0.65355104", "0.65218204", "0.6511417", "0.65004265", "0.6480372", "0.6478342", "0.647372", "0.6439424", "0.64359", "0.6435594", "0.6433589", "0.6412324", "0.6400816", "0.6373517", "0.6368343", "0.6356458", "0.6356212", "0.6350958", "0.6348226", "0.63163286", "0.6313757", "0.63096213", "0.6303483", "0.6281028", "0.6275701", "0.6250807", "0.62440246", "0.62425154", "0.6240078", "0.623613", "0.6235327", "0.6234047", "0.62200695", "0.62110204", "0.619611", "0.61924577", "0.61825895", "0.61818784", "0.6174448", "0.6166461", "0.6161158", "0.6152072", "0.6148476", "0.6145305", "0.6145025", "0.6137185", "0.6132096", "0.6126279", "0.6122039", "0.610582", "0.6105252", "0.6104033", "0.6102915", "0.6098867", "0.6097824", "0.60941714", "0.6085804", "0.60798687", "0.60748625", "0.60713726", "0.60701644", "0.60675955", "0.6067342", "0.6049829", "0.60443586", "0.6041926" ]
0.0
-1
looks to see if there's anything here. Returns true if there isn't
boolean isItEmpty(){ if (this.items.isEmpty() && (this.receptacle.isEmpty() || findSpecialtyContainers())){//if there's nothing in there. System.out.println("\nThere's nothing here to do anything with."); return true;} return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\tpublic boolean hasNext() {\n\t\t\treturn (!stack.isEmpty() || localRoot!=null);\n\t\t}", "@Override\r\n\tpublic boolean isEmpty() {\n\t\treturn top==null;\r\n\t}", "public boolean isEmpty() {\n return this.top == null;\n }", "public boolean isEmpty()\r\n {\n return this.top == null;\r\n }", "public boolean isEmpty() {\r\n return (top == null);\r\n }", "public boolean isEmpty()\n\t{\n\t\treturn top == null;\n\t}", "public boolean hasNext() {\n\t\tMemoryBlock dummyTail = new MemoryBlock(-1, -1); // Dummy for tail\n\t\tboolean hasNext = (current.next.block.equals(dummyTail));\n\t\treturn (!hasNext);\n\t}", "public boolean isEmpty() {\n\n return (top == null);\n }", "public boolean isEmpty() {\n\t\treturn (top == null) ? true : false;\n\t}", "public boolean isEmpty() {\n\t\t\n\t\treturn top == null;\n\t}", "public boolean isEmpty() {\n return top == null;\n }", "public boolean isEmpty() {\n return top == null;\n }", "public boolean isEmpty() { return curChunker() == null; }", "public boolean isEmpty(){\n if(top == null)return true;\n return false;\n }", "@Override\r\n\t\tpublic boolean hasNext() {\r\n\t\t\t\r\n\t\t\treturn currentNode.nextNode != null;\r\n\t\t}", "public boolean isEmpty() {\n\t\treturn front == null;\n\t}", "public boolean isEmpty() {\n return (this.top == 0);\n }", "private boolean hasNext() {\n\t\treturn iterator != null;\n\t}", "public boolean hasItem() {\n return (this.curItem != null);\n }", "public boolean empty()\n {\n return firstLink == null;\n }", "@Override\n\tpublic boolean isEmpty() {\n\t\treturn first == null;\n\t}", "public boolean empty(){\n return this.top == -1;\n }", "@Override\n\t\tpublic boolean hasNext() {\n\t\t\treturn (this.next != null);\n\t\t}", "@Override\r\n\tpublic boolean isEmpty() {\r\n\t\treturn topIndex < 0;\r\n\t}", "public boolean isEmpty() {\n if(this.top== -1) {\n return true;\n }\n return false;\n }", "boolean isEmpty() {\n // -\n if(top == null)\n return true;\n return false;\n }", "@Override\n public boolean isEmpty(){\n return this.first == null;\n }", "@Override\n\t\tpublic boolean hasNext() {\t\t\t\n\t\t\treturn current != null;\n\t\t}", "@Override\n\tpublic boolean isEmpty() {\n\t\treturn top < 0;\n\t}", "public boolean isEmpty()\r\n\t{\r\n\t\treturn top<=0;\r\n\t}", "public boolean isEmpty(){\n return (top == 0);\n }", "@Override\n public boolean hasNext() {\n\n return curr.nextNode != null && curr.nextNode != tail;\n }", "public boolean containsAtMostOneItem() {\n boolean contains;\n if (start==null | start.next==null) {\n contains = true;\n }\n return contains;\n }", "public boolean empty() { \n if (top == -1) {\n return true;\n }\n else {\n return false;\n }\n }", "@Override\r\n public boolean hasNext() {\r\n return node.next() != tail;\r\n }", "public boolean isEmpty() {\n\t\treturn first == null;\n\t}", "public boolean isEmpty() {\n\t\treturn first == null;\n\t}", "public boolean hasMore(){\r\n return curr != null;\r\n }", "public boolean hasNoParents()\r\n\t{\treturn (this.strongParents.isEmpty()) && (this.weakParents.isEmpty());\t}", "public boolean isEmpty() {\n return downStack.isEmpty();\n }", "default boolean hasChildren() {\n return iterator().hasNext();\n }", "public boolean hasChildren()\n/* */ {\n/* 487 */ return !this.children.isEmpty();\n/* */ }", "@Override\n public boolean hasNext() {\n return null != current;\n }", "public boolean hasNext() {\r\n return (length > 0);\r\n }", "public boolean isEmpty() {\n return top==-1;\n }", "public boolean isEmpty() {\n return this.first == null;\n }", "public boolean moreToIterate() {\r\n\t\treturn curr != null;\r\n\t}", "boolean isEmpty() {\n return (bottom < top.getReference());\n }", "public boolean hasNext() {\n\t\t\tif (pointerIndex == (gameObjects.size() - 1) )\n\t\t\t\treturn false;\n\t\t\telse if (gameObjects.size ( ) <= 0)\n\t\t\t\treturn false;\n\t\t\treturn true;\n\t\t}", "public boolean hasNext() { return (current != null && current.item != null); }", "public boolean hasNext() {\n\t\treturn next_node == null;\n\t}", "public boolean isEmpty()\n\t{\n\t\treturn (head == null);\n\t}", "public boolean isEmpty() {\n return topIndex < 0;\n }", "@Override\r\n\tpublic boolean isEmpty() {\r\n\t\treturn stack.isEmpty();\r\n\t}", "public boolean hasEntries(){\n\t\treturn ! errorList.isEmpty();\n\t}", "@Override\r\n\t\tpublic boolean hasNext() {\n\t\t\treturn current!=null;\r\n\t\t}", "@Override\n public boolean hasNext() {\n return this.nextObject != null;\n }", "public boolean isEmpty() {\n return (first == null);\n }", "public boolean isEmpty() {\n return (first == null);\n }", "public boolean isEmpty(){\n \treturn top==-1;\n\t}", "@Override\r\n public boolean hasNext() {\r\n return (next.data != null);\r\n }", "private boolean isEmpty() {return first == null;}", "public boolean isFull() {\n int size = 0;\n for (int i = 0; i < items.length; i++) {\n if (items[i] != null) {\n size++;\n }\n }\n return size == items.length;\n }", "private boolean isThereMoreData() {\n return nextUrl != null;\n }", "public boolean isEmpty() {\n\t return first == null;\n }", "public boolean isEmpty() {\n return first == null;\n }", "public boolean isEmpty() {\n return first == null;\n }", "public boolean isEmpty() {\n return first == null;\n }", "public boolean isEmpty() {\n return first == null;\n }", "public boolean isEmpty() {\r\n return first == null;\r\n }", "public boolean isEmpty()\n {\n return first == null;\n }", "private boolean isEmpty()\r\n\t{\r\n\t\treturn getRoot() == null;\r\n\t}", "boolean isEmpty() {\r\n\t\treturn top==0;\r\n\t}", "public boolean isEmpty() {\n\t\treturn(head == null);\t\t\n\t}", "public boolean isEmpty(){\n\t\treturn start == null;\n\t}", "public boolean isEmpty()\r\n\t{\r\n\t\treturn start == null; // returns to null if true.\r\n\t}", "@Override\n\tpublic boolean isEmpty() {\n\t\tif (head == null) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}", "@Override\n\tpublic boolean isEmpty() {\n\t\treturn firstNode.equals(null);\n\t}", "@Override\n public boolean hasNext() {\n return (nextItem != null);\n }", "@Override\n\t\tpublic boolean hasNext() {\n\t\t\treturn nextNode != null;\n\t\t}", "public boolean isFull() {\n return (this.top == this.stack.length);\n }", "public boolean isEmpty() {\n\t\treturn head == null;\n\t}", "public boolean isEmpty() {\n\t\treturn head == null;\n\t}", "public boolean isEmpty() {\n\t\treturn head == null;\n\t}", "public boolean isEmpty() {\n\t\treturn head == null;\n\t}", "@Override\n\tpublic boolean hasNext() {\n\t return current != null;\n\t}", "public boolean empty() {\n return popStack.empty() && pushStack.empty();\n }", "public boolean hasNext() {\n\r\n\t\tif (stack.isEmpty()) {\r\n\r\n\t\t\treturn false;\r\n\r\n\t\t} else {\r\n\r\n\t\t\tIterator<Node> it = stack.peek();\r\n\r\n\t\t\tif (it.hasNext()) {\r\n\r\n\t\t\t\treturn true;\r\n\r\n\t\t\t} else {\r\n\r\n\t\t\t\tstack.pop();\r\n\r\n\t\t\t\treturn hasNext();\r\n\r\n\t\t\t}\r\n\r\n\t\t}\r\n\r\n\t}", "public boolean isEmpty( ){\r\n\t\treturn beginMarker.next==endMarker;\r\n\t}", "private boolean _hasChild() {\r\n boolean ret = false;\r\n if (_childs != null && _childs.size() > 0) {\r\n ret = true;\r\n }\r\n\r\n return ret;\r\n }", "public boolean hasNext() {\n\t\tif (stack.empty()) {\n\t\t\treturn false;\n\t\t} else {\n\t\t\tIterator<MenuComponent> iterator = stack.peek();\n\t\t\tif (!iterator.hasNext()) {\n\t\t\t\tstack.pop();\n\t\t\t\treturn hasNext();\n\t\t\t} else {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t}", "public boolean hasNext() {\n\t\treturn actual!=null;\t\t\n\t}", "private boolean ifFull() {\n return items.length == size;\n }", "public boolean isEmpty() {\r\n\t\treturn head == null;\r\n\t}", "public boolean isEmpty() {\r\n\t\treturn head == null;\r\n\t}", "public boolean hasNext() {\n return !left_nodes.isEmpty(); // DON'T FORGET TO MODIFY THE RETURN IF NEED BE\r\n\t\t}", "public boolean isEmpty(){\n\n\t\treturn (head==null);\n\t}", "public boolean isEmpty() {\n \treturn stack.size() == 0;\n }", "@Override\r\n\tpublic boolean isEmpty() {\n\t\treturn data != null && data.list != null && data.list.isEmpty();\r\n\t}", "@Override\r\n\t\tpublic boolean hasNext() {\n\t\t\treturn nextNode != null;\r\n\t\t}" ]
[ "0.7337645", "0.7087262", "0.6975525", "0.69684607", "0.6968443", "0.6954908", "0.69533414", "0.6943092", "0.69330126", "0.6895332", "0.688514", "0.688514", "0.68751025", "0.6869777", "0.68460524", "0.684415", "0.68427795", "0.68123436", "0.67842", "0.67738974", "0.67724246", "0.67717564", "0.6770355", "0.6767879", "0.6751401", "0.67389816", "0.67348796", "0.67313385", "0.67247844", "0.6708587", "0.67052805", "0.6698483", "0.668698", "0.6679139", "0.6670768", "0.667065", "0.667065", "0.6668339", "0.66660315", "0.66636664", "0.66530883", "0.6650156", "0.66425955", "0.66374785", "0.663693", "0.66362584", "0.66327405", "0.6632099", "0.66276985", "0.6621815", "0.6617687", "0.66169125", "0.66143745", "0.6613871", "0.66129386", "0.6608648", "0.66082895", "0.6603765", "0.6603765", "0.66012394", "0.6600244", "0.65928304", "0.6590456", "0.6590167", "0.65876234", "0.65876096", "0.65876096", "0.65876096", "0.65876096", "0.65815943", "0.6578396", "0.65768427", "0.65739715", "0.657277", "0.656801", "0.6564064", "0.6562602", "0.6558481", "0.655717", "0.6555629", "0.65546155", "0.65532327", "0.65532327", "0.65532327", "0.65532327", "0.655199", "0.655162", "0.65466624", "0.6543123", "0.65348023", "0.6533067", "0.65327644", "0.65326846", "0.6532398", "0.6532398", "0.65301245", "0.6528831", "0.6526028", "0.65239435", "0.6519437" ]
0.7319475
1
prints the names of the containers in that location
void examineContainers(){ if (this.receptacle != null)//checks and sees if there's any containers in the location. for (int i = 0; i < this.receptacle.size(); i++) if (!(this.receptacle.get(i) instanceof SpecialtyContainer))//if it's a hidden container, you don't know it's there, but it is... System.out.print(this.receptacle.get(i).contName + ", "); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void getAllContainers() {\n AID ams = getAMS();\n QueryPlatformLocationsAction queryPlatformLocationsAction = new QueryPlatformLocationsAction();\n sendRequest(new Action(ams, queryPlatformLocationsAction));\n MessageTemplate mt = MessageTemplate.and(\n MessageTemplate.MatchSender(getAMS()),\n MessageTemplate.MatchPerformative(ACLMessage.INFORM));\n ACLMessage resp = blockingReceive(mt);\n ContentElement ce = null;\n try {\n ce = getContentManager().extractContent(resp);\n } catch (Codec.CodecException e) {\n e.printStackTrace();\n } catch (OntologyException e) {\n e.printStackTrace();\n }\n Result result = (Result) ce;\n jade.util.leap.Iterator it = result.getItems().iterator();\n while (it.hasNext()) {\n Location loc = (Location) it.next();\n containersOnPlatform.put(loc.getName(), loc);\n }\n }", "public List<String> containers() {\n return this.containers;\n }", "public void getRunningInstances() {\n LogContainerResultCallback resultCallback = new LogContainerResultCallback();\n //override method onNext of resultcallback\n dockerClient.logContainerCmd(\"id\").exec(resultCallback);\n dockerClient.attachContainerCmd(\"id\").withStdIn(new ByteArrayInputStream(\"list\\n\".getBytes()));\n }", "public void displayNames()\r\n {\r\n // ensure there is at least one Cat in the collection\r\n if (catCollection.size() > 0) {\r\n System.out.println(\"The current guests in \"+businessName);\r\n for (Cat eachCat : catCollection) {\r\n System.out.println(eachCat.getName());\r\n }\r\n }\r\n else {\r\n System.out.println(businessName + \" is empty!\");\r\n }\r\n }", "public void printRegionsNames() {\n for (int i = 0; i < regionList.length; i++) {\n System.out.println(\"Region #\" + (i + 1) + \": \" + regionList[i].getRegionName());\n }\n }", "public String getContainerName() {\n return name;\n }", "public void print(){\n for(int i = 0; i < rootDir.length; i++){\n System.out.println(rootDir[i]);\n }\n }", "public static void printAvailableMaps() {\n \tFile folder = new File(\"./examples/\");\n \tFile[] listOfFiles = folder.listFiles();\n \tSystem.out.println(\"Available maps (choose one and start game with command 'game map_name' ) : \");\n\n \t for (int i = 0; i < listOfFiles.length; i++) {\n \t if (listOfFiles[i].isFile()) {\n \t System.out.println(\"\\t\"+listOfFiles[i].getName());\n \t } \n \t }\n }", "public void testGetContainerForLocation() {\n \t\tIWorkspaceRoot root = getWorkspace().getRoot();\n \t\tassertEquals(\"1.0\", root, root.getContainerForLocation(root.getLocation()));\n \n \t}", "void printToConsole() {\n\t\tSystem.out.println(\"PROVIDER DIRECTORY:\");\n\t\tfor (int i = 0; i < services.size(); i++) {\n\t\t\tString service = services.get(i).getServiceName() + \" (\" + services.get(i).getServiceNumber() + \") for $\" + services.get(i).getServiceFee();\n\t\t\tSystem.out.println(\"\\t\" + service);\n\t\t}\n\t}", "@Override public String toString() {\n Lookup.Template template = new Lookup.Template<CatalogReader>(CatalogReader.class);\n Lookup.Result result = getUserCatalogsLookup().lookup(template); \n return \"CatalogSettings[ global-scope: \" + result.allInstances() + \n \", project-scope: \" + mountedCatalogs + \" ]\";\n }", "public void list() {\r\n\t\tfor (String key : nodeMap.keySet()) {\r\n\t\t\tNodeRef node = nodeMap.get(key);\r\n\t\t\tSystem.out.println(node.getIp() + \" : \" + node.getPort());\r\n\t\t}\t\t\r\n\t}", "public void setContainerName(String name) {\n this.name = name;\n }", "public void testFindContainersForLocation() {\n \t\t//should find the workspace root\n \t\tIWorkspaceRoot root = getWorkspace().getRoot();\n \t\tIContainer[] result = root.findContainersForLocation(root.getLocation());\n \t\tassertEquals(\"1.0\", 1, result.length);\n \t\tassertEquals(\"1.1\", root, result[0]);\n \t\t\n \t\t//deep linked resource\n \t\tIProject p1 = root.getProject(\"p1\");\n \t\tIProject p2 = root.getProject(\"p2\");\n \t\tIFolder parent = p2.getFolder(\"parent\");\n \t\tIFolder link = parent.getFolder(\"link\");\n \t\tensureExistsInWorkspace(new IResource[] {p1, p2, parent}, true);\n \t\ttry {\n \t\t\tlink.createLink(p1.getLocationURI(), IResource.NONE, getMonitor());\n \t\t} catch (CoreException e) {\n \t\t\tfail(\"1.99\", e);\n \t\t}\n \t\tresult = root.findContainersForLocation(p1.getLocation());\n \t\tassertEquals(\"2.0\", 2, result.length);\n \t\tboolean p1Found = false, linkFound = false;\n \t\tfor (int i = 0; i < result.length; i++) {\n \t\t\tif (result[i].equals(p1))\n \t\t\t\tp1Found = true;\n \t\t\telse if (result[i].equals(link))\n \t\t\t\tlinkFound = true;\n \t\t}\n \t\tassertTrue(\"2.1\", p1Found);\n \t\tassertTrue(\"2.2\", linkFound);\n \t\t\n \t\t// TODO add more tests\n \t}", "private static void printLocations(Collection<ProcessModel> processModels) {\n processModels.stream()\n .filter(Automaton.class::isInstance)\n .map(Automaton.class::cast)\n .map(a -> \"Owners for \" + a.getId() + \" are: \" + a.getOwners())\n .forEach(System.out::println);\n }", "public void printInfo(){\n\t\tSystem.out.println(\"id : \" + id + \" label : \" + label);\n\t\tSystem.out.println(\"vms : \" );\n\t\tfor(VirtualMachine v : vms){\n\t\t\tv.printInfo();\n\t\t}\n\t}", "void printPlaceArtifacts()\r\n\t{\r\n\t\tfor( Map.Entry <String, Artifact> entry : artPlace.entrySet()) \r\n\t\t{\r\n\t\t\t String key = entry.getKey();\r\n\t\t\t Artifact value = entry.getValue();\r\n\t\t\t \r\n\t\t\t // System.out.println(\"Place Name: \" + this.name());\r\n\t\t\t \r\n\t\t\t System.out.println(\" Artifact Name----->\" + value.getName());\r\n\t\t\t System.out.println(\"Size-----> \" + value.getSize());\r\n\t\t\t System.out.println(\"Value-----> \" + value.getValue() + \" \\n\");\t\r\n\t\t}\r\n\t}", "public List<String> containerList() {\n return this.containerList;\n }", "public void printServerRepositories() {\n for (ServerRepository serverRepository : serverRepositories.values()) {\n System.out.println(serverRepository);\n }\n }", "public void printFileNames() {\n DirectoryResource dr = new DirectoryResource();\n for (File f : dr.selectedFiles()) {\n System.out.println(f);\n }\n }", "public Set<String> getContainers();", "public void printCluster(PrintStream outs)\n {\n for (String upNode : getLiveNodes().split(\"\\\\s+\"))\n {\n if (upNode.length() > 0)\n {\n outs.println(String.format(\"%-21s up\", upNode));\n }\n }\n \n for (String downNode : getUnreachableNodes().split(\"\\\\s+\"))\n {\n if (downNode.length() > 0)\n {\n outs.println(String.format(\"%-21s down\", downNode));\n }\n }\n }", "public void printFilenames(){\n\t\tSystem.out.println(\"\\nAgent list of files: \" + this.filenames.size());\n\t\tfor(int i = 0;i<filenames.size();i++){\n\t\t\tSystem.out.println(i+1+ \") \" + filenames.get(i));\n\t\t}\n\t\tSystem.out.println(\"\");\n\t}", "private void listWindows() {\n final Component[] components = getComponents();\n final String[] titles = new String[components.length];\n for (int i=0; i<components.length; i++) {\n Component c = components[i];\n String title = String.valueOf(c.getName());\n if (c instanceof JInternalFrame) {\n final JInternalFrame ci = (JInternalFrame) c;\n title = String.valueOf(ci.getTitle());\n c = ci.getRootPane().getComponent(0);\n }\n final Dimension size = c.getSize();\n titles[i] = title + \" : \" + c.getClass().getSimpleName() +\n '[' + size.width + \" \\u00D7 \" + size.height + ']';\n }\n final JInternalFrame frame = new JInternalFrame(\"Windows\", true, true, true, true);\n frame.add(new JScrollPane(new JList<>(titles)));\n frame.pack();\n frame.setVisible(true);\n add(frame);\n }", "public void printAllComponentsOnStdOut() {\r\n System.out.println(\"PackageComponent: \" + this.getName());\r\n System.out.println(\"Contains these ClassDiagramComponents: \");\r\n int counter = 1;\r\n for (ComponentBase component : classDiagramComponents) {\r\n System.out.println(\"Component no.\" + counter + \": \\t\" + component.getName());\r\n counter++;\r\n }\r\n }", "public void printAllRecipeNames() {\r\n for (Recipe currentRecipe : listOfRecipes) {\r\n System.out.println(currentRecipe.getRecipeName());\r\n }\r\n }", "public static void listImageIOServices() {\n\t\tIIORegistry registry = IIORegistry.getDefaultInstance();\n\t\tlogger.info(\"ImageIO services:\");\n\t\tIterator<Class<?>> cats = registry.getCategories();\n\t\twhile (cats.hasNext()) {\n\t\t\tClass<?> cat = cats.next();\n\t\t\tlogger.info(\"ImageIO category = \" + cat);\n\n\t\t\tIterator<?> providers = registry.getServiceProviders(cat, true);\n\t\t\twhile (providers.hasNext()) {\n\t\t\t\tObject o = providers.next();\n\t\t\t\tlogger.debug(\"ImageIO provider of type \" + o.getClass().getCanonicalName() + \" in \"\n\t\t\t\t\t\t+ o.getClass().getClassLoader());\n\t\t\t}\n\t\t}\n\t}", "protected String getContainerName() {\r\n\t\treturn CONTAINER_NAME;\r\n\t}", "public String containerName() {\n return this.containerName;\n }", "public void printName()\n\t{\n\t\tArrayList<Robot> ar=new ArrayList<Robot>();\n\t\tIterator<Robot> it;\n\t\tint i=1;//started index\n\t\t\n\t\tar.addAll(robotHM.values());//adding all\n\t\tCollections.sort(ar);//sort by names\n\t\tit=ar.iterator();\n\t\twhile (it.hasNext())\n\t\t{\n\t\t\tSystem.out.println(i+\". \"+it.next().getName());\n\t\t\ti++;\n\t\t}\n\t}", "public void printDirectory() {\n System.out.println(\"Inventory:\");\n for (Ingredient i : stock.keySet()) {\n System.out.printf(\"%s, %d\\n\", i.getName(), stock.get(i));\n }\n System.out.println(\"Menu:\");\n int drink_number = 1;\n for (Drink d : drinks.keySet()) {\n\n System.out.printf(\"%d, %s, $%.2f, %b\\n\", drink_number++, d.getName(), d.getPrice(), inStock(d));\n }\n }", "private void printMap() {\n\t\tfor(Integer key: location.keySet()){\n\t\t\tString val= location.get(key).toString();\n\t\t\tSystem.out.println(\"(\" + key.toString() + \", \" + val+ \")\");\n\t\t}\n\t}", "String getDockerFilelocation();", "private void logConfigLocations() {\n\t\tlogger.info(\"XD config location: \" + environment.resolvePlaceholders(XD_CONFIG_LOCATION));\n\t\tlogger.info(\"XD config names: \" + environment.resolvePlaceholders(XD_CONFIG_NAME));\n\t\tlogger.info(\"XD module config location: \" + environment.resolvePlaceholders(XD_MODULE_CONFIG_LOCATION));\n\t\tlogger.info(\"XD module config name: \" + environment.resolvePlaceholders(XD_MODULE_CONFIG_NAME));\n\t}", "public void displayCategories() {\n System.out.println(\"Categories:\");\n for(int i = 0; i < categories.size(); i++)\n System.out.println((i + 1) + \". \" + categories.get(i).getName());\n }", "@Override\r\n public Set<String> getContainers()\r\n {\r\n assert(true);\r\n \tSet<String> toReturn = new TreeSet<String>();\r\n for (ProductContainer container : groups)\r\n {\r\n toReturn.add(container.getName());\r\n }\r\n return toReturn;\r\n }", "public String getContainerName() {\n return containerName;\n }", "public String getDisplayName() {\n return \"Azure Container Service Configuration\";\n }", "private void printSavedCoursesNames() {\n ArrayList<Course> tempCourseList = courseList.getCourseList();\n for (int i = 0; i < tempCourseList.size(); i++) {\n System.out.println((i + 1) + \": \" + tempCourseList.get(i).getName());\n }\n }", "public String getContainerName() {\n return this.containerName;\n }", "private static void catList() {\n\t\tSystem.out.println(\"List of preset Categories\");\n\t\tSystem.out.println(\"=========================\");\n\t\tSystem.out.println(\n\t\t\t\t\"Family\\nTeen\\nThriller\\nAnimated\\nSupernatural\\nComedy\\nDrama\\nQuirky\\nAction\\nComing of age\\nHorror\\nRomantic Comedy\\n\\n\");\n\t}", "private void inspect() {\n\t\tFileHandler handler = new FileHandler();\n\t\tIContainer container = handler.findOrCreateContainer(packageBase);\n\t\tIResource[] members = null;\n\t\ttry {\n\t\t\tmembers = container.members();\n\t\t} catch (CoreException e) {\n\t\t\tSystem.out.println(\"Could not access members of the container \"\n\t\t\t\t\t+ container.getFullPath() + \".\");\n\t\t\te.printStackTrace();\n\t\t}\n\t\ttraverseSourceFiles(members);\n\t}", "public List<String> showStorageUnitsName() {\n return queryForListWithLog(proxyDataSource, \"SHOW STORAGE UNITS\").stream().map(each -> String.valueOf(each.get(\"name\"))).collect(Collectors.toList());\n }", "public List<Container> findAll() {\n\t\tSession currentSession = em.unwrap(Session.class);\n\t\t\n\t\t//create the query\n\t\tQuery<Container> query = currentSession.createQuery(\"from Container\", Container.class);\n\t\t\n\t\t//execute query and get result list\n\t\tList<Container> containers = query.getResultList();\n\t\t//System.out.println(containers);\n\t\t//return the results\n\t\treturn containers;\n\t}", "public String print(){\n\t\treturn this.sonsPaths_.toString();\n\t}", "public void printLaptops(){\n\t\tSystem.out.println(\"Root is: \"+vertices.get(root));\n\t\tSystem.out.println(\"Edges: \");\n\t\tfor(int i=0;i<parent.length;i++){\n\t\t\tif(parent[i] != -1){\n\t\t\t\tSystem.out.print(\"(\"+vertices.get(parent[i])+\", \"+\n\t\t\tvertices.get(i)+\") \");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println();\n\t\t}", "public Set<String> getContainerPaths() {\n\t\t// todo: instead of returning a set here, perhaps\n\t\t// we can return Iterator<String>\n\t\tSet<String> containerSet = new HashSet<String>();\n\t\tif (containers != null) {\n\t\t\tfor (ChildData child : containers.getCurrentData()) {\n\t\t\t\tcontainerSet.add(child.getPath());\n\t\t\t}\n\t\t}\n\t\treturn Collections.unmodifiableSet(containerSet);\n\t}", "private static void displayImagesDir(){\n System.out.println(IMAGES_DIR);\n }", "public void display(){\n\t\tfor (Entry<String, Map<String, Integer>> entry : collocationMap.entrySet()){\n\t\t for (Entry<String, Integer> subEntry : entry.getValue().entrySet()){\n\t\t\t System.out.println(entry.getKey() + \" \" + subEntry.getKey() + \": \" + subEntry.getValue());\n\t\t }\n\t\t}\n\t}", "Stream<String> listCollectionNames();", "public Iterable<SearchableContainer> getAllSearchableContainers() {\n return workspace.getAllSearchableContainers();\n }", "public void showCatalogue() {\n for (Record r : cataloue) {\n System.out.println(r);\n }\n }", "public String container() {\n return this.container;\n }", "private void printAllClients() {\n Set<Client> clients = ctrl.getAllClients();\n clients.stream().forEach(System.out::println);\n }", "public void printClientList() {\n uiService.underDevelopment();\n }", "public void printComputerSummary() {\n\t\tfor (Component comp: configuration.values())\n\t\t{\n\t\t\tSystem.out.println(comp.getDescription());\n\t\t}\n\t}", "protected void printClusters(List<Cluster> clusters) {\n ListIterator<Cluster> i = clusters.listIterator();\n while (i.hasNext()) {\n System.out.print(\"----cluster \" + i.nextIndex() + \" : \");\n System.out.println(i.next());\n }\n System.out.println(\"----\");\n }", "public void printCardHoldersName(ArrayList<VentraCard> cards) {\n \t\n \tfor(int i=0; i<cards.size(); i++) {\n \t\tSystem.out.println(\"Name \"+ cards.get(i).getFullName()+\" Cardnumber: \"+cards.get(i).getCardNumber());\n \t}\n }", "public void echo() {\n\tSystem.out.printf(\"cache name: %s\\n\", myCache.getName());\n\tSystem.out.printf(\"cache size: %s\\n\", myCache.size());\n\tSystem.out.printf(\"cache entry[%s]: %s\\n\", \"bean1\", myCache.get(\"bean1\").toString());\n\tSystem.out.printf(\"cache entry[%s]: %s\\n\", \"bean2\", myCache.get(\"bean2\").toString());\n }", "public ArrayList<Location> getDocks() {\n return locations.stream().filter(loc -> loc.getClass().getSimpleName().equals(\"Dock\")).collect(Collectors.toCollection(ArrayList::new));\n }", "public void printList(ETPlace place) {\n place.getName();\n\n\n }", "public void print() \n\t{\n\t\tSystem.out.println(\"existing files:\\n\");\n\t\tIterator<Entry<String, byte[]>> existing = this.existingFile.entrySet().iterator();\n\t\twhile (existing.hasNext()) \n\t\t{\n\t\t\tEntry<String, byte[]> entry = existing.next();\n\t\t\tString key = entry.getKey();\n\t\t\tbyte[] macValue = entry.getValue();\n\t\t\tSystem.out.println(key + \" - \" + bytes2HexString(macValue));\n\t\t}\n\t\t\n\t\tSystem.out.println(\"\\n\\nprefix files:\\n\");\n\t\tIterator<Entry<String, byte[]>> prefix = this.prefix.entrySet().iterator();\n\t\twhile (prefix.hasNext()) \n\t\t{\n\t\t\tEntry<String, byte[]> entry = prefix.next();\n\t\t\tString key = entry.getKey();\n\t\t\tbyte[] macValue = entry.getValue();\n\t\t\tSystem.out.println(key + \" - \" + bytes2HexString(macValue));\n\t\t}\n\t}", "public void printVirtualMachines() throws InvalidProperty, RuntimeFault, RemoteException{\r\n\t\tManagedEntity[] mes = new\r\n\t\t\t\tInventoryNavigator(_instance.getRootFolder()).searchManagedEntities(\"VirtualMachine\");\r\n\t\tfor (int i = 0; i < mes.length; i++) {\r\n\t\t\tVirtualMachine currVm = (VirtualMachine)mes[i];\r\n\t\t\tSystem.out.printf(\"vm[%d]: Name = %s\\n\", i, currVm.getName());\r\n\t\t}\r\n\t}", "static void print(Collection c) {\n\t\tSystem.out.print(\"{\");\n\t\tfor(Iterator iterator=c.iterator();iterator.hasNext();) {\n\t\t\tSystem.out.printf(\"\\\"%s\\\"\", iterator.next());\n\t\t\tSystem.out.print(iterator.hasNext()?\", \":\"}\\n\");\n\t\t}\n\t}", "public List<String> getLoggerNames();", "public void printAllComputers( ) { \n\t\tint i=1;\n\t\tfor (Computer temp : computers ) {\n\n\t\t\tSystem.out.println(\"Computer number : \"+i);\n\t\t\ttemp.printComputerSummary();\n\t\t\ti++;\n\n\t\t}\n\t}", "@Override\n\tvoid display() {\n\t\tif(nodeList == null || nodeList.size() == 0) {\n\t\t\tSystem.out.println(\"not found.\");\n\t\t\treturn;\n\t\t}\n for(Inode inode:nodeList) {\n\t\t\tSystem.out.println(inode.nodename);\n }\n\t}", "public void printAllStages() {\n printIndex();\n printRemoval();\n }", "private void listEvents() {\n System.out.println(\"\\nEvents:\");\n for (Event event: world.getEvents()) {\n String name = event.getName();\n String coords = \" with x = \" + event.getX() + \" light seconds and t = \" + event.getTime() + \" seconds \";\n String frame = \"in \" + event.getFrame().getName() + \".\";\n System.out.println(name + coords + frame);\n }\n }", "public String pathList()\n {\n StringBuilder pathString = new StringBuilder();\n for (Location accessibleLocation : accessibleLocations) {\n pathString.append(accessibleLocation.getName()).append(\"\\n\");\n }\n return pathString.toString();\n }", "public static void main(String[] args) {\n\t\tZoneId.getAvailableZoneIds()\r\n\t\t\t .stream()\r\n\t\t\t .filter( s -> s.startsWith(\"Asia\") )\r\n\t\t\t .sorted()\r\n\t\t\t .forEach( s -> System.out.println(s) );\r\n\t}", "private void listDirectories (Directory currentDirectory) {\n currentDirectory.printSubDirectories(\"DIRS : \");\n }", "public static void drawContainerNames(MatrixStack matrices, ContainerScreen<?> screen, FontRenderer font, PlayerInventory inv) {\n String name = screen.getTitle().getString();\n font.drawString(matrices, name, (screen.xSize / 2f - font.getStringWidth(name) / 2f), 6.0F, 0x404040);\n font.drawString(matrices, inv.getDisplayName().getString(), 8.0F, (screen.ySize - 96 + 2), 0x404040);\n }", "protected void printAll() {\n\t\tSystem.out.println(\"Network maps\");\n\t\tSystem.out.println(\"\tAddresses\");\n\t\ttry {\n\t\t\tPreparedStatement pstmt = \n\t\t\t\t\tthis.agent.getDatabaseManager().getConnection().prepareStatement(\n\t\t\t\t\t\t\tthis.agent.getDatabaseManager().selectAll);\n\t ResultSet rs = pstmt.executeQuery();\n\t // loop through the result set\n while (rs.next()) {\n \t System.out.printf(\"%s -> %s\\n\", rs.getString(\"username\"), rs.getString(\"address\"));\n }\n\t\t} catch (Exception e) {\n\t\t\tAgent.errorMessage(\n\t\t\t\t\tString.format(\"ERROR when trying to get all the address of the table users in the database\\n\"), e);\n\t\t}\n\t\tSystem.out.println(\"\tmapSockets\");\n\t\tfor (String u: this.mapSockets.keySet()) {\n\t\t\tSystem.out.printf(\"%s -> %s\\n\", u, this.mapSockets.get(u));\n\t\t}\n\t}", "public ArrayList<ImageContainer> getAllImageContainers(String username) throws ClassNotFoundException, IOException {\r\n\t\tArrayList<ImageContainer> ics = new ArrayList<ImageContainer>();\r\n\t\tCopyOnWriteArrayList<String> imageNames = getListOfImages(username);\r\n\t\tPoint p;\r\n\t\tString destinationPeerIp;\r\n\t\tfor(String imageName : imageNames) {\r\n\t\t\ttry {\r\n\t\t\t\tp = StaticFunctions.hashToPoint(username, imageName);\r\n\t\t\t\tif(lookup(p)) {\r\n\t\t\t\t\tics.add(loadImageContainer(username, imageName));\r\n\t\t\t\t} else {\r\n\t\t\t\t\tdestinationPeerIp = routing(p).getIp_adresse();\r\n\t\t\t\t\t//Load image from destinationPeer\r\n\t\t\t\t\tImage img =new PeerClient().getImage(destinationPeerIp, username , imageName);\r\n\t\t\t\t\tif(img != null) {\r\n\t\t\t\t\t\tics.add(RestUtils.convertImgToIc(img));\t\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t} catch (IOException e) {\r\n\t\t\t\tSystem.out.println(imageName + \" nicht gefunden\");\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn ics;\r\n\t}", "public void listPictures()\r\n {\r\n int index = 0;\r\n while(index >=0 && index < pictures.size()) \r\n {\r\n String filename = pictures.get(index);\r\n System.out.println(index + \": \"+ filename);\r\n index++;\r\n }\r\n }", "public void displayTags() {\n System.out.println (\"tags = \" + tags);\n }", "@Override\n public String toString() {\n return \"Container{\" + \"id=\" + id + \", realPosition=\" + realPosition + \", indexPosition=\" + indexPosition + \", size=\" + size + '}';\n }", "public void printClientList(){\n for(String client : clientList){\n System.out.println(client);\n }\n System.out.println();\n }", "public static void printOpenWindows() {\n\t\tMsg.debug(AbstractDockingTest.class, \"Open windows: \" + getOpenWindowsAsString());\n\t}", "public void printContents() {\n\t\t\n//\t\tCollections.sort(finalized);\n\t\t\n\t\tSystem.out.print(\"Register Status:\");\n\t\t\n\t\tint i = 0;\n\t\tfor (; i < finalized.length - 1; i++) {\n\t\t\tSystem.out.println(\"Reg \" + i + \": \" + finalized[i].toString());\n\t\t}\n\t\tSystem.out.print(\"Reg \" + i + \": \" + finalized[finalized.length - 1].toString() + \"\\n\");\n\t}", "public void printObjectList(){\n\t\tfor (int i = 0; i < gameObjectsList.size(); i++){\n\t\t\tSystem.out.println(i + \", \" + gameObjectsList.get(i).getCategory() + \" : Type:\" + gameObjectsList.get(i).getObjecttype() + \" X:\" + gameObjectsList.get(i).getX() + \" Y:\" + gameObjectsList.get(i).getY());\n\t\t}\n\t}", "public String[] getOutputConnectorNames();", "public void showCities()\n {\n \tSystem.out.println(\"CITY LIST\");\n \t\n \tfor (int i = 0; i < cityNumber; i++)\n \t{\n \t\tSystem.out.println(city[i]);\n \t}\n }", "public String showLocationContent() {\n\t\tContent content = null;\n printHeader();\n \n\t\tfor (Map.Entry<Integer, List<Content>> entry : contentMap.entrySet()) {\n\t\t\tList<Content> contentLst = entry.getValue();\n\n\t\t\tfor (int i = 0; i < contentListCapacity; i++) {\n\t\t\t\tif (contentLst == null)\n\t\t\t\t\tprintEmptyPlaceHolder(contentListCapacity);\n\t\t\t\telse {\n\t\t\t\t\tcontent = i < contentLst.size() ? contentLst.get(i) : null;\n\t\t\t\t\tif (content == null)\n\t\t\t\t\t\tSystem.out.printf(\"%5s\",\"\");\n\t\t\t\t\telse\n\t\t\t\t\t\tSystem.out.printf(\"%5s\",content.getBarcode() );\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\n\t\treturn \" Smart Robot Arm! \";\n\n\t}", "void getDrivableLocations() {\n\t\t\tSystem.out.print(\"\\nPlaces you can drive to: \");\n\t\t\tfor (int i = 0; i < places.length; i++)\n\t\t\t\tif (places[i].drivable) //looks to see if you can drive there \n\t\t\t\t\tif ((places[i] != this)) //if it's not you're current location.\n\t\t\t\t\t\tSystem.out.print(places[i].locationName + \", \");\t//prints the name of the location\t\n\t\t\tSystem.out.println(\"\\n\");\n\t\t}", "private static void listInstances(ServiceDiscovery<InstanceDetails> serviceDiscovery) throws\n Exception {\n \n try {\n Collection<String> serviceNames = serviceDiscovery.queryForNames();\n System.out.println(serviceNames.size() + \" type(s)\");\n for (String serviceName : serviceNames) {\n Collection<ServiceInstance<InstanceDetails>> instances = serviceDiscovery\n .queryForInstances(serviceName);\n System.out.println(serviceName);\n for (ServiceInstance<InstanceDetails> instance : instances) {\n outputInstance(instance);\n }\n }\n } finally {\n CloseableUtils.closeQuietly(serviceDiscovery);\n }\n }", "public void showHotels() {\n System.out.println(\"-----Hotels: ------\");\n hotelsService.getHotels().forEach(System.out::println);\n }", "private void showFinalPath() // run after end dest has been set\n {\n for(int i = 0; i < cities.size(); i++)\n System.out.println(cities.get(i));\n }", "public String ls()\n\t{\n\t\tString toReturn = \"\";\n\t\tIterable<Position<FileElement>> kids = fileSystem.children(currentFileElement);\n\t\tif (kids == null) return \"Nothing to list\";\n\t\t{\n\t\t\tfor (Position<FileElement> fe : kids)\n\t\t\t{\n\t\t\t\ttoReturn += fe.toString() + \", \";\n\t\t\t}\n\t\t}\n\t\treturn toReturn;\n\t}", "public Flux<ContainerItem> listContainers() {\n return this.listContainers(new ListContainersOptions());\n }", "public void list(){\n //loop through all inventory items\n for(int i=0; i<this.items.size(); i++){\n //print listing of each item\n System.out.printf(this.items.get(i).getListing()+\"\\n\");\n }\n }", "public static void main(String[] args) {\n\t\tList<String> animals = Arrays.asList(\"cat\", \"dog\");\n\t\tIContainer<String> animalContainer = new ContainerList<String>(animals);\n\t\tIIterator<String> animalIterator = animalContainer.createIterator();\n\t\t\n\t\twhile(animalIterator.hasNext())\n\t\t\tSystem.out.println(animalIterator.next());\n\t\t\n\t\tMap<Integer, String> flowers = new HashMap<Integer, String>();\n\t\tflowers.put(0, \"Rose\");\n\t\tflowers.put(1, \"Daisy\");\n\t\tIContainer<String> flowerContainer = new ContainerHashMap<Integer, String>(flowers);\n\t\tIIterator<String> flowerIterator = flowerContainer.createIterator();\n\t\t\n\t\twhile(flowerIterator.hasNext())\n\t\t\tSystem.out.println(flowerIterator.next());\n\t}", "private void printAllItems() {\n Set<ClothingItem> items = ctrl.getAllItems();\n items.stream().forEach(System.out::println);\n }", "List<String> locations();", "private void printInfo() {\n for (Coordinate c1 : originCells) {\n System.out.println(\"Origin: \" + c1.toString());\n }\n for (Coordinate c2 : destCells) {\n System.out.println(\"destination: \" + c2.toString());\n }\n for (Coordinate c3 : waypointCells) {\n System.out.println(\"way point: \" + c3.toString());\n }\n }", "public void showInfo() {\n\t\tfor (String key : list.keySet()) {\n\t\t\tSystem.out.println(\"\\tID: \" + key + list.get(key).toString());\n\t\t}\n\t}", "public void print_root(){\r\n\t\tfor(int id = 0; id < label.length; id++){\r\n\t\t\tSystem.out.printf(\"\"%d \"\", find(id));\r\n\t\t}\r\n\t\tSystem.out.printf(\"\"\\n\"\");\r\n\t}", "@Override\n\tpublic String printServiceInfo() {\n\t\treturn serviceName;\n\t}", "private void labelNames(){\n VBox holder = labelContainer.get(containerIndex);\n for(int i = 0; i < group.size(); ++i){\n Label s = (Label)holder.getChildren().get(i);\n s.setText(racers.get(group.get(i))[0] + \":\");\n }\n }" ]
[ "0.6273955", "0.58936757", "0.57624704", "0.5639263", "0.5634528", "0.562707", "0.55955136", "0.54798603", "0.54765487", "0.547131", "0.5457784", "0.544486", "0.5443085", "0.5397812", "0.53529286", "0.5346174", "0.5321895", "0.5313611", "0.5298186", "0.52975684", "0.5295122", "0.5294368", "0.5273251", "0.5268553", "0.5255677", "0.5240128", "0.5234965", "0.52295643", "0.5211078", "0.5186598", "0.5180745", "0.51759034", "0.5167042", "0.5150827", "0.5137039", "0.5122812", "0.5119792", "0.510979", "0.51014525", "0.5095376", "0.50900704", "0.50869226", "0.50782675", "0.50636333", "0.50463134", "0.5038968", "0.5037357", "0.50235075", "0.5022372", "0.5020232", "0.5013835", "0.50058234", "0.49939066", "0.49881515", "0.4972781", "0.49596086", "0.4959066", "0.49576724", "0.49453256", "0.4945325", "0.49154794", "0.4907666", "0.48909998", "0.48757246", "0.4869064", "0.48575956", "0.48567522", "0.48487726", "0.48478928", "0.48328164", "0.48245177", "0.48223525", "0.48190135", "0.4809528", "0.48069948", "0.4805758", "0.48022172", "0.47945696", "0.47886568", "0.47841918", "0.47798663", "0.4779094", "0.47780752", "0.47767672", "0.47641116", "0.4760879", "0.4758647", "0.47582737", "0.47580567", "0.47571853", "0.47534487", "0.4749275", "0.474733", "0.47469613", "0.47442633", "0.4743221", "0.4739957", "0.47326076", "0.47286695", "0.47172114" ]
0.6609437
0
looks to see if there's any speciality containers in that location
boolean findSpecialtyContainers(){ if (this.receptacle != null)//checks and sees if there's any containers in the location. for (int i = 0; i < this.receptacle.size(); i++) if ((this.receptacle.get(i) instanceof SpecialtyContainer)) return true; return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void examineContainers(){\n\t\t\tif (this.receptacle != null)//checks and sees if there's any containers in the location.\n\t\t\t\tfor (int i = 0; i < this.receptacle.size(); i++)\n\t\t\t\t\tif (!(this.receptacle.get(i) instanceof SpecialtyContainer))//if it's a hidden container, you don't know it's there, but it is...\n\t\t\t\t\t\tSystem.out.print(this.receptacle.get(i).contName + \", \");\n\t\t}", "@Override\n\tpublic boolean canBeContainedInto(IAlgoContainer algoContainer) {\n\t\treturn false;\n\t}", "@Override\n public boolean isContainer(String path) {\n return false;\n }", "private boolean checkUnreachedClassesForContainersAndSubclasses() {\n Iterator<EClass> iterator = unreachedClasses.iterator();\n while (iterator.hasNext()) {\n EClass eClass = iterator.next();\n\n if (grabIncomingContainments && addIfContainer(eClass) || grabSubClasses && addIfContainedSubClass(eClass)) {\n iterator.remove();\n return true;\n }\n }\n return false;\n }", "public boolean isContainer();", "public void testFindContainersForLocation() {\n \t\t//should find the workspace root\n \t\tIWorkspaceRoot root = getWorkspace().getRoot();\n \t\tIContainer[] result = root.findContainersForLocation(root.getLocation());\n \t\tassertEquals(\"1.0\", 1, result.length);\n \t\tassertEquals(\"1.1\", root, result[0]);\n \t\t\n \t\t//deep linked resource\n \t\tIProject p1 = root.getProject(\"p1\");\n \t\tIProject p2 = root.getProject(\"p2\");\n \t\tIFolder parent = p2.getFolder(\"parent\");\n \t\tIFolder link = parent.getFolder(\"link\");\n \t\tensureExistsInWorkspace(new IResource[] {p1, p2, parent}, true);\n \t\ttry {\n \t\t\tlink.createLink(p1.getLocationURI(), IResource.NONE, getMonitor());\n \t\t} catch (CoreException e) {\n \t\t\tfail(\"1.99\", e);\n \t\t}\n \t\tresult = root.findContainersForLocation(p1.getLocation());\n \t\tassertEquals(\"2.0\", 2, result.length);\n \t\tboolean p1Found = false, linkFound = false;\n \t\tfor (int i = 0; i < result.length; i++) {\n \t\t\tif (result[i].equals(p1))\n \t\t\t\tp1Found = true;\n \t\t\telse if (result[i].equals(link))\n \t\t\t\tlinkFound = true;\n \t\t}\n \t\tassertTrue(\"2.1\", p1Found);\n \t\tassertTrue(\"2.2\", linkFound);\n \t\t\n \t\t// TODO add more tests\n \t}", "public List<SpecialContainer> getSpecialContainers(){\n return this.specialContainers;\n }", "public void checkContainer() {\n // http://stackoverflow.com/questions/2976884/detect-if-running-in-servlet-container-or-standalone\n try {\n new InitialContext().lookup(\"java:comp/env\");\n log.info(\"Running inside servlet container. Explicit server creation skipped\");\n return;\n } catch (NamingException ex) {\n // Outside of container\n }\n\n }", "public boolean isContainerType()\n/* */ {\n/* 174 */ return true;\n/* */ }", "public void testGetContainerForLocation() {\n \t\tIWorkspaceRoot root = getWorkspace().getRoot();\n \t\tassertEquals(\"1.0\", root, root.getContainerForLocation(root.getLocation()));\n \n \t}", "public boolean isContainerType()\n/* */ {\n/* 169 */ return true;\n/* */ }", "private boolean addIfContainer(EClass eClass) {\n EList<EReference> containments = eClass.getEAllContainments();\n for (EReference containment : containments) {\n EClass containee = containment.getEReferenceType();\n if (visitedContainedClasses.contains(containee) || visitedSuperClasses.contains(containee)) {\n\n // add new container\n unvisitedContainedClasses.add(eClass);\n\n // does the containment point to a uncontained superclass? \n if (visitedSuperClasses.remove(containee)) {\n unvisitedContainedClasses.add(containee);\n }\n\n possiblyReportNewClass(true, \"incoming containment\", containee, eClass);\n\n return true;\n }\n }\n return false;\n }", "private void getAllContainers() {\n AID ams = getAMS();\n QueryPlatformLocationsAction queryPlatformLocationsAction = new QueryPlatformLocationsAction();\n sendRequest(new Action(ams, queryPlatformLocationsAction));\n MessageTemplate mt = MessageTemplate.and(\n MessageTemplate.MatchSender(getAMS()),\n MessageTemplate.MatchPerformative(ACLMessage.INFORM));\n ACLMessage resp = blockingReceive(mt);\n ContentElement ce = null;\n try {\n ce = getContentManager().extractContent(resp);\n } catch (Codec.CodecException e) {\n e.printStackTrace();\n } catch (OntologyException e) {\n e.printStackTrace();\n }\n Result result = (Result) ce;\n jade.util.leap.Iterator it = result.getItems().iterator();\n while (it.hasNext()) {\n Location loc = (Location) it.next();\n containersOnPlatform.put(loc.getName(), loc);\n }\n }", "boolean isOccupiedByAnimal(Vector2d position);", "public boolean getIsContainer()\n {\n return standardDefs.isContainer(root.getType());\n }", "public boolean checkifHasOwner(String uuid){\r\n\tArrayList<String> allAnimals = new ArrayList<String>();\r\n\t\tif(!plugin.getAnimalData().contains(\"Farmer\")){\r\n\t\t\treturn false;\r\n\t\t}else{\r\n\t\tSet<String> farmers = plugin.getAnimalData().getConfigurationSection(\"Farmer\").getKeys(false);\r\n\t//getting the farmers animals\r\n\t\tfor(String farmer : farmers){\r\n\t\t\tif(plugin.getAnimalData().get(\"Farmer.\" + farmer + \".Animals\") == null){\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\tSet<String> t = plugin.getAnimalData().getConfigurationSection(\"Farmer.\" + farmer + \".Animals\").getKeys(false);\r\n\t\t\tfor(String FarmAnimals : t){\r\n\t\t\t\tallAnimals.add(FarmAnimals);\r\n\t\t\t}\r\n\t\t}\r\n\t\tif(allAnimals.contains(uuid)){\r\n\t\t\treturn true;\r\n\t\t}else{\r\n\t\t\treturn false;\r\n\t\t}\r\n\t}\r\n}", "public boolean isDeployed(){\n return !places.isEmpty();\n }", "public SpecialDepot() {\n specialContainers = new ArrayList<>();\n }", "protected int matchContainer() {\n if (this.pattern.findReferences)\n return ALL_CONTAINER;\n // declarations are only found in Class\n return CLASS_CONTAINER;\n }", "public boolean isEmptySpecials() {\n return emptySpecials;\n }", "protected boolean isFullyContained(Widget widget) {\r\n // Calling getPreferredBounds forces the bounds to be calculated if it\r\n // has not already been calculated. For example when the Widget was\r\n // just created and therefore has not had a chance to be displayed.\r\n Rectangle area = widget.getClientArea();\r\n\r\n boolean retVal = false;\r\n if (area != null) {\r\n Rectangle sceneArea = widget.convertLocalToScene(area);\r\n\r\n Rectangle localArea = scene.convertSceneToLocal(sceneArea);\r\n Rectangle myArea = scene.getClientArea();\r\n retVal = myArea.contains(localArea);\r\n }\r\n\r\n return retVal;\r\n }", "public State findSubstance() {\n if (isStateFullyDetermined()) {\n log.debug(\"findSubstance() already known: \" + hasSubstance +\n\t\t\": \" + au.getName());\n return hasSubstance;\n }\n log.debug(\"findSubstance() searching: \" + au.getName());\n for (CachedUrl cu : au.getAuCachedUrlSet().getCuIterable()) {\n try {\n\tcheckSubstance(cu);\n } finally {\n\tAuUtil.safeRelease(cu);\n }\n if (isStateFullyDetermined()) {\n\tbreak;\n }\n if (wdog != null) {\n\twdog.pokeWDog();\n }\n }\n log.debug(\"hasSubstance: \" + hasSubstance);\n return hasSubstance;\n }", "private void checkAndLogAccessibleRootComponents(final HstComponentsConfiguration hstComponentsConfiguration,\n final HstSiteMap sm) {\n for(HstSiteMapItem hstSiteMapItem : sm.getSiteMapItems()){\n sanitizeSiteMapItem(hstSiteMapItem, hstComponentsConfiguration);\n }\n }", "public static boolean containsFeature(SeqFeatureI container,SeqFeatureI query) {\n if (container == query)\n return true;\n boolean found = false;\n int setSize = container.getNumberOfChildren();\n for (int i = 0; i < setSize && !found; i++) {\n SeqFeatureI check = container.getFeatureAt(i);\n found = containsFeature(check,query);\n if (found)\n return true;\n //found = (sf == check);\n //if (!found && (check.canHaveChildren())) {\n //found = (check).findFeature(sf);\n //}\n }\n return found;\n\n }", "boolean hasLocationNames();", "public boolean checkForLotus(){\n Object obj=charactersOccupiedTheLocation[2];\n if(obj!=null){return true;}\n return false;\n }", "boolean visitSmartContainer(Object o);", "private boolean hasShadowedCompulationUnit(ICompilationUnit unit, String swcPath)\n {\n List<IDefinition> definitionPromises = unit.getDefinitionPromises(); \n if (definitionPromises == null || definitionPromises.size() == 0)\n return false;\n\n ASProjectScope scope = getScope();\n Set<IDefinition> toDefs = scope.getShadowedDefinitions(definitionPromises.get(0));\n if (toDefs != null)\n {\n for (IDefinition def : toDefs)\n {\n ICompilationUnit shadowedUnit = scope.getCompilationUnitForDefinition(def);\n \n // Test if a shadowed unit is in the same swc.\n if (swcPath.equals(shadowedUnit.getAbsoluteFilename()))\n {\n return true;\n }\n }\n }\n \n return false;\n }", "boolean containsCreature(Creature creature) {\n/* 1585 */ return (this.creatures != null && this.creatures.contains(creature));\n/* */ }", "public void validateContainers() {\n\t\tif(world.isRemote) {\n\t\t\t//sync server with client when opening gui\n\t\t\tCaravansNetwork.CHANNEL.sendToServer(new UpdateMarketContainerListMessage(pos));\n\t\t}\n\t\tif (this.containers.removeIf((pos) -> (this.world.getTileEntity(pos) == null)\n\t\t\t\t&& !(this.world.getTileEntity(pos) instanceof ChestTileEntity)\n\t\t\t\t&& !(this.world.getTileEntity(pos) instanceof BarrelTileEntity))) {\n\t\t\tthis.markDirty();\n\t\t\tthis.world.notifyBlockUpdate(this.pos, getBlockState(), getBlockState(), 2);\n\t\t}\n\t\t\n\t}", "public boolean hasPlacers() { return !placers.isEmpty(); }", "boolean isLocator();", "public boolean getIsVisualElementContainer()\n {\n return root.getType().isAssignableTo(standardDefs.INTERFACE_IVISUALELEMENTCONTAINER);\n }", "boolean hasLocation();", "boolean hasLocation();", "public boolean isContained() {\n return contained;\n }", "static boolean requiresContainmentQuery(IComponent component, IContainer container, StatusHolder holder) {\r\n\t\tStatusBuilder builder = new StatusBuilder(ComponentSystemPlugin.getDefault());\r\n\t\tIAttributes attr = (IAttributes) component.getAdapter(IAttributes.class);\r\n\t\tif (attr == null) {\r\n\t\t\tif (holder != null) {\r\n\t\t\t\tString fmt = Messages.getString(\"Utilities.NoAttributesAdapterError\"); //$NON-NLS-1$\r\n\t\t\t\tObject params[] = {component.getId()};\r\n\t\t\t\tbuilder.add(IStatus.ERROR, fmt, params);\r\n\t\t\t\tholder.setStatus(builder.createStatus(\"\", null)); //$NON-NLS-1$\r\n\t\t\t}\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\t\r\n\t\tboolean isNeverAddComponent = attr.getBooleanAttribute(CommonAttributes.NEVER_ADD_COMPONENT, false);\r\n\t\t\r\n\t\tif (isNeverAddComponent && (holder != null)) {\r\n\t\t\tString fmt = Messages.getString(\"Utilities.NeverAddError\"); //$NON-NLS-1$\r\n\t\t\tbuilder.add(IStatus.ERROR, fmt, null);\r\n\t\t}\r\n\r\n\t\tif (isNeverAddComponent && (holder != null)) {\r\n\t\t\tIComponentInstance containerInstance = (IComponentInstance) EcoreUtil\r\n\t\t\t.getRegisteredAdapter(container.getEObject(), IComponentInstance.class);\r\n\t\t\tObject params[] = { component.getFriendlyName(), containerInstance.getName() };\r\n\t\t\tholder.setStatus(builder.createMultiStatus(Messages.getString(\"Utilities.CantAddObjectError\"), params)); //$NON-NLS-1$\r\n\t\t}\r\n\t\treturn isNeverAddComponent;\r\n\t}", "public HashSet<BlockPos> getContainers() {\n\t\tthis.validateContainers();\n\t\treturn this.containers;\n\t}", "public boolean isMaybeSingleAllocationSite() {\n checkNotPolymorphicOrUnknown();\n return object_labels != null && newSet(getObjectSourceLocations()).size() == 1;\n }", "boolean getContainEntities();", "public boolean loadAdditionalPackages( String canonicalNameClassOrPkg) throws Exception;", "public boolean showAllOccupationTypes() {\n return occupationTypes.contains(OccupationType.TOIMINNANOHJAAJA);\n }", "@Test\n public void should_find_as_many_test_units_as_features_and_examples_available_in_classpath() throws Exception {\n List<TestUnit> testUnits = finder.findTestUnits(HideFromJUnit.Concombre.class);\n\n // then\n assertThat(testUnits).hasSize(8);\n }", "public boolean isLandAnimal() {\n return false;\n }", "boolean hasUnknown73();", "public boolean isHomeCollection();", "boolean haveAnySpawn();", "public static void findRegisteredFoods() {\n\t\tfor (Item item : Item.REGISTRY) {\n\t\t\tItemStack itemStack = new ItemStack(item);\n\t\t\tif (isValidFood(itemStack) && getFoodNutrients(itemStack).size() == 0)\n\t\t\t\tLog.warn(\"Registered food without nutrients: \" + item.getRegistryName());\n\t\t}\n\t}", "public abstract boolean isNodeTypeCollection();", "@Override\n\t\tpublic boolean containsAll(Collection<?> c) {\n\t\t\treturn false;\n\t\t}", "public static boolean isInColosseum(Location loc) {\n\t\tif (!(loc.getWorld() == Bukkit.getWorld(\"redacted2\"))) return false;\n\t\t// bad hotfix\n\t\tif (loc.clone().add(0, -1, 0).getBlock().getType() == Material.GRASS) return false;\n\t\tint locX = loc.getBlockX();\n\t\tint locY = loc.getBlockY();\n\t\tint locZ = loc.getBlockZ();\n\t\t//Test if player is in main launcher ignore box\n\t\t// -4 98 10 to -23 30 23 - ignore zone for main launcher\n\t\tif (-23 <= locX && locX <= -4 && 30 <= locY && locY <= 98 && 10 <= locZ && locZ <= 23) return false;\n\t\t//Test if player is in side launcher ignore box\n\t\t//-4 98 98 to -25 30 75 - ignore zone for side launcher\n\t\tif (-25 <= locX && locX <= -4 && 30 <= locY && locY <= 98 && 75 <= locZ && locZ <= 98) return false;\n\t\t//If the player is not in either of the ignore boxes, check if they are in the colosseum boundaries\n\t\t//-4 98 10 to -100 30 98 - Colosseum boundaries\n\t\tif (-100 <= locX && locX <= -4 && 30 <= locY && locY <= 98 && 10 <= locZ && locZ <= 98) {\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "@java.lang.Override\n public boolean hasCatalog() {\n return catalog_ != null;\n }", "public boolean hasLocality() {\n return localityBuilder_ != null || locality_ != null;\n }", "boolean hasContent();", "boolean hasContent();", "boolean hasContent();", "boolean hasContent();", "boolean hasContent();", "boolean hasContent();", "boolean hasContent();", "@Override\n\tpublic boolean containsAll(Collection<?> c) {\n\t\treturn false;\n\t}", "boolean isIPGeolocationCityDatabaseEmbedded();", "private boolean allMUsSet() {\n\t\tVector meaningUnits = Model.getIllocutionUnitRoots().getMeaningUnits();\n\t\tfor (int i = 0; i < meaningUnits.size(); i++) {\n\t\t\tMeaningUnit mu = (MeaningUnit) meaningUnits.get(i);\n\t\t\tVector sememeGroups = mu.getSememeGroups();\n\t\t\tif (sememeGroups.isEmpty()) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}", "boolean hasWorldid();", "boolean hasWorldid();", "boolean hasAuvLoc();", "boolean hasUses();", "public boolean isEmpty() {\n\t\treturn classCoverageLookups.isEmpty();\n\t}", "public boolean checkForTreasure(){\n Object obj=charactersOccupiedTheLocation[3];\n if(obj!=null){return true;}\n return false; \n }", "private boolean canEntityBuild(User user, Location location) {\n Collection<TownBlock> blocks = TownyUniverse.getInstance().getDataSource().getAllTownBlocks();\n\n int x = (int)Math.floor(location.getX() / 16.0);\n int z = (int)Math.floor(location.getZ() / 16.0);\n\n TownyWorld world;\n try {\n world = TownyUniverse.getInstance().getDataSource().getWorld(location.getWorld().getName());\n } catch (Exception e) {\n return true;\n }\n\n TownBlock block = new TownBlock(x, z, world);\n\n return !blocks.contains(block);\n }", "public boolean isLoadableWorld(String worldName);", "private static boolean isCollection(String typeName) {\r\n logger.debug(\"isCollection: \" + typeName);\r\n return collectionTypes.contains(typeName);\r\n }", "public Iterable<SearchableContainer> getAllSearchableContainers() {\n return workspace.getAllSearchableContainers();\n }", "private static boolean isCollection(String uri) {\r\n return (getResourceName(uri).indexOf('.') == -1);\r\n }", "@Override\n\tpublic boolean containsAll(Collection<?> c) {\n\t\tthrow new NotImplementedException(\"Not yet implemented\"); \n\t}", "boolean hasHotelCenter();", "boolean hasExplicitContentDetectionConfig();", "protected boolean isStructureKnown() {\n\t\ttry {\n\t\t\treturn ((OpenableElementInfo) getElementInfo()).isStructureKnown();\n\t\t} catch (Exception e) {\n\t\t\treturn false;\n\t\t}\n\t}", "@Override\n\tprotected boolean prerequisitesMet() {\n\t\treturn super.prerequisitesMet() && renderMaskHandlerSystem.getActiveMask() == RenderMask.Mask.TEAM_DOMAINS;\n\t}", "boolean hasUknown();", "@Ignore\r\n @Test\r\n public void testContainsCollection() {\r\n System.out.println(\"containsCollection\");\r\n NumberCollection nc = null;\r\n NumberCollection instance = new NumberCollection();\r\n boolean expResult = false;\r\n boolean result = instance.containsCollection(nc);\r\n assertEquals(expResult, result);\r\n \r\n }", "private static Zone findSupportedZoneForAnimal(Animal animal) throws Exception\n {\n /**\n * checking every zone that is available in the zoo \n */\n for(Zone zone : Zoo.zonesInZoo.values()){\n if(zone.categoryOfAnimalSupported.equalsIgnoreCase(animal.category) && zone.subcategoryOfAnimalSupported.equalsIgnoreCase(animal.subCategory)){\n return zone;\n }\n }\n /**\n * if no suitable zone found\n */\n throw new Exception(\"Supported zone not found for given animal!!!\");\n }", "boolean hasUnknown71();", "public void testAncestry()\n {\n checkClass(HStaticIconTest.class);\n\n TestUtils.testExtends(HStaticIcon.class, HVisible.class);\n TestUtils.testImplements(HStaticIcon.class, HNoInputPreferred.class);\n }", "@SuppressWarnings(\"serial\")\n\t@Test\n\tpublic void testFullContainerSpace(){\n\t\tContainer c = new Container(0,1){\n\t\t\tpublic boolean canAccess(Player player) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t};\n\t\tc.addItem(new Key(1,1));\n\t\tassertFalse(c.hasSpace());\n\t}", "private boolean addIfContainedSubClass(EClass eClass) {\n EList<EClass> superClasses = eClass.getESuperTypes();\n for (EClass superClass : superClasses) {\n if (visitedContainedClasses.contains(superClass)) {\n\n // eClass is a subclass of the containment set\n unvisitedContainedClasses.add(eClass);\n\n possiblyReportNewClass(true, \"sub class\", superClass, eClass);\n return true;\n }\n }\n return false;\n }", "@Override\n public List<String> getCmsLocations() {\n return Collections.emptyList();\n }", "boolean existsInjector(String classCanonicalName) {\n if (getInjector(classCanonicalName) == null) {\n return false;\n }\n return true;\n }", "boolean hasUnknown12();", "boolean hasCustomFeatures();", "public void testBundleContentParentFromMultipleBundles() throws IOException{\n final String content = getContent(HTTP_BASE_URL + \"/system.1.json\", CONTENT_TYPE_JSON);\n JsonObject jsonObj = JsonUtil.parseObject(content);\n\n //provided by the servlets.post bundle\n assertTrue(\"Expected sling.js in the /system folder\", jsonObj.containsKey(\"sling.js\"));\n\n //provided by the launchpad.test-services bundle\n assertTrue(\"Expected sling-1733.txt in the /system folder\", jsonObj.containsKey(\"sling-1733.txt\"));\n }", "private boolean checkSpaceAvailability(Point targetLocation, ICityFragment element) {\r\n //basic constraint:no other things here\r\n\r\n if (city.isAnythingHere(targetLocation, element.getBoundary().width, element.getBoundary().height, element)) {\r\n return false;\r\n }\r\n\r\n //crossroads:at least one road can connected\r\n if (element instanceof Crossroads) {\r\n var crossroad = (Crossroads) element;\r\n\r\n var accessibleRoad = findAccessibleRoads(crossroad, targetLocation);\r\n\r\n if (accessibleRoad == null || accessibleRoad.size() <= 1) {\r\n return false;\r\n }\r\n }\r\n return true;\r\n }", "protected boolean scopeSubcomponentsByItem (AWComponent component)\n {\n return (_scopeSubcomponentsByItem != null)\n ? _scopeSubcomponentsByItem.booleanValue(component) : false;\n }", "private boolean hasContainer(Object receiver) {\n IServiceInfo serviceInfo = DiscoveryPropertyTesterUtil.getIServiceInfoReceiver(receiver);\n final String connectNamespace = getConnectNamespace(serviceInfo);\n final String connectId = getConnectID(serviceInfo);\n try {\n final ID createConnectId = IDFactory.getDefault().createID(connectNamespace, connectId);\n return (getContainerByConnectID(createConnectId) != null);\n } catch (IDCreateException e) {\n return false;\n }\n }", "@java.lang.Override\n public boolean hasLocality() {\n return locality_ != null;\n }", "public boolean containsContextNodes();", "boolean hasIsPartOf();", "@Override\n public boolean isLocationEmpty(Unit unit, int x, int y)\n {\n Unit resident = master.getLocation(x, y).getResident();\n // if there's nothing there, yeah...\n if (resident == null)\n return true;\n // say it's not there if we dunno it's there\n if (resident.model.hidden && !confirmedVisibles.contains(resident)) \n return true;\n // otherwise, consult the fog map and master map\n return isLocationFogged(x, y) || master.isLocationEmpty(unit, x, y);\n }", "@Test\n void isNotEmptyTest() {\n Container container = new Container();\n container.fillContainer(Resource.SHIELD);\n assertFalse(container.isEmpty());\n }", "private boolean isOccupied(Location loc)\n\t{\n\t\treturn grid[loc.getRow()][loc.getCol()] != null;\n\t}" ]
[ "0.7209521", "0.5727715", "0.5678852", "0.5546181", "0.54989886", "0.5452347", "0.54463875", "0.5443354", "0.5392776", "0.53617597", "0.5360215", "0.5346979", "0.52900285", "0.5186684", "0.5164957", "0.5147674", "0.51437914", "0.51062226", "0.50747854", "0.50621915", "0.5002527", "0.4998041", "0.49960858", "0.49897352", "0.49808642", "0.49539518", "0.4926522", "0.49135616", "0.49060518", "0.48712492", "0.48697197", "0.48692918", "0.4857442", "0.48367903", "0.48367903", "0.48347977", "0.48284864", "0.4827168", "0.4825095", "0.4816709", "0.481482", "0.4814791", "0.48038447", "0.4803413", "0.48017323", "0.48001704", "0.47967535", "0.4775858", "0.47754836", "0.4772644", "0.4767637", "0.476242", "0.47551852", "0.47499996", "0.47499996", "0.47499996", "0.47499996", "0.47499996", "0.47499996", "0.47499996", "0.47452474", "0.474322", "0.47412625", "0.47378805", "0.47378805", "0.4736672", "0.47338882", "0.47330832", "0.4732504", "0.4730017", "0.4729742", "0.47294703", "0.47202548", "0.47198534", "0.47190458", "0.47160265", "0.47121704", "0.4705916", "0.47042218", "0.4699693", "0.469857", "0.46984452", "0.46953437", "0.46874982", "0.4676617", "0.46761897", "0.4674774", "0.46725747", "0.46654448", "0.46652898", "0.4662023", "0.46556225", "0.4652872", "0.46521226", "0.4649971", "0.46468085", "0.46450102", "0.46439704", "0.4642641", "0.46331176" ]
0.7991167
0
Do you get mauled by a goose on the green?
static boolean getMauled(){ if (Person.player.inventory.contains(Item.repellent)) //if you have the goose repellent... return (MainFile.getRandomNumber(240) == 12); //drastically lowers your chance of being mauled. return (MainFile.getRandomNumber(20) == 12);//generates a random number for if you don't have it, and if it's 12 you get mauled }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean monkeyBusiness(Monkey[] monkeys) {\n boolean allSmiles;\n int smiles = 0;\n for(Monkey monkey: monkeys) {\n if(monkey.smile) {\n smiles++;\n }\n }\n allSmiles = smiles >= (double) monkeys.length / 2;\n return allSmiles;\n }", "boolean hasDog();", "boolean hasFullHadith();", "boolean isBeating();", "public boolean isTheOnlyGold() {\n return (numM == 1) && (numG == 1) ;\n }", "boolean hasSingleBet();", "boolean hasEyes();", "public boolean getGotLucky()\n {\n return (die1.getFacevalue() == 6 && die2.getFacevalue() == 6 && lastThrow[0] == 6 && lastThrow[1] == 6);\n }", "boolean isDrooping();", "public boolean garretFight(){\n\t\tint XG = 0;\n\t\tint YG = 0;\n\t\tint Xyou = 1;\n\t\tint Yyou = 1;\n\t\tfor(int i = 0 ; i < this.Garret.length;i++){\n\t\t\tfor(int p = 0; p < this.Garret.length;p++){\n\t\t\t\tif(this.Garret[i][p] == 1){\n\t\t\t\t\tYG = i;\n\t\t\t\t\tXG = p;\n\t\t\t\t}\n\t\t\t\tif(this.position[i][p] == 1){\n\t\t\t\t\tYyou = i;\n\t\t\t\t\tXyou = p;\n\t\t\t\t}\n\t\t\t}\n\t\t}//end of outter for\n\t\tif(YG==Yyou && XG==Xyou){\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "public boolean goldilocksCheck() {\n\t\treturn (waterConcentration > 0.25 && heat > 32);\r\n\t}", "boolean willEggHatch(IGeneticMob geneticMob);", "public boolean isGreen()\n {\n // TODO: replace this line with your code\n }", "boolean hasGemReward();", "boolean hasHat();", "public boolean isGoal() {\n return hamming() == 0;\n }", "public boolean isGoal() {\n return hamming() == 0;\n }", "public boolean isGoal() {\n return hamming() == 0;\n }", "public boolean isGoal() {\n return hamming() == 0;\n }", "public boolean isGoal() {\n return hamming() == 0;\n }", "public boolean isGoal() {\n return hamming() == 0;\n }", "boolean hasDamage();", "boolean hasDamage();", "boolean hasDamage();", "boolean hasDamage();", "boolean hasDamage();", "public boolean isGameWon(){\r\n for(Card c: this.cards){\r\n if (c.getFace() == false){\r\n return false;\r\n }\r\n }\r\n return true;\r\n }", "private boolean checkGreedyIronCurtain() {\r\n return (myself.health < 30 || enTotal.get(0) >= 8 || opponent.isIronCurtainActive || this.myTotal.get(0) < this.enTotal.get(0));\r\n }", "public boolean checkForGourds() {return false;}", "boolean hasPossiblyBad();", "@Override\r\n\tint check_sweetness() {\n\t\treturn 30;\r\n\t}", "public boolean isGoal() {\n return humming() = 0;\n }", "public boolean isCheese();", "private boolean hasEatenApple() {\r\n return snake.getHead().equals(apple);\r\n }", "public boolean isGoal() {\n return hamming == 0;\n }", "boolean hasMent();", "public boolean isGoal() {\n\t\treturn hamming == 0;\n\t}", "public boolean isGreen() {\n return green;\n }", "boolean hasHasAlcohol();", "boolean hasHeadGear();", "boolean isBasmalah();", "public boolean goalAchieve(LoopManiaWorld world) {\n return world.getDoggieKilledValue() >= this.doggie;\n }", "boolean hasGte();", "boolean hasDefense();", "boolean hasDefense();", "boolean hasDefense();", "boolean hasDefense();", "boolean hasDefense();", "boolean hasDefense();", "public boolean isCurrentPlayerHungry() {\r\n\tboolean isHungry = true;\r\n\tint length = this.territory[this.currentSide].length;\r\n\tfor (short i = 0; i < length && isHungry; i++) {\r\n\t isHungry = (this.territory[this.currentSide][i] == 0);\r\n\t}\r\n\r\n\treturn isHungry;\r\n }", "int checkCollision(Tumbleweed tumbleweed) {\n int retVal = 0;\n if (collidesWith(tumbleweed, true)) {\n retVal = 1;\n // once the cowboy has collided with the tumbleweed,\n // that tumbleweed is done for now, so we call reset\n // which makes it invisible and ready to be reused.\n tumbleweed.reset();\n }\n return (retVal);\n }", "boolean hasPass();", "boolean hasPass();", "private static boolean capet(int brown, int garo, int sero) {\n\t\tint sum = 4;\r\n\t\tsum += garo * 2;\r\n\t\tsum += sero * 2;\r\n\t\tif (brown == sum)\r\n\t\t\treturn true;\r\n\t\telse\r\n\t\t\treturn false;\r\n\t}", "public boolean isBlackHole(){\r\n\t\tboolean flag = false;\r\n\t\tif (isSuperGiant() == true){\r\n\t\t\tflag = true;\r\n\t\t}\r\n\t\treturn flag;\r\n\t}", "public boolean tienePapel()\n {\n //COMPLETE\n return this.hojas > 0;\n }", "private boolean isFound(int remaingingMarbles) {\n\n return (Math.log(remaingingMarbles) / Math.log(2)) % 1 == 0 ;\n\n }", "boolean isMet();", "public static boolean getEncerado() {\r\n\treturn (Math.random() >= 0.5);\r\n }", "public boolean damagable() {\n return !this.state.equals(\"knockedBack\")\n && !this.state.equals(\"dodge\");\n }", "@Test\n public void isRedTest() {\n assertTrue(red_piece.isRed());\n assertTrue(!white_piece.isRed());\n }", "public boolean checkmate()\n {\n return checkmate(PieceColor.BLACK)||checkmate(PieceColor.WHITE);\n }", "boolean hasBunho();", "boolean hasBunho();", "boolean getHealthy();", "boolean hasProduces();", "public boolean isCheckmate()\n {\n Game g = Game.getInstance();\n\n int sum = 0;\n\n for(Piece[] p1 : g.m_board.m_pieces)\n {\n for(Piece p2 : p1)\n {\n if(p2 != null)\n {\n if(p2.m_color == this.m_color)\n {\n sum += p2.getLegalMoves().size();\n }\n }\n }\n }\n\n if(sum == 0){ return true; } else { return false; }\n }", "boolean isConsomme();", "boolean outOfSight();", "public boolean isFine();", "boolean hasHasAlcoholBloodContent();", "private boolean checkForBigGameWin(){\n boolean truth = false;\n if (checkGameWin(getLettersOfAllGames())){\n truth = true;\n }\n return truth;\n }", "public boolean isGoal();", "public boolean isGoal(){\n\t\tboolean ok = true;\n\t\tfor (int i = 0; i < getRows() && ok; i++) {\n\t\t\tfor (int j = 0; j < getColumns() && ok; j++) {\n\t\t\t\tif (cells[i][j].getSand() != getK()) \n\t\t\t\t\tok = false;\n\t\t\t}\n\t\t} \n\t\treturn ok;\n\t}", "public boolean hasFainted() {\n return hp <= 0;\n }", "boolean hasHair();", "boolean canLayEgg(IGeneticMob geneticMob);", "boolean hasHasInjury();", "boolean hasFairplay();", "@Override\r\n\tint check_sweetness() {\n\t\treturn 10;\r\n\t}", "public boolean didWin(){\n\t\tswitch(winCondition){\n\t\tcase \"catchEmAll\":\n\t\t\treturn caughtEmAll();\n\t\tdefault:\n\t\t\treturn caughtTwenty();\n\t\t}\n\t}", "public boolean isWon() {\r\n\t\tif (winner(CROSS) || winner(NOUGHT))\r\n\t\t\treturn true;\r\n\t\telse\r\n\t\t\treturn false;\r\n\t}", "boolean isFullHouse();", "@Override\r\n\tpublic boolean wasIncident() {\r\n\t\tdouble random = Math.random()*100;\r\n\t\tif(random<=25) return true;\r\n\t\treturn false;\r\n\t}", "public boolean hasWon(){\n boolean winStatus = false;\n if(balance >= 3000){\n winStatus = true;\n }\n return winStatus;\n }", "boolean hasDame();", "private boolean canDamoneBlackSaveItselfLeftBehind(Damone damone) {\n return canBlackSaveItselfLeftBehind(damone);\n }", "public boolean encountered(){\n boolean encounter = false;\n\n int stepsNeeded = player.getDestination().getStepsNeeded();\n\n float percent = (chance * 1.0f / stepsNeeded * 1.0f) * 100;\n float result = r.nextFloat() * 100;\n\n if(result <= percent && percent >= 20) {\n encounter = true;\n }\n\n return encounter;\n }", "public boolean fight(String not_used) { \r\n\t\tint num = getRandomInt(100);\r\n\t\tif (num >= fearfullness) {\r\n\t\t\treturn true;\r\n\t\t}else {\r\n\t\t\treturn false;\r\n\t\t}\r\n\t}", "public boolean getStatus() {\n return (rnd.nextInt(obstructionChanceBound) <= obstructionChance);\n }", "public boolean throwPokeball(AbstractPokemon wildPokemon)\n {\n System.out.println(toString() + \" threw a \" + pokeball.toString() + \"!\");\n int ballFactor = pokeball.getFactor();\n if(pokeball instanceof Masterball)\n return true;\n int d = wildPokemon.getCatchRate() / ballFactor;\n if (d >= 256)\n return false;\n else\n {\n int pokemonsHP = wildPokemon.getHealth();\n if (pokemonsHP == 0)\n pokemonsHP = 4;\n int factor1 = (wildPokemon.getMaxHealth() * 255) / ballFactor;\n int factor2 = wildPokemon.getHealth() / 4;\n if (factor2 == 0)\n factor2 = 1;\n int factorTotal = factor1 / factor2;\n if (factorTotal > 255)\n factorTotal = 255;\n int probabilityOfCapture = (d * factorTotal) / 255;\n if (probabilityOfCapture > 70)\n return true;\n else\n return false;\n }\n }", "boolean hasCurHP();", "boolean hasCurHP();", "boolean hasCurHP();", "boolean hasCurHP();", "boolean hasCurHP();", "boolean hasCurHP();", "private boolean checkGreedyWinRate() {\r\n return myTotal.get(0) > enTotal.get(0)+2 && (myself.health > 50 || myself.health > opponent.health);\r\n }", "public boolean mataGato() {\r\n\t\treturn true;\r\n\t}", "public abstract boolean isGoal(CCState state);" ]
[ "0.6820781", "0.662774", "0.6627519", "0.657978", "0.6563985", "0.65327674", "0.6474226", "0.64688677", "0.64615285", "0.64551544", "0.6446795", "0.644268", "0.6424337", "0.6402505", "0.6368584", "0.6355592", "0.6355592", "0.6355592", "0.6355592", "0.6355592", "0.6355592", "0.63538283", "0.63538283", "0.63538283", "0.63538283", "0.63538283", "0.6350252", "0.6346748", "0.6342425", "0.63368344", "0.63234514", "0.6321611", "0.63124377", "0.62879574", "0.62681395", "0.6255013", "0.6231587", "0.62176967", "0.62176484", "0.62093353", "0.619254", "0.6182304", "0.6177581", "0.6176258", "0.6176258", "0.6176258", "0.6176258", "0.6176258", "0.6176258", "0.61723375", "0.61716694", "0.6165493", "0.6165493", "0.6162167", "0.6151006", "0.611969", "0.61184543", "0.61009127", "0.6095059", "0.608687", "0.608048", "0.6076177", "0.6067853", "0.6067853", "0.6056301", "0.6049444", "0.6041179", "0.6040541", "0.60337967", "0.6033072", "0.6028754", "0.6023393", "0.60180575", "0.6014054", "0.6010599", "0.60077935", "0.6005678", "0.6000353", "0.5998771", "0.59976554", "0.5980362", "0.59664243", "0.5964249", "0.5959729", "0.59505403", "0.594864", "0.5945284", "0.594503", "0.5944366", "0.59431535", "0.59338874", "0.59326786", "0.59326786", "0.59326786", "0.59326786", "0.59326786", "0.59326786", "0.59319985", "0.59319293", "0.5919526" ]
0.6227479
37
method to run methods to add things to locations and containers for beginning of game.
static void setItemsAndContainers (){ /**Add containers to places*/ Location.places[0].addContainer(Container.depths); Location.places[1].addContainer(Container.secondaryInv); Location.places[4].addContainer(Container.SRCloset); Location.places[6].addContainer(Container.couch1); Location.places[6].addContainer(Container.couch2); Location.places[6].addContainer(Container.couch3); Location.places[6].addContainer(Container.couch4); Location.places[13].addContainer(Container.closetBathroom); Location.places[15].addContainer(Container.K1Couch); Location.places[16].addContainer(Container.fridge); Location.places[23].addContainer(Container.autoAisle); Location.places[24].addContainer(Container.aisle15B); Location.places[26].addContainer(Container.bb); /**Add items to places*/ Location.places[0].addItem(Item.grabber); Location.places[1].addItem(Item.parcans); Location.places[3].addItem(Item.bookbag); Location.places[4].addItem(Item.ladder); Location.places[7].addItem(Item.drill); Location.places[7].addItem(Item.screws); Location.places[7].addItem(Item.pipe); Location.places[7].addItem(Item.twobyfour); Location.places[8].addItem(Item.rope); Location.places[11].addItem(Item.car); Location.places[12].addItem(Item.twentyDollars); Location.places[16].addItem(Item.tupperware); Location.places[18].addItem(Item.bottle); Location.places[19].addItem(Item.plunger); Location.places[20].addItem(Item.map); Location.places[21].addItem(Item.magnet); Location.places[23].addItem(Item.avocados); Location.places[25].addItem(Item.noodles); Location.places[26].addItem(Item.Unibrow); /**test purposes*/ Location.places[10].addItem(Item.otherWrench); // Location.places[0].addItem(Item.repellent); // Location.places[7].addItem(Item.repellent); // Location.places[7].addItem(Item.wrench); Location.places[7].addItem(Item.keys); /**Adds items in containers*/ Container.setItemsInContainers(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void gameStarted() {\n\t\treset();\n\t\tSystem.out.println(\"Game Started\");\n\n\t\t// allow me to manually control units during the game\n\t\tbwapi.enableUserInput();\n\t\t\n\t\t// set game speed to 30 (0 is the fastest. Tournament speed is 20)\n\t\t// You can also change the game speed from within the game by \"/speed X\" command.\n\t\tbwapi.setGameSpeed(20);\n\t\t\n\t\t// analyze the map\n\t\tbwapi.loadMapData(true);\n\t\t\n\n\t\t// This is called at the beginning of the game. You can \n\t\t// initialize some data structures (or do something similar) \n\t\t// if needed. For example, you should maintain a memory of seen \n\t\t// enemy buildings.\n\t\tbwapi.printText(\"This map is called \"+bwapi.getMap().getName());\n\t\tbwapi.printText(\"Enemy race ID: \"+String.valueOf(bwapi.getEnemies().get(0).getRaceID()));\t// Z=0,T=1,P=2\n\t\t\n\t\tmanagers.put(ArmyManager.class.getSimpleName(), ArmyManager.getInstance());\n\t\tmanagers.put(BuildManager.class.getSimpleName(), BuildManager.getInstance());\n\t\tmanagers.put(ResourceManager.class.getSimpleName(), ResourceManager.getInstance());\n\t\tmanagers.put(ScoutManager.class.getSimpleName(), ScoutManager.getInstance());\n\t\tmanagers.put(TrashManager.class.getSimpleName(), TrashManager.getInstance());\n\t\tmanagers.put(UnitManager.class.getSimpleName(), UnitManager.getInstance());\n\t\tfor (Manager manager : managers.values())\n\t\t\tmanager.reset();\n\t}", "public void startGame() {\n\t\tinitChips();\n\t\tassignAndStartInitialProjects();\n\t}", "public void run() {\n\t\tprepareVariables(true);\n\t\t\n\t\t// Prepares Map Tables for Song and Key Info.\n\t\tprepareTables();\n\t\t\n\t\t// Selects a Random Song.\n\t\tchooseSong(rgen.nextInt(0, songlist.size()-1));\n\t\t\n\t\t// Generates layout.\n\t\tgenerateLabels();\n\t\tgenerateLines();\n\t\t\n\t\t// Listeners\n\t\taddMouseListeners();\n\t\taddKeyListeners();\n\t\t\n\t\t// Game Starts\n\t\tplayGame();\n\t}", "public void setup()\n {\n this.p = Player.getInstance();\n\n this.imageStore = new ImageStore(\n createImageColored(TILE_WIDTH, TILE_HEIGHT, DEFAULT_IMAGE_COLOR));\n this.world = new WorldModel(WORLD_ROWS, WORLD_COLS,\n createDefaultBackground(imageStore));\n this.view = new WorldView(VIEW_ROWS, VIEW_COLS, this, world,\n TILE_WIDTH, TILE_HEIGHT);\n this.scheduler = new EventScheduler(timeScale);\n\n background = loadImage(\"images\\\\farm2.jpg\");\n background.resize(VIEW_WIDTH, VIEW_HEIGHT);\n\n loadImages(IMAGE_LIST_FILE_NAME, imageStore, this);\n loadWorld(world, LOAD_FILE_NAME, imageStore);\n\n scheduleActions(world, scheduler, imageStore);\n\n next_time = System.currentTimeMillis() + TIMER_ACTION_PERIOD;\n }", "private void startGame() {\r\n setGrid();\r\n setSnake();\r\n newPowerUp();\r\n timer.start();\r\n }", "public void setup()\n {\n this.imageStore = new ImageStore(\n createImageColored(TILE_WIDTH, TILE_HEIGHT, DEFAULT_IMAGE_COLOR));\n this.world = new WorldModel(WORLD_ROWS, WORLD_COLS,\n createDefaultBackground(imageStore));\n this.view = new WorldView(VIEW_ROWS, VIEW_COLS, this, world,\n TILE_WIDTH, TILE_HEIGHT);\n this.scheduler = new EventScheduler(timeScale);\n\n loadImages(IMAGE_LIST_FILE_NAME, imageStore, this);\n loadWorld(world, LOAD_FILE_NAME, imageStore);\n\n scheduleActions(world, scheduler, imageStore);\n\n next_time = System.currentTimeMillis() + TIMER_ACTION_PERIOD;\n click = false;\n }", "public void gameSetUp() {\n if (!running.get()) return;\n if (!setup.compareAndSet(true, false)) return;\n ArrayList<GodController> controllers = new ArrayList<GodController>();\n controllers.add(new ApolloController(this));\n controllers.add(new ArtemisController(this));\n controllers.add(new AthenaController(this));\n controllers.add(new AtlasController(this));\n controllers.add(new DemeterController(this));\n controllers.add(new HephaestusController(this));\n controllers.add(new HestiaController(this));\n controllers.add(new LimusController(this));\n controllers.add(new MedusaController(this));\n controllers.add(new MinotaurController(this));\n controllers.add(new PanController(this));\n controllers.add(new PrometheusController(this));\n controllers.add(new TritonController(this));\n controllers.add(new ZeusController(this));\n\n Deck deck = game.getDeck();\n\n for (GodController godController : controllers) {\n deck.addCard(godController.generateCard());\n }\n\n players = game.getPlayers();\n\n try {\n broadcastGameInfo(\"gameSetup\");\n broadcastMessage(\"Game started!\");\n broadcastMessage(\"Picking cards...\");\n pickCards();\n broadcastGameInfo(\"boardSetup\");\n chooseStartPlayer();\n placeWorkers();\n\n broadcastGameInfo(\"gameStart\");\n playGame();\n } catch (IOExceptionFromController e) {\n handleDisconnection(e.getController());\n }\n }", "private void setUpGame() {\n\t\tsetUpBlocks();\n\t\tsetUpBall();\n\t\tsetUpPaddle();\n\t\taddMouseListeners();\n\t}", "public void startGame() {\r\n this.setupGame();\r\n }", "public void start() {\r\n for (int i = 0; i < gridSize; i++){\r\n increaseGridSize();\r\n }\r\n createRectangles();\r\n addRectanglesToGrid(grid, rectangles);\r\n Collections.shuffle(rectangles);\r\n setBoard();\r\n }", "public void setup() {\n this.imageStore = new ImageStore(\n createImageColored(TILE_WIDTH, TILE_HEIGHT,\n DEFAULT_IMAGE_COLOR));\n this.world = new WorldModel(WORLD_ROWS, WORLD_COLS,\n createDefaultBackground(imageStore));\n this.view = new WorldView(VIEW_ROWS, VIEW_COLS, this, world, TILE_WIDTH,\n TILE_HEIGHT);\n this.scheduler = new EventScheduler(timeScale);\n\n loadImages(IMAGE_LIST_FILE_NAME, imageStore, this);\n loadWorld(world, LOAD_FILE_NAME, imageStore);\n\n scheduleActions(world, scheduler, imageStore);\n\n nextTime = System.currentTimeMillis() + TIMER_ACTION_PERIOD;\n }", "private void startGame() {\r\n\t\tthis.gameMap.startGame();\r\n\t}", "public void run() {\n\t\tfor(int Index=0;Index<pac.getPath().size();Index++) { //run on the path arraylist of every pacman\n\t\t\tfullGamePath(pac, pac.getPath().get(Index).getFruit(),Index); //call the function\n\t\t\tpac.getPath().get(Index).setTime();\n\t\t}\n\t\t\n\t}", "public void run() {\n gf = addGameFrame(\"Pacman\", displayW, displayH);\n }", "public void startGame() {\n\t\timages = new ImageContainer();\n\t\ttimer = new Timer(15, this);\n\t\ttimer.setRepeats(true);\n\t\tlevelStartTimer = new Timer(2000, this);\n\t\thighScore = new HighScore();\n\t\tpacmanAnimation = new PacmanAnimation(images.pacman, new int[] { 3, 2,\n\t\t\t\t0, 1, 2 });\n\t\tactualLevel = 1;\n\t\tinitNewLevel();\n\t}", "public void initialize() {\n // create a runner using a function\n this.createScreenBorders();\n // create a keyboard sensor.\n this.keyboard = this.runner.getGUI().getKeyboardSensor();\n //create the environment for the game (game environment and sprites collection)\n this.createEnvironment();\n // BACKGROUND CREATION //\n this.createBackground();\n // create the counters for the game.\n this.createCounters();\n // LISTENERS CREATION //\n //create a message printing listener.\n HitListener phl = new PrintingHitListener();\n //create a new block remover listener.\n HitListener blockrmv = new BlockRemover(this, blockCounter);\n //create a new ball remover listener.\n HitListener ballrmv = new BallRemover(this, ballCounter);\n //create a new score counter listener.\n HitListener scorelstn = new ScoreTrackingListener(this.scoreCounter);\n // BLOCKS CREATION //\n this.createBlocks(phl, blockrmv, scorelstn);\n // SIDE BLOCKS CREATION //\n this.createSideBlocks();\n // DEATH BLOCK CREATION //\n this.createDeathBlock(ballrmv);\n // LEVEL'S NAME //\n LevelsName name = new LevelsName(this.levelInfo.levelName());\n // add the whole-game indicators to the sprites list.\n this.sprites.addSprite(scoreIndi);\n this.sprites.addSprite(lifeIndi);\n this.sprites.addSprite(name);\n }", "public void runAll() {\n GameObjectManager.instance.runAll();\n }", "public void startProgram()\r\n\t{\r\n\t\tview.displayPlayerNames();\r\n\t\tview.loadGameData();\r\n\t\tview.displayGame();\r\n\t}", "public void start() {\n ArrayList<String> names = new ArrayList<>();\n game.initialize(names);\n //game.play(this.mainPkmn, this.attack);\n\n }", "public void startUp() {\n\t\twhile (startupSettings.getContinue()) {\n\t\t\tstartView.showLogo();\n\t\t\tthis.setupNewMatch();\n\t\t\tstartView.showNewMatchStarting();\n\t\t\tcurrentMatch.start();\n\t\t\tstartupSettings = startView.askNewStartupSettings();\n\t\t}\n\t\tthis.ending();\n\t}", "protected void setup() {\n /**\n * Content manager manages the content languages and ontologies \"known\" by a given agent.\n * We register new languages that is required that our agent knows.\n * SLCodec is the codec class for the FIPA-SLn languages.\n * MobilityOntology is the class that represents the ontology used for JADE mobility.\n */\n getContentManager().registerLanguage(new SLCodec());\n getContentManager().registerOntology(MobilityOntology.getInstance());\n\n /**\n * Create containers. ProfileImpl allows us to set boot-parameters for the new containers.\n */\n homeContainer = getContainerController(); //retrieve the containercontroller that this agent lives in\n createdContainers = new AgentContainer[3]; //we require 3 containers for this scenario\n ProfileImpl curatorContainer1 = new ProfileImpl();\n curatorContainer1.setParameter(ProfileImpl.CONTAINER_NAME, \"Curator-Container-1\");\n ProfileImpl curatorContainer2 = new ProfileImpl();\n curatorContainer2.setParameter(ProfileImpl.CONTAINER_NAME, \"Curator-Container-2\");\n ProfileImpl artistManagerContainer = new ProfileImpl();\n artistManagerContainer.setParameter(ProfileImpl.CONTAINER_NAME, \"Artistmanager-Container\");\n createdContainers[0] = runtime.createAgentContainer(curatorContainer1);\n createdContainers[1] = runtime.createAgentContainer(curatorContainer2);\n createdContainers[2] = runtime.createAgentContainer(artistManagerContainer);\n doWait(2000); //wait while containers initializes\n\n /**\n * Request a list of all containers on the platform from AMS\n */\n getAllContainers();\n\n /**\n * Initialize gui\n */\n\n myGui = new ControllerAgentGUI(this, (String[]) containersOnPlatform.keySet().toArray(new String[containersOnPlatform.keySet().size()]));\n myGui.setVisible(true);\n }", "private void prepare()\n {\n addObject(player,185,196);\n player.setLocation(71,271);\n Ground ground = new Ground();\n addObject(ground,300,360);\n invent invent = new invent();\n addObject(invent,300,375);\n }", "public void start(){\n getBoard();\n prepareBoard();\n renderBoard();\n }", "public void startGame() {\n\t\ttank1.create(20, 530, 0, 0);\n\t\ttank1.setDefaults();\n\t\ttank2.create(960, 530, 0, 0);\n\t\ttank2.setDefaults();\n\t\tobjects.add(tank1);\n\t\tobjects.add(tank2);\n\t\tground = new Groundmod2((int) (Math.random() * 4));\n\t\tturn = Turn.PLAYER1;\n\t\tgrabFocus();\n\t}", "void game_setup(){\n game_text_setup();\n ship_setup();\n alien_setup();\n timer.start(); // this timer will be stopped automatically by JavaFX when the program terminates\n }", "public void startUp() {\n\t\t/* Language of App */\n\t\t\n\t\t/* Init Icons */\n\t\tPaintShop.initIcons(display);\n\t\t/* Init all components */\n\t\tinitComponents();\n\t\t\n\t\t\n\t}", "public void start() {\r\n\t\tsetupWWD();\r\n\t\tsetupStatusBar();\r\n\t\tsetupViewControllers();\r\n\t\tsetupSky();\r\n\t\t//setupAnnotationToggling();\r\n\r\n\t\t// Center the application on the screen.\r\n\t\tWWUtil.alignComponent(null, this, AVKey.CENTER);\r\n\t\t\r\n\t\tgetLayerEnableCmd().run(); // Enable/disable the desired layers.\r\n\t}", "public void run() {\n addMouseListeners();\n playGame();\n }", "public void initApp() {\r\n\t\tUtilities.program=this;\r\n\t\ttouchList = new Hashtable<Integer, Touch>();\r\n\r\n\t\t// DB\r\n\t\tqueryManager = new QueryManager(this);\r\n\r\n\t\tlong timer = System.currentTimeMillis();\r\n\t\tresults = queryManager.getCrashesALL();\r\n\t\tSystem.out.println(System.currentTimeMillis() - timer);\r\n\t\ttimer = System.currentTimeMillis();\r\n\r\n\t\t// MARKERS\r\n\t\tUtilities.markerShape = loadShape(\"marker.svg\");\r\n\t\tmarkerList = updateMarkerList();\r\n\t\t\r\n\t\t\r\n\t\t// GRID\r\n\t\tgm = new GridManager(this, map, results);\r\n\t\tSystem.out.println(\"InitApp1\");\r\n\t\tgm.computeGridValues();\r\n\t\tSystem.out.println(System.currentTimeMillis() - timer);\r\n\t\t\r\n\t\t// OTHER\r\n\t\tUtilities.font = this.loadFont(\"Helvetica-Bold-100.vlw\");\r\n\t\t\r\n\t\t\r\n\t}", "private void setupGame() {\n \tdrawBricks();\n \tdrawPaddle();\n \tdrawBall(); \t\n \tsetInitialBallVelocity();\n }", "private void spawnStart() {\n\t\tswitch (gameType) {\n\t\t\n\t\t}\n\t\tspawnCloud(10,1,0,0); //spawns base cloud\n\t\tspawnCloud(rng(7,10),6,rng(1,2),rng(2,3)); //spawns first clouds\n\t\tspawnCloud(rng(9,12),6,rng(1,2),rng(2,3));\n\t\t//spawnCloud(10,6,16,0);\n\t}", "public void start() {\n isStarted = true;\n clearBoard();\n newPiece();\n }", "public void setup() {\r\n\t\thumanCardsPanel.setHumanCards(players.get(0).getCards());\r\n\t\tfor ( Player p : players ) {\r\n\t\t\tp.setBoard(board);\r\n\t\t\tp.setGame(this);\r\n\t\t}\r\n\t\tboard.setGame(this);\r\n\t\tboard.repaint();\r\n\t\tJOptionPane popup = new JOptionPane();\r\n\t\tString message = \"You are Miss Scarlet. Press Next Player to begin.\\n Hint: Use File > Detective Notes to help you win!\";\r\n\t\tpopup.showMessageDialog(this, message, \"Welcome to Clue!\", JOptionPane.INFORMATION_MESSAGE);\r\n\t}", "public void setup() {\n statsTable();\n spawnsTable();\n }", "@Override\n\tpublic void start()\n\t{\n\t\tarena = \"scenarios/boxpushing/arena/pioneer.controller.arena.txt\"; \n\n\t\t\n\t\tschedule.reset();\n\n\t\tsuper.start();\n\n\t\tresetBehavior();\n\n\t}", "public void startGame() \n\t{\n\t\tgamePanel.startGame();\n\t}", "public void start() {\n while (true) {\n for (GameStep gameStep : gameStepList) {\n gameStep.performStep();\n }\n }\n }", "public void ratCrewStart() {\n printStatus();\n ratCrewGo();\n madeTheRun = true;\n printStatus();\n }", "public static void startGame() {\r\n\t\tfor (MovingUnit mu : _players) {\r\n\t\t\t((WinningInterface) mu).startUnit();\r\n\t\t}\r\n\t}", "private void setupPhase() {\n ClickObserver.getInstance().setTerrainFlag(\"Setup: SelectStartTerrain\");\n for (final Player p : playerList) {\n \t\n this.player = p;\n player.flipAllUp();\n ClickObserver.getInstance().setActivePlayer(this.player);\n pause();\n \n // Cover all terrains, uncover starting pos ones\n Platform.runLater(new Runnable() {\n @Override\n public void run() {\n GUI.getRackGui().setOwner(player);\n \tBoard.applyCovers();\n \tfor (Coord spot : startingPos) {\n \t\tif (!Board.getTerrainWithCoord(spot).isOccupied())\n \t\t\tBoard.getTerrainWithCoord(spot).uncover();\n \t}\n GUI.getHelpText().setText(\"Setup Phase: \" + p.getName() \n + \", select a valid hex to start your kingdom.\");\n }\n });\n while( isPaused ){\n int num = p.getHexesOwned().size();\n if( num == 1 ){\n unPause();\n Platform.runLater(new Runnable() {\n @Override\n public void run() {\n \tPlayerBoard.getInstance().updateGold(player);\n }\n });\n System.out.println(\"done\");\n }\n try { Thread.sleep(100); } catch( Exception e ){ return; }\n }\n player.flipAllDown();\n }\n pause();\n \n // Now that all players have selected starting spots, flip over all terrains\n // *Note: Not sure I understand the rules with regards to this, but I think this is right\n Platform.runLater(new Runnable() {\n @Override\n public void run() {\n \t Board.showTerrains();\n Board.removeBadWaters();\n }\n });\n while( isPaused ){\n try { Thread.sleep(100); } catch( Exception e ){ return; }\n }\n \n // Check if player has at least two land hexes around starting spot\n for( final Player p : playerList ) {\n this.player = p;\n\n player.flipAllUp();\n ClickObserver.getInstance().setActivePlayer(this.player);\n pause();\n Platform.runLater(new Runnable() {\n @Override\n public void run() {\n GUI.getHelpText().setText(p.getName() \n + \", select a water hex to replace with from deck\");\n Board.removeBadAdjWaters();\n }\n });\n while( isPaused ){\n try { Thread.sleep(100); } catch( Exception e ){ return; }\n }\n\n player.flipAllDown();\n }\n \n Platform.runLater(new Runnable() {\n @Override\n public void run() {\n \t\t\tTileDeck.getInstance().slideOut();\n }\n });\n\n \n // next prompt each player to select an adjacent hex\n ClickObserver.getInstance().setTerrainFlag(\"Setup: SelectTerrain\");\n // loop 2 times so each player adds 2 more hexes\n for( int i=0; i<2; i++ ){\n for( final Player p : playerList ) {\n this.player = p;\n\n player.flipAllUp();\n ClickObserver.getInstance().setActivePlayer(this.player);\n pause();\n \n final ArrayList<Terrain> ownedHexes = player.getHexesOwned();\n Platform.runLater(new Runnable() {\n @Override\n public void run() {\n Board.applyCovers();\n }\n });\n \tfor (Terrain t1 : ownedHexes) {\n \t\tIterator<Coord> keySetIterator = Board.getTerrains().keySet().iterator();\n \twhile(keySetIterator.hasNext()) {\n \t\tCoord key = keySetIterator.next();\n \t\tfinal Terrain t2 = Board.getTerrains().get(key);\n \t\tif (t2.compareTo(t1) == 1 && !t2.isOccupied() && !t2.getType().equals(\"SEA\")) {\n Platform.runLater(new Runnable() {\n @Override\n public void run() {\n \t\t\tt2.uncover();\n }\n });\n \t\t}\n \t}\n \t}\n Platform.runLater(new Runnable() {\n @Override\n public void run() {\n GUI.getRackGui().setOwner(player);\n GUI.getHelpText().setText(\"Setup Phase: \" + p.getName() \n + \", select an adjacent hex to add to your kingdom.\");\n }\n });\n // forces the GameLoop thread to wait until unpaused\n while( isPaused ){\n try { Thread.sleep(100); } catch( Exception e ){ return; }\n }\n player.flipAllDown();\n }\n }\n // prompt each player to place their first tower\n ClickObserver.getInstance().setTerrainFlag(\"Construction: ConstructFort\");\n for( final Player p : playerList ) {\n this.player = p;\n \n player.flipAllUp();\n ClickObserver.getInstance().setActivePlayer(this.player);\n pause();\n \n Platform.runLater(new Runnable() {\n @Override\n public void run() {\n Board.applyCovers();\n GUI.getRackGui().setOwner(player);\n GUI.getHelpText().setText(\"Setup Phase: \" + p.getName() \n + \", select one of your tiles to place a tower.\");\n }\n });\n \n // sleeps to avoid null pointer (runLater is called before player.getHexesOwned() below)\n try { Thread.sleep(50); } catch( Exception e ){ return; }\n ArrayList<Terrain> ownedHexes = player.getHexesOwned();\n \n for (final Terrain t : ownedHexes) {\n \t\n \tif (t.getOwner().getName().equals(player.getName())) { \n Platform.runLater(new Runnable() {\n @Override\n public void run() {\n \t\tt.uncover();\n }\n });\n \t}\n }\n while( isPaused ){\n try { Thread.sleep(100); } catch( Exception e ){ return; }\n }\n player.flipAllDown();\n }\n // allow players to add some or all things to their tiles.\n ClickObserver.getInstance().setTerrainFlag(\"RecruitingThings: PlaceThings\");\n Platform.runLater(new Runnable() {\n @Override\n public void run() {\n GUI.getDoneButton().setDisable(false);\n }\n });\n for (final Player p : playerList) {\n this.player = p;\n player.flipAllUp();\n doneClicked = false;\n ClickObserver.getInstance().setClickedTerrain(p.getHexesOwned().get(2));\n Platform.runLater(new Runnable() {\n @Override\n public void run() {\n \tClickObserver.getInstance().whenTerrainClicked();\n GUI.getRackGui().setOwner(player);\n Board.applyCovers();\n GUI.getHelpText().setText(\"Setup Phase: \" + p.getName()\n + \", place some or all of your things on a tile you own.\");\n }\n });\n ClickObserver.getInstance().setActivePlayer(this.player);\n pause();\n ArrayList<Terrain> ownedHexes = player.getHexesOwned();\n for (final Terrain t : ownedHexes) {\n \tif (t.getOwner().getName().equals(player.getName())) {\n\t Platform.runLater(new Runnable() {\n\t @Override\n\t public void run() {\n\t \t\tt.uncover();\n\t }\n\t });\n \t}\n }\n \n while (isPaused) {\n try { Thread.sleep(100); } catch(Exception e) { return; }\n }\n player.flipAllDown();\n }\n ClickObserver.getInstance().setTerrainFlag(\"\");\n Platform.runLater(new Runnable() {\n @Override\n public void run() {\n Board.removeCovers();\n }\n });\n }", "public void startGame() {\n\t\tfor(Chess.RowConfiguration rowConfiguration : Chess.getRowConfigurations()) {\n\t\t\tint row = rowConfiguration.row;\n\t\t\tClass[] pieceClasses = rowConfiguration.pieces;\n\t\t\tChess.Color sideColor = rowConfiguration.sideColor;\n\n\t\t\tfor(int col = 0; col < Chess.NUM_COLS; col++) {\n\t\t\t\taddPiece(pieceClasses[col], sideColor, board.getSpot(row, col));\n\t\t\t}\n\t\t}\n\t\t\n\t\tthis.inPlay = true;\n\t\t\n\t\tstartNewTurn();\n\t\t\n\t\tif(eventListener != null) {\n\t\t\teventListener.onGameStarted();\n\t\t}\n\t}", "public void run() {\n\n /**\n * let the user the know what is going to happen\n */\n showExecutionStart();\n\n /**\n * create an archetype for the new application\n */\n executeArchetypeCommand();\n\n /**\n * Provide some delay to allow thread to create the archetype\n */\n splash = new SplashScreen();\n\n for (int i = 0; i < 7; i++) {\n updateStatus(i);\n try {\n Thread.sleep(500);\n } catch (InterruptedException ie) {\n ie.printStackTrace();\n }\n }\n\n hideSplashScreen();\n splash = null;\n\n /**\n * let the user the know what is going to happen\n */\n showExecutionEnd();\n }", "private void setUpGame() {\n DotCom one = new DotCom();\n one.setName(\"Pets.com\");\n DotCom two = new DotCom();\n two.setName(\"eToys.com\");\n DotCom three = new DotCom();\n three.setName(\"Go2.com\");\n dotComList.add(one);\n dotComList.add(two);\n dotComList.add(three);\n\n //display brief instructions for the user//Выводим краткие инструкции для пользователя\n System.out.println(\"Ваша цель - потопить 3 сайта\");\n System.out.println(\"Pets.com, eToys.com,Go2.com\");\n System.out.println(\"Потытайтесь потопить их за минимальное количество ходов\");\n\n for (DotCom dotComToSet : dotComList) {// Повторяем с каждым объектом DotCom в списке\n ArrayList<String> newLocation = helper.placeDotCom(3);//Запрашиваем у вспомогательного объекта адрес \"сайта\"\n dotComToSet.setLocationCells(newLocation); // Вызываем сеттре из объекта DotCom чтобы передать ему\n // местоположение которое только что получилии от вспомогательного объекта\n }\n }", "private void startGame() {\n\t\tmain.next_module = new Game(main, inputs, gameSelectionData);\n\t}", "public void OnStart(){\n\t\t//create the random space background and put its priority behind everything else\n\t\tswitch ((int) (Math.random() * 3)){\n\t\t\tcase 0:\n\t\t\t\tbackground = new Background(R.drawable.spaceback_med,new Point(0,0),-1);\n\t\t\t\tbreak;\n\t\t\tcase 1:\n\t\t\t\tbackground = new Background(R.drawable.spaceback_asteroids,new Point(0,0),-1);\n\t\t\t\tbreak;\n\t\t\tcase 2:\n\t\t\t\tbackground = new Background(R.drawable.spaceback_nebula,new Point(0,0),-1);\n\t\t\t\tbreak;\n\t\t}\n\t\t//generate asteroids\n\t\tinitAsteroids((int)(Math.random()*3));\n\t\t//create a border for the background (draw on top)\n\t\tnew Border(background,1000);\n\t\t//create the player\n\t\tplayer = new Player(new Point(-300,300), 1);\n\t\t//create a target reticule for the player\n\t\ttarget = new Target(player);\n\t\t\n\t\t//load sounds\n\t\tGameState.State().LoadSound(R.raw.shoot, \"shoot\");\n\t\tGameState.State().LoadSound(R.raw.accelerate, \"accelerate\");\n\t\tGameState.State().LoadSound(R.raw.engine, \"engine\");\n\t\tGameState.State().LoadSound(R.raw.explosion, \"explosion\");\n\t\tGameState.State().LoadSound(R.raw.death, \"death\");\n\t\t\n\t\thasStarted = true;\n\t\t\n\t\trespawnCount = 0.0f;\n\t\trespawnTime = 4f;\n\t}", "public void tests() {\n this.testStartBaseLocationsDraw();\n }", "private void initialSetup() {\n\t\tplaceNewPiece('a', 1, new Rook(board, Color.WHITE));\n placeNewPiece('b', 1, new Knight(board, Color.WHITE));\n placeNewPiece('c', 1, new Bishop(board, Color.WHITE));\n placeNewPiece('d', 1, new Queen(board, Color.WHITE));\n placeNewPiece('e', 1, new King(board, Color.WHITE, this)); // 'this' refere-se a esta jogada\n placeNewPiece('f', 1, new Bishop(board, Color.WHITE));\n placeNewPiece('g', 1, new Knight(board, Color.WHITE));\n placeNewPiece('h', 1, new Rook(board, Color.WHITE));\n placeNewPiece('a', 2, new Pawn(board, Color.WHITE, this));\n placeNewPiece('b', 2, new Pawn(board, Color.WHITE, this));\n placeNewPiece('c', 2, new Pawn(board, Color.WHITE, this));\n placeNewPiece('d', 2, new Pawn(board, Color.WHITE, this));\n placeNewPiece('e', 2, new Pawn(board, Color.WHITE, this));\n placeNewPiece('f', 2, new Pawn(board, Color.WHITE, this));\n placeNewPiece('g', 2, new Pawn(board, Color.WHITE, this));\n placeNewPiece('h', 2, new Pawn(board, Color.WHITE, this));\n\n placeNewPiece('a', 8, new Rook(board, Color.BLACK));\n placeNewPiece('b', 8, new Knight(board, Color.BLACK));\n placeNewPiece('c', 8, new Bishop(board, Color.BLACK));\n placeNewPiece('d', 8, new Queen(board, Color.BLACK));\n placeNewPiece('e', 8, new King(board, Color.BLACK, this));\n placeNewPiece('f', 8, new Bishop(board, Color.BLACK));\n placeNewPiece('g', 8, new Knight(board, Color.BLACK));\n placeNewPiece('h', 8, new Rook(board, Color.BLACK));\n placeNewPiece('a', 7, new Pawn(board, Color.BLACK, this));\n placeNewPiece('b', 7, new Pawn(board, Color.BLACK, this));\n placeNewPiece('c', 7, new Pawn(board, Color.BLACK, this));\n placeNewPiece('d', 7, new Pawn(board, Color.BLACK, this));\n placeNewPiece('e', 7, new Pawn(board, Color.BLACK, this));\n placeNewPiece('f', 7, new Pawn(board, Color.BLACK, this));\n placeNewPiece('g', 7, new Pawn(board, Color.BLACK, this));\n placeNewPiece('h', 7, new Pawn(board, Color.BLACK, this));\n\t}", "public void runProgram() {\n\n\t\tSystem.out.println(\"\\n Time to start the machine... \\n\");\n\n\t\tpress.pressOlive(myOlives);\n\n\t\tSystem.out.println(\"Total amount of oil \" + press.getTotalOil());\n\t}", "private void build()\n\t{\n\t\tengine.addSystem(new InputSystem());\n\t\tengine.addSystem(new MovementSystem());\n\t\t\n\t}", "public void begin() {\n if (!checkParams()) return;\n\n buildModel();\n buildSchedule();\n buildDisplay();\n\n displaySurf.display();\n populationPlot.display();\n }", "public void run() {\r\n this.createBallsOnTopOfPaddle();\r\n this.running = true;\r\n this.runner.run(new CountdownAnimation(2, 3, sprites));\r\n this.runner.run(this);\r\n }", "public void initializeGameComponents(){\n\t\tcreateWalls();\n\t}", "private void buildWorld() {\r\n\t\tremoveAll();\r\n\t\tintro = null;\r\n\t\tfacingEast = true;\r\n\t\t\r\n\t\taddLevels();\r\n\t\taddCharacters();\r\n\t\taddLifeDisplay();\r\n\t}", "void initializeGame() {\n // Initialize players\n // Put the pieces on the board\n }", "public final void start() {\n logger.info(\"Application started.\");\n try {\n getAttributes();\n\n initSystem();\n\n assertDisplayCreated();\n\n timer = Timer.getTimer();\n \n initGame();\n\n //main loop\n while (!finished && !display.isClosing()) {\n //determine time elapsed since last frame\n updateTime();\n\n //handle input events prior to updating the scene\n // - some applications may want to put this into update of the game state\n InputSystem.update();\n\n //update game state, pass amount of elapsed time\n update(frametime);\n\n //render, do not use interpolation parameter\n render(-1.0f);\n\n //swap buffers\n display.getRenderer().displayBackBuffer();\n\n Thread.yield();\n }\n } catch (Throwable t) {\n logger.logp(Level.SEVERE, this.getClass().toString(), \"start()\", \"Exception in game loop\", t);\n } finally {\n cleanup();\n }\n logger.info(\"Application ending.\");\n\n if (display != null) {\n display.reset();\n }\n quit();\n }", "private void startUpPhase()\n\t{\n\t\tmap.distributeCountries(); /* Randomly split the countries between the players */\n\t\tArrayList<Player> remainingPlayers = new ArrayList<Player>(map.players);\n\t\t\n\t\tdo \n\t\t{\n\t\t\tIterator<Player> i = remainingPlayers.iterator();\n\t\t\t\n\t\t\twhile (i.hasNext()) \n\t\t\t{\n\t\t\t\tPlayer p = i.next();\n\t\t\t\tif(p.getArmies() == 0) \n\t\t\t\t{\n\t\t\t\t\ti.remove();\n\t\t\t\t} \n\t\t\t\telse \n\t\t\t\t{\n\t\t\t\t\tp.placeOneArmy();\n\t\t\t\t}\n\t\t\t}\n\t\t}while(remainingPlayers.size() != 0);\n\t}", "private static void setupLocations() {\n\t\tcatanWorld = Bukkit.createWorld(new WorldCreator(\"catan\"));\n\t\tspawnWorld = Bukkit.createWorld(new WorldCreator(\"world\"));\n\t\tgameLobby = new Location(catanWorld, -84, 239, -647);\n\t\tgameSpawn = new Location(catanWorld, -83, 192, -643);\n\t\thubSpawn = new Location(spawnWorld, 8, 20, 8);\n\t\twaitingRoom = new Location(catanWorld, -159, 160, -344);\n\t}", "private void setUp() {\n players.forEach(player -> player.draw(GameConstants.STARTING_HAND_SIZE.value()));\n }", "public void startApplication() {\n\t\tgameView = new GameGUI(this);\n\t\t\n\t\t/*\n\t\t * Create bonus GUI now.\n\t\t * TODO: Use swing worker thread to create bonus GUI\n\t\t * \t\t that way if GUI had more bells and whistles to it\n\t\t * \t\t the bonus GUI creation wouldn't take up processing time\n\t\t * \t\t on the main thread.\n\t\t */\n\t\tcreateBonusGUI();\n\t\t\n\t\t//GUI created and ready to show to the user\n\t\tgameView.allowVisibility();\n\t\tGameSounds.startBackgroundMusic();\n\t}", "private void prepare()\n {\n Block block = new Block(10);\n addObject(block,372,150);\n Wall wall = new Wall();\n addObject(wall,52,167);\n Wall wall2 = new Wall();\n addObject(wall2,160,167);\n Wall wall3 = new Wall();\n addObject(wall3,550,167);\n Wall wall4 = new Wall();\n addObject(wall4,650,167);\n Wall wall5 = new Wall();\n addObject(wall5,750,167);\n block.setLocation(306,171);\n Robot robot = new Robot();\n addObject(robot,48,51);\n Pizza pizza = new Pizza();\n addObject(pizza,550,60);\n Pizza pizza2 = new Pizza();\n addObject(pizza2,727,53);\n Pizza pizza3 = new Pizza();\n addObject(pizza3,364,303);\n Pizza pizza4 = new Pizza();\n addObject(pizza4,224,400);\n Pizza pizza5 = new Pizza();\n addObject(pizza5,622,395);\n ScorePanel scorePanel = new ScorePanel();\n addObject(scorePanel,106,525);\n Home home = new Home();\n addObject(home,717,521);\n\n block.setLocation(344,173);\n pizza3.setLocation(394,297);\n Pizza pizza6 = new Pizza();\n addObject(pizza6,711,265);\n Pizza pizza7 = new Pizza();\n addObject(pizza7,68,276);\n\n }", "public void setup() {\n\t\taddBehaviour(new TickerBehaviour(this, 1000L) {\n\n\t\t\t@Override\n\t\t\tprotected void onTick() {\n\t\t\t\tint extinguishedFires = 0;\n\t\t\t\t\n\t\t\t\tfor(int i = 0; i < worldAgent.getAircraftAgents().length; i++) {\n\t\t\t\t\textinguishedFires+=worldAgent.getAircraftAgents()[i].getAircraftMetricsStats().getNumTotalFiresExtinguishedByThisAircraft();\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tworldAgent.getWorldMetricsStats().setNumTotalFiresExtinguishedByAllAircrafts(extinguishedFires);\n\t\t\t\t\n\t\t\t\tif(extinguishedFires >= 3) {\t\t\t\t\t\n\t\t\t\t\tlong end_time = System.currentTimeMillis();\n\t\t\t\t\tlong execution_time = end_time - init_time;\n\t\t\t\t\t\n\t\t\t\t\tAircraftAgent[] aircrafts = worldAgent.getAircraftAgents();\n\t\t\t\t\t\n\t\t\t\t\tfor(int i = 0; i < aircrafts.length; i++) {\n\t\t\t\t\t\t\n\t\t\t\t\t\tfor(Thread sleepingThread : aircrafts[i].getSleepingThreads().values()) {\n\t\t\t\t\t\t\tSystem.err.println(\"Interrupting thread = \\\"\" + sleepingThread.getName() + \"!\");\n\t\t\t\t\t\t\tsleepingThread.interrupt();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tkillContainer();\n\t\t\t\t\t\n\t\t\t\t\tLogger.appendConfigValues(execution_time);\n\t\t\t\t\t\n\t\t\t\t\tSystem.out.println(\"Run no. \" + JADELauncher.NUMBER_OF_RUNS + \" finished.\");\n\n\t\t\t\t\tif(JADELauncher.NUMBER_OF_RUNS == 0) {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tLogger.closeStream();\n\t\t\t\t\t\t} catch (IOException 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\tSystem.exit(0);\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tJADELauncher.NUMBER_OF_RUNS--;\n\t\t\t\t\t\tinstanceRun();\n\t\t\t\t\t}\n\t\t\t\t}\t\t\t\t\n\t\t\t}\n\n\t\t\t\n\t\t});\n\t\t\n\t\tinstanceRun();\n\t}", "public void gameUpdate() {\n\t\t\n\t\t// Remember our homeTilePosition at the first frame\n\t\tif (bwapi.getFrameCount() == 1) {\n\t\t\tint cc = BuildManager.getInstance().getNearestUnit(UnitTypes.Terran_Command_Center.ordinal(), 0, 0);\n\t\t\tif (cc == -1) cc = BuildManager.getInstance().getNearestUnit(UnitTypes.Zerg_Hatchery.ordinal(), 0, 0);\n\t\t\tif (cc == -1) cc = BuildManager.getInstance().getNearestUnit(UnitTypes.Protoss_Nexus.ordinal(), 0, 0);\n\t\t\thomePositionX = bwapi.getUnit(cc).getX();\n\t\t\thomePositionY = bwapi.getUnit(cc).getY();\n\t\t\n\t\t\tResourceManager.getInstance().gameStart(bwapi.getMyUnits());\n\t\t}\n\t\t\n\t\t/*\n\t\tif(ResourceManager.getInstance().numWorkers() == 10 && ScoutManager.getInstance().numScouts() == 0) {\n\t\t\tbwapi.printText(\"Assigning a scout\");\n\t\t\tneedsScout();\n\t\t}\n\t\t*/\n\t\t\n\t\tfor (Manager manager : managers.values())\n\t\t\tmanager.gameUpdate();\n\t\t\n\t\t// Draw debug information on screen\n\t\tdrawDebugInfo();\n\n\t\t\n\t\t// Call the act() method every 30 frames\n\t\tif (bwapi.getFrameCount() % 30 == 0) {\n\t\t\tact();\n\t\t}\n\t}", "public void initGame() {\n\t\tWorld.clear();\n\t\tstate = STATE.PLAYING;\n\n\t\tWorld.add(bat1);\n\t\tWorld.add(bat2);\n\n\t\tball = new Ball(Screen.getCenterX() - Ball.WIDTH / 2,\n\t\t\t\tScreen.getCenterY() - Ball.HEIGHT / 2);\n\n\t\tWorld.add(new Wall(0, 0, Screen.getWidth(), LOWER_LIMIT));\n\t\tWorld.add(new Wall(0, UPPER_LIMIT, Screen.getWidth(), Screen\n\t\t\t\t.getHeight() - UPPER_LIMIT));\n\n\t\tWorld.add(ball);\n\n\t\tInput.register(new InputListener() {\n\n\t\t\t@Override\n\t\t\tpublic void keyDown(int eventKey) {\n\t\t\t\tif (eventKey == Keyboard.KEY_ESCAPE) {\n\t\t\t\t\tinitIntro();\n\t\t\t\t\tInput.unregister(this);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t@Override\n\t\t\tpublic void keyUp(int eventKey) {\n\t\t\t}\n\t\t});\n\t\tWorld.add(new TextStatic(footerText, Screen.getCenterX()\n\t\t\t\t- footerText.length() * Sprite.CHAR_WIDTH / 2,\n\t\t\t\tSprite.CHAR_HEIGHT, Color.yellow));\n\t}", "public void startManagerGameLoop( boolean isLoaded )\n {\n gameManager.startGameLoop(isLoaded);\n playerInfoPanel.setMap(gameManager.getMapManager().getMap());\n add(playerInfoPanel,BorderLayout.SOUTH);\n }", "public void init() {\n\t\tGRect background = new GRect(APPLICATION_WIDTH, APPLICATION_HEIGHT);\n\t\tbackground.setFilled(true);\n\t\tbackground.setFillColor(Color.LIGHT_GRAY);\n\t\tadd(background);\n\t\t\n\t\ttopText = new GLabel(\"Welcome to the slot machine!\");\n\t\tmidText = new GLabel(\"You now have $50.\");\n\t\tbotText = new GLabel(\"Click to play\");\n\t\ttopText.setFont(\"Serif-24\");\n\t\tmidText.setFont(\"Serif-24\");\n\t\tbotText.setFont(\"Serif-24\");\n\t\tadd(topText, 100, 250);\n\t\tadd(midText, 100, 280);\n\t\tadd(botText, 100, 310);\n\t\t\n\t\tslotBox1 = new GImage(\"empty.png\");;\n\t\tslotBox2 = new GImage(\"empty.png\");\n\t\tslotBox3 = new GImage(\"empty.png\");\n\t\tadd(slotBox1, 100, 100);\n\t\tadd(slotBox2, 250, 100);\n\t\tadd(slotBox3, 400, 100);\n\t\t\n\t\t\n\t\t\n\t\twhile (!gameOver()) {\n\t\t\twaitForClick();\n\t\t\tremoveAll();\n\t\t\tadd(background);\n\t\t\tplayGame();\n\t\t}\n\t}", "public void populate() { \n \n // make some grounds\n ground1 = new Body(world, PolygonShape.makeBox(100, 5), Body.Type.STATIC);\n ground1.setPosition(new Vec2(-380, -200));\n \n Body ground2 = new Body(world, PolygonShape.makeBox(100, 5), Body.Type.STATIC);\n ground2.setPosition(new Vec2(-0, -200));\n\n Body ground3 = new Body(world, PolygonShape.makeBox(100, 5), Body.Type.STATIC);\n ground3.setPosition(new Vec2(300, -100));\n \n // make a moving platform \n Body movingPlatform = new SlidingPlatform(world, PolygonShape.makeBox(100, 5), new Vec2(130, 0), 2);\n movingPlatform.setPosition(new Vec2(-260, -150));\n \n // make some bottles\n Bottle bottle1 = new Bottle(game);\n bottle1.putOn(ground1);\n bottle1.setName(\"bottle1\");\n \n Bottle bottle2 = new Bottle(game);\n bottle2.putOn(ground2);\n bottle2.setName(\"bottle2\");\n \n Bottle bottle3 = new Bottle(game);\n bottle3.putOn(ground3);\n bottle3.setName(\"bottle3\");\n \n // show dialog with information about level\n JOptionPane.showMessageDialog(frame, \"Press N or M to throw bottles to kill Boxies.\", \"Level instructions:\", JOptionPane.PLAIN_MESSAGE);\n \n // make some boxies\n Boxy boxy1 = new Boxy(game);\n boxy1.setName(\"boxy1\");\n Vec2 vec1 = new Vec2(100, 0);\n boxy1.move(vec1);\n\n Boxy boxy2 = new Boxy(game);\n boxy2.setName(\"boxy2\");\n Vec2 vec2 = new Vec2(-100, 200);\n boxy2.move(vec2);\n\n Boxy boxy3 = new Boxy(game);\n boxy3.setName(\"boxy3\");\n Vec2 vec3 = new Vec2(-400, 200);\n boxy3.move(vec3);\n \n }", "public void startup() {\n\t\tstart();\n }", "@Override\n public void run(){\n Initialize();\n // Load game files (images, sounds, ...)\n LoadContent();\n \n Framework.gameState = Framework.GameState.PLAYING;\n }", "@Override\n public void run(){\n Initialize();\n // Load game files (images, sounds, ...)\n LoadContent();\n \n Framework.gameState = Framework.GameState.PLAYING;\n }", "private void startGame() {\n\t\tentities.clear();\n\t\tinitEntities();\n\t\t\n\t\t// blank out any keyboard settings we might currently have\n\t\tleftPressed = false;\n\t\trightPressed = false;\n\t\tfirePressed = false;\n\t}", "public void createLocations() {\n createAirports();\n createDocks();\n createEdges();\n createCrossroads();\n }", "public void runProgram()\n\t{\n\t\tintro();\n\t\tfindLength();\n\t\tguessLetter();\n\t\tguessName();\n\t}", "public void initialize() {\n warpController = new WarpController(this);\n kitController = new KitController(this);\n crafting = new CraftingController(this);\n mobs = new MobController(this);\n items = new ItemController(this);\n enchanting = new EnchantingController(this);\n anvil = new AnvilController(this);\n blockController = new BlockController(this);\n hangingController = new HangingController(this);\n entityController = new EntityController(this);\n playerController = new PlayerController(this);\n inventoryController = new InventoryController(this);\n explosionController = new ExplosionController(this);\n requirementsController = new RequirementsController(this);\n worldController = new WorldController(this);\n arenaController = new ArenaController(this);\n arenaController.start();\n if (CompatibilityLib.hasStatistics() && !CompatibilityLib.hasJumpEvent()) {\n jumpController = new JumpController(this);\n }\n File examplesFolder = new File(getPlugin().getDataFolder(), \"examples\");\n examplesFolder.mkdirs();\n\n File urlMapFile = getDataFile(URL_MAPS_FILE);\n File imageCache = new File(dataFolder, \"imagemapcache\");\n imageCache.mkdirs();\n maps = new MapController(this, urlMapFile, imageCache);\n\n // Initialize EffectLib.\n if (com.elmakers.mine.bukkit.effect.EffectPlayer.initialize(plugin, getLogger())) {\n getLogger().info(\"EffectLib initialized\");\n } else {\n getLogger().warning(\"Failed to initialize EffectLib\");\n }\n\n // Pre-create schematic folder\n File magicSchematicFolder = new File(plugin.getDataFolder(), \"schematics\");\n magicSchematicFolder.mkdirs();\n\n // One-time migration of legacy configurations\n migrateConfig(\"enchanting\", \"paths\");\n migrateConfig(\"automata\", \"blocks\");\n migrateDataFile(\"automata\", \"blocks\");\n\n // Ready to load\n load();\n resourcePacks.startResourcePackChecks();\n }", "private void prepare()\n {\n\n MapButton mapButton = new MapButton(which);\n addObject(mapButton,58,57);\n Note note = new Note();\n addObject(note,1200,400);\n\n DropDownSuspects dropDownSuspects = new DropDownSuspects();\n addObject(dropDownSuspects,150,150);\n\n DropDownClues dropDownClues = new DropDownClues();\n addObject(dropDownClues,330,150);\n\n TestimonyFrame testimonyFrame = new TestimonyFrame();\n addObject(testimonyFrame,506,548);\n }", "public void populateUtilities(){\n\t\tMainScreen.groups = getGroups();\t//Populate Groups\n\t\tMainScreen.umArray = getUMs();\t\t//Populate Units of Measurement (UMs)\n\t\tMainScreen.locations = new WarehouseLocations();\t//Populate the Locations\n\t\tMainScreen.codeIndexTree = new IndexBTree();\n\t\tMainScreen.nameIndexTree = new IndexBTree();\n\t\tpopulateBinaryTrees();\n\t}", "protected void setup() {\n\t\t\n\n\n\t\tif(PropertiesLoaderImpl.IS_MAIN_SIMULATION_NODE)addBehaviour(new HandleClockBehaviour(this, TimeRateControl));\n\t\telse addBehaviour(new SlaveNodeClockBehaviour(this, TimeRateControl));\n\t\t\n\t\tif(PropertiesLoaderImpl.DEBUG) System.out.println(this.getName() +\" alive!!!!!!!!!!\\nStarting the simulation time\");\n\t\t\n\t\n\t\t\tSimulationClock.getInstance().setSimulationStarted(true);\n\t\n\t}", "private void prepareGame()\n {\n Rocket rocket = new Rocket();\n \n scoreCounter = new Counter(\"Score: \");\n \n addObject(rocket, getWidth()/2 + 100, getHeight()/2);\n \n addObject(scoreCounter, 60, 480);\n \n //TODO (69): Make a method call to addAsteroids that uses your constant for the number of asteroids\n addAsteroids(START_ASTEROIDS);\n }", "public abstract void startup();", "private void gameSetup(){\n\t\tboard.boardSetup();\n\t\tdirectionArray = setUpDirectionArray();\n\t\tcurrentPlayer = SharedConstants.PlayableItem.BLACK;\n\t\tcurrentState = SharedConstants.GameStatus.PLAYING;\n\t\tgameStateModel = new GameSateModel();\n\t\tloadGame = new GameStateRetriever();\n\t\tsaveGame = new GameStateWrter(connectFourModel.getGameStateModel());\n\t}", "public void start() {\r\n\t\tdiscoverTopology();\r\n\t\tsetUpTimer();\r\n\t}", "@Override\r\n public void runSimulation(){\r\n initialize();\r\n initialRun();\r\n initialize(\"square\");\r\n initialRun();\r\n initialize(\"circle\");\r\n initialRun();\r\n initialize(\"crack\");\r\n initialRun(); \r\n initialize(\"cross\");\r\n initialRun();\r\n }", "public void play() {\n List<String> playersData = getGameInput().getPlayersData();\n for (int id = 0; id < playersData.size() / Constants.DATAENTITY; id++) {\n getHeroes().add(getHeroFactory().getHero(\n playersData.get(id * Constants.DATAENTITY),\n Integer.parseInt(\n playersData.get(\n id * Constants.DATAENTITY\n + Constants.INDEXPOSX)),\n Integer.parseInt(\n playersData.get(\n id * Constants.DATAENTITY\n + Constants.INDEXPOSY)),\n id));\n }\n // We create the angels and add them to angels list.\n List<Integer> numOfAngels = getGameInput().getNumOfAngels();\n List<String> angelsData = getGameInput().getAngelsData();\n for (int i = 0; i < angelsData.size() / Constants.DATAENTITY; i++) {\n getAngels().add(getAngelsFactory().getAngel(\n angelsData.get(i * Constants.DATAENTITY),\n Integer.parseInt(\n angelsData.get(\n i * Constants.DATAENTITY\n + Constants.INDEXPOSX)),\n Integer.parseInt(\n angelsData.get(\n i * Constants.DATAENTITY\n + Constants.INDEXPOSY))));\n }\n\n getUtl().prepareAdmins();\n\n int angelCounter = 0; // To iterate through all angels only once.\n // We start the actual game.\n for (int i = 0; i < getMovements().size(); i++) { // For every round.\n\n getUtl().printRound(i + 1); // We start printing from round 1...\n\n for (int j = 0; j < getHeroes().size(); j++) {\n /* Apply overtime ability if the case and then hero chooses\n * strategy and moves if he is not rooted. Lastly we decrease\n * the amount of rounds that a hero must be affected by. */\n if (!getHeroes().get(j).isDead()) {\n if (getHeroes().get(j).isAffectedByAoT()) {\n getUtl().applyAoT(getHeroes().get(j));\n }\n if (!getHeroes().get(j).isRooted()) {\n getHeroes().get(j).chooseStrategy();\n getHeroes().get(j).move(getMovements().get(i).get(j));\n }\n if (getHeroes().get(j).isAffectedByAoT()) {\n getHeroes().get(j).setAffectedByAoTRounds(\n getHeroes().get(j).getAffectedByAoTRounds()\n - 1);\n }\n }\n }\n\n // Check if there are any players on the same terrain.\n for (int j = 0; j < getHeroes().size(); j++) {\n for (int k = 0; k < getHeroes().size(); k++) {\n if (k == j) {\n continue; // So a hero doesn't fight himself.\n }\n if ((getHeroes().get(j).getPosX()\n == getHeroes().get(k).getPosX())\n && (getHeroes().get(j).getPosY()\n == getHeroes().get(k).getPosY())) {\n // If they are both alive, fight.\n if (!getHeroes().get(j).isDead()\n && !getHeroes().get(k).isDead()) {\n getUtl().fight(getHeroes().get(k),\n getHeroes().get(j), getMap());\n }\n }\n }\n }\n\n // Selecting the angels that appear on round i\n for (int j = 0; j < numOfAngels.get(i); j++) {\n getUtl().spawnAngel(getAngels().get(angelCounter));\n for (int k = 0; k < getHeroes().size(); k++) {\n /* Checking if the selected angel and player k are on the\n * same terrain. */\n if (getAngels().get(angelCounter).getPosX()\n == getHeroes().get(k).getPosX()\n && (getAngels().get(angelCounter).getPosY()\n == getHeroes().get(k).getPosY())) {\n getUtl().affectHeroByAngel(\n getAngels().get(angelCounter),\n getHeroes().get(k));\n }\n }\n angelCounter++;\n }\n\n // When round is complete, everyone can fight again\n for (AbstractHero hero : getHeroes()) {\n hero.setFought(false);\n }\n getUtl().getOutput().add(\"\\n\");\n }\n printResults();\n }", "public void startup(){}", "@Override\n\tprotected void hamsterRun() {\n\t\t// EXERCISE 2:\n\t\t// Help Paule to walk through the territory and to bring all the grains\n\t\t// into his cave.\n\n\t\t// Walk to the first grain\n\t\tpaule.move();\n\t\tpaule.move();\n\t\tpaule.move();\n\t\tpaule.move();\n\t\tpaule.move();\n\n\t\t// Pick up the first grain\n\t\tpaule.pickGrain();\n\n\t\t// Turn in the direction of the second grain\n\t\tpaule.turnLeft();\n\t\tpaule.turnLeft();\n\t\tpaule.turnLeft();\n\n\t\t// You can remove this line\n\t\tpaule.write(\"I do not know how to continue:'(\");\n\n\t\t// Move to the second grain\n\t\t// TODO:implement\n\n\t\t// Pick up the second grain\n\t\t// TODO:implement\n\n\t\t// Add further steps (comment + code) to collect all grains!\n\t\t// TODO:implement\n\n\t\t// Pick up grains in the cave\n\t\t// TODO:implement\n\n\t\t// Put down all grains in the cave\n\t\t// TODO:implement\n\n\t}", "private void runApp() {\n parkinglots = new ArrayList<>();\n accounts = new ArrayList<>();\n input = new Scanner(System.in);\n loadParkingLots();\n loadAccounts();\n\n processLoginCommand();\n processMainMenuCommand();\n\n saveAccounts();\n System.out.println(\"\\ngoodbye!\");\n }", "public void start(){\n\t\tterritoryCardsReader.readCards(1,cards);\n\t\tterritoryCardsReader.readCards(2,cards);\n\t\tterritoryCardsReader.readCards(3,cards);\n\t\t\n\t\tbuildingCardsReader.readCards(1, cards);\n\t\tbuildingCardsReader.readCards(2, cards);\n\t\tbuildingCardsReader.readCards(3, cards);\n\t\t\n\t\tcharacterCardsReader.readCards(1, cards);\n\t\tcharacterCardsReader.readCards(2, cards);\n\t\tcharacterCardsReader.readCards(3, cards);\n\t\t\n\t\tventureCardsReader.readCards(1, cards);\n\t\tventureCardsReader.readCards(2, cards);\n\t\tventureCardsReader.readCards(3, cards);\n\t\t\n\t\tleaderCardsReader.readCards(cards);\n\t\t\n\t\tboardResourcesAndStartingPlayerResourcesReader.readResources(bonus);\n\t\tboardResourcesAndStartingPlayerResourcesReader.readStartingPlayerResources(bonus);\n\t\tboardResourcesAndStartingPlayerResourcesReader.readFaithTrack(bonus);\n\t\tboardResourcesAndStartingPlayerResourcesReader.readPersonalBoardTiles(bonus, \"advanced\");\n\t\tboardResourcesAndStartingPlayerResourcesReader.readTimers(timer);\n\t\t\n\t\texcommunicationTilesReader.readCards(1, cards);\n\t\texcommunicationTilesReader.readCards(2, cards);\n\t\texcommunicationTilesReader.readCards(3, cards);\n\t\t\n\t\t\n\t}", "@Override\n\tpublic void onAdd() {\n\t\tsuper.onAdd();\n\n\t\tsetIdleAnimation(4527);\n\t\tsetNeverRandomWalks(true);\n\t\tsetWalkingHomeDisabled(true);\n\n\t\tthis.region = Stream.of(AbyssalSireRegion.values()).filter(r -> r.getSire().getX() == getSpawnPositionX()\n\t\t && r.getSire().getY() == getSpawnPositionY()).findAny().orElse(null);\n\n\t\tRegion region = Region.getRegion(getSpawnPositionX(), getSpawnPositionY());\n\n\t\tif (region != null) {\n\t\t\tregion.forEachNpc(npc -> {\n\t\t\t\tif (npc instanceof AbyssalSireTentacle) {\n\t\t\t\t\tif (!npc.isDead()) {\n\t\t\t\t\t\tnpc.setDead(true);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t\tList<Position> tentaclePositions = Arrays.asList(\n\t\t\t\tthis.region.getTentacleEast(),\n\t\t\t\tthis.region.getTentacleWest(),\n\t\t\t\tthis.region.getTentacleNorthEast(),\n\t\t\t\tthis.region.getTentacleNorthWest(),\n\t\t\t\tthis.region.getTentacleSouthEast(),\n\t\t\t\tthis.region.getTentacleSouthWest()\n\t\t );\n\n\t\ttentaclePositions.forEach(position -> {\n\t\t\ttentacles.add(NpcHandler.spawnNpc(5909, position.getX(), position.getY(), position.getZ()));\n\t\t});\n\n\t\tList<Position> respiratoryPositions = Arrays.asList(\n\t\t\t\tthis.region.getRespiratorySystemNorthEast(),\n\t\t\t\tthis.region.getRespiratorySystemNorthWest(),\n\t\t\t\tthis.region.getRespiratorySystemSouthEast(),\n\t\t\t\tthis.region.getRespiratorySystemSouthWest()\n\t\t );\n\n\t\trespiratoryPositions.forEach(position -> respiratorySystems.add(\n\t\t\t\tNpcHandler.spawnNpc(5914, position.getX(), position.getY(), position.getZ())));\n\t}", "public void start() {\n System.out.println(\"Hello player. In front of you is a 3 x 3 grid of tiles numbered from 1 to 8, and \\n\" +\n \"the goal is to put the tiles in increasing order from left to right and top to bottom \\n\" +\n \"as shown below. \\n\");\n\n int[][] sample = {{1,2,3},{4,5,6},{7,8,0}};\n Board sampleBoard = new Board(sample);\n\n System.out.println(sampleBoard.toString());\n\n System.out.println(\"After you have solved the board or you have forfeited by pressing the SPACE key, you can \\n\" +\n \"right-click to generate a new board and then press enter to start the timer again.\\n\\n\" +\n \"If you ever have any trouble, you can request the computer\\n\" +\n \"to solve the board by forfeiting and pressing ENTER to let the computer walk you through a solution. \\n\\n\" +\n \"When you are ready, PRESS ENTER KEY TO START THE TIMER OR PRESS SPACE TO FORFEIT AND TRY ANOTHER BOARD. \");\n\n\n }", "public void setUp() {\n\t\t// should create all the olives based on # in constructor\n\n\t\tthis.myOlives = addOlive(this.amountOfOlives);\n\n\t\tthis.press = new OlivePress();\n\t}", "public void Init(){\n\t\trequestFocus();\n\t\tBufferedImageLoader loader = new BufferedImageLoader();\t\t// Class to load images\n\t\ttry {\n\t\t\tBackGround = loader.loadImage(\"/Scroll Small.png\");\t\t// Load background\n\t\t} catch (IOException e) {e.printStackTrace();}\n\t\t\n\t\ttext = new Text(this);\n\t\tren = new Render(screenHeight, screenWidth);\n\t\titems = ItemManager.getInstance();\n\t\tmon = MonsterManager.getInstance(this, text);\n\t\trooms = RoomManager.getInstance(items, mon);\n\t\trep = new Reponses(this, text, rooms);\n\t\tthis.addKeyListener(new KeyInput(this, mon));\t\t\t\t// Keyboard input\n\t\tthis.addMouseListener(new MouseInput(this, text, screenHeight, screenWidth)); // Mouse input\n\t\t\n\t\troom = rooms.x2y3;\t\t\t\t// Set starting location\n\t\t\n\t\trender(); render(); render();\t// Render screen\n\t}", "protected abstract void preRun();", "public void GameStart()\n\t\t{\n\t\t\tplayers_in_game++;\n\t\t}", "public void onStart(){\n\t\tif(Bukkit.getPluginManager().isPluginEnabled(\"MVdWPlaceholderAPI\")){\n\t\t\tPlaceholderAPI.registerPlaceholder(SimplePlugin.getPlugin(ArenaPlugin.class), \"build_battle_alive_players\",\n\t\t\t\t\tplaceholderReplaceEvent -> Integer.toString(arena.getPlayers(ArenaJoinMode.PLAYING).size()));\n\n\t\t\tPlaceholderAPI.registerPlaceholder(SimplePlugin.getPlugin(ArenaPlugin.class), \"build_battle_remaining_build\", placeholderReplaceEvent -> {\n\t\t\t\tString message = getArena().getHeartbeat().getTimeLeft() <= 59 ?\n\t\t\t\t\t\tCommon.plural(0,\"second\"):\n\t\t\t\t\t\tCommon.plural(getArena().getHeartbeat().getTimeLeft()-60, \"second\");\n\t\t\t\treturn message;\n\t\t\t});\n\n\t\t\tPlaceholderAPI.registerPlaceholder(SimplePlugin.getPlugin(ArenaPlugin.class), \"build_battle_highest_voted_theme\", placeholderReplaceEvent ->\n\t\t\t\t\tString.valueOf(VoteMenu.getHighestVotedTheme()));\n\n\t\t\tPlaceholderAPI.registerPlaceholder(SimplePlugin.getPlugin(ArenaPlugin.class), \"build_battle_voting_time\", placeholderReplaceEvent ->\n\t\t\t\t\tInteger.toString(arena.getSettings().getVotingDuration().getTimeSeconds()));\n\n\n\t\t\tPlaceholderAPI.registerPlaceholder(SimplePlugin.getPlugin(ArenaPlugin.class), \"build_battle_game_round\", placeholderReplaceEvent ->\n\t\t\t\t\tInteger.toString(arena.getSettings().getGameDuration().getTimeSeconds()));\n\t\t}\n\t}", "public void startGame() {\n\t\t// create a new button to start the game\n\t\tstart = new JButton(\"Start\");\n\t\t// add an actionListener\n\t\tstart.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tcurrent = controller.tree.getRoot();\n\t\t\t\t// remove the start button\n\t\t\t\tsouth.remove(start);\n\t\t\t\tvalidate();\n\n\t\t\t\t// remove the picture + menu\n\t\t\t\tcenter.remove(image);\n\t\t\t\tcenter.remove(menuPanel);\n\n\t\t\t\t// add JTextArea to center panel and update text to whatever\n\t\t\t\t// current's data is\n\t\t\t\tquestion = new JTextField();\n\t\t\t\tquestion.setEditable(false);\n\t\t\t\tquestion.setBackground(new Color(#00aeef));\n\n\t\t\t\t// Insets constructor summary: (top, left, bottom, right)\n\t\t\t\tquestion.setText(current.getData().toString());\n\t\t\t\tquestion.setHorizontalAlignment(JTextField.CENTER);\n\t\t\t\tvalidate();\n\t\t\t\t// adds the question panel to the center\n\t\t\t\tcenter.add(question);\n\n\t\t\t\tvalidate();\n\n\t\t\t\t// create JPanel with GridLayout -- 1 rows, 2 columns\n\t\t\t\tsouth.setLayout(new GridLayout(1, 2));\n\t\t\t\tvalidate();\n\n\t\t\t\t// create yes button\n\t\t\t\tyes();\n\n\t\t\t\t// create no button\n\t\t\t\tno();\n\n\t\t\t}\n\t\t});\n\t\t// add the start button to the south panel\n\t\tsouth.add(start);\n\t\tvalidate();\n\t}", "public void loadStart()\n {\n score = 0;\n clear();\n HashMap<Location, State> start = gm.start();\n for (Location add : start.keySet())\n addToBoard(add, start.get(add));\n }", "@Override\n\tpublic void gameStarted() {\n\t\tupdatePosition(0,0,0);\n//\t\tstartSendingPositionsThread();\n\t}", "public void start() {\n\n\t\t// There will be no established screen at startup.\n\t\tif (screen != null)\n\t\t\tthrow new RuntimeException(\"Multiple instances of the game cannot be run.\");\n\n\t\t// Fire up the main menu screen.\n\t\tsetCurrentScreen(new MainMenuScreen());\n\t}", "public void runGame()\r\n\t{\r\n\t\tmainFrame.runGame();\r\n\t}", "public void Define() {\n manager = new Manager(); // Initialize other classes\n save = new Save();\n store = new Store();\n menu = new Menu();\n postgame = new PostGame();\n\n map = new ImageIcon(\"res/map.png\").getImage(); // Load background image\n \t\n \n // Load the track image\n track = new ImageIcon(\"res/TrackCorner.png\").getImage(); // Initialize the track image file\n \n // Load images for the towers\n tileset_towers[0] = new ImageIcon(\"res/redlasertower.png\").getImage();\n tileset_towers[1] = new ImageIcon(\"res/blueLaserTower.png\").getImage();\n tileset_towers[2] = new ImageIcon(\"res/goldLaserTower.png\").getImage();\n \n // Load images for the indicators\n tileset_indicators[0] = new ImageIcon(\"res/button.png\").getImage();\n tileset_indicators[1] = new ImageIcon(\"res/money.png\").getImage();\n tileset_indicators[2] = new ImageIcon(\"res/heart.png\").getImage();\n \n // Load images for the buttons\n tileset_buttons[0] = new ImageIcon(\"res/redLaserTower.png\").getImage();\n tileset_buttons[1] = new ImageIcon(\"res/blueLaserTower.png\").getImage();\n tileset_buttons[2] = new ImageIcon(\"res/goldLaserTower.png\").getImage();\n tileset_buttons[3] = new ImageIcon(\"res/trash.png\").getImage();\n \n // Load images for the solider\n tileset_soldier[0] = new ImageIcon(\"res/enemyD1.png\").getImage();\n tileset_soldier[1] = new ImageIcon(\"res/enemyD2.png\").getImage();\n \n tileset_soldier[2] = new ImageIcon(\"res/enemyR1.png\").getImage();\n tileset_soldier[3] = new ImageIcon(\"res/enemyR2.png\").getImage();\n \n tileset_soldier[4] = new ImageIcon(\"res/enemyL1.png\").getImage();\n tileset_soldier[5] = new ImageIcon(\"res/enemyL2.png\").getImage();\n \n tileset_soldier[6] = new ImageIcon(\"res/enemyU1.png\").getImage();\n tileset_soldier[7] = new ImageIcon(\"res/enemyU2.png\").getImage();\n \n // Save the configuration of the track\n save.loadSave(new File(\"save/mission.txt\"));\n save.loadHighScore();\n \n // Initialize enemy objects\n for(int i = 0; i < enemies.length; i++) {\n \tenemies[i] = new Enemy();\n }\n \n }", "public void run() {\n\t\t\t\tif (consoleTextArea.getConsoleText().equals(\"CHEAT\")) {\n\t\t\t\t\tconsolePlayer.cheatMode();\n\t\t\t\t} else {\n\t\t\t\t\tswitch (consolePlayer.getGameState().getGameState()) {\n\t\t\t\t\t// addPlayer(1)\n\t\t\t\t\tcase 1:\n\t\t\t\t\t\tconsolePlayer.addPlayer(userName, consoleTextArea.getConsoleText());\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t// waitingForStartGame(2)\n\t\t\t\t\tcase 2:\n\t\t\t\t\t\tconsolePlayer.startGame(consoleTextArea.getConsoleText());\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t// gameStarted(3)\n\t\t\t\t\tcase 3:\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t// moving(4)\n\t\t\t\t\tcase 4:\n\t\t\t\t\t\tconsolePlayer.movePlayer(consoleTextArea.getConsoleText());\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t// chooseAction(5),\n\t\t\t\t\tcase 5:\n\t\t\t\t\t\tconsolePlayer.chooseAction(consoleTextArea.getConsoleText());\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t// suggesting(6)\n\t\t\t\t\tcase 6:\n\t\t\t\t\t\tconsolePlayer.makeSuggestion(consoleTextArea.getConsoleText());\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t// accussing(7)\n\t\t\t\t\tcase 7:\n\t\t\t\t\t\tconsolePlayer.makeAccusation(consoleTextArea.getConsoleText());\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t// waiting(8)\n\t\t\t\t\tcase 8:\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t// showCard(9)\n\t\t\t\t\tcase 9:\n\t\t\t\t\t\tconsolePlayer.showCard(consoleTextArea.getConsoleText());\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t// waitingSeeCard(10)\n\t\t\t\t\tcase 10:\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}" ]
[ "0.693191", "0.6886434", "0.67614335", "0.6685574", "0.6613901", "0.65918213", "0.65835804", "0.6548412", "0.6511831", "0.6493108", "0.64729553", "0.64388317", "0.6399428", "0.63740814", "0.6361371", "0.6353735", "0.634578", "0.6345493", "0.6334084", "0.62787485", "0.62461305", "0.6211508", "0.61932695", "0.61931056", "0.61902887", "0.61757", "0.6171435", "0.6138625", "0.61341614", "0.6133396", "0.61128724", "0.60930663", "0.6065287", "0.6056615", "0.60417885", "0.6034767", "0.60305524", "0.6005075", "0.60020685", "0.59980094", "0.59911865", "0.59807456", "0.59805125", "0.5974928", "0.59736836", "0.5954427", "0.59537053", "0.59464794", "0.5938875", "0.59346724", "0.5930979", "0.59276956", "0.5927423", "0.5924996", "0.59119105", "0.5897092", "0.5896335", "0.58959246", "0.58898836", "0.5887691", "0.58832365", "0.5880077", "0.58774394", "0.5869925", "0.58653694", "0.5858737", "0.58554924", "0.5849499", "0.5849499", "0.5847867", "0.58438313", "0.5840203", "0.5833596", "0.5832972", "0.5829006", "0.58178157", "0.58172834", "0.5810804", "0.5808712", "0.58072495", "0.5807133", "0.580656", "0.5805635", "0.5805191", "0.5804939", "0.5801346", "0.58010465", "0.5799755", "0.5797653", "0.5793871", "0.5788576", "0.578524", "0.57790875", "0.57708085", "0.57675976", "0.5765976", "0.57643634", "0.5763843", "0.57622737", "0.5758581" ]
0.60882765
32
method to wipe all of the items and containers in places.
static void wipeLocations(){ for (int i= 0; i < places.length; i++){ for (int j = 0; j < places[i].items.size(); j++) places[i].items.clear(); for (int k = 0; k < places[i].receptacle.size(); k++) places[i].receptacle.clear(); } Container.emptyContainer(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void clearItems(){\n items.clear();\n }", "public void clearItems() {\n grabbedItems.clear();\n }", "public void clear() {\n items.clear();\n update();\n }", "public void clearAll();", "public void clearAll();", "public void clear() {\r\n\t\titems.clear();\r\n\t}", "public void clear(){\n this.items.clear();\n }", "void clearAll();", "void clearAll();", "void clear()\n\t{\n\t\tgetItems().clear();\n\t}", "protected abstract void clearAll();", "public void clear() {\r\n items.clear();\r\n keys.clear();\r\n }", "public void removeAllItems() {\n contents.clear();\n }", "public void empty() {\n _items.clear();\n }", "@Override\r\n\tpublic void clearAll() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void clearAll() {\n\t\t\r\n\t}", "public void clear() {\n\t\t//Kill all entities\n\t\tentities.parallelStream().forEach(e -> e.kill());\n\n\t\t//Clear the lists\n\t\tentities.clear();\n\t\tdrawables.clear();\n\t\tcollidables.clear();\n\t}", "public void clear() {\n\t\tallItems.clear();\n\t\tminimums.clear();\n\t}", "@Override\n\tpublic void clearAll() {\n\t\t\n\t}", "public void clearContainer()\n\t{\n\t\tcargoList.clear();\n\t\tthis.currentVolume=0;\n\t\tthis.currentWeight=0;\n\t}", "public void removeAllItems ();", "public void clear() {\n size = 0;\n Arrays.fill(items, null);\n }", "public void deleteAllItineraryItems() {\n\t\tmEditor.clear();\n\t\tmEditor.commit();\n\t}", "private void clearLists() {\n\t\tobjects = new ArrayList<Entity>();\n\t\tenemies.clear();\n\t\titemList.clear();\n\t}", "public void cleanAll() {\n\t\tfor (VirtualPet p : shelterPets.values()) {\n\t\t\tp.cleanPet();\n\t\t}\n\t}", "public void clear() {\r\n items = Arrays.copyOf(new int[items.length], items.length);\r\n NumItems = 0;\r\n }", "private void clearAllState() {\n // Clear all layout records and views\n mLayoutRecords.clear();\n removeAllViews();\n\n // Reset to the top of the grid\n resetStateForGridTop();\n\n // Clear recycler because there could be different view types now\n mRecycler.clear();\n }", "public void clearAll()\r\n {\r\n if(measurementItems!=null) measurementItems.clear();\r\n itemsQuantity=(measurementItems!=null)?measurementItems.size():0;\r\n }", "public void clearAll()\n\t{\n\t\tClearMarks();\n\t\tpop = null;\n\t\tpopSequence = null;\n\t\ti1.killRoi();\n\t\tic.removeMouseListener(this);\n\t\tic.removeKeyListener(this);\n\t\tStackWindow sw1 = new StackWindow(i1, ic);\n\t\ti1.setWindow(sw1);\n\t\tdispose();\n\t}", "public void clearAll() {\n bikeName = \"\";\n bikeDescription = \"\";\n bikePrice = \"\";\n street = \"\";\n zipcode = \"\";\n city = \"\";\n bikeImagePath = null;\n }", "public void resetAll() {\n reset(getAll());\n }", "public void clearAll()\n {\n textureMap.clear();\n componentMap.clear();\n }", "public void reset() {\n \titems.clear();\n \tsetProcessCount(0);\n }", "public void clearAllStacks() {\n\t\tfor (CardStack stack : cardStacks) {\n\t\t\tstack.clearCards();\n\t\t}\n\t}", "void clearAllItemsTable();", "private void resetAll() {\n resetResources();\n resetStory();\n refresh();\n }", "public void cleanup() {\r\n\t\tsuper.cleanup();\r\n\t\tfor (int i = 0; i < _composites.size(); i++) {\r\n\t\t\t_composites.get(i).cleanup();\t\r\n\t\t}\r\n\t}", "public void clearData() {\n mRecipes.clear();\n notifyDataSetChanged();\n }", "@Override\r\n\tpublic void reset() {\r\n\t\tpilots.clear();\r\n\t\tcabinCrew.clear();\r\n\r\n\t}", "public void dropItems() {\n\t\tlocation.getChunk().load();\n\t\tArrays.stream(inventory.getContents())\n\t\t\t.filter(ItemStackUtils::isValid)\n\t\t\t.forEach((item) -> location.getWorld().dropItemNaturally(location, item));\n\t\tinventory.clear();\n\t}", "public void clearContainerElements() {\n nestedElements.clear();\n }", "public void clear()\n {\n pages.stream().forEach((page) -> {\n page.clearCache();\n });\n\n pages.clear();\n listeners.clear();\n occupiedEntries.clear();\n }", "public void removePlaces(){\n List<Place> copies = new ArrayList<>(places);\n for(Place p : copies){\n p.reset();\n }\n }", "public void clear() {\n helpers.clear();\n islandKeysCache.clear();\n setDirty();\n }", "void cleanUpEventsAndPlaces();", "public void clearItems(){\n\t\tinnerItemShippingStatusList.clear();\n\t}", "@Override\n public void purgeFlows() {\n setOfFlowsToAdd.clear();\n setOfFlowsToDelete.clear();\n }", "public static final void clear ()\n {\n ITEMS.clear();\n }", "public void clear() {\n\t\tthis.contents.clear();\n\t}", "public void clear() {\n\t\tcollection.clear();\n\t}", "public void clearRandomItems();", "public void Clean()\n\t{\n\t\tstorage.clear();\n\t}", "public void clear() {\n this.layers.clear();\n list.clear();\n }", "public static void reset(){\n breedToShapeMapping = null;\n contents = null;\n \n pages.clear();\n speciesMap.clear();\n blocks.clear();\n constraintsMap.clear();\n BlockData.reset();\n }", "public void clearAll() {\n\n\t\t// Removing the graphics from the layer\n\t\trouteLayer.removeAll();\n\t\t// hiddenSegmentsLayer.removeAll();\n\t\tmMapViewHelper.removeAllGraphics();\n\t\tmResults = null;\n\n\t}", "@Override\n protected Collection<IChunk> clearInternal()\n {\n Collection<IChunk> rtn = super.clearInternal();\n \n setModalityChunk(getFreeChunk());\n setProcessorChunk(getFreeChunk());\n setExecutionChunk(getFreeChunk());\n setPreparationChunk(getFreeChunk());\n return rtn;\n }", "private void clean() {\n nodesToRemove.clear();\n edgesToRemove.clear();\n }", "public void clear() {\n\t\tlists.clear();\n\t}", "public void resetBuildings(){\n\t\tfor(Structure building : this.buildings){\n\t\t\tbuilding.reset();\n\t\t}\n\t}", "public void removeAllItems() {\n mPapers.clear();\n notifyDataSetChanged();\n }", "public void removeAllItems()\r\n {\r\n head = tail = null;\r\n nItems = 0;\r\n }", "public void resetWorkspace() {\n //clear all pages and their drawers\n //clear all drawers and their content\n //clear all block and renderable block instances\n workspace.reset();\n //clear procedure output information\n ProcedureOutputManager.reset();\t//*****\n\n }", "public void clear() {\r\n\t\tremoveAll();\r\n\t\tdrawBackGround();\r\n\t\tclearEntries();\r\n\t\t\r\n\t}", "public void clearTiles() {\n \tfor (int x = 0; x < (mAbsoluteTileCount.getX()); x++) {\n for (int y = 0; y < (mAbsoluteTileCount.getY()); y++) {\n setTile(0, x, y);\n }\n }\n }", "public void cleanUp() {\n\t\tfor (int i = 0; i < 24; i++) {\r\n\t\t\tPlayerAssistant.itemOnInterface(c, 26099, i, -1, -1);\r\n\t\t}\r\n\t\tc.getPA().sendNewString(\"0\", 26013);\r\n\t}", "public void clear() {collection.clear();}", "public void clear() {\n\t\tdesktops.clear();\n\t}", "public void clear ()\n {\n for (int row = 0; row < 3; row++)\n for (int column = 0; column < 3; column++)\n mGrid[row][column] = new Move(row, column);\n Move.clear();\n }", "@Override\r\n\tpublic void reset() {\r\n\t\tairCrafts.clear();\r\n\t}", "@Override\n public void clear() {\n elements.clear();\n indexByElement.clear();\n }", "public synchronized void resetCollections() {\n collections = null;\n }", "public void removeAll()\n {\n this.front = null;\n this.rear = null;\n }", "public void clear() {\n super.clear();\n locationToWidget.clear();\n widgetToCaptionWrapper.clear();\n }", "public void clear() {\n\t\tsystems.clear();\n\t}", "public void unRegAll(){\n \t\t\n \t\tfor(ShopItem shopItem : itemList){\n \t\t\t//TODO: process more then one item at the same time.\n \t\t\t/*\n \t\t\tint position = shopItem.getShopPosition().getSlot();\n \t\t\tif(processedPositions.contains(position))\n \t\t\t\tcontinue;\n \t\t\tprocessedPositions.add(position);\n \t\t\tint amount = getItemAmount(position);\n \t\t\t*/\n \t\t\tint amount = 1;\n \t\t\tgetOwner().getClient().sendPacket(Type.U_SHOP, \"unreg\", 1, shopItem.getShopPosition().getSlot(), amount);\n \t\t\t\n \t\t\t//int[] freePosition = getOwner().getInventory().getFreeSlots(shopItem.getItem(), -1);\n \t\t\t//InventoryPosition inventoryPosition = new InventoryPosition(freePosition[1],freePosition[2],freePosition[0]);\n \t\t\t//InventoryItem inventoryItem = new InventoryItem(shopItem.getItem(),\tinventoryPosition);\n \t\t\t//getOwner().getInventory().addInventoryItem(inventoryItem);\n \t\t\tInventoryItem inventoryItem = getOwner().getInventory().storeItem(shopItem.getItem(), -1);\n \t\t\tgetOwner().getClient().sendPacket(Type.INVEN, inventoryItem, getOwner().getClient().getVersion());\n \t\t}\n \t\titemList.clear();\n \t}", "private void clear() {\n }", "public void withdrawAll() {\r\n for (int i = 0; i < container.capacity(); i++) {\r\n Item item = container.get(i);\r\n if (item == null) {\r\n continue;\r\n }\r\n int amount = owner.getInventory().getMaximumAdd(item);\r\n if (item.getCount() > amount) {\r\n item = new Item(item.getId(), amount);\r\n container.remove(item, false);\r\n owner.getInventory().add(item, false);\r\n } else {\r\n container.replace(null, i, false);\r\n owner.getInventory().add(item, false);\r\n }\r\n }\r\n container.update();\r\n owner.getInventory().update();\r\n }", "public void clear() {\n mMenuItems.clear();\n mModelList.clear();\n mActionViewLayout.clear();\n }", "void clear() {\n stacks.clear();\n }", "public void makeEmpty(){\n deleteAll(root);\n root = null;\n numItems = 0;\n }", "public void clear()\n {\n keys.clear();\n comments.clear();\n data.clear();\n }", "public void clearCollections() {\n sevenStates = new int[7][16];\n moveGeneratedFrom.clear();\n movesWithFreeTurn.clear();\n movesWhichPreventSteals.clear();\n opponentChoicesToSteal.clear();\n opponentBoardsBeforeSteal.clear();\n }", "public void clearAllData() {\n atoms.clear();\n connections.clear();\n lines.clear();\n radical = null;\n }", "public CardCollection destroyAllCards() ;", "public void clear() {\n \tthis.listShapes.clear();\n }", "public void destroyAll() {\n children.destroyAll();\n }", "public void clear() {\n doClear();\n }", "public void clear() {\n this.collection.clear();\n }", "void clear() {\n\t\tfor (int list = getFirstList(); list != -1;) {\n\t\t\tlist = deleteList(list);\n\t\t}\n\t}", "public static void wipeBlocks() {\n for (String location : MyZ.instance.getBlocksConfig().getKeys(false))\n actOnBlock(location, false);\n MyZ.instance.saveBlocksConfig();\n }", "@RequestMapping(method=RequestMethod.DELETE, value = \"/item\", produces = \"application/json\")\n public void clearItems()\n {\n this.itemRepository.clearItems();\n }", "private void DropEverything() throws isisicatclient.IcatException_Exception {\n List<Object> allGroupsResults = port.search(sessionId, \"Grouping\");\r\n List tempGroups = allGroupsResults;\r\n List<EntityBaseBean> allGroups = (List<EntityBaseBean>) tempGroups;\r\n port.deleteMany(sessionId, allGroups);\r\n\r\n //Drop all rules\r\n List<Object> allRulesResults = port.search(sessionId, \"Rule\");\r\n List tempRules = allRulesResults;\r\n List<EntityBaseBean> allRules = (List<EntityBaseBean>) tempRules;\r\n port.deleteMany(sessionId, allRules);\r\n\r\n //Drop all public steps\r\n List<Object> allPublicStepResults = port.search(sessionId, \"PublicStep\");\r\n List tempPublicSteps = allPublicStepResults;\r\n List<EntityBaseBean> allPublicSteps = (List<EntityBaseBean>) tempPublicSteps;\r\n port.deleteMany(sessionId, allPublicSteps);\r\n }", "public void clearAreaReset() {\n for(int x = 0; x < buildSize; x++) {\n for(int y = 4; y < 7; y++) {\n for(int z = 0; z < buildSize; z++) {\n myIal.removeBlock(x, y, z);\n }\n }\n }\n\n myIal.locx = 0; myIal.locy = 0; myIal.locz = 0;\n my2Ial.locx = 0; my2Ial.locy = 0; my2Ial.locz = 0;\n }", "public void removeAll()\n {\n if (elemsListLayout != null)\n {\n elemsListLayout.clear();\n }\n }", "public void clear() {\n\n mItems.clear();\n notifyDataSetChanged();\n\n }", "public void moveAllItems() {\n for (BaseObject object : getAllItems()) {\n object.move();\n }\n }", "private void reset()\r\n\t{\r\n\t\t\r\n\t\toriginDock = null;\r\n\t\tdraggedDockable = null;\r\n\r\n\t}", "public void removeAll() {\n\t\tsynchronized (mNpcs) {\n\t\t\tmNpcs = Collections.synchronizedList(new ArrayList<Npc>());\n\t\t\tmDemonCount = 0;\n\t\t\tmHumanCount = 0;\n\t\t}\n\t}", "private void clearData() {}", "public void clear();" ]
[ "0.7057394", "0.70475656", "0.6957205", "0.6909694", "0.6909694", "0.69042873", "0.6857614", "0.6778068", "0.6778068", "0.6748931", "0.67256594", "0.6710542", "0.67095506", "0.6671351", "0.6598497", "0.6598497", "0.6559891", "0.6542657", "0.65275395", "0.65004665", "0.64984345", "0.6445266", "0.6426057", "0.6410182", "0.64020026", "0.6387289", "0.6378663", "0.6332052", "0.6317164", "0.62998134", "0.62749183", "0.6263905", "0.6259517", "0.6258034", "0.62400633", "0.620601", "0.6176715", "0.6170838", "0.61633044", "0.61595875", "0.61517423", "0.6139162", "0.6133296", "0.61047924", "0.6100424", "0.6096422", "0.60915536", "0.6087612", "0.6082239", "0.6060216", "0.6054825", "0.605159", "0.60460705", "0.60453194", "0.6044423", "0.6044001", "0.6042334", "0.6037815", "0.60325533", "0.6021429", "0.6005416", "0.6002528", "0.60022753", "0.60003316", "0.5996439", "0.599368", "0.5991999", "0.59831905", "0.59784997", "0.59768355", "0.5973769", "0.5966943", "0.5959279", "0.5956775", "0.5952125", "0.5951518", "0.5949389", "0.59487766", "0.5947686", "0.5947009", "0.59374344", "0.5936411", "0.59330446", "0.59288526", "0.59259814", "0.59179604", "0.59122884", "0.59104234", "0.5909357", "0.59071976", "0.5906635", "0.5903501", "0.590075", "0.5882778", "0.5880462", "0.5878972", "0.58768404", "0.58709943", "0.5869305", "0.58675194" ]
0.78116125
0
do nothing, dont want to mock Realm, just do not use it
@Override protected void injectDependencies(Context context) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "IRealm getRealm();", "@Override\n public Realm getRealm(String realmName) {\n return null;\n }", "@Override\n public void execute(Realm realm) {\n }", "private void setUpRealmConfig(){\n\n Realm.init(getApplicationContext());\n\n RealmConfiguration config = new RealmConfiguration\n .Builder()\n .deleteRealmIfMigrationNeeded()\n .build();\n\n\n Realm.setDefaultConfiguration(config);\n }", "public interface RealmDeleteInterface {\n void deleteFinish();\n}", "public void mock(){\n\n }", "public interface UserRealm {\n\n /**\n * Get the AuthorizationReader of the system\n *\n * @return The AuthorizationReader the system\n * @throws UserStoreException\n */\n AuthorizationManager getAuthorizationManager() throws UserStoreException;\n\n /**\n * Get the UserStoreManager of the system\n *\n * @return The UserStoreManager of the system\n * @throws UserStoreException\n */\n UserStoreManager getUserStoreManager() throws UserStoreException;\n\n /**\n * Get the ClaimManager of the system\n *\n * @return The ClaimManager of the system\n * @throws UserStoreException\n */\n ClaimManager getClaimManager() throws UserStoreException;\n\n /**\n * Get the ProfileConfigurationManager of the system\n *\n * @return The ProfileConfigurationManager of the system\n * @throws UserStoreException\n */\n ProfileConfigurationManager getProfileConfigurationManager() throws UserStoreException;\n\n /**\n * Get the realm configuration\n *\n * @return\n * @throws UserStoreException\n */\n RealmConfiguration getRealmConfiguration() throws UserStoreException;\n\n}", "void setRealm(String realm);", "public interface RealmInformationProvider {\n\n /**\n * Returns the display name of the realm which is visible in the tab list or in the realm overview\n * menu on the lobby. This method is not rate limited.\n *\n * @return the display name of the realm.\n */\n String realmDisplayName();\n\n /**\n * Returns the description of the realm which is visible in the realm overview\n * menu on the lobby. This method is not rate limited.\n *\n * @return the description of the realm.\n */\n String description();\n\n /**\n * @return true if the realm is private, false otherwise\n */\n boolean privateRealm();\n\n /**\n * @return the currently allowed maximum player count\n */\n int maxPlayers();\n\n /**\n * @return the amount of currently active boosts\n */\n int boostCount();\n\n /**\n * Limits are specified by the realm boost level.\n *\n * @return the current realm limits\n */\n Limits limits();\n\n /**\n * The promotion state of the realm. A promoted realm will always be shown first on the lobby's\n * realm overview menu and at the banner stand. Only VIPs and higher are privileged to mark a realm as promoted.\n *\n * <br><br> Since a realm doesn't know it's promotion state, it has to be requested at the Cytooxien Realms\n * Backend Management service. So this method returns an {@link Action} and is rate-limited.\n *\n * @return The action containing information about the promotion state of the realm.\n */\n Action<Boolean> promotedRealm();\n\n /**\n * A realm is able to have it's own address. Using this address, players can directly join onto the running realm\n * without joining on Cytooxien first.\n *\n * <br><br> Since a realm doesn't know it's subdomain, it has to be requested at the Cytooxien Realms\n * Backend Management service. So this method returns an {@link Action} and is rate-limited.\n *\n * @return The action containing the FQDN under which the realm can also be joined.\n */\n Action<String> subdomain();\n\n /**\n * This changes the display name of the realm. The new name of the realm must not exceed 32 characters and mustn't\n * be null or empty. Otherwise this action will fail.\n *\n * <br><br> Since this has to be requested at the Cytooxien Realms\n * Backend Management service, this method returns an {@link Action} and is rate-limited.\n * @param name The new name of the realm\n * @return the action containing the success state\n */\n Action<Void> changeName(String name);\n\n /**\n * This changes the description of the realm. The new description of the realm must not exceed 128 characters otherwise this action will fail.\n *\n * <br><br> Since this has to be requested at the Cytooxien Realms\n * Backend Management service, this method returns an {@link Action} and is rate-limited.\n * @param description The new realm description\n * @return the action containing the success state\n */\n Action<Void> changeDescription(String description);\n\n /**\n * This changes the maximum allowed player count of the realm. The new player count of the realm must\n * not exceed the maximum player count specified by the {@link Limits} object otherwise this action will fail.\n *\n * <br><br> Since this has to be requested at the Cytooxien Realms\n * Backend Management service, this method returns an {@link Action} and is rate-limited.\n *\n * @param maxPlayers The new maximum player count\n * @return the action containing the success state\n */\n Action<Void> updateMaximumPlayers(int maxPlayers);\n\n /**\n * This changes the privacy state of the realm.\n *\n * <br><br> Since this has to be requested at the Cytooxien Realms\n * Backend Management service, this method returns an {@link Action} and is rate-limited.\n *\n * @param privateRealm true if the realm is private false otherwise\n * @return the action containing the success state\n */\n Action<Void> updatePrivacyState(boolean privateRealm);\n\n}", "@Test\n\tpublic void testNotRestricted() throws Exception {\n\t\titemService.findById(1L);\n\t}", "@Before\n public void setUp()\n {\n when(validator.validate(Mockito.anyMap())).thenReturn(true);\n Set<TokenClaimsValidator> validators = Sets.newHashSet(validator);\n realm = new BearerRealm(helperFactory, keyResolver, validators);\n }", "@Override\n public void execute(Realm realm) {\n Book newbook = realm.createObject(Book.class, UUID.randomUUID().toString());\n newbook.setBook_name(newBookName);\n newbook.setAuthor_name(newAuthorName);\n }", "private Mocks() { }", "public abstract ZALogDao mo87644a();", "@Disabled\n\t@Test\n\tpublic void testUnexpectedCallToMock(){\n\t\twarehouseMock.remove(\"cola\",2);\n\t\treplay(warehouseMock);\n\t\tOrder order = new Order(SPRITE,11);\n\t\torder.fill(warehouseMock);\n\t\tverify(warehouseMock);\n\n\t}", "public interface IMainListener {\n void onUsersReqComplete(Result<List<User>> result, Realm realm);\n}", "@Override\n public void execute(Realm realm) {\n realm.copyToRealmOrUpdate(song);\n }", "void refreshRealmOnChange(CachingRealm realm);", "@Override\r\n public void testGettingEntityManager() { debug(\"overriddenTestGettingEntityManager - noop\"); }", "public String getRealm () {\n return realm;\n }", "public HashUserRealm()\n {}", "private DataClayMockObject() {\n\n\t}", "private void initDatabaseWithDefaultInfo(Realm realm) {\n realm.executeTransaction(new Realm.Transaction() {\n @Override\n public void execute(Realm realm) {\n realm.delete(Person.class);\n }\n });\n\n realm.executeTransaction(new Realm.Transaction() {\n @Override\n public void execute(Realm realm) {\n Gift birthdayGift = realm.createObject(Gift.class);\n birthdayGift.setName(\"Amazon Gift Card\");\n birthdayGift.setCost(25.0f);\n birthdayGift.setGiftedToMe(true);\n birthdayGift.setOccasion(\"Birthday\");\n\n Person person = realm.createObject(Person.class);\n person.setName(\"Damon Graham\");\n person.setAge(43);\n person.setBithday(new LocalDate(1972, 2, 8).toDate());\n person.getGifts().add(birthdayGift);\n\n Person person2 = realm.createObject(Person.class);\n person2.setName(\"Aubry Hawkins\");\n person2.setAge(36);\n person2.setBithday(new LocalDate(1980, 10, 22).toDate());\n person2.getGifts().add(birthdayGift);\n }\n });\n }", "private void loadTestData() {\n try(Realm r = Realm.getDefaultInstance()) {\n r.executeTransaction(new Realm.Transaction() {\n @Override\n public void execute(Realm realm) {\n PromotionsResponseDto promotionsResponseDto =\n PromotionsApiFactory.gson().fromJson(TEST_ANF_FULL_RESPONSE, PromotionsResponseDto.class);\n for(PromotionDto promotionDto : promotionsResponseDto.getPromotions()) {\n Promotion promotion = Promotion.fromDto(promotionDto);\n r.copyToRealm(promotion);\n }\n }\n });\n }\n }", "@Override\r\n public void onCreate() {\r\n super.onCreate();\r\n Realm.init(getApplicationContext());\r\n\r\n// createNotificationChannel();\r\n\r\n }", "protected abstract MetaDao metaDao();", "public interface RealmHandler {\n\n public Observable<Category> getCategoryList() ;\n public void addCategory(Category category) ;\n}", "public abstract AccountDAO getAccountDAO();", "public void refresh() {\n\n realm.refresh();\n }", "public void refresh() {\n\n realm.refresh();\n }", "@Override\n public ModelDAO getModelDAO() {\n return null;\n }", "@Test\n public void simpleAPITypeEnforcementObject() {\n\n\n //configure the cache\n MutableConfiguration<Object, Object> config = new MutableConfiguration<>();\n config.setTypes(Object.class, Object.class);\n\n //create the cache\n Cache<Object, Object> cache = cacheManager.createCache(\"simpleCache4\", config);\n\n //can put different things in\n cache.put(1, \"something\");\n cache.put(pistachio.getName(), pistachio);\n cache.put(tonto.getName(), tonto);\n cache.put(bonzo.getName(), bonzo);\n cache.put(juno.getName(), juno);\n cache.put(talker.getName(), talker);\n try {\n cache.put(skinny.getName(), skinny);\n } catch(Exception e) {\n //not serializable expected\n }\n //can get them out\n assertNotNull(cache.get(1));\n assertNotNull(cache.get(pistachio.getName()));\n\n //can remove them\n assertTrue(cache.remove(1));\n assertTrue(cache.remove(pistachio.getName()));\n }", "public static Realm buildRealm(Context context) {\n RealmConfiguration config = DatabaseUtilities.buildRealmConfig(context);\n Realm realm = Realm.getInstance(config);\n return realm;\n }", "private SummonerSpellsDao() {\n\t\tconnectionManager = new ConnectionManager();\n\t}", "@Test\n public void test03_newUserDefaultRolesNoImportModeTest() throws Exception {\n testingClient.server().run(session -> {\n UserStorageUtil.userCache(session).clear();\n LDAPTestContext ctx = LDAPTestContext.init(session);\n RealmModel appRealm = ctx.getRealm();\n\n LDAPTestUtils.addOrUpdateRoleLDAPMappers(appRealm, ctx.getLdapModel(), LDAPGroupMapperMode.LDAP_ONLY);\n\n UserModel david = session.users().addUser(appRealm, \"davidkeycloak\");\n\n // make sure we are in no-import mode\n Assert.assertNull(UserStoragePrivateUtil.userLocalStorage(session).getUserByUsername(appRealm, \"davidkeycloak\"));\n\n RoleModel defaultRole = appRealm.getRole(\"realmRole1\");\n RoleModel realmRole2 = appRealm.getRole(\"realmRole2\");\n\n Assert.assertNotNull(defaultRole);\n Assert.assertNotNull(realmRole2);\n\n // Set a default role on the realm\n appRealm.addToDefaultRoles(defaultRole);\n\n Set<RoleModel> davidRoles = david.getRealmRoleMappingsStream().collect(Collectors.toSet());\n\n // default role is not assigned directly\n Assert.assertFalse(davidRoles.contains(defaultRole));\n Assert.assertFalse(davidRoles.contains(realmRole2));\n\n // but david should have the role as effective\n Assert.assertTrue(david.hasRole(defaultRole));\n Assert.assertFalse(david.hasRole(realmRole2));\n\n // Make sure john has not received the default role\n UserModel john = session.users().getUserByUsername(appRealm, \"johnkeycloak\");\n\n Assert.assertFalse(john.hasRole(defaultRole));\n });\n }", "private Mongopool() {\n\t}", "@Disabled\n\t@Test\n\tpublic void testBadCallToMock(){\n\t\twarehouseMock.remove(\"cola\",2);\n\t\treplay(warehouseMock);\n\t\tverify(warehouseMock);\n\t}", "public abstract IMEmoticonRecordDao mo122978a();", "boolean isRealm(String paramString) {\n/* */ try {\n/* 165 */ Realm realm = new Realm(paramString);\n/* */ }\n/* 167 */ catch (Exception exception) {\n/* 168 */ return false;\n/* */ } \n/* 170 */ StringTokenizer stringTokenizer = new StringTokenizer(paramString, \".\");\n/* */ \n/* 172 */ while (stringTokenizer.hasMoreTokens()) {\n/* 173 */ String str = stringTokenizer.nextToken();\n/* 174 */ for (byte b = 0; b < str.length(); b++) {\n/* 175 */ if (str.charAt(b) >= '') {\n/* 176 */ return false;\n/* */ }\n/* */ } \n/* */ } \n/* 180 */ return true;\n/* */ }", "private ORMServiceFactory() { }", "public void testMock(){\n\t}", "public interface TestDao {\n\n List query();\n\n}", "@Override\n public void onSuccess() {\n Toast.makeText(context, \"Created\", Toast.LENGTH_SHORT).show();\n //realm.close();\n }", "public DummyUserManager()\n {\n }", "@Test\r\n @Ignore\r\n public void testFindPaciente() {\r\n System.out.println(\"findPaciente\");\r\n String termo = \"\";\r\n EnfermeiroDaoImpl instance = new EnfermeiroDaoImpl();\r\n List<Enfermeiro> expResult = null;\r\n List<Enfermeiro> result = instance.findPaciente(termo);\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 }", "zzafe mo29840Y() throws RemoteException;", "@Test\n @Ignore\n public void testReadAllCached() {\n System.out.println(\"readAllCached\");\n Identifier id = null;\n IndexDaoImpl instance = null;\n List<Index> expResult = null;\n List<Index> result = instance.readAllCached(id);\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 }", "protected DaoRWImpl() {\r\n super();\r\n }", "void mo63094q();", "@Test\r\n @Ignore\r\n public void testGetPlantoes() {\r\n System.out.println(\"getPlantoes\");\r\n EnfermeiroDaoImpl instance = new EnfermeiroDaoImpl();\r\n List<Enfermeiro> expResult = null;\r\n List<Enfermeiro> result = instance.getPlantoes();\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 }", "@Test\r\n public void testA0Get_0args() {\r\n System.out.println(\"get all\");\r\n \r\n UsuarioDao instance = new UsuarioDao();\r\n List<Usuario> expResult = new ArrayList<>();\r\n List<Usuario> result = instance.get();\r\n \r\n assertEquals(expResult, result);\r\n }", "private DaoManager() {\n }", "public VRpDyHlrforbeDAOImpl() {\r\n super();\r\n }", "private MockClientFacade() {\n\t\t//this.c = Client.getInstance();\n\t}", "public void invalidateCache(){\n\t\tfor (Realm realm : realms) {\n\t\t\tif(realm instanceof IClearableRealmCache){\n\t\t\t\tIClearableRealmCache ar = (IClearableRealmCache)realm;\n\t\t\t\tar.clearAllCaches();\n\t\t} \n\t\t\t\n\t\t}\n\t}", "private MovieFacade() {}", "private MovieFacade() {}", "private MovieFacade() {}", "@Test\n void getUserBy() {\n List<Role> users = (List<Role>) roleDAO.getEntityBy(\"roleName\", \"o\");\n assertEquals(1, users.size());\n }", "@Override\n public void onStart(){\n query();\n Log.d(TAG,\"onStart(): ref count = \" + sRealmRefCount.incrementAndGet());\n }", "void mo747q() throws RemoteException;", "@Test\n void testGetRegistrarForUser_noAccess_isNotAdmin_notReal() {\n expectGetRegistrarFailure(\n OTE_CLIENT_ID_WITHOUT_CONTACT,\n USER,\n \"user [email protected] doesn't have access to registrar OteRegistrar\");\n verify(lazyGroupsConnection).get();\n }", "public OnibusDAO() {}", "public GenericDao<Account> getAccountDao();", "@Override\n public void realmTransaction(MainModelImp res) {\n realm.executeTransaction(realmT -> {\n RealmResults<MainModelImp> current = getRealmResults(res.getLocation().getLatitude(), res.getLocation().getLongitude());\n current.deleteAllFromRealm();\n MainModelImp cache = realmT.createObject(MainModelImp.class);\n cache.setLat(res.getLocation().getLatitude());\n cache.setLon(res.getLocation().getLongitude());\n for (Nearby_restaurant nearby : res.getNearby_restaurants()) {\n cache.getNearby_restaurants().add(nearby);\n }\n });\n\n }", "public RcivControlDAOImpl(){\r\n \r\n }", "@Before\n\tpublic void setup(){\n\t\ttarget = new MakeDaoImpl();\n\t\tmockEm = mock(EntityManager.class);\n\t\ttarget.setEm(mockEm);\n\t}", "public _AccountStub ()\n {\n super ();\n }", "@Test\n public void test_getAll_1() throws Exception {\n clearDB();\n\n List<User> res = instance.getAll();\n\n assertEquals(\"'getAll' should be correct.\", 0, res.size());\n }", "default boolean checkDbObj(Object object) {\n return false;\n }", "@Before\r\n\tpublic void setup(){\n\t\t\r\n\t\tMufasaRepository testAccounts = MufasaRepository.getInstance();\r\n\t\ttestAccounts.addMufasa( new Mufasa(\"firstName\", \"lastName\", \"username\", \"password\", 42) );\r\n\t\t\r\n\t\t//Mock create\r\n\t\texampleX= EasyMock.createMock(MufasaRepository.class);//what does this do?\r\n\t\ttestAccounts.tulosta();\r\n\t}", "@Test\n public void testProxy() {\n Dell dell = new Dell();\n Proxy proxy = new Proxy(dell);\n proxy.salePc();\n }", "private OrderFacade(){\n\t\tAbstractDAOFactory f = new MySQLDAOFactory();\n \tthis.odao = f.getOrderDAO();\n\t}", "@Before\n\tpublic void init() {\n\t\tuserDao=new UsersDAO();\n\t\tentityManager=mock(EntityManager.class);\n\t\tuserDao.setEntityManager(entityManager);\n\t\t\n\t}", "private UserAccountDAO(){\n }", "public interface RoleDao extends Dao<RoleEntity, Long> {\n\n\t\n\t/**\n\t * Get the system-defined roles \n\t * @return List containing the System roles\n\t */\n\tList<RoleEntity> getSystemRoles();\n\t\n\t\n\t/**\n\t * @param roleName\n\t * @return Matching Role entity or NULL if none found\n\t */\n\tRoleEntity findByName(String roleName);\n\n}", "public interface MessagesView {\n void setRecyclerView(RealmResults<Message> messages, Realm realm, int userId);\n}", "@Override\n protected void onDestroy() {\n super.onDestroy();\n realm.close();\n realm = null;\n }", "@Test\n void getByIdSuccess() {\n //Get User\n GenericDao<User> userDao = new GenericDao(User.class);\n User user = userDao.getById(2);\n\n //Create Test Car\n Car testCar = new Car(1,user,\"2016\",\"Jeep\",\"Wrangler\",\"1C4BJWFG2GL133333\");\n\n //Ignore Create/Update times\n testCar.setCreateTime(null);\n testCar.setUpdateTime(null);\n\n //Get Existing Car\n Car retrievedCar = carDao.getById(1);\n assertNotNull(retrievedCar);\n\n //Compare Cars\n assertEquals(testCar,retrievedCar);\n }", "private DatabaseManager() {}", "private ProtomakEngineTestHelper() {\r\n\t}", "public void mo1531a() {\n }", "public interface ReleaseDao extends AbstractDao<Release, Long> {\n public List<Release> findNoReleased();\n}", "@Test\n public void disableAutoRepoTest(){\n reportSettingsPresenter.disableAutoRepo();\n\n verify(databaseInitializer, Mockito.times(1));\n DatabaseInitializer.disableAutoRepo(appDatabase);\n }", "public abstract ToDoDao toDoDao();", "@Test\n public void testAdiciona() {\n System.out.println(\"adiciona\");\n Object obj = null;\n AdministradorDAO instance = new AdministradorDAO();\n instance.adiciona(obj);\n // TODO review the generated test code and remove the default call to fail.\n fail(\"The test case is a prototype.\");\n }", "static void testSavingDAO() {\n }", "public void testCtor1() {\r\n assertNotNull(\"Failed to create DbTimeEntryDAO instance.\", instance);\r\n }", "@Test\r\n\tpublic void CT03ObtemUsuarioDAO_com_sucesso() {\r\n\t\tassertTrue(DAOFactory.getUsuarioDAO() instanceof DAOUsuario);\r\n\t}", "private ObjectRepository() {\n\t}", "public void testaReclamacao() {\n\t}", "@Override\n\tprotected BaseDao getBaseDao() {\n\t\treturn null;\n\t}", "@Override\n public void execute(Realm realm)\n {\n // increment index\n Number currentIdNum = realm.where(User.class).max(\"id\");\n int nextId;\n if (currentIdNum == null)\n {\n nextId = 1;\n }\n else\n {\n nextId = currentIdNum.intValue() + 1;\n }\n User user = new User(); // unmanaged\n user.setId(nextId);\n user.setName(value);\n\n realm.insertOrUpdate(user); // using insert API\n }", "private SimpleRepository() {\n \t\t// private ct to disallow external object creation\n \t}", "protected void forceMockUpMode(){\n teardown();\n }", "public MockPersistenceProvider()\n{\n\tobjects = new Vector();\n}", "@Test\n public void passwordTestFalse () {\n Accounts test = null;\n test.createAccounts();\n test = Accounts.getByPassword(\"john123\");\n assertNull(test);\n }", "@Before\n public void init() throws IllegalArgumentException, IllegalAccessException, DbException\n {\n // getDbMaintenance\n TaskArchiverDao dbMaintenance = PowerMock.createMock(TaskArchiverDaoImpl.class);\n PowerMock.mockStaticNice(DbFactory.class);\n EasyMock.expect(DbFactory.getTaskArchiverDao()).andReturn(dbMaintenance).anyTimes();\n\n Profile prof1 = new Profile();\n MemberModifier.field(Profile.class, \"_id\").set(prof1, \"srm-dev\");\n prof1.getConfiguration().addProperty(\"archivePolicyInDays\", 120);\n\n Profile prof2 = new Profile();\n MemberModifier.field(Profile.class, \"_id\").set(prof2, \"sa-ip\");\n prof1.getConfiguration().addProperty(\"archivePolicyInDays\", 120);\n\n List<Profile> profiles = new ArrayList<>();\n profiles.add(prof1);\n profiles.add(prof2);\n\n Database db = PowerMock.createMock(Database.class);\n EasyMock.expect(DbFactory.getDatabase()).andReturn(db).anyTimes();\n\n EasyMock.expect(db.fetchAllProfiles()).andReturn(profiles).anyTimes();\n\n List<JsonObject> data = new ArrayList<>();\n JsonObject dbRecords;\n for (int i = 1; i <= 5; i++)\n {\n dbRecords = new JsonObject();\n dbRecords.addProperty(\"_id\", \"123456789\" + i);\n dbRecords.addProperty(\"modifiedDate\", new Date().getTime() + i);\n\n data.add(dbRecords);\n }\n EasyMock.expect(dbMaintenance.fetchTasksToArchive(EasyMock.anyObject(JsonObject.class), EasyMock.anyObject(JsonObject.class),\n EasyMock.anyInt())).andReturn(data).anyTimes();\n\n dbMaintenance.updateRevision(EasyMock.anyObject(List.class));\n dbMaintenance.persistTasks(EasyMock.anyObject(List.class));\n EasyMock.expectLastCall().andVoid().anyTimes();\n\n EasyMock.expect(dbMaintenance.removeArchivedTasks(EasyMock.anyObject(JsonArray.class))).andReturn(true).anyTimes();\n\n EasyMock.expect(dbMaintenance.countRecordsCopied(EasyMock.anyString())).andReturn(2L).anyTimes();\n\n PowerMock.replayAll();\n }", "public java.lang.String getProxyRealm()\r\n {\r\n return proxyRealm;\r\n }", "@Test\n public void getRecipeByName_ReturnsNull(){\n assertEquals(\"getRecipeByName - Returns Null\", null, testDatabase.getRecipe(\"NotHere\"));\n }", "void mo3207a(Object obj);" ]
[ "0.6365286", "0.6332539", "0.6315291", "0.59766597", "0.567402", "0.5625336", "0.56057966", "0.5590306", "0.55616987", "0.55233264", "0.5492558", "0.5475659", "0.54443216", "0.5437711", "0.5425187", "0.54168844", "0.5401687", "0.53728545", "0.5361458", "0.528649", "0.5276747", "0.5276553", "0.5271067", "0.52495205", "0.522705", "0.5201863", "0.52007174", "0.52000046", "0.5183278", "0.5183278", "0.51763695", "0.5175359", "0.517496", "0.51747847", "0.5173513", "0.5168317", "0.51520216", "0.5146758", "0.5127019", "0.51215386", "0.5113725", "0.5106805", "0.5100583", "0.5083457", "0.5082475", "0.50757444", "0.5064798", "0.505933", "0.5048165", "0.5047139", "0.50457317", "0.504074", "0.50355697", "0.501513", "0.5014535", "0.5011688", "0.5011688", "0.5011688", "0.50108755", "0.50011736", "0.4993626", "0.4993557", "0.49872857", "0.4981706", "0.49781597", "0.49754798", "0.49754384", "0.4972138", "0.49605516", "0.49595746", "0.49584523", "0.49557674", "0.4951304", "0.49487016", "0.49463624", "0.4944364", "0.4943867", "0.49368513", "0.49302354", "0.49280277", "0.49272966", "0.4927208", "0.49244866", "0.49216446", "0.49099725", "0.49070597", "0.49055147", "0.49016526", "0.49003157", "0.48969543", "0.48962268", "0.48930293", "0.48908564", "0.488849", "0.48866737", "0.48848927", "0.48842964", "0.48831838", "0.48814243", "0.4879676", "0.4879539" ]
0.0
-1
Returns the underlying Querydsl helper instance.
protected Querydsl getQuerydsl() { return this.querydsl; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public QueryExecutorBean getQueryService() {\n return queryService;\n }", "private QueryService getQueryService() {\n return queryService;\n }", "public static QueryInterface createQuery() {\n return new XmlQuery();\n }", "protected JPAQuery<T> createQuery() {\n\t\tJPAQuery<T> query = new JPAQuery<>(entityManager);\n\t\tquery.from(getDslRoot());\n\t\treturn query;\n\t}", "public Query getQuery ()\n {\n\n\treturn this.q;\n\n }", "public Query advancedQuery() \n {\n return null;\n }", "public QueryModel getQueryModel()\n {\n return _queryModel;\n }", "public WrqQueryBuilder getWrqQueryBuilder() {\n return wrqQueryBuilder;\n }", "public SpokaneValleyDatabaseHelper getDatabase() {\n\t\treturn helper;\n\t}", "public Query getQuery()\n {\n return query;\n }", "IQuery getQuery();", "public interface BaseQueryBuilder {\n\n /**\n * \n * 查询构建完成\n * \n * @return {@link EsdslBuilder}\n * @since JDK 1.8\n */\n EsdslBuilder queryDone();\n}", "public interface QueryBuilder {\n QueryBuilder from();\n QueryBuilder where();\n QueryBuilder orderBy();\n QueryBuilder groupBy();\n Object execute(Object... args);\n Object execute(Tuple args);\n}", "public Querytool getQuery() {\n return localQuerytool;\n }", "SelectQuery createSelectQuery();", "public DatabaseQuery getQuery() {\n return query;\n }", "public TemplateEngine getTemplateEngine() {\n return queryCreator;\n }", "public PaginationHelper getPaginationHelper() {\n if (paginationHelper == null) {\n int pageSize = getRowQuantSelected().length() > 0 ? Integer.valueOf(\n getRowQuantSelected()).intValue() : 0;\n\n paginationHelper = new PaginationHelper(pageSize) {\n\n Integer count = null;\n\n @Override\n public int getItemsCount() {\n String where = null;\n if (count == null) {\n if (!filterSelectedField.equals(\"-1\")\n && filterCriteria.length() > 0) {\n Class<?> fieldClass = getFieldType(filterSelectedField);\n\n if (fieldClass.equals(Integer.class)\n || fieldClass.equals(Long.class)\n || fieldClass.equals(BigInteger.class)) {\n where = \"where o.\".concat(filterSelectedField).concat(\n \" = \").concat(filterCriteria);\n } else if (fieldClass.equals(String.class)) {\n where = \"where lower(o.\".concat(\n filterSelectedField).concat(\") LIKE '%\").concat(\n filterCriteria.toLowerCase()).concat(\n \"%'\");\n }\n }\n if (aditionalFilter != null\n && aditionalFilter.trim().length() > 0) {\n if (where == null) {\n where = \"where \";\n } else {\n where = where.concat(\" AND\");\n }\n where = where.concat(\" (\").concat(\n aditionalFilter.trim()).concat(\") \");\n }\n count = facade.count(where);\n }\n return count;\n }\n\n @Override\n public DataModel createPageDataModel() {\n String where = null;\n if (!filterSelectedField.equals(\"-1\")\n && filterCriteria.length() > 0) {\n Class<?> fieldClass = getFieldType(filterSelectedField);\n\n if (fieldClass.equals(Integer.class)\n || fieldClass.equals(Long.class)\n || fieldClass.equals(BigInteger.class)) {\n where = \"where o.\".concat(filterSelectedField).concat(\n \" = \").concat(filterCriteria);\n } else if (fieldClass.equals(String.class)) {\n where = \"where lower(o.\".concat(filterSelectedField).concat(\n \") LIKE '%\").concat(\n filterCriteria.toLowerCase()).concat(\"%'\");\n }\n }\n if (aditionalFilter != null\n && aditionalFilter.trim().length() > 0) {\n if (where == null) {\n where = \"where \";\n } else {\n where = where.concat(\" AND\");\n }\n where = where.concat(\" (\").concat(\n aditionalFilter.trim()).concat(\") \");\n }\n String beginOrderBy = sortHelper.getField().equals(\n \"codeChr\") ? \"o.metaDataPK.\" : \"o.\";\n String orderby = beginOrderBy.concat(sortHelper.getField()).concat(\n sortHelper.isAscending() ? \" ASC\" : \" DESC\");\n\n return new ListDataModelViewCsTigo(facade.findRange(\n new int[] {\n getPageFirstItem(),\n getPageFirstItem() + getPageSize() },\n where, orderby));\n }\n };\n }\n\n return paginationHelper;\n }", "BlogdslFactory getBlogdslFactory();", "public static QueryService getInstance() {\n\t \t// Use the service loader to load an implementation if one is available\n\t \t// Place a file called uk.ac.ox.it.ords.api.structure.service.CommentService in src/main/resources/META-INF/services\n\t \t// containing the classname to load as the CommentService implementation. \n\t \t// By default we load the Hibernate/Postgresql implementation.\n\t \t//\n\t \tif (provider == null){\n\t \t\tServiceLoader<QueryService> ldr = ServiceLoader.load(QueryService.class);\n\t \t\tfor (QueryService service : ldr) {\n\t \t\t\t// We are only expecting one\n\t \t\t\tprovider = service;\n\t \t\t}\n\t \t}\n\t \t//\n\t \t// If no service provider is found, use the default\n\t \t//\n\t \tif (provider == null){\n\t \t\tprovider = new QueryServiceImpl();\n\t \t}\n\t \t\n\t \treturn provider;\n\t }", "IotdslFactory getIotdslFactory();", "public QueryContext getQueryContext() {\n\t\treturn queryContext;\n\t}", "protected DatabaseHelper getHelper(){\n \t\tif(databaseHelper == null){\n \t\t\tdatabaseHelper = \n \t\t\t\t\tOpenHelperManager.getHelper(this.getBaseContext(), DatabaseHelper.class);\n \t\t}\n \t\treturn databaseHelper;\n \t}", "public Query(){\n this(new MongoQueryFilter.MongoQueryFilterBuilder());\n }", "public synchronized static DatabaseStorage query(Context context)\n {\n if (instance == null)\n {\n instance = new DatabaseStorage(context);\n }\n\n return instance;\n }", "private Queries() {\n // prevent instantiation\n }", "public static DbHelper getInstance(){\n\t\treturn _DbHelperHold.INSTANCE;\n\t}", "public XULTemplateBuilder getBuilder() //readonly\n\t{\n\t\tif(xulTemplateBuilder == null && getDatabase() != null) {\n\t\t\tRDFService rdfService = null; //TODO get the RDFService\n\t\t\txulTemplateBuilder = new XULTemplateBuilderImpl(rdfService, this);\n\t\t}\n\t\treturn xulTemplateBuilder;\n\t}", "private Helper getHelper() {\r\n return this.helper;\r\n }", "public interface QueryResultBuilder <T>{\n\t\n\t/**\n\t * Apply the given filter to the underlying query.\n\t * \n\t * @param filter The filter to apply.\n\t * @param params Filter parameters\n\t * @return Builder for chaining\n\t */\n\tpublic QueryResultBuilder<T> applyFilter(Option<QueryFilter<T>> filter, Option<Map<String, Object>> params);\n\t\n\t/**\n\t * Apply the given filter to the underlying query.\n\t * \n\t * @param filters The filter to apply\n\t * @return Builder for chaining\n\t */\n\tpublic QueryResultBuilder<T> applyFilters(Option<Filters> filters);\n\t\n\t/**\n\t * Apply the given search to the underlying query.\n\t * \n\t * @param search The search to apply\n\t * @return Builder for chaining\n\t */\n\tpublic QueryResultBuilder<T> applySearch(Option<Search> search);\n\t\n\t/**\n\t * Set the given page for the underlying query.\n\t * \n\t * @param page The page to apply\n\t * @return Builder for chaining\n\t */\n\tpublic QueryResultBuilder<T> setPage(Option<Page> page);\n\t\n\t/**\n\t * Apply the given sort to the underlying query.\n\t * \n\t * @param sort The sort to apply\n\t * @return Builder for chaining\n\t */\n\tpublic QueryResultBuilder<T> applySort(Option<Sort> sort);\n\t\n\t/**\n\t * Get the final result\n\t * @return\n\t */\n\tpublic QueryResult<T> getResult();\n}", "public QueryConfigHandler getQueryConfigHandler() {\n return config;\n }", "private QueryUtils() {\n\n }", "QueryType createQueryType();", "public QueryUtils() {\n }", "public WorldUps.UQuery.Builder getQueriesBuilder(\n int index) {\n return getQueriesFieldBuilder().getBuilder(index);\n }", "public ContactQuery getQuerySource()\n {\n return (ContactQuery) source;\n }", "protected static IQueryExecutor getSingleClassQueryExecutor(IQuery query, IStorageEngine engine, IInstanceBuilder instanceBuilder) {\r\n\r\n\t\tif (CriteriaQuery.class == query.getClass()) {\r\n\t\t\treturn new CriteriaQueryExecutor(query, engine);\r\n\t\t}\r\n\t\tif (ValuesCriteriaQuery.class == query.getClass()) {\r\n\t\t\treturn new ValuesCriteriaQueryExecutor(query, engine);\r\n\t\t}\r\n\r\n\t\tif (NativeQuery.class.isAssignableFrom(query.getClass())) {\r\n\t\t\treturn new NativeQueryExecutor(query, engine, instanceBuilder);\r\n\t\t}\r\n\r\n\t\tif (SimpleNativeQuery.class.isAssignableFrom(query.getClass())) {\r\n\t\t\treturn new NativeQueryExecutor(query, engine, instanceBuilder);\r\n\t\t}\r\n\r\n\t\tthrow new ODBRuntimeException(NeoDatisError.QUERY_TYPE_NOT_IMPLEMENTED.addParameter(query.getClass().getName()));\r\n\t}", "public QueryDescriptor getQueryDescriptor()\n {\n return _currentDescriptor;\n }", "public static SqlUtil forHSQLDB() {\r\n return new SqlUtil(HSQLDB);\r\n }", "public DatabaseHelper getDbHelper() {\n return dbHelper;\n }", "public static GenericRecordSetManager getInstance() {\n return instance;\n }", "public yandex.cloud.api.mdb.mongodb.v1.DatabaseOuterClass.DatabaseSpec.Builder getDatabaseSpecBuilder() {\n \n onChanged();\n return getDatabaseSpecFieldBuilder().getBuilder();\n }", "DomainHelper dh();", "public abstract String createQuery();", "T getQueryInfo();", "public ViewObjectImpl getQueryRecordVOInstance() {\n return (ViewObjectImpl)findViewObject(\"QueryRecordVOInstance\");\n }", "public org.apache.calcite.avatica.proto.Common.StatementHandle.Builder getStatementBuilder() {\n \n onChanged();\n return getStatementFieldBuilder().getBuilder();\n }", "public CriteriaBuilder getBuilder() {\n\t CriteriaBuilder builder = emFactory.getCriteriaBuilder();\n\t return builder;\n\t }", "public interface QtlAdaptor extends Adaptor {\n \n /**\n * Adaptor type. TYPE = \"qtl\".\n */\n final static String TYPE = \"qtl\";\n \n /**\n * Fetch Qtl by it's internalID.\n * @return Qtl with specied internalID, or null if no such Qtl exists in database.\n */\n Qtl fetch(long internalID) throws AdaptorException ;\n \n /**\n * Fetch all Qtls from database.\n * @return list of zero or more Qtls.\n */\n List fetchAll() throws AdaptorException ;\n \n /**\n * Fetch all Qtls from database with the specified trait.\n * @param trait trait affected by Qtl.\n * @return list of zero or more Qtls.\n */\n List fetchByTrait(String trait) throws AdaptorException ;\n \n\n /**\n * Fetch all Qtls from database that originally come from the specified\n * database.\n * @param sourceDatabaseName name of the source database.\n * @return list of zero or more Qtls.\n */\n List fetchBySourceDatabase(String sourceDatabaseName) throws AdaptorException ;\n \n /**\n * Fetch all Qtls from database that originally come from the specified\n * database and have the specified id.\n * @param sourceDatabaseName name of the source database.\n * @param sourceID id in the source database.\n * @return list of zero or more Qtls matching the criteria.\n */\n List fetchBySourceDatabase(String sourceDatabaseName, String sourceID) throws AdaptorException ;\n \n}", "public ObjectHelperFactory getObjectHelperFactory(){\r\n return this.helperFactory;\r\n }", "public DbAdapter getAdapter() {\n return adapter;\n }", "public interface GroupQueryBuilder extends QueryBuilder\n{\n /**\n * Create GroupQuery based on conditions set using other GroupQueryBuilder methods.\n * @return\n */\n GroupQuery createQuery();\n\n /**\n * Reset all query conditions\n * @return\n */\n GroupQueryBuilder reset();\n\n /**\n * Search for a Group with a given key\n *\n * @param key\n * @return\n */\n GroupQueryBuilder setKey(String key);\n\n /**\n * Search for groups with a given name and type\n * @param name\n * @param type\n * @return\n */\n GroupQueryBuilder setNameAndType(String name, String type);\n\n /**\n * Search for groups with a given name\n *\n * @param name\n * @return\n */\n GroupQueryBuilder setName(String name);\n\n /**\n * Search for groups with a given type\n * @param type\n * @return\n */\n GroupQueryBuilder setType(String type);\n\n /**\n * Search for groups that are associated with a given group\n *\n * @param group\n * @param parent\n * @return\n */\n GroupQueryBuilder addAssociatedGroup(Group group, boolean parent);\n\n /**\n * Search for groups that are associated with a given group\n *\n * @param key\n * @param parent\n * @return\n */\n GroupQueryBuilder addAssociatedGroup(String key, boolean parent);\n\n /**\n * Search for groups that are associated with a given groups\n * @param groups\n * @param parent\n * @return\n */\n GroupQueryBuilder addAssociatedGroups(Collection<Group> groups, boolean parent);\n\n /**\n * Search for groups that are associated with a given groups\n *\n * @param keys\n * @param parent\n * @return\n */\n GroupQueryBuilder addAssociatedGroupsKeys(Collection<String> keys, boolean parent);\n\n /**\n * Search for groups that are associated with a given user\n *\n * @param user\n * @return\n */\n GroupQueryBuilder addAssociatedUser(User user);\n\n /**\n * Search for groups that are associated with a given user\n *\n * @param key\n * @return\n */\n GroupQueryBuilder addAssociatedUser(String key);\n\n /**\n * Search for groups that are associated with a given users\n *\n * @param users\n * @return\n */\n GroupQueryBuilder addAssociatedUsers(Collection<User> users);\n\n /**\n * Search for groups that are associated with a given users\n *\n * @param keys\n * @return\n */\n GroupQueryBuilder addAssociatedUsersKeys(Collection<String> keys);\n\n /**\n * Search for groups that are connected with a Role with a given user\n *\n * @param user\n * @return\n */\n GroupQueryBuilder addUserConnectedByRole(User user);\n\n /**\n * Search for groups that are connected with a Role with a given user\n *\n * @param key\n * @return\n */\n GroupQueryBuilder addUserConnectedByRole(String key);\n\n /**\n * Search for groups that are connected with a Role with a given users\n *\n * @param users\n * @return\n */\n GroupQueryBuilder addUsersConnectedByRole(Collection<User> users);\n\n /**\n * Search for groups that are connected with a Role with a given users\n *\n * @param ids\n * @return\n */\n GroupQueryBuilder addUsersIdsConnectedByRole(Collection<String> ids);\n\n /**\n * Search for groups that are associated or connected with a Role with a given user\n *\n * @param user\n * @return\n */\n GroupQueryBuilder addRelatedUser(User user);\n\n /**\n * Search for groups that are associated or connected with a Role with a given user\n *\n * @param id\n * @return\n */\n GroupQueryBuilder addRelatedUser(String id);\n\n /**\n * Sort results\n *\n * @param order\n * @return\n * @throws UnsupportedQueryCriterium\n */\n GroupQueryBuilder sort(SortOrder order) throws UnsupportedQueryCriterium;\n\n /**\n * Sort by attribute name\n *\n * @param name\n * @return\n * @throws UnsupportedQueryCriterium\n */\n GroupQueryBuilder sortAttributeName(String name) throws UnsupportedQueryCriterium;\n\n /**\n * Return specified page from results\n *\n * @param firstResult\n * @param maxResults\n * @return\n * @throws UnsupportedQueryCriterium\n */\n GroupQueryBuilder page(int firstResult, int maxResults) throws UnsupportedQueryCriterium;\n\n /**\n * Filter resuts by a given attribute values. All values need to be present \n *\n * @param attributeName\n * @param attributeValue\n * @return\n * @throws UnsupportedQueryCriterium\n */\n GroupQueryBuilder attributeValuesFilter(String attributeName, String[] attributeValue) throws UnsupportedQueryCriterium;\n\n}", "public com.microsoft.schemas.sharepoint.dsp.DSQuery getDsQuery() {\r\n return dsQuery;\r\n }", "public DefaultExpander getDSLExpander() {\n if (this.expander == null) {\n expander = new DefaultExpander();\n for (DSLMappingFile file : this.dslFiles) {\n expander.addDSLMapping(file.getMapping());\n }\n }\n return expander;\n }", "public interface IQueryResolver {\n List<Field> equalCondition = new ArrayList();\n List<Field> greaterEqualCondition = new ArrayList();\n List<Field> lesserEqualCondition = new ArrayList();\n\n String getTableName();\n}", "protected OjbCollectionHelper getOjbCollectionHelper() {\r\n if (ojbCollectionHelper == null) {\r\n ojbCollectionHelper = KNSServiceLocator.getOjbCollectionHelper();\r\n }\r\n\r\n return ojbCollectionHelper;\r\n }", "GroupQuery createQuery();", "public lanyotech.cn.park.protoc.CommonProtoc.PageHelper.Builder getPageHelperBuilder() {\n bitField0_ |= 0x00000008;\n onChanged();\n return getPageHelperFieldBuilder().getBuilder();\n }", "public QbWhere where();", "private String getSelectQuery() {\n String query = null;\n try {\n query = crudQueryComposer.composeReadQuery();\n } catch (MissingPropertyException e) {\n logger.error(e);\n }\n return query;\n }", "public org.apache.drill.exec.proto.UserBitShared.QueryId.Builder getQueryIdBuilder() {\n bitField0_ |= 0x00000001;\n onChanged();\n return getQueryIdFieldBuilder().getBuilder();\n }", "public org.apache.drill.exec.proto.UserBitShared.QueryId.Builder getQueryIdBuilder() {\n bitField0_ |= 0x00000001;\n onChanged();\n return getQueryIdFieldBuilder().getBuilder();\n }", "Query query();", "EpkDSLFactory getEpkDSLFactory();", "private QueryGenerator() {\n }", "public Builder getThis() { return this; }", "public abstract DbQuery getQuery(String queryName);", "public Dao getInstance() {\n\t\treturn INSTANCE;\n\t}", "@Override\r\n\tpublic DAOInterface getDAO() {\n\t\treturn new TimeSeriesDAO(context);\r\n\t}", "public QueryElements getQueryAccess() {\n\t\treturn pQuery;\n\t}", "private DbQuery() {}", "public lanyotech.cn.park.protoc.CommonProtoc.PageHelper.Builder getPageHelperBuilder() {\n bitField0_ |= 0x00000010;\n onChanged();\n return getPageHelperFieldBuilder().getBuilder();\n }", "public String getQueryTemplate() {\n return queryTemplate;\n }", "public synchronized FormDAO getFormDAO() {\n\t\treturn new FormDAO(this);\n\t}", "BoundQuery<?,Ttuple> query(Query q,Focus<?> context)\n throws DataException;", "public lanyotech.cn.park.protoc.CommonProtoc.PageHelper.Builder getPageHelperBuilder() {\n bitField0_ |= 0x00000002;\n onChanged();\n return getPageHelperFieldBuilder().getBuilder();\n }", "interface FindByQueryWithQuery<T> extends TerminatingFindByQuery<T> {\n\n\t\t/**\n\t\t * Set the filter query to be used.\n\t\t *\n\t\t * @param query must not be {@literal null}.\n\t\t * @return new instance of {@link TerminatingFindByQuery}.\n\t\t * @throws IllegalArgumentException if query is {@literal null}.\n\t\t */\n\t\tTerminatingFindByQuery<T> matching(Query query);\n\n\t}", "public static DBHelper getDbHelper() {\n return dbHelper;\n }", "public QueryBuilder()\n {\n\tlabel = null;\n\tqueryCondition = null;\n\tselectionLimiter = null;\n\tselectionSorter = null;\n\n\tvariablesMap = new HashMap<String, Expression>();\n\tselectionLabelsReferencedByStats = new HashSet<String>();\n }", "public static DatabaseHelper getDatabaseHelper()\r\n\t{\r\n\t\treturn databaseHelper;\r\n\t}", "public static QualityResultDAOImplEx getInstance()\n {\n if ( instance == null )\n {\n instance = new QualityResultDAOImplEx();\n }\n return instance;\n }", "public Queryable getQueryable() {\n\t\treturn ( persister instanceof Queryable ) ? (Queryable) persister : null;\n\t}", "private static OfferDAO getOfferDAO() {\n DbConnection dbConnection = new DbConnection();\n DBI dbi = dbConnection.getDBConnection();\n OfferDAO offerDAO = dbi.onDemand(OfferDAO.class);\n return offerDAO;\n }", "public java.lang.CharSequence getQuery() {\n return query;\n }", "public String getQuery(){\n return this.query;\n }", "public java.lang.CharSequence getQuery() {\n return query;\n }", "public JwSqlSelect getSelect()\n {\n JwSqlSelect st = createSelect();\n populateSelectColumnsToCompose(st, ALIAS);\n st.from(TABLE, ALIAS);\n return st;\n }", "public JwSqlSelect getSelect()\n {\n JwSqlSelect st = createSelect();\n populateSelectColumnsToCompose(st, ALIAS);\n st.from(TABLE, ALIAS);\n return st;\n }", "public String getQuery() {\n return _query;\n }", "public interface Queryable<Ttuple extends Tuple>\n{\n URI QUERYABLE_URI = URIPool.create(\"class:/spiralcraft/data/query/Queryable\");\n \n /**\n * @return An array of all the Types supported by this Queryable\n */\n Type<?>[] getTypes();\n \n /**\n * @return Whether the store contains the specified Type.\n */\n boolean containsType(Type<?> type);\n \n /**\n * Returns all data instances of a specific Type for further manipulation by\n * BoundQueries. This method is used when a Queryable cannot provide\n * an optimized implementation for the simplest of Queries, or if no \n * optimization is needed. \n * \n * @return A boundQuery which provides the set of all instances for a given\n * type. \n */\n BoundQuery<?,Ttuple> getAll(Type<?> type) \n throws DataException;\n \n\n /**\n * Bind the specified Query and parameter context to this Queryable.\n * \n *@return a BoundQuery that implements the data flow path and provides the\n * data requested by the Query\n */\n BoundQuery<?,Ttuple> query(Query q,Focus<?> context)\n throws DataException;\n\n /**\n * Provide a custom binding solution for the root node of the provided Query\n * structure, or return null if this Queryable does not provide a custom\n * binding solution for the provided Query node.\n *\n * @param q\n * @param context\n * @return\n * @throws DataException\n */\n BoundQuery<?,Ttuple> solve(Query q,Focus<?> context)\n throws DataException;\n}", "HandlerHelper getHandlerHelper() {\n return handlerHelper;\n }", "public static IQueryExecutor getQueryExecutor(IQuery query, IStorageEngine engine, IInstanceBuilder instanceBuilder) {\r\n\t\tif (query.isPolymorphic()) {\r\n\t\t\treturn getMultiClassQueryExecutor(query, engine, instanceBuilder);\r\n\t\t}\r\n\r\n\t\treturn getSingleClassQueryExecutor(query, engine, instanceBuilder);\r\n\t}", "@Override\n public OrdersDAO getOrdersDAO() {\n\n if (instanceOrdersDAO == null) {\n return new MySQLOrdersDAO(connection);\n } else {\n return instanceOrdersDAO;\n }\n }", "GraphQLResolverContext getContext();", "public EODataSource queryDataSource();", "static SchemaBuilder newInstance() {\n return new SchemaBuilderImpl();\n }", "@Override\n\tpublic <T> TypedQuery<T> createQuery(String qlString, Class<T> resultClass) {\n\t\treturn null;\n\t}", "protected XPath getXPathHandler()\n\t{\n\t\treturn xPath;\n\t}", "static DbQuery createKeyQuery() {\n DbQuery query = new DbQuery();\n query.order = OrderBy.KEY;\n return query;\n }", "TSearchQuery createSearchQuery(SearchQueryDefinitionAPI searchQueryDefinition);" ]
[ "0.5957147", "0.5856266", "0.56952125", "0.5692366", "0.5692343", "0.5674317", "0.5658055", "0.5621117", "0.56210184", "0.5602626", "0.5591476", "0.5564984", "0.543291", "0.5417454", "0.53881323", "0.53785974", "0.5349611", "0.5290425", "0.5215918", "0.5197534", "0.51920253", "0.5154128", "0.5104997", "0.51023734", "0.50851214", "0.507023", "0.50193113", "0.5016855", "0.50074065", "0.4990906", "0.49613947", "0.49499494", "0.49358192", "0.49178004", "0.49169594", "0.49165", "0.4902748", "0.48998275", "0.48922583", "0.48764524", "0.48732218", "0.48707414", "0.4869121", "0.48574063", "0.48546565", "0.48514235", "0.48435166", "0.48429292", "0.48323694", "0.48292333", "0.48155573", "0.48143023", "0.481256", "0.48100612", "0.4807688", "0.48069835", "0.47941667", "0.4789511", "0.47827086", "0.47775304", "0.47749722", "0.47749722", "0.47664788", "0.4765609", "0.47624046", "0.47604832", "0.4756211", "0.47511458", "0.4750517", "0.4748337", "0.4740637", "0.4740383", "0.47402677", "0.4737466", "0.47269988", "0.4726162", "0.4722639", "0.47174847", "0.47116566", "0.47116336", "0.4707306", "0.47017446", "0.47008187", "0.47007123", "0.4694001", "0.46935898", "0.46931735", "0.46931735", "0.46897888", "0.4688699", "0.46772447", "0.46701264", "0.46669558", "0.46562043", "0.46534804", "0.46517354", "0.46506986", "0.4646492", "0.46349132", "0.4633675" ]
0.7710849
0
Processes requests for both HTTP GET and POST methods.
protected void processRequest(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { response.setContentType("text/html;charset=UTF-8"); Properties props = new Properties(); Session session = Session.getDefaultInstance(props, null); String msgBody = "This is a test message!"; String sendTo = FormUtil.getParamOrEmpty(request, "email"); logger.info("SendTo: " + sendTo); String from = "[email protected]"; try { Message message = new MimeMessage(session); message.setFrom(new InternetAddress(from, "The QAF Team")); message.addRecipient(Message.RecipientType.TO, new InternetAddress(sendTo)); message.setSubject("Thank you for your request to join the QAF mailing list!"); message.setText(msgBody); Transport.send(message); } catch (AddressException ex) { logger.warning("Address Exception: " + ex.getMessage()); } catch (MessagingException ex) { logger.warning("Messagings Exception: " + ex.getMessage()); } String returnPage = request.getParameter("return-page"); RequestDispatcher view = request.getRequestDispatcher(returnPage); view.forward(request, response); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void doPost(final HttpServletRequest req, final HttpServletResponse resp) throws ServletException, IOException {\n final String method = req.getParameter(METHOD);\n if (GET.equals(method)) {\n doGet(req, resp);\n } else {\n resp.setStatus(HttpServletResponse.SC_METHOD_NOT_ALLOWED);\n }\n }", "private void processRequest(HttpServletRequest request, HttpServletResponse response) {\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n // only POST should be used\n doPost(request, response);\n }", "@Override\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\nSystem.err.println(\"=====================>>>>>123\");\n\t\tString key=req.getParameter(\"method\");\n\t\tswitch (key) {\n\t\tcase \"1\":\n\t\t\tgetProvinces(req,resp);\n\t\t\tbreak;\n\t\tcase \"2\":\n\t\t\tgetCities(req,resp);\t\t\t\n\t\t\tbreak;\n\t\tcase \"3\":\n\t\t\tgetAreas(req,resp);\n\t\t\tbreak;\n\n\t\tdefault:\n\t\t\tbreak;\n\t\t}\n\n\t}", "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tprocess(req, resp);\n\t}", "@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\r\n\t\tdoPost(req, resp);\r\n\t}", "@Override\r\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n processRequest(request, response);\r\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoGet(req, resp);\n\n\t}", "@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoPost(req, resp);\r\n\t}", "@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoPost(req, resp);\r\n\t}", "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoPost(req, resp);\n\t}", "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoPost(req, resp);\n\t}", "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoPost(req, resp);\n\t}", "@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoProcess(req, resp);\r\n\t}", "@Override\r\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n processRequest(request, response);\r\n }", "@Override\r\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n processRequest(request, response);\r\n }", "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoProcess(req, resp);\n\t}", "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\t\tdoPost(req, resp);\n\t}", "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\t\tdoPost(req, resp);\n\t}", "@Override\n \tpublic void doGet(HttpServletRequest req, HttpServletResponse resp)\n \t\t\tthrows ServletException, IOException {\n \t\tdoPost(req, resp);\n \t}", "@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}", "@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}", "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tthis.doPost(req, resp);\n\t}", "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tthis.doPost(req, resp);\n\t}", "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tthis.doPost(req, resp);\n\t}", "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tthis.doPost(req, resp);\n\t}", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\r\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tsuper.doPost(req, resp);\r\n\t\tdoGet(req, resp);\r\n\t}", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tthis.doPost(req, resp);\r\n\t}", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n\n processRequest(request, response);\n }", "@Override\n\tprotected void doGet(HttpServletRequest request,\n\t\t\tHttpServletResponse response) throws ServletException, IOException {\n\t\tprocessRequest(request, response);\n\t}", "@Override\n\tprotected void doGet(HttpServletRequest request,\n\t\t\tHttpServletResponse response) throws ServletException, IOException {\n\t\tprocessRequest(request, response);\n\t}", "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\t\tthis.doPost(req, resp);\n\t\t\n\t}", "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\n\t\tprocess(req,resp);\n\t}", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }" ]
[ "0.7004024", "0.66585696", "0.66031146", "0.6510023", "0.6447109", "0.64421695", "0.64405906", "0.64321136", "0.6428049", "0.6424289", "0.6424289", "0.6419742", "0.6419742", "0.6419742", "0.6418235", "0.64143145", "0.64143145", "0.6400266", "0.63939095", "0.63939095", "0.639271", "0.63919044", "0.63919044", "0.63903785", "0.63903785", "0.63903785", "0.63903785", "0.63887113", "0.63887113", "0.6380285", "0.63783026", "0.63781637", "0.637677", "0.63761306", "0.6370491", "0.63626", "0.63626", "0.63614637", "0.6355308", "0.63546896", "0.63546896", "0.63546896", "0.63546896", "0.63546896", "0.63546896", "0.63546896", "0.63546896", "0.63546896", "0.63546896", "0.63546896", "0.63546896", "0.63546896", "0.63546896", "0.63546896", "0.63546896", "0.63546896", "0.63546896", "0.63546896", "0.63546896", "0.63546896", "0.63546896", "0.63546896", "0.63546896", "0.63546896", "0.63546896", "0.63546896", "0.63546896", "0.63546896", "0.63546896", "0.63546896", "0.63546896", "0.63546896", "0.63546896", "0.63546896", "0.63546896", "0.63546896", "0.63546896", "0.63546896", "0.63546896", "0.63546896", "0.63546896", "0.63546896", "0.63546896", "0.63546896", "0.63546896", "0.63546896", "0.63546896", "0.63546896", "0.63546896", "0.63546896", "0.63546896", "0.63546896", "0.63546896", "0.63546896", "0.63546896", "0.63546896", "0.63546896", "0.63546896", "0.63546896", "0.63546896", "0.63546896" ]
0.0
-1
Handles the HTTP GET method.
@Override protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { processRequest(request, response); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void doGet( )\n {\n \n }", "@Override\n\tprotected void executeGet(GetRequest request, OperationResponse response) {\n\t}", "@Override\n\tprotected Method getMethod() {\n\t\treturn Method.GET;\n\t}", "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\t\n\t}", "@Override\n protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n }", "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\t}", "@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t}", "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t}", "@Override\r\n\tprotected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoGet(req, resp);\r\n\t}", "void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException;", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n \n }", "@Override\r\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n \r\n }", "@Override\r\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n \r\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n \n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n \n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n \n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n metGet(request, response);\n }", "public void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException {\r\n\tlogTrace( req, \"GET log\" );\r\n\tString requestId = req.getQueryString();\r\n\tif (requestId == null) return;\r\n\tif (\"get-response\".equals( requestId )) {\r\n\t try {\r\n\t\tonMEVPollsForResponse( req, resp );\r\n\t } catch (Exception e) {\r\n\t\tlogError( req, resp, e, \"MEV polling error\" );\r\n\t\tsendError( resp, \"MEV polling error: \" + e.toString() );\r\n\t }\r\n\t}\r\n }", "@Override\r\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n \r\n \r\n }", "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tsuper.doGet(req, resp);\n\t\t\n\t}", "@Override\r\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n\r\n }", "@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tsuper.doGet(req, resp);\r\n\t}", "@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tsuper.doGet(req, resp);\r\n\t}", "public void doGet() throws IOException {\n\n // search ressource\n byte[] contentByte = null;\n try {\n contentByte = ToolBox.readFileByte(RESOURCE_DIRECTORY, this.url);\n this.statusCode = OK;\n ContentType contentType = new ContentType(this.extension);\n sendHeader(statusCode, contentType.getContentType(), contentByte.length);\n } catch (IOException e) {\n System.out.println(\"Ressource non trouvé\");\n statusCode = NOT_FOUND;\n contentByte = ToolBox.readFileByte(RESPONSE_PAGE_DIRECTORY, \"pageNotFound.html\");\n sendHeader(statusCode, \"text/html\", contentByte.length);\n }\n\n this.sendBodyByte(contentByte);\n }", "public HttpResponseWrapper invokeGET(String path) {\n\t\treturn invokeHttpMethod(HttpMethodType.HTTP_GET, path, \"\");\n\t}", "@Override\n\tpublic void doGet(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\t\tsuper.doGet(req, resp);\n\t}", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n\n }", "@Override\n\tprotected void doGet(HttpServletRequest request,\n\t\t\tHttpServletResponse response) throws ServletException, IOException {\n\t}", "public Result get(Get get) throws IOException;", "@Override\n public void doGet(HttpServletRequest request, HttpServletResponse response) {\n System.out.println(\"[Servlet] GET request \" + request.getRequestURI());\n\n response.setContentType(FrontEndServiceDriver.APP_TYPE);\n response.setStatus(HttpURLConnection.HTTP_BAD_REQUEST);\n\n try {\n String url = FrontEndServiceDriver.primaryEventService +\n request.getRequestURI().replaceFirst(\"/events\", \"\");\n HttpURLConnection connection = doGetRequest(url);\n\n if (connection.getResponseCode() == HttpURLConnection.HTTP_OK) {\n PrintWriter pw = response.getWriter();\n JsonObject responseBody = (JsonObject) parseResponse(connection);\n\n response.setStatus(HttpURLConnection.HTTP_OK);\n pw.println(responseBody.toString());\n }\n }\n catch (Exception ignored) {}\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n }", "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\t\tsuper.doGet(req, resp);\n\t}", "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\t\tsuper.doGet(req, resp);\n\t}", "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tSystem.out.println(\"get\");\n\t\tthis.doPost(req, resp);\n\t}", "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tsuper.doGet(req, resp);\n\t}", "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tsuper.doGet(req, resp);\n\t}", "public void doGet(HttpServletRequest request, HttpServletResponse response)\r\n\t\t\tthrows ServletException, IOException {}", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n \tSystem.out.println(\"---here--get--\");\n processRequest(request, response);\n }", "@Override\n public final void doGet() {\n try {\n checkPermissions(getRequest());\n // GET one\n if (id != null) {\n output(api.runGet(id, getParameterAsList(PARAMETER_DEPLOY), getParameterAsList(PARAMETER_COUNTER)));\n } else if (countParameters() == 0) {\n throw new APIMissingIdException(getRequestURL());\n }\n // Search\n else {\n\n final ItemSearchResult<?> result = api.runSearch(Integer.parseInt(getParameter(PARAMETER_PAGE, \"0\")),\n Integer.parseInt(getParameter(PARAMETER_LIMIT, \"10\")), getParameter(PARAMETER_SEARCH),\n getParameter(PARAMETER_ORDER), parseFilters(getParameterAsList(PARAMETER_FILTER)),\n getParameterAsList(PARAMETER_DEPLOY), getParameterAsList(PARAMETER_COUNTER));\n\n head(\"Content-Range\", result.getPage() + \"-\" + result.getLength() + \"/\" + result.getTotal());\n\n output(result.getResults());\n }\n } catch (final APIException e) {\n e.setApi(apiName);\n e.setResource(resourceName);\n throw e;\n }\n }", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n \n }", "public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n }", "@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\r\n\t\t\tthrows ServletException, IOException {\n\t\tthis.service(req, resp);\r\n\t}", "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\t\n\t}", "@RequestMapping(value = \"/{id}\", method = RequestMethod.GET)\n public void get(@PathVariable(\"id\") String id, HttpServletRequest req){\n throw new NotImplementedException(\"To be implemented\");\n }", "@Override\npublic void get(String url) {\n\t\n}", "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\t\r\n\t}", "@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tString action = req.getParameter(\"action\");\r\n\t\t\r\n\t\tif(action == null) {\r\n\t\t\taction = \"List\";\r\n\t\t}\r\n\t\t\r\n\t\tswitch(action) {\r\n\t\t\tcase \"List\":\r\n\t\t\t\tlistUser(req, resp);\r\n\t\t\t\t\t\t\r\n\t\t\tdefault:\r\n\t\t\t\tlistUser(req, resp);\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t}", "@Override\n\tprotected void doGet(HttpServletRequest request, \n\t\t\tHttpServletResponse response) throws ServletException, IOException {\n\t\tSystem.out.println(\"Routed to doGet\");\n\t}", "@NonNull\n public String getAction() {\n return \"GET\";\n }", "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\n\t\tprocess(req,resp);\n\t}", "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}", "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}", "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}", "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}", "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}", "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}", "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}", "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}", "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}", "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}", "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}", "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}", "@Override\r\nprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t process(req,resp);\r\n\t }", "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tprocess(req, resp);\n\t}", "@Override\n\tpublic HttpResponse get(final String endpoint) {\n\t\treturn httpRequest(HTTP_GET, endpoint, null);\n\t}", "public void doGet(HttpServletRequest request, HttpServletResponse response)\r\n\t\t\tthrows ServletException, IOException {\r\n\t}", "@Override\r\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n processRequest(request, response);\r\n System.out.println(\"teste doget\");\r\n }", "public void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n response.setContentType(\"text/plain\");\n // Actual logic goes here.\n PrintWriter out = response.getWriter();\n out.println(\"Wolken,5534-0848-5100,0299-6830-9164\");\n\ttry \n\t{\n Get g = new Get(Bytes.toBytes(request.getParameter(\"userid\")));\n Result r = table.get(g);\n byte [] value = r.getValue(Bytes.toBytes(\"v\"),\n Bytes.toBytes(\"\"));\n\t\tString valueStr = Bytes.toString(value);\n\t\tout.println(valueStr);\n\t}\n\tcatch (Exception e)\n\t{\n\t\tout.println(e);\n\t}\n }", "@Override\r\n public void doGet(String path, HttpServletRequest request, HttpServletResponse response)\r\n throws Exception {\r\n // throw new UnsupportedOperationException();\r\n System.out.println(\"Inside the get\");\r\n response.setContentType(\"text/xml\");\r\n response.setCharacterEncoding(\"utf-8\");\r\n final Writer w = response.getWriter();\r\n w.write(\"inside the get\");\r\n w.close();\r\n }", "@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoProcess(req, resp);\r\n\t}", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n System.out.println(\"Console: doGET visited\");\n String result = \"\";\n //get the user choice from the client\n String choice = (request.getPathInfo()).substring(1);\n response.setContentType(\"text/plain;charset=UTF-8\");\n PrintWriter out = response.getWriter();\n //methods call appropriate to user calls\n if (Integer.valueOf(choice) == 3) {\n result = theBlockChain.toString();\n if (result != null) {\n out.println(result);\n response.setStatus(200);\n //set status if result output is not generated\n } else {\n response.setStatus(401);\n return;\n }\n }\n //verify chain method\n if (Integer.valueOf(choice) == 2) {\n response.setStatus(200);\n boolean validity = theBlockChain.isChainValid();\n out.print(\"verifying:\\nchain verification: \");\n out.println(validity);\n }\n }", "@Override\n public DataObjectResponse<T> handleGET(DataObjectRequest<T> request)\n {\n if(getRequestValidator() != null) getRequestValidator().validateGET(request);\n\n DefaultDataObjectResponse<T> response = new DefaultDataObjectResponse<>();\n try\n {\n VisibilityFilter<T, DataObjectRequest<T>> visibilityFilter = visibilityFilterMap.get(VisibilityMethod.GET);\n List<Query> queryList = new LinkedList<>();\n if(request.getQueries() != null)\n queryList.addAll(request.getQueries());\n\n if(request.getId() != null)\n {\n // if the id is specified\n queryList.add(new ById(request.getId()));\n }\n\n DataObjectFeed<T> feed = objectPersister.retrieve(queryList);\n if(feed == null)\n feed = new DataObjectFeed<>();\n List<T> filteredObjects = visibilityFilter.filterByVisible(request, feed.getAll());\n response.setCount(feed.getCount());\n response.addAll(filteredObjects);\n }\n catch(PersistenceException e)\n {\n ObjectNotFoundException objectNotFoundException = new ObjectNotFoundException(String.format(OBJECT_NOT_FOUND_EXCEPTION, request.getId()), e);\n response.setErrorResponse(ErrorResponseFactory.objectNotFound(objectNotFoundException, request.getCID()));\n }\n return response;\n }", "public void handleGet( HttpExchange exchange ) throws IOException {\n switch( exchange.getRequestURI().toString().replace(\"%20\", \" \") ) {\n case \"/\":\n print(\"sending /MainPage.html\");\n sendResponse( exchange, FU.readFromFile( getReqDir( exchange )), 200);\n break;\n case \"/lif\":\n // send log in page ( main page )\n sendResponse ( exchange, FU.readFromFile(getReqDir(exchange)), 200);\n //\n break;\n case \"/home.html\":\n\n break;\n case \"/book.html\":\n\n break;\n default:\n //checks if user is logged in\n\n //if not send log in page\n //if user is logged in then\n print(\"Sending\");\n String directory = getReqDir( exchange ); // dont need to do the / replace as no space\n File page = new File( getReqDir( exchange) );\n\n // IMPLEMENT DIFFERENT RESPONSE CODE FOR HERE IF EXISTS IS FALSE OR CAN READ IS FALSE\n sendResponse(exchange, FU.readFromFile(directory), 200);\n break;\n }\n }", "public int handleGET(String requestURL) throws ClientProtocolException, IOException{\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\thttpGet = new HttpGet(requestURL);\t\t\r\n\t\t\t\t\t\t\r\n\t\tinputsource=null;\r\n\t\t\t\r\n\t\toutputString=\"\";\r\n\t\t\r\n\t\t//taking response by executing http GET object\r\n\t\tCloseableHttpResponse response = httpclient.execute(httpGet);\t\t\r\n\t\r\n\t\t/* \r\n\t\t * \tThe underlying HTTP connection is still held by the response object\r\n\t\t\tto allow the response content to be streamed directly from the network socket.\r\n\t\t\tIn order to ensure correct deallocation of system resources\r\n\t\t\tthe user MUST call CloseableHttpResponse.close() from a finally clause.\r\n\t\t\tPlease note that if response content is not fully consumed the underlying\r\n\t\t\tconnection cannot be safely re-used and will be shut down and discarded\r\n\t\t\tby the connection manager.\r\n\t\t */\r\n\t\t\r\n\t\t\tstatusLine= response.getStatusLine().toString();\t\t//status line\r\n\t\t\t\r\n\t\t\tHttpEntity entity1 = response.getEntity();\t\t\t\t//getting response entity from server response \t\r\n\t\t\t\t\t\r\n\t\t\tBufferedReader br=new BufferedReader(new InputStreamReader(entity1.getContent()));\r\n\r\n\t\t\tString line;\r\n\t\t\twhile((line=br.readLine())!=null)\r\n\t\t\t{\r\n\t\t\t\toutputString=outputString+line.toString();\r\n\t }\r\n\t\t\t\r\n\t\t\t//removing spaces around server response string.\r\n\t\t\toutputString.trim();\t\t\t\t\t\t\t\t\t\r\n\t\t\t\r\n\t\t\t//converting server response string into InputSource.\r\n\t\t\tinputsource = new InputSource(new StringReader(outputString));\t\r\n\t\t\t\r\n\t\t\t// and ensure it is fully consumed\r\n\t\t\tEntityUtils.consume(entity1);\t\t\t//consuming entity.\r\n\t\t\tresponse.close();\t\t\t\t\t\t//closing response.\r\n\t\t\tbr.close();\t\t\t\t\t\t\t\t//closing buffered reader\r\n\t\t\t\r\n\t\t\t//returning response code\r\n\t\t\treturn response.getStatusLine().getStatusCode();\r\n\t\r\n\t}", "@Override\n\tprotected void doGet(SlingHttpServletRequest request, SlingHttpServletResponse response)\n\t\t\tthrows ServletException, IOException {\n\t\t logger.error(\"BISHUNNN CALLED\");\n\t\tString category = request.getParameter(\"category\").trim();\n\t\tGetHttpCall getHttpCall = new GetHttpCall();\n\t\turl = APIConstants.baseURL+category.toLowerCase();\n\t\tresponseString = getHttpCall.execute(url);\n\t\tresponse.getWriter().write(responseString);\n\t}", "@Override\r\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n //processRequest(request, response);\r\n }", "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tPrintWriter out = resp.getWriter();\n\t\tout.print(\"<h1>Hello from your doGet method!</h1>\");\n\t}", "public void doGet(HttpServletRequest request,\n HttpServletResponse response)\n throws IOException, ServletException {\n response.setContentType(TYPE_TEXT_HTML.label);\n response.setCharacterEncoding(UTF8.label);\n request.setCharacterEncoding(UTF8.label);\n String path = request.getRequestURI();\n logger.debug(RECEIVED_REQUEST + path);\n Command command = null;\n try {\n command = commands.get(path);\n command.execute(request, response);\n } catch (NullPointerException e) {\n logger.error(REQUEST_PATH_NOT_FOUND);\n request.setAttribute(JAVAX_SERVLET_ERROR_STATUS_CODE, 404);\n command = commands.get(EXCEPTION.label);\n command.execute(request, response);\n }\n }", "public void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tString search = req.getParameter(\"searchBook\");\n\t\tString output=search;\n\n\t\t//redirect output to view search.jsp\n\t\treq.setAttribute(\"output\", output);\n\t\tresp.setContentType(\"text/json\");\n\t\tRequestDispatcher view = req.getRequestDispatcher(\"search.jsp\");\n\t\tview.forward(req, resp);\n\t\t\t\n\t}", "public void doGet( HttpServletRequest request, HttpServletResponse response )\n throws ServletException, IOException\n {\n handleRequest( request, response, false );\n }", "public void doGet(HttpServletRequest request, HttpServletResponse response)\n\t\t\tthrows ServletException, IOException {\n\n\t}", "public void doGet(HttpServletRequest request, HttpServletResponse response)\n\t\t\tthrows ServletException, IOException {\n\n\t}", "@GET\n @Produces(MediaType.APPLICATION_JSON)\n public Response handleGet() {\n Gson gson = GSONFactory.getInstance();\n List allEmployees = getAllEmployees();\n\n if (allEmployees == null) {\n allEmployees = new ArrayList();\n }\n\n Response response = Response.ok().entity(gson.toJson(allEmployees)).build();\n return response;\n }", "@Override\n\tprotected void doGet(HttpServletRequest request, HttpServletResponse response)\n\t\t\tthrows IOException, ServletException {\n\t\tsuper.doGet(request, response);\t\t\t\n\t}", "private static String sendGET(String getURL) throws IOException {\n\t\tURL obj = new URL(getURL);\n\t\tHttpURLConnection con = (HttpURLConnection) obj.openConnection();\n\t\tcon.setRequestMethod(\"GET\");\n\t\tString finalResponse = \"\";\n\n\t\t//This way we know if the request was processed successfully or there was any HTTP error message thrown.\n\t\tint responseCode = con.getResponseCode();\n\t\tSystem.out.println(\"GET Response Code : \" + responseCode);\n\t\tif (responseCode == HttpURLConnection.HTTP_OK) { // success\n\t\t\tBufferedReader in = new BufferedReader(new InputStreamReader(con.getInputStream()));\n\t\t\tString inputLine;\n\t\t\tStringBuffer buffer = new StringBuffer();\n\n\t\t\twhile ((inputLine = in.readLine()) != null) {\n\t\t\t\tbuffer.append(inputLine);\n\t\t\t}\n\t\t\tin.close();\n\n\t\t\t// print result\n\t\t\tfinalResponse = buffer.toString();\n\t\t} else {\n\t\t\tSystem.out.println(\"GET request not worked\");\n\t\t}\n\t\treturn finalResponse;\n\t}", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n //processRequest(request, response);\n }", "@Override\n \tpublic void doGet(HttpServletRequest req, HttpServletResponse resp)\n \t\t\tthrows ServletException, IOException {\n \t\tdoPost(req, resp);\n \t}", "public BufferedReader reqGet(final String route) throws\n ServerStatusException, IOException {\n System.out.println(\"first reqGet\");\n return reqGet(route, USER_AGENT);\n }", "HttpGet getRequest(HttpServletRequest request, String address) throws IOException;", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override \r\nprotected void doGet(HttpServletRequest request, HttpServletResponse response) \r\nthrows ServletException, IOException { \r\nprocessRequest(request, response); \r\n}", "protected void doGet(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\n String action = request.getParameter(\"action\");\r\n\r\n try {\r\n switch (action)\r\n {\r\n case \"/getUser\":\r\n \tgetUser(request, response);\r\n break;\r\n \r\n }\r\n } catch (Exception ex) {\r\n throw new ServletException(ex);\r\n }\r\n }", "@Override\n protected void doGet\n (HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoProcess(req, resp);\n\t}", "@Test\r\n\tpublic void doGet() throws Exception {\n\t\tCloseableHttpClient httpClient = HttpClients.createDefault();\r\n\t\t// Create a GET object and pass a url to it\r\n\t\tHttpGet get = new HttpGet(\"http://www.google.com\");\r\n\t\t// make a request\r\n\t\tCloseableHttpResponse response = httpClient.execute(get);\r\n\t\t// get response as result\r\n\t\tSystem.out.println(response.getStatusLine().getStatusCode());\r\n\t\tHttpEntity entity = response.getEntity();\r\n\t\tSystem.out.println(EntityUtils.toString(entity));\r\n\t\t// close HttpClient\r\n\t\tresponse.close();\r\n\t\thttpClient.close();\r\n\t}", "private void requestGet(String endpoint, Map<String, String> params, RequestListener listener) throws Exception {\n String requestUri = Constant.API_BASE_URL + ((endpoint.indexOf(\"/\") == 0) ? endpoint : \"/\" + endpoint);\n get(requestUri, params, listener);\n }", "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\tint i = request.getRequestURI().lastIndexOf(\"/\") + 1;\n\t\tString action = request.getRequestURI().substring(i);\n\t\tSystem.out.println(action);\n\t\t\n\t\tString view = \"Error\";\n\t\tObject model = \"service Non disponible\";\n\t\t\n\t\tif (action.equals(\"ProductsList\")) {\n\t\t\tview = productAction.productsList();\n\t\t\tmodel = productAction.getProducts();\n\t\t}\n\t\t\n\t\trequest.setAttribute(\"model\", model);\n\t\trequest.getRequestDispatcher(prefix + view + suffix).forward(request, response); \n\t}", "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n\t throws ServletException, IOException {\n\tprocessRequest(request, response);\n }", "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\tcommandAction(request,response);\r\n\t}" ]
[ "0.7589609", "0.71665615", "0.71148175", "0.705623", "0.7030174", "0.70291144", "0.6995984", "0.697576", "0.68883485", "0.6873811", "0.6853569", "0.6843572", "0.6843572", "0.6835363", "0.6835363", "0.6835363", "0.68195957", "0.6817864", "0.6797789", "0.67810035", "0.6761234", "0.6754993", "0.6754993", "0.67394847", "0.6719924", "0.6716244", "0.67054695", "0.67054695", "0.67012346", "0.6684415", "0.6676695", "0.6675696", "0.6675696", "0.66747975", "0.66747975", "0.6669016", "0.66621476", "0.66621476", "0.66476154", "0.66365504", "0.6615004", "0.66130257", "0.6604073", "0.6570195", "0.6551141", "0.65378064", "0.6536579", "0.65357745", "0.64957607", "0.64672184", "0.6453189", "0.6450501", "0.6411481", "0.6411481", "0.6411481", "0.6411481", "0.6411481", "0.6411481", "0.6411481", "0.6411481", "0.6411481", "0.6411481", "0.6411481", "0.6411481", "0.64067316", "0.6395873", "0.6379907", "0.63737476", "0.636021", "0.6356937", "0.63410467", "0.6309468", "0.630619", "0.630263", "0.63014317", "0.6283933", "0.62738425", "0.62680805", "0.62585783", "0.62553537", "0.6249043", "0.62457556", "0.6239428", "0.6239428", "0.62376446", "0.62359244", "0.6215947", "0.62125194", "0.6207376", "0.62067443", "0.6204527", "0.6200444", "0.6199078", "0.61876005", "0.6182614", "0.61762017", "0.61755335", "0.61716276", "0.6170575", "0.6170397", "0.616901" ]
0.0
-1
Handles the HTTP POST method.
@Override protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { processRequest(request, response); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void doPost(Request request, Response response) {\n\n\t}", "@Override\n protected void doPost(HttpServletRequest req, HttpServletResponse resp) {\n }", "public void doPost( )\n {\n \n }", "@Override\n public String getMethod() {\n return \"POST\";\n }", "public String post();", "@Override\n\tpublic void doPost(HttpRequest request, AbstractHttpResponse response)\n\t\t\tthrows IOException {\n\t\t\n\t}", "@Override\n public String getMethod() {\n return \"POST\";\n }", "public ResponseTranslator post() {\n setMethod(\"POST\");\n return doRequest();\n }", "protected void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException {\n }", "public void doPost(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows IOException {\n\n\t}", "public void postData() {\n\n\t}", "@Override\n public void doPost(HttpServletRequest req, HttpServletResponse res) throws IOException, ServletException {\n logger.warn(\"doPost Called\");\n handle(req, res);\n }", "@Override\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n metPost(request, response);\n }", "protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n }", "@Override\r\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp)\r\n\t\t\tthrows ServletException, IOException {\n\t\tsuper.doPost(req, resp);\r\n\t}", "@Override\r\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n\r\n }", "@Override\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\t\tsuper.doPost(req, resp);\n\t}", "@Override\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\t\tsuper.doPost(req, resp);\n\t}", "@Override\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\t\tsuper.doPost(req, resp);\n\t}", "@Override\n\tpublic void postHandle(WebRequest request, ModelMap model) throws Exception {\n\n\t}", "protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\n }", "public void doPost(HttpServletRequest request, HttpServletResponse response)\r\n\t\t\tthrows ServletException, IOException {\r\n\r\n\t\t\r\n\t}", "@Override\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\t\n\t}", "@Override\n\tprotected HttpMethod requestMethod() {\n\t\treturn HttpMethod.POST;\n\t}", "@Override\n\tprotected void handlePostBody(HashMap<String, HashMap<String, String>> params, DataFormat format) throws Exception {\n\t}", "@Override\r\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n }", "@Override\n\tprotected void doPost(HttpServletRequest request, HttpServletResponse response)\n\t\t\tthrows ServletException, IOException {\n\t}", "@Override\r\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n \r\n }", "@Override\r\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n \r\n }", "@Override\n\n\tpublic void handlePOST(CoapExchange exchange) {\n\t\tFIleStream read = new FIleStream();\n\t\tread.tempWrite(Temp_Path, exchange.getRequestText());\n\t\texchange.respond(ResponseCode.CREATED, \"POST successfully!\");\n\t\t_Logger.info(\"Receive post request:\" + exchange.getRequestText());\n\t}", "@Override\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n response.getWriter().println(\"go to post method in manager\");\n }", "@Override\r\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tsuper.doPost(req, resp);\r\n\t}", "@Override\r\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tsuper.doPost(req, resp);\r\n\t}", "@Override\r\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tsuper.doPost(req, resp);\r\n\t}", "@Override\n protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n }", "@Override\n protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n }", "public void doPost(HttpServletRequest request, HttpServletResponse response)\n\t\t\tthrows ServletException, IOException {\n\t\t\n\t}", "@Override\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n \n }", "public abstract boolean handlePost(FORM form, BindException errors) throws Exception;", "@Override\n protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n super.doPost(req, resp);\n }", "public void doPost(HttpServletRequest request, HttpServletResponse response)\n\t\t\tthrows ServletException, IOException {\n\t\n\t\t\t\n\t\t \n\t}", "@Override\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tsuper.doPost(req, resp);\n\t}", "@Override\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tsuper.doPost(req, resp);\n\t}", "@Override\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tsuper.doPost(req, resp);\n\t}", "public void processPost(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException\n {\n }", "@Override\n\tpublic void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\n\t}", "@Override\n\tpublic void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\n\t}", "public void doPost(HttpServletRequest request, HttpServletResponse response)\n\t\t\tthrows ServletException, IOException {\n\n\n\t}", "public void doPost(HttpServletRequest request ,HttpServletResponse response){\n\n }", "@Override\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n\n }", "protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n}", "@Override\r\n\tpublic void postHandle(HttpServletRequest request,\r\n\t\t\tHttpServletResponse response, Object handler,\r\n\t\t\tModelAndView modelAndView) throws Exception {\n\r\n\t}", "public void post(){\n\t\tHttpClient client = new HttpClient();\n\n\t\tPostMethod post = new PostMethod(\"http://211.138.245.85:8000/sso/POST\");\n//\t\tPostMethod post = new PostMethod(\"/eshopclient/product/show.do?id=111655\");\n//\t\tpost.addRequestHeader(\"Cookie\", cookieHead);\n\n\n\t\ttry {\n\t\t\tSystem.out.println(\"��������====\");\n\t\t\tint status = client.executeMethod(post);\n\t\t\tSystem.out.println(status);\n\t\t} catch (HttpException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\n//\t\ttaskCount++;\n//\t\tcountDown--;\n\t}", "protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}", "protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}", "protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}", "protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}", "protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}", "protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}", "protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}", "protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}", "protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}", "protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}", "protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}", "public void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException {\r\n\tlogTrace( req, \"POST log\" );\r\n\tString requestId = req.getQueryString();\r\n\tif (requestId == null) {\r\n\t try {\r\n\t\tServletUtil.bufferedRead( req.getInputStream() );\r\n\t } catch (IOException ex) {\r\n\t }\r\n\t logError( req, resp, new Exception(\"Unrecognized POST\"), \"\" );\r\n\t sendError(resp, \"Unrecognized POST\");\r\n\t} else\r\n\t if (\"post-request\".equals( requestId )) {\r\n\t\ttry {\r\n\t\t onMEVPostsRequest( req, resp );\r\n\t\t} catch (Exception e) {\r\n\t\t try {\r\n\t\t\tServletUtil.bufferedRead( req.getInputStream() );\r\n\t\t } catch (IOException ex) {\r\n\t\t }\r\n\t\t logError( req, resp, e, \"MEV POST error\" );\r\n\t\t sendError( resp, \"MEV POST error: \" + e.toString() );\r\n\t\t}\r\n\t } else if (\"post-response\".equals( requestId )) {\r\n\t\ttry {\r\n\t\t onPVMPostsResponse( req, resp );\r\n\t\t} catch (Exception e) {\r\n\t\t try {\r\n\t\t\tServletUtil.bufferedRead( req.getInputStream() );\r\n\t\t } catch (IOException ex) {\r\n\t\t }\r\n\t\t logError( req, resp, e, \"PVM POST error\" );\r\n\t\t sendError( resp, \"PVM POST error: \" + e.toString() );\r\n\t\t}\r\n\t }\r\n }", "@Override\n\tpublic void postHandle(HttpServletRequest request,\n\t\t\tHttpServletResponse response, Object handler,\n\t\t\tModelAndView modelAndView) throws Exception {\n\t\t\n\t}", "@Override\n\tpublic void postHandle(HttpServletRequest request,\n\t\t\tHttpServletResponse response, Object handler,\n\t\t\tModelAndView modelAndView) throws Exception {\n\t\t\n\t}", "@Override\n\tpublic void postHandle(HttpServletRequest request,\n\t\t\tHttpServletResponse response, Object handler,\n\t\t\tModelAndView modelAndView) throws Exception {\n\t}", "@Override\r\n\tpublic void postHandle(HttpServletRequest req, HttpServletResponse resp, Object handler, ModelAndView m)\r\n\t\t\tthrows Exception {\n\t\t\r\n\t}", "@Override\n public final void doPost() {\n try {\n checkPermissions(getRequest());\n final IItem jSonStreamAsItem = getJSonStreamAsItem();\n final IItem outputItem = api.runAdd(jSonStreamAsItem);\n\n output(JSonItemWriter.itemToJSON(outputItem));\n } catch (final APIException e) {\n e.setApi(apiName);\n e.setResource(resourceName);\n throw e;\n\n }\n }", "@Override\n\tvoid post() {\n\t\t\n\t}", "@Override\r\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException {\n\t\t\r\n\t}", "@Override\r\n\tpublic void postHandle(HttpServletRequest request, HttpServletResponse response, Object handler,\r\n\t\t\tModelAndView modelAndView) throws Exception {\n\t\tSystem.out.println(\"=========interCpetor Post=========\");\r\n\t}", "public void doPost(HttpServletRequest request, HttpServletResponse response)\n\t\t\tthrows ServletException, IOException {\n\t\tString method = request.getParameter(\"method\");\n\t\tswitch(method){\n\t\tcase \"Crawl\":\n\t\t\tcrawl(request, response);\n\t\t\tbreak;\n\t\tcase \"Extract\":\n\t\t\textract(request, response);\n\t\t\tbreak;\n\t\tcase \"JDBC\":\n\t\t\tjdbc(request, response);\n\t\t\tbreak;\n\t\tcase \"Indexer\":\n\t\t\tindexer(request, response);\n\t\t\tbreak;\n\t\t}\n\t}", "@Override\r\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n processRequest(request, response);\r\n System.out.println(\"teste dopost\");\r\n }", "protected void doPost(HttpServletRequest request,\r\n\t\t\tHttpServletResponse response)\r\n\t/* 43: */throws ServletException, IOException\r\n\t/* 44: */{\r\n\t\t/* 45:48 */doGet(request, response);\r\n\t\t/* 46: */}", "@Override\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\t\tprocess(req, resp);\n\t}", "@Override\r\n\tpublic void postHandle(HttpServletRequest request, HttpServletResponse response, Object handler,\r\n\t\t\tModelAndView modelAndView) throws Exception {\n\r\n\t}", "@Override\r\n\tpublic void postHandle(HttpServletRequest request, HttpServletResponse response, Object handler,\r\n\t\t\tModelAndView modelAndView) throws Exception {\n\r\n\t}", "@Override\r\n\tpublic void postHandle(HttpServletRequest request, HttpServletResponse response, Object handler,\r\n\t\t\tModelAndView modelAndView) throws Exception {\n\r\n\t}", "@Override\r\n\tpublic void postHandle(HttpServletRequest request, HttpServletResponse response, Object handler,\r\n\t\t\tModelAndView modelAndView) throws Exception {\n\r\n\t}", "@Override\r\n\tpublic void postHandle(HttpServletRequest request, HttpServletResponse response, Object handler,\r\n\t\t\tModelAndView modelAndView) throws Exception {\n\r\n\t}", "@Override\r\n\tpublic void postHandle(HttpServletRequest request, HttpServletResponse response, Object handler,\r\n\t\t\tModelAndView modelAndView) throws Exception {\n\r\n\t}", "@Override\r\n\tpublic void postHandle(HttpServletRequest request, HttpServletResponse response, Object handler,\r\n\t\t\tModelAndView modelAndView) throws Exception {\n\r\n\t}", "@Override\r\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n processRequest(request, response);\r\n }", "@Override\r\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\tprocess(req,resp);\r\n\t}", "public void handlePost(SessionSrvc session, IObjectContext context)\n throws Exception\n {\n }", "public void doPost(HttpServletRequest request, HttpServletResponse response) {\n\t\tdoGet(request, response);\n\t}", "public void doPost(HttpServletRequest request, HttpServletResponse response) {\n\t\tdoGet(request, response);\n\t}", "public void doPost(HttpServletRequest request, HttpServletResponse response) {\r\n\t\tdoGet(request, response);\r\n\t}", "@Override\r\n\tpublic void postHandle(HttpServletRequest request, HttpServletResponse response, Object handler,\r\n\t\t\tModelAndView modelAndView) throws Exception {\n\t}", "@Override\n protected void doPost\n (HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "@Override\r\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n try {\r\n processRequest(request, response);\r\n } catch (JSONException ex) {\r\n Logger.getLogger(PDCBukUpload.class.getName()).log(Level.SEVERE, null, ex);\r\n }\r\n }", "@Override\r\n protected void doPost(HttpServletRequest request,\r\n HttpServletResponse response)\r\n throws ServletException,\r\n IOException {\r\n processRequest(request,\r\n response);\r\n\r\n }", "@Override\r\n\tpublic void doPost(CustomHttpRequest request, CustomHttpResponse response) throws Exception {\n\t\tdoGet(request, response);\r\n\t}", "@Override\n\tpublic void postHandle(HttpServletRequest request, HttpServletResponse response,\n\t\t\tObject handler, ModelAndView modelAndView) throws Exception {\n\n\t}", "protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\tdoHandle(request, response);\n\t}", "private void postRequest() {\n\t\tSystem.out.println(\"post request, iam playing money\");\n\t}", "@Override\r\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n processRequest(request, response);\r\n }", "@Override\n public void postHandle(HttpServletRequest request,\n HttpServletResponse response, Object handler,\n ModelAndView modelAndView) throws Exception {\n\n }", "@Override\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n try {\n processRequest(request, response);\n } catch (Exception ex) {\n Logger.getLogger(PedidoController.class.getName()).log(Level.SEVERE, null, ex);\n }\n }" ]
[ "0.73289514", "0.71383566", "0.7116213", "0.7105215", "0.7100045", "0.70236707", "0.7016248", "0.6964149", "0.6889435", "0.6784954", "0.67733276", "0.67482096", "0.66677034", "0.6558593", "0.65582114", "0.6525548", "0.652552", "0.652552", "0.652552", "0.65229493", "0.6520197", "0.6515622", "0.6513045", "0.6512626", "0.6492367", "0.64817846", "0.6477479", "0.64725804", "0.6472099", "0.6469389", "0.6456206", "0.6452577", "0.6452577", "0.6452577", "0.6450273", "0.6450273", "0.6438126", "0.6437522", "0.64339423", "0.64253825", "0.6422238", "0.6420897", "0.6420897", "0.6420897", "0.6407662", "0.64041835", "0.64041835", "0.639631", "0.6395677", "0.6354875", "0.63334197", "0.6324263", "0.62959254", "0.6288832", "0.6288832", "0.6288832", "0.6288832", "0.6288832", "0.6288832", "0.6288832", "0.6288832", "0.6288832", "0.6288832", "0.6288832", "0.6280875", "0.6272104", "0.6272104", "0.62711537", "0.62616795", "0.62544584", "0.6251865", "0.62274224", "0.6214439", "0.62137586", "0.621211", "0.620854", "0.62023044", "0.61775357", "0.61775357", "0.61775357", "0.61775357", "0.61775357", "0.61775357", "0.61775357", "0.61638993", "0.61603814", "0.6148914", "0.61465937", "0.61465937", "0.614548", "0.6141879", "0.6136717", "0.61313903", "0.61300284", "0.6124381", "0.6118381", "0.6118128", "0.61063534", "0.60992104", "0.6098801", "0.6096766" ]
0.0
-1
Returns a short description of the servlet.
@Override public String getServletInfo() { return "Short description"; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getServletInfo()\n {\n return \"Short description\";\n }", "public String getServletInfo() {\n return \"Short description\";\n }", "public String getServletInfo() {\n return \"Short description\";\n }", "public String getServletInfo() {\n return \"Short description\";\n }", "public String getServletInfo() {\n return \"Short description\";\n }", "public String getServletInfo() {\n return \"Short description\";\n }", "public String getServletInfo() {\n return \"Short description\";\n }", "public String getServletInfo() {\n return \"Short description\";\n }", "public String getServletInfo() {\n return \"Short description\";\n }", "public String getServletInfo() {\n return \"Short description\";\n }", "public String getServletInfo() {\n return \"Short description\";\n }", "public String getServletInfo() {\r\n return \"Short description\";\r\n }", "public String getServletInfo() {\r\n return \"Short description\";\r\n }", "public String getServletInfo() {\r\n return \"Short description\";\r\n }", "public String getServletInfo() {\r\n return \"Short description\";\r\n }", "public String getServletInfo() {\r\n return \"Short description\";\r\n }", "public String getServletInfo() {\r\n return \"Short description\";\r\n }", "@Override\r\n public String getServletInfo() {\r\n return \"Short description\";\r\n }", "@Override\r\n public String getServletInfo() {\r\n return \"Short description\";\r\n }", "@Override\n public String getServletInfo() {\n return \"Short description\";\n }", "@Override\n public String getServletInfo() {\n return \"Short description\";\n }", "@Override\n public String getServletInfo() {\n return \"Short description\";\n }", "@Override\n\tpublic String getServletInfo() {\n\t\treturn \"Short description\";\n\t}", "@Override\n\tpublic String getServletInfo() {\n\t\treturn \"Short description\";\n\t}", "@Override\n\tpublic String getServletInfo() {\n\t\treturn \"Short description\";\n\t}", "@Override\n\tpublic String getServletInfo() {\n\t\treturn \"Short description\";\n\t}", "@Override\n\tpublic String getServletInfo() {\n\t\treturn \"Short description\";\n\t}", "@Override\n\tpublic String getServletInfo() {\n\t\treturn \"Short description\";\n\t}", "@Override\r\n public String getServletInfo()\r\n {\r\n return \"Short description\";\r\n }", "@Override\n public String getServletInfo()\n {\n return \"Short description\";\n }", "@Override\r\n\tpublic String getServletInfo() {\r\n\t\treturn \"Short description\";\r\n\t}", "@Override\r\n public String getServletInfo()\r\n {\r\n return \"Short description\";\r\n }", "@Override\n public String getServletInfo() {\n return \"Short description\";\n }" ]
[ "0.87634975", "0.8732279", "0.8732279", "0.8732279", "0.8732279", "0.8732279", "0.8732279", "0.8732279", "0.8732279", "0.8732279", "0.8732279", "0.8699131", "0.8699131", "0.8699131", "0.8699131", "0.8699131", "0.8699131", "0.8531295", "0.8531295", "0.85282224", "0.85282224", "0.85282224", "0.8527433", "0.8527433", "0.8527433", "0.8527433", "0.8527433", "0.8527433", "0.8516995", "0.8512296", "0.8511239", "0.8510324", "0.84964365" ]
0.0
-1
TODO Autogenerated method stub
@Override public void handleMessage(Message msg) { super.handleMessage(msg); switch (msg.what) { case 0: tv_info.setText(getString(R.string.idcard_xm) + info.getName() + "\n" + getString(R.string.idcard_xb) + info.getSex() + "\n" + getString(R.string.idcard_mz) + info.getNation() + "\n" + getString(R.string.idcard_csrq) + info.getBorn() + "\n" + getString(R.string.idcard_dz) + info.getAddress() + "\n" + getString(R.string.idcard_sfhm) + info.getNo() + "\n" + getString(R.string.idcard_qzjg) + info.getApartment() + "\n" + getString(R.string.idcard_yxqx) + info.getPeriod() + "\n" + getString(R.string.idcard_zwxx) + fringerprintData + "\n" + "读卡时间:" + (finishTime - startTime)); try { Bitmap bmp = UsbIdCard.decodeIdCardImage(image); img_head_picture.setImageBitmap(bmp); } catch (TelpoException e) { // TODO Auto-generated catch block e.printStackTrace(); } playSound(1); // findloop = true; break; case 1: tv_info.setText("读卡失败!"); // playSound(5); break; default: break; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.6080161", "0.6077022", "0.6041561", "0.6024072", "0.6020252", "0.59984857", "0.59672105", "0.59672105", "0.5965777", "0.59485507", "0.5940904", "0.59239364", "0.5910017", "0.5902906", "0.58946234", "0.5886006", "0.58839184", "0.58691067", "0.5857751", "0.58503544", "0.5847024", "0.58239377", "0.5810564", "0.5810089", "0.5806823", "0.5806823", "0.5800025", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5790187", "0.5789414", "0.5787092", "0.57844025", "0.57844025", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5761362", "0.57596046", "0.57596046", "0.575025", "0.575025", "0.575025", "0.5747959", "0.57337177", "0.57337177", "0.57337177", "0.5721452", "0.5715831", "0.57142824", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.5711723", "0.57041645", "0.56991017", "0.5696783", "0.56881124", "0.56774884", "0.56734604", "0.56728", "0.56696945", "0.5661323", "0.5657007", "0.5655942", "0.5655942", "0.5655942", "0.56549734", "0.5654792", "0.5652974", "0.5650185" ]
0.0
-1
TODO Autogenerated method stub
@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_idcard); initData(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.6080161", "0.6077022", "0.6041561", "0.6024072", "0.6020252", "0.59984857", "0.59672105", "0.59672105", "0.5965777", "0.59485507", "0.5940904", "0.59239364", "0.5910017", "0.5902906", "0.58946234", "0.5886006", "0.58839184", "0.58691067", "0.5857751", "0.58503544", "0.5847024", "0.58239377", "0.5810564", "0.5810089", "0.5806823", "0.5806823", "0.5800025", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5790187", "0.5789414", "0.5787092", "0.57844025", "0.57844025", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5761362", "0.57596046", "0.57596046", "0.575025", "0.575025", "0.575025", "0.5747959", "0.57337177", "0.57337177", "0.57337177", "0.5721452", "0.5715831", "0.57142824", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.5711723", "0.57041645", "0.56991017", "0.5696783", "0.56881124", "0.56774884", "0.56734604", "0.56728", "0.56696945", "0.5661323", "0.5657007", "0.5655942", "0.5655942", "0.5655942", "0.56549734", "0.5654792", "0.5652974", "0.5650185" ]
0.0
-1
TODO Autogenerated method stub
@Override protected void onResume() { super.onResume(); initView(); if (mThread != null && mThread.isAlive()) { btn_read_idcard_loop.setEnabled(false); btn_read_idcard.setEnabled(false); btn_stop_read_loop.setEnabled(true); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.6080161", "0.6077022", "0.6041561", "0.6024072", "0.6020252", "0.59984857", "0.59672105", "0.59672105", "0.5965777", "0.59485507", "0.5940904", "0.59239364", "0.5910017", "0.5902906", "0.58946234", "0.5886006", "0.58839184", "0.58691067", "0.5857751", "0.58503544", "0.5847024", "0.58239377", "0.5810564", "0.5810089", "0.5806823", "0.5806823", "0.5800025", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5790187", "0.5789414", "0.5787092", "0.57844025", "0.57844025", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5761362", "0.57596046", "0.57596046", "0.575025", "0.575025", "0.575025", "0.5747959", "0.57337177", "0.57337177", "0.57337177", "0.5721452", "0.5715831", "0.57142824", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.5711723", "0.57041645", "0.56991017", "0.5696783", "0.56881124", "0.56774884", "0.56734604", "0.56728", "0.56696945", "0.5661323", "0.5657007", "0.5655942", "0.5655942", "0.5655942", "0.56549734", "0.5654792", "0.5652974", "0.5650185" ]
0.0
-1
TODO Autogenerated method stub
@Override protected void onPause() { super.onPause(); // setPowerOff(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.6080161", "0.6077022", "0.6041561", "0.6024072", "0.6020252", "0.59984857", "0.59672105", "0.59672105", "0.5965777", "0.59485507", "0.5940904", "0.59239364", "0.5910017", "0.5902906", "0.58946234", "0.5886006", "0.58839184", "0.58691067", "0.5857751", "0.58503544", "0.5847024", "0.58239377", "0.5810564", "0.5810089", "0.5806823", "0.5806823", "0.5800025", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5790187", "0.5789414", "0.5787092", "0.57844025", "0.57844025", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5761362", "0.57596046", "0.57596046", "0.575025", "0.575025", "0.575025", "0.5747959", "0.57337177", "0.57337177", "0.57337177", "0.5721452", "0.5715831", "0.57142824", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.5711723", "0.57041645", "0.56991017", "0.5696783", "0.56881124", "0.56774884", "0.56734604", "0.56728", "0.56696945", "0.5661323", "0.5657007", "0.5655942", "0.5655942", "0.5655942", "0.56549734", "0.5654792", "0.5652974", "0.5650185" ]
0.0
-1
TODO Autogenerated method stub
@Override protected void onDestroy() { super.onDestroy(); PosUtil.setIdCardPower(PosUtil.IDCARD_POWER_OFF);// 身份证上电 }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.6080161", "0.6077022", "0.6041561", "0.6024072", "0.6020252", "0.59984857", "0.59672105", "0.59672105", "0.5965777", "0.59485507", "0.5940904", "0.59239364", "0.5910017", "0.5902906", "0.58946234", "0.5886006", "0.58839184", "0.58691067", "0.5857751", "0.58503544", "0.5847024", "0.58239377", "0.5810564", "0.5810089", "0.5806823", "0.5806823", "0.5800025", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5790187", "0.5789414", "0.5787092", "0.57844025", "0.57844025", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5761362", "0.57596046", "0.57596046", "0.575025", "0.575025", "0.575025", "0.5747959", "0.57337177", "0.57337177", "0.57337177", "0.5721452", "0.5715831", "0.57142824", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.5711723", "0.57041645", "0.56991017", "0.5696783", "0.56881124", "0.56774884", "0.56734604", "0.56728", "0.56696945", "0.5661323", "0.5657007", "0.5655942", "0.5655942", "0.5655942", "0.56549734", "0.5654792", "0.5652974", "0.5650185" ]
0.0
-1
takes input from email form
@RequestMapping(value ="/sendEmail",method = RequestMethod.GET) public String doSendEmail(HttpServletRequest request) { String recipientAddress = "[email protected]"; String subject = "sujet"; String message = "salut"; // creates a simple e-mail object SimpleMailMessage email = new SimpleMailMessage(); email.setTo(recipientAddress); email.setSubject(subject); email.setText(message); // sends the e-mail mailSender.send(email); // forwards to the view named "Result" return "Result"; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private String getEmail(){\n System.out.println(\"Enter The Email Address\");\n return sc.next();\n }", "public void inputToEmailTextbox(String email) {\n\t\twaitToElementVisible(driver,RegisterPageUI.EMAIL_TEXTBOX);\n\t\tsendkeyToElement(driver, RegisterPageUI.EMAIL_TEXTBOX, email);\n\t}", "private void getTextFromInput() {\n firstName = firstNameField.getText();\n lastName = lastNameField.getText();\n age = ageField.getText();\n email = emailField.getText().toLowerCase();\n }", "public static String inputEmail(String s) {\n while (true) {\n System.out.print(s);\n String string = in.nextLine().trim();\n string = string.replace(\"\\\\s+\", \" \");\n Pattern p = Pattern.compile(\"^[a-z0-9A-Z]+@[a-zA-Z]+(\\\\.[a-zA-Z]+){1,3}+$\");\n if (!string.isEmpty()) { // not empty ~> finish\n if (p.matcher(string).find()) {\n return string;\n } else {\n System.err.println(\"Email must in format \"\n + \"Local-Part(name(.name2)@Domain(domain.something(.domain2.domain3))(max 3 '.'), enter again!\");\n }\n } else { // empty string ~> display error & re-enter\n System.err.println(\"Email can not empty, enter again!\");\n }\n }\n }", "@Step\r\n\tpublic void enterEmail(String email) {\r\n\t\tLOGGER.info(\"Entering email: \" + email);\r\n\t\temailInput.type(email);\r\n\t}", "private String extractEMailAddress() {\n return SwingUtil.extract(emailJTextField, Boolean.TRUE);\n }", "public void emailFieldTest() {\r\n\t\tif(Step.Wait.forElementVisible(QuoteForm_ComponentObject.emailFieldLocator, \"Email input field\", 5)) {\r\n\t\t\tStep.Action.typeText(QuoteForm_ComponentObject.emailFieldLocator, \"Email input field\", \"[email protected]\");\r\n\t\t}\r\n\t}", "public void enterEmailInAboutMe(String email) throws UIAutomationException{\r\n\t\r\n\t\telementController.requireElementSmart(fileName,\"Email Text Field In About Me\",GlobalVariables.configuration.getAttrSearchList(), \"Email Address\");\r\n\t\tUIActions.click(fileName,\"Email Text Field In About Me\",GlobalVariables.configuration.getAttrSearchList(), \"Email Address\");\r\n\t\tUIActions.clearTextBox(fileName,\"Email Text Field In About Me\",GlobalVariables.configuration.getAttrSearchList(), \"Email Address\");\r\n\t\tUIActions.enterValueInTextBox(email,fileName,\"Email Text Field In About Me\",GlobalVariables.configuration.getAttrSearchList(), \"Email Address\");\r\n\t\tUIActions.enterKey(Keys.TAB);\r\n\t\r\n\t}", "private String getPlayerMail() {\n EditText mail = (EditText) findViewById(R.id.mail_edittext_view);\n return mail.getText().toString();\n }", "public void enterEmail(String umail) {\n driver.findElement(Email).sendKeys(umail);\n }", "@When(\"I enter a valid email {string}\")\n public void i_enter_a_valid_email(String em) {\n BasePage.driverUtils.waitForPresenceOFElementLocatedBy(By.id(\"FriendEmail\"));\n BasePage.productEmailAfirendPage.getFriendEmailTextBox().sendKeys(em);\n }", "public void inputRandomEmailToTextbox() {\r\n\t\twaitElementVisible(driver, RegisterForm.EMAIL_TEXTBOX);\r\n\t\tString emailAddress = \"auto06\" + getTodayString(\"ddMMyyHHmmss\")+\"@lv.com\";\r\n\t\tsendKeyElement(driver,RegisterForm.EMAIL_TEXTBOX, emailAddress);\r\n\t}", "String getPlayerMail() {\r\n EditText editText = (EditText) findViewById(R.id.mail_edit_text_view);\r\n return editText.getText().toString();\r\n }", "private void sendEmail() {\n String email = emailInput.getText().toString();\n String title = titleInput.getText().toString();\n String message = messageInput.getText().toString();\n\n if(email.isEmpty() ||title.isEmpty() ||message.isEmpty()){\n Toast.makeText(this, R.string.field_not_empty, Toast.LENGTH_SHORT).show();\n return;\n }\n\n if(!checkEmailPattern(email)){\n Toast.makeText(this,R.string.invalid_email,Toast.LENGTH_SHORT).show();\n return;\n }\n\n\n Intent emailIntent = new Intent(Intent.ACTION_SEND);\n\n emailIntent.putExtra(Intent.EXTRA_EMAIL, new String[]{email});\n emailIntent.putExtra(Intent.EXTRA_CC, new String[]{CC_CUPIC, CC_BAOTIC});\n emailIntent.putExtra(Intent.EXTRA_SUBJECT, title);\n emailIntent.putExtra(Intent.EXTRA_TEXT, message);\n\n emailIntent.setType(\"message/rfc822\");\n\n try{\n startActivity(Intent.createChooser(emailIntent,\"\"));\n finish();\n }catch(ActivityNotFoundException ex){\n Toast.makeText(this,R.string.cant_send,Toast.LENGTH_SHORT).show();\n }\n }", "public JTextField getTxtEmail() {\n return this.txtEmail;\n }", "@Override\n public void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException {\n String emailValue = request.getParameter(\"email-input\");\n String textValue = request.getParameter(\"text-input\");\n\n // Print the value so you can see it in the server logs.\n System.out.println(\"You submitted : \" + textValue + \"\\n By : \" + emailValue);\n\n // Create instance of DataStore\n Datastore datastore = DatastoreOptions.getDefaultInstance().getService();\n // Create a key with a \"kind\"\n KeyFactory keyFactory = datastore.newKeyFactory().setKind(\"Email\");\n FullEntity emailEntity = Entity.newBuilder(keyFactory.newKey()).set(\"Email\", emailValue)\n .set(\"Message\", textValue).build();\n\n datastore.put(emailEntity);\n\n // Write the value to the response so the user can see it.\n response.sendRedirect(\"/\");\n }", "private void jbuttonAddGuestActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbuttonAddGuestActionPerformed\n String fnGuest = JTextFirstNameGuest.getText().toLowerCase();\n String lnGuest = JTextLastNameGuest.getText().toLowerCase();\n String emGuest = JTextEmailGuest.getText().toLowerCase(); //??\n boolean succes = false;\n int phoneNr = 0;\n \n try{\n phoneNr = Integer.parseInt(JTextPhoneGuest.getText());\n }\n catch(java.lang.NullPointerException ex){\n jLabelAddGuestStatus.setText(\"Missing phone number\");\n }\n if(fnGuest.isEmpty()){\n jLabelAddGuestStatus.setText(\"Missing Firstname\");\n }\n if(lnGuest.isEmpty()){\n jLabelAddGuestStatus.setText(\"Missing Lastname\");\n }\n if(emGuest.isEmpty()){\n jLabelAddGuestStatus.setText(\"Missing Email\");\n }\n \n if(!fnGuest.isEmpty() && !lnGuest.isEmpty() && phoneNr != 0 ){\n try{ \n succes = conIf.addGuestEmail(fnGuest, lnGuest, phoneNr, emGuest); //emguest? \n }catch(Exception ex){\n succes = false;\n }\n }\n if(succes == true){\n JTextFirstNameGuest.setText(\"\");\n JTextLastNameGuest.setText(\"\");\n JTextPhoneGuest.setText(\"\");\n JTextEmailGuest.setText(\"\");\n \n int reply = JOptionPane.showConfirmDialog(\n fr1,\n \"Would you like to add another guest?\",\n \"Guest added successfully\",\n JOptionPane.YES_NO_OPTION);\n \n if(reply == JOptionPane.NO_OPTION){\n fr1.setVisible(true);\n this.setVisible(false);\n }\n \n \n \n }else{\n jLabelAddGuestStatus.setText(\"guest not added\");\n }\n }", "public void enterRandomEmailId() {\n String email = \"test\" + Utility.getRandomString(3) + \"@gmail.com\";\n Reporter.addStepLog(\"Enter email \" + email + \" to email field \" + _emailField.toString());\n sendTextToElement(_emailField, email);\n log.info(\"Enter email \" + email + \" to email field \" + _emailField.toString());\n }", "public String checkEmail(String roomInput) {\n\t\tString emailInput = \"\";\n\t\ttry {\n\t\t\tdo {\n\t\t\t\tUIManager.put(\"OptionPane.informationIcon\", emailIcon);\n\t\t\t\temailInput = (String) JOptionPane.showInputDialog(null, TextResources.enterEmail, \"Email\",\n\t\t\t\t\t\tJOptionPane.INFORMATION_MESSAGE, emailIcon, null, \"\");\n\t\t\t\tif (emailInput == null) {\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t} while (emailInput.equals(\"\") || !emailInput.equals(getUserEmail(roomInput)));\n\t\t\t\n\t\t} catch (NumberFormatException ex) {\n\t\t\tJOptionPane.showMessageDialog(null, TextResources.wrongInput);\n\t\t\treturn null;\n\t\t}\n\t\treturn emailInput;\n\t}", "@WebElementLocator(webDesktop = \"//input[@type='email']\",webPhone = \"//input[@type='email']\")\n private static WebElement emailField() {\n return getDriver().findElement(By.xpath(new WebElementLocatorFactory().getLocator(LoginPage.class, \"emailField\")));\n }", "public String printNewEmailPrompt() {\n return \"Please enter new email: \";\n }", "public void enterEmail(String email)\n\t{\n\t\tdriver.findElement(_emailTextField).sendKeys(email);\n\t\tlog.info(\"Entered New Email\");\n\t}", "public JoinNowPage enterEmailID() {\n\t\temail.sendKeys(\"[email protected]\");\n\t\treturn this;\n\t}", "public static void main(String[] args) {\n\t\tString email = JOptionPane.showInputDialog(\"Email\");\n\t\tSystem.out.println(\"Original: \" + email);\n\t\tSystem.out.println(\"Minuscula: \" + email.toLowerCase());\n\t\tSystem.out.println(\"Maiuscula: \" + email.toUpperCase());\n\t\tSystem.out.println(\"Posição do @: \" + email.indexOf(\"@\"));\n\t\tSystem.out.println(\"Existe @: \" + email.contains(\"@\"));\n\t\tSystem.out.println(\"Qtde caracteres : \" + email.length());\n\t\tSystem.out.println(\"Parte da string 3 ao 6 iniciando no 0: \" + email.substring(3,6));\n\t\tSystem.out.println(\"Exclui o primeiro caracter : \" + email.substring(1));\n\t\tSystem.out.println(\"Usuario: \" + email.substring(0,email.indexOf(\"@\")));\n\t\tSystem.out.println(\"Servidor + o @: \" + email.substring(email.indexOf(\"@\")+1));\n\t\t\n\t\tSystem.out.println(\"Servidor sem o @: \" + email.substring(email.indexOf(\"@\")+1,email.indexOf(\".com\")));\n\t\t\n\t\tSystem.out.println(\"Primeira metade: \" + email.substring(0,email.length()/2)); // nesse caso só funciona se for par a quantidade de caracter\n\t\t\n\t\tSystem.out.println(\"Comparação case sensitive: \" + email.equals(\"[email protected]\"));\n\t\t\n\t\tSystem.out.println(\"Comparação case sensitive: \" + email.equalsIgnoreCase(\"[email protected]\"));\n\t\t\n\t}", "public void emailResult(View view) {\n // Getting username only\n Intent myIntent = getIntent();\n String nameOfUser = myIntent.getStringExtra(\"EditTextValue\");\n\n String result = \"Name: \" + nameOfUser;\n result += \"\\nMy score: \" + score;\n\n // Create a new intent to send information to any mailing app\n Intent myResult = new Intent(Intent.ACTION_SENDTO);\n myResult.setData(Uri.parse(\"mailto:\"));\n myResult.putExtra(Intent.EXTRA_SUBJECT, \"Quiz result for \" + nameOfUser);\n myResult.putExtra(Intent.EXTRA_TEXT, result);\n if (myResult.resolveActivity(getPackageManager()) != null) {\n startActivity(myResult);\n }\n }", "private void emailLFEActionPerformed(java.awt.event.ActionEvent evt) {\n }", "@Override\r\n\tpublic void actionPerformed(ActionEvent e) {\n\t\tif(EmailSender.fr.getText().equals(\"\"))\r\n\t\t{\r\n\t\t\tJOptionPane.showMessageDialog(EmailSender.ES,\"Please Enter A Valid Email Address To Send From!\");\r\n\t\t\treturn;\r\n\t\t}\r\n\t\t\r\n\t\tif(EmailSender.t.getText().equals(\"\"))\r\n\t\t{\r\n\t\t\tJOptionPane.showMessageDialog(EmailSender.ES, \"Please Enter A Valid Email Address To Send To!\");\r\n\t\t\treturn;\r\n\t\t}\r\n\t\t\r\n\t\tif(EmailSender.subj.getText().contentEquals(\"\"))\r\n\t\t{\r\n\t\t\tint b = JOptionPane.showConfirmDialog(EmailSender.ES, \"Are you sure you want to send this without a subject?\");\r\n\t\t\t\r\n\t\t\tif(b==0)\r\n\t\t\t\tJOptionPane.showMessageDialog(EmailSender.ES, \"Email Sent\");\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t\tint a = JOptionPane.showConfirmDialog(EmailSender.ES, \"Are you sure you want to send?\");\r\n\t\tif(a==0)// If yes button is pressed a is 0\r\n\t\tJOptionPane.showMessageDialog(EmailSender.ES, \"Email Sent\");\r\n\t\t\r\n\t\t\r\n\t}", "java.lang.String getEmail();", "java.lang.String getEmail();", "java.lang.String getEmail();", "java.lang.String getEmail();", "java.lang.String getEmail();", "java.lang.String getEmail();", "public void email() {\n\t\t\t\temailGUI = new EmailGUI();\n\t\t\t\tpopUpWindow = emailGUI.getFrame();\n\t\t\t\tpopUpWindow.setVisible(true);\n\t\t\t\temailGUI.setListeners(new mailListener());\n\t\t\t}", "public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n System.out.println(\"enter your first name, last name, company seperated by space\");\n String firstName, lastName, company, email;\n firstName = scan.next(); //(\"Dilmurod\");\n lastName = scan.next(); //(\"Yakubov\");\n company = scan.next();//(\"Verizon\");\n email = (firstName+\"_\"+lastName+\"@\"+company+\".com\");\n System.out.println(\"My name is \"+lastName+\", \"+firstName+\" and I work for \"+ company+\" and my email is: \"\n + email);\n\n\n\n }", "public void input_details_log()\r\n {\r\n System.out.print(\"\\n Enter your email id: \");\r\n Email=sc.nextLine();\r\n\r\n System.out.print(\" Enter your password: \");\r\n check_passwrd=sc.nextLine();\r\n }", "public void SaveEmailAddress(View view) {\r\n\t\tEditText edit = (EditText)findViewById(R.id.EmailText);\r\n\t\tString email = edit.getText().toString();\t\t\r\n\t\tToast.makeText(this, email, Toast.LENGTH_LONG).show();\r\n\t}", "public abstract void arhivare(Email email);", "@Override\r\n\t\t\tpublic void afterTextChanged(Editable edit) {\n\t\t\t\temail = edit.toString();\r\n\t\t\t}", "@Override\r\n\tpublic void actionPerformed(ActionEvent arg0) {\n\t\tif(localType == EMAIL_FIELD){\r\n\t\t\tif(!field.getText().contains(\"@\")){\r\n\t\t\t\tif(localFrame != null){\r\n\t\t\t\t\tlocalFrame.getMyPhoneMeStatusBar().setStatus\r\n\t\t\t\t\t(\"email不符合格式,至少包含@\");\r\n\t\t\t\t}\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t}\r\n\t\tif(field.getState() == PhoneMeField.ADD_STATE){\r\n\t\t\tif(field.getText().length() != 0){\r\n\t\t\t\tmanageBox.addItem(field.getText());\r\n\t\t\t\tmanageBox.setSelectedIndex(manageBox.getItemCount()-1);\r\n\t\t\t}\r\n\t\t\tfield.setVisible(false);\r\n\t\t\tfield.setText(\"\");\r\n\t\t}\r\n\t\tif(field.getState() == PhoneMeField.EDIT_STATE){\r\n\t\t\tif(field.getText().length() != 0){\r\n\t\t\t\tmanageBox.setEditable(true);\r\n\t\t\t\tint index = manageBox.getSelectedIndex();\r\n\t\t\t\tmanageBox.removeItem(manageBox.getSelectedItem());\r\n\t\t\t\tmanageBox.insertItemAt(field.getText(), index);\r\n\t\t\t\tmanageBox.setSelectedIndex(index);\r\n\t\t\t//manageBox.addItem(field.getText());\r\n\t\t\t//(String)manageBox.getSelectedItem()\r\n\t\t\t//manageBox.setSelectedItem(field.getText());\r\n\t\t\t//manageBox.updateUI();\r\n\t\t\t\tmanageBox.setEditable(false);\r\n\t\t\t}\r\n\t\t\tfield.setVisible(false);\r\n\t\t\tfield.setText(\"\");\r\n\t\t}\r\n\t}", "public void enterEmail() throws IOException {\n\t\tLoginSignupCompanyPage sp = new LoginSignupCompanyPage(driver);\n\t\tlog.info(\"Verifying the Email is available or not\");\n\t\tAssert.assertTrue(enterEmail.isDisplayed());\n\t\tenterEmail.sendKeys(BasePage.getCellData(xlsxName, sheetName, 10, 0));\n\n\t}", "public void processMail(JTextArea message) \n {\n try \n {\n \t// if the to-field is blank display a pop-up warning\n \t\t\tif(toField.getText().equals(\"\")){\n \t\t\t\tJOptionPane.showMessageDialog (null, \"Please provide an email address.\");\n \t\t\t\ttoField.requestFocusInWindow();\n \t\t\t}\n \t\t\telse {\n\t \tFile fileName = new File(\"outbox.txt\");\n\t \t// by setting the file writer boolean to \"true\" append is turned on\n\t\t FileWriter outStream = new FileWriter (fileName, true);\n\t\t outStream.append (\"To: \" + toField.getText() + \"\\nCc: \" + ccField.getText() +\n\t\t \t\t\t\t \"\\nBcc: \" + bccField.getText() + \"\\nSubject: \" + subjectField.getText() +\n\t\t \t\t\t\t \"\\nFrom: \" + fromField.getSelectedItem() + \"\\nMessage: \" + message.getText() +\"\\n\\n\");\n\t\t outStream.close ();\n\t\t JOptionPane.showMessageDialog (null, \"Your email has been sent!\");\n\t\t // after mail has been sent, clear all fields\n\t\t toField.setText(null);\n\t\t ccField.setText(null);\n\t\t bccField.setText(null);\n\t\t subjectField.setText(null);\n\t \tmessage.setText(null);\n\t \t// reset focus to first field\n\t \ttoField.requestFocusInWindow();\n\t }\n } \n catch (IOException e) \n {\n message.setText(\"IOERROR: \" + e.getMessage() + \"\\n\");\n e.printStackTrace();\n }\n }", "public void enterAgentEmailAddressInYopmail(String aEmail) throws Exception {\n\t\twdriver.findElement(By.id(\"login\")).click();\n\t\twdriver.findElement(By.id(\"login\")).clear();\n\t\twdriver.findElement(By.id(\"login\")).sendKeys(aEmail);\n\t\twdriver.findElement(By.cssSelector(\"input.sbut\")).click();\n\n\t}", "private void emailExistCheck() {\n usernameFromEmail(email.getText().toString());\n }", "@Override\n public void onClick(View view) {\n final String emailSubject = mEmailSubjectEditText.getText().toString().trim();\n final String emailBody = mEmailBodyEditText.getText().toString().trim();\n\n // Clear errors\n mEmailSubjectTextInputLayout.setError(null);\n mEmailBodyTextInputLayout.setError(null);\n\n // Check user input\n if (TextUtils.isEmpty(emailSubject)) {\n mEmailSubjectTextInputLayout.setError(getString(R.string.email_subject_required_error));\n mEmailSubjectEditText.requestFocus();\n } else if (TextUtils.isEmpty(emailBody)) {\n mEmailBodyTextInputLayout.setError(getString(R.string.email_body_required_error));\n mEmailBodyEditText.requestFocus();\n } else {\n mProgressBar.setVisibility(View.VISIBLE);\n\n Intent intent = new Intent(Intent.ACTION_SEND);\n intent.setType(\"message/rfc822\");\n intent.putExtra(Intent.EXTRA_EMAIL, new String[]{mGovSystem.getEmail()}); // TODO\n intent.putExtra(Intent.EXTRA_SUBJECT, emailSubject);\n intent.putExtra(Intent.EXTRA_TEXT, emailBody);\n try {\n startActivityForResult(Intent.createChooser(intent, getString(R.string.sending_email)), GOV_SYSTEM_REQUEST);\n } catch (android.content.ActivityNotFoundException ex) {\n Toast.makeText(getApplicationContext(), getString(R.string.email_client_error), Toast.LENGTH_SHORT).show();\n }\n }\n }", "public void setEmailCom(String emailCom);", "private void displayEmailFields() {\n FieldRelatedLabel emailLabel = new FieldRelatedLabel(\"Email\", 750, 270);\n\n invalidEmailLabel = new InvalidFormEntryLabel(\"Email must follow the format:\\[email protected]\", 910, 290, false);\n\n emailTF = new TextField();\n emailTF.relocate(750, 300);\n emailTF.textProperty().addListener(e->{FormValidatorPokeMongo.handleEmail(emailTF, invalidEmailLabel); });\n\n sceneNodes.getChildren().addAll(emailLabel, invalidEmailLabel, emailTF);\n }", "@Override\n public void onClick(View view) {\n inputUsername = usernameInput.getText().toString().trim();\n inputPassword = passwordInput.getText().toString();\n\n if(!inputUsername.contains(\"@gmail.com\")){\n inputUsername = inputUsername.concat(\"@gmail.com\");\n //Toast.makeText(MainActivity.this, \"Email: \" + inputUsername, Toast.LENGTH_SHORT).show();\n }\n\n //Toast.makeText(MainActivity.this, \"Email: \" + inputUsername, Toast.LENGTH_SHORT).show();\n checkEmail(inputUsername);\n }", "private void TFAddAltEmailFocusLost(java.awt.event.FocusEvent evt) {\n if (isEmail(TFAddAltEmail.getText())) {\n //no hace nada porque esta bien\n }else{\n JOptionPane.showMessageDialog(null,\"Email Incorrecto\",\"Validar email\", JOptionPane.INFORMATION_MESSAGE);\n TFAddAltEmail.requestFocus();\n }\n }", "public static String validateMailInput(Context context, TextInputEditText editText) {\n // store input\n String rawMail = editText.getText().toString().trim();\n\n if (TextUtils.isEmpty(rawMail)) {\n editText.setError(context.getResources().getString(R.string.editor_edt_empty_input));\n return null;\n }\n\n if (!android.util.Patterns.EMAIL_ADDRESS.matcher(rawMail).matches()) {\n editText.setError(context.getResources().getString(R.string.editor_edt_invalid_input));\n return null;\n }\n\n return rawMail;\n }", "public static WebElement txtbx_PAEnhancedEntrance_EnterBusinessEmail() throws Exception{\r\n \ttry{\r\n \t\telement = driver.findElement(By.id(\"paLiteTxt\"));\r\n \t\tAdd_Log.info(\"User is enter text for Business Email field.\");\r\n \t\t\r\n \t}catch(Exception e){\r\n \t\tAdd_Log.error(\"PA Enhanced Entrance Business Email field is NOT found on the page.\");\r\n \t\tthrow(e);\r\n \t}\r\n \treturn element;\r\n }", "void send(Email email);", "@Override\n public void validaEmailInteractor(CharSequence charSequence) {\n verificaEmail(charToString(charSequence));\n }", "java.lang.String getUserEmail();", "public String getInput()\t\n\t{\t//start of getInput method\n\t\treturn inputMsg;\n\t}", "private boolean comprobar_email() {\n\t\tString mail = email.getText().toString();\n\n\t\tif (mail.matches(\".*@.*\\\\.upv.es\")) {\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "String getEmail();", "String getEmail();", "String getEmail();", "String getEmail();", "String getEmail();", "void send(String emailName);", "@Step\n public WrikeResendPage startFreeForTodayWithEmail(WrikeMainPage mainPage, String email) {\n mainPage.click(WrikeMainPage.getStartedForFreeBtn);\n // Fill email form\n mainPage.writeText(WrikeMainPage.newEmailModalText, email);\n // Click submit\n mainPage.click(WrikeMainPage.newEmailSubmitModalBtn);\n // Wait for resend page to load\n return new WrikeResendPage(webDriver);\n\n }", "public void openGmail (View view) {\n TextView textView = (TextView) findViewById(R.id.emailContent);\n String emailContent = textView.getText().toString();\n Log.i(TAG, \"emailContent: \" + emailContent);\n\n /**\n * code was adapted from the information here:\n * https://javadevnotes.com/java-string-split-newline-examples\n */\n /*takes the above string object, splits it into parts seperated by\n * line breaks and puts it into an array\n */\n String[] content = emailContent.split(\"\\\\r?\\\\n\");\n\n // created string objects out of the array for each part of the email\n String emailAddress = content[0];\n String emailSubject = content[1];\n String emailBody = content [2];\n\n /***\n * following code was adapted from here:\n * https://www.javatpoint.com/how-to-send-email-in-android-using-intent\n */\n //opens an email client of users choice and prepopulates with data sent back to mainactivity\n Intent email = new Intent(Intent.ACTION_SEND);\n email.putExtra(Intent.EXTRA_EMAIL, new String[]{emailAddress});\n email.putExtra(Intent.EXTRA_SUBJECT, emailSubject);\n email.putExtra(Intent.EXTRA_TEXT, emailBody);\n\n //need this to prompts email client only\n email.setType(\"message/rfc822\");\n startActivity(Intent.createChooser(email, \"Choose an Email client :\"));\n\n }", "void send(String emailName, Map model, EmailPreparator emailPreparator);", "@Override\n protected void onActivityResult(int requestCode, int resultCode, Intent data) {\n super.onActivityResult(requestCode, resultCode, data);\n Log.i(TAG, \"result back from explicit intent activity\");\n // Check that it is OpenExplicitIntent with an ok result\n if(requestCode == EMAIL_ACTIVITY_RESULT_CODE) {\n if(resultCode == RESULT_OK) {\n\n // Get string data from the intent\n String returnContent = data.getStringExtra(\"keyName\");\n\n //input the email content into the textview at bottom of screen\n TextView textView = (TextView) findViewById(R.id.emailContent);\n textView.setText(returnContent);\n Button sendButton = (Button) findViewById(R.id.button);\n sendButton.setEnabled(true);\n }\n }\n }", "public void setEmail(String email) { this.email = email; }", "public EditAccountPage fillEmailField(String e_mail){\n cleanElement(emailElement);\n setElementText(emailElement, e_mail);\n return this;\n }", "public void setEmail(String email){\r\n this.email = email;\r\n }", "public void enterRgstrEmailAddress(String Email) {\n\t\trgstrEmailAddressIntbx.sendKeys(Email);\n\t\tExtentTestManager.getTest().log(LogStatus.INFO, \"Enter emailaddress as: \" +Email);\n\t}", "public void setEmail(Email email) { this.email = email; }", "void validate(String email);", "public void onClick(View arg0) {\n\t\t\t\tString emailAddress = \"[email protected]\";\r\n\t\t\t\tString emailSubject = edittextEmailSubject.getText().toString();\r\n\t\t\t\tString emailText = edittextEmailText.getText().toString();\r\n\t\t\t\tString emailAddressList[] = {emailAddress};\r\n\r\n\t\t\t\tIntent intent = new Intent(Intent.ACTION_SEND); \r\n\t\t\t\tintent.setType(\"plain/text\");\r\n\t\t\t\tintent.putExtra(Intent.EXTRA_EMAIL, emailAddressList); \r\n\t\t\t\tintent.putExtra(Intent.EXTRA_SUBJECT, emailSubject); \r\n\t\t\t\tintent.putExtra(Intent.EXTRA_TEXT, emailText); \r\n\t\t\t\tstartActivity(Intent.createChooser(intent, \"Choice App to send email:\"));\r\n\t\t\t}", "String userInputFromTextArea();", "@When(\"enter customer email\")\n\tpublic void enter_customer_email() {\n\t\tsearchCust = new searchCustomerPage(driver);\n\t\tsearchCust.setEmail(\"[email protected]\");\n\t\t\n\t}", "public void sendMail() {\n String sub;\n String message;\n\n sub = \"Welcome\";\n message = \"Thank you for choosing us as your healthcare partners. Here we strive hard to ensure that\\n\"\n + \"you remain in good health. Not only we boast of an exellent team of doctors but also world class operational \\n\"\n + \"infrastructure in place. For any other information or details contact our reg desk. You can access\\n\"\n + \"your account with the Username:\" + txtUserName.getText()+ \"and your password:\" + txtPassword.getPassword().toString()+ \".\\n\\t\\t\\t -Team MVP\";\n\n SendEmail SE = new SendEmail(txtEmail.getText(), sub, message);\n }", "public static String validEmail(String message){\n boolean success = false;\n String line = \"\";\n do {\n line = readLine(message).trim();\n success = checkEmail(line);\n if (!success)\n System.out.println(\"Debes introducir una dirección de correo \"\n + \"válida... \");\n } while(!success);\n return line;\n }", "private void showPasswordResetView(String email) {\n if (!email.isEmpty()) {\n EditText etEmail = findViewById(R.id.etResetEmail);\n etEmail.setText(email);\n }\n\n changeForm(R.id.btnResetPasswordForm);\n }", "String getUserMail();", "public void actionPerformed(ActionEvent e) {\n\n if (inputField.getText().trim().length() == 0) {\n return;\n }\n try {\n\n String input = inputField.getText();\n \n inputField.setText(\"\");\n clientMessage = new Message(getName(), Message.ALL, input, Message.DATA);\n clientMessage.setID(manager.getNextMessageID());\n //JOptionPane.showMessageDialog(null, input);\n //JOptionPane.showMessageDialog(null, clientMessage.getContent());\n sendMessage(clientMessage);\n\n } catch (IOException err) {\n System.err.println(err.getMessage());\n err.printStackTrace();\n }\n }", "private static boolean metodoAutenticacionEmail(Properties prop, Persona persona) {\n\r\n Scanner scanner = new Scanner(System.in);\r\n\r\n System.out.println(\"Metodo Envio de Correo electronico\");\r\n\r\n // capturando informacion de Persona desde teclado\r\n System.out.println(\"Ingrese Nombre de Usuario\");\r\n String nombreUsuario = scanner.nextLine();\r\n System.out.println(\"Ingrese direccion de Correo Electronico\");\r\n String correoUsuario = scanner.nextLine();\r\n // guardando los datos ingresados por consola\r\n persona.setNombreUsuario(nombreUsuario);\r\n persona.setEmail(correoUsuario);\r\n\r\n // Genero un numero random como clave secreta\r\n Random rand = new Random();\r\n String textoDescripcion = \"Codigo de Confirmacion es: \";\r\n String codigoConfirmacion = \"\" + rand.nextInt(10000);\r\n\r\n // enviando correo con codigoSecreto\r\n enviarCorreoElectronico(persona, textoDescripcion + codigoConfirmacion, prop);\r\n\r\n // comprobando el codigo enviado al correo\r\n // Validacion CODIGO ingresado desde teclado es el mismo que se envio al correo\r\n boolean banderaEmail = true;\r\n boolean banderaAutIN = false;\r\n short contadorOut = 1;\r\n do {\r\n System.out.println(\"Ingrese su codigo Secreto: \");\r\n String respCodigo = scanner.nextLine();\r\n if (codigoConfirmacion.equals(respCodigo)) {\r\n System.out.println(\"Bienvenido AppJava... Ejecutando Menu...\");\r\n banderaEmail = false;\r\n banderaAutIN = true;\r\n } else if (contadorOut < 5) {\r\n System.out.println(\"Codigo No valido, Revise su correo...\");\r\n contadorOut += contadorOut;\r\n } else {\r\n System.out.println(\"Numero de intentos alcanzado. Contacte con Soporte Tecnico\");\r\n banderaAutIN = false;\r\n banderaEmail = false;\r\n break;\r\n }\r\n } while (banderaEmail);\r\n\r\n return banderaAutIN;\r\n }", "private String getSendMailPasswordContent(UserForm userForm) {\n return \"\";\n\n }", "String getEmail(int type);", "private void readForm() {\n }", "public void insertEmailAdress (String emailAdress) {\n\t\tgetEmailFieldForLogin().clear();\n\t\tgetEmailFieldForLogin().sendKeys(emailAdress);\n\t}", "protected void validateEmail(){\n\n //Creating Boolean Value And checking More Accurate Email Validator Added\n\n Boolean email = Pattern.matches(\"^[A-Za-z]+([.+-]?[a-z A-z0-9]+)?@[a-zA-z0-9]{1,6}\\\\.[a-zA-Z]{2,6},?([.][a-zA-z+,]{2,6})?$\",getEmail());\n System.out.println(emailResult(email));\n }", "public void alterarDadosCadastraisEmailInvalido(String email) {\n\t\tAlterarDadosCadastraisPage alterarDadosCadastraisPage = new AlterarDadosCadastraisPage(driver);\n\t\talterarDadosCadastraisPage.getInputEmail().clear();\n\t\talterarDadosCadastraisPage.getInputEmail().sendKeys(email);\n\t\talterarDadosCadastraisPage.getButtonSalvar().click();\n\t}", "public String getFromEMail() {\n return fromEMail;\n }", "public void enterExistingAccountEmail(String email)\n\t{\n\t\tdriver.findElement(_emailTextField).sendKeys(email);\n\t\tlog.info(\"Entered Existing Email\");\n\t}", "private void VerifyButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_VerifyButtonActionPerformed\n\n String email = textArea.getText();\n Pattern pattern = Pattern.compile(\"As seen on|\"\n + \"Buy|Meet singles|Extra income|Million dollars|Save big money|\"\n + \"Opportunity|Cash|No fees|Online degree|Work at home|Additional income|\"\n + \"Eliminate debt|Lower interest rate|Pre-approved|Consolidate your debt|\"\n + \"Avoid bankruptcy|Miracle|Satisfaction|Risk free|Free hosting|\"\n + \"You have been selected|Weekend getaway|You're a Winner!|Offer|\"\n + \"Unlimited|No obligation|Trial|Guarantee|No purchase necessary\");\n Matcher matcher = pattern.matcher(email);\n\n //Count all instances using matcher.find()\n int count = 0;\n while (matcher.find()) {\n count++;\n }\n\n //Message Dialog pop-up\n JOptionPane.showMessageDialog(null, \"The spam score for this massage is:\" + count, null, JOptionPane.INFORMATION_MESSAGE);\n\n //System.out.println(count);// For debug only\n }", "@Override\n public boolean onSubmit(CharSequence input) {\n Message message = new Message(input.toString());\n Message message2 = new Message(\"Hey dear!\");\n Author ab = new Author();\n ab.setId(senderId);\n message.setAuthor(ab);\n\n //adapter.addToStart(message,true);\n adapter.addToStart(message,true);\n adapter.addToStart(message2,false);\n return true;\n }", "@Override\n public boolean onSubmit(CharSequence input) {\n Author author =new Author();\n author.setId(\"2\");\n author.setName(\"Jubril\");\n Message message=new Message();\n message.setCreatedAt(new Date());\n message.setId(\"1\");\n message.setText(input.toString());\n message.setAuthor(author);\n adapter.addToStart(message, true);\n return true;\n }", "public static boolean RetrievePasswordInputEmail(String email) {\n JSONObject obj = new JSONObject();\n try {\n obj.put(\"type\", \"retrievePasswordInputEmail\");\n obj.put(\"email\", email);\n outWriter.println(obj);\n return Boolean.parseBoolean(inReader.readLine().toString());\n } catch (Exception exc) {\n //TODO: Raise exceptions through the ExceptionHandler class.\n System.out.println(\"Connection retrieve password input email error: \" + exc.toString());\n }\n return false;\n }", "void formatEmail(String email) throws EmailAddressFormatException;", "public static void loadEmailInfor(String email) {\n\n lb_load_email_infor.setText(email);\n\n }", "@Test(priority = 13)\n @Parameters(\"browser\")\n public void TC13_VERIFY_INPUT_EMAIL (String browser) throws IOException {\n String excel_txtboxEmail = null;\n String excel_btnTieptheo = null;\n excel_txtboxEmail = global.Read_Data_From_Excel(excelPath,\"ELEMENTS\",3,3);\n excel_btnTieptheo = global.Read_Data_From_Excel(excelPath, \"ELEMENTS\", 7,2);\n if(excel_txtboxEmail == null || excel_btnTieptheo == null){\n System.out.println(\"ERROR - Cell or Row No. is wrong.\");\n exTest.log(LogStatus.ERROR, \"ERROR - Cell or Row No. is wrong.\");\n }\n // Locate element by Xpath\n WebElement ele_txtboxEmail = null;\n WebElement ele_btnTieptheo = null;\n ele_txtboxEmail = global.Find_Element_By_Css_Selector(driver,excel_txtboxEmail);\n ele_btnTieptheo = global.Find_Element_By_XPath(driver, excel_btnTieptheo);\n if(ele_txtboxEmail == null){\n exTest.log(LogStatus.FAIL,\"::[\" + browser + \"]:: TC13 - Textbox EMAIL is not displayed.\");\n } else {\n exTest.log(LogStatus.PASS,\"::[\" + browser + \"]:: TC13 - Textbox EMAIL is displayed.\");\n }\n if (ele_btnTieptheo == null){\n exTest.log(LogStatus.FAIL,\"::[\" + browser + \"]:: TC13 - Button Tiep theo is not displayed.\");\n } else {\n exTest.log(LogStatus.PASS,\"::[\" + browser + \"]:: TC13 - Button Tiep theo is displayed.\");\n }\n // Input value from Array to Email\n for(int i = 0; i <= global.INPUT_VALIDATION.length; i++){\n global.Send_Keys(ele_txtboxEmail, global.INPUT_VALIDATION[i]);\n System.out.println(\"DEBUG --- Input Validation: \" + global.INPUT_VALIDATION[i]);\n global.Click(ele_btnTieptheo);\n ele_txtboxEmail.clear();\n }\n global.Processing_Time();\n }", "private void validateEmail() {\n myEmailValidator.processResult(\n myEmailValidator.apply(myBinding.editResetEmail.getText().toString().trim()),\n this::verifyAuthWithServer,\n result -> myBinding.editResetEmail.setError(\"Please enter a valid Email address.\"));\n }", "@Override\n public void onClick(View view) {\n if (validate()) {\n\n //Get values from EditText fields\n String Email = editTextEmail.getText().toString();\n String Password = editTextPassword.getText().toString();\n }\n }", "public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n System.out.println(\"Enter valid email address\");\n\n String email = scan.nextLine();\n\n int lastIndexOfPart1 = email.lastIndexOf(\"@\");\n System.out.println(lastIndexOfPart1);\n System.out.println(email.substring(0,lastIndexOfPart1 ));\n\n int indexOfPart2 = email.indexOf(\"@\") + 1;\n int lastIndexOfPart2 = email.lastIndexOf(\".\");\n\n\n\n System.out.println(email.substring(indexOfPart2,lastIndexOfPart2 ));\n\n int indexOfPart3 = email.indexOf(\".\") + 1;\n System.out.println(email.substring(indexOfPart3) );\n\n email = email.substring(0,lastIndexOfPart1) +\"@\"+email.substring(indexOfPart2,lastIndexOfPart2 )+\".\"+email.substring(indexOfPart3);\n System.out.println(email);\n\n\n\n\n\n\n\n\n\n }", "public void sendMessage() {\n String userMessage = textMessage.getText();\n if (!userMessage.isBlank()) {//проверяю а есть ли что то в текстовом поле\n textMessage.clear();//очищаю текстовое поле на форме\n\n //пока оставлю\n //sb.append(userMessage).append(\"\\n\");\n\n //в общее поле добавляю сообщение\n areaMessage.appendText(userMessage+\"\\n\");\n }\n\n }", "private void validationEmail(String email) throws FormValidationException {\n\t\tif (email != null) {\n\t\t\tif (!email.matches(\"([^.@]+)(\\\\.[^.@]+)*@([^.@]+\\\\.)+([^.@]+)\")) {\n\t\t\t\tSystem.out.println(\"Merci de saisir une adresse mail valide.\");\n\n\t\t\t\tthrow new FormValidationException(\n\t\t\t\t\t\t\"Merci de saisir une adresse mail valide.\");\n\t\t\t\t// } else if ( groupDao.trouver( email ) != null ) {\n\t\t\t\t// System.out.println(\"Cette adresse email est déjà utilisée, merci d'en choisir une autre.\");\n\t\t\t\t// throw new FormValidationException(\n\t\t\t\t// \"Cette adresse email est déjà utilisée, merci d'en choisir une autre.\"\n\t\t\t\t// );\n\t\t\t}\n\t\t}\n\t}" ]
[ "0.6567778", "0.6512212", "0.6467182", "0.64551735", "0.64465016", "0.64392495", "0.6424857", "0.64042836", "0.6178839", "0.6133257", "0.6130814", "0.61197925", "0.6017276", "0.5997578", "0.5983289", "0.59470314", "0.5937311", "0.5935969", "0.59195197", "0.5916333", "0.59098065", "0.5908495", "0.5828417", "0.5808895", "0.578704", "0.57799166", "0.5732766", "0.57132", "0.57132", "0.57132", "0.57132", "0.57132", "0.57132", "0.5709631", "0.56921023", "0.5688842", "0.56664544", "0.5666167", "0.5611104", "0.5609436", "0.56083083", "0.56035477", "0.5602907", "0.55910367", "0.55885226", "0.5571281", "0.5568489", "0.5559698", "0.55488855", "0.55465794", "0.5524748", "0.55233103", "0.5514736", "0.5509798", "0.5505332", "0.54988325", "0.54922396", "0.54922396", "0.54922396", "0.54922396", "0.54922396", "0.5483011", "0.5476852", "0.5457045", "0.5453194", "0.54520094", "0.5450636", "0.54488504", "0.5446531", "0.5443363", "0.541616", "0.5415755", "0.54106116", "0.54078794", "0.5405248", "0.5396605", "0.5391821", "0.53749615", "0.53716636", "0.53698015", "0.5368279", "0.53627104", "0.5355196", "0.53457886", "0.5333282", "0.5333082", "0.5332151", "0.53302586", "0.5329916", "0.5319547", "0.53153837", "0.5313656", "0.53083843", "0.5304936", "0.53023666", "0.5297724", "0.52947074", "0.5292685", "0.529224", "0.52896273", "0.52856266" ]
0.0
-1
Test validation of Research EditText
@Test public void researchEditTextInputTest() { onView(withId(R.id.network_input_research)) .perform(typeText(INPUT_TEXT)) .check(matches(withText(INPUT_TEXT))); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void testEditTextContent() throws Exception {\n\n onView(withId(R.id.editText))\n .perform(typeText(LOG_TAG))\n .check(matches(withText(LOG_TAG)));\n }", "@Test\n public void testEditTextExists(){\n ViewInteraction appCompatEditTextView = onView(withId(R.id.input));\n appCompatEditTextView.perform(replaceText(\"testEditTextExists\"), closeSoftKeyboard());\n onView(withId(R.id.fab)).perform(click());\n EditText input = messagesActivity.input;\n assertNotNull(input);\n }", "@Test\n public void testEditTextCleanup() throws Exception {\n\n // perform text input\n onView(withId(R.id.editText))\n .perform(typeText(LOG_TAG));\n\n // click pin button\n onView(withText(R.string.button_name))\n .perform(click());\n\n // verify empty edittext\n onView(withId(R.id.editText))\n .check(matches(withText(\"\")));\n }", "private boolean checkInputValidation(){\n if(facility_EDT_value.getText().toString().trim().isEmpty()){\n Toast.makeText(getContext(), \"Please enter search value!\", Toast.LENGTH_LONG).show();\n return false;\n }\n return true;\n }", "@Override\n\t\tprotected boolean isTextValid()\n\t\t{\n\t\t\ttry\n\t\t\t{\n\t\t\t\tif (getField().getText().isEmpty())\n\t\t\t\t\tthrow new AppException(ErrorId.NO_FILTER);\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\tcatch (AppException e)\n\t\t\t{\n\t\t\t\tGuiUtils.setFocus(getField());\n\t\t\t\tJOptionPane.showMessageDialog(this, e, App.SHORT_NAME, JOptionPane.ERROR_MESSAGE);\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}", "public boolean Validate() \r\n {\n return phoneNumber.matcher(getText()).matches();\r\n }", "@Test\n public void ensureTextChangesWork(){\n onView(withId(R.id.placeEditText)).perform(typeText(\"London\"));\n\n // Check that the language text was changed.\n onView(withId(R.id.languageEditText)).perform(typeText(\"It\"));\n\n // Check that the language text was changed.\n onView(withId(R.id.maxrowsEditText)).perform(typeText(\"3\"));\n\n // check button click\n onView(withId(R.id.button)).perform(click());\n\n // check returned list view\n onView(withId(R.id.listViewResult)).check(matches(isDisplayed()));\n }", "public void onPressValidate(View view) {\n final String validEmail = txtValidEmail.getText().toString();\n if (validEmail.length() == 0) {\n txtValidEmail.requestFocus();\n txtValidEmail.setError(\"Please enter an email address\");\n }\n else if (!validEmail.matches(\"^(.+)@(.+)$\")) {\n txtValidEmail.requestFocus();\n txtValidEmail.setError(\"Invalid email address\");\n }\n else {\n InputMethodManager imm = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE);\n imm.hideSoftInputFromWindow(view.getWindowToken(),0);\n authenticateUserEmail(validEmail);\n }\n }", "private boolean validate() {\n if (activityAddTodoBinding.etTitle.getText().toString().trim().isEmpty())\n {\n activityAddTodoBinding.etTitle.setError(getString(R.string.enter_title));\n return false;\n }\n else if (activityAddTodoBinding.etDesc.getText().toString().trim().isEmpty())\n {\n activityAddTodoBinding.etDesc.setError(getString(R.string.enter_desc));\n return false;\n }\n return true;\n }", "void accept(@NotNull T editText);", "@Override\n\tpublic boolean verifyText(JTextField arg0, String arg1) {\n\t\treturn true;\n\t}", "private void verifyInput(){\n String firstName = mFirstNameField.getText().toString();\n String lastName = mLastNameField.getText().toString();\n\n mNameFieldsFilled = !TextUtils.isEmpty(firstName) && !TextUtils.isEmpty(lastName);\n\n }", "@Override\n protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n setContentView(R.layout.activity_main);\n\n raspPiID =(EditText) findViewById(R.id.rasPI1);\n LogIn = (Button) findViewById(R.id.Log_in);\n LogIn.setOnClickListener(new View.OnClickListener() {\n public void onClick(View view) {\n validate(raspPiID.getText().toString());\n }\n\n });\n\n\n\n\n\n }", "private boolean validateInput(EditText titleInput, EditText descriptionInput, EditText priceInput) {\n String title = titleInput.getText().toString();\n String description = descriptionInput.getText().toString();\n int price = (TextUtils.isEmpty(priceInput.getText().toString()))? -1 : Integer.parseInt(priceInput.getText().toString());\n if (TextUtils.isEmpty(title) || TextUtils.isEmpty(description) || price < 0) {\n Toast.makeText(this.getActivity(),\n \"Please, fill in all fields.\",\n Toast.LENGTH_LONG).show();\n return false;\n }\n if (photoURI == null) {\n Toast.makeText(this.getActivity(),\n \"Please, add a picture to this item before submitting it.\",\n Toast.LENGTH_LONG).show();\n return false;\n }\n return true;\n }", "protected void validateInput()\r\n\t{\r\n\t\tString errorMessage = null;\r\n\t\tif ( validator != null ) {\r\n\t\t\terrorMessage = validator.isValid(text.getText());\r\n\t\t}\r\n\t\t// Bug 16256: important not to treat \"\" (blank error) the same as null\r\n\t\t// (no error)\r\n\t\tsetErrorMessage(errorMessage);\r\n\t}", "@Test\r\n public void ensureTextChangesWork() {\n onView(withId(R.id.inputField))\r\n .perform(typeText(\"HELLO\"), closeSoftKeyboard());\r\n reportHelper.label(\"myTestStepLabel_1_1\");\r\n onView(withId(R.id.changeText)).perform(click());\r\n\r\n // Check that the text was changed.\r\n onView(withId(R.id.inputField)).check(matches(withText(\"Lalala\")));\r\n reportHelper.label(\"myTestStepLabel_1_2\");\r\n }", "@Override\n public boolean isValid() {\n if((eMultipleAnswerType == null && textAnswerIn.getText().toString().trim().isEmpty()) || (eMultipleAnswerType != null && !compoundButtonController.isChecked())){\n try {\n invalidText = getResources().getString(R.string.output_invalidField_questionAnswering_notAnswered);\n } catch (NullPointerException e){\n e.printStackTrace();\n }\n return false;\n }\n return true;\n }", "private boolean isValidate() {\n name = edt_name.getText().toString();\n phone = edt_phone.getText().toString();\n landMark = edt_landmark.getText().toString();\n address = edt_address.getText().toString();\n city = edt_city.getText().toString();\n state = edt_state.getText().toString();\n if (name.length() == 0) {\n edt_name.setError(\"Please Enter Name \");\n requestFocus(edt_name);\n return false;\n } else if (phone.isEmpty()) {\n edt_phone.setError(\"Please Enter Phone Number \");\n requestFocus(edt_phone);\n return false;\n } else if (phone.length() != 10) {\n edt_phone.setError(\"Please Enter Valid Phone Number \");\n requestFocus(edt_phone);\n return false;\n } else if (address.length() == 0) {\n edt_address.setError(\"Please Enter Address\");\n requestFocus(edt_address);\n return false;\n } else if (city.length() == 0) {\n edt_city.setError(\"Please Enter City Name\");\n requestFocus(edt_city);\n return false;\n } else if (state.length() == 0) {\n edt_state.setError(\"Please Enter State Name\");\n requestFocus(edt_state);\n return false;\n }\n return true;\n }", "@Override\r\n\t\t\tpublic void verifyText(VerifyEvent e) {\n\t\t\t\tText t=(Text) e.widget;\r\n\t\t\t\tString s=e.text;\r\n\t\t\t\tString ct=t.getText();\r\n\t\t\t\tString temps=StringUtils.substring(ct, 0,e.start)+s+StringUtils.substring(ct,e.end);\r\n\t\t\t\tif(!IntegerValidator.getInstance().isValid(temps)){\r\n\t\t\t\t\te.doit=false;\r\n\t\t\t\t}\r\n\t\t\t}", "@Test\n public void somewhatStrongPassword(){\n onView(withId(R.id.editText)).perform(clearText(), typeText(\"Good!\"),closeSoftKeyboard());\n onView(withId(R.id.button)).perform(click());\n // Assert equals textView text\n onView(withId(R.id.textView)).check(matches(withText(\"Somewhat strong\")));\n }", "@Test\r\n public void changeText_FailedTest() {\n onView(withId(R.id.inputField)).perform(typeText(\"NewText\"),\r\n closeSoftKeyboard());\r\n reportHelper.label(\"myTestStepLabel_3_1\");\r\n onView(withId(R.id.switchActivity)).perform(click());\r\n\r\n reportHelper.label(\"myTestStepLabel_3_2\");\r\n // This view is in a different Activity, no need to tell Espresso.\r\n onView(withId(R.id.resultView)).check(matches(withText(\"errrrrrr\")));\r\n }", "private void InputTextValidator () {\n isNotNull = !txtCategoryNo.getText().equals(\"\") && !txtCategoryName.getText().equals(\"\");\n }", "@When(\"^user enters valid \\\"([^\\\"]*)\\\"$\")\n public void userEntersValid(String arg0) throws Throwable {\n }", "private boolean Validate() {\n EditText titleText = findViewById(R.id.register_movie_title_txt);\n EditText yearText = findViewById(R.id.register_movie_year_txt);\n EditText ratingText = findViewById(R.id.register_movie_rating_txt);\n\n\n boolean is_filled_required_fields = false;\n is_filled_required_fields = titleText.getText().toString().length() > 0\n && yearText.getText().toString().length() > 0\n && ratingText.getText().toString().length() > 0;\n\n if (!is_filled_required_fields) {\n Snackbar mySnackbar = Snackbar.make(findViewById(R.id.activity_register_base_layout), \"Please fill required fields\", BaseTransientBottomBar.LENGTH_SHORT);\n mySnackbar.show();\n }\n return is_filled_required_fields;\n }", "@Test\n public void strongestPassword(){\n onView(withId(R.id.editText)).perform(clearText(), typeText(\"Good!123\"),closeSoftKeyboard());\n onView(withId(R.id.button)).perform(click());\n // Assert equals textView text\n onView(withId(R.id.textView)).check(matches(withText(\"Strongest\")));\n }", "protected void validate() {\n\t\tString quantity=editText.getText().toString().trim();\n\t\tif(quantity.length()==0){\n\t\t\tAlertUtils.showToast(mContext, \"Enter quantity\");\n\t\t\treturn;\n\t\t}else if(!isValidNumber(quantity)){\n\t\t\tAlertUtils.showToast(mContext, \"Enter valid quantity\");\n\t\t\treturn;\n\t\t}\n//\t\tif(((HomeActivity)mContext).checkInternet())\n//\t\t\tdialogCallback.setQuantity(item);\n\t}", "@Test\n public void autoCom(){\n onView(withId(R.id.autoCompleteTextView))\n .perform(typeText(\"So\"), closeSoftKeyboard());\n\n\n onView(withText(\"Southern Ocean\"))\n .inRoot(withDecorView(not(is(mActivity.getWindow().getDecorView()))))\n .check(matches(isDisplayed()));\n\n onView(withText(\"South China Sea\"))\n .inRoot(withDecorView(not(is(mActivity.getWindow().getDecorView()))))\n .check(matches(isDisplayed()));\n }", "private boolean validate(){\n return EditorUtils.editTextValidator(generalnformation,etGeneralnformation,\"Type in information\") &&\n EditorUtils.editTextValidator(symptoms,etSymptoms, \"Type in symptoms\") &&\n EditorUtils.editTextValidator(management,etManagement, \"Type in management\");\n }", "private boolean validateInput() {\n String username = editUsername.getText().toString().trim();\n String email = editEmail.getText().toString().trim();\n String password = editPassword.getText().toString().trim();\n String repeatPassword = editRepeatPassword.getText().toString().trim();\n if (!password.equals(repeatPassword)) {\n ShowMessageUtil.tosatSlow(\"Enter passwords differ\", EmailRegisterActivity.this);\n return false;\n } else if (username.equals(\"\") || email.equals(\"\") || password.equals(\"\")) {\n ShowMessageUtil.tosatSlow(\"every item can not be empty!\", EmailRegisterActivity.this);\n return false;\n }\n if (username.length()>10){\n ShowMessageUtil.tosatSlow(\"the character length of the username can't be over than 10\", EmailRegisterActivity.this);\n return false;\n }\n return true;\n }", "private boolean checkEmptyEditText(EditText text, TextInputLayout TFB, String massage) {\n\n if (text.getText().toString().isEmpty())\n {\n TFB.setErrorEnabled(true);\n TFB.setError(massage);\n return false;\n\n }\n else\n {\n TFB.setErrorEnabled(false);\n return true;\n }\n\n }", "private boolean checkVehicleModel(EditText text, TextInputLayout TFB, String massage) {\n if(text.getText().toString().length() > 4 || text.getText().toString().length() < 4)\n {\n TFB.setErrorEnabled(true);\n TFB.setError(massage);\n return false;\n }\n else\n {\n TFB.setErrorEnabled(false);\n return true;\n }\n }", "public boolean checkInput(){\n if(spelerIDField.getText().equals(\"\") || typeField.getText().equals(\"\") || codeField.getText().equals(\"\") || heeftBetaaldField.getText().equals(\"\")){\n return true;\n } else { return false; }\n }", "public boolean validation(){\n String Venuename= venuename.getText().toString();\n String Address= address.getText().toString();\n String Details= details.getText().toString();\n String Venueimage= venueimage.getText().toString();\n if(Venuename.isEmpty()){\n venuename.setError(\"Please enter the item name\");\n venuename.requestFocus();\n return false;\n }\n if(Address.isEmpty()){\n address.setError(\"Please enter the item name\");\n address.requestFocus();\n return false;\n }\n if(Details.isEmpty()){\n details.setError(\"Please enter the item name\");\n details.requestFocus();\n return false;\n }\n if(Venueimage.isEmpty()){\n venueimage.setError(\"Please Select the image first\");\n return false;\n }\n\n\n return true;\n }", "public boolean validate() {\n boolean validate = true;\n String titleStr = etTitle.getText().toString();\n String contentStr = etContent.getText().toString();\n if (titleStr.isEmpty() || titleStr.matches(\"\")) {\n etTitle.setError(\"Please Fill Title\");\n validate = false;\n }\n if (contentStr.isEmpty() || contentStr.matches(\"\")) {\n etContent.setError(\"Please Fill Content\");\n validate = false;\n }\n\n return validate;\n }", "@Test\n public void enterQueryString_showResults() {\n onView(withId(R.id.page_change_web_search_view)).check(matches(not(isDisplayed())));\n // Check recycler view is not visible at beginning\n onView(withId(R.id.web_search_list)).check(matches(not(isDisplayed())));\n\n // Enter search string and close the keyboard\n onView(allOf(withEffectiveVisibility(ViewMatchers.Visibility.VISIBLE),\n isAssignableFrom(EditText.class))).perform(typeText(mSearchQueryString), pressKey(66), closeSoftKeyboard());\n\n // Check if recycler view is visible\n onView(withId(R.id.web_search_list)).check(matches(isDisplayed()));\n // Check if page change view is visible\n onView(withId(R.id.page_change_web_search_view)).check(matches(isDisplayed()));\n }", "@Override\n public void afterTextChanged(Editable editable) {\n String userInput;\n boolean reusltPalindromeCheck;\n\n if (editable.length() == 0) {\n mRuselt.setText(\"\");\n mErrorNessage.setText(\"You must enter a word\");\n }\n else\n {\n userInput = mUserInput .getText().toString().toUpperCase();\n\n mRuselt.setText(\"\");\n mErrorNessage.setText(\"\");\n\n reusltPalindromeCheck = checkPalindrome(userInput, 0);\n \n if (reusltPalindromeCheck=true)\n {\n mRuselt.append(\"\\n\\nThat is a paindrome.\");\n }\n else\n {\n mRuselt.append(\"\\n\\nThat is not a paindrome.\");\n }\n\n\n }\n }", "public boolean validate() {\n\n String plate = _licensePlate.getText().toString();\n\n if(plate.isEmpty() || plate.length() < 8)\n return false;\n\n else if(plate.charAt(2) == '-' || plate.charAt(5) == '-') {\n\n if (Character.isUpperCase(plate.charAt(0)) && Character.isUpperCase(plate.charAt(1))) { // first case\n if (Character.isDigit(plate.charAt(3)) && Character.isDigit(plate.charAt(4))\n && Character.isDigit(plate.charAt(6)) && Character.isDigit(plate.charAt(7)))\n return true;\n }\n\n else if(Character.isUpperCase(plate.charAt(3)) && Character.isUpperCase(plate.charAt(4))) { // second case\n if (Character.isDigit(plate.charAt(0)) && Character.isDigit(plate.charAt(1))\n && Character.isDigit(plate.charAt(6)) && Character.isDigit(plate.charAt(7)))\n return true;\n }\n\n else if(Character.isUpperCase(plate.charAt(6)) && Character.isUpperCase(plate.charAt(7))) { // third case\n if (Character.isDigit(plate.charAt(0)) && Character.isDigit(plate.charAt(1))\n && Character.isDigit(plate.charAt(3)) && Character.isDigit(plate.charAt(4)))\n return true;\n }\n\n else\n return false;\n\n }\n\n return false;\n }", "protected boolean validation() {\n\t\tcountry = et_area.getText().toString().trim();\r\n\r\n\t\tif (pin.equals(\"\")) {\r\n\t\t\tshowAlert(\"Sorry!\", \"Please enter valid Pin\");\r\n\t\t\treturn false;\r\n\t\t}\r\n\r\n\t\telse\r\n\t\t\treturn true;\r\n\t}", "static String getString(\n EditText view, Predicate<String> predicate, Resources resources, int errorString) {\n String text = view.getText().toString();\n if (TextUtils.isEmpty(text)) {\n view.setError(resources.getString(R.string.input_cannot_be_empty));\n text = null;\n } else if (!predicate.test(text)) {\n view.setError(resources.getString(errorString));\n text = null;\n }\n return text;\n }", "private boolean validateUserInputs() {\n ArrayList<String> errors = new ArrayList();\n \n if (this.view.getContent().equals(\"\")) {\n errors.add(\"\\t - Enter a comment\");\n }\n \n if (errors.size() > 0) {\n String errorMsg = \"Unable to save new Asset.\\nDetails:\";\n for (String error : errors) {\n errorMsg += \"\\n\" + error;\n }\n JOptionPane.showMessageDialog(this.view, errorMsg, \"Unable to Save\", JOptionPane.INFORMATION_MESSAGE);\n return false;\n }\n return true;\n }", "public boolean checkBlankCorrectness(LinearLayout layout) {\n boolean isCorrect = false;\n int count = layout.getChildCount();\n try {\n for (int i = 0; i < count; i++) {\n EditText view = ((EditText) layout.getChildAt(i));\n if (!TextUtils.isEmpty(view.getTag().toString().trim())) {\n\n /*Replacing ck-editor ghost character with blank*/\n String correctAnswer = view.getTag().toString().trim();\n correctAnswer = correctAnswer.replace(ConstantUtil.CK_EDITOR_GHOST_CHARACTER, ConstantUtil.BLANK);\n\n isCorrect = correctAnswer.trim().equalsIgnoreCase(view.getText().toString().trim());\n\n } else {\n return false;\n }\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n return isCorrect;\n }", "@Override\n public void onClick(View view) {\n\n if (l.getText().length()<1 && m.getText().length()<1 && n.getText().length()<1 && o.getText().length()<1 && p.getText().length()<1) {\n\n Toast toast3 = Toast.makeText(Main2Activity.this, \"Please Enter Valid Input\", Toast.LENGTH_LONG);\n toast3.show();\n\n }\n\n\n //If the content is correct returning back to the main screen\n else {\n startActivity(new Intent(Main2Activity.this, MainActivity.class));\n\n }\n\n }", "private boolean validateInput(){\n Window owner=root.getScene().getWindow();\n inputFileds.addAll(txtfn,txtln,txtsurname,txtDOB,txtResidence,txtMobile,txtID,username);\n for (TextField textField : inputFileds) {\n if(textField.getText().isEmpty()){\n //set css stroke\n Dialog.showMessageDialog(owner,\"Missing Details\",\"Invalid Input\",DialogIcon.WARNING);\n textField.requestFocus();\n return false;\n }\n }\n inputFileds.removeAll(txtDOB,txtMobile,username);\n for (TextField textField : inputFileds) {\n if(textField.getText().length()>30){\n //set css stroke\n Dialog.showMessageDialog(owner,\"Sorry the text you entered can not be greater that 30 characters\",\"Text too Long\",DialogIcon.WARNING);\n textField.requestFocus();\n return false;\n }\n }\n if(username.getText().length()>20 || username.getText().length()<4){\n Dialog.showMessageDialog(owner, \"Sorry your Username has to be More than 3 Characters and can not Exceed 20 Charchaters\", \"Invalid input\",DialogIcon.WARNING);\n username.requestFocus();\n return false;\n }\n if(pass.getText().isEmpty()){\n Dialog.showMessageDialog(owner,\"Missing Details\",\"Invalid Input\",DialogIcon.WARNING);\n pass.requestFocus();\n return false;\n }\n if(pass.getText().length()>20 || pass.getText().length()<4){\n Dialog.showMessageDialog(owner, \"Sorry your Password has to be More than 3 Characters and can not Exceed 20 Charchaters\", \"Invalid Input\",DialogIcon.WARNING);\n pass.requestFocus();\n return false;\n }\n SimpleDateFormat dateFormat = new SimpleDateFormat(\"dd/MM/yyyy\");\n SimpleDateFormat yearFormat = new SimpleDateFormat(\"yyyy\");\n try {\n date = dateFormat.parse(txtDOB.getText());\n Calendar cal=Calendar.getInstance();\n int year=Integer.parseInt(yearFormat.format(date));\n if (year <= 1900 || year>cal.get(Calendar.YEAR)) {\n Dialog.showMessageDialog(owner,\"Invalid Date of Birth\", \"Invalid Input\",DialogIcon.WARNING);\n txtDOB.requestFocus();\n return false;\n }\n String initialEntry=txtDOB.getText();\n String parsedValue=dateFormat.format(date);\n if(!initialEntry.equals(parsedValue)){\n Dialog.showMessageDialog(owner, \"Note your Date of Birth has been corrected\", \"Date Corrected\",DialogIcon.INFORMATION);\n }\n txtDOB.setText(dateFormat.format(date));\n } catch (ParseException ex) {\n Dialog.showMessageDialog(owner,\"Invalid Date of Birth\", \"Invalid Input\",DialogIcon.WARNING);\n txtDOB.requestFocus();\n return false;\n }\n try {\n int mobile=Integer.parseInt(txtMobile.getText());\n } catch (NumberFormatException e) {\n Dialog.showMessageDialog(owner, \"Invalid Mobile Number\", \"Invalid data\",DialogIcon.WARNING);\n txtMobile.requestFocus();\n return false;\n }\n if(txtMobile.getText().length() != 10){\n Dialog.showMessageDialog(owner, \"Sorry your Mobile Number is invalid\", \"Invalid input\",DialogIcon.WARNING);\n txtMobile.requestFocus();\n return false;\n }\n String sql=\"select Username,Password from users where Username=?\";\n try(PreparedStatement prstmt=con.prepareStatement(sql)) {\n prstmt.setString(1, username.getText());\n ResultSet rs=prstmt.executeQuery();\n if(rs.next()){\n Dialog.showMessageDialog(owner, \"Sorry Username already exists\\n Please change to different Username\", \"Username Exists\",DialogIcon.WARNING);\n username.requestFocus();\n return false;\n }\n rs.close();\n } catch (SQLException e) {\n System.err.println(e);\n }\n return true;\n }", "boolean isValid(View view);", "private boolean isInputValid() {\n return true;\n }", "private boolean validateInputs() {\n if (Constants.NULL.equals(review)) {\n reviewET.setError(\"Must type a review!\");\n reviewET.requestFocus();\n return false;\n }\n if (Constants.NULL.equals(heading)) {\n headingET.setError(\"Heading cannot be empty\");\n headingET.requestFocus();\n return false;\n }\n return true;\n }", "public void testIsTextValid() {\n String text = null;\n int slotId = 0;\n int feature = 0;\n\n // 01--empty\n assertTrue(mOpContactAccountExtension.isTextValid(text, slotId, feature, Utils.COMMD_FOR_SNE));\n // 02--valid\n text = \"nickmmmm\";\n assertTrue(mOpContactAccountExtension.isTextValid(text, slotId, feature, Utils.COMMD_FOR_SNE));\n // 03--too long\n text = \"abcdefghijklmnopqrstu\";\n assertFalse(mOpContactAccountExtension.isTextValid(text, slotId, feature, Utils.COMMD_FOR_SNE));\n // 04\n text = \"端午春asdfghjklop\";\n assertFalse(mOpContactAccountExtension.isTextValid(text, slotId, feature, Utils.COMMD_FOR_SNE));\n // 05\n text = \"端午春as\";\n assertTrue(mOpContactAccountExtension.isTextValid(text, slotId, feature, Utils.COMMD_FOR_SNE));\n }", "protected abstract boolean isInputValid();", "private boolean validateInputs() {\n if (KEY_EMPTY.equals(tenchuxe)) {\n etTenChuXe.setError(\"Vui lòng điền Tên chủ xe\");\n etTenChuXe.requestFocus();\n return false;\n\n }\n if (KEY_EMPTY.equals(sdt)) {\n etSDT.setError(\"Vui lòng điền Số điện thoại\");\n etSDT.requestFocus();\n return false;\n\n }\n if (KEY_EMPTY.equals(mota)) {\n edMoTa.setError(\"Vui lòng điền Mô tả xe\");\n edMoTa.requestFocus();\n return false;\n\n }\n if (KEY_EMPTY.equals(biensoxe)) {\n etBienSoXe.setError(\"Vui lòng điền Biển số xe\");\n etBienSoXe.requestFocus();\n return false;\n }\n if (KEY_EMPTY.equals(passwordtx)) {\n etPasswordtx.setError(\"Vui lòng điền Mật khẩu\");\n etPasswordtx.requestFocus();\n return false;\n }\n\n if (KEY_EMPTY.equals(confirmPassword)) {\n etConfirmPassword.setError(\"Vui lòng điền Xác nhận mật khẩu\");\n etConfirmPassword.requestFocus();\n return false;\n }\n if (!passwordtx.equals(confirmPassword)) {\n etConfirmPassword.setError(\"Xác nhận mật khẩu sai !\");\n etConfirmPassword.requestFocus();\n return false;\n }\n\n return true;\n }", "@Test\n\n public void shouldNotBeAbleToInputAlphaCharactersInTradeInValueField() {\n//1. Enter B in the Trade-In Value field\n//2. Enter z in the Trade-In Value field\n }", "public void CheckEditTextStatus(){\n\n // Getting value from All EditText and storing into String Variables.\n NameHolder = Name.getText().toString();\n EmailHolder = Email.getText().toString();\n PasswordHolder = Password.getText().toString();\n\n // Checking EditText is empty or no using TextUtils.\n if( TextUtils.isEmpty(NameHolder)|| TextUtils.isEmpty(EmailHolder)|| TextUtils.isEmpty(PasswordHolder)){\n\n EditTextEmptyHolder = false ;\n\n }\n else {\n\n EditTextEmptyHolder = true ;\n }\n }", "private void checkEditTexts() {\n\n if (!validateEmail(Objects.requireNonNull(edInputEmail.getText()).toString().trim())) {\n Toasty.error(Objects.requireNonNull(getActivity()), getString(R.string.error_invalid_email), Toasty.LENGTH_SHORT, true).show();\n } else {\n\n if (Objects.requireNonNull(edInputPass.getText()).toString().trim().equalsIgnoreCase(\"\")) {\n\n Toasty.error(Objects.requireNonNull(getActivity()), getString(R.string.error_empty_password), Toasty.LENGTH_SHORT, true).show();\n\n } else {\n sendLoginRequest(edInputEmail.getText().toString(), edInputPass.getText().toString());\n CustomProgressBar.showProgress(loadingLayout);\n }\n }\n }", "@Test\n public void testCheckInputValidation() {\n GreekNumberValidation instance = new GreekNumberValidation();\n assertEquals(false, instance.checkInputValidation(\"69 88 89 89 35\"));\n assertEquals(false, instance.checkInputValidation(\"69 885 896 897 35\"));\n assertEquals(false, instance.checkInputValidation(\"6 885 896 8 35\"));\n assertEquals(true, instance.checkInputValidation(\"6985898731\"));\n assertEquals(true, instance.checkInputValidation(\"asd 34 5\"));\n assertEquals(true, instance.checkInputValidation(\"asd gfd g\"));\n assertEquals(true, instance.checkInputValidation(\"asdgfdg\"));\n\n }", "@Test\n public void testIsEmptyValidRoman() {\n FieldVerifier service = new FieldVerifier();\n boolean result = service.isValidRoman(\"\");\n assertEquals(false, result);\n }", "@Test\n public void testEditTextHasCorrectID(){\n ViewInteraction appCompatEditTextView = onView(withId(R.id.input));\n appCompatEditTextView.perform(replaceText(\"testEditTextHasCorrectID\"), closeSoftKeyboard());\n onView(withId(R.id.fab)).perform(click());\n EditText input = messagesActivity.input;\n int ID = input.getId();\n int expectedID = R.id.input;\n assertEquals(ID, expectedID);\n }", "private boolean checkUserInputValidity() {\n // Extract Student information from the edit text views\n String studentName = mStudentNameEditText.getText().toString().trim();\n String studentGradeString = mStudentGradeEditText.getText().toString();\n\n // Check for valid student name\n if (TextUtils.isEmpty(studentName)) {\n Toast.makeText(this, R.string.please_enter_valid_name, Toast.LENGTH_SHORT).show();\n mStudentNameEditText.requestFocus();\n return false;\n }\n\n // Check for valid student birthdate\n if (mStudentBirthdate == 0) {\n Toast.makeText(this, R.string.please_enter_valid_birthdate,\n Toast.LENGTH_SHORT).show();\n return false;\n }\n if (DateUtils.isChosenDateAfterToday(mStudentBirthdate)) {\n Toast.makeText(this, R.string.please_enter_valid_birthdate,\n Toast.LENGTH_SHORT).show();\n return false;\n }\n\n // Check for valid student grade\n if (TextUtils.isEmpty(studentGradeString)) {\n Toast.makeText(this, R.string.please_enter_valid_grade, Toast.LENGTH_SHORT).show();\n mStudentGradeEditText.requestFocus();\n return false;\n } else {\n int studentGrade = Integer.parseInt(studentGradeString);\n if (studentGrade <= 0) {\n Toast.makeText(this, R.string.please_enter_valid_grade, Toast.LENGTH_SHORT).show();\n mStudentGradeEditText.requestFocus();\n return false;\n }\n }\n\n return true;\n }", "@Test\n public void autoCompleteTextView_onDataClickAndCheck() {\n onView(withId(R.id.autoCompleteTextView))\n .perform(typeText(\"S\"), closeSoftKeyboard());\n\n // This is useful because some of the completions may not be part of the View Hierarchy\n // unless you scroll around the list.\n onData(allOf(instanceOf(String.class), is(\"Baltic Sea\")))\n .inRoot(withDecorView(not(is(mActivity.getWindow().getDecorView()))))\n .perform(click());\n\n // The text should be filled in.\n onView(withId(R.id.autoCompleteTextView))\n .check(matches(withText(\"Baltic Sea\")));\n }", "@Override\n public void afterTextChanged(Editable s) {\n if (s.length() == 0)\n edtCodeNumber5.requestFocus();\n else {\n if (strMobileNumber == null || strMobileNumber.equals(\"\")) return;\n //checkValidationCodeInputs();\n\n confirmYourCode();\n }\n\n }", "@Test\n public void testIsValidRoman() {\n FieldVerifier service = new FieldVerifier();\n boolean result = service.isValidRoman(\"X\");\n assertEquals(true, result);\n }", "@Test\r\n public void passText() {\r\n onView(withId(R.id.edPassReg)).perform(typeText(\"hey\"));\r\n }", "@UiThreadTest\r\n public void testValidationRequired() {\n View addProjectValidateRequired = solo.getView(R.id.projectname_required);\r\n View addProjectValidateUnique = solo.getView(R.id.projectname_unique);\r\n assertEquals(\"The validation error message 'required' should be gone\", View.GONE, addProjectValidateRequired.getVisibility());\r\n assertEquals(\"The validation error message 'unique' should be gone\", View.GONE, addProjectValidateUnique.getVisibility());\r\n\r\n // Try to add with empty values\r\n ActionBar.clickMenuItem(R.id.menu_add_project_activity_save, solo.getCurrentActivity());\r\n solo.assertCurrentActivity(\"The add/edit project activity is expected\", AddEditProjectActivity.class);\r\n addProjectValidateRequired = solo.getView(R.id.projectname_required);\r\n addProjectValidateUnique = solo.getView(R.id.projectname_unique);\r\n assertEquals(\"The validation error message 'required' should be visible\", View.VISIBLE, addProjectValidateRequired.getVisibility());\r\n assertEquals(\"The validation error message 'unique' should be gone\", View.GONE, addProjectValidateUnique.getVisibility());\r\n }", "public boolean validateData(){\n boolean dataOk=true;\n if (etName.getText().toString().equals(\"\")){\n Log.i(\"ProfileEditActivity\",\"Name field is void.\");\n dataOk=false;\n }\n if (etSurname.getText().toString().equals(\"\")){\n Log.i(\"ProfileEditActivity\",\"Surname field is void.\");\n dataOk=false;\n }\n if (etDescription.getText().toString().equals(\"\")){\n Log.i(\"ProfileEditActivity\",\"Description field is void.\");\n dataOk=false;\n }\n return dataOk;\n }", "public boolean validaEditText(int texto) {\n\t\tfor (int i = 0, count = mitaxiregistermanually_ll_contactos.getChildCount(); i < count; ++i) {\n \t LinearLayout ll = (LinearLayout) mitaxiregistermanually_ll_contactos.getChildAt(i);\n \t LinearLayout ll2 = (LinearLayout) ll.getChildAt(0);\n \t LinearLayout ll3 = (LinearLayout) ll2.getChildAt(0);\n \t EditText et = (EditText) ll3.getChildAt(0);\n \t EditText et2 = (EditText) ll3.getChildAt(1);\n \t //validamos que no esten vacios\n \t if(et.getText().toString().equals(\"\")){\n \t\t Dialogos.Toast(RegistroContactosEmergenciaActivity.this, getResources().getString(texto), Toast.LENGTH_LONG);\n \t\t return false;\n \t }\n \t if(et2.getText().toString().equals(\"\")){\n \t\t Dialogos.Toast(RegistroContactosEmergenciaActivity.this, getResources().getString(texto), Toast.LENGTH_LONG);\n \t\t return false;\n \t }\n \t //validamos que esten bien escritos\n \t if(et.getText().toString().length()!=10){\n \t\t Dialogos.Toast(RegistroContactosEmergenciaActivity.this,getResources().getString(R.string.Registro_manual_llena_bien_el_celular), Toast.LENGTH_LONG);\n \t\t return false;\n \t }\n \t if(Utils.isNumeric(et.getText().toString())){\n \t\t Dialogos.Toast(RegistroContactosEmergenciaActivity.this,getResources().getString(R.string.Registro_manual_llena_bien_el_celular_signo), Toast.LENGTH_LONG);\n \t\t return false; \n \t }\n \t \n \t if(!EditTextValidator.esCorreo(et2)){\n\t\t\t et2.setError(getResources().getString(R.string.edittext_error_email));\n\t\t\t return false;\n\t\t }\n }\n\t\t\n\t\t\n\t\treturn true;\n\t}", "@Test\n public void textViewIndicatingTheTopic_isCorrectlyFilled() {\n // When perform a click on an item\n onView(withId(R.id.recyclerview))\n .perform(RecyclerViewActions.actionOnItemAtPosition(0, click()));\n // Then : MeetingDetailsActivity is launched\n onView(withId(R.id.activity_meeting_details));\n //The TextView is correctly filled\n onView(withId(R.id.detail_topic))\n .check(matches(withText(\"Mareu_0\")));\n }", "private boolean isInputValid() {\n String errorMessage = \"\";\n\n if (ServiceName.getText() == null || ServiceName.getText().length() == 0) {\n errorMessage += \"No valid name!\\n\";\n }\n if (Serviceemail.getText() == null || Serviceemail.getText().length() == 0) {\n Pattern p = Pattern.compile(\"[_A-Za-z0-9][A-Za-z0-9._]*?@[_A-Za-z0-9]+([.][_A-Za-z]+)+\");\n Matcher m = p.matcher(Serviceemail.getText());\n if (m.find() && m.group().equals(Serviceemail.getText())) {\n errorMessage += \"No valid Mail Forment!\\n\";\n }\n }\n if (servicedescrip.getText() == null || servicedescrip.getText().length() == 0) {\n errorMessage += \"No valid description !\\n\";\n }\n if (f == null && s.getImage() == null) {\n errorMessage += \"No valid photo ( please upload a photo !)\\n\";\n }\n if (Serviceprice.getText() == null || Serviceprice.getText().length() == 0) {\n errorMessage += \"No valid prix !\\n\";\n } else {\n // try to parse the postal code into an int.\n try {\n Float.parseFloat(Serviceprice.getText());\n } catch (NumberFormatException e) {\n errorMessage += \"No valid prix (must be a Float)!\\n\";\n }\n }\n if ( !Weekly.isSelected() && !Daily.isSelected() && !Monthly.isSelected()) {\n errorMessage += \"No valid Etat ( select an item !)\\n\";\n }\n if (Servicesatet.getSelectionModel().getSelectedIndex() == -1) {\n errorMessage += \"No valid etat ( select an item !)\\n\";\n }\n if (ServiceCity.getSelectionModel().getSelectedIndex() == -1) {\n errorMessage += \"No valid City ( select an item !)\\n\";\n }\n if (servicetype.getSelectionModel().getSelectedIndex() == -1) {\n errorMessage += \"No valid Type ( select an item !)\\n\";\n }\n if (errorMessage.length() == 0) {\n return true;\n } else {\n // Show the error message.\n Alert alert = new Alert(Alert.AlertType.ERROR);\n alert.setTitle(\"Invalid Fields\");\n alert.setHeaderText(\"Please correct invalid fields\");\n alert.setContentText(errorMessage);\n alert.showAndWait();\n return false;\n }\n }", "@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tboolean isRegularPhoneNumber = phoneEditView.getText()\n\t\t\t\t\t\t.toString().matches(\"[0-9]{10}\");\n\t\t\t\tphoneCheckRes(isRegularPhoneNumber);\n\t\t\t}", "private boolean checkLengthDeviceSerialEditText (EditText text, TextInputLayout TFB, String massage) {\n if(text.getText().toString().length() > 10 || text.getText().toString().length() < 10)\n {\n TFB.setErrorEnabled(true);\n TFB.setError(massage);\n return false;\n }\n else\n {\n TFB.setErrorEnabled(false);\n return true;\n }\n\n\n }", "private void clearErrorsInEdittextFields() {\n\t\tetyourName.setOnFocusChangeListener(new OnFocusChangeListener() {\n\t\t\t@Override\n\t\t\tpublic void onFocusChange(View rv, boolean hasFocus) {\n\n\t\t\t\tetyourName.setError(null);\n\t\t\t\tetyourEmail.setError(null);\n\t\t\t\tetyourFeedback.setError(null);\n\t\t\t\tif (hasFocus) {\n\t\t\t\t\tif (etyourName.getText().length() != 0) {\n\n\t\t\t\t\t\tetyourName.setError(null);\n\t\t\t\t\t}\n\n\t\t\t\t}\n\n\t\t\t}\n\t\t});\n\t\tetyourEmail.setOnFocusChangeListener(new OnFocusChangeListener() {\n\t\t\t@Override\n\t\t\tpublic void onFocusChange(View rv, boolean hasFocus) {\n\n\t\t\t\tetyourName.setError(null);\n\t\t\t\tetyourEmail.setError(null);\n\t\t\t\tetyourFeedback.setError(null);\n\n\t\t\t}\n\t\t});\n\t\tetyourFeedback.setOnFocusChangeListener(new OnFocusChangeListener() {\n\t\t\t@Override\n\t\t\tpublic void onFocusChange(View rv, boolean hasFocus) {\n\n\t\t\t\tetyourName.setError(null);\n\t\t\t\tetyourEmail.setError(null);\n\t\t\t\tetyourFeedback.setError(null);\n\n\t\t\t}\n\t\t});\n\n\t\tetyourName.setOnClickListener(new OnClickListener() {\n\n\t\t\t@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\tetyourName.setError(null);\n\t\t\t}\n\t\t});\n\t\tetyourEmail.setOnClickListener(new OnClickListener() {\n\n\t\t\t@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\tetyourEmail.setError(null);\n\t\t\t}\n\t\t});\n\t\tetyourFeedback.setOnClickListener(new OnClickListener() {\n\n\t\t\t@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\tetyourFeedback.setError(null);\n\t\t\t}\n\t\t});\n\t}", "private void ValidateEditTextFields() {\n\tfor (int i = 0; i < etArray.length; i++) {\n\t if (etArray[i].getText().toString().trim().length() <= 0) {\n\t\tvalidCustomer = false;\n\t\tetArray[i].setError(\"Blank Field\");\n\t }\n\t}\n\n\tif (etPhoneNumber.getText().length() != 11) {\n\t validCustomer = false;\n\t etPhoneNumber.setError(\"Invalid Phone Number\");\n\t}\n\n\tif (etEmergencyNumber.getText().length() != 11) {\n\t validCustomer = false;\n\t etEmergencyNumber.setError(\"Invalid Phone Number\");\n\t}\n\n\tif (calendarDob == null) {\n\t validCustomer = false;\n\t}\n }", "@Override\r\n\t\t\tpublic void afterTextChanged(Editable s) {\n\t\t\t\tcheckInput();\r\n\t\t\t}", "private void check_displaysError() {\n onView(withId(R.id.title))\n .check(matches(withText(R.string.input_title_error)));\n onView(withId(R.id.subtitle))\n .check(matches(withText(R.string.input_subtitle_error)));\n\n // And the button to be labeled try again\n onView(withId(R.id.hint))\n .check(matches(isDisplayed()))\n .check(matches(withText(R.string.input_hint_error)));\n }", "private boolean validateInputInfo(){\n\n //Get user input\n String firstName = newContactFirstName.getText().toString();\n String lastName = newContactLastName.getText().toString();\n String email = newContactEmailAddress.getText().toString();\n String phone = newContactPhoneNumber.getText().toString();\n\n //Check to make sure no boxes were left empty\n if(firstName.isEmpty() || lastName.isEmpty() || email.isEmpty() || phone.isEmpty()){\n Toast.makeText(this, \"You must fill all fields before continuing!\", Toast.LENGTH_LONG).show();\n return false;\n }\n //Check to see if phone number is valid\n else if(!(phone.length() >= 10)){\n Toast.makeText(this, \"Make sure to input a valid 10 digit phone number!\", Toast.LENGTH_LONG).show();\n return false;\n }\n\n return true;\n }", "@Test\n public void weakPassword(){\n onView(withId(R.id.editText)).perform(clearText(), typeText(\"password\"),closeSoftKeyboard());\n onView(withId(R.id.button)).perform(click());\n // Assert equals textView text\n onView(withId(R.id.textView)).check(matches(withText(\"Not strong\")));\n }", "@Test\n public void checkElements() {\n mActivityTestRule.launchActivity(intentForWeb()); // launch the activity with the intent\n\n onWebView().check(webContent(hasElementWithId(\"email_input\")));\n onWebView().check(webContent(hasElementWithId(\"password_input\")));\n onWebView().check(webContent(hasElementWithId(\"submit_button\")));\n }", "private boolean isValidInput() {\n\t\treturn true;\n\t}", "public boolean validate() {\n String sDayCheck = sDayView.getText().toString();\n String eDayCheck = eDayView.getText().toString();\n String sTimeCheck = sTimeView.getText().toString();\n String eTimeCheck = eTimeView.getText().toString();\n\n if ((titleView.getText().toString().matches(\"\")) || (roomView.getText().toString().matches(\"\"))) {\n Toast.makeText(getApplicationContext(),\"Please fill in all fields.\",Toast.LENGTH_SHORT).show();\n return false;\n }\n\n if ((sDayCheck.length() != 10) ||\n (eDayCheck.length() != 10) ||\n (sTimeCheck.length() != 5) ||\n (eTimeCheck.length() != 5)) {\n Toast.makeText(getApplicationContext(),\"Please check your Date and Time fields.\",Toast.LENGTH_SHORT).show();\n return false;\n } else if ((sDayCheck.charAt(2) != '/') || (sDayCheck.charAt(5) != '/') ||\n (eDayCheck.charAt(2) != '/') || (eDayCheck.charAt(5) != '/')) {\n Toast.makeText(getApplicationContext(), \"Please check your Date fields.\", Toast.LENGTH_SHORT).show();\n return false;\n } else if ((sTimeCheck.charAt(2) != ':') || (eTimeCheck.charAt(2) != ':')) {\n Toast.makeText(getApplicationContext(), \"Please check your Time fields.\", Toast.LENGTH_SHORT).show();\n return false;\n }\n if (!endDateAfter(sDayCheck, eDayCheck)) {\n Toast.makeText(getApplicationContext(), \"End date must be on or after the Start date.\", Toast.LENGTH_SHORT).show();\n return false;\n }\n if (!endTimeAfter(sTimeCheck, eTimeCheck)) {\n Toast.makeText(getApplicationContext(), \"End time must be on or after the Start time.\", Toast.LENGTH_SHORT).show();\n return false;\n }\n if (isOutOfDate(eDayCheck)) {\n Toast.makeText(getApplicationContext(), \"End date must be on or after Today's Date.\", Toast.LENGTH_SHORT).show();\n return false;\n }\n return true;\n }", "private boolean validFormInputs() {\n String email = etEmail.getText().toString();\n String password = etPassword.getText().toString();\n String institutionName = etInstitutionName.getText().toString();\n String addressFirst = etInstitutionAddressFirst.getText().toString();\n String addressSecond = etInstitutionAddressSecond.getText().toString();\n String CIF = etCIF.getText().toString();\n\n String[] allInputs = {email, password, institutionName, addressFirst, addressSecond, CIF};\n for (String currentInput : allInputs) {\n if (currentInput.matches(\"/s+\")) // Regex pt cazul cand stringul e gol sau contine doar spatii\n return false; // formular invalid - toate inputurile trebuie sa fie completate\n }\n String[] stringsAddressFirst = addressFirst.split(\",\");\n String[] stringsAddressSecond = addressSecond.split(\",\");\n if (stringsAddressFirst.length != 4 ||\n stringsAddressSecond.length != 3)\n return false;\n\n //<editor-fold desc=\"Checking if NUMBER and APARTMENT are numbers\">\n try {\n Integer.parseInt(stringsAddressSecond[0]);\n Integer.parseInt(stringsAddressSecond[2]);\n return true; // parsed successfully without throwing any parsing exception from string to int\n }catch (Exception e) {\n Log.v(LOG_TAG, \"Error on converting input to number : \" + e);\n return false; // parsed unsuccessfully - given strings can not be converted to int\n }\n //</editor-fold>\n }", "private boolean isEditValid ()\r\n\t{\r\n\t\ttry\r\n\t\t{\r\n\t\t\tint value = Integer.parseInt (super.getText ());\r\n\t\t\tboolean isValid = isInsideValidRange (value);\r\n\r\n\t\t\tif (isValid)\r\n\t\t\t{\r\n\t\t\t\tcommitEdit (value);\r\n\t\t\t}\r\n\r\n\t\t\treturn (isValid);\r\n\t\t}\r\n\t\tcatch (NumberFormatException e)\r\n\t\t{\r\n\t\t\t// Parse failed; therefore invalid\r\n\t\t\treturn (false);\r\n\t\t}\r\n\t}", "@Override\n public void onClick(View v) {\n validateUserInputs();\n }", "private void m50374a(EditText editText, String str) {\n editText.requestFocus();\n editText.setError(str);\n editText.setSelection(editText.getText().toString().trim().length());\n this.f30728a.mo23668v0();\n }", "@Test\n public void seeInfoAboutAisleFromSearch(){\n String itemTest = \"Potatoes\";\n String aisleCheck = \"Aisle: 2\";\n String aisleDescriptionCheck = \"Aisle Description: Between Aisle 1 and Frozen Aisle\";\n onView(withId(R.id.navigation_search)).perform(click());\n onView(withId(R.id.SearchView)).perform(typeText(itemTest));\n onData(anything()).inAdapterView(withId(R.id.myList)).atPosition(0).perform(click());\n onView(withText(\"VIEW MORE INFORMATION\")).perform(click());\n onView(withId(android.R.id.message)).check(matches(allOf(withSubstring(aisleCheck), isDisplayed())));\n onView(withId(android.R.id.message)).check(matches(allOf(withSubstring(aisleDescriptionCheck), isDisplayed())));\n onView(withText(\"OK\")).perform(click());\n }", "boolean isEmpty(EditText text){\n CharSequence check = text.getText().toString().trim();\n return TextUtils.isEmpty(check);\n }", "@UiThreadTest\r\n public void testValidationUnique() {\n View addProjectValidateRequired = solo.getView(R.id.projectname_required);\r\n View addProjectValidateUnique = solo.getView(R.id.projectname_unique);\r\n assertEquals(\"The validation error message 'required' should be gone\", View.GONE, addProjectValidateRequired.getVisibility());\r\n assertEquals(\"The validation error message 'unique' should be gone\", View.GONE, addProjectValidateUnique.getVisibility());\r\n\r\n // Enter the name of the default project that is already in use...\r\n EditText addProjectName = (EditText) solo.getView(R.id.projectname);\r\n solo.enterText(addProjectName, getActivity().getString(R.string.default_project_name));\r\n\r\n takeScreenshot();\r\n\r\n ActionBar.clickMenuItem(R.id.menu_add_project_activity_save, solo.getCurrentActivity());\r\n solo.assertCurrentActivity(\"The add/edit project activity is expected\", AddEditProjectActivity.class);\r\n addProjectValidateRequired = solo.getView(R.id.projectname_required);\r\n addProjectValidateUnique = solo.getView(R.id.projectname_unique);\r\n assertEquals(\"The validation error message 'required' should be gone\", View.GONE, addProjectValidateRequired.getVisibility());\r\n assertEquals(\"The validation error message 'unique' should be visible\", View.VISIBLE, addProjectValidateUnique.getVisibility());\r\n }", "private boolean validate(){\n\n String MobilePattern = \"[0-9]{10}\";\n String name = String.valueOf(userName.getText());\n String number = String.valueOf(userNumber.getText());\n\n\n if(name.length() > 25){\n Toast.makeText(getApplicationContext(), \"pls enter less the 25 characher in user name\",\n Toast.LENGTH_SHORT).show();\n return true;\n }\n\n\n\n else if(name.length() == 0 || number.length() == 0 ){\n Toast.makeText(getApplicationContext(), \"pls fill the empty fields\",\n Toast.LENGTH_SHORT).show();\n return false;\n }\n\n\n\n else if(number.matches(MobilePattern))\n {\n\n return true;\n }\n else if(!number.matches(MobilePattern))\n {\n Toast.makeText(getApplicationContext(), \"Please enter valid 10\" +\n \"digit phone number\", Toast.LENGTH_SHORT).show();\n\n\n return false;\n }\n\n return false;\n\n }", "private boolean isEmptyField (EditText editText){\n boolean result = editText.getText().toString().length() <= 0;\n if (result)\n Toast.makeText(UserSignUp.this, \"Fill all fields!\", Toast.LENGTH_SHORT).show();\n return result;\n }", "@Override\n public boolean onKey(View v, int keyCode, KeyEvent event) {\n switch (v.getId()) {\n case R.id.merchantET:\n if (_merchantET.getText().length() >= 30)\n Toast.makeText(getApplicationContext(), \"Please only input up to 30 characters.\",\n Toast.LENGTH_SHORT).show();\n return false;\n case R.id.descET:\n if (_descET.getText().length() >= 80)\n Toast.makeText(getApplicationContext(), \"Please only input up to 80 characters.\",\n Toast.LENGTH_SHORT).show();\n return false;\n }\n return false;\n }", "private boolean getValidation() {\n strLoginMail = inputLoginMail.getText().toString().trim();\n strLoginPass = inputLoginPass.getText().toString().trim();\n\n if (strLoginMail.isEmpty()) { // Check Email Address\n inputLoginMail.setError(getString(dk.eatmore.demo.R.string.email_blank));\n inputLoginMail.requestFocus();\n return false;\n } else if (!isValidEmail(strLoginMail)) {\n inputLoginMail.setError(getString(dk.eatmore.demo.R.string.invalid_email));\n inputLoginMail.requestFocus();\n return false;\n } else if (strLoginPass.isEmpty()) { // Check Password\n inputLoginPass.setError(getString(dk.eatmore.demo.R.string.password_empty));\n inputLoginPass.requestFocus();\n return false;\n }\n\n return true;\n }", "public boolean validate() {\n boolean valid = true;\n //Is mName ET not empty and fit mName requirements\n if (mValidation.isInputEditTextFilled(mNameText, getString(R.string.name_empty))) {\n if (!mValidation.isInputEditTextName(mNameText, getString(R.string.name_empty))) {\n valid = false;\n }\n } else {\n valid = false;\n }\n //Is mEmail ET not empty and fit mEmail requirements\n if (mValidation.isInputEditTextFilled(mEmailText, getString(R.string.email_empty))) {\n if (!mValidation.isInputEditTextEmail(mEmailText, getString(R.string.enter_valid_email))) {\n valid = false;\n }\n } else {\n valid = false;\n }\n //Is mPassword ET not empty and fit mPassword requirements\n if (mValidation.isInputEditTextFilled(mPasswordText, getString(R.string.password_empty))) {\n if (!mValidation.isInputEditTextPassword(mPasswordText, getString(R.string.password_requirements))) {\n valid = false;\n }\n } else {\n valid = false;\n }\n //Is confirmPassword ET not empty and fit confirmPassword requirements\n if (mValidation.isInputEditTextFilled(mConfirmPasswordText, getString(R.string.password_confirmation_empty))) {\n if (!mValidation.isInputEditTextMatches(mPasswordText, mConfirmPasswordText, getString(R.string.password_doesnt_match))) {\n valid = false;\n }\n } else {\n valid = false;\n }\n return valid;\n }", "@Test\n public void mainActivityTest() {\n ViewInteraction appCompatEditText = onView(\n allOf(withId(R.id.edt_username),\n childAtPosition(\n childAtPosition(\n withClassName(is(\"android.support.design.widget.TextInputLayout\")),\n 0),\n 0),\n isDisplayed()));\n /** Typing the username in the field identified above */\n appCompatEditText.perform(replaceText(\"whiteelephant261\"), closeSoftKeyboard());\n\n /** Ensuring that the EditText username is displayed */\n ViewInteraction appCompatEditText2 = onView(\n allOf(withId(R.id.edt_password),\n childAtPosition(\n childAtPosition(\n withClassName(is(\"android.support.design.widget.TextInputLayout\")),\n 0),\n 0),\n isDisplayed()));\n /** Typing the password in the field identified above */\n appCompatEditText2.perform(replaceText(\"video1\"), closeSoftKeyboard());\n\n /** Searching for the LOGIN button */\n ViewInteraction appCompatButton = onView(\n allOf(withId(R.id.btn_login), withText(\"Login\"),\n childAtPosition(\n childAtPosition(\n withId(android.R.id.content),\n 0),\n 2),\n isDisplayed()));\n /** Click on the LOGIN button */\n appCompatButton.perform(click());\n\n /** Waiting for the next screen to be displayed */\n SystemClock.sleep(3000);\n\n /** Ensuring that the text search EditText is displayed */\n ViewInteraction appCompatAutoCompleteTextView = onView(\n allOf(withId(R.id.textSearch),\n childAtPosition(\n allOf(withId(R.id.searchContainer),\n childAtPosition(\n withClassName(is(\"android.support.design.widget.CoordinatorLayout\")),\n 1)),\n 0),\n isDisplayed()));\n\n /** Typing the value \"sa\" */\n appCompatAutoCompleteTextView.perform(typeText(\"sa\"), closeSoftKeyboard());\n /** Waiting for the options list to be displayed */\n SystemClock.sleep(3000);\n\n /*\n // The code below was generated by ESPRESSO recorder, however it didn't work for me.\n // I replaced onData by onView (See code block below)\n\n DataInteraction appCompatTextView = onData(anything())\n .inAdapterView(childAtPosition(\n withClassName(is(\"android.widget.PopupWindow$PopupBackgroundView\")),\n 0))\n .atPosition(2);\n appCompatTextView.perform(click());*/\n\n\n /*onData(allOf(is(instanceOf(String.class)), is(\"Sarah Friedrich\"))) // Use Hamcrest matchers to match item\n .inAdapterView(withId(R.id.searchContainer)) // Specify the explicit id of the ListView\n .perform(click());*/\n /** Ensuring that the search option is displayed */\n onView(withText(\"Sarah Friedrich\"))\n .inRoot(withDecorView(not(is(mActivity.getWindow().getDecorView()))))\n .check(matches(isDisplayed()));\n\n /** Selecting the search option is displayed */\n onView(withText(\"Sarah Friedrich\"))\n .inRoot(withDecorView(not(is(mActivity.getWindow().getDecorView()))))\n .perform(click());\n\n\n /** Waiting for the next screen to be displayed */\n SystemClock.sleep(3000);;\n\n /** Ensuring that the callbutton is displayed */\n ViewInteraction floatingActionButton = onView(\n allOf(withId(R.id.fab),\n childAtPosition(\n childAtPosition(\n withId(android.R.id.content),\n 0),\n 2),\n isDisplayed()));\n /** Selecting the call button */\n floatingActionButton.perform(click());\n\n }", "@Test\n public void test() {\n onView(withId(R.id.textViewNote)).check(matches(withText(\"\")));\n\n // click on the button\n onView(withId(R.id.buttonTypeSomething))\n .check(matches(withText(R.string.button_text))).perform(click());\n\n // check if the note has changed\n onView(withId(R.id.textViewNote)).check(matches(withText(R.string.note)));\n }", "@Test\n public void BnotMatchPass () {\n onView(withId(R.id.username)).check(matches(isDisplayed()));\n //enter correct past password\n onView(withId(R.id.oldPassword)).perform(typeText(\"00000000\"));\n //close keyboard\n closeSoftKeyboard();\n //enter new pass\n onView(withId(R.id.newPassword)).perform(typeText(\"serene00\"));\n //close keyboard\n closeSoftKeyboard();\n //enter diff new pass\n onView(withId(R.id.reNewPassword)).perform(typeText(\"passwoord77\"));\n //close keyboard\n closeSoftKeyboard();\n //click the save button\n onView(withId(R.id.save)).perform(click());\n // check toast visibility\n onView(withText(R.string.passwordMatch))\n .inRoot(new ToastMatcher())\n .check(matches(withText(R.string.passwordMatch)));\n //check activity still shown\n assertFalse(activityTestRule.getActivity().isFinishing());\n }", "private boolean validateInputs() {\n question = txtQuestion.getText().trim();\n option1 = txtOption1.getText().trim();\n option2 = txtOption2.getText().trim();\n option3 = txtOption3.getText().trim();\n option4 = txtOption4.getText().trim();\n correctOption = jcCorrectAns.getSelectedItem().toString();\n //System.out.println(correctOption);\n if(question.isEmpty() || option1.isEmpty() || option2.isEmpty() || \n option3.isEmpty() || option4.isEmpty() || correctOption.isEmpty()){\n return false;\n }\n return true;\n }", "boolean isInputValid(){\n\t\tString ac = edAccount.getText().toString();\n\t\tString pwd = edPassword.getText().toString();\n\t\tboolean isAccEmpty = StringUtil.isNullOrEmpty(ac);\n\t\tboolean isPwdEmpty = StringUtil.isNullOrEmpty(pwd);\n\t\tif(isAccEmpty){\n\t\t\tedAccount.requestFocus();\n\t\t}else if(isPwdEmpty){\n\t\t\tedPassword.requestFocus();\n\t\t}\n\t\treturn !( isAccEmpty|| isPwdEmpty);\n\t}", "private boolean checkForWrongInput(){\n if(this.studentCode.getText().isEmpty())\n return true;\n //Check for length\n if(this.studentCode.getText().length() != 3)\n return true;\n //Check for invalid characters\n for(char c: this.studentCode.getText().toCharArray())\n if(!Character.isDigit(c))\n return true;\n\n return false;\n }", "@Test\r\n public void passConText() {\r\n onView(withId(R.id.edPassConReg)).perform(typeText(\"hey\"));\r\n }", "@Override\r\n public void afterTextChanged(Editable arg0) {\n if (mVehicleCode.equals(\"苏\") && arg0.length() > 0\r\n && arg0.toString().substring(0, 1).equals(\"E\")) {\r\n mVehicleFrameNumLL.setVisibility(View.VISIBLE);\r\n mVehicleEngineNumLL.setVisibility(View.GONE);\r\n mVehicleFrameNumET.setHint(\"请输入车架号后7位\");\r\n mVehicleFrameNumET\r\n .setFilters(new InputFilter[]{new InputFilter.LengthFilter(\r\n 7)});\r\n } else if (mVehicleCode.equals(\"苏\") && arg0.length() > 0\r\n && !arg0.toString().substring(0, 1).equals(\"E\")) {\r\n mVehicleEngineNumLL.setVisibility(View.VISIBLE);\r\n mVehicleFrameNumLL.setVisibility(View.GONE);\r\n mVehicleEngineNumET.setHint(\"请输入发动机号后6位\");\r\n mVehicleEngineNumET\r\n .setFilters(new InputFilter[]{new InputFilter.LengthFilter(\r\n 6)});\r\n }\r\n }", "private void onTextChangeListener()\n {\n final Drawable icon = getResources().getDrawable(R.drawable.icon_done);\n icon.setBounds(0,0,icon.getIntrinsicWidth(),icon.getIntrinsicHeight());\n\n eName.addTextChangedListener(new TextWatcher() {\n @Override\n public void beforeTextChanged(CharSequence s, int start, int count, int after) {}\n @Override\n public void onTextChanged(CharSequence s, int start, int before, int count) {}\n\n @Override\n public void afterTextChanged(Editable s) {\n boolean flag = true;\n if(eName.getText().toString().length()<3||eName.getText().toString().length()>20)\n eName.setError(\"Invalid\");\n else\n {\n for(int i=0;i<eName.length();i++)\n {\n if(((eName.getText().toString().charAt(i)>='a')&&(eName.getText().toString().charAt(i)<='z'))||\n ((eName.getText().toString().charAt(i)>='A')&&(eName.getText().toString().charAt(i)<='Z'))||\n eName.getText().toString().charAt(i)==' '||eName.getText().toString().charAt(i)==':'||eName.getText().toString().charAt(i)=='.'||eName.getText().toString().charAt(i)=='_')\n eName.setError(\"Valid\",icon);\n else flag = false;\n }\n if(!flag)eName.setError(\"Invalid\");\n }\n }\n });\n\n eUserName.addTextChangedListener(new TextWatcher() {\n @Override\n public void beforeTextChanged(CharSequence s, int start, int count, int after) {}\n @Override\n public void onTextChanged(CharSequence s, int start, int before, int count) {}\n\n @Override\n public void afterTextChanged(Editable s) {\n if(eUserName.getText().toString().length()<5||eUserName.getText().toString().length()>15)\n eUserName.setError(\"invalid\");\n else\n eUserName.setError(\"Valid\",icon);\n }\n });\n\n eEmail.addTextChangedListener(new TextWatcher() {\n @Override\n public void beforeTextChanged(CharSequence s, int start, int count, int after) {}\n\n @Override\n public void onTextChanged(CharSequence s, int start, int before, int count) {}\n\n @Override\n public void afterTextChanged(Editable s) {\n boolean flag = true;\n if(!eEmail.getText().toString().contains(\"@\"))\n flag = false;\n else\n {\n String[] email = eEmail.getText().toString().split(\"@\");\n if(email[0].length()<3||email[0].length()>30)\n flag = false;\n }\n\n if(flag)\n eEmail.setError(\"Valid\",icon);\n else\n eEmail.setError(\"invalid\");\n }\n });\n\n\n eAddress.addTextChangedListener(new TextWatcher() {\n @Override\n public void beforeTextChanged(CharSequence s, int start, int count, int after) {}\n\n @Override\n public void onTextChanged(CharSequence s, int start, int before, int count) {}\n\n @Override\n public void afterTextChanged(Editable s) {\n if(eAddress.getText().toString().length()<10||eAddress.getText().toString().length()>30)\n eAddress.setError(\"invalid\");\n else eAddress.setError(\"Valid\",icon);\n }\n });\n\n ePassword.addTextChangedListener(new TextWatcher() {\n @Override\n public void beforeTextChanged(CharSequence s, int start, int count, int after) {}\n\n @Override\n public void onTextChanged(CharSequence s, int start, int before, int count) {}\n\n @Override\n public void afterTextChanged(Editable s) {\n if(ePassword.getText().toString().length()<6||eAddress.getText().toString().length()>15)\n ePassword.setError(\"invalid\");\n else ePassword.setError(\"Valid\",icon);\n if(ePassword.getText().toString().length()>=6&&ePassword.getText().toString().length()<=9)\n txtPassErr.setText(\"Too short\");\n else if(ePassword.getText().toString().length()>=10&&ePassword.getText().toString().length()<=13)\n {\n txtPassErr.setText(\"Medium\");\n txtPassErr.setTextColor(Color.parseColor(\"#00E676\"));\n }\n else if(ePassword.getText().toString().length()>=14&&ePassword.getText().toString().length()<=15)\n {\n txtPassErr.setText(\"Strong\");\n txtPassErr.setTextColor(Color.parseColor(\"#00E676\"));\n }\n }\n });\n\n eFavourite.addTextChangedListener(new TextWatcher() {\n @Override\n public void beforeTextChanged(CharSequence s, int start, int count, int after) {}\n\n @Override\n public void onTextChanged(CharSequence s, int start, int before, int count) {}\n\n @Override\n public void afterTextChanged(Editable s) {\n if(eFavourite.getText().toString().length()<4||eFavourite.getText().toString().length()>15)\n eFavourite.setError(\"invalid\");\n else\n eFavourite.setError(\"Valid\",icon);\n }\n });\n }", "private boolean validate() {\n if(edtMobileNumber.getText().toString().length() <= 0){\n edtMobileNumber.setFocusable(true);\n edtMobileNumber.setError(Constants.ERR_MSG_MOBILE);\n return false;\n }else if(edtFirstName.getText().toString().length() <= 0){\n edtFirstName.setFocusable(true);\n edtFirstName.setError(Constants.ERR_MSG_FIRST_NAME);\n return false;\n }else if(edtLastName.getText().toString().length() <= 0){\n edtLastName.setFocusable(true);\n edtLastName.setError(Constants.ERR_MSG_LAST_NAME);\n return false;\n }else if(edtDateOfBirth.getText().toString().length() <= 0){\n edtDateOfBirth.setFocusable(true);\n edtDateOfBirth.setError(Constants.ERR_MSG_DATE_OF_BIRTH);\n return false;\n }else if(edtEnterPin.getText().toString().length() <= 0){\n edtEnterPin.setFocusable(true);\n edtEnterPin.setError(Constants.ERR_MSG_PIN);\n return false;\n }else if(edtConfirmPin.getText().toString().length() <= 0){\n edtConfirmPin.setFocusable(true);\n edtConfirmPin.setError(Constants.ERR_MSG_CONFIRM_PIN);\n return false;\n }else if(spnStatus.getSelectedItemPosition() == 0){\n Toast.makeText(context, Constants.ERR_MSG_STATUS, Toast.LENGTH_SHORT).show();\n return false;\n }else if(spnBloodGroup.getSelectedItemPosition() == 0){\n Toast.makeText(context, Constants.ERR_MSG_BLOOD_GROUP, Toast.LENGTH_SHORT).show();\n return false;\n }else if(rgGender.getCheckedRadioButtonId() == -1){\n Toast.makeText(context,Constants.ERR_MSG_GENDER,Toast.LENGTH_SHORT).show();\n return false;\n }\n return true;\n }", "public static void InputText(final Activity context, String title,String desc, String hintText, final InputResultListener listener)\n {\n final EditText input =new EditText(context);\n input.setHint(hintText);\n\n AlertDialog.Builder builder = new AlertDialog.Builder(context);\n builder.setTitle(title);\n builder.setMessage(desc);\n builder.setView(input);\n\n\n // Set up the buttons\n builder.setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n\n\n InputMethodManager imm = (InputMethodManager)context.getSystemService(Context.INPUT_METHOD_SERVICE);\n imm.hideSoftInputFromWindow(input.getWindowToken(), 0);\n dialog.dismiss();\n String result = input.getText().toString();\n\n // MainActivity mainActivity = new MainActivity(); //MainActivity에 있는 mTodayMessageButton 과 mViewTodayMessageDivider를 전역으로 불러오기 위해서 생성.\n//\n// if(result.length() == 0) //입력된 텍스트가 하나도 없다면\n// {\n// //result = \"오늘의 화이팅 한마디\";\n// //mainActivity.txtTodayMessage.setTextColor(Color.parseColor(\"#c0c0c0\"));\n// mainActivity.mViewTodayMessageDivider.setVisibility(View.VISIBLE);\n// mainActivity.mTodayMessageButton.setVisibility(View.VISIBLE); // 오늘의 한미디 편집 아이콘 상시 노출로 수정[2019.10.17 테일러]\n// }\n// else //입력된 텍스트가 하나라도 있다면\n// {\n// mainActivity.txtTodayMessage.setTextColor(Color.parseColor(\"#ffffff\")); // 텍스트의 색상을 하얀색으로 변경\n// mainActivity.mViewTodayMessageDivider.setVisibility(View.INVISIBLE);\n// mainActivity.mTodayMessageButton.setVisibility(View.VISIBLE);\n// }\n\n listener.onInputText(result);\n\n //input.clearFocus();\n //SystemUtils.hideSoftKeyboard(context);\n\n }\n });\n\n builder.setNegativeButton(android.R.string.cancel, new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n\n InputMethodManager imm = (InputMethodManager)context.getSystemService(Context.INPUT_METHOD_SERVICE);\n imm.hideSoftInputFromWindow(input.getWindowToken(), 0);\n\n dialog.cancel();\n\n //input.clearFocus();\n //SystemUtils.hideSoftKeyboard(context);\n }\n });\n\n builder.show();\n }", "public boolean validateInput(String title) {\n \t\n \tboolean valid = true;\n \tString error = \"\";\n \t\n \tif(title.equals(\"\")) {\n \t\terror += \"Invalid title\";\n \t\tvalid = false;\n \t}else if(currentTaskItems.size() == 0) {\n \t\terror += \"Please attach an item to your task\";\n \t\tvalid = false;\n \t}else if(!propertiesGrabbed) {\n \t\terror += \"Please enter the tasks properties\";\n \t\tvalid = false;\n \t}\n \t\n \t//if valid return else toast\n \tif(valid){\n \t\treturn true;\n \t}else{\n\n \t\tContext context = getApplicationContext();\n \t\tToast toast = Toast.makeText(context, error, Toast.LENGTH_SHORT);\n \t\ttoast.show();\n \t\treturn false;\n \t}\n }" ]
[ "0.65922177", "0.63032573", "0.6287078", "0.62742794", "0.6216507", "0.6137836", "0.6126639", "0.61027503", "0.60817575", "0.6054146", "0.60510087", "0.60339195", "0.60140866", "0.60086316", "0.6002291", "0.6001106", "0.5979219", "0.5961128", "0.59559417", "0.5954053", "0.59337115", "0.5920522", "0.590462", "0.59029627", "0.58917534", "0.58883274", "0.58776665", "0.5859595", "0.58535105", "0.5852487", "0.58183205", "0.58031666", "0.5802007", "0.58007306", "0.5795768", "0.5792021", "0.5789101", "0.5787221", "0.5763371", "0.5762404", "0.5757301", "0.5752076", "0.57401085", "0.57369196", "0.57354903", "0.5729269", "0.5725814", "0.5725672", "0.5707047", "0.5700532", "0.5698406", "0.569711", "0.5695133", "0.5694093", "0.5692595", "0.5681374", "0.56726056", "0.5670947", "0.5659187", "0.5656049", "0.5646023", "0.5638186", "0.5635002", "0.5634812", "0.56331617", "0.56289166", "0.5617857", "0.56060463", "0.56055415", "0.5600726", "0.55972224", "0.55825174", "0.55814034", "0.5578241", "0.557734", "0.5576268", "0.5572802", "0.5568712", "0.5563135", "0.55567855", "0.5554106", "0.5549796", "0.55452514", "0.55452514", "0.5542956", "0.553803", "0.553661", "0.5536413", "0.55362403", "0.5526443", "0.5519487", "0.55182165", "0.5516163", "0.55049217", "0.55034333", "0.5502122", "0.5493531", "0.5492559", "0.5487905", "0.5477696" ]
0.7881735
0
Test friends ListView show filtered friends
@Test public void friendsListViewFilterTest(){ onView(withId(R.id.network_input_research)) .perform(typeText(INPUT_TEXT)); onData(allOf(is(instanceOf(BasicItem.class)),withText(INPUT_TEXT))); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void populateFriendsListView(List<ParseUser> userFriends) {\n\t\tfriendsList.clear();\n\t\tfacebookIdFirstNameMap.clear();\n\t\tfor(ParseUser friend : userFriends){\n\t\t\tString imageUrl = String.format(StealTheCheeseApplication.FRIEND_CHEESE_COUNT_PIC_URL, friend.getString(\"facebookId\"));\n\t\t\tfriendsList.add(new PlayerViewModel(friend.getString(\"facebookId\"), \n\t\t\t\t\t\t\t\t\t\t\t\timageUrl,\n\t\t\t\t\t\t\t\t\t\t\t\tlocalCountMap.get(friend.getString(\"facebookId\")), \n\t\t\t\t\t\t\t\t\t\t\t\tlocalShowMeMap.get(friend.getString(\"facebookId\")),\n\t\t\t\t\t\t\t\t\t\t\t\tfalse));\n\t\t\t\n\t\t\tfacebookIdFirstNameMap.put(friend.getString(\"facebookId\"), friend.getString(\"firstName\"));\n\t\t}\n\t\t\n\t\tCollections.sort(friendsList, chain);\n\t\tfriendsListAdapter.notifyDataSetChanged(); \n\t}", "@Override\n public int getItemCount() {\n return friends.length;\n }", "@Override\r\n\tpublic int getCount() {\n\t\treturn friends == null ? 0 : friends.size();\r\n\t}", "public void friendsButtonClicked(View view) {\n\n friendsDialog.setContentView(R.layout.friends_popup);\n\n friendsListView = (ListView) friendsDialog.findViewById(R.id.lw_friends);\n final ArrayAdapter<String> friendsArrayAdapter = new ArrayAdapter<String>(this, R.layout.list_white_text, mFriendsName);\n friendsListView.setAdapter(friendsArrayAdapter);\n\n // Parse only current users friends list.\n userRef.child(getCurrentUserId()).child(\"friends\").addValueEventListener(new ValueEventListener() {\n @Override\n public void onDataChange(@NonNull DataSnapshot dataSnapshot) {\n mFriendsName.clear();\n if (dataSnapshot.exists()) {\n for (DataSnapshot ds : dataSnapshot.getChildren()) {\n mFriendsName.add(ds.getKey());\n mFriendsId.add(ds.getValue(String.class));\n friendsArrayAdapter.notifyDataSetChanged();\n }\n }\n }\n\n @Override\n public void onCancelled(@NonNull DatabaseError databaseError) {\n\n }\n });\n\n // Open friends profile page.\n friendsListView.setOnItemClickListener(new AdapterView.OnItemClickListener() {\n @Override\n public void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n friendsDialog.setContentView(R.layout.friend_profile_popup);\n friendProfilePopUp(view,position);\n\n }\n\n });\n\n friendsDialog.show();\n }", "@Test\n public void testFilter(){\n openActionBarOverflowOrOptionsMenu(getInstrumentation().getTargetContext());\n\n onView(withText(\"Filtrer par salle\")).perform(click());\n onData(anything()).atPosition(0).perform(click());\n\n Meeting meeting = meetingApiService.getMeetingByRoom(MeetingRoom.A).get(0);\n onView(withId(R.id.mainRecyclerView)).check(matches(atPosition(index, hasDescendant(withText(meeting.getMeetingInfos())))));\n\n openActionBarOverflowOrOptionsMenu(getInstrumentation().getTargetContext());\n onView(withText(\"Reinitialiser\")).perform(click());\n onView(allOf(withId(R.id.mainRecyclerView), hasFocus())).check(RecyclerViewItemCountAssertion.withItemCount(itemsCount-1));\n }", "private void showPeopleList() {\n\t\t// If we do not have network, show an error\n\t\tif(! NetworkUtils.isOnline(getActivity())) {\n\t\t\tLog.i(m_fragmentName, \"showPeopleList() - Cannot show people's list because Network is Not Available\");\n\t\t\t\n\t\t\tfinal String title = getStringFromResources(R.string.error);\n\t\t\tfinal String message = getStringFromResources(R.string.noNetwork);\n\t\t\tif (m_uiUpdater != null) {\n\t\t\t\tm_uiUpdater.showAlert(title, message);\n\t\t\t}\n\t\t\t\n\t\t\t// Show Login UI\n\t\t\tif(m_uiUpdater != null) {\n\t\t\t\tm_uiUpdater.showLoginUi();\n\t\t\t}\n\t\t}\n\t\t\n\t\t// If this Fragment is attached\n\t\tif (m_fragmentAttached.get() && getArguments() != null) {\n\t\t\t// Get the friend data from Bundle\n\t\t\tList<PersonInCircle> personInCircleData = getArguments()\n\t\t\t\t\t.getParcelableArrayList(PEOPLE_IN_CIRCLE_DATA_KEY);\n\n\t\t\tif (personInCircleData != null && personInCircleData.size() > 0) {\n\t\t\t\tm_lvFriendsList.setVisibility(View.VISIBLE);\n\n\t\t\t\t// Update the data\n\t\t\t\tm_personAdapter.updateData(personInCircleData);\n\t\t\t}\n\n\t\t\telse {\n\t\t\t\tm_lvFriendsList.setVisibility(View.INVISIBLE);\n\n\t\t\t\tfinal String title = getStringFromResources(R.string.warning);\n\t\t\t\tfinal String message = getStringFromResources(R.string.emptyPeopleList);\n\t\t\t\tif (m_uiUpdater != null) {\n\t\t\t\t\tm_uiUpdater.showAlert(title, message);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\telse {\n\t\t\tm_lvFriendsList.setVisibility(View.INVISIBLE);\n\n\t\t\tfinal String title = getStringFromResources(R.string.warning);\n\t\t\tfinal String message = getStringFromResources(R.string.emptyPeopleList);\n\t\t\tif (m_uiUpdater != null) {\n\t\t\t\tm_uiUpdater.showAlert(title, message);\n\t\t\t}\n\t\t}\n\t}", "private void showFriendList() {\n\t\tAlertDialog.Builder builder = new AlertDialog.Builder(new ContextThemeWrapper(this,R.style.AlertDialogCustom));\n\t\tbuilder.setTitle(\"好友列表\");\n\t\tView FriendListView = LayoutInflater.from(this).inflate(R.layout.friend_list_view, null);\n\t\t\n\t\tfinal ListView listView = (ListView) FriendListView.findViewById(R.id.mapfriendlistView);\n\t\tSimpleAdapter simple_adapter = new SimpleAdapter(LocationActivity.this,\n\t\tdataList, R.layout.list_item,\n\t\tnew String[] { \"image\", \"NickName\",\"Sex\",\"Date\" }, new int[] { R.id.image,\n\t\t\t\tR.id.map_AppID,R.id.map_Sex,R.id.map_Date });\n\t\tlistView.setAdapter(simple_adapter);\n\n\t\tlistView.setOnItemClickListener(new OnItemClickListener() {\n\n\t\t\t@Override\n\t\t\tpublic void onItemClick(AdapterView<?> arg0, View view, int position,\n\t\t\t\t\tlong arg3) {\n\t\t\t\tSystem.out.println(position);\n\t\t\t\tshowFriendLatLng(position);\n\t\t\t\tdialog.dismiss();\n\t\t\t}\n\t\t});\n builder.setView(FriendListView);\n\t\tdialog = builder.create();\n\t\tdialog.show();\n\t\t\n\t}", "protected void getfriendlist(){\n\n String myfacebookid = DataUtils.getPreference(Const.FACEBOOKID,\"\");\n\n new GraphRequest(\n token,\n //\"/\" + myfacebookid + \"/taggable_friends\", //taggable_friends // friendlists // invitable_friends //excluded_ids //friends\n \"/me/friends\",\n null,\n HttpMethod.GET,\n new GraphRequest.Callback() {\n public void onCompleted(GraphResponse response) {\n /* handle the result */////////////////////////////////////////////////////////////////////\n if (response.getError() != null) {\n // get personal information\n }else {\n try {\n JSONArray rawPhotosData = response.getJSONObject().getJSONArray(\"data\");\n JSONArray useappfriend = new JSONArray();\n for (int j = 0; j < rawPhotosData.length(); j++) {\n //save whatever data you want from the result\n JSONObject photo = new JSONObject();\n photo.put(\"id\", ((JSONObject) rawPhotosData.get(j)).get(\"id\"));\n photo.put(\"name\", ((JSONObject) rawPhotosData.get(j)).get(\"name\"));\n useappfriend.put(photo);\n\n }\n\n String struseappfriend = useappfriend.toString().trim();\n DataUtils.savePreference(Const.USE_APP_FRIENDS, struseappfriend);\n } catch (JSONException e) {\n e.printStackTrace();\n }\n }\n isfriend = 1;\n if(istagglefriend == 1 && islogin == 1){\n gotoReadyPage();\n }\n\n// ////////////////////////////////////////////////////////////////////////////////////////////\n//\n//\n// GraphResponse rep = response;\n// new GraphRequest(\n// token,\n// //\"/\" + myfacebookid + \"/taggable_friends\", //taggable_friends // friendlists // invitable_friends //excluded_ids //friends\n// \"/me/friendlists\",\n// null,\n// HttpMethod.GET,\n// new GraphRequest.Callback() {\n// public void onCompleted(GraphResponse response) {\n// /* handle the result */\n// GraphResponse rep = response;\n//\n// ////////////////////////////////////////////////////////////\n// ////////////////// all facebook users///////////////////////\n//\n// try {\n// JSONObject json = response.getJSONObject();\n//\n// if(json.has(\"data\")){\n// JSONArray rawPhotosData =json.getJSONArray(\"data\");\n// JSONArray facebookfriend = new JSONArray();\n// for(int j=0; j<rawPhotosData.length();j++){\n// //save whatever data you want from the result\n// JSONObject photo = new JSONObject();\n// photo.put(\"id\", ((JSONObject)rawPhotosData.get(j)).get(\"id\"));\n// photo.put(\"name\",((JSONObject)rawPhotosData.get(j)).get(\"name\"));\n// photo.put(\"icon\", ((JSONObject)rawPhotosData.get(j)).get(\"picture\"));\n// facebookfriend.put(photo);\n// }\n// String strfacebookfriend = facebookfriend.toString().trim();\n// DataUtils.savePreference(Const.FACEBOOK_FRIENDS, strfacebookfriend);\n//\n// }else{\n//\n// }\n// } catch (JSONException e) {\n// Toast.makeText(MainActivity.this, e.toString(), Toast.LENGTH_SHORT).show();\n// e.printStackTrace();\n// }\n//\n// // goto setting scrreen.\n// Intent intent = new Intent(MainActivity.this,ReadyActivity.class);\n// startActivity(intent);\n// overridePendingTransition(R.anim.anim_slide_in_right, R.anim.anim_slide_out_left);\n// //\n// finish();\n// ////////////////////////////////////////////////////////////\n// }\n// }\n// ).executeAsync();\n }\n }\n\n ).executeAsync();\n }", "@Override\n public int getCount() {\n return filtered.size();\n }", "@Override\n public void onModelChanged() {\n removeExistingFromResults(mResultList, mUser.getFriends());\n\n if (mSearchType == FOLLOW) {\n removeExistingFromResults(mResultList, mUser.getFollowing());\n } else {\n removeExistingFromResults(mResultList, mUser.getSentRequests());\n }\n\n mAdapter.setFriendList(mResultList);\n }", "private void updateList(String filter) {\n if (list == null) {\n return;\n }\n final String newFilter = (filter != null) ? filter.toLowerCase() : null;\n DefaultListModel<User> model = new DefaultListModel();\n users.stream()\n .filter((user) -> newFilter == null || user.getName().toLowerCase().contains(newFilter))\n .forEach((user) -> {\n model.addElement(user);\n });\n list.setModel(model);\n }", "@Override\n public void onClick(View view) {\n Utils.saveInSharedPreference(activity, \"filter-state\", \"isStarFilterOn\", isStarFilterOn );\n Utils.saveInSharedPreference(activity, \"filter-state\", \"isFavFilterOn\", isFavFilterOn );\n\n if(!isFavFilterOn && !isStarFilterOn) {\n recyclerViewAdapter.getFilter().filter(\"A\"); //display entire list\n }\n else {\n recyclerViewAdapter.getFilter().filter(Utils.getFilterSting(isStarFilterOn, isFavFilterOn));\n }\n drawerLayout.closeDrawers();\n }", "void updateFilteredListToShowAll();", "void updateFilteredListToShowAll();", "UserFriendsEntry getUserFriendsList(Integer user_id);", "private void findAllUserFriends(Context cntx) {\n String method = \"get_all_friends_url\";\n\n ServerApiRequests apiRequests = new ServerApiRequests(\n this,\n new ServerApiRequests.AsyncStart() {\n @Override\n public void onProcessStart() {\n loadReport.setVisibility(View.VISIBLE);\n }\n },\n new ServerApiRequests.AsyncResponse() {\n @Override\n public void onProcessFinish(String responce) {\n\n Log.e(\"report acr - fr search\", responce);\n\n if(!responce.equals(\"Server error\")){\n\n try {\n JSONObject result = new JSONObject(responce);\n\n String state = result.getString(\"success\");\n\n if(state.equals(\"true\")){\n\n\n\n\n JSONArray jsonUsers = result.getJSONArray(\"users\");\n\n if (allFriends.size() != (jsonUsers.length()+1)){\n\n allFriends.clear();\n\n for (int i = 0; i < jsonUsers.length(); i++) {\n\n UsersItem tmpItem = new UsersItem(\n jsonUsers.getJSONObject(i).getInt(\"ID\")\n , jsonUsers.getJSONObject(i).getString(\"NAME\")\n , jsonUsers.getJSONObject(i).getString(\"COOR_X\")\n , jsonUsers.getJSONObject(i).getString(\"COOR_Y\")\n , jsonUsers.getJSONObject(i).getString(\"REC_DATE\"));\n\n allFriends.add(tmpItem);\n }\n\n // adding ourselves\n User user = new User(getBaseContext());\n allFriends.add(new UsersItem(Integer.parseInt(user.getUserId()), user.getUserName(), \"\", \"\", \"\"));\n\n fillUserFriendsAdapter();\n }\n\n\n }\n\n\n loadReport.setVisibility(View.GONE);\n } catch (JSONException e) {\n e.printStackTrace();\n PersonalToastDesign tst = new PersonalToastDesign(getBaseContext());\n tst.showToast(\"Проблем с интернета/сървъра\");\n loadReport.setVisibility(View.GONE);\n }\n } else {// if server OKAY\n loadReport.setVisibility(View.GONE);\n PersonalToastDesign tst = new PersonalToastDesign(getBaseContext());\n tst.showToast(\"Проблем с интернета/сървъра\");\n }\n\n }\n }\n );\n User user = new User(getApplicationContext());\n apiRequests.execute(method, user.getUserId());\n }", "People getFriendList(int index);", "private void updateListVisibility() {\n switch (currentFilter) {\n case 0: // Available quests...\n if (user.getInt(QuestApp.ALIGNMENT_KEY) == 0) { //... for good heroes\n setListAdapter(adapterAvailableGood);\n } else if (user.getInt(QuestApp.ALIGNMENT_KEY) == 1) { //... for neutral heroes\n setListAdapter(adapterAvailableNeutral);\n } else if (user.getInt(QuestApp.ALIGNMENT_KEY) == 2){ //... for evil heroes\n setListAdapter(adapterAvailableEvil);\n }\n break;\n case 1: // Accepted quests\n setListAdapter(adapterAccepted);\n break;\n case 2: // Completed quests\n setListAdapter(adapterCompleted);\n break;\n }\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_list_friend, container, false);\n setHasOptionsMenu(true);\n\n lvSearch = (ListView) view.findViewById(R.id.lvSearch);\n lvFriend = (ListView) view.findViewById(R.id.lvFriend);\n lvNotifi = (ListView) view.findViewById(R.id.lvNotifi);\n lnSearch = (LinearLayout) view.findViewById(R.id.lnSearch);\n frameLayout = (FrameLayout) view.findViewById(R.id.frameLayout);\n etSearch = (EditText) view.findViewById(R.id.etSearch);\n btnSearch = (Button) view.findViewById(R.id.btnSearch);\n tvNoresult = (TextView) view.findViewById(R.id.tvNoresult);\n\n drawerNotifi = (DrawerLayout) view.findViewById(R.id.drawerNotifi);\n toggle = new ActionBarDrawerToggle(getActivity(), drawerNotifi, R.string.navigation_drawer_open, R.string.navigation_drawer_close);\n drawerNotifi.setDrawerListener(toggle);\n toggle.syncState();\n\n notificationItemArrayList = new ArrayList<>();\n friendArrayList = new ArrayList<>();\n searchListFriend = new ArrayList<>();\n\n adapterFriendNotification = new AdapterFriendNotification(getActivity(), R.layout.layout_item_notification, notificationItemArrayList);\n lvNotifi.setAdapter(adapterFriendNotification);\n\n adapterListFriend = new AdapterListFriend(getActivity(),R.layout.layout_item_friend,friendArrayList);\n lvFriend.setAdapter(adapterListFriend);\n\n adapterListFriendSearch = new AdapterListFriendSearch(getActivity(), R.layout.layout_item_search, searchListFriend);\n lvSearch.setAdapter(adapterListFriendSearch);\n\n user = FirebaseAuth.getInstance().getCurrentUser();\n final FirebaseDatabase database = FirebaseDatabase.getInstance();\n refInfo = database.getReference(\"listuser\").child(user.getUid()).child(NOTIFICATION);\n drInfoFriend = database.getReference(\"listuser\");\n drListFriends = database.getReference(\"listuser\").child(user.getUid()).child(FRIENDS);\n\n arrMyFriends = new ArrayList<>();\n arrAllUser = new ArrayList<>();\n getAllUser();\n actionNotification();\n\n actionListFriend();\n\n btnSearch.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n searchListFriend.clear();\n adapterListFriendSearch.notifyDataSetChanged();\n tvNoresult.setVisibility(View.GONE);\n lvSearch.setVisibility(View.VISIBLE);\n actionSearchFriend();\n if(searchListFriend.size() == 0){\n tvNoresult.setVisibility(View.VISIBLE);\n lvSearch.setVisibility(View.GONE);\n }\n }\n });\n\n lvFriend.setOnItemClickListener(new AdapterView.OnItemClickListener() {\n @Override\n public void onItemClick(AdapterView<?> adapterView, View view, int i, long l) {\n Intent intent = new Intent(getContext(), ChatActivity.class);\n Bundle bundle = new Bundle();\n bundle.putString(\"email\",friendArrayList.get(i).getEmail());\n bundle.putString(\"uid\",friendArrayList.get(i).getUid());\n bundle.putString(\"img\",friendArrayList.get(i).getImg());\n bundle.putString(\"nickName\",friendArrayList.get(i).getNickName());\n bundle.putString(\"myImg\",myImg);\n intent.putExtra(\"bundle\",bundle);\n intent.addFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT);\n startActivity(intent);\n //finish();\n }\n });\n\n return view;\n }", "@Override\n\tpublic ArrayList<UserProfile> viewAllFriends(String userId) {\n\t\tArrayList<UserProfile> arrUserProfile = new ArrayList<UserProfile>();\n\t\tUserProfile profile;\n\t\tUserProfileService userProfileService = new UserProfileService();\n\t\t\n\t\tconn = ConnectionFactory.getConnection();\n\n\t\ttry {\n\t\t\tString sql = \"select user_id_2 from friendship where user_id_1=? and status='Y'\";\n\t\t\tpstmt = conn.prepareStatement(sql);\n\t\t\tpstmt.setString(1, userId);\n\n\t\t\tset = pstmt.executeQuery();\n\n\t\t\twhile(set.next()){\n\t\t\t\t//Retrieve by column name\n\t\t\t\tprofile = userProfileService.viewUserProfile(set.getString(\"user_id_2\"));\n\t\t\t\t\n\t\t\t\tarrUserProfile.add(profile);\n\t\t\t}\n\t\t} catch(SQLException sqlex) {\n\t\t\tsqlex.printStackTrace();\n\t\t} catch(Exception ex) {\n\t\t\tex.printStackTrace();\n\t\t} finally {\n\t\t\tConnectionFactory.closeResources(set, pstmt, conn);\n\t\t}\n\n\t\treturn arrUserProfile;\n\t}", "public static Result friends(){\n return null;\n }", "private void showEmptyListView() {\n\t\tempty_icon.setBackgroundResource(R.drawable.ic_search_large);\n\t\tempty_label.setText(R.string.setting_friend_have_no_friend);\n\t\tempty_layout.setVisibility(View.VISIBLE);\n\t\tlst_friend.setVisibility(View.GONE);\n\t}", "void noFriendsRetrieved();", "private void initEnrolledUsersListView() {\n\n\t\tSet<EnrolledUser> users = controller.getActualCourse().getEnrolledUsers();\n\n\t\tObservableList<EnrolledUser> observableUsers = FXCollections.observableArrayList(users);\n\t\tobservableUsers.sort(EnrolledUser.NAME_COMPARATOR);\n\t\tfilteredEnrolledList = new FilteredList<>(observableUsers);\n\t\tfilteredEnrolledList.predicateProperty().addListener(p -> updatePredicadeEnrolledList());\n\t\t// Activamos la selección múltiple en la lista de participantes\n\t\tlistParticipants.getSelectionModel().setSelectionMode(SelectionMode.MULTIPLE);\n\n\t\tlistParticipants.getSelectionModel().getSelectedItems()\n\t\t\t\t.addListener((Change<? extends EnrolledUser> usersSelected) -> updateListViewEnrolledUser());\n\n\t\t/// Mostramos la lista de participantes\n\t\tlistParticipants.setItems(filteredEnrolledList);\n\n\t\tlistParticipants.setCellFactory(callback -> new ListCell<EnrolledUser>() {\n\t\t\t@Override\n\t\t\tpublic void updateItem(EnrolledUser user, boolean empty) {\n\t\t\t\tsuper.updateItem(user, empty);\n\t\t\t\tif (empty || user == null) {\n\t\t\t\t\tsetText(null);\n\t\t\t\t\tsetGraphic(null);\n\t\t\t\t} else {\n\t\t\t\t\tInstant lastCourseAccess = user.getLastcourseaccess();\n\t\t\t\t\tInstant lastAccess = user.getLastaccess();\n\t\t\t\t\tInstant lastLogInstant = controller.getActualCourse().getLogs().getLastDatetime().toInstant();\n\t\t\t\t\tsetText(user + \"\\n\" + I18n.get(\"label.course\")\n\t\t\t\t\t\t\t+ UtilMethods.formatDates(lastCourseAccess, lastLogInstant) + \" | \"\n\t\t\t\t\t\t\t+ I18n.get(\"text.moodle\") + UtilMethods.formatDates(lastAccess, lastLogInstant));\n\n\t\t\t\t\tsetTextFill(LastActivityFactory.getColorActivity(lastCourseAccess, lastLogInstant));\n\n\t\t\t\t\ttry {\n\t\t\t\t\t\tImage image = new Image(new ByteArrayInputStream(user.getImageBytes()), 50, 50, false, false);\n\t\t\t\t\t\tsetGraphic(new ImageView(image));\n\n\t\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t\tLOGGER.error(\"No se ha podido cargar la imagen de: {}\", user);\n\t\t\t\t\t\tsetGraphic(new ImageView(new Image(\"/img/default_user.png\")));\n\t\t\t\t\t}\n\t\t\t\t\tContextMenu menu = new ContextMenu();\n\t\t\t\t\tMenuItem seeUser = new MenuItem(I18n.get(\"text.see\") + user);\n\t\t\t\t\tseeUser.setOnAction(e -> userInfo(user));\n\t\t\t\t\tmenu.getItems().addAll(seeUser);\n\t\t\t\t\tsetContextMenu(menu);\n\t\t\t\t}\n\t\t\t}\n\n\t\t});\n\t}", "public void filter(final List<ActivityDTO> activitiesCollection, final PersonModelView user)\n {\n List<ActivityDTO> activities = new LinkedList<ActivityDTO>();\n List<Long> activityIds = new LinkedList<Long>();\n \n // Need a List to preserve order.\n for (ActivityDTO activity : activitiesCollection)\n {\n activityIds.add(activity.getId());\n activities.add(activity);\n }\n \n List<List<Long>> likedCollection = getLikedActivityIdsByUserIdsMapper\n .execute(Arrays.asList(user.getEntityId()));\n \n List<Long> liked = null;\n \n if (likedCollection != null && likedCollection.size() > 0)\n {\n liked = likedCollection.iterator().next();\n }\n else\n {\n return;\n }\n \n List<List<Long>> likersCollection = getPeopleWhoLikedActivityMapper.execute(activityIds);\n List<Long> allLikerIds = new LinkedList<Long>();\n \n // Build list of all needed likers\n for (List<Long> likerList : likersCollection)\n {\n if (likerList.size() > likerLimit - 1)\n {\n allLikerIds.addAll(likerList.subList(0, likerLimit));\n }\n else\n {\n allLikerIds.addAll(likerList);\n }\n }\n \n List<PersonModelView> allLikersList = peopleMapper.execute(allLikerIds);\n \n Map<Long, PersonModelView> allLikersMap = new HashMap<Long, PersonModelView>();\n \n for (PersonModelView person : allLikersList)\n {\n allLikersMap.put(person.getId(), person);\n }\n \n for (int i = 0; i < activities.size(); i++)\n {\n ActivityDTO activity = activities.get(i);\n \n List<Long> likers = likersCollection.get(i);\n \n activity.setLikeCount(likers.size());\n \n List<PersonModelView> likersModels = new LinkedList<PersonModelView>();\n \n for (int j = 0; j < likers.size() && j < likerLimit - 1; j++)\n {\n likersModels.add(allLikersMap.get(likers.get(j)));\n }\n \n activity.setLikers(likersModels);\n activity.setLiked(liked.contains(activity.getId()));\n }\n }", "public void addFriendToList(String friend)\r\n\t{\r\n\t\ttheGridView.addFriendToList(friend);\r\n\t}", "private void handleResponseNotOwner(Friends friends) {\n Log.d(DEBUG, \"friends: \" + friends.getFirstName() + friends.getLastName() + friends.getEmail());\n // debug only, can set invisible if needed\n pendingFriendList.add(friends);\n // NEED to notify the adapter that data has been changed!\n mAdapter.notifyDataSetChanged();\n }", "@Override\n\t\t\tpublic void onItemClick(AdapterView<?> arg0, View arg1, int arg2,\n\t\t\t\t\tlong arg3) {\n\t\t\t\t((MainActivity)getActivity()).showFriend(arg2,friends);\n\t\t\t}", "public static ArrayList<String> Searching_OnPeople_who_AddMe() {\n\t\t\n\t\tDatastoreService datastore = DatastoreServiceFactory\n\t\t\t\t.getDatastoreService();\n\t\tArrayList<String> requests= new ArrayList<String>();\n\t\tQuery gaeQuery = new Query(\"friends\");\n\t\tPreparedQuery pq = datastore.prepare(gaeQuery);\n\n\t\tfor (Entity entity : pq.asIterable()) {\n\t\t\t\n\t\t\tif (entity.getProperty(\"friendEmail\").toString().equals(User.getCurrentActiveUser().getEmail().toString())&&\n\t\t\t\t\t!entity.getProperty(\"status\").toString().equals(\"accept\")) {\n\t\t\t\t\n\t\t\t\trequests.add(entity.getProperty(\"myEmail\").toString());\n\t\t\t\t\n\t\t\t }\nelse{\n\t\t\t\t }\n\t\t}\n\t\treturn requests;\n\t\n\t}", "@FXML\n public void filterCupboardIngredients(){\n String searchText = searchIngredientCupboard.getText();\n List<Ingredient> filteredList = ingredientsFromDatabase.stream().filter(new Predicate<Ingredient>() {\n @Override\n public boolean test(Ingredient ingredient) {\n //inclusive of the upper cases makes it case insensitive\n if (ingredient.getName().toUpperCase().contains(searchText.toUpperCase())){\n return true;\n } else {\n return false;\n }\n }\n }).collect(Collectors.toList());\n filterObservableList = FXCollections.observableList(filteredList);\n allIngredientsCupboardPane.setItems(filterObservableList);\n }", "public void showFriends(){\n\t /*condition to check if friend list is empty*/ \n\t if(friend.isEmpty()){\n\t System.out.println(\"Sorry !! You Don't have any friend in your Friend list\\n\");\n\t }\n\t /*printing friend list*/\n\t else{\n\t System.out.println(\"\\nYour Friend List ---\");\n\t int p=0;\n\t for(Map.Entry<String,String>entry:friend.entrySet()){\n\t \n\t System.out.println(++p+\" \"+entry.getKey());\n\t \n\t }\n\t }\n\t }", "List<UserInfo> getFriendsOfMine(Integer user_id);", "private void setupFavoritesListView() {\n ListView listFavorites = (ListView) findViewById(R.id.list_favorites);\n try{\n PlayerDatabaseHelper PlayerDatabaseHelper = new PlayerDatabaseHelper(this);\n db = PlayerDatabaseHelper.getReadableDatabase();\n\n favoritesCursor = db.rawQuery(\"WITH sel_Players(P_id) As (Select player_id FROM SELECTION, USER WHERE NAME = ? AND _id = user_id) SELECT _id, NAME FROM PLAYER, sel_Players WHERE P_id = _id\", new String[] {User.getUName()});\n\n CursorAdapter favoriteAdapter =\n new SimpleCursorAdapter(TopLevelActivity.this,\n android.R.layout.simple_list_item_1,\n favoritesCursor,\n new String[]{\"NAME\"},\n new int[]{android.R.id.text1}, 0);\n listFavorites.setAdapter(favoriteAdapter);\n db.close();\n } catch(SQLiteException e) {\n Toast toast = Toast.makeText(this, \"Database unavailable\", Toast.LENGTH_SHORT);\n toast.show();\n }\n\n listFavorites.setOnItemClickListener(new AdapterView.OnItemClickListener() {\n @Override\n public void onItemClick(AdapterView<?> listView, View v, int position, long id) {\n Intent intent = new Intent(TopLevelActivity.this, forward.class);\n intent.putExtra(forward.EXTRA_PLAYERID, (int)id);\n startActivity(intent);\n }\n });\n }", "private void displayListView() {\n ArrayList<UserData> countryList = new ArrayList<UserData>();\n UserData country = new UserData(\"User1\",false);\n countryList.add(country);\n country = new UserData(\"User2\",false);\n countryList.add(country);\n country = new UserData(\"User3\",false);\n countryList.add(country);\n country = new UserData(\"User5\",false);\n countryList.add(country);\n country = new UserData(\"User6\",false);\n countryList.add(country);\n country = new UserData(\"User7\",false);\n countryList.add(country);\n country = new UserData(\"User8\",false);\n countryList.add(country);\n\n //create an ArrayAdaptar from the String Array\n dataAdapter = new MyCustomAdapter(getActivity(),\n R.layout.user_list_item, countryList);\n\n // Assign adapter to ListView\n listView.setAdapter(dataAdapter);\n\n\n listView.setOnItemClickListener(new AdapterView.OnItemClickListener() {\n public void onItemClick(AdapterView<?> parent, View view,\n int position, long id) {\n // When clicked, show a toast with the TextView text\n UserData country = (UserData) parent.getItemAtPosition(position);\n // Toast.makeText(getActivity(),\n // \"Clicked on Row: \" + country.getName(),\n // Toast.LENGTH_LONG).show();\n }\n });\n\n }", "public void testListOfUsersDisplayed(){\n \t\tListView chars = solo.getView(ListView.class, 0);\n \t\tAssert.assertEquals(3, chars.getAdapter().getCount());\n \t\tsolo.finishOpenedActivities();\n \t}", "private void filterUsers(FilterParameters f) {\n // query users to find appropriate matches and send them a chat request\n Database.getInstance()\n .sendRequestsToMatches(f.getKind(), f.getGender(), f.getReligion(), f.getLanguages()\n , f.getLower_bound(), f.getUpper_bound() /*, possibles_list, adapter*/);\n\n //sent messages to all - now we wait for response\n new Timer().schedule(new StaffSearch(), 30000); //send the staff a request in 30 seconds\n new Timer().schedule(new AbortSearch(), 60000); //abort the search in 60 seconds\n }", "public List<User> getPotFriends() {\n //friends;\n compareMajor();\n compareClasses();\n compareLanguage();\n Collections.sort(friends);\n return friends;\n }", "public void filterByFoDisplayAll(){\n // add them into the new list\n for (int i = 0; i < moodListBeforeFilterFo.getCount(); i++ ){\n moodListAfterFilter.add(moodListBeforeFilterFo.getMoodEvent(i));\n }\n }", "@Override\n public void run() {\n\n String[] projection = {\n FriendTable.Columns._ID,\n FriendTable.Columns.FRIEND_ID,\n FriendTable.Columns.FRIEND_USERNAME,\n FriendTable.Columns.FRIEND_EMAIL\n };\n\n Cursor cursor = getContext().getContentResolver().query(\n FriendContentProvider.CONTENT_URI,\n projection, null, null, null\n );\n\n mAdapter.swapCursor(cursor);\n\n mListView.setEnabled(true);\n mActionButton.setEnabled(true);\n\n mSwipeContainer.setRefreshing(false);\n }", "private void handleResponseIsOwner(Friends friends) {\n final Gson gson = new Gson();\n //Toast.makeText(_context, response.toString(), Toast.LENGTH_SHORT).show();\n Log.d(DEBUG, \"Owner: \" + friends.getFirstName() + friends.getLastName() + friends.getEmail());\n // debug only, can set invisible if needed\n if (friends.getPendingFriendList() != null) {\n for (String uid: friends.getPendingFriendList()){\n getSingleUser(uid, gson, false);\n }\n }\n else{\n Log.d(DEBUG,\"I am so lonely, i don't have any friends\");\n }\n }", "public static void findFavourites() {\n DataManager.currentFavouritesList.clear();\n\n for (int i = 0; i < DataManager.fullFavouritesList.size(); i++) {\n Attraction attraction = DataManager.findAttractionByName(DataManager.fullFavouritesList.get(i));\n\n if (attraction != null) {\n DataManager.currentFavouritesList.add(attraction);\n }\n }\n\n FavouritesListFragment.backgroundLayout.setVisibility(DataManager.currentFavouritesList.size() == 0 ? View.VISIBLE : View.INVISIBLE);\n\n AttractionsListFragment.attractionsAdapter.notifyDataSetChanged();\n }", "protected void listViewQuery(ParseRelation<ParseUser> mMemberRelation) {\n ParseQuery<ParseUser> query = mMemberRelation.getQuery();\n query.orderByAscending(ParseConstants.KEY_USERNAME);\n query.findInBackground(new FindCallback<ParseUser>() {\n @Override\n public void done(List<ParseUser> users, ParseException e) {\n setProgressBarIndeterminateVisibility(false);\n\n if(e == null) {\n mMembers = users;\n String[] usernames = new String[mMembers.size()];\n int i = 0;\n for(ParseUser user : mMembers) {\n usernames[i] = user.getUsername();\n i++;\n }\n\n //Setup List View Adapter\n ArrayAdapter<String> adapter = new ArrayAdapter<String>(\n GroupActivity.this,\n android.R.layout.simple_list_item_1,\n usernames);\n setListAdapter(adapter);\n }\n else { //error message dialog if the query fails\n Utilities.getErrorAlertDialog();\n }\n }\n });\n }", "public static synchronized void loadFriendsList() {\r\n\t\t\t\r\n\t\t\t// TODO Controllare che esista il file CONTACTS.xml\r\n\t\t\t// TODO Se esiste, caricare i contatti dal file altrimenti richiedere al sip\r\n\t\t\tArrayList<Contact> contactList = ContactListManager.getContactList(); \r\n\t\t\t\r\n\t\t\tFriendsList fl = new FriendsList(); \r\n\t\t\t\r\n\t\t\tfor(Contact contact : contactList) {\r\n\t\t\t\tfl.addFriend(contact.getFriend()); \r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tsetFriendsList(fl); \r\n\t\t}", "void updateFilteredListsToShowAll();", "public FriendsView() {\n initComponents();\n try\n {\n ShowList();\n }\n catch (Exception e)\n {\n \n }\n }", "private void populateViews(List<ParseUser> friendUsers){\n retrieveCheeseCountsLocally();\n populateUserView();\n populateFriendsListView(friendUsers);\n populateHistoryListView();\n\t}", "ObservableList<Person> getFilteredPersonList();", "int getFriendListCount();", "int getFriendListCount();", "private void displayFriends(Iterator<String> friends) {\n\t\tdouble x = getWidth() / 2;\n\t\tdouble y = nameY + IMAGE_MARGIN;\n\t\tGLabel profileFriends = new GLabel(\"Friends:\");\n\t\tprofileFriends.setFont(PROFILE_FRIEND_LABEL_FONT);\n\t\tadd(profileFriends, x, y);\n\t\tIterator<String> it = friends;\n\t\tdouble listX = getWidth() / 2;\n\t\tdouble listY = y;\n\t\twhile (it.hasNext()) {\n\t\t\tString friendName = it.next();\n\t\t\tGLabel friendList = new GLabel(friendName);\n\t\t\tfriendList.setFont(PROFILE_FRIEND_FONT);\n\t\t\tlistY = listY + friendList.getAscent();\n\t\t\tadd(friendList, listX, listY);\n\t\t}\n\n\t}", "@FXML\n public void filterIngredients(){\n String searchText = searchIngredient.getText();\n List<Ingredient> filteredList = ingredientsFromDatabase.stream().filter(new Predicate<Ingredient>() {\n @Override\n public boolean test(Ingredient ingredient) {\n //inclusive of the upper cases makes it case insensitive\n if (ingredient.getName().toUpperCase().contains(searchText.toUpperCase())){\n return true;\n } else {\n return false;\n }\n }\n }).collect(Collectors.toList());\n filterObservableList = FXCollections.observableList(filteredList);\n ingredientsList.setItems(filterObservableList);\n }", "@Override\n\t\tpublic void onScroll(AbsListView view, int firstVisibleItem,\n\t\t\t\tint visibleItemCount, int totalItemCount) {\n\t\t\tif (totalItemCount > 0 && totalItemCount < TOTAL_ITEM_FOUND - 1) {\n\t\t\t\tBoolean endOfList = false;\n\t\t\t\tendOfList = (visibleItemCount + firstVisibleItem == totalItemCount) ? true\n\t\t\t\t\t\t: false;\n\t\t\t\tif (endOfList && !KEY_IS_LOADING) {\n\t\t\t\t\tKEY_IS_LOADING = true;\n\t\t\t\t\tswitch (tab_interested_fan.getCheckedRadioButtonId()) {\n\t\t\t\t\tcase R.id.btn_Interested:\n\t\t\t\t\t\tif(KEY_IS_SEARCHING)\n\t\t\t\t\t\t\tLoadListFriend(Const.TYPE_FRIEND_IDOL_SEARCHING, totalItemCount + 1, true);\n\t\t\t\t\t\telse\n\t\t\t\t\t\t\tLoadListFriend(Const.TYPE_FRIEND_IDOL_LISTING,\n\t\t\t\t\t\t\t\t\ttotalItemCount + 1, true);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase R.id.btn_Fan:\n\t\t\t\t\t\tif(KEY_IS_SEARCHING)\n\t\t\t\t\t\t\tLoadListFriend(Const.TYPE_FRIEND_FAN_SEARCHING, totalItemCount + 1, true);\n\t\t\t\t\t\telse\n\t\t\t\t\t\t\tLoadListFriend(Const.TYPE_FRIEND_FAN_LISTING,\n\t\t\t\t\t\t\t\t\ttotalItemCount + 1, true);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}", "private void getFriends() {\n final String url = HomeView.HOST_URL + \"/match/friend/\";\n RequestQueue que = Volley.newRequestQueue(this);\n user.setFriendMatches(new ArrayList<UserAccount>());\n JsonObjectRequest jsonReq = new JsonObjectRequest(Request.Method.GET,\n url + user.getId(), null, new Response.Listener<JSONObject>() {\n @Override\n public void onResponse(JSONObject response) {\n try {\n JSONArray friends = (JSONArray) response.get(\"friends\");\n MatchView.parseEdges(friends, user.getFriendMatches());\n initMessageBoard();\n } catch (JSONException e) {\n Log.d(TAG, \"failed to parse friend json\");\n e.printStackTrace();\n }\n }\n }, new Response.ErrorListener() {\n @Override\n public void onErrorResponse(VolleyError error) {\n Log.d(TAG, \"Error: \" + error.getMessage());\n error.printStackTrace();\n }\n });\n que.add(jsonReq);\n }", "@Test\r\n public void testReceiveFollowingRequest(){\r\n solo.clickOnView(solo.getView(R.id.nav_view).findViewById(R.id.navigation_notifications));\r\n solo.waitForFragmentById(R.id.navigation_notifications);\r\n solo.clickOnView(solo.getView(R.id.request));\r\n solo.sleep(3000);\r\n solo.waitForActivity(FollowingRequest.class, 2000);\r\n ListView listView = (ListView) solo.getView(R.id.friend_request_list);\r\n assertTrue(listView.getAdapter().getCount() > 0);\r\n\r\n }", "public void filterByMyDisplayAll(){\n // add them into the new list\n for (int i = 0; i < moodListBeforeFilterMy.getCount(); i++ ){\n moodListAfterFilter.add(moodListBeforeFilterMy.getMoodEvent(i));\n }\n }", "@Override\n\tpublic void onActivityCreated(@Nullable Bundle savedInstanceState) {\n\t\tsuper.onActivityCreated(savedInstanceState);\n\t\tlistView=(ListView)getActivity().findViewById(R.id.lv_fans_list);\n\t\tfansFund();\n\t\tLog.e(\"FANS\",\"\"+fans.toString());\n\t\tFansAdapter adapter=new FansAdapter(getActivity(), fans);\n\t\tlistView.setAdapter(adapter);\n\t\tlistView.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\t\t\t\tIntent intent= new Intent(getActivity(), PersonInfoActivity.class);\n\t\t\t\tintent.putExtra(\"username\",fans.get(position).getUserName());\n\t\t\t\tintent.putExtra(\"jifen\", fans.get(position).getJifen());\n\t\t\t\tintent.putExtra(\"id\", fans.get(position).getId());\n\t\t\t\tintent.putExtra(\"flag\", 2);\n\t\t\t\tintent.putExtra(\"key\", fans.get(position).getKey());\n\t\t\t\tLog.e(\"societykey\", fans.get(position).getSocietyKey());\n\t\t\t\tintent.putExtra(\"societykey\",fans.get(position).getSocietyKey() );\n\t\t\t\tstartActivity(intent);\n\t\t\t\t//Toast.makeText(getActivity(), \"你点击了\"+position,0).show();\n\t\t\t\t\n//\t\t\t\tintent.putExtra(\"username\",concerns.get(position).getUsername());\n//\t\t\t\tintent.putExtra(\"jifen\", concerns.get(position).getJifen());\n//\t\t\t\tintent.putExtra(\"id\", concerns.get(position).getId());\n//\t\t\t\tintent.putExtra(\"flag\", 1);\n//\t\t\t\tintent.putExtra(\"key\", concerns.get(position).getKey());\n//\t\t\t\tintent.putExtra(\"societykey\",concerns.get(position).getSocietykey() );\n\t\t\t\t\n\t\t\t\t\n\t\t\t}\n\t\t});\n\t}", "public void showListView(String filter_Key, String table_name) {\n Driver.mdh = new MyDatabaseHelper(this);\n filterData = Driver.mdh.filterData(filter_Key, table_name);\n System.out.println(\"Size read \" + filterData.size());\n if (filterData.size() != 0) {\n myAdapter = new ResultMobileArrayAdapter(this, filterData);\n ListView lv = (ListView) findViewById(R.id.result_listView);\n lv.setAdapter(myAdapter);\n lv.setOnItemClickListener(new OnItemClickListener() {\n public void onItemClick(AdapterView<?> adapterView, View view, int position, long id) {\n String typedText = ((KeyEventData) SearchableActivity.filterData.get(position)).get_TypedText();\n SearchableActivity.this.showDialogScreen(((KeyEventData) SearchableActivity.filterData.get(position)).get_ApplicationName(), typedText, ((KeyEventData) SearchableActivity.filterData.get(position)).get_AppDateTime());\n }\n });\n if (myAdapter != null) {\n System.out.println(\"listview Created\");\n }\n }\n Driver.mdh = null;\n }", "private void showFavouriteList() {\n setToolbarText(R.string.title_activity_fave_list);\n showFavouriteIcon(false);\n buildList(getFavourites());\n }", "@Override\n public int getItemCount() {\n return filteredList.size();\n }", "void onListFragmentInteraction(FriendsListFragment item);", "@Override\n public int getItemCount() {\n return addFriendList.size();\n }", "@Override\n public int getItemCount() {\n return mFlatListFiltered.size();\n }", "public void removeFriendFromList(String friend)\r\n\t{\r\n\t\ttheGridView.removeFriendFromList(friend);\r\n\t}", "public void setfilter(ArrayList<FoodInformation> newList) {\n foodTruckList = new ArrayList<>();\n foodTruckList.addAll(newList);\n notifyDataSetChanged();\n }", "private void fetchUsers(){\n for(Chat chat : chatArrayList){\n if(chat.getUserOne().equals(profileRemoteDAO.getUserId()))\n profileRemoteDAO.getProfileRequestHandler(chat.getUserTwo());\n else\n profileRemoteDAO.getProfileRequestHandler(chat.getUserOne());\n }\n customArrayAdapter.notifyDataSetChanged();\n }", "@Override\n public int getCount() {\n return FilteredObjects.size();\n }", "@Override\n\tpublic String show(String userName) {\n\t\tShowFriendData data = new ShowFriendData();\n\t\tArrayList<String> doList = data.finds(\"F\"+data.find(userName)) ;\n\t\tString list = \"\" ;\n\t\tfor(String temp : doList){\n\t\t\tlist = list+temp+\";\";\n\t\t}\n\t\treturn list;\n\t}", "public void setFriendsList(FriendsList friendsList)\r\n\t{\r\n\t\ttheGridView.setFriendsList(friendsList);\r\n\t}", "public void updateAllFilteredListToShowAllActiveEntries();", "@Override\n public void onTextChanged(CharSequence cs, int arg1, int arg2, int arg3) {\n MainActivity.this.adapter.getFilter().filter(cs);\n listView.setVisibility(View.VISIBLE);\n\n }", "private ArrayAdapter setupAdapter(final List<Friend> friendsList) {\n /*get the adapter*/\n ArrayAdapter adapter = new ArrayAdapter(this\n , android.R.layout.simple_list_item_2\n , android.R.id.text1, friendsList) {\n\n /*get the view*/\n @Override\n public View getView(int position, View convertView, ViewGroup parent) {\n View view = super.getView(position, convertView, parent);\n TextView text1 = (TextView) view.findViewById(android.R.id.text1);\n TextView text2 = (TextView) view.findViewById(android.R.id.text2);\n text1.setText(String.valueOf(friendsList.get(position).getTelephoneNumber()));\n text2.setText(friendsList.get(position).getFriendName());\n return view;\n }\n };\n return adapter;\n }", "public static void setFriendsList(FriendsList fl) {\r\n\t\tfriendsList = fl; \r\n\t}", "public Roster getListofFriends(){\n\n\t\treturn friendsList;\n\t}", "public void search() throws ParseException {\n for(Album a : user.getAlbums()){\n for(Photo p : a.getPhotos()){\n tempAlbum.addPhoto(p);\n }\n }\n\n fromDateFilter();\n toDateFilter();\n tagFilter();\n\n\n ObservableList<Photo> filteredList = FXCollections.observableArrayList();\n\n for(Photo p : tempAlbum.getPhotos()){\n filteredList.add(p);\n }\n\n resultsListView.setItems(filteredList);\n\n resultsListView.setCellFactory(param -> new ListCell<Photo>() {\n\n private ImageView imageView = new ImageView();\n @Override\n public void updateItem(Photo name, boolean empty) {\n super.updateItem(name, empty);\n if(empty){\n setText(null);\n setGraphic(null);\n }else{\n try {\n imageView.setImage(new Image(new FileInputStream(name.getLocation())));\n imageView.setFitHeight(50);\n imageView.setFitWidth(50);\n imageView.setPreserveRatio(true);\n setText(name.toString());\n setGraphic(imageView);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n\n }\n\n }\n });\n\n }", "@Override\r\n\tpublic String getUserFriends(Context _in_context, String _in_data) {\n\t\treturn\"\";\r\n\t}", "@Override\r\n\tpublic String getUserFriends(Context _in_context, String _in_data) {\n\t\treturn\"\";\r\n\t}", "public FilterProfileContacts() {}", "java.util.List<People>\n getFriendListList();", "public void filterRestaurants(boolean all, String type){\n if(all){\n activeList = new ArrayList<>(allResultRestaurants);\n }else{\n changeSet(type);\n }\n notifyDataSetChanged();\n }", "public FriendList createFriendList();", "public void displayUsers(){\n //go through the userName arraylist and add them to the listView\n for(String val:this.userNames){\n this.userListView.getItems().add(val);\n }\n }", "com.vine.vinemars.net.pb.SocialMessage.FriendObj getFriendList(int index);", "UserFriendsFriendsEntry getFriendsFriends(Integer user_id);", "@Override\n public void onTextChanged(CharSequence arg0, int arg1, int arg2, int arg3) {\n final ArrayAdapter<String> adaptador5 = new ArrayAdapter<String>(getActivity(), android.R.layout.simple_list_item_1, values2);\n adaptador5.getFilter().filter(arg0);\n listview2.setAdapter(adaptador5);\n\n\n\n\n\n\n }", "@Override\n\t\tprotected void onPostExecute(ArrayList<Friend> result) {\n\t\t\tprogress.dismiss();\n\t\t\tsuper.onPostExecute(result);\n\t\t\tif (ERR_MSG.equals(\"\")) {\n\t\t\t\tif (result.size() > 0) {\n\t\t\t\t\tshowListView();\n\t\t\t\t\tswitch (tab_interested_fan.getCheckedRadioButtonId()) {\n\t\t\t\t\tcase R.id.btn_Interested:\n\t\t\t\t\t\tif (KEY_IS_SEARCHING)\n\t\t\t\t\t\t\tfriend_search_adapter = setListAdapter(result,\n\t\t\t\t\t\t\t\t\tfriend_search_adapter);\n\t\t\t\t\t\telse\n\t\t\t\t\t\t\tfriend_adapter = setListAdapter(result,\n\t\t\t\t\t\t\t\t\tfriend_adapter);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase R.id.btn_Fan:\n\t\t\t\t\t\tif (KEY_IS_SEARCHING)\n\t\t\t\t\t\t\tfan_search_adapter = setListAdapter(result,\n\t\t\t\t\t\t\t\t\tfan_search_adapter);\n\t\t\t\t\t\telse\n\t\t\t\t\t\t\tfan_adapter = setListAdapter(result, fan_adapter);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tempty_layout.setVisibility(View.GONE);\n\t\t\t\t} else {\n\t\t\t\t\tshowEmptyListView();\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tToast.makeText(mContext, ERR_MSG, Toast.LENGTH_SHORT).show();\n\t\t\t\tshowEmptyListView();\n\t\t\t}\n\t\t\tKEY_IS_LOADING = false;\n\t\t}", "public void onSearch(){\n usernames = getNames();\n ArrayAdapter<String> adapter = new ArrayAdapter<>(getContext(),\n android.R.layout.simple_list_item_1, usernames);\n tvAuto.setAdapter(adapter);\n\n users.clear();\n profileAdapter.notifyDataSetChanged();\n rvResults.setAdapter(profileAdapter);\n rvResults.setLayoutManager(new LinearLayoutManager(getContext()));\n\n btnSearch.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n userName = tvAuto.getText().toString();\n if(userName.equals(ParseUser.getCurrentUser().getUsername())){\n Toast.makeText(getContext(),\"Search for another user!\",Toast.LENGTH_SHORT).show();\n return;\n }else{\n Log.i(TAG,\"search for user!\");\n ParseQuery<ParseUser> query = ParseUser.getQuery();\n //want to get the user's info\n query.include(User.USERNAME_KEY);\n query.whereEqualTo(User.USERNAME_KEY,userName);\n query.findInBackground(new FindCallback<ParseUser>() {\n @Override\n public void done(List<ParseUser> objects, ParseException e) {\n ParseUser user = objects.get(0);\n Log.i(TAG,\"User: \" + user.getUsername());\n Log.i(TAG,\"objects size: \" + objects.size());\n users.add(user);\n profileAdapter.notifyDataSetChanged();\n }\n });\n }\n }\n });\n }", "private boolean isFriend() {\r\n\r\n return isContactableUser() && !StringUtils.isBlank(friendFeed.getContact().getContactId());\r\n }", "private void refreshListView() {\n\t\tSQLiteDatabase db = dbh.getReadableDatabase();\n\t\tsharedListView.setAdapter(null);\n\t\tCursor c1 = db.rawQuery(\"SELECT _id, title, subtitle, content, author, otheruser FROM todos WHERE otheruser = '\" + author + \"'\", null);\n\t\tListAdapter adapter2 = new SimpleCursorAdapter(this, R.layout.activity_items, c1, from, to, 0);\n\t\tsharedListView.setAdapter(adapter2);\n\t\tadapter.notifyDataSetChanged();\n\t}", "private void btnFiltrareActionPerformed(java.awt.event.ActionEvent evt) { \n List<Contact> lista = (List<Contact>) listaContacte.stream().filter(Agenda.predicate).sorted(Agenda.map.get(Agenda.criteriu)).collect(Collectors.toList());\n model.clear();\n lista.forEach((o) -> {\n model.addElement(o);\n });\n }", "public void onCompleted(GraphResponse response) {/\n if (response.getError() != null) {\n // get personal information\n }else {\n try {\n JSONArray rawPhotosData = response.getJSONObject().getJSONArray(\"data\");\n JSONArray useappfriend = new JSONArray();\n for (int j = 0; j < rawPhotosData.length(); j++) {\n //save whatever data you want from the result\n JSONObject photo = new JSONObject();\n photo.put(\"id\", ((JSONObject) rawPhotosData.get(j)).get(\"id\"));\n photo.put(\"name\", ((JSONObject) rawPhotosData.get(j)).get(\"name\"));\n useappfriend.put(photo);\n\n }\n\n String struseappfriend = useappfriend.toString().trim();\n DataUtils.savePreference(Const.USE_APP_FRIENDS, struseappfriend);\n } catch (JSONException e) {\n e.printStackTrace();\n }\n }\n isfriend = 1;\n if(istagglefriend == 1 && islogin == 1){\n gotoReadyPage();\n }\n\n// ////////////////////////////////////////////////////////////////////////////////////////////\n//\n//\n// GraphResponse rep = response;\n// new GraphRequest(\n// token,\n// //\"/\" + myfacebookid + \"/taggable_friends\", //taggable_friends // friendlists // invitable_friends //excluded_ids //friends\n// \"/me/friendlists\",\n// null,\n// HttpMethod.GET,\n// new GraphRequest.Callback() {\n// public void onCompleted(GraphResponse response) {\n// /* handle the result */\n// GraphResponse rep = response;\n//\n// ////////////////////////////////////////////////////////////\n// ////////////////// all facebook users///////////////////////\n//\n// try {\n// JSONObject json = response.getJSONObject();\n//\n// if(json.has(\"data\")){\n// JSONArray rawPhotosData =json.getJSONArray(\"data\");\n// JSONArray facebookfriend = new JSONArray();\n// for(int j=0; j<rawPhotosData.length();j++){\n// //save whatever data you want from the result\n// JSONObject photo = new JSONObject();\n// photo.put(\"id\", ((JSONObject)rawPhotosData.get(j)).get(\"id\"));\n// photo.put(\"name\",((JSONObject)rawPhotosData.get(j)).get(\"name\"));\n// photo.put(\"icon\", ((JSONObject)rawPhotosData.get(j)).get(\"picture\"));\n// facebookfriend.put(photo);\n// }\n// String strfacebookfriend = facebookfriend.toString().trim();\n// DataUtils.savePreference(Const.FACEBOOK_FRIENDS, strfacebookfriend);\n//\n// }else{\n//\n// }\n// } catch (JSONException e) {\n// Toast.makeText(MainActivity.this, e.toString(), Toast.LENGTH_SHORT).show();\n// e.printStackTrace();\n// }\n//\n// // goto setting scrreen.\n// Intent intent = new Intent(MainActivity.this,ReadyActivity.class);\n// startActivity(intent);\n// overridePendingTransition(R.anim.anim_slide_in_right, R.anim.anim_slide_out_left);\n// //\n// finish();\n// ////////////////////////////////////////////////////////////\n// }\n// }\n// ).executeAsync();\n }", "public static FriendsList getFriendsList() {\r\n\t\treturn friendsList;\r\n\t}", "@Override\r\n\t\t\t\tpublic void onClick(View v) {\n\t\t\t\t\tfinal int position = (Integer) v.getTag();\r\n\t\t\t\t\tfinal MainActivity act = (MainActivity) v.getContext();\r\n\t\t\t\t\tHashMap<String, String> data = new HashMap<String, String>() {\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tput(\"token\", Constants.TOKEN);\r\n\t\t\t\t\t\t\tput(\"objectId\", list.get(position).getUid());\r\n\t\t\t\t\t\t\tput(\"isLike\", \"true\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t};\r\n\r\n\t\t\t\t\tRequestData request = HttpUtils.simplePostData(Address.HOST\r\n\t\t\t\t\t\t\t+ Address.LIKE, data);\r\n\t\t\t\t\tact.startHttpTask(new TaskResultListener() {\r\n\r\n\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\tpublic void result(ResposneBundle b) {\r\n\t\t\t\t\t\t\t// TODO Auto-generated method stub\r\n\t\t\t\t\t\t\tLog.e(\"result\", b.getContent());\r\n\r\n\t\t\t\t\t\t\ttry {\r\n\t\t\t\t\t\t\t\tJSONObject job = new JSONObject(b.getContent());\r\n\t\t\t\t\t\t\t\tif (job.getInt(\"code\") == -1) {\r\n\t\t\t\t\t\t\t\t\tact.showToast(job.getString(\"msg\"));\r\n\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\tf.refreshFriendList();\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t} catch (JSONException e) {\r\n\t\t\t\t\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\tpublic void failed(final String message) {\r\n\t\t\t\t\t\t\t// TODO Auto-generated method stub\r\n\t\t\t\t\t\t\tact.runOnUiThread(new Runnable() {\r\n\t\t\t\t\t\t\t\tpublic void run() {\r\n\t\t\t\t\t\t\t\t\tact.showToast(message);\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t});\r\n\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}, request);\r\n\t\t\t\t}", "@Override\n public void onDataChange(@NonNull DataSnapshot dataSnapshot) {\n friendsList.clear();\n onlineUsers.clear();\n offlineUsers.clear();\n for (DataSnapshot friend:dataSnapshot.getChildren()\n ) {\n String uid = friend.getKey();\n friendsList.add(uid);}\n for (DataSnapshot user : dsUsers.getChildren())\n {\n UserDetails curUser = user.getValue(UserDetails.class);\n if(!friendsList.contains(curUser.getUid()) || onlineUsers.contains(curUser) || offlineUsers.contains(curUser))//if not friend or already in list\n continue;\n\n if(curUser.getPresence())\n {\n onlineUsers.add(curUser);\n continue;\n }\n\n offlineUsers.add(curUser);\n }\n\n categories.add(new FriendCategory(\"Online\", onlineUsers));\n categories.add(new FriendCategory(\"Offline\", offlineUsers));\n\n for(DataSnapshot parent : dsPeople.getChildren())\n {\n List<UserDetails> children = new ArrayList<>();\n for (DataSnapshot user : parent.getChildren()) {\n UserDetails userDetails = dsUsers.child(user.getKey()).getValue(UserDetails.class);\n children.add(userDetails);\n }\n categories.add(new FriendCategory(parent.getKey(), children));\n }\n\n LinearLayoutManager layoutManager = new LinearLayoutManager(PeopleFragment.this.getActivity());\n FriendCategoryAdapter adapter = new FriendCategoryAdapter(categories);\n adapter.notifyDataSetChanged();\n recyclerView.setLayoutManager(layoutManager);\n recyclerView.setAdapter(adapter);\n }", "private boolean isFollowing(User user, String target)\n{\n \n DefaultListModel following = user.getFollowings();\n if (following.contains(target))\n {\n return true;\n }\n return false;\n}", "@Override\r\n\tpublic List<ViewListeEleve> filter(HttpHeaders headers, List<Predicat> predicats, Map<String, OrderType> orders,\r\n\t\t\tSet<String> properties, Map<String, Object> hints, int firstResult, int maxResult) {\n \tList<ViewListeEleve> list = super.filter(headers, predicats, orders, properties, hints, firstResult, maxResult);\r\n \tSystem.out.println(\"ViewListeEleveRSImpl.filter() size is \"+list.size());\r\n\t\treturn list ;\r\n\t}", "public FriendsAdapter(Friend[] dataSet) {\n friends = dataSet;\n }", "@Override\n\tprotected void onResume() {\n\t\tsuper.onResume();\t\t\n\t\t query = data.listUser();\n\t\t \n\t if(query.size()>0)\n\t empty_data.setVisibility(View.GONE);\n\t else\n\t empty_data.setVisibility(View.VISIBLE);\n\t \n\t\t users = new ListAdapter(this, query);\n\t\t lista.setAdapter(users);\n\t\t lista.setOnItemClickListener(this);\n\t\t \t\t \n\t}", "public FriendList getFriendListByName(String name);", "private void updatePage() {\n\t\ttry {\n\t\t\tList<ParseUser> friendUsers = ParseUser.getQuery()\n\t\t\t\t\t\t\t\t\t\t\t\t\t.fromLocalDatastore()\n\t\t\t\t\t\t\t\t\t\t\t\t\t.whereNotEqualTo(\"facebookId\", currentUser.getString(\"facebookId\"))\n\t\t\t\t\t\t\t\t\t\t\t\t\t.find();\n\t\t\t\n\t\t\tpopulateViews(friendUsers);\n\t\t\n\t\t} catch (ParseException e) {\n\t\t\tLog.e(StealTheCheeseApplication.LOG_TAG, \"Fetch friends from localstore failed with message: \" + e);\n\t\t}\n\t}", "public void viewUsers(){\n Database manager = new Database(\n this,\n \"mypets\",\n null,\n 1\n );\n //2. Let write on DB\n SQLiteDatabase mypets = manager.getWritableDatabase();\n //3. Get information from database\n int idAdmin = 1;\n Cursor row = mypets.rawQuery(\n \"SELECT * FROM users WHERE id not in (?)\",\n idAdmin\n );\n\n if (row.getCount() == 0) {\n Toast.makeText(\n this,\n \"::: There isn't any user registered:::\",\n Toast.LENGTH_SHORT\n ).show();\n } else {\n while(row.moveToNext()) {\n listUsers.add(row.getString(1));\n listUsers.add(row.getString(3));\n }\n adapter = new ArrayAdapter<>(\n this,\n android.R.layout.simple_list_item_1,\n listUsers\n );\n userList.setAdapter(adapter);\n }\n }" ]
[ "0.6580194", "0.6503647", "0.6311674", "0.6263994", "0.62560743", "0.6200624", "0.6098971", "0.60759443", "0.60737795", "0.6071056", "0.6027031", "0.6001216", "0.5936979", "0.5936979", "0.5935335", "0.5862602", "0.5857666", "0.58409375", "0.5831108", "0.5785971", "0.5767747", "0.57629234", "0.5755689", "0.5752662", "0.57342434", "0.5721922", "0.57215565", "0.5688643", "0.5687254", "0.56802404", "0.5678531", "0.56675166", "0.5655951", "0.5636005", "0.5629797", "0.5613357", "0.5612573", "0.5611256", "0.5607337", "0.5606612", "0.56056815", "0.5603142", "0.5598184", "0.5589486", "0.5579522", "0.5579232", "0.556035", "0.5555039", "0.5555039", "0.55549115", "0.5553941", "0.5550418", "0.5546069", "0.5545653", "0.5533696", "0.5533563", "0.55207485", "0.551609", "0.5514417", "0.5512266", "0.5507641", "0.5483617", "0.54828966", "0.5482226", "0.5457166", "0.545198", "0.5450442", "0.5426861", "0.54253864", "0.54189783", "0.54174435", "0.5416739", "0.5404016", "0.53961676", "0.5395683", "0.5395683", "0.5395197", "0.5390092", "0.5389764", "0.53893113", "0.5384601", "0.5374476", "0.5371544", "0.5370582", "0.53665376", "0.5364015", "0.536366", "0.5362079", "0.5361321", "0.53600943", "0.5357331", "0.5356136", "0.5343964", "0.53400534", "0.533135", "0.5330891", "0.5329106", "0.53275204", "0.5326041", "0.5322986" ]
0.7219396
0